diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..940cd2deb --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +bin/Qt6WebEngineCore.dll filter=lfs diff=lfs merge=lfs -text diff --git a/assets.json b/assets.json index e490e6a09..3edc34bd8 100644 --- a/assets.json +++ b/assets.json @@ -1,25 +1,25 @@ { "files": [ { -"url":"assets/appearances-d7ce621e00198dfa6d5dacfa05dfc2d06d8cee04e719d49f6e438e4f694c60a5.dat.lzma", -"unpackedhash":"d7ce621e00198dfa6d5dacfa05dfc2d06d8cee04e719d49f6e438e4f694c60a5", -"unpackedsize":4439297, -"packedhash":"20cc06b89308c89b37d32ba761d1de45b8474b630b66584d0e10da0955147d1e", -"packedsize":598750, -"localfile":"assets/appearances-d7ce621e00198dfa6d5dacfa05dfc2d06d8cee04e719d49f6e438e4f694c60a5.dat" +"url":"assets/appearances-925e67c82751f29f34a5911c628210e1b78438bd3d6631d89837bcbbdfa61140.dat.lzma", +"unpackedhash":"925e67c82751f29f34a5911c628210e1b78438bd3d6631d89837bcbbdfa61140", +"unpackedsize":4439221, +"packedhash":"99fd0089e9a6ee5228fcea324b466d69649bf33af6630bfb06a7a5c37b4172c8", +"packedsize":599502, +"localfile":"assets/appearances-925e67c82751f29f34a5911c628210e1b78438bd3d6631d89837bcbbdfa61140.dat" }, { "url":"assets/catalog-content.json.lzma", -"unpackedhash":"c8be09442e487368a5e6eeb42973a245d832a7aa8ac991a2e55a0bd238143abb", -"unpackedsize":900855, -"packedhash":"52745f527165d85c196769d0646beb2beef12256b6066efeea81b178619751e5", -"packedsize":169488, +"unpackedhash":"63cf28416ddd268e842585d65b116903bafdba18f34ce3b23f75c86d71b31e72", +"unpackedsize":902915, +"packedhash":"e1c6fc43dac85090aac49bdeecb7d1ad925bdb91a05db107bbd1b5950fd842f8", +"packedsize":169362, "localfile":"assets/catalog-content.json" }, { "url":"sounds/catalog-sound.json", "unpack":false, -"packedhash":"e01e8f2b4a3bb642011cee77a4475dd3d8bfa93fcb95b5e09c0328a2f9ba4e28", +"packedhash":"a05b16dcbc04220bcac08bfe03b49e0396cdab9389a6b386f99015891655c7fd", "packedsize":118, "localfile":"sounds/catalog-sound.json" }, @@ -11337,12 +11337,12 @@ "localfile":"sounds/sound-ff452947386613e9fab66ee192646b5119df7ba1e72efd531f3e6d6b9299def0.ogg" }, { -"url":"sounds/sounds-d82246d151dda3468bcde6e17913517113ddd56627b0c18bd679a23da4f6aa05.dat.lzma", -"unpackedhash":"d82246d151dda3468bcde6e17913517113ddd56627b0c18bd679a23da4f6aa05", -"unpackedsize":89894, -"packedhash":"21cea8a6b9cf08ef37d177cd940b45cc494c8787a8f5cd0f387d09b257dc4424", -"packedsize":31775, -"localfile":"sounds/sounds-d82246d151dda3468bcde6e17913517113ddd56627b0c18bd679a23da4f6aa05.dat" +"url":"sounds/sounds-d1c2da752792ade1bd8c3d7f0897f1a24e81296495205e94e0017fdfc951d1db.dat.lzma", +"unpackedhash":"d1c2da752792ade1bd8c3d7f0897f1a24e81296495205e94e0017fdfc951d1db", +"unpackedsize":89898, +"packedhash":"2a1deccf6a66494feb287392ff6083b2a54ccc9e24e55c0dff531bff0660bf8b", +"packedsize":31779, +"localfile":"sounds/sounds-d1c2da752792ade1bd8c3d7f0897f1a24e81296495205e94e0017fdfc951d1db.dat" }, { "url":"assets/sprites-000ff0ce47bba695fdc16b63b6a42becdaea2ba4ada2c29f7d7cf6187ca70c7d.bmp.lzma", @@ -12682,6 +12682,13 @@ "localfile":"assets/sprites-0a6fece20953aa408289e05a5ac9a61edf7e03bf13826bb1f91dbd4fbad53f0f.bmp.lzma" }, { +"url":"assets/sprites-0a726fb90c72f5f7508c7a9f7602c3ecbd71b31e0e3524274e09a1a0a48b1c0b.bmp.lzma", +"unpack":false, +"packedhash":"8a4dddea62f580c0fa6ee4a628fcd447fa67b4f74102873a04d2f668b78bf5d3", +"packedsize":31332, +"localfile":"assets/sprites-0a726fb90c72f5f7508c7a9f7602c3ecbd71b31e0e3524274e09a1a0a48b1c0b.bmp.lzma" +}, +{ "url":"assets/sprites-0a74a870e363ac7ad9b22f3c10a002d90949777f95ce98385d716b9d67d969fc.bmp.lzma", "unpack":false, "packedhash":"6d823f7d2bc18a37c07d25573d051806ae4593fd613a3ffc4b7b9f56a3e518fb", @@ -13501,6 +13508,13 @@ "localfile":"assets/sprites-1177b7efc9b2f6eebed7e5d7833c1fa814cf5d0796ae1803e0ac2adfbc84c69c.bmp.lzma" }, { +"url":"assets/sprites-11791bb9b051a5563ed3585025900b50e1c4bc42d98110eee056b8f860cb96e9.bmp.lzma", +"unpack":false, +"packedhash":"d523bc4507ad7a90ee6330b3367b955c9bc6c3fa6b65ee39906aec7155fe9f40", +"packedsize":6392, +"localfile":"assets/sprites-11791bb9b051a5563ed3585025900b50e1c4bc42d98110eee056b8f860cb96e9.bmp.lzma" +}, +{ "url":"assets/sprites-11944816c2ac7bc57f9afba2ceb242bb9773ab98ae337bb7ea664c91a6e4a0be.bmp.lzma", "unpack":false, "packedhash":"b783d3851d76072c7b75922c16401bcf2d9f21a9bd97e72b4430dd67fe700b75", @@ -17085,6 +17099,13 @@ "localfile":"assets/sprites-2fd1f68544c51f2225d980b3bd2be42c4f8baa800f8693a1e3e188a42e46f290.bmp.lzma" }, { +"url":"assets/sprites-2fe8561df8c440843fabe43d80c30abd90f21d0d7ec0f0616eb7530c7ed64718.bmp.lzma", +"unpack":false, +"packedhash":"d6ad8ae73e332788b4769bb5c55810b84ec136cba119198b9e20c3b89298dfc7", +"packedsize":3613, +"localfile":"assets/sprites-2fe8561df8c440843fabe43d80c30abd90f21d0d7ec0f0616eb7530c7ed64718.bmp.lzma" +}, +{ "url":"assets/sprites-2fedd22140eeff294b4c7060569eb5239cefccd7d8341def7e1fe973bca6c883.bmp.lzma", "unpack":false, "packedhash":"5a87d0428a0f2a70b2e83412fc231aea0aa34578fe56196aea26bd6a7d4c32ed", @@ -18051,6 +18072,13 @@ "localfile":"assets/sprites-3815c7742931c935791fe8b7d1a22d5dd5b6791ec44aff4e269ab6458ad3461e.bmp.lzma" }, { +"url":"assets/sprites-3823025e766b93a20f17a4e5ed2e1b5bd14d6610a3e06562d841bff263f147a8.bmp.lzma", +"unpack":false, +"packedhash":"c4e11e70765c48ee3b863a3f4506376353f7b0c386aa8bb37749ec45df9e7e1e", +"packedsize":6358, +"localfile":"assets/sprites-3823025e766b93a20f17a4e5ed2e1b5bd14d6610a3e06562d841bff263f147a8.bmp.lzma" +}, +{ "url":"assets/sprites-383e25ab85cef48bf830924f60c24805935505f139230d847c5cb4bf462afa00.bmp.lzma", "unpack":false, "packedhash":"e2db257c1839bd41c2b1926efb658f4c55609699a6414ec8e9b96a3e622a6867", @@ -18345,6 +18373,13 @@ "localfile":"assets/sprites-3b4cc7cac68b69cf31b2ce058caefcc841cee2f92ea7c1903593d8ecc9e9ea75.bmp.lzma" }, { +"url":"assets/sprites-3b4d501e4c08e9d56c587ffcb016bf495e71cadced9166e7496303f2609271e6.bmp.lzma", +"unpack":false, +"packedhash":"ff4909804f3b70bae9352f492ca0b43a3a7bc23d3516329dadf960db93178e27", +"packedsize":4936, +"localfile":"assets/sprites-3b4d501e4c08e9d56c587ffcb016bf495e71cadced9166e7496303f2609271e6.bmp.lzma" +}, +{ "url":"assets/sprites-3b5ea830f3386de875e133554a5ddf51ea7fd8bbc70ecc3fcd48afd6005fd641.bmp.lzma", "unpack":false, "packedhash":"9b9c5842af8ff669290d9e0f63f9dea74187b4b1b27f8d8591391ccedbe34932", @@ -18506,6 +18541,13 @@ "localfile":"assets/sprites-3c926ceb746637fa1273e5dca61f77c63b482c7ffac275f76c703693be14d00d.bmp.lzma" }, { +"url":"assets/sprites-3c9514bdadda8f75400cc47369d8c1ed9d85a1630ee505a628586849386c19c9.bmp.lzma", +"unpack":false, +"packedhash":"8690ec4f6c2ff0090841c052c3d32cd6988beec8d94aca91ac59a52f7370b468", +"packedsize":5952, +"localfile":"assets/sprites-3c9514bdadda8f75400cc47369d8c1ed9d85a1630ee505a628586849386c19c9.bmp.lzma" +}, +{ "url":"assets/sprites-3ca74ec08b8832b5eebd351b17a821c423ab04bebe1f5aed8c23b7ca8759466e.bmp.lzma", "unpack":false, "packedhash":"77e8345c48e87919ea861006beb31785780d52e003af7a2de8acf28bc225cf83", @@ -18863,6 +18905,13 @@ "localfile":"assets/sprites-3f5f5bec43f6b78c25df1f83fda6dfdf915bf2087e446071abf8b8c72139a5e8.bmp.lzma" }, { +"url":"assets/sprites-3f63116f3818dc9a928a7f16a2bf47c017f8298d3de98dd7548bc455422f8fd9.bmp.lzma", +"unpack":false, +"packedhash":"37dd9fd0e9aa461333cea144af084d9d3f46b07caea50909a5771eaaf138828c", +"packedsize":10475, +"localfile":"assets/sprites-3f63116f3818dc9a928a7f16a2bf47c017f8298d3de98dd7548bc455422f8fd9.bmp.lzma" +}, +{ "url":"assets/sprites-3f64c17207c5613bb8a80715d046778c57404e3c58cf111e758b8a60045bd91c.bmp.lzma", "unpack":false, "packedhash":"26117a193b9f449b524634c87804d9aef3f0eb581e1c5decc0fc6853f3db2b74", @@ -24134,13 +24183,6 @@ "localfile":"assets/sprites-6aaa0abd6d6431ab43c62190d72fe31bca0d5450f304afe102bb27ddb01a0f05.bmp.lzma" }, { -"url":"assets/sprites-6ad18a84f6627942ed098dc7dbd715e8aeb6c19824635dd9ea58e4165766ffa4.bmp.lzma", -"unpack":false, -"packedhash":"5111586ff0182afdbe9e5e3f7222d1f0c81d4259a317fe720b79cfb07204c118", -"packedsize":14886, -"localfile":"assets/sprites-6ad18a84f6627942ed098dc7dbd715e8aeb6c19824635dd9ea58e4165766ffa4.bmp.lzma" -}, -{ "url":"assets/sprites-6adf2dfd0c5cff2886b686c82178b7b6cff866fbffa6f6286a5c63c05a25f6b0.bmp.lzma", "unpack":false, "packedhash":"e6eb6e442fa5c9dd0345ebefe831c398a3033f57678eeea834b4c089c132fea5", @@ -24715,6 +24757,13 @@ "localfile":"assets/sprites-6fe6cbf0aac966a713ce2213b7273180950485f334314ab62181f1315de7adac.bmp.lzma" }, { +"url":"assets/sprites-700617ac0d0446b535fefc11ebcff6559eb67e2409f3a0ff3e9c31ee71756006.bmp.lzma", +"unpack":false, +"packedhash":"74214fef8c182fa3f8e961b07e3ceb2245380d85058b3fb8f00e569066b0098d", +"packedsize":10687, +"localfile":"assets/sprites-700617ac0d0446b535fefc11ebcff6559eb67e2409f3a0ff3e9c31ee71756006.bmp.lzma" +}, +{ "url":"assets/sprites-702255313a1888fcfabcbedb61fdae348d474eccfd23b6762e51f801308ee4a6.bmp.lzma", "unpack":false, "packedhash":"6fba9a816df7ae2cdc7f0bb60ddb50f1fd68dbda2ac5d3c2a499b02e3c0439dd", @@ -27249,6 +27298,13 @@ "localfile":"assets/sprites-87906664cf87fba3becfe4799f31f220b263612be4c184acdba4ab58a840ba5f.bmp.lzma" }, { +"url":"assets/sprites-87a1c5bf253e8a3f3bc1729a3b6c7801f4cb9ffaeb9c590ed57f881fc4479b3a.bmp.lzma", +"unpack":false, +"packedhash":"84e7c9cf4ab6feffefe3b71c384a1811234364120552d375fe45c7d933a2448e", +"packedsize":3900, +"localfile":"assets/sprites-87a1c5bf253e8a3f3bc1729a3b6c7801f4cb9ffaeb9c590ed57f881fc4479b3a.bmp.lzma" +}, +{ "url":"assets/sprites-87a751c6c649aaf094b8c43d0146cbdf208bdea6c2f0bb5cf7192916a0db22c9.bmp.lzma", "unpack":false, "packedhash":"d15f74fcc89d3d3d0c686ec0ee7d34becbcc8fe0964d3f0dbded150c0fbbdb87", @@ -28537,13 +28593,6 @@ "localfile":"assets/sprites-923f5b0718d90ef5eb01a4ad612e296a11fd4cb532736ba8bd25f423cc2e42aa.bmp.lzma" }, { -"url":"assets/sprites-92451ea510fa061af4b3f4f7b561f29c37b874fcfa332ab7424c51e1d75a69a0.bmp.lzma", -"unpack":false, -"packedhash":"98b478ff02c8ae199f0b10a35ad0b9729cea61d4888b99968dfccc9abcbcb65b", -"packedsize":22636, -"localfile":"assets/sprites-92451ea510fa061af4b3f4f7b561f29c37b874fcfa332ab7424c51e1d75a69a0.bmp.lzma" -}, -{ "url":"assets/sprites-92477b1ed93a332b38923b6467e56e814eb18d943c8de771bd48f24676da05c9.bmp.lzma", "unpack":false, "packedhash":"3a1fd26544a00fc767d5828dd1477726f701f34391fe42b9b112d95f3c214f1f", @@ -29090,6 +29139,13 @@ "localfile":"assets/sprites-95df55af1eb04420e98e01d843509dff562ce9da72bbacae7612c11d2bce4df1.bmp.lzma" }, { +"url":"assets/sprites-95e4490fafae0243d37a5b5881817fa893bdf966019a397b58ff9e5d8c8c568b.bmp.lzma", +"unpack":false, +"packedhash":"53d2ce57f61b7e1c53fd9a163b0b60734c253bc917ef1e0af13c0e4e3780e32f", +"packedsize":18998, +"localfile":"assets/sprites-95e4490fafae0243d37a5b5881817fa893bdf966019a397b58ff9e5d8c8c568b.bmp.lzma" +}, +{ "url":"assets/sprites-95f021769393bf8fa4b36eeb0d965dfdb4e3034b7a68b4a6b85c1eec4d774758.bmp.lzma", "unpack":false, "packedhash":"a4318a10166f8bc8c30458ffa3fad7d199ba7b16a80016912edd1861b9815ef1", @@ -31330,13 +31386,6 @@ "localfile":"assets/sprites-a6ad0a624a19b2fc0c73e34ab67eafd2cdfcb9567362a033e104514e1e68d6b3.bmp.lzma" }, { -"url":"assets/sprites-a6b579bf03de11eaac0a96e5e56570aea09ce64a5771034d9ee7dede6712b28f.bmp.lzma", -"unpack":false, -"packedhash":"a472a9c1e0eebea487e44bb656407bea00c79621e0b968c2384a2af33d3b0136", -"packedsize":22627, -"localfile":"assets/sprites-a6b579bf03de11eaac0a96e5e56570aea09ce64a5771034d9ee7dede6712b28f.bmp.lzma" -}, -{ "url":"assets/sprites-a6dee66d90b38666d493a089badaf56e1469e6f13de24c6266e5bfab21568fac.bmp.lzma", "unpack":false, "packedhash":"53a44c559bd3fa536c9c78d9ca9d29ac841b7c3afe02e6bf0810b3ccffd0fe2d", @@ -32135,6 +32184,13 @@ "localfile":"assets/sprites-ad7b7e13a4d57889273a2126804292c2e2640020b9ba51c5e2cf33b93b3ba48f.bmp.lzma" }, { +"url":"assets/sprites-ad7facb6d011ed6299b0df908480c5a055584bf1732fa97d594641935c95b766.bmp.lzma", +"unpack":false, +"packedhash":"7072af67549530212caec69d16e27f2e9c65c03aa8278fe011fa524d937f6dcd", +"packedsize":21621, +"localfile":"assets/sprites-ad7facb6d011ed6299b0df908480c5a055584bf1732fa97d594641935c95b766.bmp.lzma" +}, +{ "url":"assets/sprites-ad8a30acdba3bc58aca3812c9c0f664bf20cbb64cb2056aa2dd0967f095c4793.bmp.lzma", "unpack":false, "packedhash":"73566291be0081381b25f23aa4c031337b943b8e1aff66ca1d1e1994413c5a28", @@ -33262,13 +33318,6 @@ "localfile":"assets/sprites-b7ef30e2499b80c02e39a0c01e2b42e7622cbdb4b05793b898c58ce1521ee206.bmp.lzma" }, { -"url":"assets/sprites-b803c783c5165f21e5f971490540b3656d834897d8a637548d7c1287a8e1a0b2.bmp.lzma", -"unpack":false, -"packedhash":"f76aa2316b44f52641df0842dcbbcbee3348842ee857e90bfff32ff18d5598a0", -"packedsize":18101, -"localfile":"assets/sprites-b803c783c5165f21e5f971490540b3656d834897d8a637548d7c1287a8e1a0b2.bmp.lzma" -}, -{ "url":"assets/sprites-b805fad3cd516ebfc3205560bb0be259cb4e7e439211b20f5241e9b3265419bb.bmp.lzma", "unpack":false, "packedhash":"05757bdd6e61d5b3b8143091c1f29b7c377be60490e246a8de1b04f5d849a596", @@ -35901,6 +35950,13 @@ "localfile":"assets/sprites-cd1e448c502de6373351f16a6463bbf982083ce7dfdb2db8b63d58f784ce5296.bmp.lzma" }, { +"url":"assets/sprites-cd1f187ef783f937faa9e4d8bf9c370ad960cd22f2fd8c9a7a985651a6126f85.bmp.lzma", +"unpack":false, +"packedhash":"2f73e3f6e9bebb4d8a644c9a3cbba3720b17b5b53a9bf4d1fbba814423d45248", +"packedsize":20539, +"localfile":"assets/sprites-cd1f187ef783f937faa9e4d8bf9c370ad960cd22f2fd8c9a7a985651a6126f85.bmp.lzma" +}, +{ "url":"assets/sprites-cd2a6e0befbea1d833a6aac0338f01389b3d168b79d327cd75a9576cc947cc24.bmp.lzma", "unpack":false, "packedhash":"7bfa2fe13b0ac87a8769906c3cc06889f5fa5de9fffbf81dfc2f0127b985e1d6", @@ -36524,6 +36580,13 @@ "localfile":"assets/sprites-d2f7b5355b064650d2ebc3cd5ccc84f068c7931292a2e2b228fe3efbcb803814.bmp.lzma" }, { +"url":"assets/sprites-d2fb4732578ac8f2589bde0e9472121085fb2ad9494fbbb3e9723bc8a6bdc939.bmp.lzma", +"unpack":false, +"packedhash":"61f7ddba653f00e5d02a83b7ab8580bdaaa13af27441c6ed9f40ae65f24c501f", +"packedsize":5724, +"localfile":"assets/sprites-d2fb4732578ac8f2589bde0e9472121085fb2ad9494fbbb3e9723bc8a6bdc939.bmp.lzma" +}, +{ "url":"assets/sprites-d3019baf1097da60cb7fad63668cb8644bb66461f892cbc36920a6ebe0bce880.bmp.lzma", "unpack":false, "packedhash":"e7dc3fd8c5aa839a0ee2ab95760baab4bcda6d2431438a308fc746e3d30dad47", @@ -37721,6 +37784,13 @@ "localfile":"assets/sprites-dd126a58f32fc463a3af7639c12bda8937b63729fb25862ee6f921e7c810554d.bmp.lzma" }, { +"url":"assets/sprites-dd157287aebc5ecf256da117e3c25f9634a999ece2448c59c6eb2f7cb032fcf8.bmp.lzma", +"unpack":false, +"packedhash":"e633e408ebc3f1362184a68967925164e448fc8e5bc5af23523147029a28367a", +"packedsize":26060, +"localfile":"assets/sprites-dd157287aebc5ecf256da117e3c25f9634a999ece2448c59c6eb2f7cb032fcf8.bmp.lzma" +}, +{ "url":"assets/sprites-dd31687b4a4475968f0250ff91c19de3e17082cb29a599b5c7ebb0f50eab4e9a.bmp.lzma", "unpack":false, "packedhash":"688d69bb76dd0031ddba4e2daeca857657ed87b2eac5d74024acecd8b319d9ef", diff --git a/assets.json.sha256 b/assets.json.sha256 index baae6e999..0c25ad8c3 100644 --- a/assets.json.sha256 +++ b/assets.json.sha256 @@ -1 +1 @@ -01a391698162480e355f277bc0db100fbef5748c46be3c0db51fe4d8fc964b6c \ No newline at end of file +a50c6ed038e8ee9748d4bb813736b5677698d90031bc4f42a2590a1860ed2406 \ No newline at end of file diff --git a/assets/appearances-925e67c82751f29f34a5911c628210e1b78438bd3d6631d89837bcbbdfa61140.dat b/assets/appearances-925e67c82751f29f34a5911c628210e1b78438bd3d6631d89837bcbbdfa61140.dat new file mode 100644 index 000000000..8b9c47a9d Binary files /dev/null and b/assets/appearances-925e67c82751f29f34a5911c628210e1b78438bd3d6631d89837bcbbdfa61140.dat differ diff --git a/assets/appearances-d7ce621e00198dfa6d5dacfa05dfc2d06d8cee04e719d49f6e438e4f694c60a5.dat b/assets/appearances-d7ce621e00198dfa6d5dacfa05dfc2d06d8cee04e719d49f6e438e4f694c60a5.dat deleted file mode 100644 index e26d13900..000000000 Binary files a/assets/appearances-d7ce621e00198dfa6d5dacfa05dfc2d06d8cee04e719d49f6e438e4f694c60a5.dat and /dev/null differ diff --git a/assets/catalog-content.json b/assets/catalog-content.json index 41d3959e7..e2be83799 100644 --- a/assets/catalog-content.json +++ b/assets/catalog-content.json @@ -1,7 +1,7 @@ [ { "type":"appearances", - "file":"appearances-d7ce621e00198dfa6d5dacfa05dfc2d06d8cee04e719d49f6e438e4f694c60a5.dat" + "file":"appearances-925e67c82751f29f34a5911c628210e1b78438bd3d6631d89837bcbbdfa61140.dat" }, { "type":"staticdata", @@ -2481,10 +2481,10 @@ }, { "type":"sprite", - "file":"sprites-a6b579bf03de11eaac0a96e5e56570aea09ce64a5771034d9ee7dede6712b28f.bmp.lzma", + "file":"sprites-0a726fb90c72f5f7508c7a9f7602c3ecbd71b31e0e3524274e09a1a0a48b1c0b.bmp.lzma", "spritetype":0, "firstspriteid":211861, - "lastspriteid":211904, + "lastspriteid":211976, "area":0 }, { @@ -2515,392 +2515,400 @@ "type":"sprite", "file":"sprites-b09eaedbd78db0e9c36d39a351e0a0d2b26c234281c2aac834095f45be77e3c3.bmp.lzma", "spritetype":1, - "firstspriteid":229679, - "lastspriteid":229750, + "firstspriteid":229864, + "lastspriteid":229935, "area":0 }, { "type":"sprite", "file":"sprites-470d9578d4a4345e8e21421187eddae6ead2e675eb098f511227d65285498def.bmp.lzma", "spritetype":1, - "firstspriteid":229751, - "lastspriteid":229822, + "firstspriteid":229936, + "lastspriteid":230007, "area":0 }, { "type":"sprite", "file":"sprites-7cc59082860bbd068d7414d3d0849884ff7d8c6abf42cdbd454c7ec267be10d6.bmp.lzma", "spritetype":1, - "firstspriteid":229823, - "lastspriteid":229894, + "firstspriteid":230008, + "lastspriteid":230079, "area":0 }, { "type":"sprite", "file":"sprites-ec557194488430329152ab2743686a6670a1543116ab42e8109dbb3cf037b7bd.bmp.lzma", "spritetype":1, - "firstspriteid":229895, - "lastspriteid":229966, + "firstspriteid":230080, + "lastspriteid":230151, "area":0 }, { "type":"sprite", "file":"sprites-2b8d85f36dc38803aad5bdaf2687b7c353ef328f03f5d7fa1ffe9365ded6be1c.bmp.lzma", "spritetype":1, - "firstspriteid":229967, - "lastspriteid":230038, + "firstspriteid":230152, + "lastspriteid":230223, "area":0 }, { "type":"sprite", "file":"sprites-85ed8e2ab2ae2f263042a53a879b83a153d8d0cc1f47ab96d7220d54a05e5650.bmp.lzma", "spritetype":1, - "firstspriteid":230039, - "lastspriteid":230110, + "firstspriteid":230224, + "lastspriteid":230295, "area":0 }, { "type":"sprite", "file":"sprites-7c66922494fe48facf0ba4679318291bd93ea5537a821db0345610a871157008.bmp.lzma", "spritetype":1, - "firstspriteid":230111, - "lastspriteid":230182, + "firstspriteid":230296, + "lastspriteid":230367, "area":0 }, { "type":"sprite", "file":"sprites-5a03daada8ba6e2dd1288af0ecd35d89ef76c07f2686fced1cb8bb9cbcbbee15.bmp.lzma", "spritetype":1, - "firstspriteid":230183, - "lastspriteid":230254, + "firstspriteid":230368, + "lastspriteid":230439, "area":0 }, { "type":"sprite", "file":"sprites-7b8b19c9bebeb3686ed41bbf3de3de53aa61ae1fb41aa6d0a33cbc39bb86c4a6.bmp.lzma", "spritetype":1, - "firstspriteid":230255, - "lastspriteid":230326, + "firstspriteid":230440, + "lastspriteid":230511, "area":0 }, { "type":"sprite", "file":"sprites-f6842102cc4d5e7f8ba7ecc2801132e4013a30fc52f72bc9b81805f293607e99.bmp.lzma", "spritetype":1, - "firstspriteid":230327, - "lastspriteid":230398, + "firstspriteid":230512, + "lastspriteid":230583, "area":0 }, { "type":"sprite", "file":"sprites-59048c412497fa574c2a569c4fda24dca36795bcd824ef09aef3c706738c69a9.bmp.lzma", "spritetype":1, - "firstspriteid":230399, - "lastspriteid":230470, + "firstspriteid":230584, + "lastspriteid":230655, "area":0 }, { "type":"sprite", "file":"sprites-71949facab8349c683d4d659d2ea6fb3d15de2f79640f445830d1ced982fc661.bmp.lzma", "spritetype":1, - "firstspriteid":230471, - "lastspriteid":230542, + "firstspriteid":230656, + "lastspriteid":230727, "area":0 }, { "type":"sprite", "file":"sprites-ddab9577e3696465b93a9e78b61f20d280bf67b0518c542c8256e82468910d02.bmp.lzma", "spritetype":1, - "firstspriteid":230543, - "lastspriteid":230614, + "firstspriteid":230728, + "lastspriteid":230799, "area":0 }, { "type":"sprite", "file":"sprites-44eeeb8e05ade0eee8b7e4bff5ce8035e1a5514f3e14d2378fc1bf0beef40fb1.bmp.lzma", "spritetype":1, - "firstspriteid":230615, - "lastspriteid":230686, + "firstspriteid":230800, + "lastspriteid":230871, "area":0 }, { "type":"sprite", "file":"sprites-693614fcb11efdbae293f81b0d4900bea0d21454762d8cb41df7c9315d8eefba.bmp.lzma", "spritetype":1, - "firstspriteid":230687, - "lastspriteid":230758, + "firstspriteid":230872, + "lastspriteid":230943, "area":0 }, { "type":"sprite", "file":"sprites-afa54ae86b2c45b0a99234a8f2d0f346b7148245e02f01ccdee8d1af802c3fe1.bmp.lzma", "spritetype":1, - "firstspriteid":230759, - "lastspriteid":230830, + "firstspriteid":230944, + "lastspriteid":231015, "area":0 }, { "type":"sprite", "file":"sprites-34be53a2d548a163c565667fac3297da2d4093b1e5afb362cfb64051aa02b9f6.bmp.lzma", "spritetype":1, - "firstspriteid":230831, - "lastspriteid":230902, + "firstspriteid":231016, + "lastspriteid":231087, "area":0 }, { "type":"sprite", "file":"sprites-f1fda0bc515ef3a68446ceb80b1a4234700a21063fc45bdc1ac22479a54a2020.bmp.lzma", "spritetype":1, - "firstspriteid":230903, - "lastspriteid":230974, + "firstspriteid":231088, + "lastspriteid":231159, "area":0 }, { "type":"sprite", "file":"sprites-5310f031c6e8edda0a4701ffc3e0fa73e1481a4c4ee212554fe3a4ddcf5f56c6.bmp.lzma", "spritetype":1, - "firstspriteid":230975, - "lastspriteid":231046, + "firstspriteid":231160, + "lastspriteid":231231, "area":0 }, { "type":"sprite", "file":"sprites-40023d44e8f01af6a33a61d8479dbec41822f9ad7759e0f4204242b01ce9616f.bmp.lzma", "spritetype":1, - "firstspriteid":231047, - "lastspriteid":231118, + "firstspriteid":231232, + "lastspriteid":231303, "area":0 }, { "type":"sprite", "file":"sprites-ee34c0859d0b069de29b18bfa074af03eaadbba490794bb72042e520240923ec.bmp.lzma", "spritetype":1, - "firstspriteid":231119, - "lastspriteid":231190, + "firstspriteid":231304, + "lastspriteid":231375, "area":0 }, { "type":"sprite", "file":"sprites-73f4b687ccaf508f5d526a117ed50f36142bb1e3902a42437fa6ccf11f63ed35.bmp.lzma", "spritetype":1, - "firstspriteid":231191, - "lastspriteid":231262, + "firstspriteid":231376, + "lastspriteid":231447, "area":0 }, { "type":"sprite", "file":"sprites-c8bde6c36e4639ac58e2617fccf2d8b6f02c7be7650828b6618370f21d6bff7a.bmp.lzma", "spritetype":1, - "firstspriteid":231263, - "lastspriteid":231334, + "firstspriteid":231448, + "lastspriteid":231519, "area":0 }, { "type":"sprite", "file":"sprites-6bbc6c16fba378d35779f09b23647bd58ac83415872d4ac6d8f5455b0c11fbcd.bmp.lzma", "spritetype":1, - "firstspriteid":231335, - "lastspriteid":231406, + "firstspriteid":231520, + "lastspriteid":231591, "area":0 }, { "type":"sprite", "file":"sprites-da823742c8e243a296ebff000af7ea3c4a612c85a6a7ac66f7c6eb811c3646ac.bmp.lzma", "spritetype":1, - "firstspriteid":231407, - "lastspriteid":231478, + "firstspriteid":231592, + "lastspriteid":231663, "area":0 }, { "type":"sprite", "file":"sprites-64e384e2be621bbbb0b990f2d4894351ac9830b645d15c88f45097fd731fbd88.bmp.lzma", "spritetype":1, - "firstspriteid":231479, - "lastspriteid":231550, + "firstspriteid":231664, + "lastspriteid":231735, "area":0 }, { "type":"sprite", "file":"sprites-392b1601527632fa2a5dd47eb643d09edfcbab02c5f88de4d8a77c8801763657.bmp.lzma", "spritetype":1, - "firstspriteid":231551, - "lastspriteid":231622, + "firstspriteid":231736, + "lastspriteid":231807, "area":0 }, { "type":"sprite", "file":"sprites-fa8e66f69c87551b2cdb2d358e6907a06f434052fa45d0134ce525c4ebcd2888.bmp.lzma", "spritetype":1, - "firstspriteid":231623, - "lastspriteid":231694, + "firstspriteid":231808, + "lastspriteid":231879, "area":0 }, { "type":"sprite", "file":"sprites-d9978817d27e6198b2898c8bae0d5c58e2c48447ec698bbd04b2140eed0746f7.bmp.lzma", "spritetype":1, - "firstspriteid":231695, - "lastspriteid":231766, + "firstspriteid":231880, + "lastspriteid":231951, "area":0 }, { "type":"sprite", "file":"sprites-35c66a0ccdc2e134bd3d44bc6473a4f2ec45e05b8a38a4cc443ef1afa32c6232.bmp.lzma", "spritetype":1, - "firstspriteid":231767, - "lastspriteid":231838, + "firstspriteid":231952, + "lastspriteid":232023, "area":0 }, { "type":"sprite", "file":"sprites-ce8afd4fa116927047d203008bee87fa2a28fdeab090ffb4d74608b32d9a6e9d.bmp.lzma", "spritetype":1, - "firstspriteid":231839, - "lastspriteid":231910, + "firstspriteid":232024, + "lastspriteid":232095, "area":0 }, { "type":"sprite", "file":"sprites-e8917a0416a24b9342950b6f60e33cc141bc592cafc3e9fe76a3450e225454c1.bmp.lzma", "spritetype":1, - "firstspriteid":231911, - "lastspriteid":231982, + "firstspriteid":232096, + "lastspriteid":232167, "area":0 }, { "type":"sprite", "file":"sprites-45b30d2b2f9c1b04f016503256182050a28cfe0491a9efc704c8590738b3cf8d.bmp.lzma", "spritetype":1, - "firstspriteid":231983, - "lastspriteid":232054, + "firstspriteid":232168, + "lastspriteid":232239, "area":0 }, { "type":"sprite", "file":"sprites-a22202acda8699c18a7b2cc473cf0b624d89638fe31b45083804ec5e79ae8ea6.bmp.lzma", "spritetype":1, - "firstspriteid":232055, - "lastspriteid":232126, + "firstspriteid":232240, + "lastspriteid":232311, "area":0 }, { "type":"sprite", "file":"sprites-8f26a2e682b525c9f1a5a5becd99b70e9a35247362f4ca93db59ba02902c7d63.bmp.lzma", "spritetype":1, - "firstspriteid":232127, - "lastspriteid":232198, + "firstspriteid":232312, + "lastspriteid":232383, "area":0 }, { "type":"sprite", "file":"sprites-edd14780c87e87801e29342f3160fc720e01c127dc9718a999df4dfb88211bc3.bmp.lzma", "spritetype":1, - "firstspriteid":232199, - "lastspriteid":232270, + "firstspriteid":232384, + "lastspriteid":232455, "area":0 }, { "type":"sprite", "file":"sprites-40b144a946316c7275fc5ee63963e0094a161f13e4ef7a372ff8b69c28c9f0e7.bmp.lzma", "spritetype":1, - "firstspriteid":232271, - "lastspriteid":232342, + "firstspriteid":232456, + "lastspriteid":232527, "area":0 }, { "type":"sprite", "file":"sprites-74e840e2cbb106a366725ee2958eb6e39186ffa04311b252133b3aafa2383bdc.bmp.lzma", "spritetype":1, - "firstspriteid":232343, - "lastspriteid":232414, + "firstspriteid":232528, + "lastspriteid":232599, "area":0 }, { "type":"sprite", "file":"sprites-ac4b93574c43f08c5159e80d94581edc36c61edc55bb8b26a1583f6054e20176.bmp.lzma", "spritetype":1, - "firstspriteid":232415, - "lastspriteid":232486, + "firstspriteid":232600, + "lastspriteid":232671, "area":0 }, { "type":"sprite", "file":"sprites-e459a6373bd791d1f447b56828eee0b5c0488cd6e494842aa04b663a1cfc8cfb.bmp.lzma", "spritetype":1, - "firstspriteid":232487, - "lastspriteid":232558, + "firstspriteid":232672, + "lastspriteid":232743, "area":0 }, { "type":"sprite", "file":"sprites-82df92839adfa8d580aa46512e7879e28d79075ba902e7a68259d571da437f4f.bmp.lzma", "spritetype":1, - "firstspriteid":232559, - "lastspriteid":232630, + "firstspriteid":232744, + "lastspriteid":232815, "area":0 }, { "type":"sprite", "file":"sprites-e0613ccedb4f117c4d30e8337491d218210e343552ea7f9086425f1f40ed07d4.bmp.lzma", "spritetype":1, - "firstspriteid":232631, - "lastspriteid":232702, + "firstspriteid":232816, + "lastspriteid":232887, "area":0 }, { "type":"sprite", "file":"sprites-8584465cece79a0affd4ab2722d70e597644e075e25640f6fc1c8f4df0d59c5f.bmp.lzma", "spritetype":1, - "firstspriteid":232703, - "lastspriteid":232774, + "firstspriteid":232888, + "lastspriteid":232959, "area":0 }, { "type":"sprite", "file":"sprites-c6d9fdaa53d0113a3d9262090cd24d28eb61ddf7440fbb925421f0da68d90d4b.bmp.lzma", "spritetype":1, - "firstspriteid":232775, - "lastspriteid":232846, + "firstspriteid":232960, + "lastspriteid":233031, "area":0 }, { "type":"sprite", "file":"sprites-d0749fa9cc43e0f896f6dabcbd6c545589d86cec13c9b7421603fec029cbf012.bmp.lzma", "spritetype":1, - "firstspriteid":232847, - "lastspriteid":232918, + "firstspriteid":233032, + "lastspriteid":233103, "area":0 }, { "type":"sprite", "file":"sprites-1dc73e34f1c1c25817dc75b2dfc3dcc9b57b37daf9d8dfa5a95146f2abf11722.bmp.lzma", "spritetype":1, - "firstspriteid":232919, - "lastspriteid":232990, + "firstspriteid":233104, + "lastspriteid":233175, "area":0 }, { "type":"sprite", "file":"sprites-d1d6e1b0c32bd352da1e08f409a58a182b38b0a04e4a83c05d2ec726f9758cc9.bmp.lzma", "spritetype":1, - "firstspriteid":232991, - "lastspriteid":233062, + "firstspriteid":233176, + "lastspriteid":233247, "area":0 }, { "type":"sprite", "file":"sprites-5ccf80ccc1f8618d9b5be2fb178d5e019306059a86c94b954969c3230b260f52.bmp.lzma", "spritetype":1, - "firstspriteid":233063, - "lastspriteid":233134, + "firstspriteid":233248, + "lastspriteid":233319, "area":0 }, { "type":"sprite", - "file":"sprites-6ad18a84f6627942ed098dc7dbd715e8aeb6c19824635dd9ea58e4165766ffa4.bmp.lzma", + "file":"sprites-ad7facb6d011ed6299b0df908480c5a055584bf1732fa97d594641935c95b766.bmp.lzma", "spritetype":1, - "firstspriteid":233135, - "lastspriteid":233179, + "firstspriteid":233320, + "lastspriteid":233391, + "area":0 +}, +{ + "type":"sprite", + "file":"sprites-2fe8561df8c440843fabe43d80c30abd90f21d0d7ec0f0616eb7530c7ed64718.bmp.lzma", + "spritetype":1, + "firstspriteid":233392, + "lastspriteid":233402, "area":0 }, { @@ -2915,400 +2923,408 @@ "type":"sprite", "file":"sprites-7b705336a5bfe49f2e73e4e64acf5f21b973875e69442897b0dd6b0a1248fe31.bmp.lzma", "spritetype":2, - "firstspriteid":234079, - "lastspriteid":234150, + "firstspriteid":234305, + "lastspriteid":234376, "area":0 }, { "type":"sprite", "file":"sprites-866357dece715240e945d992a9452d0642f7d8312de2b27fdd55d434bc8dbee2.bmp.lzma", "spritetype":2, - "firstspriteid":234151, - "lastspriteid":234222, + "firstspriteid":234377, + "lastspriteid":234448, "area":0 }, { "type":"sprite", "file":"sprites-7ea4f66123ad841b943238b787a98fa90038db3bdb43dcf2028e54cdef5b35eb.bmp.lzma", "spritetype":2, - "firstspriteid":234223, - "lastspriteid":234294, + "firstspriteid":234449, + "lastspriteid":234520, "area":0 }, { "type":"sprite", "file":"sprites-57be4f1e111cfdc0635085bd8e3ce662c0461e315db6f6927cdbd10c128502f5.bmp.lzma", "spritetype":2, - "firstspriteid":234295, - "lastspriteid":234366, + "firstspriteid":234521, + "lastspriteid":234592, "area":0 }, { "type":"sprite", "file":"sprites-a001bd538491bc882cb17c0b4b10b9e8b4bfb09d579a2e50ed23c7b721c4c3fe.bmp.lzma", "spritetype":2, - "firstspriteid":234367, - "lastspriteid":234438, + "firstspriteid":234593, + "lastspriteid":234664, "area":0 }, { "type":"sprite", "file":"sprites-5d12d0be99ba3e7dd4973d5499a77da7c2801a458b81aa542a5152301ee6bca8.bmp.lzma", "spritetype":2, - "firstspriteid":234439, - "lastspriteid":234510, + "firstspriteid":234665, + "lastspriteid":234736, "area":0 }, { "type":"sprite", "file":"sprites-58148efa2f9f0db62c3be466ff36ca407bb8805e5a9e82dcdb8d71c4b7286a09.bmp.lzma", "spritetype":2, - "firstspriteid":234511, - "lastspriteid":234582, + "firstspriteid":234737, + "lastspriteid":234808, "area":0 }, { "type":"sprite", "file":"sprites-a540930d3a974bf04f1ee15504e80b10be2135245f22fc7ccc34691ad742f358.bmp.lzma", "spritetype":2, - "firstspriteid":234583, - "lastspriteid":234654, + "firstspriteid":234809, + "lastspriteid":234880, "area":0 }, { "type":"sprite", "file":"sprites-894a4f466986fe98775427cd01b2caff74c562961bed3149245f1b97782af5d8.bmp.lzma", "spritetype":2, - "firstspriteid":234655, - "lastspriteid":234726, + "firstspriteid":234881, + "lastspriteid":234952, "area":0 }, { "type":"sprite", "file":"sprites-08c9ecabbafdac510b5e768a0eaaea9b56b9680c3396496bd34ea6681d4a186a.bmp.lzma", "spritetype":2, - "firstspriteid":234727, - "lastspriteid":234798, + "firstspriteid":234953, + "lastspriteid":235024, "area":0 }, { "type":"sprite", "file":"sprites-f878afbcbb9d689d4867e6f1242e08d865eafe19555cbd72ebac4f322a7652e8.bmp.lzma", "spritetype":2, - "firstspriteid":234799, - "lastspriteid":234870, + "firstspriteid":235025, + "lastspriteid":235096, "area":0 }, { "type":"sprite", "file":"sprites-75e4024a626ddeeb1b8f79e5ee30397760f14c03f431e37815b8ee6b7d33eb8c.bmp.lzma", "spritetype":2, - "firstspriteid":234871, - "lastspriteid":234942, + "firstspriteid":235097, + "lastspriteid":235168, "area":0 }, { "type":"sprite", "file":"sprites-5cf093e0b47856adbf392274aaac6256a4fd9200aa5d23909b46bb03851aa23b.bmp.lzma", "spritetype":2, - "firstspriteid":234943, - "lastspriteid":235014, + "firstspriteid":235169, + "lastspriteid":235240, "area":0 }, { "type":"sprite", "file":"sprites-c91dc6034cd6a304bbd5bd859e2302a144878d105c6867525c2c1e2eb11905a2.bmp.lzma", "spritetype":2, - "firstspriteid":235015, - "lastspriteid":235086, + "firstspriteid":235241, + "lastspriteid":235312, "area":0 }, { "type":"sprite", "file":"sprites-727d3ad048e73980e6a92b5fe9b513288e31638a8803111297bbc5a2af15b17e.bmp.lzma", "spritetype":2, - "firstspriteid":235087, - "lastspriteid":235158, + "firstspriteid":235313, + "lastspriteid":235384, "area":0 }, { "type":"sprite", "file":"sprites-888833b2a88ceab668ce106b6c00a6169cf6a506d38d9ce8bec52a38e2d615cf.bmp.lzma", "spritetype":2, - "firstspriteid":235159, - "lastspriteid":235230, + "firstspriteid":235385, + "lastspriteid":235456, "area":0 }, { "type":"sprite", "file":"sprites-7210d11e9c72aeddd263d031e3ce9ba33b7ca0667dc8262369c9335d914284e0.bmp.lzma", "spritetype":2, - "firstspriteid":235231, - "lastspriteid":235302, + "firstspriteid":235457, + "lastspriteid":235528, "area":0 }, { "type":"sprite", "file":"sprites-becc02c85e6fcbe74af51c66942c998fe899c1f493a629695c4a92e571d99397.bmp.lzma", "spritetype":2, - "firstspriteid":235303, - "lastspriteid":235374, + "firstspriteid":235529, + "lastspriteid":235600, "area":0 }, { "type":"sprite", "file":"sprites-ab32660f4371824794ad73440571dd986498304eef67ffc71fa3bbd098f8abca.bmp.lzma", "spritetype":2, - "firstspriteid":235375, - "lastspriteid":235446, + "firstspriteid":235601, + "lastspriteid":235672, "area":0 }, { "type":"sprite", "file":"sprites-5bb6eaa288daf0a47f31c98543ef871d93c85bc87bcc7db88e1558262895330b.bmp.lzma", "spritetype":2, - "firstspriteid":235447, - "lastspriteid":235518, + "firstspriteid":235673, + "lastspriteid":235744, "area":0 }, { "type":"sprite", "file":"sprites-ce57700052bba57ca2c9cae14219e70fe4ac10c5c558acd963d2dcabb389a59f.bmp.lzma", "spritetype":2, - "firstspriteid":235519, - "lastspriteid":235590, + "firstspriteid":235745, + "lastspriteid":235816, "area":0 }, { "type":"sprite", "file":"sprites-dac55fd84cab78942556c565036c077b08abf65ead20c017194d2734328ddb44.bmp.lzma", "spritetype":2, - "firstspriteid":235591, - "lastspriteid":235662, + "firstspriteid":235817, + "lastspriteid":235888, "area":0 }, { "type":"sprite", "file":"sprites-ceccc3f631def69a61f16170a232cdea0a208840d1335b7dbbd625c14daedb11.bmp.lzma", "spritetype":2, - "firstspriteid":235663, - "lastspriteid":235734, + "firstspriteid":235889, + "lastspriteid":235960, "area":0 }, { "type":"sprite", "file":"sprites-fb9063ff19ad8d702994e349fc74892dd2689712b13962796c54e1473a0aa45d.bmp.lzma", "spritetype":2, - "firstspriteid":235735, - "lastspriteid":235806, + "firstspriteid":235961, + "lastspriteid":236032, "area":0 }, { "type":"sprite", "file":"sprites-09f032cd75bc6c221c10c80b7f666cf0f66206c85a2d207e12a5289b8f47d350.bmp.lzma", "spritetype":2, - "firstspriteid":235807, - "lastspriteid":235878, + "firstspriteid":236033, + "lastspriteid":236104, "area":0 }, { "type":"sprite", "file":"sprites-c854b94e60c28b1e66a4e1f2928cadbcb130736a0d1a2a9ea16e0d19bf3b971e.bmp.lzma", "spritetype":2, - "firstspriteid":235879, - "lastspriteid":235950, + "firstspriteid":236105, + "lastspriteid":236176, "area":0 }, { "type":"sprite", "file":"sprites-6847b2c4a57be2cfe56cce78663abd935a0bc4841d77322bd465b3528dfb11fe.bmp.lzma", "spritetype":2, - "firstspriteid":235951, - "lastspriteid":236022, + "firstspriteid":236177, + "lastspriteid":236248, "area":0 }, { "type":"sprite", "file":"sprites-5beb9f3c5a59b63b7895048bdcb7a22bc1dc322fce4eeb80c53bc0f063030b8d.bmp.lzma", "spritetype":2, - "firstspriteid":236023, - "lastspriteid":236094, + "firstspriteid":236249, + "lastspriteid":236320, "area":0 }, { "type":"sprite", "file":"sprites-4646ac8c39dca8eecb38d1854105db35b89c31951128fa166b3f9607d582266e.bmp.lzma", "spritetype":2, - "firstspriteid":236095, - "lastspriteid":236166, + "firstspriteid":236321, + "lastspriteid":236392, "area":0 }, { "type":"sprite", "file":"sprites-ecbcab1342b8b4a508242837505a78f96a4e536d4f20e37fb44971e28f306d71.bmp.lzma", "spritetype":2, - "firstspriteid":236167, - "lastspriteid":236238, + "firstspriteid":236393, + "lastspriteid":236464, "area":0 }, { "type":"sprite", "file":"sprites-d7e7a093a0997bee04911538a474ee6294f8fab44d87758bbeae78880389d72e.bmp.lzma", "spritetype":2, - "firstspriteid":236239, - "lastspriteid":236310, + "firstspriteid":236465, + "lastspriteid":236536, "area":0 }, { "type":"sprite", "file":"sprites-6ed1899a7d4100b10d504420bdb64c7561374ae649dd1be00cedea19a36ea1d3.bmp.lzma", "spritetype":2, - "firstspriteid":236311, - "lastspriteid":236382, + "firstspriteid":236537, + "lastspriteid":236608, "area":0 }, { "type":"sprite", "file":"sprites-3f8b13a41cedf1740779b383aa2d471f206ed9b87b72b959e61e961c3c74940f.bmp.lzma", "spritetype":2, - "firstspriteid":236383, - "lastspriteid":236454, + "firstspriteid":236609, + "lastspriteid":236680, "area":0 }, { "type":"sprite", "file":"sprites-2f14b1489eedc3b5ee87e6b3c7a14bbddba0adfeccaf29819faa41ade70c7b93.bmp.lzma", "spritetype":2, - "firstspriteid":236455, - "lastspriteid":236526, + "firstspriteid":236681, + "lastspriteid":236752, "area":0 }, { "type":"sprite", "file":"sprites-b2fa7709610952dd06df7708722cccaa98170dd7683948b357e6abd278474f62.bmp.lzma", "spritetype":2, - "firstspriteid":236527, - "lastspriteid":236598, + "firstspriteid":236753, + "lastspriteid":236824, "area":0 }, { "type":"sprite", "file":"sprites-a92e8c032e8a74aee4ce2e23d10e8ab31c2429a59547f6ab220daebedf9b203f.bmp.lzma", "spritetype":2, - "firstspriteid":236599, - "lastspriteid":236670, + "firstspriteid":236825, + "lastspriteid":236896, "area":0 }, { "type":"sprite", "file":"sprites-af5d06689e77e915d423018d8895a9c93d9c7dd88060548708b9effd7d1855b1.bmp.lzma", "spritetype":2, - "firstspriteid":236671, - "lastspriteid":236742, + "firstspriteid":236897, + "lastspriteid":236968, "area":0 }, { "type":"sprite", "file":"sprites-3a8a73bd7f9d97038fae1d2867e3647b67e0a541a7d32a803762ece225c93321.bmp.lzma", "spritetype":2, - "firstspriteid":236743, - "lastspriteid":236814, + "firstspriteid":236969, + "lastspriteid":237040, "area":0 }, { "type":"sprite", "file":"sprites-317dde85378d28859212bf4d43d4d88fe11fac5f094876ad123c83d0fa1a7fc1.bmp.lzma", "spritetype":2, - "firstspriteid":236815, - "lastspriteid":236886, + "firstspriteid":237041, + "lastspriteid":237112, "area":0 }, { "type":"sprite", "file":"sprites-df426b55ee1d98f6bdc1cd377df0841dff7b417f340853ae778a54cb8dfec32e.bmp.lzma", "spritetype":2, - "firstspriteid":236887, - "lastspriteid":236958, + "firstspriteid":237113, + "lastspriteid":237184, "area":0 }, { "type":"sprite", "file":"sprites-2ef08a6ae40cba794ef6bbefe3a579fcb1d761690c6c769fadcefc8465334218.bmp.lzma", "spritetype":2, - "firstspriteid":236959, - "lastspriteid":237030, + "firstspriteid":237185, + "lastspriteid":237256, "area":0 }, { "type":"sprite", "file":"sprites-542b0d6e9b18bbc6fcbcfd552fbaf97f23bee9fd2f07c22f39317aa4c385efc7.bmp.lzma", "spritetype":2, - "firstspriteid":237031, - "lastspriteid":237102, + "firstspriteid":237257, + "lastspriteid":237328, "area":0 }, { "type":"sprite", "file":"sprites-8f1ab130390700fee4019ab89f42a86e548f44ecd21e3fef9ae30953af8f2b86.bmp.lzma", "spritetype":2, - "firstspriteid":237103, - "lastspriteid":237174, + "firstspriteid":237329, + "lastspriteid":237400, "area":0 }, { "type":"sprite", "file":"sprites-741578daacde18bc9a39a33c4a1cd1c1fe4247c8ad08f2f78038cc65dca62bb3.bmp.lzma", "spritetype":2, - "firstspriteid":237175, - "lastspriteid":237246, + "firstspriteid":237401, + "lastspriteid":237472, "area":0 }, { "type":"sprite", "file":"sprites-e131085320ede3eedcb5197b491f881f6bba438ae15fad9d4ba29e642258c9bf.bmp.lzma", "spritetype":2, - "firstspriteid":237247, - "lastspriteid":237318, + "firstspriteid":237473, + "lastspriteid":237544, "area":0 }, { "type":"sprite", "file":"sprites-b7575b1a3a32fb49648d0575c94213dc56ed2c0456b5d95ec7be6571c26f552a.bmp.lzma", "spritetype":2, - "firstspriteid":237319, - "lastspriteid":237390, + "firstspriteid":237545, + "lastspriteid":237616, "area":0 }, { "type":"sprite", "file":"sprites-19528e7a6584a0a2f6c5eb93bb42ee305d3544bed0278bb538d2a9050d732d0a.bmp.lzma", "spritetype":2, - "firstspriteid":237391, - "lastspriteid":237462, + "firstspriteid":237617, + "lastspriteid":237688, "area":0 }, { "type":"sprite", "file":"sprites-6efe7e07710ab1be44b5d72710302e428a207bd3ac6681653eba11e2323a53e9.bmp.lzma", "spritetype":2, - "firstspriteid":237463, - "lastspriteid":237534, + "firstspriteid":237689, + "lastspriteid":237760, "area":0 }, { "type":"sprite", "file":"sprites-36be1a130d47b668eebe462e25fe0c8616ca8f1c7db8a8ce70daa9e1217863f7.bmp.lzma", "spritetype":2, - "firstspriteid":237535, - "lastspriteid":237606, + "firstspriteid":237761, + "lastspriteid":237832, "area":0 }, { "type":"sprite", - "file":"sprites-b803c783c5165f21e5f971490540b3656d834897d8a637548d7c1287a8e1a0b2.bmp.lzma", + "file":"sprites-95e4490fafae0243d37a5b5881817fa893bdf966019a397b58ff9e5d8c8c568b.bmp.lzma", "spritetype":2, - "firstspriteid":237607, - "lastspriteid":237676, + "firstspriteid":237833, + "lastspriteid":237904, + "area":0 +}, +{ + "type":"sprite", + "file":"sprites-11791bb9b051a5563ed3585025900b50e1c4bc42d98110eee056b8f860cb96e9.bmp.lzma", + "spritetype":2, + "firstspriteid":237905, + "lastspriteid":237930, "area":0 }, { @@ -30203,5008 +30219,5072 @@ "type":"sprite", "file":"sprites-ccf891a7881f8e3005f86b8556778ac49e6882b81b6cfff334aafb6294cdc275.bmp.lzma", "spritetype":3, - "firstspriteid":238493, - "lastspriteid":238528, + "firstspriteid":238750, + "lastspriteid":238785, "area":0 }, { "type":"sprite", "file":"sprites-500b04398ab046ed815a71346c6d8ecc493ea551a00dcb2e996ec161666d2304.bmp.lzma", "spritetype":3, - "firstspriteid":238529, - "lastspriteid":238564, + "firstspriteid":238786, + "lastspriteid":238821, "area":0 }, { "type":"sprite", "file":"sprites-0e0862eee7cb6c941ea0d008b3d6c7cc78cd0d073e25e3333bd7ea05da7c7329.bmp.lzma", "spritetype":3, - "firstspriteid":238565, - "lastspriteid":238600, + "firstspriteid":238822, + "lastspriteid":238857, "area":0 }, { "type":"sprite", "file":"sprites-459887e1444d7e17d9588862523fc3768ce5f6e2c171966da6762626ab645286.bmp.lzma", "spritetype":3, - "firstspriteid":238601, - "lastspriteid":238636, + "firstspriteid":238858, + "lastspriteid":238893, "area":0 }, { "type":"sprite", "file":"sprites-f176498392b5113b2b12d0fbb2ec67d1ca517ed92e6c0e4645e23a19120fe3cc.bmp.lzma", "spritetype":3, - "firstspriteid":238637, - "lastspriteid":238672, + "firstspriteid":238894, + "lastspriteid":238929, "area":0 }, { "type":"sprite", "file":"sprites-412d4e6130fa17705c60f62efd9af1e286beb60cf52d9199ef6ce305d311aee9.bmp.lzma", "spritetype":3, - "firstspriteid":238673, - "lastspriteid":238708, + "firstspriteid":238930, + "lastspriteid":238965, "area":0 }, { "type":"sprite", "file":"sprites-587af4c3303ad36964394a5f50ad0f7ffb5d1fcd0d44b4fd193b0d0ce5c15749.bmp.lzma", "spritetype":3, - "firstspriteid":238709, - "lastspriteid":238744, + "firstspriteid":238966, + "lastspriteid":239001, "area":0 }, { "type":"sprite", "file":"sprites-0c74db25875db5485bd1dd494d7603f7e58ce000e3e8c1225b442e35bc983cfe.bmp.lzma", "spritetype":3, - "firstspriteid":238745, - "lastspriteid":238780, + "firstspriteid":239002, + "lastspriteid":239037, "area":0 }, { "type":"sprite", "file":"sprites-ae01dc412a6eb4a421d0990e3aab49177cb6c6bad2927dfd0baf9f9a3473cdd9.bmp.lzma", "spritetype":3, - "firstspriteid":238781, - "lastspriteid":238816, + "firstspriteid":239038, + "lastspriteid":239073, "area":0 }, { "type":"sprite", "file":"sprites-189c735f836685a9550bf546bf8c3d6d7cd40faaade5b41bd2320f8dda181c1f.bmp.lzma", "spritetype":3, - "firstspriteid":238817, - "lastspriteid":238852, + "firstspriteid":239074, + "lastspriteid":239109, "area":0 }, { "type":"sprite", "file":"sprites-e7c2bb0eb70236427e9147672d286a87ab267c484d1f0fcd128606edb3a99328.bmp.lzma", "spritetype":3, - "firstspriteid":238853, - "lastspriteid":238888, + "firstspriteid":239110, + "lastspriteid":239145, "area":0 }, { "type":"sprite", "file":"sprites-6bf4bee0e656837d6977ce2f81cb986e428206ca80a971abb47ebc4bf29caf75.bmp.lzma", "spritetype":3, - "firstspriteid":238889, - "lastspriteid":238924, + "firstspriteid":239146, + "lastspriteid":239181, "area":0 }, { "type":"sprite", "file":"sprites-815c30b962116b20602f868f814cd3294d8ea545c6b11ce8fc93ef52a98919e0.bmp.lzma", "spritetype":3, - "firstspriteid":238925, - "lastspriteid":238960, + "firstspriteid":239182, + "lastspriteid":239217, "area":0 }, { "type":"sprite", "file":"sprites-21436be6762fe5eb229e35360ebc580467a0db738ab3167f821bed38b9026225.bmp.lzma", "spritetype":3, - "firstspriteid":238961, - "lastspriteid":238996, + "firstspriteid":239218, + "lastspriteid":239253, "area":0 }, { "type":"sprite", "file":"sprites-b8e24a5f2bf807097591437489ce080f10dc9f371173d6ffd0046c08fb2e0c9d.bmp.lzma", "spritetype":3, - "firstspriteid":238997, - "lastspriteid":239032, + "firstspriteid":239254, + "lastspriteid":239289, "area":0 }, { "type":"sprite", "file":"sprites-9c01cdbfe830edd4f59829826d704f62481cd1b2053f962235db0cda9d63ea93.bmp.lzma", "spritetype":3, - "firstspriteid":239033, - "lastspriteid":239068, + "firstspriteid":239290, + "lastspriteid":239325, "area":0 }, { "type":"sprite", "file":"sprites-8108a3cc4be9869db393d863f0611b7a88c30daea276c8b863de3319982f104d.bmp.lzma", "spritetype":3, - "firstspriteid":239069, - "lastspriteid":239104, + "firstspriteid":239326, + "lastspriteid":239361, "area":0 }, { "type":"sprite", "file":"sprites-e162f243a4d78c63ae383abaec6f4dbbce5911650455e87a87d842efbb7f097e.bmp.lzma", "spritetype":3, - "firstspriteid":239105, - "lastspriteid":239140, + "firstspriteid":239362, + "lastspriteid":239397, "area":0 }, { "type":"sprite", "file":"sprites-79b5cf917530a791c3b304b92c09953a5e85c1a772d29b68e4b6b20d99ca161d.bmp.lzma", "spritetype":3, - "firstspriteid":239141, - "lastspriteid":239176, + "firstspriteid":239398, + "lastspriteid":239433, "area":0 }, { "type":"sprite", "file":"sprites-050570f707f7687d247effa5d1776aee9589ab0c63322b80a0f0585814629458.bmp.lzma", "spritetype":3, - "firstspriteid":239177, - "lastspriteid":239212, + "firstspriteid":239434, + "lastspriteid":239469, "area":0 }, { "type":"sprite", "file":"sprites-c9fa5144ab1a18ebe5e2febb5fd863ba711ebbb8b1f137a56bec823591f7ea18.bmp.lzma", "spritetype":3, - "firstspriteid":239213, - "lastspriteid":239248, + "firstspriteid":239470, + "lastspriteid":239505, "area":0 }, { "type":"sprite", "file":"sprites-d42be008ae6df3329911cfd4deab02b7356fde861c83f1daaf612ea0833af356.bmp.lzma", "spritetype":3, - "firstspriteid":239249, - "lastspriteid":239284, + "firstspriteid":239506, + "lastspriteid":239541, "area":0 }, { "type":"sprite", "file":"sprites-865aaf786903e9fb05b82e382b4edd1837ef9f3cd5fbbfaa1cff2a148e27d99a.bmp.lzma", "spritetype":3, - "firstspriteid":239285, - "lastspriteid":239320, + "firstspriteid":239542, + "lastspriteid":239577, "area":0 }, { "type":"sprite", "file":"sprites-0131d50de9607766c9d4ea520fad75aec7c0a4a22c068002ccdab002f84c523c.bmp.lzma", "spritetype":3, - "firstspriteid":239321, - "lastspriteid":239356, + "firstspriteid":239578, + "lastspriteid":239613, "area":0 }, { "type":"sprite", "file":"sprites-88530da6394d198704f08b4fcb069110202592f0a0350749bd7df9f2c914d3d6.bmp.lzma", "spritetype":3, - "firstspriteid":239357, - "lastspriteid":239392, + "firstspriteid":239614, + "lastspriteid":239649, "area":0 }, { "type":"sprite", "file":"sprites-4c2aa57bc6c1dadaaeab04468caef1f463ed3781974299d55cfca077d88d5902.bmp.lzma", "spritetype":3, - "firstspriteid":239393, - "lastspriteid":239428, + "firstspriteid":239650, + "lastspriteid":239685, "area":0 }, { "type":"sprite", "file":"sprites-e92640e5001d9a259b0178562c2f4986313888f6ebc22f8c58b5f2ab29e81df6.bmp.lzma", "spritetype":3, - "firstspriteid":239429, - "lastspriteid":239464, + "firstspriteid":239686, + "lastspriteid":239721, "area":0 }, { "type":"sprite", "file":"sprites-b5aef49afca7e86daa98421ebc9d83212a2522b85b4fbc799def716cf99dfd4a.bmp.lzma", "spritetype":3, - "firstspriteid":239465, - "lastspriteid":239500, + "firstspriteid":239722, + "lastspriteid":239757, "area":0 }, { "type":"sprite", "file":"sprites-191ded3f3b2fee028d51f086ee7d30672d268fd9b7fb8f5aec7015b35b9965d3.bmp.lzma", "spritetype":3, - "firstspriteid":239501, - "lastspriteid":239536, + "firstspriteid":239758, + "lastspriteid":239793, "area":0 }, { "type":"sprite", "file":"sprites-d31a13a59cff059dbbb2c4001dbb28851460e08558e9d73370107a2d98dc7624.bmp.lzma", "spritetype":3, - "firstspriteid":239537, - "lastspriteid":239572, + "firstspriteid":239794, + "lastspriteid":239829, "area":0 }, { "type":"sprite", "file":"sprites-b0ddad7bda74e5d422cf2f679f7757d9d70e8d556219fbe52eeb2667d4b11f58.bmp.lzma", "spritetype":3, - "firstspriteid":239573, - "lastspriteid":239608, + "firstspriteid":239830, + "lastspriteid":239865, "area":0 }, { "type":"sprite", "file":"sprites-782b020667abdc24f2791bc9aee65c1b9592f6ccb1dabf1639510665bd070875.bmp.lzma", "spritetype":3, - "firstspriteid":239609, - "lastspriteid":239644, + "firstspriteid":239866, + "lastspriteid":239901, "area":0 }, { "type":"sprite", "file":"sprites-91dad8521fec8d46f852969ea1e01544ca994f06f6943a48fb78526152353e20.bmp.lzma", "spritetype":3, - "firstspriteid":239645, - "lastspriteid":239680, + "firstspriteid":239902, + "lastspriteid":239937, "area":0 }, { "type":"sprite", "file":"sprites-99e3f5a4885655aa57b28d9b257eec9194825d78ec728b9ad97cb3f32c34bf09.bmp.lzma", "spritetype":3, - "firstspriteid":239681, - "lastspriteid":239716, + "firstspriteid":239938, + "lastspriteid":239973, "area":0 }, { "type":"sprite", "file":"sprites-92477b1ed93a332b38923b6467e56e814eb18d943c8de771bd48f24676da05c9.bmp.lzma", "spritetype":3, - "firstspriteid":239717, - "lastspriteid":239752, + "firstspriteid":239974, + "lastspriteid":240009, "area":0 }, { "type":"sprite", "file":"sprites-a62294c4537b22970a5c4a8aa0ff452f5ed474931ba8c9f55aa43a13cdaa078d.bmp.lzma", "spritetype":3, - "firstspriteid":239753, - "lastspriteid":239788, + "firstspriteid":240010, + "lastspriteid":240045, "area":0 }, { "type":"sprite", "file":"sprites-012bd2d41755a052d3d64e03ea033b1e23e97ed3a353507b85d43f8041f6b9af.bmp.lzma", "spritetype":3, - "firstspriteid":239789, - "lastspriteid":239824, + "firstspriteid":240046, + "lastspriteid":240081, "area":0 }, { "type":"sprite", "file":"sprites-79c1e5cbb1699a3c90aea2c3441849faa60b54f438a387584bd74bda838215d3.bmp.lzma", "spritetype":3, - "firstspriteid":239825, - "lastspriteid":239860, + "firstspriteid":240082, + "lastspriteid":240117, "area":0 }, { "type":"sprite", "file":"sprites-98f0a83494b549cfc82f881e06478195812f86fb4100b3291de03df9a5761749.bmp.lzma", "spritetype":3, - "firstspriteid":239861, - "lastspriteid":239896, + "firstspriteid":240118, + "lastspriteid":240153, "area":0 }, { "type":"sprite", "file":"sprites-e9a2ff618c7b155ecd64ef335b04820bcb868f74d63902029a23a1eecde5ce22.bmp.lzma", "spritetype":3, - "firstspriteid":239897, - "lastspriteid":239932, + "firstspriteid":240154, + "lastspriteid":240189, "area":0 }, { "type":"sprite", "file":"sprites-221e1ef6da65f8eccd2e9f56c7fe7f3434469d331a53b7bba7fc077eee3e47d5.bmp.lzma", "spritetype":3, - "firstspriteid":239933, - "lastspriteid":239968, + "firstspriteid":240190, + "lastspriteid":240225, "area":0 }, { "type":"sprite", "file":"sprites-2f302469bca131c5deb783b42c65908d5f01effbdf7e9ba5baef9ed1586d88ba.bmp.lzma", "spritetype":3, - "firstspriteid":239969, - "lastspriteid":240004, + "firstspriteid":240226, + "lastspriteid":240261, "area":0 }, { "type":"sprite", "file":"sprites-d6d9383d4e4102ce693140dc5b270faf6de32dfc6f9aca8d13c41a0862c30f5f.bmp.lzma", "spritetype":3, - "firstspriteid":240005, - "lastspriteid":240040, + "firstspriteid":240262, + "lastspriteid":240297, "area":0 }, { "type":"sprite", "file":"sprites-3367a3f9ace92f223915bac5307eac91851903750998eb5473fae21fae3deb7b.bmp.lzma", "spritetype":3, - "firstspriteid":240041, - "lastspriteid":240076, + "firstspriteid":240298, + "lastspriteid":240333, "area":0 }, { "type":"sprite", "file":"sprites-84b0b66f3fb6d0cf0b962aa225d1ee6befe4fc8a0f520ad2b3fe846e93835440.bmp.lzma", "spritetype":3, - "firstspriteid":240077, - "lastspriteid":240112, + "firstspriteid":240334, + "lastspriteid":240369, "area":0 }, { "type":"sprite", "file":"sprites-0b8bd096d84e4027a6fc00aebfa9c05484e8bd317f6a74549156ae2280b544e4.bmp.lzma", "spritetype":3, - "firstspriteid":240113, - "lastspriteid":240148, + "firstspriteid":240370, + "lastspriteid":240405, "area":0 }, { "type":"sprite", "file":"sprites-60105bcbaf0927867e91b5302161ab96f02e6ac859b483dad0163bd19accadb9.bmp.lzma", "spritetype":3, - "firstspriteid":240149, - "lastspriteid":240184, + "firstspriteid":240406, + "lastspriteid":240441, "area":0 }, { "type":"sprite", "file":"sprites-9717b9f392966ed0cf66f628ec498478d169f544cdd88707486441b0052c192e.bmp.lzma", "spritetype":3, - "firstspriteid":240185, - "lastspriteid":240220, + "firstspriteid":240442, + "lastspriteid":240477, "area":0 }, { "type":"sprite", "file":"sprites-42f178c4ee4dcc78560056bf3ce2a3d16d51e837a9aef58e3b454153bbdd4c4b.bmp.lzma", "spritetype":3, - "firstspriteid":240221, - "lastspriteid":240256, + "firstspriteid":240478, + "lastspriteid":240513, "area":0 }, { "type":"sprite", "file":"sprites-d148d55c6e7acc5b6567da893d92d9641af2bd3b25964c452aa8f92d49ad46ac.bmp.lzma", "spritetype":3, - "firstspriteid":240257, - "lastspriteid":240292, + "firstspriteid":240514, + "lastspriteid":240549, "area":0 }, { "type":"sprite", "file":"sprites-517fafddb5fb6f4d2d477477fab73f8db8ace13ddc596a957bdb58f193a803e9.bmp.lzma", "spritetype":3, - "firstspriteid":240293, - "lastspriteid":240328, + "firstspriteid":240550, + "lastspriteid":240585, "area":0 }, { "type":"sprite", "file":"sprites-3c0c2b609128ed034f61174eaf82c1e86f1a9f9fd353218291e9c5545488818a.bmp.lzma", "spritetype":3, - "firstspriteid":240329, - "lastspriteid":240364, + "firstspriteid":240586, + "lastspriteid":240621, "area":0 }, { "type":"sprite", "file":"sprites-de09ad69b8e7c7c2b2e74be3a89fa4ac7d1bb89668cac77d4cfff85ffa0fb53d.bmp.lzma", "spritetype":3, - "firstspriteid":240365, - "lastspriteid":240400, + "firstspriteid":240622, + "lastspriteid":240657, "area":0 }, { "type":"sprite", "file":"sprites-8abe4526b53f9a53b06f63fe87498b3ab505564bd6f9d2dcd87ba0629158b2f4.bmp.lzma", "spritetype":3, - "firstspriteid":240401, - "lastspriteid":240436, + "firstspriteid":240658, + "lastspriteid":240693, "area":0 }, { "type":"sprite", "file":"sprites-3f823eff1ba424354768efa03616f89742f2f8a6f59cf8ee2f9d5d69f55293b7.bmp.lzma", "spritetype":3, - "firstspriteid":240437, - "lastspriteid":240472, + "firstspriteid":240694, + "lastspriteid":240729, "area":0 }, { "type":"sprite", "file":"sprites-8cca62bb58f40cd01d8a3692984f72839f068064f158f3b5ab491c9956c45772.bmp.lzma", "spritetype":3, - "firstspriteid":240473, - "lastspriteid":240508, + "firstspriteid":240730, + "lastspriteid":240765, "area":0 }, { "type":"sprite", "file":"sprites-5c833df7c987f792f33fe48ab7ccc927562769af91dd5d76279e25031c038c59.bmp.lzma", "spritetype":3, - "firstspriteid":240509, - "lastspriteid":240544, + "firstspriteid":240766, + "lastspriteid":240801, "area":0 }, { "type":"sprite", "file":"sprites-1085b1031ff72e050bf86a87120311757caef65b1aab0745f61d8e9cd75bfe4e.bmp.lzma", "spritetype":3, - "firstspriteid":240545, - "lastspriteid":240580, + "firstspriteid":240802, + "lastspriteid":240837, "area":0 }, { "type":"sprite", "file":"sprites-9fa93ae1871a56f9db73c66abc3756aae7c11df54982e786302659125aed1a5e.bmp.lzma", "spritetype":3, - "firstspriteid":240581, - "lastspriteid":240616, + "firstspriteid":240838, + "lastspriteid":240873, "area":0 }, { "type":"sprite", "file":"sprites-c188f2566c5496cafa3ad6ce00fad7879d0eeb327771d774f7ab2981d71a2ddb.bmp.lzma", "spritetype":3, - "firstspriteid":240617, - "lastspriteid":240652, + "firstspriteid":240874, + "lastspriteid":240909, "area":0 }, { "type":"sprite", "file":"sprites-287a0645f6363c2cfd55c2c9de98f51ecb08843d74446fedf4241e1512936e2a.bmp.lzma", "spritetype":3, - "firstspriteid":240653, - "lastspriteid":240688, + "firstspriteid":240910, + "lastspriteid":240945, "area":0 }, { "type":"sprite", "file":"sprites-aaf3dccd193839f6248892ff9d5ef31990b907fd348a9196ddf332bfe01cd823.bmp.lzma", "spritetype":3, - "firstspriteid":240689, - "lastspriteid":240724, + "firstspriteid":240946, + "lastspriteid":240981, "area":0 }, { "type":"sprite", "file":"sprites-a670d8cc39f85c2234ee7638c40e8c941442d729e78a7e634390debb99c4dec7.bmp.lzma", "spritetype":3, - "firstspriteid":240725, - "lastspriteid":240760, + "firstspriteid":240982, + "lastspriteid":241017, "area":0 }, { "type":"sprite", "file":"sprites-02ae14922037f3b986aafa36408e9161ee6815c637577b9dfea450ebcc859ae5.bmp.lzma", "spritetype":3, - "firstspriteid":240761, - "lastspriteid":240796, + "firstspriteid":241018, + "lastspriteid":241053, "area":0 }, { "type":"sprite", "file":"sprites-6f3e8eb5410fdce804a9b4189a8824c26890ace8b7b2624548bb845801beac11.bmp.lzma", "spritetype":3, - "firstspriteid":240797, - "lastspriteid":240832, + "firstspriteid":241054, + "lastspriteid":241089, "area":0 }, { "type":"sprite", "file":"sprites-0bf6d7cf8bbf56f5212b6786f4ad5af7a48674b37ff630eaf603975530c7c5d3.bmp.lzma", "spritetype":3, - "firstspriteid":240833, - "lastspriteid":240868, + "firstspriteid":241090, + "lastspriteid":241125, "area":0 }, { "type":"sprite", "file":"sprites-03d4683b07e595ade5705ca1b60eb52744edd0694e211e3fa19dc2b212139c88.bmp.lzma", "spritetype":3, - "firstspriteid":240869, - "lastspriteid":240904, + "firstspriteid":241126, + "lastspriteid":241161, "area":0 }, { "type":"sprite", "file":"sprites-e28715a8e8416f5888c0a01992b118b413ad19110943c3df9b506dbe0cfa8dc4.bmp.lzma", "spritetype":3, - "firstspriteid":240905, - "lastspriteid":240940, + "firstspriteid":241162, + "lastspriteid":241197, "area":0 }, { "type":"sprite", "file":"sprites-8b708b1c55458af220025e6f39df5df7d16fbbc313783653f728673191a144e3.bmp.lzma", "spritetype":3, - "firstspriteid":240941, - "lastspriteid":240976, + "firstspriteid":241198, + "lastspriteid":241233, "area":0 }, { "type":"sprite", "file":"sprites-fff2dc8a49e9ec78472f1bae4b721536de64ada9a82646b74e745804a6a631bc.bmp.lzma", "spritetype":3, - "firstspriteid":240977, - "lastspriteid":241012, + "firstspriteid":241234, + "lastspriteid":241269, "area":0 }, { "type":"sprite", "file":"sprites-8604421db07b7c5f281ae29cc1454a588b7c5300e0f9c1c41f4b2209f9205ade.bmp.lzma", "spritetype":3, - "firstspriteid":241013, - "lastspriteid":241048, + "firstspriteid":241270, + "lastspriteid":241305, "area":0 }, { "type":"sprite", "file":"sprites-74838204bfb64f881408bd46ea2f328cc3a8fb94506f9218e61fadd00f6aa67a.bmp.lzma", "spritetype":3, - "firstspriteid":241049, - "lastspriteid":241084, + "firstspriteid":241306, + "lastspriteid":241341, "area":0 }, { "type":"sprite", "file":"sprites-a8738f5332e59991c6772cf686820b1b7676bc6c78b38144b41c89d3acc61590.bmp.lzma", "spritetype":3, - "firstspriteid":241085, - "lastspriteid":241120, + "firstspriteid":241342, + "lastspriteid":241377, "area":0 }, { "type":"sprite", "file":"sprites-83b2acde24e48968f6f1aa231f6db9fc1470a932fdf37e6beffa5eb596ed329e.bmp.lzma", "spritetype":3, - "firstspriteid":241121, - "lastspriteid":241156, + "firstspriteid":241378, + "lastspriteid":241413, "area":0 }, { "type":"sprite", "file":"sprites-0405a2c809f9fdb653ea9932d5a5b64340d3e3668d5506c13258a251081de658.bmp.lzma", "spritetype":3, - "firstspriteid":241157, - "lastspriteid":241192, + "firstspriteid":241414, + "lastspriteid":241449, "area":0 }, { "type":"sprite", "file":"sprites-6693ef96c048e03770e5731e99b69a7343759aa57262429a90c5d67270c953f7.bmp.lzma", "spritetype":3, - "firstspriteid":241193, - "lastspriteid":241228, + "firstspriteid":241450, + "lastspriteid":241485, "area":0 }, { "type":"sprite", "file":"sprites-2c9ce926d3923825e0f6c549eb9e8e07b25912d4b00a9ee6120bd39889f79bda.bmp.lzma", "spritetype":3, - "firstspriteid":241229, - "lastspriteid":241264, + "firstspriteid":241486, + "lastspriteid":241521, "area":0 }, { "type":"sprite", "file":"sprites-2f96f0828b8ebbbeeb828b8847ad2d2ef4b839be9cd266093bf343e7f9c91651.bmp.lzma", "spritetype":3, - "firstspriteid":241265, - "lastspriteid":241300, + "firstspriteid":241522, + "lastspriteid":241557, "area":0 }, { "type":"sprite", "file":"sprites-af07f43a8ff4a85b05861d808c9f3a5cdfc2e14c6cca4e0e97c539933cdbda0a.bmp.lzma", "spritetype":3, - "firstspriteid":241301, - "lastspriteid":241336, + "firstspriteid":241558, + "lastspriteid":241593, "area":0 }, { "type":"sprite", "file":"sprites-bb2968b9c6aa23ac0036b69a980d60a09e0830c1bbf3e5a35988a80a26435017.bmp.lzma", "spritetype":3, - "firstspriteid":241337, - "lastspriteid":241372, + "firstspriteid":241594, + "lastspriteid":241629, "area":0 }, { "type":"sprite", "file":"sprites-3b0e4901f4698b4e8849a3d33fc857addd9a105419bd9cfd5d1e38910446d831.bmp.lzma", "spritetype":3, - "firstspriteid":241373, - "lastspriteid":241408, + "firstspriteid":241630, + "lastspriteid":241665, "area":0 }, { "type":"sprite", "file":"sprites-f1ededa8f5176f05f96165ca59588d1f00d6ea726b1851a46c1467e2ad573dbe.bmp.lzma", "spritetype":3, - "firstspriteid":241409, - "lastspriteid":241444, + "firstspriteid":241666, + "lastspriteid":241701, "area":0 }, { "type":"sprite", "file":"sprites-68f24770b7483686138b49f61e49fcc7f65ebb370dc0f32f5cac567b8310db7f.bmp.lzma", "spritetype":3, - "firstspriteid":241445, - "lastspriteid":241480, + "firstspriteid":241702, + "lastspriteid":241737, "area":0 }, { "type":"sprite", "file":"sprites-9eb00d1445b5fa5e152eba2d4585f40dd9cd6fae9696352e7cbd6b5262eb9d15.bmp.lzma", "spritetype":3, - "firstspriteid":241481, - "lastspriteid":241516, + "firstspriteid":241738, + "lastspriteid":241773, "area":0 }, { "type":"sprite", "file":"sprites-8db0f1b76dcfbf2f8876507cd6953eb0429ace287b86f16397e3c7cd0f2b7084.bmp.lzma", "spritetype":3, - "firstspriteid":241517, - "lastspriteid":241552, + "firstspriteid":241774, + "lastspriteid":241809, "area":0 }, { "type":"sprite", "file":"sprites-2b4baad38098af8c69d775462c02fd2df4543617213680afb539ad740eba8c90.bmp.lzma", "spritetype":3, - "firstspriteid":241553, - "lastspriteid":241588, + "firstspriteid":241810, + "lastspriteid":241845, "area":0 }, { "type":"sprite", "file":"sprites-9fdd19463e0b7b95a8431f38bd0527cb83610424fd5b7ffa2a82300d35c4ed82.bmp.lzma", "spritetype":3, - "firstspriteid":241589, - "lastspriteid":241624, + "firstspriteid":241846, + "lastspriteid":241881, "area":0 }, { "type":"sprite", "file":"sprites-bd5403b5eb39c6454b2ff8cab644fd7f260cfe947c4c67349adf321d82095b33.bmp.lzma", "spritetype":3, - "firstspriteid":241625, - "lastspriteid":241660, + "firstspriteid":241882, + "lastspriteid":241917, "area":0 }, { "type":"sprite", "file":"sprites-173763924b144a265d5ad93ed9644761c5d492907ac7b119be3b14375ed5ace8.bmp.lzma", "spritetype":3, - "firstspriteid":241661, - "lastspriteid":241696, + "firstspriteid":241918, + "lastspriteid":241953, "area":0 }, { "type":"sprite", "file":"sprites-b78a20070aec86b7e4ac544eddf1209cf3f3b434bdf8bd7b13a7a26a63d1a8d4.bmp.lzma", "spritetype":3, - "firstspriteid":241697, - "lastspriteid":241732, + "firstspriteid":241954, + "lastspriteid":241989, "area":0 }, { "type":"sprite", "file":"sprites-3ed292aeb31c467db44b9087d9ab24ceec83f42f17d5ffd63d65ea8b97255edb.bmp.lzma", "spritetype":3, - "firstspriteid":241733, - "lastspriteid":241768, + "firstspriteid":241990, + "lastspriteid":242025, "area":0 }, { "type":"sprite", "file":"sprites-c82a07c4079afb4c5d36cd3035d60a30d18a3f6c204ddeb4a25632cc05d68785.bmp.lzma", "spritetype":3, - "firstspriteid":241769, - "lastspriteid":241804, + "firstspriteid":242026, + "lastspriteid":242061, "area":0 }, { "type":"sprite", "file":"sprites-a5da368c5276b48b85e16f7267dc18e304f83c05fe8eba22aa6a3b38b765d952.bmp.lzma", "spritetype":3, - "firstspriteid":241805, - "lastspriteid":241840, + "firstspriteid":242062, + "lastspriteid":242097, "area":0 }, { "type":"sprite", "file":"sprites-bb3c8ea983876102e3d2de6fb90284e2a1eee60e9ada9ff7d0c8e107d69ade8b.bmp.lzma", "spritetype":3, - "firstspriteid":241841, - "lastspriteid":241876, + "firstspriteid":242098, + "lastspriteid":242133, "area":0 }, { "type":"sprite", "file":"sprites-1c7f7c66bc377ca3e74b3828c513b1a58c0e5526f106e6173371dd1730336ee8.bmp.lzma", "spritetype":3, - "firstspriteid":241877, - "lastspriteid":241912, + "firstspriteid":242134, + "lastspriteid":242169, "area":0 }, { "type":"sprite", "file":"sprites-902ba63a72ff9705de431ddf5e741e1b0accf344003059fee23638d579704ad7.bmp.lzma", "spritetype":3, - "firstspriteid":241913, - "lastspriteid":241948, + "firstspriteid":242170, + "lastspriteid":242205, "area":0 }, { "type":"sprite", "file":"sprites-59d48a65705eab45b3764a958aefcfb70e88e4fa6f5bcff223a02c51e526bad7.bmp.lzma", "spritetype":3, - "firstspriteid":241949, - "lastspriteid":241984, + "firstspriteid":242206, + "lastspriteid":242241, "area":0 }, { "type":"sprite", "file":"sprites-535057ddf520103acb3c3ff0ccdbfc00c87284f59d2da315447c609250f78b7e.bmp.lzma", "spritetype":3, - "firstspriteid":241985, - "lastspriteid":242020, + "firstspriteid":242242, + "lastspriteid":242277, "area":0 }, { "type":"sprite", "file":"sprites-c9535a9e11f3c691d32272e34495198939ffe706e7cc008f67c7413a686c52a5.bmp.lzma", "spritetype":3, - "firstspriteid":242021, - "lastspriteid":242056, + "firstspriteid":242278, + "lastspriteid":242313, "area":0 }, { "type":"sprite", "file":"sprites-317eb9d4dbc075c7a34cc4f0925991c441bce790e22f36c2ddbbaf10617b5c63.bmp.lzma", "spritetype":3, - "firstspriteid":242057, - "lastspriteid":242092, + "firstspriteid":242314, + "lastspriteid":242349, "area":0 }, { "type":"sprite", "file":"sprites-d89928e8b8121d3f52728806c0588923773bbc8172d1ea6d6b3466413667af9a.bmp.lzma", "spritetype":3, - "firstspriteid":242093, - "lastspriteid":242128, + "firstspriteid":242350, + "lastspriteid":242385, "area":0 }, { "type":"sprite", "file":"sprites-1beb590530f1326db0b03c369b863aaf3eff8bc4d47d5eaf9266e2e24e52d742.bmp.lzma", "spritetype":3, - "firstspriteid":242129, - "lastspriteid":242164, + "firstspriteid":242386, + "lastspriteid":242421, "area":0 }, { "type":"sprite", "file":"sprites-7ad4a9dc424f91c7b227ccce6fd205b00f8cdf2d8531462bb7d256dad4cc23e5.bmp.lzma", "spritetype":3, - "firstspriteid":242165, - "lastspriteid":242200, + "firstspriteid":242422, + "lastspriteid":242457, "area":0 }, { "type":"sprite", "file":"sprites-535be1bf6a516fcf6654cc00bf2131f3c4779e5e24711eac9b4172b5f386be43.bmp.lzma", "spritetype":3, - "firstspriteid":242201, - "lastspriteid":242236, + "firstspriteid":242458, + "lastspriteid":242493, "area":0 }, { "type":"sprite", "file":"sprites-2e65c4d8a4d700c3837a3ad0f671ebd722623aa202d2a36475b625e1d3230fe6.bmp.lzma", "spritetype":3, - "firstspriteid":242237, - "lastspriteid":242272, + "firstspriteid":242494, + "lastspriteid":242529, "area":0 }, { "type":"sprite", "file":"sprites-6b381238afbad0a8e02b6bcaecb58e881120aec7de5c99ee79c70dbe9d03384d.bmp.lzma", "spritetype":3, - "firstspriteid":242273, - "lastspriteid":242308, + "firstspriteid":242530, + "lastspriteid":242565, "area":0 }, { "type":"sprite", "file":"sprites-02dfa7edbb598d1d3c51f237f40429b5eea67b96b57a9f0b960d230e80b53bb7.bmp.lzma", "spritetype":3, - "firstspriteid":242309, - "lastspriteid":242344, + "firstspriteid":242566, + "lastspriteid":242601, "area":0 }, { "type":"sprite", "file":"sprites-c50c590e65af1471b3488528b0651d0223a6ddca7debca80d06bf007f2270d87.bmp.lzma", "spritetype":3, - "firstspriteid":242345, - "lastspriteid":242380, + "firstspriteid":242602, + "lastspriteid":242637, "area":0 }, { "type":"sprite", "file":"sprites-b8702c25ee58c411f59c991157f00576134f6b20f5258c075b0a7dc69ac3b8e3.bmp.lzma", "spritetype":3, - "firstspriteid":242381, - "lastspriteid":242416, + "firstspriteid":242638, + "lastspriteid":242673, "area":0 }, { "type":"sprite", "file":"sprites-ea886240d72c9dea4d9264c29449bb5cd676adfd3628fbff1f16c930cfa69df2.bmp.lzma", "spritetype":3, - "firstspriteid":242417, - "lastspriteid":242452, + "firstspriteid":242674, + "lastspriteid":242709, "area":0 }, { "type":"sprite", "file":"sprites-e4dcb7d756e83462f56dae1d7b873a3d4fbb80634a6a174d0cc353203b58199b.bmp.lzma", "spritetype":3, - "firstspriteid":242453, - "lastspriteid":242488, + "firstspriteid":242710, + "lastspriteid":242745, "area":0 }, { "type":"sprite", "file":"sprites-85d4cbcc5d58aa19b45f59213723c64a9125aa4201a88ad6a1303f8fcee7d6be.bmp.lzma", "spritetype":3, - "firstspriteid":242489, - "lastspriteid":242524, + "firstspriteid":242746, + "lastspriteid":242781, "area":0 }, { "type":"sprite", "file":"sprites-bf95526ccaa4b226ca6b2a393193df4cfc9ce92dfc812daacc9e9573e56f5947.bmp.lzma", "spritetype":3, - "firstspriteid":242525, - "lastspriteid":242560, + "firstspriteid":242782, + "lastspriteid":242817, "area":0 }, { "type":"sprite", "file":"sprites-fd73ddb646c303649ee55b5f865358e4de2e1584a295bb237a1c54e700dcfaa7.bmp.lzma", "spritetype":3, - "firstspriteid":242561, - "lastspriteid":242596, + "firstspriteid":242818, + "lastspriteid":242853, "area":0 }, { "type":"sprite", "file":"sprites-55374ad8ac651d892ac97836e60cfbd55e680a0ed95f0cdccb47990ba6a29bc4.bmp.lzma", "spritetype":3, - "firstspriteid":242597, - "lastspriteid":242632, + "firstspriteid":242854, + "lastspriteid":242889, "area":0 }, { "type":"sprite", "file":"sprites-3cb016e49da05adc26d643df0681f61f2bcecad00813cff537aef0f33c6706cc.bmp.lzma", "spritetype":3, - "firstspriteid":242633, - "lastspriteid":242668, + "firstspriteid":242890, + "lastspriteid":242925, "area":0 }, { "type":"sprite", "file":"sprites-f3019e7cf89b9a6afcb5b1d29ee41caf6c5fb7d472178ea96685641423cbf225.bmp.lzma", "spritetype":3, - "firstspriteid":242669, - "lastspriteid":242704, + "firstspriteid":242926, + "lastspriteid":242961, "area":0 }, { "type":"sprite", "file":"sprites-feeec086ca0c956957c8e3102f4c1f70bfd0f8ddb23d529e68a9de76c88b19ac.bmp.lzma", "spritetype":3, - "firstspriteid":242705, - "lastspriteid":242740, + "firstspriteid":242962, + "lastspriteid":242997, "area":0 }, { "type":"sprite", "file":"sprites-db027055da04c6ddfdf1eea91ccbe912e720ea025c640922edc163e4d1fd0e95.bmp.lzma", "spritetype":3, - "firstspriteid":242741, - "lastspriteid":242776, + "firstspriteid":242998, + "lastspriteid":243033, "area":0 }, { "type":"sprite", "file":"sprites-311d8022d22d45844ad5d9f1a5b379b923291b571de4e1c19b717b0b65d0d698.bmp.lzma", "spritetype":3, - "firstspriteid":242777, - "lastspriteid":242812, + "firstspriteid":243034, + "lastspriteid":243069, "area":0 }, { "type":"sprite", "file":"sprites-4dcfd8b18b525e7dcf73f3eeec064f1cd066e8feac781a0170c2269466740707.bmp.lzma", "spritetype":3, - "firstspriteid":242813, - "lastspriteid":242848, + "firstspriteid":243070, + "lastspriteid":243105, "area":0 }, { "type":"sprite", "file":"sprites-5a323927d52baaadcde762d44aa1a726e4688e3fc56532dbbe7761befa704c60.bmp.lzma", "spritetype":3, - "firstspriteid":242849, - "lastspriteid":242884, + "firstspriteid":243106, + "lastspriteid":243141, "area":0 }, { "type":"sprite", "file":"sprites-a7140da9f8f7a7dbc9f43c3ed4b1a76bbe0cd36ac74710fab75b67939c443173.bmp.lzma", "spritetype":3, - "firstspriteid":242885, - "lastspriteid":242920, + "firstspriteid":243142, + "lastspriteid":243177, "area":0 }, { "type":"sprite", "file":"sprites-23ef324cf196de719ee7b57e69e13fe95ff72428b8564b9494eb2c8e2f66ff9e.bmp.lzma", "spritetype":3, - "firstspriteid":242921, - "lastspriteid":242956, + "firstspriteid":243178, + "lastspriteid":243213, "area":0 }, { "type":"sprite", "file":"sprites-d5a13c962e3d25edcbfb47c159db23db43f46474af4111fe571a076bbd49f1ae.bmp.lzma", "spritetype":3, - "firstspriteid":242957, - "lastspriteid":242992, + "firstspriteid":243214, + "lastspriteid":243249, "area":0 }, { "type":"sprite", "file":"sprites-80e02844806e8ea99b8aa3d582b7e5a6bc4fb03d02c8b2d35787fcb10503b183.bmp.lzma", "spritetype":3, - "firstspriteid":242993, - "lastspriteid":243028, + "firstspriteid":243250, + "lastspriteid":243285, "area":0 }, { "type":"sprite", "file":"sprites-f78e433ce27b12150cb8b163c05da9d36a4168ddfdc30a97bc4f687e1be28baf.bmp.lzma", "spritetype":3, - "firstspriteid":243029, - "lastspriteid":243064, + "firstspriteid":243286, + "lastspriteid":243321, "area":0 }, { "type":"sprite", "file":"sprites-af9251388ef4e0ddf576f50b425888276a9a967b7d42146aa2b6cb32848e4621.bmp.lzma", "spritetype":3, - "firstspriteid":243065, - "lastspriteid":243100, + "firstspriteid":243322, + "lastspriteid":243357, "area":0 }, { "type":"sprite", "file":"sprites-1f8dc0e4f03538fb182846c48a5e28ab97c9de6e3e96285a06a1345a5d94ab8e.bmp.lzma", "spritetype":3, - "firstspriteid":243101, - "lastspriteid":243136, + "firstspriteid":243358, + "lastspriteid":243393, "area":0 }, { "type":"sprite", "file":"sprites-e1bc16e5752fe5f72625b9fe40df40416098f0022b40dccef69d57b638d1fdd5.bmp.lzma", "spritetype":3, - "firstspriteid":243137, - "lastspriteid":243172, + "firstspriteid":243394, + "lastspriteid":243429, "area":0 }, { "type":"sprite", "file":"sprites-b822d29959e6079dc434497749dac1a10f8c82e925591099a5d5e26d56be59eb.bmp.lzma", "spritetype":3, - "firstspriteid":243173, - "lastspriteid":243208, + "firstspriteid":243430, + "lastspriteid":243465, "area":0 }, { "type":"sprite", "file":"sprites-ebe98df56e8bef12930781353bd02051ae43c38f908da9ef4944d2ca64951bd0.bmp.lzma", "spritetype":3, - "firstspriteid":243209, - "lastspriteid":243244, + "firstspriteid":243466, + "lastspriteid":243501, "area":0 }, { "type":"sprite", "file":"sprites-036e98a81e44eba9de01bf44e84c97aaf0a8bd0087500b2fc562b5dcd1147b5b.bmp.lzma", "spritetype":3, - "firstspriteid":243245, - "lastspriteid":243280, + "firstspriteid":243502, + "lastspriteid":243537, "area":0 }, { "type":"sprite", "file":"sprites-2d1afea41d87442a355cef13caa4c9c382692a4304af9dfd78d4d86ad54d1350.bmp.lzma", "spritetype":3, - "firstspriteid":243281, - "lastspriteid":243316, + "firstspriteid":243538, + "lastspriteid":243573, "area":0 }, { "type":"sprite", "file":"sprites-766b99abab6927e685dfa1b4e39f2a2153d4c6587e70f2aac364fe6c71a72163.bmp.lzma", "spritetype":3, - "firstspriteid":243317, - "lastspriteid":243352, + "firstspriteid":243574, + "lastspriteid":243609, "area":0 }, { "type":"sprite", "file":"sprites-141094041c0d7543f354fea124eef98c13947adc9d960403461c64645a67db43.bmp.lzma", "spritetype":3, - "firstspriteid":243353, - "lastspriteid":243388, + "firstspriteid":243610, + "lastspriteid":243645, "area":0 }, { "type":"sprite", "file":"sprites-c192465f48490d4c9180167b29906af430961b7f202dca51b65f4c2a80dbe875.bmp.lzma", "spritetype":3, - "firstspriteid":243389, - "lastspriteid":243424, + "firstspriteid":243646, + "lastspriteid":243681, "area":0 }, { "type":"sprite", "file":"sprites-0acd4e8b6f2b3fdd49c977f17e7149cf57dda5d4a5ca88fc0f07afdc5de3b406.bmp.lzma", "spritetype":3, - "firstspriteid":243425, - "lastspriteid":243460, + "firstspriteid":243682, + "lastspriteid":243717, "area":0 }, { "type":"sprite", "file":"sprites-27c1225795f5448aaf9f4a6917839f04934c2b7cf03262d371c346823d2f7639.bmp.lzma", "spritetype":3, - "firstspriteid":243461, - "lastspriteid":243496, + "firstspriteid":243718, + "lastspriteid":243753, "area":0 }, { "type":"sprite", "file":"sprites-c4634d6c0244ba4c0caa376fd70a9c25a73c93e4a63ae544d031da4fff73240c.bmp.lzma", "spritetype":3, - "firstspriteid":243497, - "lastspriteid":243532, + "firstspriteid":243754, + "lastspriteid":243789, "area":0 }, { "type":"sprite", "file":"sprites-8ab7b933dc364216c7688bfa4d55d8f2e7b0be2ee1690052b98e7704761b795f.bmp.lzma", "spritetype":3, - "firstspriteid":243533, - "lastspriteid":243568, + "firstspriteid":243790, + "lastspriteid":243825, "area":0 }, { "type":"sprite", "file":"sprites-e023b2ae55464d82bddcee63d33b235c1a89e7e10ac3d5f6326f8f31c970578a.bmp.lzma", "spritetype":3, - "firstspriteid":243569, - "lastspriteid":243604, + "firstspriteid":243826, + "lastspriteid":243861, "area":0 }, { "type":"sprite", "file":"sprites-f429242706ba744c92c13cabe2a027d70e20236077484730e2eafbb405957e5e.bmp.lzma", "spritetype":3, - "firstspriteid":243605, - "lastspriteid":243640, + "firstspriteid":243862, + "lastspriteid":243897, "area":0 }, { "type":"sprite", "file":"sprites-07bff3a6c592919093423e1c7e7c1250899af47380ae804bc03b1963b3ae82fa.bmp.lzma", "spritetype":3, - "firstspriteid":243641, - "lastspriteid":243676, + "firstspriteid":243898, + "lastspriteid":243933, "area":0 }, { "type":"sprite", "file":"sprites-32dde00d629a15633d1d58dde27ecfd02eb0e45ad4e8fb71a5a77acce1beacf2.bmp.lzma", "spritetype":3, - "firstspriteid":243677, - "lastspriteid":243712, + "firstspriteid":243934, + "lastspriteid":243969, "area":0 }, { "type":"sprite", "file":"sprites-e4649e467b17ed9a392e9bdf1f005261691d6c688447dde974450de868db9049.bmp.lzma", "spritetype":3, - "firstspriteid":243713, - "lastspriteid":243748, + "firstspriteid":243970, + "lastspriteid":244005, "area":0 }, { "type":"sprite", "file":"sprites-89805ea59c1cfda492e7dc1d5a7bca7a9346d8ae26bf52fdb0ec2d300aed1748.bmp.lzma", "spritetype":3, - "firstspriteid":243749, - "lastspriteid":243784, + "firstspriteid":244006, + "lastspriteid":244041, "area":0 }, { "type":"sprite", "file":"sprites-c17307bf08a4eb1d7e24ffccf42f24497ecfb1ba295a3304803c3c2844b79f57.bmp.lzma", "spritetype":3, - "firstspriteid":243785, - "lastspriteid":243820, + "firstspriteid":244042, + "lastspriteid":244077, "area":0 }, { "type":"sprite", "file":"sprites-3fc360df004daaffdf2344d6dbab16b9fd45731e0c7e2223584e0ae378921b02.bmp.lzma", "spritetype":3, - "firstspriteid":243821, - "lastspriteid":243856, + "firstspriteid":244078, + "lastspriteid":244113, "area":0 }, { "type":"sprite", "file":"sprites-070300bf78a094755ee9d6d973b668bd60a15688cce3fe6854e54fb85b17fdde.bmp.lzma", "spritetype":3, - "firstspriteid":243857, - "lastspriteid":243892, + "firstspriteid":244114, + "lastspriteid":244149, "area":0 }, { "type":"sprite", "file":"sprites-216cc3d49c7bcd2cada004d1bc63ee26761dc633118f746e9690e0693aab0fdd.bmp.lzma", "spritetype":3, - "firstspriteid":243893, - "lastspriteid":243928, + "firstspriteid":244150, + "lastspriteid":244185, "area":0 }, { "type":"sprite", "file":"sprites-d3def2c84dc1319b9f56e03011c4a2c6a073b6f3e36d43c2056c37e563c33a68.bmp.lzma", "spritetype":3, - "firstspriteid":243929, - "lastspriteid":243964, + "firstspriteid":244186, + "lastspriteid":244221, "area":0 }, { "type":"sprite", "file":"sprites-91f1d30227627dc2104282249af75b778fb9e60693afd3f19c51ca9018fb8cc3.bmp.lzma", "spritetype":3, - "firstspriteid":243965, - "lastspriteid":244000, + "firstspriteid":244222, + "lastspriteid":244257, "area":0 }, { "type":"sprite", "file":"sprites-b5d26e9ad80eaf4f4aed886e907e944d5ed1cbfba3fe101204a4e7ee009d4ddb.bmp.lzma", "spritetype":3, - "firstspriteid":244001, - "lastspriteid":244036, + "firstspriteid":244258, + "lastspriteid":244293, "area":0 }, { "type":"sprite", "file":"sprites-b5c91897fd9120575fc3ecb1c4baae6fed2df67812b1e284db069f79bc4fb925.bmp.lzma", "spritetype":3, - "firstspriteid":244037, - "lastspriteid":244072, + "firstspriteid":244294, + "lastspriteid":244329, "area":0 }, { "type":"sprite", "file":"sprites-f4442aada002e6ba20c4b29ef0cfb7975eeeb0ed85a622034261bdd64db51b24.bmp.lzma", "spritetype":3, - "firstspriteid":244073, - "lastspriteid":244108, + "firstspriteid":244330, + "lastspriteid":244365, "area":0 }, { "type":"sprite", "file":"sprites-318e6f8697da56cc2482e02e88e588d5b7bf6ea7bf553f4b39d41da38f1af7b2.bmp.lzma", "spritetype":3, - "firstspriteid":244109, - "lastspriteid":244144, + "firstspriteid":244366, + "lastspriteid":244401, "area":0 }, { "type":"sprite", "file":"sprites-6cede9e7a1e524f237754ea8fb77b0e72038cc1c0afcc2054d5a3d1492c765b9.bmp.lzma", "spritetype":3, - "firstspriteid":244145, - "lastspriteid":244180, + "firstspriteid":244402, + "lastspriteid":244437, "area":0 }, { "type":"sprite", "file":"sprites-a524a3a431e70d26e88e9e88e43488d8c5f1d0d5ccba17ae8f5661c49e395249.bmp.lzma", "spritetype":3, - "firstspriteid":244181, - "lastspriteid":244216, + "firstspriteid":244438, + "lastspriteid":244473, "area":0 }, { "type":"sprite", "file":"sprites-6c527c35f94e8f0affb9b95a3dc53bd4c11b39249b67499663647287ba82c90f.bmp.lzma", "spritetype":3, - "firstspriteid":244217, - "lastspriteid":244252, + "firstspriteid":244474, + "lastspriteid":244509, "area":0 }, { "type":"sprite", "file":"sprites-c9fdc53ba171daf252237fada9a40f7eee0d94f165c55e88d3df5ebf4cbdae0e.bmp.lzma", "spritetype":3, - "firstspriteid":244253, - "lastspriteid":244288, + "firstspriteid":244510, + "lastspriteid":244545, "area":0 }, { "type":"sprite", "file":"sprites-ede188257b025616ec00569df2dad2bb3e5e052f40a1e6a80ca978adce383e93.bmp.lzma", "spritetype":3, - "firstspriteid":244289, - "lastspriteid":244324, + "firstspriteid":244546, + "lastspriteid":244581, "area":0 }, { "type":"sprite", "file":"sprites-a3fffc02a185e09a3c76afa28de5e349c709046c5972feead4ce5d68b7fc6c41.bmp.lzma", "spritetype":3, - "firstspriteid":244325, - "lastspriteid":244360, + "firstspriteid":244582, + "lastspriteid":244617, "area":0 }, { "type":"sprite", "file":"sprites-12b80d2eee65b3433f4faea99c6b92e991839aef9c9b1296b7c50f00d6ca07ac.bmp.lzma", "spritetype":3, - "firstspriteid":244361, - "lastspriteid":244396, + "firstspriteid":244618, + "lastspriteid":244653, "area":0 }, { "type":"sprite", "file":"sprites-bcc6a790b67f0eb95510700073a8af4e0db313faf1a878a94297139521780215.bmp.lzma", "spritetype":3, - "firstspriteid":244397, - "lastspriteid":244432, + "firstspriteid":244654, + "lastspriteid":244689, "area":0 }, { "type":"sprite", "file":"sprites-086b16a0a92f06ab69af83c919b40dcfa05603a2d5a327055a01e7d93385f1c1.bmp.lzma", "spritetype":3, - "firstspriteid":244433, - "lastspriteid":244468, + "firstspriteid":244690, + "lastspriteid":244725, "area":0 }, { "type":"sprite", "file":"sprites-cb14d0ce100781fa02a759f0a351aed0addc863cbf502a1b4d901b1ccc864007.bmp.lzma", "spritetype":3, - "firstspriteid":244469, - "lastspriteid":244504, + "firstspriteid":244726, + "lastspriteid":244761, "area":0 }, { "type":"sprite", "file":"sprites-bc4654e3a48bc764df2b7af226b078adaf02a45cef2bfca0135c17737380e0cb.bmp.lzma", "spritetype":3, - "firstspriteid":244505, - "lastspriteid":244540, + "firstspriteid":244762, + "lastspriteid":244797, "area":0 }, { "type":"sprite", "file":"sprites-25814352f5763c085a0cb2ad01adab821c332409122acbf47d946668da7ae4b6.bmp.lzma", "spritetype":3, - "firstspriteid":244541, - "lastspriteid":244576, + "firstspriteid":244798, + "lastspriteid":244833, "area":0 }, { "type":"sprite", "file":"sprites-9a4e612863e26d34c163706c224cdb4c2c9477352e0e1763427d1d8891b49ebf.bmp.lzma", "spritetype":3, - "firstspriteid":244577, - "lastspriteid":244612, + "firstspriteid":244834, + "lastspriteid":244869, "area":0 }, { "type":"sprite", "file":"sprites-84e28f531909e41244e7b3faf36aefb49db34523c6a634f7f240c5fd9a1721d6.bmp.lzma", "spritetype":3, - "firstspriteid":244613, - "lastspriteid":244648, + "firstspriteid":244870, + "lastspriteid":244905, "area":0 }, { "type":"sprite", "file":"sprites-80d4de62e27ca663dea9ab5cde645f7fd60d367b2ada94dbf354704b0248511e.bmp.lzma", "spritetype":3, - "firstspriteid":244649, - "lastspriteid":244684, + "firstspriteid":244906, + "lastspriteid":244941, "area":0 }, { "type":"sprite", "file":"sprites-0f3abb2a16662098e5e8e6113aa9ecad750f18dfb96a8eb1f1ef60680a82f55b.bmp.lzma", "spritetype":3, - "firstspriteid":244685, - "lastspriteid":244720, + "firstspriteid":244942, + "lastspriteid":244977, "area":0 }, { "type":"sprite", "file":"sprites-b032dbbf2415b67794afee2c3d17abe44ac15a276b7da18e5fd1c6d336e7b376.bmp.lzma", "spritetype":3, - "firstspriteid":244721, - "lastspriteid":244756, + "firstspriteid":244978, + "lastspriteid":245013, "area":0 }, { "type":"sprite", "file":"sprites-a03b815056a4b4b2ec97377410d8dfe9471cc4ea2aa55a72bf93de0e3db30910.bmp.lzma", "spritetype":3, - "firstspriteid":244757, - "lastspriteid":244792, + "firstspriteid":245014, + "lastspriteid":245049, "area":0 }, { "type":"sprite", "file":"sprites-93996476d86386a4feb0caf52ebc7b53b9a6fd3f5eeb50e35d9e5cab74427fae.bmp.lzma", "spritetype":3, - "firstspriteid":244793, - "lastspriteid":244828, + "firstspriteid":245050, + "lastspriteid":245085, "area":0 }, { "type":"sprite", "file":"sprites-abc2f773ac8843f388b96152432930dac9aff4f8909b4eb15cdc78b68fa4982b.bmp.lzma", "spritetype":3, - "firstspriteid":244829, - "lastspriteid":244864, + "firstspriteid":245086, + "lastspriteid":245121, "area":0 }, { "type":"sprite", "file":"sprites-c6021f1ebdb0b6a90aeb90a1cbae142dc279a5db421449e55303c1ce77df6e84.bmp.lzma", "spritetype":3, - "firstspriteid":244865, - "lastspriteid":244900, + "firstspriteid":245122, + "lastspriteid":245157, "area":0 }, { "type":"sprite", "file":"sprites-3499496c9aac4bc72e8f0475a0dd29c289a62210f89ad61ad432ce61c0aa19f9.bmp.lzma", "spritetype":3, - "firstspriteid":244901, - "lastspriteid":244936, + "firstspriteid":245158, + "lastspriteid":245193, "area":0 }, { "type":"sprite", "file":"sprites-7c30bc19c67852fc6dfdf1f182f6d0bb3fc8d15d8e2381d38ff6bcdf72a5183a.bmp.lzma", "spritetype":3, - "firstspriteid":244937, - "lastspriteid":244972, + "firstspriteid":245194, + "lastspriteid":245229, "area":0 }, { "type":"sprite", "file":"sprites-a8c5e321ae8bed6fd756fc183994d5987d81735ba72edb5c738096fcfed434ff.bmp.lzma", "spritetype":3, - "firstspriteid":244973, - "lastspriteid":245008, + "firstspriteid":245230, + "lastspriteid":245265, "area":0 }, { "type":"sprite", "file":"sprites-65855725ed441e9dc017c89c5c5f7e3f5baff2bf8fa17b596e902278195b66d4.bmp.lzma", "spritetype":3, - "firstspriteid":245009, - "lastspriteid":245044, + "firstspriteid":245266, + "lastspriteid":245301, "area":0 }, { "type":"sprite", "file":"sprites-8c5d7b952493c37e871cadf908a6790f83463b2a953beb9a7e1f4d59c3d6f6a5.bmp.lzma", "spritetype":3, - "firstspriteid":245045, - "lastspriteid":245080, + "firstspriteid":245302, + "lastspriteid":245337, "area":0 }, { "type":"sprite", "file":"sprites-fab6529dac344e0abf9e1ec3a7e9a2aa479ca7d5b119b801e6f5a66ed151b1da.bmp.lzma", "spritetype":3, - "firstspriteid":245081, - "lastspriteid":245116, + "firstspriteid":245338, + "lastspriteid":245373, "area":0 }, { "type":"sprite", "file":"sprites-edee75ce467bbd1a51a9afea67fc56c73969d47d5cd2878ec96e92201e6b08c7.bmp.lzma", "spritetype":3, - "firstspriteid":245117, - "lastspriteid":245152, + "firstspriteid":245374, + "lastspriteid":245409, "area":0 }, { "type":"sprite", "file":"sprites-2c30f54727c7351ae8b2a272e184ea2d69c1ef67caa1047d5ed0176fdd7928ba.bmp.lzma", "spritetype":3, - "firstspriteid":245153, - "lastspriteid":245188, + "firstspriteid":245410, + "lastspriteid":245445, "area":0 }, { "type":"sprite", "file":"sprites-18e3c49566c227fd8839eb7db9cbea9147d0aeb196052b6db9535ff6ee13aef4.bmp.lzma", "spritetype":3, - "firstspriteid":245189, - "lastspriteid":245224, + "firstspriteid":245446, + "lastspriteid":245481, "area":0 }, { "type":"sprite", "file":"sprites-f2156ebdea2b141beb44726ecdb176ae2d9962e5273ca2e43b8c3398d7313728.bmp.lzma", "spritetype":3, - "firstspriteid":245225, - "lastspriteid":245260, + "firstspriteid":245482, + "lastspriteid":245517, "area":0 }, { "type":"sprite", "file":"sprites-18753c91e70385e820d2aa5df8e86f2aeb88169eabed6790a50a38945825f8f0.bmp.lzma", "spritetype":3, - "firstspriteid":245261, - "lastspriteid":245296, + "firstspriteid":245518, + "lastspriteid":245553, "area":0 }, { "type":"sprite", "file":"sprites-1b8ce4d26ec72c6d8fc6c4b4fa9bb38cea4bb0782066e69eb2dc5efda046a667.bmp.lzma", "spritetype":3, - "firstspriteid":245297, - "lastspriteid":245332, + "firstspriteid":245554, + "lastspriteid":245589, "area":0 }, { "type":"sprite", "file":"sprites-aff094a963ccdf0b50324a016ac7783b96499df365222756672b129cfe5390a1.bmp.lzma", "spritetype":3, - "firstspriteid":245333, - "lastspriteid":245368, + "firstspriteid":245590, + "lastspriteid":245625, "area":0 }, { "type":"sprite", "file":"sprites-031367567934d6363630c19695f47f4b0c39861273ff6e2a08f4eab46227d4c3.bmp.lzma", "spritetype":3, - "firstspriteid":245369, - "lastspriteid":245404, + "firstspriteid":245626, + "lastspriteid":245661, "area":0 }, { "type":"sprite", "file":"sprites-9c2c6876ecc2742c9f4820c04d8494c12aa543b985f69e6c9f0768bdf1eb6274.bmp.lzma", "spritetype":3, - "firstspriteid":245405, - "lastspriteid":245440, + "firstspriteid":245662, + "lastspriteid":245697, "area":0 }, { "type":"sprite", "file":"sprites-b39349c0dd518edac255a5d6e86f7a90b56352e16e65e9cd77ce4b7e4feae29e.bmp.lzma", "spritetype":3, - "firstspriteid":245441, - "lastspriteid":245476, + "firstspriteid":245698, + "lastspriteid":245733, "area":0 }, { "type":"sprite", "file":"sprites-37f78703701ffb0d52b98e587dda2b55bfa7d673995fea9c17b11aa165f4b17c.bmp.lzma", "spritetype":3, - "firstspriteid":245477, - "lastspriteid":245512, + "firstspriteid":245734, + "lastspriteid":245769, "area":0 }, { "type":"sprite", "file":"sprites-585f32f62ae414f18786e90aaf8cb7a3f762d4f6eaccee70f2d9b7b209eef7bd.bmp.lzma", "spritetype":3, - "firstspriteid":245513, - "lastspriteid":245548, + "firstspriteid":245770, + "lastspriteid":245805, "area":0 }, { "type":"sprite", "file":"sprites-9040264d8315fed71618303571a64180b4abfdf3bb0c965fa7de6df9c6f1ff77.bmp.lzma", "spritetype":3, - "firstspriteid":245549, - "lastspriteid":245584, + "firstspriteid":245806, + "lastspriteid":245841, "area":0 }, { "type":"sprite", "file":"sprites-19dee137799c53aa7ab03610f2597bc481ec8602e72da6bedf765de176be6c8f.bmp.lzma", "spritetype":3, - "firstspriteid":245585, - "lastspriteid":245620, + "firstspriteid":245842, + "lastspriteid":245877, "area":0 }, { "type":"sprite", "file":"sprites-c2d7147153625d8266b3f794006ed0ed12afdec5ee5263732a1ee3dc2eb58ff7.bmp.lzma", "spritetype":3, - "firstspriteid":245621, - "lastspriteid":245656, + "firstspriteid":245878, + "lastspriteid":245913, "area":0 }, { "type":"sprite", "file":"sprites-7dd445a84c0cdb436afd98b88ce132c9ced03df784f9c472cf12a636fd9e7569.bmp.lzma", "spritetype":3, - "firstspriteid":245657, - "lastspriteid":245692, + "firstspriteid":245914, + "lastspriteid":245949, "area":0 }, { "type":"sprite", "file":"sprites-1af0b059c981714aeec651f6b3c67b87640a939fb7d52de748c79d7d62e960e4.bmp.lzma", "spritetype":3, - "firstspriteid":245693, - "lastspriteid":245728, + "firstspriteid":245950, + "lastspriteid":245985, "area":0 }, { "type":"sprite", "file":"sprites-cd6a59c4b2d19b90377df05c8a36a0c2ef22ff8539164256b21b81196e42ed70.bmp.lzma", "spritetype":3, - "firstspriteid":245729, - "lastspriteid":245764, + "firstspriteid":245986, + "lastspriteid":246021, "area":0 }, { "type":"sprite", "file":"sprites-7a3ec5c1e8b598e1ea57e0bc5212977b77f61e8e56fcf8e7961d0ff927acd72a.bmp.lzma", "spritetype":3, - "firstspriteid":245765, - "lastspriteid":245800, + "firstspriteid":246022, + "lastspriteid":246057, "area":0 }, { "type":"sprite", "file":"sprites-abfdb468108f66a35ec162221999414589d111c15e84e3b1e1e3700ac4e8e463.bmp.lzma", "spritetype":3, - "firstspriteid":245801, - "lastspriteid":245836, + "firstspriteid":246058, + "lastspriteid":246093, "area":0 }, { "type":"sprite", "file":"sprites-c0b879d5a923ea4c25ce0b6f128abbdbe7decc2087838ba6dd21810c7f6238aa.bmp.lzma", "spritetype":3, - "firstspriteid":245837, - "lastspriteid":245872, + "firstspriteid":246094, + "lastspriteid":246129, "area":0 }, { "type":"sprite", "file":"sprites-a91d6027f543cce62afcec87bc9526c695d6d67ff4063a28022b506641a87f6c.bmp.lzma", "spritetype":3, - "firstspriteid":245873, - "lastspriteid":245908, + "firstspriteid":246130, + "lastspriteid":246165, "area":0 }, { "type":"sprite", "file":"sprites-25b5c6e87d9505b113a8789322eed9f950b26c8a8e60d7fd6411f20a8fec54ac.bmp.lzma", "spritetype":3, - "firstspriteid":245909, - "lastspriteid":245944, + "firstspriteid":246166, + "lastspriteid":246201, "area":0 }, { "type":"sprite", "file":"sprites-2529570d3f8cc925d7894aa8e04760d472a1958843c5462b9a44c8eb170c5c6a.bmp.lzma", "spritetype":3, - "firstspriteid":245945, - "lastspriteid":245980, + "firstspriteid":246202, + "lastspriteid":246237, "area":0 }, { "type":"sprite", "file":"sprites-7362cd6d367ef3c26e83138c0653422e2ceb9f4cedcbc47ccbb874ae04255b65.bmp.lzma", "spritetype":3, - "firstspriteid":245981, - "lastspriteid":246016, + "firstspriteid":246238, + "lastspriteid":246273, "area":0 }, { "type":"sprite", "file":"sprites-26b751a4c545080496881435aeb17976302c05f182731d23de35c0802830d7fb.bmp.lzma", "spritetype":3, - "firstspriteid":246017, - "lastspriteid":246052, + "firstspriteid":246274, + "lastspriteid":246309, "area":0 }, { "type":"sprite", "file":"sprites-cea648297463b0a5de54bbfbbd2c639f69c02bfbe47458b94cbc9d843862c9fa.bmp.lzma", "spritetype":3, - "firstspriteid":246053, - "lastspriteid":246088, + "firstspriteid":246310, + "lastspriteid":246345, "area":0 }, { "type":"sprite", "file":"sprites-572bdc35b1dcaf779fb2f735997deebf5b7e869b432c275b30fa5098bc4a1474.bmp.lzma", "spritetype":3, - "firstspriteid":246089, - "lastspriteid":246124, + "firstspriteid":246346, + "lastspriteid":246381, "area":0 }, { "type":"sprite", "file":"sprites-a1de90e41fd407ea7ff01392fb9bc6a253b7b0080e9cdeb7a5c604b33829d82a.bmp.lzma", "spritetype":3, - "firstspriteid":246125, - "lastspriteid":246160, + "firstspriteid":246382, + "lastspriteid":246417, "area":0 }, { "type":"sprite", "file":"sprites-1235b419599763b7941d33238e8284d4b68a9350f338c82320cfb7b8d301679e.bmp.lzma", "spritetype":3, - "firstspriteid":246161, - "lastspriteid":246196, + "firstspriteid":246418, + "lastspriteid":246453, "area":0 }, { "type":"sprite", "file":"sprites-4544db8c1dfe81e1069e1b2f59366867a9e7b948c743a6b0b732b530df0d4369.bmp.lzma", "spritetype":3, - "firstspriteid":246197, - "lastspriteid":246232, + "firstspriteid":246454, + "lastspriteid":246489, "area":0 }, { "type":"sprite", "file":"sprites-e0f837768ea8fa76436bc7ef2dd4bdfe81ee6375a9e08660e2bb0f9a540ab4b6.bmp.lzma", "spritetype":3, - "firstspriteid":246233, - "lastspriteid":246268, + "firstspriteid":246490, + "lastspriteid":246525, "area":0 }, { "type":"sprite", "file":"sprites-70d61350e9a22ac7a801b798588017864f5a34df04ce9c75c7296bd9b61b93da.bmp.lzma", "spritetype":3, - "firstspriteid":246269, - "lastspriteid":246304, + "firstspriteid":246526, + "lastspriteid":246561, "area":0 }, { "type":"sprite", "file":"sprites-2adba9d736df59ea8e62b24bcea24092486948b89987d87966e9f9e9384349b5.bmp.lzma", "spritetype":3, - "firstspriteid":246305, - "lastspriteid":246340, + "firstspriteid":246562, + "lastspriteid":246597, "area":0 }, { "type":"sprite", "file":"sprites-88b747e433b9714a3e4ea76581a76e3bb934bf43e2b6302989410ab0b07324c9.bmp.lzma", "spritetype":3, - "firstspriteid":246341, - "lastspriteid":246376, + "firstspriteid":246598, + "lastspriteid":246633, "area":0 }, { "type":"sprite", "file":"sprites-1433e4f1573b6adb6482ee347ae005250343ce476e053a580e86d37bddcd803e.bmp.lzma", "spritetype":3, - "firstspriteid":246377, - "lastspriteid":246412, + "firstspriteid":246634, + "lastspriteid":246669, "area":0 }, { "type":"sprite", "file":"sprites-1e2486be2f3659545ef520e8ff78b2195b24084c1865528fb4ea6d531b94ec8e.bmp.lzma", "spritetype":3, - "firstspriteid":246413, - "lastspriteid":246448, + "firstspriteid":246670, + "lastspriteid":246705, "area":0 }, { "type":"sprite", "file":"sprites-cee21e1ed6c01dc85900be44acbbf1929fb49544ced3ac4aee0dfadb9b3f22bf.bmp.lzma", "spritetype":3, - "firstspriteid":246449, - "lastspriteid":246484, + "firstspriteid":246706, + "lastspriteid":246741, "area":0 }, { "type":"sprite", "file":"sprites-458d1703451a1afc12d81dc9da8ca0b1ec885fd4b8b6f0073e67b7bf180144a2.bmp.lzma", "spritetype":3, - "firstspriteid":246485, - "lastspriteid":246520, + "firstspriteid":246742, + "lastspriteid":246777, "area":0 }, { "type":"sprite", "file":"sprites-5652fb8da3135298c9648d6ed2c98ebcbbb0b1893bb4f0ee7d0fe03524769b55.bmp.lzma", "spritetype":3, - "firstspriteid":246521, - "lastspriteid":246556, + "firstspriteid":246778, + "lastspriteid":246813, "area":0 }, { "type":"sprite", "file":"sprites-a34f9c892eeca05b6f343fc48c971c670426b95df2fed9ea18410b0ef0e9d7ed.bmp.lzma", "spritetype":3, - "firstspriteid":246557, - "lastspriteid":246592, + "firstspriteid":246814, + "lastspriteid":246849, "area":0 }, { "type":"sprite", "file":"sprites-94242dee28aac517e16e5acadf77768e92f43a023bbaae70e20a1c3e5ec85260.bmp.lzma", "spritetype":3, - "firstspriteid":246593, - "lastspriteid":246628, + "firstspriteid":246850, + "lastspriteid":246885, "area":0 }, { "type":"sprite", "file":"sprites-05cdad1da5eec3193b4b209fe24fc80467ebcfca74d2cc4ca40935dab0c353ea.bmp.lzma", "spritetype":3, - "firstspriteid":246629, - "lastspriteid":246664, + "firstspriteid":246886, + "lastspriteid":246921, "area":0 }, { "type":"sprite", "file":"sprites-05f82beca28bb735328299e54c9b35c63f7d4a0e96341becc481213bcec2c5b1.bmp.lzma", "spritetype":3, - "firstspriteid":246665, - "lastspriteid":246700, + "firstspriteid":246922, + "lastspriteid":246957, "area":0 }, { "type":"sprite", "file":"sprites-164bf84959a973a603c17cabe3de237cc7ed861488f8144b2bbb68de96fda942.bmp.lzma", "spritetype":3, - "firstspriteid":246701, - "lastspriteid":246736, + "firstspriteid":246958, + "lastspriteid":246993, "area":0 }, { "type":"sprite", "file":"sprites-fba4296be28a888dc7e4b7c020472aa5e6be521afdad22660de5bc6eecc4ca11.bmp.lzma", "spritetype":3, - "firstspriteid":246737, - "lastspriteid":246772, + "firstspriteid":246994, + "lastspriteid":247029, "area":0 }, { "type":"sprite", "file":"sprites-75d88ec81094846d703ef5c9ebf6d3412f71e61971a9c8088a03ca9b083cc2d8.bmp.lzma", "spritetype":3, - "firstspriteid":246773, - "lastspriteid":246808, + "firstspriteid":247030, + "lastspriteid":247065, "area":0 }, { "type":"sprite", "file":"sprites-1a6210e3fee27d56e54c8fcb13874cf8c4cc096160c94b7bc8fd30bb7568810c.bmp.lzma", "spritetype":3, - "firstspriteid":246809, - "lastspriteid":246844, + "firstspriteid":247066, + "lastspriteid":247101, "area":0 }, { "type":"sprite", "file":"sprites-dd31687b4a4475968f0250ff91c19de3e17082cb29a599b5c7ebb0f50eab4e9a.bmp.lzma", "spritetype":3, - "firstspriteid":246845, - "lastspriteid":246880, + "firstspriteid":247102, + "lastspriteid":247137, "area":0 }, { "type":"sprite", "file":"sprites-651277358befebb1fbcf12d1062c2478621dd7f4c9599598043ef8aeb1e3ad4f.bmp.lzma", "spritetype":3, - "firstspriteid":246881, - "lastspriteid":246916, + "firstspriteid":247138, + "lastspriteid":247173, "area":0 }, { "type":"sprite", "file":"sprites-230076296dd0de275573ea2d2b0b83e7f4435ddf06735091bf4971a55c9425e3.bmp.lzma", "spritetype":3, - "firstspriteid":246917, - "lastspriteid":246952, + "firstspriteid":247174, + "lastspriteid":247209, "area":0 }, { "type":"sprite", "file":"sprites-f6389615cc11ccc57bdaedf07f3021449c0f3f8154d1597a1495f4938b123bee.bmp.lzma", "spritetype":3, - "firstspriteid":246953, - "lastspriteid":246988, + "firstspriteid":247210, + "lastspriteid":247245, "area":0 }, { "type":"sprite", "file":"sprites-f6137ee33d4986b94cc98214f003458049e950b96fbfacec8ff0e89394f0b5c0.bmp.lzma", "spritetype":3, - "firstspriteid":246989, - "lastspriteid":247024, + "firstspriteid":247246, + "lastspriteid":247281, "area":0 }, { "type":"sprite", "file":"sprites-98da6a523cb463f738c82a67ed55c7a116e1836afbf55c2c0e3b04d1c97149c5.bmp.lzma", "spritetype":3, - "firstspriteid":247025, - "lastspriteid":247060, + "firstspriteid":247282, + "lastspriteid":247317, "area":0 }, { "type":"sprite", "file":"sprites-e5813bed2370479bae1db5191182af4087893a4bce13d1c859efea2bc39006ea.bmp.lzma", "spritetype":3, - "firstspriteid":247061, - "lastspriteid":247096, + "firstspriteid":247318, + "lastspriteid":247353, "area":0 }, { "type":"sprite", "file":"sprites-34af54b8b71f69cf4994aba69f7c1297e320d83bbf5d2900e0d0fc561bb2e6ce.bmp.lzma", "spritetype":3, - "firstspriteid":247097, - "lastspriteid":247132, + "firstspriteid":247354, + "lastspriteid":247389, "area":0 }, { "type":"sprite", "file":"sprites-4a2220fa4a84c92e86bf6a43c67c1060e1add1fdfc3768bdd36e0f1454663a18.bmp.lzma", "spritetype":3, - "firstspriteid":247133, - "lastspriteid":247168, + "firstspriteid":247390, + "lastspriteid":247425, "area":0 }, { "type":"sprite", "file":"sprites-017076e0ecd0d4edd170574c38906d91e795b6ebc6a054c74410fdb63ed517ac.bmp.lzma", "spritetype":3, - "firstspriteid":247169, - "lastspriteid":247204, + "firstspriteid":247426, + "lastspriteid":247461, "area":0 }, { "type":"sprite", "file":"sprites-54d81cd6e995398bc5132f73272bfaf54a06b1918b1d04069ee9a4ec6b829df0.bmp.lzma", "spritetype":3, - "firstspriteid":247205, - "lastspriteid":247240, + "firstspriteid":247462, + "lastspriteid":247497, "area":0 }, { "type":"sprite", "file":"sprites-71bb92c4a9481157a105f4500f04a22e75343c38bad3b1a6de014343767e7ede.bmp.lzma", "spritetype":3, - "firstspriteid":247241, - "lastspriteid":247276, + "firstspriteid":247498, + "lastspriteid":247533, "area":0 }, { "type":"sprite", "file":"sprites-015442c0a64669545cac1718289824172c651ab6f3abe9e0a8b77f325d87e2fa.bmp.lzma", "spritetype":3, - "firstspriteid":247277, - "lastspriteid":247312, + "firstspriteid":247534, + "lastspriteid":247569, "area":0 }, { "type":"sprite", "file":"sprites-b93dd4dd3baf9a7ced46c01e5ce5092cda756429b9fe6e15e2afd8d74ab4f36f.bmp.lzma", "spritetype":3, - "firstspriteid":247313, - "lastspriteid":247348, + "firstspriteid":247570, + "lastspriteid":247605, "area":0 }, { "type":"sprite", "file":"sprites-90288bd6677f56007c766c7444d5f073e4cafc293f59122b55ecfa672ef5b68a.bmp.lzma", "spritetype":3, - "firstspriteid":247349, - "lastspriteid":247384, + "firstspriteid":247606, + "lastspriteid":247641, "area":0 }, { "type":"sprite", "file":"sprites-a9678bf644c9baa48456d37d6234d4af665ba2571db042fc4bf63545172fc656.bmp.lzma", "spritetype":3, - "firstspriteid":247385, - "lastspriteid":247420, + "firstspriteid":247642, + "lastspriteid":247677, "area":0 }, { "type":"sprite", "file":"sprites-6ca3fe3f4ff6dfe5526fa10073342959fa5e944efb1358b9b6d27594b7065f1b.bmp.lzma", "spritetype":3, - "firstspriteid":247421, - "lastspriteid":247456, + "firstspriteid":247678, + "lastspriteid":247713, "area":0 }, { "type":"sprite", "file":"sprites-43c1f29427d2f39800d95a440d5a1a583e449f87c0bf9b6b1c84317463c4ed5f.bmp.lzma", "spritetype":3, - "firstspriteid":247457, - "lastspriteid":247492, + "firstspriteid":247714, + "lastspriteid":247749, "area":0 }, { "type":"sprite", "file":"sprites-77d4b40f60f17951bb9436516c7627af99e10b822812b395e4204ab53cce6bb5.bmp.lzma", "spritetype":3, - "firstspriteid":247493, - "lastspriteid":247528, + "firstspriteid":247750, + "lastspriteid":247785, "area":0 }, { "type":"sprite", "file":"sprites-a6942882813d5ff703880bc3ddc4a335116afea06d7c6164497bfc7e910d1fcf.bmp.lzma", "spritetype":3, - "firstspriteid":247529, - "lastspriteid":247564, + "firstspriteid":247786, + "lastspriteid":247821, "area":0 }, { "type":"sprite", "file":"sprites-ee0bb9b07d9b5417fce4d7e3f99bda9be036b1bc1e9ba212ae89d366f1783850.bmp.lzma", "spritetype":3, - "firstspriteid":247565, - "lastspriteid":247600, + "firstspriteid":247822, + "lastspriteid":247857, "area":0 }, { "type":"sprite", "file":"sprites-9866521d2672488502be4e8b362b96fe2a83c00b6b3886762cdae38aadb9d8e5.bmp.lzma", "spritetype":3, - "firstspriteid":247601, - "lastspriteid":247636, + "firstspriteid":247858, + "lastspriteid":247893, "area":0 }, { "type":"sprite", "file":"sprites-f0e89c395c041ef52aa6f4dba5e2c96970b7f8d12620c65b7629757e6c7a770a.bmp.lzma", "spritetype":3, - "firstspriteid":247637, - "lastspriteid":247672, + "firstspriteid":247894, + "lastspriteid":247929, "area":0 }, { "type":"sprite", "file":"sprites-be61256a6d34738876fd10092b68648bbd2ecfc37c8723fa2df6afb4c806aa6d.bmp.lzma", "spritetype":3, - "firstspriteid":247673, - "lastspriteid":247708, + "firstspriteid":247930, + "lastspriteid":247965, "area":0 }, { "type":"sprite", "file":"sprites-a15a8fc3039f154fda44b1e494796adfe12ffbc9decc7cb06f62fc90fb176275.bmp.lzma", "spritetype":3, - "firstspriteid":247709, - "lastspriteid":247744, + "firstspriteid":247966, + "lastspriteid":248001, "area":0 }, { "type":"sprite", "file":"sprites-696fbee23d04810cb1c639b275706cab5e09a06943d184da8567887d40576c98.bmp.lzma", "spritetype":3, - "firstspriteid":247745, - "lastspriteid":247780, + "firstspriteid":248002, + "lastspriteid":248037, "area":0 }, { "type":"sprite", "file":"sprites-614a8d5094501d6467d414a589fd9dab2b21a6f729c74dd5c384741f022d2055.bmp.lzma", "spritetype":3, - "firstspriteid":247781, - "lastspriteid":247816, + "firstspriteid":248038, + "lastspriteid":248073, "area":0 }, { "type":"sprite", "file":"sprites-c177d323038f9125fa71572d94d1093927780cdc2f0431da697a62d21c28a850.bmp.lzma", "spritetype":3, - "firstspriteid":247817, - "lastspriteid":247852, + "firstspriteid":248074, + "lastspriteid":248109, "area":0 }, { "type":"sprite", "file":"sprites-28ab9133baaaf57f93da6abf64c39c46d132e76abe0cbdc86cb62b407010ebee.bmp.lzma", "spritetype":3, - "firstspriteid":247853, - "lastspriteid":247888, + "firstspriteid":248110, + "lastspriteid":248145, "area":0 }, { "type":"sprite", "file":"sprites-4228701ec0a464c963f54d8200fa559d653a9008dffa493fedb88148bc4a60ea.bmp.lzma", "spritetype":3, - "firstspriteid":247889, - "lastspriteid":247924, + "firstspriteid":248146, + "lastspriteid":248181, "area":0 }, { "type":"sprite", "file":"sprites-c3e95f03cf1e34ed14c498b8232552de71f73f347d33cf78ea4cd5882609c44b.bmp.lzma", "spritetype":3, - "firstspriteid":247925, - "lastspriteid":247960, + "firstspriteid":248182, + "lastspriteid":248217, "area":0 }, { "type":"sprite", "file":"sprites-cc19ecf246b5f911e05c5822ab59cf1d970b8da4c6ef2b95e1263f8ac04bc02e.bmp.lzma", "spritetype":3, - "firstspriteid":247961, - "lastspriteid":247996, + "firstspriteid":248218, + "lastspriteid":248253, "area":0 }, { "type":"sprite", "file":"sprites-f055a3bd7ba7ee74c13be83495548fc663a3e84dd8454d410f120202494c0a3f.bmp.lzma", "spritetype":3, - "firstspriteid":247997, - "lastspriteid":248032, + "firstspriteid":248254, + "lastspriteid":248289, "area":0 }, { "type":"sprite", "file":"sprites-7b5226e32b086a0c7d87262e99abdc8067e5752ef65c1360b5fe05e976270a80.bmp.lzma", "spritetype":3, - "firstspriteid":248033, - "lastspriteid":248068, + "firstspriteid":248290, + "lastspriteid":248325, "area":0 }, { "type":"sprite", "file":"sprites-397f8ca56445000928588da618960c8eec2c387f7cd2c0a3f8408d03e8f98b6a.bmp.lzma", "spritetype":3, - "firstspriteid":248069, - "lastspriteid":248104, + "firstspriteid":248326, + "lastspriteid":248361, "area":0 }, { "type":"sprite", "file":"sprites-02db0940cc77a593a165b9328798a34fff61bd279d139f3655ce7574cd06cbeb.bmp.lzma", "spritetype":3, - "firstspriteid":248105, - "lastspriteid":248140, + "firstspriteid":248362, + "lastspriteid":248397, "area":0 }, { "type":"sprite", "file":"sprites-e0da21cc628287eb75f7586fecb53f2244384fdec81cfa8796744bd24a5117f0.bmp.lzma", "spritetype":3, - "firstspriteid":248141, - "lastspriteid":248176, + "firstspriteid":248398, + "lastspriteid":248433, "area":0 }, { "type":"sprite", "file":"sprites-bf46d3eea56ea2860e741aba086137ebe3ecdcf2cc4c69740e8c513caae8d1c6.bmp.lzma", "spritetype":3, - "firstspriteid":248177, - "lastspriteid":248212, + "firstspriteid":248434, + "lastspriteid":248469, "area":0 }, { "type":"sprite", "file":"sprites-7b2b7af6963df6985ffbf71ab5e90959acf8911a251eaa499b5395e8bdb95f82.bmp.lzma", "spritetype":3, - "firstspriteid":248213, - "lastspriteid":248248, + "firstspriteid":248470, + "lastspriteid":248505, "area":0 }, { "type":"sprite", "file":"sprites-1006a4f13673b907e5e7e14be6ebb312ce9c5e15cbe8908c918b17b755582a5e.bmp.lzma", "spritetype":3, - "firstspriteid":248249, - "lastspriteid":248284, + "firstspriteid":248506, + "lastspriteid":248541, "area":0 }, { "type":"sprite", "file":"sprites-62f69200e7598885484cca60e907702c566c810e5e844027c93cfe18dec56e1b.bmp.lzma", "spritetype":3, - "firstspriteid":248285, - "lastspriteid":248320, + "firstspriteid":248542, + "lastspriteid":248577, "area":0 }, { "type":"sprite", "file":"sprites-d9008b341c80058ba9c543f277ae7294e5f923b450124f23655af356a7d7200f.bmp.lzma", "spritetype":3, - "firstspriteid":248321, - "lastspriteid":248356, + "firstspriteid":248578, + "lastspriteid":248613, "area":0 }, { "type":"sprite", "file":"sprites-947165987f013f24bd015ef4f5e4ba4e8dcfe53a5601088a83b505d19950d4df.bmp.lzma", "spritetype":3, - "firstspriteid":248357, - "lastspriteid":248392, + "firstspriteid":248614, + "lastspriteid":248649, "area":0 }, { "type":"sprite", "file":"sprites-caf19210c2f17af617a918a38c2fa5a1b2b23e7d97490cc7d8098496990a60f4.bmp.lzma", "spritetype":3, - "firstspriteid":248393, - "lastspriteid":248428, + "firstspriteid":248650, + "lastspriteid":248685, "area":0 }, { "type":"sprite", "file":"sprites-dbcd49a793a55272f7b050fdb66eba92a770e4bf3580a2b7c9ccd4f70a34e42e.bmp.lzma", "spritetype":3, - "firstspriteid":248429, - "lastspriteid":248464, + "firstspriteid":248686, + "lastspriteid":248721, "area":0 }, { "type":"sprite", "file":"sprites-44f4ab535a022c56709a6cf724b3dc14d097fe9421b90437edfdc74722789e5d.bmp.lzma", "spritetype":3, - "firstspriteid":248465, - "lastspriteid":248500, + "firstspriteid":248722, + "lastspriteid":248757, "area":0 }, { "type":"sprite", "file":"sprites-086b1475afd9884672c58b2fd8a4fe2b93d15f8cc5dd4ad2d76935f7d8afc703.bmp.lzma", "spritetype":3, - "firstspriteid":248501, - "lastspriteid":248536, + "firstspriteid":248758, + "lastspriteid":248793, "area":0 }, { "type":"sprite", "file":"sprites-136001f6108cb0b7c52a9c3af73e9d329d8f1e26e0a1df415b7d92211e22f9f9.bmp.lzma", "spritetype":3, - "firstspriteid":248537, - "lastspriteid":248572, + "firstspriteid":248794, + "lastspriteid":248829, "area":0 }, { "type":"sprite", "file":"sprites-5070785a4e51395e90079ced381281bd01e793f577626a3c2c4d365bf05709de.bmp.lzma", "spritetype":3, - "firstspriteid":248573, - "lastspriteid":248608, + "firstspriteid":248830, + "lastspriteid":248865, "area":0 }, { "type":"sprite", "file":"sprites-5a0e4e60261c9be8c2a333b6994386861bea31366bbc152a51f83865ce81dd12.bmp.lzma", "spritetype":3, - "firstspriteid":248609, - "lastspriteid":248644, + "firstspriteid":248866, + "lastspriteid":248901, "area":0 }, { "type":"sprite", "file":"sprites-dd46bdfc271972f031fce0b98edc98f2d741f2d7ea6570d7191ecef18f6cf456.bmp.lzma", "spritetype":3, - "firstspriteid":248645, - "lastspriteid":248680, + "firstspriteid":248902, + "lastspriteid":248937, "area":0 }, { "type":"sprite", "file":"sprites-f457735dad3d169b18ed13a5ce83a874dd53ebc2f035d891da34cd0acf993454.bmp.lzma", "spritetype":3, - "firstspriteid":248681, - "lastspriteid":248716, + "firstspriteid":248938, + "lastspriteid":248973, "area":0 }, { "type":"sprite", "file":"sprites-9c7c5b8cbf9557577f97397e6ff9f9fbe5d32a5d2a10b53780ae81513b81d3f3.bmp.lzma", "spritetype":3, - "firstspriteid":248717, - "lastspriteid":248752, + "firstspriteid":248974, + "lastspriteid":249009, "area":0 }, { "type":"sprite", "file":"sprites-51ebe3a8696d4ac1f1ba4c970f5ac5607cfa7f2900e719217e3797454d9b5331.bmp.lzma", "spritetype":3, - "firstspriteid":248753, - "lastspriteid":248788, + "firstspriteid":249010, + "lastspriteid":249045, "area":0 }, { "type":"sprite", "file":"sprites-5572c72f333d8c6a54fb1206ad3f46733fa750019f62a1c4a82ba2aa4db78826.bmp.lzma", "spritetype":3, - "firstspriteid":248789, - "lastspriteid":248824, + "firstspriteid":249046, + "lastspriteid":249081, "area":0 }, { "type":"sprite", "file":"sprites-f1e92f2e4e56f05fca81d801ccc8e201490f43fd47860b9c63b679a29050e75c.bmp.lzma", "spritetype":3, - "firstspriteid":248825, - "lastspriteid":248860, + "firstspriteid":249082, + "lastspriteid":249117, "area":0 }, { "type":"sprite", "file":"sprites-9204f209a09f68b0511eade632f9d5113cccfb17bea8290fc89cad4cde89f61f.bmp.lzma", "spritetype":3, - "firstspriteid":248861, - "lastspriteid":248896, + "firstspriteid":249118, + "lastspriteid":249153, "area":0 }, { "type":"sprite", "file":"sprites-18f134db2e5edc130831ab2bbeafac70e861877292747dff5775202c975bdd14.bmp.lzma", "spritetype":3, - "firstspriteid":248897, - "lastspriteid":248932, + "firstspriteid":249154, + "lastspriteid":249189, "area":0 }, { "type":"sprite", "file":"sprites-dc1aa5ccfe322c11bbed0b3313e4681a4bf7a6b433eaa6d09b2437e8c4b4b3c6.bmp.lzma", "spritetype":3, - "firstspriteid":248933, - "lastspriteid":248968, + "firstspriteid":249190, + "lastspriteid":249225, "area":0 }, { "type":"sprite", "file":"sprites-6cb04df86125f2fc8c0463934507763763bb1e104761e5a471704248d73f3aca.bmp.lzma", "spritetype":3, - "firstspriteid":248969, - "lastspriteid":249004, + "firstspriteid":249226, + "lastspriteid":249261, "area":0 }, { "type":"sprite", "file":"sprites-56f164e4cfbc4bc617aaf4b38ada9805a97e15272af51c50966a4a3b5ccb875f.bmp.lzma", "spritetype":3, - "firstspriteid":249005, - "lastspriteid":249040, + "firstspriteid":249262, + "lastspriteid":249297, "area":0 }, { "type":"sprite", "file":"sprites-949cb88f6d754adea858c156e99f3690726eb1e89b8478bf84a49de760bd8347.bmp.lzma", "spritetype":3, - "firstspriteid":249041, - "lastspriteid":249076, + "firstspriteid":249298, + "lastspriteid":249333, "area":0 }, { "type":"sprite", "file":"sprites-e8265feea447ec694ae4c5b4220a07c1aae25ddc72e3f7762e49eae62c3cb3eb.bmp.lzma", "spritetype":3, - "firstspriteid":249077, - "lastspriteid":249112, + "firstspriteid":249334, + "lastspriteid":249369, "area":0 }, { "type":"sprite", "file":"sprites-d7f6612a5d6b0fb46bdabfefbcbee2ba615c9f16aa8c8880d45ce98d4780c8bc.bmp.lzma", "spritetype":3, - "firstspriteid":249113, - "lastspriteid":249148, + "firstspriteid":249370, + "lastspriteid":249405, "area":0 }, { "type":"sprite", "file":"sprites-2afbe6db1a921652fdb4d762b976f910a3959684ada95bfbe69a1de978d41264.bmp.lzma", "spritetype":3, - "firstspriteid":249149, - "lastspriteid":249184, + "firstspriteid":249406, + "lastspriteid":249441, "area":0 }, { "type":"sprite", "file":"sprites-01a41276998770acd893bd81fd314cda160d3c0ff4dcda8944aa79d1764fad4e.bmp.lzma", "spritetype":3, - "firstspriteid":249185, - "lastspriteid":249220, + "firstspriteid":249442, + "lastspriteid":249477, "area":0 }, { "type":"sprite", "file":"sprites-05cf04f590f0b17799e6273a4a26df61db89207d956bf64cd950d257f1871cc0.bmp.lzma", "spritetype":3, - "firstspriteid":249221, - "lastspriteid":249256, + "firstspriteid":249478, + "lastspriteid":249513, "area":0 }, { "type":"sprite", "file":"sprites-8601bc4a12a0e3b52b3b68acdaa63b49871bbe40e0342e00d4ec00f001229d07.bmp.lzma", "spritetype":3, - "firstspriteid":249257, - "lastspriteid":249292, + "firstspriteid":249514, + "lastspriteid":249549, "area":0 }, { "type":"sprite", "file":"sprites-ba0c563f963211ade0e17af7c3063b7d5025d3c40eaccdd4ad70cbf2a360bd6d.bmp.lzma", "spritetype":3, - "firstspriteid":249293, - "lastspriteid":249328, + "firstspriteid":249550, + "lastspriteid":249585, "area":0 }, { "type":"sprite", "file":"sprites-26e4acb4bde5e87baeddf40b9e30003f9e4d5c855350d6435c0d0cf92b2c8eea.bmp.lzma", "spritetype":3, - "firstspriteid":249329, - "lastspriteid":249364, + "firstspriteid":249586, + "lastspriteid":249621, "area":0 }, { "type":"sprite", "file":"sprites-9f27e73f3428b598ebeaf67926860677d5825e933d80bca2abe1e72e4bac9f95.bmp.lzma", "spritetype":3, - "firstspriteid":249365, - "lastspriteid":249400, + "firstspriteid":249622, + "lastspriteid":249657, "area":0 }, { "type":"sprite", "file":"sprites-2a1290e6b307a30f010475635d3f8c66a9acefb6f0337fce971b49ed8bc735da.bmp.lzma", "spritetype":3, - "firstspriteid":249401, - "lastspriteid":249436, + "firstspriteid":249658, + "lastspriteid":249693, "area":0 }, { "type":"sprite", "file":"sprites-ff370ddf34f103fb6334bcfb14eeaa110789c3207a7b7bb0d12c02ede6c76617.bmp.lzma", "spritetype":3, - "firstspriteid":249437, - "lastspriteid":249472, + "firstspriteid":249694, + "lastspriteid":249729, "area":0 }, { "type":"sprite", "file":"sprites-01498a75e279b8aff090f1352f92278d582976750341c1792a870300589b9df4.bmp.lzma", "spritetype":3, - "firstspriteid":249473, - "lastspriteid":249508, + "firstspriteid":249730, + "lastspriteid":249765, "area":0 }, { "type":"sprite", "file":"sprites-62390daeb5f7833da472f73b53268c693d72a60f4b2c84bca199603ef5faeadb.bmp.lzma", "spritetype":3, - "firstspriteid":249509, - "lastspriteid":249544, + "firstspriteid":249766, + "lastspriteid":249801, "area":0 }, { "type":"sprite", "file":"sprites-8105fc47c4660edb4a1c68a293e0bf52229687e0c6c0aa86a96f6eb97e791387.bmp.lzma", "spritetype":3, - "firstspriteid":249545, - "lastspriteid":249580, + "firstspriteid":249802, + "lastspriteid":249837, "area":0 }, { "type":"sprite", "file":"sprites-88703d461e416be293b3414c8b0144044e0b3f9971b5a2b622b5d13e839554bb.bmp.lzma", "spritetype":3, - "firstspriteid":249581, - "lastspriteid":249616, + "firstspriteid":249838, + "lastspriteid":249873, "area":0 }, { "type":"sprite", "file":"sprites-bf4bcfc52e8986780c1c35a0690d1ae34bcbad12c7b566d8d5566dee98a4a928.bmp.lzma", "spritetype":3, - "firstspriteid":249617, - "lastspriteid":249652, + "firstspriteid":249874, + "lastspriteid":249909, "area":0 }, { "type":"sprite", "file":"sprites-d305a5fc16866b56cf1e0e7dd3c8f5be572b4d27634badf14be8e9e0231950a4.bmp.lzma", "spritetype":3, - "firstspriteid":249653, - "lastspriteid":249688, + "firstspriteid":249910, + "lastspriteid":249945, "area":0 }, { "type":"sprite", "file":"sprites-16a4dbf31c5975b497ec2c5bc32335e34a72c07a6b859e3ece0fbe02a1250a2b.bmp.lzma", "spritetype":3, - "firstspriteid":249689, - "lastspriteid":249724, + "firstspriteid":249946, + "lastspriteid":249981, "area":0 }, { "type":"sprite", "file":"sprites-61cf3a39c8754fd7c86355dc9cf607f6ce43e73ccd41a35d2b08dd040ffc0e6f.bmp.lzma", "spritetype":3, - "firstspriteid":249725, - "lastspriteid":249760, + "firstspriteid":249982, + "lastspriteid":250017, "area":0 }, { "type":"sprite", "file":"sprites-e0fa78e97bc819aabcfec3eda5fc823c563ecc5451e33371059735d5414b4a6b.bmp.lzma", "spritetype":3, - "firstspriteid":249761, - "lastspriteid":249796, + "firstspriteid":250018, + "lastspriteid":250053, "area":0 }, { "type":"sprite", "file":"sprites-271138675e79722ca3812fbb29b12a810f307430aba1e90c26e24e4810db4b8f.bmp.lzma", "spritetype":3, - "firstspriteid":249797, - "lastspriteid":249832, + "firstspriteid":250054, + "lastspriteid":250089, "area":0 }, { "type":"sprite", "file":"sprites-042351adead9a34574c9b3eb7b0a9623acdb877ca5fd2dae678be828b5a2b150.bmp.lzma", "spritetype":3, - "firstspriteid":249833, - "lastspriteid":249868, + "firstspriteid":250090, + "lastspriteid":250125, "area":0 }, { "type":"sprite", "file":"sprites-5b29ba56b18b37d0d9f3e3d69b6728943cf1d2ae3cd6c94a1272096f53e70d60.bmp.lzma", "spritetype":3, - "firstspriteid":249869, - "lastspriteid":249904, + "firstspriteid":250126, + "lastspriteid":250161, "area":0 }, { "type":"sprite", "file":"sprites-72300b9adfdc9e6b0daa2f08717a1c125241bb9b2717a5db6ec2d6113f9aed51.bmp.lzma", "spritetype":3, - "firstspriteid":249905, - "lastspriteid":249940, + "firstspriteid":250162, + "lastspriteid":250197, "area":0 }, { "type":"sprite", "file":"sprites-0a6fece20953aa408289e05a5ac9a61edf7e03bf13826bb1f91dbd4fbad53f0f.bmp.lzma", "spritetype":3, - "firstspriteid":249941, - "lastspriteid":249976, + "firstspriteid":250198, + "lastspriteid":250233, "area":0 }, { "type":"sprite", "file":"sprites-91b85858e72be0df92cbc912e55b3cfa9af2d3ac7a48896d70ac138f4db4604f.bmp.lzma", "spritetype":3, - "firstspriteid":249977, - "lastspriteid":250012, + "firstspriteid":250234, + "lastspriteid":250269, "area":0 }, { "type":"sprite", "file":"sprites-02edbe8d28b7f6d4dbf2319ac8247cd87689768103f015990bf233d96a6fbae2.bmp.lzma", "spritetype":3, - "firstspriteid":250013, - "lastspriteid":250048, + "firstspriteid":250270, + "lastspriteid":250305, "area":0 }, { "type":"sprite", "file":"sprites-bf39a83fed0e988678d028ce8ef72d4ebf463ae235859b94e543bfdde4319a14.bmp.lzma", "spritetype":3, - "firstspriteid":250049, - "lastspriteid":250084, + "firstspriteid":250306, + "lastspriteid":250341, "area":0 }, { "type":"sprite", "file":"sprites-15786434dd6857486b5aaba254682a54ed430e7922e61ef150dc0bc01592d103.bmp.lzma", "spritetype":3, - "firstspriteid":250085, - "lastspriteid":250120, + "firstspriteid":250342, + "lastspriteid":250377, "area":0 }, { "type":"sprite", "file":"sprites-8d57020b33e48e2effa937ab580e94ca7dcfc96784a214a476050e836e383a66.bmp.lzma", "spritetype":3, - "firstspriteid":250121, - "lastspriteid":250156, + "firstspriteid":250378, + "lastspriteid":250413, "area":0 }, { "type":"sprite", "file":"sprites-b1acb8dea379019a6c2a1ac88cdfa44ccda15aace4dbe2f3260807f838e333ae.bmp.lzma", "spritetype":3, - "firstspriteid":250157, - "lastspriteid":250192, + "firstspriteid":250414, + "lastspriteid":250449, "area":0 }, { "type":"sprite", "file":"sprites-0da981ea4b33717317375bdf23c2479f348956864eea56a5e688fcb10e278e79.bmp.lzma", "spritetype":3, - "firstspriteid":250193, - "lastspriteid":250228, + "firstspriteid":250450, + "lastspriteid":250485, "area":0 }, { "type":"sprite", "file":"sprites-5b6b99bb11257d1bec166b21e9676b21aa7c07116d72182e5f2334f40f6bfb54.bmp.lzma", "spritetype":3, - "firstspriteid":250229, - "lastspriteid":250264, + "firstspriteid":250486, + "lastspriteid":250521, "area":0 }, { "type":"sprite", "file":"sprites-1c68b6e2774c32eae87281408f67f4f9299c19e39132e213223b1b8fb1f4c5c1.bmp.lzma", "spritetype":3, - "firstspriteid":250265, - "lastspriteid":250300, + "firstspriteid":250522, + "lastspriteid":250557, "area":0 }, { "type":"sprite", "file":"sprites-a0600123b5e9ca86a47f27f177acd282291249c8331eb9a4b1956aa58fa680b6.bmp.lzma", "spritetype":3, - "firstspriteid":250301, - "lastspriteid":250336, + "firstspriteid":250558, + "lastspriteid":250593, "area":0 }, { "type":"sprite", "file":"sprites-465f30c496a443dac1425885b91c9e04c45fc0d3421100adcc42b51dc7e78014.bmp.lzma", "spritetype":3, - "firstspriteid":250337, - "lastspriteid":250372, + "firstspriteid":250594, + "lastspriteid":250629, "area":0 }, { "type":"sprite", "file":"sprites-6c07c3a116ed8a840b06e60a1a8a8a51e45d7b6eb28b196ba0b1408773114aa9.bmp.lzma", "spritetype":3, - "firstspriteid":250373, - "lastspriteid":250408, + "firstspriteid":250630, + "lastspriteid":250665, "area":0 }, { "type":"sprite", "file":"sprites-96b20fac8954e4c44e3a01b420e710a32f2ebddf354b345608f6f57615e99795.bmp.lzma", "spritetype":3, - "firstspriteid":250409, - "lastspriteid":250444, + "firstspriteid":250666, + "lastspriteid":250701, "area":0 }, { "type":"sprite", "file":"sprites-f8f09bb946789298a4700d570d24d1f6cdc6b33c4402000faad84e9206ab3f4d.bmp.lzma", "spritetype":3, - "firstspriteid":250445, - "lastspriteid":250480, + "firstspriteid":250702, + "lastspriteid":250737, "area":0 }, { "type":"sprite", "file":"sprites-31af850f3302b1b801e10109dee79970339599b5c30dd1f005218d6c9668b6d5.bmp.lzma", "spritetype":3, - "firstspriteid":250481, - "lastspriteid":250516, + "firstspriteid":250738, + "lastspriteid":250773, "area":0 }, { "type":"sprite", "file":"sprites-eb1bf032a33338c90d98c14a2f72b711ddfbc5280d501a4639de55411024e51d.bmp.lzma", "spritetype":3, - "firstspriteid":250517, - "lastspriteid":250552, + "firstspriteid":250774, + "lastspriteid":250809, "area":0 }, { "type":"sprite", "file":"sprites-aa9b88edc198026e0eba7aba3fd5f7cda6bd7af0541a15b335c18f070b672010.bmp.lzma", "spritetype":3, - "firstspriteid":250553, - "lastspriteid":250588, + "firstspriteid":250810, + "lastspriteid":250845, "area":0 }, { "type":"sprite", "file":"sprites-32af5115dce469c48e4efac5ea1b7de0a9cb436bb281471f09b76d2bd30467f0.bmp.lzma", "spritetype":3, - "firstspriteid":250589, - "lastspriteid":250624, + "firstspriteid":250846, + "lastspriteid":250881, "area":0 }, { "type":"sprite", "file":"sprites-fbcfdc321eefb8f0942242f55a369f10f05d48b8984ed30f20d643e87c9e9ca3.bmp.lzma", "spritetype":3, - "firstspriteid":250625, - "lastspriteid":250660, + "firstspriteid":250882, + "lastspriteid":250917, "area":0 }, { "type":"sprite", "file":"sprites-19bbb3ed87f3e3feca492b9ba82e8a24da61b44b749383753595b5de220aae37.bmp.lzma", "spritetype":3, - "firstspriteid":250661, - "lastspriteid":250696, + "firstspriteid":250918, + "lastspriteid":250953, "area":0 }, { "type":"sprite", "file":"sprites-8239bd0903cc1a393118c711fd97bad2d811c46ddc5611f296d82d38ab48feb9.bmp.lzma", "spritetype":3, - "firstspriteid":250697, - "lastspriteid":250732, + "firstspriteid":250954, + "lastspriteid":250989, "area":0 }, { "type":"sprite", "file":"sprites-60e0a06d203088cf103ad28c433f9f1f3a881566f3e8b0f413a80a685ef14035.bmp.lzma", "spritetype":3, - "firstspriteid":250733, - "lastspriteid":250768, + "firstspriteid":250990, + "lastspriteid":251025, "area":0 }, { "type":"sprite", "file":"sprites-dd3c0e1d0382b4c47a70f450d58e6a9a5826fa053468fe16ffe577c9d400eb5a.bmp.lzma", "spritetype":3, - "firstspriteid":250769, - "lastspriteid":250804, + "firstspriteid":251026, + "lastspriteid":251061, "area":0 }, { "type":"sprite", "file":"sprites-a82ffd821b9b765b626c513f9ba6b611640b75d21123fbbc0f88a4547505535d.bmp.lzma", "spritetype":3, - "firstspriteid":250805, - "lastspriteid":250840, + "firstspriteid":251062, + "lastspriteid":251097, "area":0 }, { "type":"sprite", "file":"sprites-7a36f3881c5c601d3512c981a73616ec4f6e012f22328d04334b5ff399b51b6e.bmp.lzma", "spritetype":3, - "firstspriteid":250841, - "lastspriteid":250876, + "firstspriteid":251098, + "lastspriteid":251133, "area":0 }, { "type":"sprite", "file":"sprites-8f270cd25f45de46afa51a137b59663c1d15de0a4569ec8313ac8a7e0fcfd1b7.bmp.lzma", "spritetype":3, - "firstspriteid":250877, - "lastspriteid":250912, + "firstspriteid":251134, + "lastspriteid":251169, "area":0 }, { "type":"sprite", "file":"sprites-ab72bddf971928b6cfde56d6f883bba64d8592c941973bd60099910883220e9b.bmp.lzma", "spritetype":3, - "firstspriteid":250913, - "lastspriteid":250948, + "firstspriteid":251170, + "lastspriteid":251205, "area":0 }, { "type":"sprite", "file":"sprites-9bb45e4749432ce9e747b6ceb2aca2fb701096dd0226615547d111254447c75c.bmp.lzma", "spritetype":3, - "firstspriteid":250949, - "lastspriteid":250984, + "firstspriteid":251206, + "lastspriteid":251241, "area":0 }, { "type":"sprite", "file":"sprites-b632113d0d528a57452ac35c52a6af738b98a1a0df0f757b0856055001c3646b.bmp.lzma", "spritetype":3, - "firstspriteid":250985, - "lastspriteid":251020, + "firstspriteid":251242, + "lastspriteid":251277, "area":0 }, { "type":"sprite", "file":"sprites-341c94e2d639e5a97b055d0b26c15ec2c74e7aaf501baca8907a9d37d8de4075.bmp.lzma", "spritetype":3, - "firstspriteid":251021, - "lastspriteid":251056, + "firstspriteid":251278, + "lastspriteid":251313, "area":0 }, { "type":"sprite", "file":"sprites-f67066c314590f357e9a36c9711a8598d0bc383fb3cca42e576bdf6adefc0012.bmp.lzma", "spritetype":3, - "firstspriteid":251057, - "lastspriteid":251092, + "firstspriteid":251314, + "lastspriteid":251349, "area":0 }, { "type":"sprite", "file":"sprites-2c50074298b323a3dfce57025049c7256f5e254721bbf5b0bc0d259a001778cc.bmp.lzma", "spritetype":3, - "firstspriteid":251093, - "lastspriteid":251128, + "firstspriteid":251350, + "lastspriteid":251385, "area":0 }, { "type":"sprite", "file":"sprites-df89845fe9bf1a241c7384563dfa884219eab27e7685881c1065919830450df1.bmp.lzma", "spritetype":3, - "firstspriteid":251129, - "lastspriteid":251164, + "firstspriteid":251386, + "lastspriteid":251421, "area":0 }, { "type":"sprite", "file":"sprites-d03ee79e10bd234310bc5790c15e0dd87c6bf8ed5516938e0a47b866c40510cb.bmp.lzma", "spritetype":3, - "firstspriteid":251165, - "lastspriteid":251200, + "firstspriteid":251422, + "lastspriteid":251457, "area":0 }, { "type":"sprite", "file":"sprites-2cc88625aad4f30a777ba367559f647253647b9de4b98f9484307f6df073108c.bmp.lzma", "spritetype":3, - "firstspriteid":251201, - "lastspriteid":251236, + "firstspriteid":251458, + "lastspriteid":251493, "area":0 }, { "type":"sprite", "file":"sprites-040100cb5f2abfe3820fd8a91abf79ef7e25a3f02247470f4455a3ac2c63256e.bmp.lzma", "spritetype":3, - "firstspriteid":251237, - "lastspriteid":251272, + "firstspriteid":251494, + "lastspriteid":251529, "area":0 }, { "type":"sprite", "file":"sprites-df7bceb78bda64a7d1355760ef34da7485ba4c38f531e45b03ea4f4fdbb9b485.bmp.lzma", "spritetype":3, - "firstspriteid":251273, - "lastspriteid":251308, + "firstspriteid":251530, + "lastspriteid":251565, "area":0 }, { "type":"sprite", "file":"sprites-e524d9c1edf79b87e1591a2e59b5fc62e2415135418bf2de6a7ac7a2dfcae9b6.bmp.lzma", "spritetype":3, - "firstspriteid":251309, - "lastspriteid":251344, + "firstspriteid":251566, + "lastspriteid":251601, "area":0 }, { "type":"sprite", "file":"sprites-920ba51a19bf22c912f0368d233e5747c3b414b8d64b10e9ebf0ff7c5e263e15.bmp.lzma", "spritetype":3, - "firstspriteid":251345, - "lastspriteid":251380, + "firstspriteid":251602, + "lastspriteid":251637, "area":0 }, { "type":"sprite", "file":"sprites-0b1f36619bbdea6c22e4ac6bd346485f88e53b41244d5bb296309659cc67015f.bmp.lzma", "spritetype":3, - "firstspriteid":251381, - "lastspriteid":251416, + "firstspriteid":251638, + "lastspriteid":251673, "area":0 }, { "type":"sprite", "file":"sprites-9d0671bfff930ba95613a047f5c8983d1016f91923208622af0087c3ef479475.bmp.lzma", "spritetype":3, - "firstspriteid":251417, - "lastspriteid":251452, + "firstspriteid":251674, + "lastspriteid":251709, "area":0 }, { "type":"sprite", "file":"sprites-c398f07001e4103e6c9c57d6919f83e592bf8c529120c91fc0f1e5710fa54b13.bmp.lzma", "spritetype":3, - "firstspriteid":251453, - "lastspriteid":251488, + "firstspriteid":251710, + "lastspriteid":251745, "area":0 }, { "type":"sprite", "file":"sprites-ee4093d1131d513106b62edb1fa1792c2c3a35037c88d1c67e5d3035f3fff032.bmp.lzma", "spritetype":3, - "firstspriteid":251489, - "lastspriteid":251524, + "firstspriteid":251746, + "lastspriteid":251781, "area":0 }, { "type":"sprite", "file":"sprites-67f1024fc52c229452c8276881a9b805396861bc796bb2743e1c7797386b1574.bmp.lzma", "spritetype":3, - "firstspriteid":251525, - "lastspriteid":251560, + "firstspriteid":251782, + "lastspriteid":251817, "area":0 }, { "type":"sprite", "file":"sprites-e81f407547fc2a2fdd3e907415b88386ac3c87571acff4c1dfdd2898fe6c5962.bmp.lzma", "spritetype":3, - "firstspriteid":251561, - "lastspriteid":251596, + "firstspriteid":251818, + "lastspriteid":251853, "area":0 }, { "type":"sprite", "file":"sprites-51b73dd9e52c6bba293f63a6d33ac4ec984aaeceecf99f8b65d12f20d03fc259.bmp.lzma", "spritetype":3, - "firstspriteid":251597, - "lastspriteid":251632, + "firstspriteid":251854, + "lastspriteid":251889, "area":0 }, { "type":"sprite", "file":"sprites-7f4952a3a56240f68d4f623c5b81f6e563c8370d33ea59da7b53d2e7d52add9f.bmp.lzma", "spritetype":3, - "firstspriteid":251633, - "lastspriteid":251668, + "firstspriteid":251890, + "lastspriteid":251925, "area":0 }, { "type":"sprite", "file":"sprites-f4a6ea5ca34d322929abd9ad81485fe2637cb4ce15864e87fe1a7738114a7e3c.bmp.lzma", "spritetype":3, - "firstspriteid":251669, - "lastspriteid":251704, + "firstspriteid":251926, + "lastspriteid":251961, "area":0 }, { "type":"sprite", "file":"sprites-04405712ce3b4b9a6868bb27f6ed9ab2b0ec29e19fc8c556c46e04be40f5211a.bmp.lzma", "spritetype":3, - "firstspriteid":251705, - "lastspriteid":251740, + "firstspriteid":251962, + "lastspriteid":251997, "area":0 }, { "type":"sprite", "file":"sprites-62844bba363ce5a0abe68268d7c9b5b315dc02b9e05437e942598a16f3b3ecd1.bmp.lzma", "spritetype":3, - "firstspriteid":251741, - "lastspriteid":251776, + "firstspriteid":251998, + "lastspriteid":252033, "area":0 }, { "type":"sprite", "file":"sprites-a1000e950434c04fa303c97332c09dd3f59b21a1b784cf9658b383b4fc88805f.bmp.lzma", "spritetype":3, - "firstspriteid":251777, - "lastspriteid":251812, + "firstspriteid":252034, + "lastspriteid":252069, "area":0 }, { "type":"sprite", "file":"sprites-10640d39a4019bc74c8e493e9cc73e9774d55f45e9047d705836b204c77412ba.bmp.lzma", "spritetype":3, - "firstspriteid":251813, - "lastspriteid":251848, + "firstspriteid":252070, + "lastspriteid":252105, "area":0 }, { "type":"sprite", "file":"sprites-c68b68139c7292983789a1ea59b83f39974bb44a6b1e30534f02c8835ccf719f.bmp.lzma", "spritetype":3, - "firstspriteid":251849, - "lastspriteid":251884, + "firstspriteid":252106, + "lastspriteid":252141, "area":0 }, { "type":"sprite", "file":"sprites-736b0fae7f7b973f26e89ea597657e3e6be57a1859ddaaeb21e68c18d56bfe45.bmp.lzma", "spritetype":3, - "firstspriteid":251885, - "lastspriteid":251920, + "firstspriteid":252142, + "lastspriteid":252177, "area":0 }, { "type":"sprite", "file":"sprites-ac8c122796ac5bfeba824b51a97bd9e2072c02e8804834d00771e8f12e4942cd.bmp.lzma", "spritetype":3, - "firstspriteid":251921, - "lastspriteid":251956, + "firstspriteid":252178, + "lastspriteid":252213, "area":0 }, { "type":"sprite", "file":"sprites-d52cde59d063e012275ac032ffddf3b55f41dd1b91aea41406211e9254e5fcd1.bmp.lzma", "spritetype":3, - "firstspriteid":251957, - "lastspriteid":251992, + "firstspriteid":252214, + "lastspriteid":252249, "area":0 }, { "type":"sprite", "file":"sprites-89cf343b47904b917d39174718d4edbc01f2042b5a9592109f16b0ed8864a334.bmp.lzma", "spritetype":3, - "firstspriteid":251993, - "lastspriteid":252028, + "firstspriteid":252250, + "lastspriteid":252285, "area":0 }, { "type":"sprite", "file":"sprites-6e95e7d2987d46b8fb740754a92f501650f5279e3469f92ebc55b2d18fbeea72.bmp.lzma", "spritetype":3, - "firstspriteid":252029, - "lastspriteid":252064, + "firstspriteid":252286, + "lastspriteid":252321, "area":0 }, { "type":"sprite", "file":"sprites-38a888788e513df011d03169d38b136981a606df75a78941f20a3778f49a938a.bmp.lzma", "spritetype":3, - "firstspriteid":252065, - "lastspriteid":252100, + "firstspriteid":252322, + "lastspriteid":252357, "area":0 }, { "type":"sprite", "file":"sprites-d03ec8db534c3cad4ba0571873fd50d7891ecf6d4358399d1c000cb8ecb04e78.bmp.lzma", "spritetype":3, - "firstspriteid":252101, - "lastspriteid":252136, + "firstspriteid":252358, + "lastspriteid":252393, "area":0 }, { "type":"sprite", "file":"sprites-0ebb9067f5e6fc05c3c4c040f1d08a8e0b65fa973820c2dd74d1d31a5e3bf7a7.bmp.lzma", "spritetype":3, - "firstspriteid":252137, - "lastspriteid":252172, + "firstspriteid":252394, + "lastspriteid":252429, "area":0 }, { "type":"sprite", "file":"sprites-a55e5c9641d51526caba878fc063c1435771bb98295eb1742f04164cb81456eb.bmp.lzma", "spritetype":3, - "firstspriteid":252173, - "lastspriteid":252208, + "firstspriteid":252430, + "lastspriteid":252465, "area":0 }, { "type":"sprite", "file":"sprites-3c854be3017341506116ce76b0455b37bc9d7cfe6d296b1463d20c9acb7a4ae1.bmp.lzma", "spritetype":3, - "firstspriteid":252209, - "lastspriteid":252244, + "firstspriteid":252466, + "lastspriteid":252501, "area":0 }, { "type":"sprite", "file":"sprites-9af836da0f73c18affc1b0729789e81c5c9a4a0332e038a06b72d1d3dba15ed6.bmp.lzma", "spritetype":3, - "firstspriteid":252245, - "lastspriteid":252280, + "firstspriteid":252502, + "lastspriteid":252537, "area":0 }, { "type":"sprite", "file":"sprites-9ad4b8483d06944325279910436343fd75a23c13053a30f3d001b7393d953aa2.bmp.lzma", "spritetype":3, - "firstspriteid":252281, - "lastspriteid":252316, + "firstspriteid":252538, + "lastspriteid":252573, "area":0 }, { "type":"sprite", "file":"sprites-093a0174e1825f354cf78b0abcf5b08f4e5c3a7b78194286898a85b946a7ddb5.bmp.lzma", "spritetype":3, - "firstspriteid":252317, - "lastspriteid":252352, + "firstspriteid":252574, + "lastspriteid":252609, "area":0 }, { "type":"sprite", "file":"sprites-c595f8ed1b80e0d7d1252c9778417c2136369c88108672a2d91e22ac7ac4eda1.bmp.lzma", "spritetype":3, - "firstspriteid":252353, - "lastspriteid":252388, + "firstspriteid":252610, + "lastspriteid":252645, "area":0 }, { "type":"sprite", "file":"sprites-5b15c15e8ef3d09c141b0b39ee71ff99941d805233861e9a9cf943af9081a2ec.bmp.lzma", "spritetype":3, - "firstspriteid":252389, - "lastspriteid":252424, + "firstspriteid":252646, + "lastspriteid":252681, "area":0 }, { "type":"sprite", "file":"sprites-e6c965b54869dc78d07e4646f9743f64bf23a5763ed7a226478c0a4427c8b0f6.bmp.lzma", "spritetype":3, - "firstspriteid":252425, - "lastspriteid":252460, + "firstspriteid":252682, + "lastspriteid":252717, "area":0 }, { "type":"sprite", "file":"sprites-5ced53719941bdd07955cfef92679b90e82239f5499fc89534604b28acb3ec66.bmp.lzma", "spritetype":3, - "firstspriteid":252461, - "lastspriteid":252496, + "firstspriteid":252718, + "lastspriteid":252753, "area":0 }, { "type":"sprite", "file":"sprites-a9e7f4c1c32d5c5fcd447e3c7774dbeb66ce6606e4c29a4f468087a43c1b1888.bmp.lzma", "spritetype":3, - "firstspriteid":252497, - "lastspriteid":252532, + "firstspriteid":252754, + "lastspriteid":252789, "area":0 }, { "type":"sprite", "file":"sprites-694d871098075cc3b59c4bc52963a52c487a0732582e5da0c3118238a7a109ec.bmp.lzma", "spritetype":3, - "firstspriteid":252533, - "lastspriteid":252568, + "firstspriteid":252790, + "lastspriteid":252825, "area":0 }, { "type":"sprite", "file":"sprites-be528de52d182c7bc57bba4e09796b9c3204be92f82a5da52c44c41a390ad1cd.bmp.lzma", "spritetype":3, - "firstspriteid":252569, - "lastspriteid":252604, + "firstspriteid":252826, + "lastspriteid":252861, "area":0 }, { "type":"sprite", "file":"sprites-4d0894af29190fd5ac1296b7ee1e3d9c38d6ece84cefcdc53e1c48d7be63191a.bmp.lzma", "spritetype":3, - "firstspriteid":252605, - "lastspriteid":252640, + "firstspriteid":252862, + "lastspriteid":252897, "area":0 }, { "type":"sprite", "file":"sprites-f700c934943bc0cd58e4c82412b58e9530ca7d47b5fa22b5944d03d600c0996a.bmp.lzma", "spritetype":3, - "firstspriteid":252641, - "lastspriteid":252676, + "firstspriteid":252898, + "lastspriteid":252933, "area":0 }, { "type":"sprite", "file":"sprites-3d62008adc4e0aa3fb7490701d5dedbe2ce2b1fd90b9dc250803fda0ed5e3934.bmp.lzma", "spritetype":3, - "firstspriteid":252677, - "lastspriteid":252712, + "firstspriteid":252934, + "lastspriteid":252969, "area":0 }, { "type":"sprite", "file":"sprites-b4a1595000c85fc0bdf3930dd12145144e00472e0513ca05220481a0ba0d1d5d.bmp.lzma", "spritetype":3, - "firstspriteid":252713, - "lastspriteid":252748, + "firstspriteid":252970, + "lastspriteid":253005, "area":0 }, { "type":"sprite", "file":"sprites-3504cdf034e80022356ad7a58b4a2ceb8fb703de50afac4f1f27eecb2c93dfcc.bmp.lzma", "spritetype":3, - "firstspriteid":252749, - "lastspriteid":252784, + "firstspriteid":253006, + "lastspriteid":253041, "area":0 }, { "type":"sprite", "file":"sprites-4dfb6d66662d7d0eb789952ca0ecc00bad57a939c0908a85b71d32a4f268b800.bmp.lzma", "spritetype":3, - "firstspriteid":252785, - "lastspriteid":252820, + "firstspriteid":253042, + "lastspriteid":253077, "area":0 }, { "type":"sprite", "file":"sprites-5c2a643b8e7cbb217015cc77ae7151b11274c26c0c671550e450b7f90fdb54b9.bmp.lzma", "spritetype":3, - "firstspriteid":252821, - "lastspriteid":252856, + "firstspriteid":253078, + "lastspriteid":253113, "area":0 }, { "type":"sprite", "file":"sprites-af66b814b8f1c2307bcca536a7f805234c70c1bc43c8c00b265cfd160c1c589c.bmp.lzma", "spritetype":3, - "firstspriteid":252857, - "lastspriteid":252892, + "firstspriteid":253114, + "lastspriteid":253149, "area":0 }, { "type":"sprite", "file":"sprites-b7c4f5553ad744100c93f2e41abbe2c0733fd33bb745ee3ee9120543638d5360.bmp.lzma", "spritetype":3, - "firstspriteid":252893, - "lastspriteid":252928, + "firstspriteid":253150, + "lastspriteid":253185, "area":0 }, { "type":"sprite", "file":"sprites-fe1b4e1966293050c6906c3cf8eacc267e002d580c920d69e3c596d246ac41ba.bmp.lzma", "spritetype":3, - "firstspriteid":252929, - "lastspriteid":252964, + "firstspriteid":253186, + "lastspriteid":253221, "area":0 }, { "type":"sprite", "file":"sprites-088fce5f0099a8ca18d2701ca8c046e25ffc94b81619a197359ab7b459140f55.bmp.lzma", "spritetype":3, - "firstspriteid":252965, - "lastspriteid":253000, + "firstspriteid":253222, + "lastspriteid":253257, "area":0 }, { "type":"sprite", "file":"sprites-401532e12f2666cf52b1cd6510c141ac7da480c46a27b3550cbdab42ec0ccd7f.bmp.lzma", "spritetype":3, - "firstspriteid":253001, - "lastspriteid":253036, + "firstspriteid":253258, + "lastspriteid":253293, "area":0 }, { "type":"sprite", "file":"sprites-f638df8d17797e005457042ba6f490d0c4bd68b2ef31b8b10f7d01f8d0a1b23e.bmp.lzma", "spritetype":3, - "firstspriteid":253037, - "lastspriteid":253072, + "firstspriteid":253294, + "lastspriteid":253329, "area":0 }, { "type":"sprite", "file":"sprites-0b52816d5dd9842a333d858f3ed35bffcd7b1c5eb0ca2bb07137118e98bf2691.bmp.lzma", "spritetype":3, - "firstspriteid":253073, - "lastspriteid":253108, + "firstspriteid":253330, + "lastspriteid":253365, "area":0 }, { "type":"sprite", "file":"sprites-19a862ffab1e616899fe9c9df36d5cc31c1865cb321cdeda90e2a6ad4257cc96.bmp.lzma", "spritetype":3, - "firstspriteid":253109, - "lastspriteid":253144, + "firstspriteid":253366, + "lastspriteid":253401, "area":0 }, { "type":"sprite", "file":"sprites-c21234f8b880e47cdf21b1951c85305ebccf20c537883a8fdcc53d70401f8b6c.bmp.lzma", "spritetype":3, - "firstspriteid":253145, - "lastspriteid":253180, + "firstspriteid":253402, + "lastspriteid":253437, "area":0 }, { "type":"sprite", "file":"sprites-2036eb0a887973b73a4782ccc0f2a808096204f7391f848438281c3603613404.bmp.lzma", "spritetype":3, - "firstspriteid":253181, - "lastspriteid":253216, + "firstspriteid":253438, + "lastspriteid":253473, "area":0 }, { "type":"sprite", "file":"sprites-0a27912cd42902ad83d092ca37699ff0b12f800dce7137ba5ec812faf746be68.bmp.lzma", "spritetype":3, - "firstspriteid":253217, - "lastspriteid":253252, + "firstspriteid":253474, + "lastspriteid":253509, "area":0 }, { "type":"sprite", "file":"sprites-36308f50fbbc8242af702ddbd1397154455bdb1a4479a0e09f91a8cd397a68d2.bmp.lzma", "spritetype":3, - "firstspriteid":253253, - "lastspriteid":253288, + "firstspriteid":253510, + "lastspriteid":253545, "area":0 }, { "type":"sprite", "file":"sprites-582dc6abafc5ecb4e6c61e97672fb538ada49f9cd02b7ecfd1d0f5b565183eae.bmp.lzma", "spritetype":3, - "firstspriteid":253289, - "lastspriteid":253324, + "firstspriteid":253546, + "lastspriteid":253581, "area":0 }, { "type":"sprite", "file":"sprites-018590089dee010348bcc809c5de5c4a7cc3b5ef29a19281f81d4f235779f17d.bmp.lzma", "spritetype":3, - "firstspriteid":253325, - "lastspriteid":253360, + "firstspriteid":253582, + "lastspriteid":253617, "area":0 }, { "type":"sprite", "file":"sprites-7288d8efd7ac8ae7089fb4f0e53bac257677f0734bf35c3c3f73f118c84b3675.bmp.lzma", "spritetype":3, - "firstspriteid":253361, - "lastspriteid":253396, + "firstspriteid":253618, + "lastspriteid":253653, "area":0 }, { "type":"sprite", "file":"sprites-203d1b4029853caac81ba6ce74439c23288d2d187a46cd7ad38a13f4576e5df3.bmp.lzma", "spritetype":3, - "firstspriteid":253397, - "lastspriteid":253432, + "firstspriteid":253654, + "lastspriteid":253689, "area":0 }, { "type":"sprite", "file":"sprites-33da12a99be4304a81f2bbc1756fc671d0a152f2cbde83ca233a8f0cb461a8fc.bmp.lzma", "spritetype":3, - "firstspriteid":253433, - "lastspriteid":253468, + "firstspriteid":253690, + "lastspriteid":253725, "area":0 }, { "type":"sprite", "file":"sprites-f59cc2e6e37f84f656bbff05ed29bab0e3841be376b7e1e87ae97302402cf21b.bmp.lzma", "spritetype":3, - "firstspriteid":253469, - "lastspriteid":253504, + "firstspriteid":253726, + "lastspriteid":253761, "area":0 }, { "type":"sprite", "file":"sprites-4280cb159b67d14950e730c3aca69c76313db934ca235a7d4d53bd2c0f2969b2.bmp.lzma", "spritetype":3, - "firstspriteid":253505, - "lastspriteid":253540, + "firstspriteid":253762, + "lastspriteid":253797, "area":0 }, { "type":"sprite", "file":"sprites-a2b0b2ac16b20f32cab0bf658dd7ee87d20b636e0378bd2217d8a4af69c73085.bmp.lzma", "spritetype":3, - "firstspriteid":253541, - "lastspriteid":253576, + "firstspriteid":253798, + "lastspriteid":253833, "area":0 }, { "type":"sprite", "file":"sprites-95455d8126969c21d69d84fc43d563e9b56e0a2a3797a8de621782facfb29c35.bmp.lzma", "spritetype":3, - "firstspriteid":253577, - "lastspriteid":253612, + "firstspriteid":253834, + "lastspriteid":253869, "area":0 }, { "type":"sprite", "file":"sprites-059013c33e27bc4d05acf923b49662674eb7c9ffe3889ee5b2c9670eb31bf580.bmp.lzma", "spritetype":3, - "firstspriteid":253613, - "lastspriteid":253648, + "firstspriteid":253870, + "lastspriteid":253905, "area":0 }, { "type":"sprite", "file":"sprites-dd026b2f89065d1e9df5f4a83a68d0a2566d599fd53ee48f0afdf27b0f191ceb.bmp.lzma", "spritetype":3, - "firstspriteid":253649, - "lastspriteid":253684, + "firstspriteid":253906, + "lastspriteid":253941, "area":0 }, { "type":"sprite", "file":"sprites-0da7d521d4d0169045613136911e5ea65b2291f1c3c5e95bdb686e2197839536.bmp.lzma", "spritetype":3, - "firstspriteid":253685, - "lastspriteid":253720, + "firstspriteid":253942, + "lastspriteid":253977, "area":0 }, { "type":"sprite", "file":"sprites-3cda78c73b1d0b379b92a32eb6125c11324f57f9877746f5613360c0d64d6e60.bmp.lzma", "spritetype":3, - "firstspriteid":253721, - "lastspriteid":253756, + "firstspriteid":253978, + "lastspriteid":254013, "area":0 }, { "type":"sprite", "file":"sprites-1218d9c50d400766aaccbcf7bdf0242ecfe7ab6c3a1ee27ae9df428f3a227c8c.bmp.lzma", "spritetype":3, - "firstspriteid":253757, - "lastspriteid":253792, + "firstspriteid":254014, + "lastspriteid":254049, "area":0 }, { "type":"sprite", "file":"sprites-383e25ab85cef48bf830924f60c24805935505f139230d847c5cb4bf462afa00.bmp.lzma", "spritetype":3, - "firstspriteid":253793, - "lastspriteid":253828, + "firstspriteid":254050, + "lastspriteid":254085, "area":0 }, { "type":"sprite", "file":"sprites-8c37e314a05ac64365ccb114fc9ff6ee61865a7b7dbbe0fe4981ac226bcf53f8.bmp.lzma", "spritetype":3, - "firstspriteid":253829, - "lastspriteid":253864, + "firstspriteid":254086, + "lastspriteid":254121, "area":0 }, { "type":"sprite", "file":"sprites-4fd5aba9e37e62c1db68c738043548cdde8989a93958690d7554d6c06339aadb.bmp.lzma", "spritetype":3, - "firstspriteid":253865, - "lastspriteid":253900, + "firstspriteid":254122, + "lastspriteid":254157, "area":0 }, { "type":"sprite", "file":"sprites-e8f3c5d245538eb9d13d071729bce14395c25659b4ee9e9ddc2ef591f64b5c98.bmp.lzma", "spritetype":3, - "firstspriteid":253901, - "lastspriteid":253936, + "firstspriteid":254158, + "lastspriteid":254193, "area":0 }, { "type":"sprite", "file":"sprites-67879d1ccdd54f38c4ee86511f0ae143636c2080815195c66ede970d5538cf71.bmp.lzma", "spritetype":3, - "firstspriteid":253937, - "lastspriteid":253972, + "firstspriteid":254194, + "lastspriteid":254229, "area":0 }, { "type":"sprite", "file":"sprites-8486eb896655222d44d619684b4f8b08b232380ccdf852321a0a02706e6b2e46.bmp.lzma", "spritetype":3, - "firstspriteid":253973, - "lastspriteid":254008, + "firstspriteid":254230, + "lastspriteid":254265, "area":0 }, { "type":"sprite", "file":"sprites-392d2b89250ded4e9ca13ef3606579f4a897b96585a029a62fce80a50a33f401.bmp.lzma", "spritetype":3, - "firstspriteid":254009, - "lastspriteid":254044, + "firstspriteid":254266, + "lastspriteid":254301, "area":0 }, { "type":"sprite", "file":"sprites-7f8b6b2f360a6967b60bbe864a78ee5e514367ed748e2a55b466bbfa45a28ba9.bmp.lzma", "spritetype":3, - "firstspriteid":254045, - "lastspriteid":254080, + "firstspriteid":254302, + "lastspriteid":254337, "area":0 }, { "type":"sprite", "file":"sprites-3cd8420d662154faaa4cf8bc8cd6c7f6c92e7ca9037d0360d36644b09a9de96c.bmp.lzma", "spritetype":3, - "firstspriteid":254081, - "lastspriteid":254116, + "firstspriteid":254338, + "lastspriteid":254373, "area":0 }, { "type":"sprite", "file":"sprites-7e83200504497f7b29ac364a276ec16300678002cb97f6171fe3386ef1d54fe2.bmp.lzma", "spritetype":3, - "firstspriteid":254117, - "lastspriteid":254152, + "firstspriteid":254374, + "lastspriteid":254409, "area":0 }, { "type":"sprite", "file":"sprites-7da5854732441ea9b32e69ba971d4934e6334350b634bf2fbcdbc02ce79336eb.bmp.lzma", "spritetype":3, - "firstspriteid":254153, - "lastspriteid":254188, + "firstspriteid":254410, + "lastspriteid":254445, "area":0 }, { "type":"sprite", "file":"sprites-45d05a9ab79f74bb0b55979a80d5c1584b4f17fb16e077e3d232b6763dcaa783.bmp.lzma", "spritetype":3, - "firstspriteid":254189, - "lastspriteid":254224, + "firstspriteid":254446, + "lastspriteid":254481, "area":0 }, { "type":"sprite", "file":"sprites-8767d071327158f91cc3d4aafd893b5c3b6bdf814006fcce26b24a93f8238d85.bmp.lzma", "spritetype":3, - "firstspriteid":254225, - "lastspriteid":254260, + "firstspriteid":254482, + "lastspriteid":254517, "area":0 }, { "type":"sprite", "file":"sprites-66c267d4ae625f37df2f628eebf73e8fce793efee7f902c9e930f45c2d0d0e6b.bmp.lzma", "spritetype":3, - "firstspriteid":254261, - "lastspriteid":254296, + "firstspriteid":254518, + "lastspriteid":254553, "area":0 }, { "type":"sprite", "file":"sprites-2871d4a26af1171a7fa416ab6005fe2189453de44dca875242bd58d24b358e4b.bmp.lzma", "spritetype":3, - "firstspriteid":254297, - "lastspriteid":254332, + "firstspriteid":254554, + "lastspriteid":254589, "area":0 }, { "type":"sprite", "file":"sprites-52dc24accb99bfac90735c9bfceceaea43492fed88e652f3de4474e726370920.bmp.lzma", "spritetype":3, - "firstspriteid":254333, - "lastspriteid":254368, + "firstspriteid":254590, + "lastspriteid":254625, "area":0 }, { "type":"sprite", "file":"sprites-b39664f7ad68efbd8280ad5709bc9d2208b1f190a3a90a070e8b60be449581ee.bmp.lzma", "spritetype":3, - "firstspriteid":254369, - "lastspriteid":254404, + "firstspriteid":254626, + "lastspriteid":254661, "area":0 }, { "type":"sprite", "file":"sprites-3983131940d498c430fc46bee524815c1da9be4234e4f7b1360cf600e962ff77.bmp.lzma", "spritetype":3, - "firstspriteid":254405, - "lastspriteid":254440, + "firstspriteid":254662, + "lastspriteid":254697, "area":0 }, { "type":"sprite", "file":"sprites-c9c69f49290416df8901e10d2ee668f81a1f7100a4e673ece74b2f7c5dedc5a8.bmp.lzma", "spritetype":3, - "firstspriteid":254441, - "lastspriteid":254476, + "firstspriteid":254698, + "lastspriteid":254733, "area":0 }, { "type":"sprite", "file":"sprites-0f4670ac2f1c0a93fa19b588069e150b1eff17310d7ceff9cbb3c4036f97e31c.bmp.lzma", "spritetype":3, - "firstspriteid":254477, - "lastspriteid":254512, + "firstspriteid":254734, + "lastspriteid":254769, "area":0 }, { "type":"sprite", "file":"sprites-9c0f59448480d71017da9d85f3641b509d9db629df44288dd55f366ca98e70d9.bmp.lzma", "spritetype":3, - "firstspriteid":254513, - "lastspriteid":254548, + "firstspriteid":254770, + "lastspriteid":254805, "area":0 }, { "type":"sprite", "file":"sprites-4ff73e855d451a8eecf4b42560270af3b48abe2e77c21c877cd4828a6a52ed66.bmp.lzma", "spritetype":3, - "firstspriteid":254549, - "lastspriteid":254584, + "firstspriteid":254806, + "lastspriteid":254841, "area":0 }, { "type":"sprite", "file":"sprites-73b935a83270f7c08e33f87b024a8b1fb571825e8b44d7d030939c1943b5e121.bmp.lzma", "spritetype":3, - "firstspriteid":254585, - "lastspriteid":254620, + "firstspriteid":254842, + "lastspriteid":254877, "area":0 }, { "type":"sprite", "file":"sprites-8a35e85d58ccc7ed5012e895e22f5d9f29e4923a5fc4f5376abf0183074d6302.bmp.lzma", "spritetype":3, - "firstspriteid":254621, - "lastspriteid":254656, + "firstspriteid":254878, + "lastspriteid":254913, "area":0 }, { "type":"sprite", "file":"sprites-c1c0e6cdc7c05de30f394d07ecf4c52381740d09f6411cef6f251b6cb61fc3ff.bmp.lzma", "spritetype":3, - "firstspriteid":254657, - "lastspriteid":254692, + "firstspriteid":254914, + "lastspriteid":254949, "area":0 }, { "type":"sprite", "file":"sprites-9e10003a8fce3aa0cef8ba7cde1a1af2854d546cd673f635a80c4f40b328535d.bmp.lzma", "spritetype":3, - "firstspriteid":254693, - "lastspriteid":254728, + "firstspriteid":254950, + "lastspriteid":254985, "area":0 }, { "type":"sprite", "file":"sprites-c049cd19cc282141864de2ac8491bb6a87d076327990da1227e211c261b8ba04.bmp.lzma", "spritetype":3, - "firstspriteid":254729, - "lastspriteid":254764, + "firstspriteid":254986, + "lastspriteid":255021, "area":0 }, { "type":"sprite", "file":"sprites-9c7efc9c17b6f361ea289d36038310a4d7802d24723a996e0396dcc0d88fd054.bmp.lzma", "spritetype":3, - "firstspriteid":254765, - "lastspriteid":254800, + "firstspriteid":255022, + "lastspriteid":255057, "area":0 }, { "type":"sprite", "file":"sprites-63a91b7723c86170108e6d5c3808819358d41bafe61ddd91439c956a7138f49c.bmp.lzma", "spritetype":3, - "firstspriteid":254801, - "lastspriteid":254836, + "firstspriteid":255058, + "lastspriteid":255093, "area":0 }, { "type":"sprite", "file":"sprites-1d2f303ee3dc9f53f1831057a23610b1330d089c6d4ba4dcc3e8574737222c66.bmp.lzma", "spritetype":3, - "firstspriteid":254837, - "lastspriteid":254872, + "firstspriteid":255094, + "lastspriteid":255129, "area":0 }, { "type":"sprite", "file":"sprites-d75c0a2e4d7ffb05cc7b10a0395358eaf7f56becdee07c6b9652d29975232f71.bmp.lzma", "spritetype":3, - "firstspriteid":254873, - "lastspriteid":254908, + "firstspriteid":255130, + "lastspriteid":255165, "area":0 }, { "type":"sprite", "file":"sprites-723a65249f504ae28af3f1068125199d69e65f46fe0499001823468d54ebddc0.bmp.lzma", "spritetype":3, - "firstspriteid":254909, - "lastspriteid":254944, + "firstspriteid":255166, + "lastspriteid":255201, "area":0 }, { "type":"sprite", "file":"sprites-c7db9c7a6983496d72762098386aa8067d3561203657891ad788ddfda0350dc4.bmp.lzma", "spritetype":3, - "firstspriteid":254945, - "lastspriteid":254980, + "firstspriteid":255202, + "lastspriteid":255237, "area":0 }, { "type":"sprite", "file":"sprites-448e1aa8fbd02feab4c9c8ae5ab607dbff73c296d830794ba3ea0e9a48cbfdba.bmp.lzma", "spritetype":3, - "firstspriteid":254981, - "lastspriteid":255016, + "firstspriteid":255238, + "lastspriteid":255273, "area":0 }, { "type":"sprite", "file":"sprites-3cc49d5338475cb942c52728f949bec655114d0162beee92bac3746768c837e2.bmp.lzma", "spritetype":3, - "firstspriteid":255017, - "lastspriteid":255052, + "firstspriteid":255274, + "lastspriteid":255309, "area":0 }, { "type":"sprite", "file":"sprites-a5c673f36accc9d5f6eac26f0b30f0285350681c952d65b03a661cb7570d1c2a.bmp.lzma", "spritetype":3, - "firstspriteid":255053, - "lastspriteid":255088, + "firstspriteid":255310, + "lastspriteid":255345, "area":0 }, { "type":"sprite", "file":"sprites-fd2c4a4f401a2a6f1b402fb959f4a8b83493e53464694c4898aec65d5dddf7d9.bmp.lzma", "spritetype":3, - "firstspriteid":255089, - "lastspriteid":255124, + "firstspriteid":255346, + "lastspriteid":255381, "area":0 }, { "type":"sprite", "file":"sprites-27b47e6836506041e5e5979f06a31915d591b7af3ef147abe52339ab0d0b541f.bmp.lzma", "spritetype":3, - "firstspriteid":255125, - "lastspriteid":255160, + "firstspriteid":255382, + "lastspriteid":255417, "area":0 }, { "type":"sprite", "file":"sprites-dfdac05e978c40b2eb30e713f3ef7c8918b33e435f85ecc7329ed1e2ed3779ad.bmp.lzma", "spritetype":3, - "firstspriteid":255161, - "lastspriteid":255196, + "firstspriteid":255418, + "lastspriteid":255453, "area":0 }, { "type":"sprite", "file":"sprites-50114a9da8d6ba388c8c82e01a12ede519b8a8610315b2682cd7c13d8f7547d8.bmp.lzma", "spritetype":3, - "firstspriteid":255197, - "lastspriteid":255232, + "firstspriteid":255454, + "lastspriteid":255489, "area":0 }, { "type":"sprite", "file":"sprites-835b45c73d745beb321678d7a06d2d0a814c731b6f9e6e3e70681a0965362ebd.bmp.lzma", "spritetype":3, - "firstspriteid":255233, - "lastspriteid":255268, + "firstspriteid":255490, + "lastspriteid":255525, "area":0 }, { "type":"sprite", "file":"sprites-be267fe65c626230c6a681fb6325098bce4966deec3cc8886ad5e5847c3afc7a.bmp.lzma", "spritetype":3, - "firstspriteid":255269, - "lastspriteid":255304, + "firstspriteid":255526, + "lastspriteid":255561, "area":0 }, { "type":"sprite", "file":"sprites-94abeca9bba1466793c4ac9e1376bc16d29e884158ce498774cba660d7c44dfc.bmp.lzma", "spritetype":3, - "firstspriteid":255305, - "lastspriteid":255340, + "firstspriteid":255562, + "lastspriteid":255597, "area":0 }, { "type":"sprite", "file":"sprites-10f28000159877d19928d246224f8a686998b68221b2bf411301f5c56533f34e.bmp.lzma", "spritetype":3, - "firstspriteid":255341, - "lastspriteid":255376, + "firstspriteid":255598, + "lastspriteid":255633, "area":0 }, { "type":"sprite", "file":"sprites-a88c15ee3ca78b2b49ee68a0eda81768cb6ff4d230c60d3878c13110a46b708a.bmp.lzma", "spritetype":3, - "firstspriteid":255377, - "lastspriteid":255412, + "firstspriteid":255634, + "lastspriteid":255669, "area":0 }, { "type":"sprite", "file":"sprites-b2a0dac71ee82ba9a996af5c33ebdad8c38194dfc69b21405af939710fea9525.bmp.lzma", "spritetype":3, - "firstspriteid":255413, - "lastspriteid":255448, + "firstspriteid":255670, + "lastspriteid":255705, "area":0 }, { "type":"sprite", "file":"sprites-ba6ac43631e70151c22774ff65ca26e7c2a199cdf5bd3b607335c75d1cf6e71f.bmp.lzma", "spritetype":3, - "firstspriteid":255449, - "lastspriteid":255484, + "firstspriteid":255706, + "lastspriteid":255741, "area":0 }, { "type":"sprite", "file":"sprites-5f062e8eacd261de94173b93086a912027f43ea61ba50e3e9c2d288a0b9f6838.bmp.lzma", "spritetype":3, - "firstspriteid":255485, - "lastspriteid":255520, + "firstspriteid":255742, + "lastspriteid":255777, "area":0 }, { "type":"sprite", "file":"sprites-ee85a534285d8254b18183dba0c126d51beffff2161e1d46f25e87b39d5d3e3b.bmp.lzma", "spritetype":3, - "firstspriteid":255521, - "lastspriteid":255556, + "firstspriteid":255778, + "lastspriteid":255813, "area":0 }, { "type":"sprite", "file":"sprites-412b8d14716c998bee428bbc66128f8dc9833d08867735cf0736b42e7144a387.bmp.lzma", "spritetype":3, - "firstspriteid":255557, - "lastspriteid":255592, + "firstspriteid":255814, + "lastspriteid":255849, "area":0 }, { "type":"sprite", "file":"sprites-c357305e8c714fa7ae3597ba4fc12c3d7a30af80e1625bc032fbf621f4cc4014.bmp.lzma", "spritetype":3, - "firstspriteid":255593, - "lastspriteid":255628, + "firstspriteid":255850, + "lastspriteid":255885, "area":0 }, { "type":"sprite", "file":"sprites-856348acc3dfe75c3fea8fc89ce98a1a9019baebe54dfe90a35755e0380e61f9.bmp.lzma", "spritetype":3, - "firstspriteid":255629, - "lastspriteid":255664, + "firstspriteid":255886, + "lastspriteid":255921, "area":0 }, { "type":"sprite", "file":"sprites-a24d4b11f610121f0359ce82fe059f8fcdb76c4bd2859e701f68b361eba5306d.bmp.lzma", "spritetype":3, - "firstspriteid":255665, - "lastspriteid":255700, + "firstspriteid":255922, + "lastspriteid":255957, "area":0 }, { "type":"sprite", "file":"sprites-8d522fcfaf85b34e09e8b3c8d3480c7cd821c6d4d7f3b12f7fcd7ccded510d8f.bmp.lzma", "spritetype":3, - "firstspriteid":255701, - "lastspriteid":255736, + "firstspriteid":255958, + "lastspriteid":255993, "area":0 }, { "type":"sprite", "file":"sprites-69e1fa9b4a11ad62acc895a238d51a900631955f28b73ca154eba9c451ffa19f.bmp.lzma", "spritetype":3, - "firstspriteid":255737, - "lastspriteid":255772, + "firstspriteid":255994, + "lastspriteid":256029, "area":0 }, { "type":"sprite", "file":"sprites-b2d98d48564932867ba6d824fe9fe458df235551fa59b6def502c8a2b57275f7.bmp.lzma", "spritetype":3, - "firstspriteid":255773, - "lastspriteid":255808, + "firstspriteid":256030, + "lastspriteid":256065, "area":0 }, { "type":"sprite", "file":"sprites-e0e44ed9a4adf8f093f24cdcd7f01f25dfc1eeb7a1e79e200605625316619879.bmp.lzma", "spritetype":3, - "firstspriteid":255809, - "lastspriteid":255844, + "firstspriteid":256066, + "lastspriteid":256101, "area":0 }, { "type":"sprite", "file":"sprites-d3019baf1097da60cb7fad63668cb8644bb66461f892cbc36920a6ebe0bce880.bmp.lzma", "spritetype":3, - "firstspriteid":255845, - "lastspriteid":255880, + "firstspriteid":256102, + "lastspriteid":256137, "area":0 }, { "type":"sprite", "file":"sprites-92583dd7abe4f8b4f393e4c96286b832a30fae4d7bbe24716b64728727cd57d8.bmp.lzma", "spritetype":3, - "firstspriteid":255881, - "lastspriteid":255916, + "firstspriteid":256138, + "lastspriteid":256173, "area":0 }, { "type":"sprite", "file":"sprites-e1d2504524794f59bf116996a8fd108b8820ba26dbf34db23482016f302fe8bc.bmp.lzma", "spritetype":3, - "firstspriteid":255917, - "lastspriteid":255952, + "firstspriteid":256174, + "lastspriteid":256209, "area":0 }, { "type":"sprite", "file":"sprites-f8715a1d22a05940c7b89005cf807d827fbe528fd214c9259973dd2f5411a8d7.bmp.lzma", "spritetype":3, - "firstspriteid":255953, - "lastspriteid":255988, + "firstspriteid":256210, + "lastspriteid":256245, "area":0 }, { "type":"sprite", "file":"sprites-4d41e6e7080b47ac036fcc1bf17a6ddde60ce2515fd8a6300391d934554e3d65.bmp.lzma", "spritetype":3, - "firstspriteid":255989, - "lastspriteid":256024, + "firstspriteid":256246, + "lastspriteid":256281, "area":0 }, { "type":"sprite", "file":"sprites-1fc6de5f6c9bed59c28a351b6033e852719b0a7b18eb1790835970287046df80.bmp.lzma", "spritetype":3, - "firstspriteid":256025, - "lastspriteid":256060, + "firstspriteid":256282, + "lastspriteid":256317, "area":0 }, { "type":"sprite", "file":"sprites-5bec863d1d3130ea42933cc26fb21cc3d7cec4d2645f700129af3f8a58c803b7.bmp.lzma", "spritetype":3, - "firstspriteid":256061, - "lastspriteid":256096, + "firstspriteid":256318, + "lastspriteid":256353, "area":0 }, { "type":"sprite", "file":"sprites-68d5e4023de94570df83e6d0188fc088beb580ecd4e2a1554996904ee6fee4d5.bmp.lzma", "spritetype":3, - "firstspriteid":256097, - "lastspriteid":256132, + "firstspriteid":256354, + "lastspriteid":256389, "area":0 }, { "type":"sprite", "file":"sprites-59dcdbce005c44bbb6ae6e562ed7fa44ffd9b61bba7b3ec76b8298ad6cdb8780.bmp.lzma", "spritetype":3, - "firstspriteid":256133, - "lastspriteid":256168, + "firstspriteid":256390, + "lastspriteid":256425, "area":0 }, { "type":"sprite", "file":"sprites-74b550a13e68c215a9e86a43067f7145d70ce3445253105e6639f5939403097f.bmp.lzma", "spritetype":3, - "firstspriteid":256169, - "lastspriteid":256204, + "firstspriteid":256426, + "lastspriteid":256461, "area":0 }, { "type":"sprite", "file":"sprites-5ca712646a5cc8488f318eabb43e279a53542977862be2971827dda487e1beea.bmp.lzma", "spritetype":3, - "firstspriteid":256205, - "lastspriteid":256240, + "firstspriteid":256462, + "lastspriteid":256497, "area":0 }, { "type":"sprite", "file":"sprites-fbc0ddff7c6ff469dc7b0b727676207d023341c08dba001045934802e6a91b89.bmp.lzma", "spritetype":3, - "firstspriteid":256241, - "lastspriteid":256276, + "firstspriteid":256498, + "lastspriteid":256533, "area":0 }, { "type":"sprite", "file":"sprites-5ed5a6f42d79f50f06a975edf282b266c63270219dabedfd6c4085f952be5634.bmp.lzma", "spritetype":3, - "firstspriteid":256277, - "lastspriteid":256312, + "firstspriteid":256534, + "lastspriteid":256569, "area":0 }, { "type":"sprite", "file":"sprites-2d5319b91f2423f419acf7a315dd5fd714a21f35415442f2645b702a25434a5c.bmp.lzma", "spritetype":3, - "firstspriteid":256313, - "lastspriteid":256348, + "firstspriteid":256570, + "lastspriteid":256605, "area":0 }, { "type":"sprite", "file":"sprites-c6cc8ee254f554cc90f867ef8041950ede866dbd2e8e5d9f5e9485ce81e2907a.bmp.lzma", "spritetype":3, - "firstspriteid":256349, - "lastspriteid":256384, + "firstspriteid":256606, + "lastspriteid":256641, "area":0 }, { "type":"sprite", "file":"sprites-afa53371016e5394067421dc4a97b8a492b6d8b2b8c82f11c912aafa79a51d87.bmp.lzma", "spritetype":3, - "firstspriteid":256385, - "lastspriteid":256420, + "firstspriteid":256642, + "lastspriteid":256677, "area":0 }, { "type":"sprite", "file":"sprites-b1707f6d279e7458f4f30f9fdd68ae08cf694c94b440e7c740d712ce776abac2.bmp.lzma", "spritetype":3, - "firstspriteid":256421, - "lastspriteid":256456, + "firstspriteid":256678, + "lastspriteid":256713, "area":0 }, { "type":"sprite", "file":"sprites-974d9f298bcf9db66e84cf946c37283d2a25fb7baef0aa213301244b33729049.bmp.lzma", "spritetype":3, - "firstspriteid":256457, - "lastspriteid":256492, + "firstspriteid":256714, + "lastspriteid":256749, "area":0 }, { "type":"sprite", "file":"sprites-8ee7c8c713909015e292e1f45894a9aa89e75a32c1507df17f39fd01493dbb87.bmp.lzma", "spritetype":3, - "firstspriteid":256493, - "lastspriteid":256528, + "firstspriteid":256750, + "lastspriteid":256785, "area":0 }, { "type":"sprite", "file":"sprites-ae15da7cde8d99b42ad98f2d5431b7f0dec5439501c35372df34f909cb0bc5d5.bmp.lzma", "spritetype":3, - "firstspriteid":256529, - "lastspriteid":256564, + "firstspriteid":256786, + "lastspriteid":256821, "area":0 }, { "type":"sprite", "file":"sprites-76ab8304c25716b438fe1961f4542367ce0259367e35f9408909adaee34f13c3.bmp.lzma", "spritetype":3, - "firstspriteid":256565, - "lastspriteid":256600, + "firstspriteid":256822, + "lastspriteid":256857, "area":0 }, { "type":"sprite", "file":"sprites-294e5fda72b29774a497c5d5e859705d21227fd1eabe31b901cf7acb260c2c4c.bmp.lzma", "spritetype":3, - "firstspriteid":256601, - "lastspriteid":256636, + "firstspriteid":256858, + "lastspriteid":256893, "area":0 }, { "type":"sprite", "file":"sprites-b37f7bb2ae6d87f0746ae9a6de1f891e30e876f279175951b0995bac7f66aa84.bmp.lzma", "spritetype":3, - "firstspriteid":256637, - "lastspriteid":256672, + "firstspriteid":256894, + "lastspriteid":256929, "area":0 }, { "type":"sprite", "file":"sprites-e345b1a6b0f06d027289754cc67a509c3fe11fff501e4794ea4c7c1d7d431f9e.bmp.lzma", "spritetype":3, - "firstspriteid":256673, - "lastspriteid":256708, + "firstspriteid":256930, + "lastspriteid":256965, "area":0 }, { "type":"sprite", "file":"sprites-977bb5c600a57324bc8ac17c37edb706f6cc8ddc6f2c45043c860a31e61b0a8a.bmp.lzma", "spritetype":3, - "firstspriteid":256709, - "lastspriteid":256744, + "firstspriteid":256966, + "lastspriteid":257001, "area":0 }, { "type":"sprite", "file":"sprites-93791266705b408fdf0f387de24fe3056e9c75fb477ca8dee7793ef3d378a1b8.bmp.lzma", "spritetype":3, - "firstspriteid":256745, - "lastspriteid":256780, + "firstspriteid":257002, + "lastspriteid":257037, "area":0 }, { "type":"sprite", "file":"sprites-33cee603e591e5527c17a0506ccd6cf2391b1f8b78112e8a70da9ceaeb3fce30.bmp.lzma", "spritetype":3, - "firstspriteid":256781, - "lastspriteid":256816, + "firstspriteid":257038, + "lastspriteid":257073, "area":0 }, { "type":"sprite", "file":"sprites-08ee7ff8a9e3db276142f16dfdc4037ec1356dca1ae3ab723e25e7ff902301aa.bmp.lzma", "spritetype":3, - "firstspriteid":256817, - "lastspriteid":256852, + "firstspriteid":257074, + "lastspriteid":257109, "area":0 }, { "type":"sprite", "file":"sprites-864b01efbd224537c0b439dfc694cde5dfc1f24b3b76ce6aab24136d3d39eb8b.bmp.lzma", "spritetype":3, - "firstspriteid":256853, - "lastspriteid":256888, + "firstspriteid":257110, + "lastspriteid":257145, "area":0 }, { "type":"sprite", "file":"sprites-fdda4b853cbc32fb5a634127c7e959f124aa1b3d73dd37f27f0630ce06982d03.bmp.lzma", "spritetype":3, - "firstspriteid":256889, - "lastspriteid":256924, + "firstspriteid":257146, + "lastspriteid":257181, "area":0 }, { "type":"sprite", "file":"sprites-ccce420385f3e56a1c64f4a191760130a41729db5dd38a237c507fbed0b98412.bmp.lzma", "spritetype":3, - "firstspriteid":256925, - "lastspriteid":256960, + "firstspriteid":257182, + "lastspriteid":257217, "area":0 }, { "type":"sprite", "file":"sprites-1fa88481ae914aca0498bdc7ba56df276e1455aaa441474149e87f9af88c5de2.bmp.lzma", "spritetype":3, - "firstspriteid":256961, - "lastspriteid":256996, + "firstspriteid":257218, + "lastspriteid":257253, "area":0 }, { "type":"sprite", "file":"sprites-c62107b6acd0d5186e3cb79debd9023f0c5613d3d99f1167c2ccbcc9a747cdb3.bmp.lzma", "spritetype":3, - "firstspriteid":256997, - "lastspriteid":257032, + "firstspriteid":257254, + "lastspriteid":257289, "area":0 }, { "type":"sprite", "file":"sprites-4373157b9fddc33795eccd3c6b3be1c3812a7edf0ad472c5016c99ea354bd9b5.bmp.lzma", "spritetype":3, - "firstspriteid":257033, - "lastspriteid":257068, + "firstspriteid":257290, + "lastspriteid":257325, "area":0 }, { "type":"sprite", "file":"sprites-0fd992e48c8923cfb2aa717b774c9710b1851f7a50c48151c91a5832550abf1d.bmp.lzma", "spritetype":3, - "firstspriteid":257069, - "lastspriteid":257104, + "firstspriteid":257326, + "lastspriteid":257361, "area":0 }, { "type":"sprite", "file":"sprites-e54ae6ba12ffd2016e08bd9f25c51c8cb09a99ef220969818b0f30025cfaf841.bmp.lzma", "spritetype":3, - "firstspriteid":257105, - "lastspriteid":257140, + "firstspriteid":257362, + "lastspriteid":257397, "area":0 }, { "type":"sprite", "file":"sprites-a237da10ca43fa1dca04f1994a0ae43b64fb59aa26d008dbf3f73bc2a97248ee.bmp.lzma", "spritetype":3, - "firstspriteid":257141, - "lastspriteid":257176, + "firstspriteid":257398, + "lastspriteid":257433, "area":0 }, { "type":"sprite", "file":"sprites-762fcfa89abe6a0c394a3cbb457f024171a2b0ae7eecf032457644314bcf0954.bmp.lzma", "spritetype":3, - "firstspriteid":257177, - "lastspriteid":257212, + "firstspriteid":257434, + "lastspriteid":257469, "area":0 }, { "type":"sprite", "file":"sprites-76a55dad1b9045cea1954279913e12da87e848b09e6eb06099557c878b7d885c.bmp.lzma", "spritetype":3, - "firstspriteid":257213, - "lastspriteid":257248, + "firstspriteid":257470, + "lastspriteid":257505, "area":0 }, { "type":"sprite", "file":"sprites-f576fc9809930c02735fd2272cf624612666a01c90258f5c85b7eafd5f9fbf44.bmp.lzma", "spritetype":3, - "firstspriteid":257249, - "lastspriteid":257284, + "firstspriteid":257506, + "lastspriteid":257541, "area":0 }, { "type":"sprite", "file":"sprites-566ec615a0526998dd112ae36cde1e9646f3435fb42e45e90a59ee99e1a29b94.bmp.lzma", "spritetype":3, - "firstspriteid":257285, - "lastspriteid":257320, + "firstspriteid":257542, + "lastspriteid":257577, "area":0 }, { "type":"sprite", "file":"sprites-33219bcde465210b0865b29e12049cc8a3fa658b5cfab0ae195b8a8c6834c8d6.bmp.lzma", "spritetype":3, - "firstspriteid":257321, - "lastspriteid":257356, + "firstspriteid":257578, + "lastspriteid":257613, "area":0 }, { "type":"sprite", "file":"sprites-65dd451f411e5e1389edace48b4f3b9a69c42649bae7e63168a677ab3c924cb4.bmp.lzma", "spritetype":3, - "firstspriteid":257357, - "lastspriteid":257392, + "firstspriteid":257614, + "lastspriteid":257649, "area":0 }, { "type":"sprite", "file":"sprites-baa95cdbfa4824ca467bb51fca649d28d688ca07243409c4ad064615d08e2e9b.bmp.lzma", "spritetype":3, - "firstspriteid":257393, - "lastspriteid":257428, + "firstspriteid":257650, + "lastspriteid":257685, "area":0 }, { "type":"sprite", "file":"sprites-50e914da6fd7f415306161817bd0e0dd2c1e483f64882bfe147b656025b9673e.bmp.lzma", "spritetype":3, - "firstspriteid":257429, - "lastspriteid":257464, + "firstspriteid":257686, + "lastspriteid":257721, "area":0 }, { "type":"sprite", "file":"sprites-54596279196cc53d148d5b4ddde5ea275f02b5c2a21d137d7e320d05f37c1c17.bmp.lzma", "spritetype":3, - "firstspriteid":257465, - "lastspriteid":257500, + "firstspriteid":257722, + "lastspriteid":257757, "area":0 }, { "type":"sprite", "file":"sprites-d9170b0717cf6d6149b0897cc98570ea668f140495f07fbb5a2a3ac12c3328f7.bmp.lzma", "spritetype":3, - "firstspriteid":257501, - "lastspriteid":257536, + "firstspriteid":257758, + "lastspriteid":257793, "area":0 }, { "type":"sprite", "file":"sprites-bd5278ab246a20e117f154ca8877e709293a615f767dc461388f6254610d5e63.bmp.lzma", "spritetype":3, - "firstspriteid":257537, - "lastspriteid":257572, + "firstspriteid":257794, + "lastspriteid":257829, "area":0 }, { "type":"sprite", "file":"sprites-75fa5570d979e8110bbf0e43bda159eaa3e97d1d031cd69695523d75636608a3.bmp.lzma", "spritetype":3, - "firstspriteid":257573, - "lastspriteid":257608, + "firstspriteid":257830, + "lastspriteid":257865, "area":0 }, { "type":"sprite", "file":"sprites-bfa4fd09d4f55e2246739fdef773f2a43c83c6c305f63015e6c7d9f2c6879dea.bmp.lzma", "spritetype":3, - "firstspriteid":257609, - "lastspriteid":257644, + "firstspriteid":257866, + "lastspriteid":257901, "area":0 }, { "type":"sprite", "file":"sprites-38726a1945d8cab302d28ca57e63016dbb912d17dda26962d8f4e128045f845b.bmp.lzma", "spritetype":3, - "firstspriteid":257645, - "lastspriteid":257680, + "firstspriteid":257902, + "lastspriteid":257937, "area":0 }, { "type":"sprite", "file":"sprites-7d3d962102cbba3198eafd89e46ec4421a9d0aade1c041cbca0eb899286ba3f3.bmp.lzma", "spritetype":3, - "firstspriteid":257681, - "lastspriteid":257716, + "firstspriteid":257938, + "lastspriteid":257973, "area":0 }, { "type":"sprite", "file":"sprites-5567b25a701d46322140a8110aaad9e16e7124fdb64ee0e5f1e15125242e3544.bmp.lzma", "spritetype":3, - "firstspriteid":257717, - "lastspriteid":257752, + "firstspriteid":257974, + "lastspriteid":258009, "area":0 }, { "type":"sprite", "file":"sprites-feadc56c9356bfcbd613b2b2d438b0bbe25e17044a09695de4c68b484c192368.bmp.lzma", "spritetype":3, - "firstspriteid":257753, - "lastspriteid":257788, + "firstspriteid":258010, + "lastspriteid":258045, "area":0 }, { "type":"sprite", "file":"sprites-1a8c2de3ecd0474aad7b1c172e862601b3474d14c43b91b74f76d98fdd316570.bmp.lzma", "spritetype":3, - "firstspriteid":257789, - "lastspriteid":257824, + "firstspriteid":258046, + "lastspriteid":258081, "area":0 }, { "type":"sprite", "file":"sprites-5365ef01d7520e8fb76fc835ce738a87f7c7ce37b876dd039601b2c093084478.bmp.lzma", "spritetype":3, - "firstspriteid":257825, - "lastspriteid":257860, + "firstspriteid":258082, + "lastspriteid":258117, "area":0 }, { "type":"sprite", "file":"sprites-cc887cc980dee54bde289e5f73dad5c340d9c62d2c6af8176246dc32142ebea6.bmp.lzma", "spritetype":3, - "firstspriteid":257861, - "lastspriteid":257896, + "firstspriteid":258118, + "lastspriteid":258153, "area":0 }, { "type":"sprite", "file":"sprites-5daac31fcfc9a9969ea3429446cde86e9bb0c43d32e5fbf039d1359c379aaae8.bmp.lzma", "spritetype":3, - "firstspriteid":257897, - "lastspriteid":257932, + "firstspriteid":258154, + "lastspriteid":258189, "area":0 }, { "type":"sprite", "file":"sprites-d44bace1ce2c1fb01f1eb0444b6a67395bba5fd36a481464cfa23162452d12c5.bmp.lzma", "spritetype":3, - "firstspriteid":257933, - "lastspriteid":257968, + "firstspriteid":258190, + "lastspriteid":258225, "area":0 }, { "type":"sprite", "file":"sprites-c86d48e446367b1ce96efe7647161b0fc67ad650607ba3f14ee583168c76ed53.bmp.lzma", "spritetype":3, - "firstspriteid":257969, - "lastspriteid":258004, + "firstspriteid":258226, + "lastspriteid":258261, "area":0 }, { "type":"sprite", "file":"sprites-48484362edb13a90fd3b5fd4b17a04f2c393a0d4316cc4f64e8b386be360a389.bmp.lzma", "spritetype":3, - "firstspriteid":258005, - "lastspriteid":258040, + "firstspriteid":258262, + "lastspriteid":258297, "area":0 }, { "type":"sprite", "file":"sprites-5f1a3fc8f166015538af3e6d43674ca8c438d5276a3f92a1406e8501b7198a15.bmp.lzma", "spritetype":3, - "firstspriteid":258041, - "lastspriteid":258076, + "firstspriteid":258298, + "lastspriteid":258333, "area":0 }, { "type":"sprite", "file":"sprites-bc2926beb2d8af79cd8e1d8f6681e0ac7e91668732c6781adedb44353ef351c8.bmp.lzma", "spritetype":3, - "firstspriteid":258077, - "lastspriteid":258112, + "firstspriteid":258334, + "lastspriteid":258369, "area":0 }, { "type":"sprite", "file":"sprites-8ae07ccd1a7ce56e42f1241d27e20cc78c01ab11c2951954c50ea23fa6b1ce1d.bmp.lzma", "spritetype":3, - "firstspriteid":258113, - "lastspriteid":258148, + "firstspriteid":258370, + "lastspriteid":258405, "area":0 }, { "type":"sprite", "file":"sprites-9923db7b80009199de2329abce341955b1369c401158152c53500cd72f4d4e94.bmp.lzma", "spritetype":3, - "firstspriteid":258149, - "lastspriteid":258184, + "firstspriteid":258406, + "lastspriteid":258441, "area":0 }, { "type":"sprite", "file":"sprites-f6d423ba5a8f1cfdf644cb19a3b75d8b86ed77732bed61d21bf7793918b876fe.bmp.lzma", "spritetype":3, - "firstspriteid":258185, - "lastspriteid":258220, + "firstspriteid":258442, + "lastspriteid":258477, "area":0 }, { "type":"sprite", "file":"sprites-b22a6ddfdfbbc362fa9ff001bfc8f1b44e9f09872bbe0b41322f8d4aa6395e27.bmp.lzma", "spritetype":3, - "firstspriteid":258221, - "lastspriteid":258256, + "firstspriteid":258478, + "lastspriteid":258513, "area":0 }, { "type":"sprite", "file":"sprites-d8545cf58b9ce9b37b600235bd56e98e39e72b1b564301611c05de1f11ffe5d2.bmp.lzma", "spritetype":3, - "firstspriteid":258257, - "lastspriteid":258292, + "firstspriteid":258514, + "lastspriteid":258549, "area":0 }, { "type":"sprite", "file":"sprites-762084299694c173e1c2164036ce9ca9466312c07a747c05cc49c89f419f6060.bmp.lzma", "spritetype":3, - "firstspriteid":258293, - "lastspriteid":258328, + "firstspriteid":258550, + "lastspriteid":258585, "area":0 }, { "type":"sprite", "file":"sprites-bb1694d5f7bd3e46aa5bfd0ef73f19fb6a12c685bd0f7f0ee1cca24489310bbd.bmp.lzma", "spritetype":3, - "firstspriteid":258329, - "lastspriteid":258364, + "firstspriteid":258586, + "lastspriteid":258621, "area":0 }, { "type":"sprite", "file":"sprites-5dafb5827a00fc0d1056d24712b3a9db5bf310634687031882b59809897134ca.bmp.lzma", "spritetype":3, - "firstspriteid":258365, - "lastspriteid":258400, + "firstspriteid":258622, + "lastspriteid":258657, "area":0 }, { "type":"sprite", "file":"sprites-f8038741acc8851240fb7999ffc0e79c3eb61aa77fbc8f3756f3294dd9eff798.bmp.lzma", "spritetype":3, - "firstspriteid":258401, - "lastspriteid":258436, + "firstspriteid":258658, + "lastspriteid":258693, "area":0 }, { "type":"sprite", "file":"sprites-e78496f509d69fea26a0876d860dc9b67be4b30f5788bb877dc232708608c910.bmp.lzma", "spritetype":3, - "firstspriteid":258437, - "lastspriteid":258472, + "firstspriteid":258694, + "lastspriteid":258729, "area":0 }, { "type":"sprite", "file":"sprites-0e0ed5c403b51042362ae2c22e2f582555b64ae1c4956d007053c1cb0e743d88.bmp.lzma", "spritetype":3, - "firstspriteid":258473, - "lastspriteid":258508, + "firstspriteid":258730, + "lastspriteid":258765, "area":0 }, { "type":"sprite", "file":"sprites-4e53340d9297abf631cb13c2a9d233a4961705910508a9183633b648768f19ae.bmp.lzma", "spritetype":3, - "firstspriteid":258509, - "lastspriteid":258544, + "firstspriteid":258766, + "lastspriteid":258801, "area":0 }, { "type":"sprite", "file":"sprites-f03cd7c3db4bd6c50b8f208c7af1baf0b79e1a61f5a7bbef3662b418cec0ef45.bmp.lzma", "spritetype":3, - "firstspriteid":258545, - "lastspriteid":258580, + "firstspriteid":258802, + "lastspriteid":258837, "area":0 }, { "type":"sprite", "file":"sprites-94138e2d80f17343bfe16ff0b81784bbb1267c22a4a4651d1e2e17c97fb2fa6b.bmp.lzma", "spritetype":3, - "firstspriteid":258581, - "lastspriteid":258616, + "firstspriteid":258838, + "lastspriteid":258873, "area":0 }, { "type":"sprite", "file":"sprites-4a45f232a277c90252f59f949cf57572a44ca9cbdca71f17f635270e0152cf19.bmp.lzma", "spritetype":3, - "firstspriteid":258617, - "lastspriteid":258652, + "firstspriteid":258874, + "lastspriteid":258909, "area":0 }, { "type":"sprite", "file":"sprites-2f2903f6625caa9a76fec86984bf13ae19f2d854cda2b49c4eecdba4415e9e81.bmp.lzma", "spritetype":3, - "firstspriteid":258653, - "lastspriteid":258688, + "firstspriteid":258910, + "lastspriteid":258945, "area":0 }, { "type":"sprite", "file":"sprites-0c16a5eaebe7f8609915385ef62b5b48a861e87a7143b27b0bd106c8d27c9bcc.bmp.lzma", "spritetype":3, - "firstspriteid":258689, - "lastspriteid":258724, + "firstspriteid":258946, + "lastspriteid":258981, "area":0 }, { "type":"sprite", "file":"sprites-de6e702b4292af067cdcedd967c1f0c9c171605e912a7421bf6cd9ccfb8198ea.bmp.lzma", "spritetype":3, - "firstspriteid":258725, - "lastspriteid":258760, + "firstspriteid":258982, + "lastspriteid":259017, "area":0 }, { "type":"sprite", "file":"sprites-358099703dedda6efa37f92ae9632407f104b9c103196fc9d04b3b41c7287eb0.bmp.lzma", "spritetype":3, - "firstspriteid":258761, - "lastspriteid":258796, + "firstspriteid":259018, + "lastspriteid":259053, "area":0 }, { "type":"sprite", "file":"sprites-c9870c87e09ae8b599500ac048b9e7422d9ec639ed9b3c98baf5fbabb009e640.bmp.lzma", "spritetype":3, - "firstspriteid":258797, - "lastspriteid":258832, + "firstspriteid":259054, + "lastspriteid":259089, "area":0 }, { "type":"sprite", "file":"sprites-78b03cccc1ddd22f861fba0ed873e8492fc2f71b661cc7648a2d258bef4b36f6.bmp.lzma", "spritetype":3, - "firstspriteid":258833, - "lastspriteid":258868, + "firstspriteid":259090, + "lastspriteid":259125, "area":0 }, { "type":"sprite", "file":"sprites-70ca51a6e65bf43959ded9202e4f2896207fd5f2960b7f0c571b7b73b488116b.bmp.lzma", "spritetype":3, - "firstspriteid":258869, - "lastspriteid":258904, + "firstspriteid":259126, + "lastspriteid":259161, "area":0 }, { "type":"sprite", "file":"sprites-8f3d087bebcdcbf8e7db11f3ef9874416a8ad72a65f9e5c2c7034435e98221ec.bmp.lzma", "spritetype":3, - "firstspriteid":258905, - "lastspriteid":258940, + "firstspriteid":259162, + "lastspriteid":259197, "area":0 }, { "type":"sprite", "file":"sprites-74cb1880b2553621a9304eb3d107c76d400e5353262e0d615a192c31845b00d0.bmp.lzma", "spritetype":3, - "firstspriteid":258941, - "lastspriteid":258976, + "firstspriteid":259198, + "lastspriteid":259233, "area":0 }, { "type":"sprite", "file":"sprites-c46ed25175eaada4318de7ab40e50efbcc5d5ce08988cb0284d705b5780a7819.bmp.lzma", "spritetype":3, - "firstspriteid":258977, - "lastspriteid":259012, + "firstspriteid":259234, + "lastspriteid":259269, "area":0 }, { "type":"sprite", "file":"sprites-a9f4c2fff9b2a59a1930c94cbf21209a1ffe57c087e9b379404a78d9a0faba01.bmp.lzma", "spritetype":3, - "firstspriteid":259013, - "lastspriteid":259048, + "firstspriteid":259270, + "lastspriteid":259305, "area":0 }, { "type":"sprite", "file":"sprites-e2bc94572c09f9e0c374848643e62b1d972029d828208433ad0f03690678423a.bmp.lzma", "spritetype":3, - "firstspriteid":259049, - "lastspriteid":259084, + "firstspriteid":259306, + "lastspriteid":259341, "area":0 }, { "type":"sprite", "file":"sprites-6df81be29637fa23f9dfae8a313cc940a63aeb8d77e7341d3f8a6959049797ae.bmp.lzma", "spritetype":3, - "firstspriteid":259085, - "lastspriteid":259120, + "firstspriteid":259342, + "lastspriteid":259377, "area":0 }, { "type":"sprite", "file":"sprites-bd2bef34f77d6162dc16883980552998ad60dcaba77df4381a2587449e2ea55f.bmp.lzma", "spritetype":3, - "firstspriteid":259121, - "lastspriteid":259156, + "firstspriteid":259378, + "lastspriteid":259413, "area":0 }, { "type":"sprite", "file":"sprites-afdda993c138e771e46cd14f9b51b59fe0d7c0cae2c41e9e3615f63a3ba9f563.bmp.lzma", "spritetype":3, - "firstspriteid":259157, - "lastspriteid":259192, + "firstspriteid":259414, + "lastspriteid":259449, "area":0 }, { "type":"sprite", "file":"sprites-29d72d004e06939cac63cdbe1c09fdd59d55a3944283811a24d2c2bcbdd0c36c.bmp.lzma", "spritetype":3, - "firstspriteid":259193, - "lastspriteid":259228, + "firstspriteid":259450, + "lastspriteid":259485, "area":0 }, { "type":"sprite", "file":"sprites-858371531c6f8e6477a9b9e34be142d7b51151f591add01352e376b2b6613de0.bmp.lzma", "spritetype":3, - "firstspriteid":259229, - "lastspriteid":259264, + "firstspriteid":259486, + "lastspriteid":259521, "area":0 }, { "type":"sprite", "file":"sprites-2b7c44ba91f3fb442741988d76bd8f7dee14ec8bd860fda75b9b620c75dbd74b.bmp.lzma", "spritetype":3, - "firstspriteid":259265, - "lastspriteid":259300, + "firstspriteid":259522, + "lastspriteid":259557, "area":0 }, { "type":"sprite", "file":"sprites-1af55c2b6ecdff4d6978be04dce7c104c3b8bb6a1ef866feb06b72cfeab807e5.bmp.lzma", "spritetype":3, - "firstspriteid":259301, - "lastspriteid":259336, + "firstspriteid":259558, + "lastspriteid":259593, "area":0 }, { "type":"sprite", "file":"sprites-02b26be914283fd31260c4949708c30d6835863941fc12a9bf469a6c33f7c40b.bmp.lzma", "spritetype":3, - "firstspriteid":259337, - "lastspriteid":259372, + "firstspriteid":259594, + "lastspriteid":259629, "area":0 }, { "type":"sprite", "file":"sprites-c9a74d6ad1d51211d900ac310f874e26bac66e2a5c3ef7e63e7f130163e6b414.bmp.lzma", "spritetype":3, - "firstspriteid":259373, - "lastspriteid":259408, + "firstspriteid":259630, + "lastspriteid":259665, "area":0 }, { "type":"sprite", "file":"sprites-2464981ee69c7c956477620ba5bb143442f9e7206c7786ab74a07909e0b2630e.bmp.lzma", "spritetype":3, - "firstspriteid":259409, - "lastspriteid":259444, + "firstspriteid":259666, + "lastspriteid":259701, "area":0 }, { "type":"sprite", "file":"sprites-aa8f249687a65eddde1902153903e4b1c6ddcd262a2375b77573d29ec0230bc5.bmp.lzma", "spritetype":3, - "firstspriteid":259445, - "lastspriteid":259480, + "firstspriteid":259702, + "lastspriteid":259737, "area":0 }, { "type":"sprite", "file":"sprites-e4bbb59760269b65a7c10f6b8b79909fbc76d25575a0c81e3293512d8310d8a4.bmp.lzma", "spritetype":3, - "firstspriteid":259481, - "lastspriteid":259516, + "firstspriteid":259738, + "lastspriteid":259773, "area":0 }, { "type":"sprite", "file":"sprites-1721eca196f2cfe21616edc9347e0cd44fda89cf6ad0c4bcaf265811900d0d41.bmp.lzma", "spritetype":3, - "firstspriteid":259517, - "lastspriteid":259552, + "firstspriteid":259774, + "lastspriteid":259809, "area":0 }, { "type":"sprite", "file":"sprites-4f43e75a5c9e0f0ab68b90ad2b5ab6005c59adecf220ba2532764147e9ee509c.bmp.lzma", "spritetype":3, - "firstspriteid":259553, - "lastspriteid":259588, + "firstspriteid":259810, + "lastspriteid":259845, "area":0 }, { "type":"sprite", "file":"sprites-55be54a820a697ad0d6a7a6181cadbab0e7d45e3d77d2aa647f94791b0946832.bmp.lzma", "spritetype":3, - "firstspriteid":259589, - "lastspriteid":259624, + "firstspriteid":259846, + "lastspriteid":259881, "area":0 }, { "type":"sprite", "file":"sprites-263eb2393609ec2306e8d9dd23b198fe062216193d476cd85c67c57130f68037.bmp.lzma", "spritetype":3, - "firstspriteid":259625, - "lastspriteid":259660, + "firstspriteid":259882, + "lastspriteid":259917, "area":0 }, { "type":"sprite", "file":"sprites-b46dd4fe001d6597432283c3d79408cc50db64c3f74e376c3aa3a5762de9a21a.bmp.lzma", "spritetype":3, - "firstspriteid":259661, - "lastspriteid":259696, + "firstspriteid":259918, + "lastspriteid":259953, "area":0 }, { "type":"sprite", "file":"sprites-1e7f2e23c42785fa0f7441346bbe11a863b44a80e9af499377437dc2ffa3d355.bmp.lzma", "spritetype":3, - "firstspriteid":259697, - "lastspriteid":259732, + "firstspriteid":259954, + "lastspriteid":259989, "area":0 }, { "type":"sprite", "file":"sprites-f45c6d4be1c7842984665553290535427d930487504a2edcf6728a183a8511e0.bmp.lzma", "spritetype":3, - "firstspriteid":259733, - "lastspriteid":259768, + "firstspriteid":259990, + "lastspriteid":260025, "area":0 }, { "type":"sprite", "file":"sprites-beac75306353780b076cc4319c0c2098e9f694bac4fce5eedb1da8e56583ac32.bmp.lzma", "spritetype":3, - "firstspriteid":259769, - "lastspriteid":259804, + "firstspriteid":260026, + "lastspriteid":260061, "area":0 }, { "type":"sprite", "file":"sprites-e4ba115c5baf60b912bd74d03043bf6654ef1ae3c0c6e6ec067f15823ba201de.bmp.lzma", "spritetype":3, - "firstspriteid":259805, - "lastspriteid":259840, + "firstspriteid":260062, + "lastspriteid":260097, "area":0 }, { "type":"sprite", "file":"sprites-c89a2ecde9c1b419011911160b5943313db87e124761b9660a7efa19e809d646.bmp.lzma", "spritetype":3, - "firstspriteid":259841, - "lastspriteid":259876, + "firstspriteid":260098, + "lastspriteid":260133, "area":0 }, { "type":"sprite", "file":"sprites-29e4880297fe68193d40e93406ac47ac103f397b8fc4fb8223f49d96207aa445.bmp.lzma", "spritetype":3, - "firstspriteid":259877, - "lastspriteid":259912, + "firstspriteid":260134, + "lastspriteid":260169, "area":0 }, { "type":"sprite", "file":"sprites-8a0b3510f680dc0099a58860f884be7ead93fe630aa67dc27ff283e40526a830.bmp.lzma", "spritetype":3, - "firstspriteid":259913, - "lastspriteid":259948, + "firstspriteid":260170, + "lastspriteid":260205, "area":0 }, { "type":"sprite", "file":"sprites-e0e2e28d648812511753fffdae0d2e8a341ebd1ca21804742b428833184f6a84.bmp.lzma", "spritetype":3, - "firstspriteid":259949, - "lastspriteid":259984, + "firstspriteid":260206, + "lastspriteid":260241, "area":0 }, { "type":"sprite", "file":"sprites-b4b51804a0ce918c723701de421184c90c335bb992f0b90c2f0d114bee5bcd9b.bmp.lzma", "spritetype":3, - "firstspriteid":259985, - "lastspriteid":260020, + "firstspriteid":260242, + "lastspriteid":260277, "area":0 }, { "type":"sprite", "file":"sprites-fe742530d5a12948c8d49b055f7b3a3d4b3732aeaabb185bb872d0dedd642052.bmp.lzma", "spritetype":3, - "firstspriteid":260021, - "lastspriteid":260056, + "firstspriteid":260278, + "lastspriteid":260313, "area":0 }, { "type":"sprite", "file":"sprites-fa0adec6d5c1079a627456d00983240979266df21fd89dec7fe782d58c7cc50e.bmp.lzma", "spritetype":3, - "firstspriteid":260057, - "lastspriteid":260092, + "firstspriteid":260314, + "lastspriteid":260349, "area":0 }, { "type":"sprite", "file":"sprites-99fb3d7599062263097a59e46f9cd6d2ca004146315ebedaf981de495f5d932c.bmp.lzma", "spritetype":3, - "firstspriteid":260093, - "lastspriteid":260128, + "firstspriteid":260350, + "lastspriteid":260385, "area":0 }, { "type":"sprite", "file":"sprites-b3073e4fec0a7eec4f4b1c38f80af263f77c00b546ec79b079b78d5937a9eb04.bmp.lzma", "spritetype":3, - "firstspriteid":260129, - "lastspriteid":260164, + "firstspriteid":260386, + "lastspriteid":260421, "area":0 }, { "type":"sprite", "file":"sprites-a7540742ed0a391c67a5fb1b0cb6ef49ad7de705de5f698ebfc318af7263cb46.bmp.lzma", "spritetype":3, - "firstspriteid":260165, - "lastspriteid":260200, + "firstspriteid":260422, + "lastspriteid":260457, "area":0 }, { "type":"sprite", "file":"sprites-dd697fd360f7e2f073756d81d907450fd4817b80a899711663573ffe8e424126.bmp.lzma", "spritetype":3, - "firstspriteid":260201, - "lastspriteid":260236, + "firstspriteid":260458, + "lastspriteid":260493, "area":0 }, { "type":"sprite", "file":"sprites-f20ab5c6ca017109823279938629e94ced7c561dc014ca1345a1e701c1e4014d.bmp.lzma", "spritetype":3, - "firstspriteid":260237, - "lastspriteid":260272, + "firstspriteid":260494, + "lastspriteid":260529, "area":0 }, { "type":"sprite", "file":"sprites-9acc3b99ab26250ce949204c62e651ffb222de7a16b08d7e4acba9c2a164cdcc.bmp.lzma", "spritetype":3, - "firstspriteid":260273, - "lastspriteid":260308, + "firstspriteid":260530, + "lastspriteid":260565, "area":0 }, { "type":"sprite", "file":"sprites-ff3738accd405f17cd22326afde7dae2b0301aec9f5fa821a517b89d4c27af73.bmp.lzma", "spritetype":3, - "firstspriteid":260309, - "lastspriteid":260344, + "firstspriteid":260566, + "lastspriteid":260601, "area":0 }, { "type":"sprite", "file":"sprites-8f487ba6b794a03036ef5b71edff6fb086cdfbd4ea879b3e2a7985e87fbccf4a.bmp.lzma", "spritetype":3, - "firstspriteid":260345, - "lastspriteid":260380, + "firstspriteid":260602, + "lastspriteid":260637, "area":0 }, { "type":"sprite", "file":"sprites-a3a0e88f9f1934fb8dfd2a995af507e2a14d97fe17b7f5d7544763720a606320.bmp.lzma", "spritetype":3, - "firstspriteid":260381, - "lastspriteid":260416, + "firstspriteid":260638, + "lastspriteid":260673, "area":0 }, { "type":"sprite", "file":"sprites-4c63922a39033bd4d305b7abeb2f630228e92c5778721d4b014c80121daab025.bmp.lzma", "spritetype":3, - "firstspriteid":260417, - "lastspriteid":260452, + "firstspriteid":260674, + "lastspriteid":260709, "area":0 }, { "type":"sprite", "file":"sprites-e7bd2819bdef8371cb0a76632fb9795934ecaa95331dc07a80a20bfd7a4fcce0.bmp.lzma", "spritetype":3, - "firstspriteid":260453, - "lastspriteid":260488, + "firstspriteid":260710, + "lastspriteid":260745, "area":0 }, { "type":"sprite", "file":"sprites-939d12388e1e1d669e82bc35d01ba79433a3026b6110246ad1593da41c568770.bmp.lzma", "spritetype":3, - "firstspriteid":260489, - "lastspriteid":260524, + "firstspriteid":260746, + "lastspriteid":260781, "area":0 }, { "type":"sprite", "file":"sprites-bf0e3e5ab37967ec77122b4455207456d0d0212685ced73ac566ce694aa74952.bmp.lzma", "spritetype":3, - "firstspriteid":260525, - "lastspriteid":260560, + "firstspriteid":260782, + "lastspriteid":260817, "area":0 }, { "type":"sprite", "file":"sprites-970c67227fbf9241ec0361347f38ec6e95729f6eb674b9221c6ca4076dae3431.bmp.lzma", "spritetype":3, - "firstspriteid":260561, - "lastspriteid":260596, + "firstspriteid":260818, + "lastspriteid":260853, "area":0 }, { "type":"sprite", "file":"sprites-6a0a38fe72266310fa9e36108833b872e79a942c262999a16f0c694c8e35b07d.bmp.lzma", "spritetype":3, - "firstspriteid":260597, - "lastspriteid":260632, + "firstspriteid":260854, + "lastspriteid":260889, "area":0 }, { "type":"sprite", "file":"sprites-52e1d73daae55bffd0a4009a2c4c286c258f6b1c6e06a2c3f102273bcd81cb35.bmp.lzma", "spritetype":3, - "firstspriteid":260633, - "lastspriteid":260668, + "firstspriteid":260890, + "lastspriteid":260925, "area":0 }, { "type":"sprite", "file":"sprites-3e08af44c64ee089bb8bd396dbde8cf23adf4c8a482859f549d411c8f34974a8.bmp.lzma", "spritetype":3, - "firstspriteid":260669, - "lastspriteid":260704, + "firstspriteid":260926, + "lastspriteid":260961, "area":0 }, { "type":"sprite", "file":"sprites-587fbb6b839cefdbc34b3339c2d9bb7589327259457d8a786314c41b9224a012.bmp.lzma", "spritetype":3, - "firstspriteid":260705, - "lastspriteid":260740, + "firstspriteid":260962, + "lastspriteid":260997, "area":0 }, { "type":"sprite", "file":"sprites-e45b40416dd4de9d582545a6bf77185777539bab45f0c8fa51f91b4e1dcbbf7e.bmp.lzma", "spritetype":3, - "firstspriteid":260741, - "lastspriteid":260776, + "firstspriteid":260998, + "lastspriteid":261033, "area":0 }, { "type":"sprite", "file":"sprites-b16f66d65ff24ee211e1ba802048b8f2e453e35367f797a48e7aa1ae61dd9e53.bmp.lzma", "spritetype":3, - "firstspriteid":260777, - "lastspriteid":260812, + "firstspriteid":261034, + "lastspriteid":261069, "area":0 }, { "type":"sprite", "file":"sprites-a222385d02f5ebbe8209a3f3fcaefddd6cc7fd1c138adffbd5484744c6a2697f.bmp.lzma", "spritetype":3, - "firstspriteid":260813, - "lastspriteid":260848, + "firstspriteid":261070, + "lastspriteid":261105, "area":0 }, { "type":"sprite", "file":"sprites-13603182bc56dd59781e340301b47ee63b4751d65a563d1fc73e1be617a6d9db.bmp.lzma", "spritetype":3, - "firstspriteid":260849, - "lastspriteid":260884, + "firstspriteid":261106, + "lastspriteid":261141, "area":0 }, { "type":"sprite", "file":"sprites-dd0ae13356b34b7cee38582c09924af134185f78c7ea8bd4b9cd0c04299d7195.bmp.lzma", "spritetype":3, - "firstspriteid":260885, - "lastspriteid":260920, + "firstspriteid":261142, + "lastspriteid":261177, "area":0 }, { "type":"sprite", "file":"sprites-313b6820bfb09fead74833cdbe9bc1b538d391f77e2440713d6bd50b138fad3a.bmp.lzma", "spritetype":3, - "firstspriteid":260921, - "lastspriteid":260956, + "firstspriteid":261178, + "lastspriteid":261213, "area":0 }, { "type":"sprite", "file":"sprites-28d5252ced6aae9b17ecd56bbd0f78aeadeac78930b8a9cb149be568b4d1d1ce.bmp.lzma", "spritetype":3, - "firstspriteid":260957, - "lastspriteid":260992, + "firstspriteid":261214, + "lastspriteid":261249, + "area":0 +}, +{ + "type":"sprite", + "file":"sprites-dd157287aebc5ecf256da117e3c25f9634a999ece2448c59c6eb2f7cb032fcf8.bmp.lzma", + "spritetype":3, + "firstspriteid":261250, + "lastspriteid":261285, + "area":0 +}, +{ + "type":"sprite", + "file":"sprites-cd1f187ef783f937faa9e4d8bf9c370ad960cd22f2fd8c9a7a985651a6126f85.bmp.lzma", + "spritetype":3, + "firstspriteid":261286, + "lastspriteid":261321, + "area":0 +}, +{ + "type":"sprite", + "file":"sprites-87a1c5bf253e8a3f3bc1729a3b6c7801f4cb9ffaeb9c590ed57f881fc4479b3a.bmp.lzma", + "spritetype":3, + "firstspriteid":261322, + "lastspriteid":261357, + "area":0 +}, +{ + "type":"sprite", + "file":"sprites-3c9514bdadda8f75400cc47369d8c1ed9d85a1630ee505a628586849386c19c9.bmp.lzma", + "spritetype":3, + "firstspriteid":261358, + "lastspriteid":261393, + "area":0 +}, +{ + "type":"sprite", + "file":"sprites-3823025e766b93a20f17a4e5ed2e1b5bd14d6610a3e06562d841bff263f147a8.bmp.lzma", + "spritetype":3, + "firstspriteid":261394, + "lastspriteid":261429, + "area":0 +}, +{ + "type":"sprite", + "file":"sprites-700617ac0d0446b535fefc11ebcff6559eb67e2409f3a0ff3e9c31ee71756006.bmp.lzma", + "spritetype":3, + "firstspriteid":261430, + "lastspriteid":261465, + "area":0 +}, +{ + "type":"sprite", + "file":"sprites-3f63116f3818dc9a928a7f16a2bf47c017f8298d3de98dd7548bc455422f8fd9.bmp.lzma", + "spritetype":3, + "firstspriteid":261466, + "lastspriteid":261501, + "area":0 +}, +{ + "type":"sprite", + "file":"sprites-d2fb4732578ac8f2589bde0e9472121085fb2ad9494fbbb3e9723bc8a6bdc939.bmp.lzma", + "spritetype":3, + "firstspriteid":261502, + "lastspriteid":261537, "area":0 }, { "type":"sprite", - "file":"sprites-92451ea510fa061af4b3f4f7b561f29c37b874fcfa332ab7424c51e1d75a69a0.bmp.lzma", + "file":"sprites-3b4d501e4c08e9d56c587ffcb016bf495e71cadced9166e7496303f2609271e6.bmp.lzma", "spritetype":3, - "firstspriteid":260993, - "lastspriteid":261021, + "firstspriteid":261538, + "lastspriteid":261556, "area":0 } ] diff --git a/assets/sprites-0a726fb90c72f5f7508c7a9f7602c3ecbd71b31e0e3524274e09a1a0a48b1c0b.bmp.lzma b/assets/sprites-0a726fb90c72f5f7508c7a9f7602c3ecbd71b31e0e3524274e09a1a0a48b1c0b.bmp.lzma new file mode 100644 index 000000000..2f172416d Binary files /dev/null and b/assets/sprites-0a726fb90c72f5f7508c7a9f7602c3ecbd71b31e0e3524274e09a1a0a48b1c0b.bmp.lzma differ diff --git a/assets/sprites-11791bb9b051a5563ed3585025900b50e1c4bc42d98110eee056b8f860cb96e9.bmp.lzma b/assets/sprites-11791bb9b051a5563ed3585025900b50e1c4bc42d98110eee056b8f860cb96e9.bmp.lzma new file mode 100644 index 000000000..97992944d Binary files /dev/null and b/assets/sprites-11791bb9b051a5563ed3585025900b50e1c4bc42d98110eee056b8f860cb96e9.bmp.lzma differ diff --git a/assets/sprites-2fe8561df8c440843fabe43d80c30abd90f21d0d7ec0f0616eb7530c7ed64718.bmp.lzma b/assets/sprites-2fe8561df8c440843fabe43d80c30abd90f21d0d7ec0f0616eb7530c7ed64718.bmp.lzma new file mode 100644 index 000000000..09fd7d0d5 Binary files /dev/null and b/assets/sprites-2fe8561df8c440843fabe43d80c30abd90f21d0d7ec0f0616eb7530c7ed64718.bmp.lzma differ diff --git a/assets/sprites-3823025e766b93a20f17a4e5ed2e1b5bd14d6610a3e06562d841bff263f147a8.bmp.lzma b/assets/sprites-3823025e766b93a20f17a4e5ed2e1b5bd14d6610a3e06562d841bff263f147a8.bmp.lzma new file mode 100644 index 000000000..473a27c9d Binary files /dev/null and b/assets/sprites-3823025e766b93a20f17a4e5ed2e1b5bd14d6610a3e06562d841bff263f147a8.bmp.lzma differ diff --git a/assets/sprites-3b4d501e4c08e9d56c587ffcb016bf495e71cadced9166e7496303f2609271e6.bmp.lzma b/assets/sprites-3b4d501e4c08e9d56c587ffcb016bf495e71cadced9166e7496303f2609271e6.bmp.lzma new file mode 100644 index 000000000..b606b7714 Binary files /dev/null and b/assets/sprites-3b4d501e4c08e9d56c587ffcb016bf495e71cadced9166e7496303f2609271e6.bmp.lzma differ diff --git a/assets/sprites-3c9514bdadda8f75400cc47369d8c1ed9d85a1630ee505a628586849386c19c9.bmp.lzma b/assets/sprites-3c9514bdadda8f75400cc47369d8c1ed9d85a1630ee505a628586849386c19c9.bmp.lzma new file mode 100644 index 000000000..92af43529 Binary files /dev/null and b/assets/sprites-3c9514bdadda8f75400cc47369d8c1ed9d85a1630ee505a628586849386c19c9.bmp.lzma differ diff --git a/assets/sprites-3f63116f3818dc9a928a7f16a2bf47c017f8298d3de98dd7548bc455422f8fd9.bmp.lzma b/assets/sprites-3f63116f3818dc9a928a7f16a2bf47c017f8298d3de98dd7548bc455422f8fd9.bmp.lzma new file mode 100644 index 000000000..aaecc2efa Binary files /dev/null and b/assets/sprites-3f63116f3818dc9a928a7f16a2bf47c017f8298d3de98dd7548bc455422f8fd9.bmp.lzma differ diff --git a/assets/sprites-6ad18a84f6627942ed098dc7dbd715e8aeb6c19824635dd9ea58e4165766ffa4.bmp.lzma b/assets/sprites-6ad18a84f6627942ed098dc7dbd715e8aeb6c19824635dd9ea58e4165766ffa4.bmp.lzma deleted file mode 100644 index 26a1ff77e..000000000 Binary files a/assets/sprites-6ad18a84f6627942ed098dc7dbd715e8aeb6c19824635dd9ea58e4165766ffa4.bmp.lzma and /dev/null differ diff --git a/assets/sprites-700617ac0d0446b535fefc11ebcff6559eb67e2409f3a0ff3e9c31ee71756006.bmp.lzma b/assets/sprites-700617ac0d0446b535fefc11ebcff6559eb67e2409f3a0ff3e9c31ee71756006.bmp.lzma new file mode 100644 index 000000000..55db5f942 Binary files /dev/null and b/assets/sprites-700617ac0d0446b535fefc11ebcff6559eb67e2409f3a0ff3e9c31ee71756006.bmp.lzma differ diff --git a/assets/sprites-87a1c5bf253e8a3f3bc1729a3b6c7801f4cb9ffaeb9c590ed57f881fc4479b3a.bmp.lzma b/assets/sprites-87a1c5bf253e8a3f3bc1729a3b6c7801f4cb9ffaeb9c590ed57f881fc4479b3a.bmp.lzma new file mode 100644 index 000000000..b8c3f6389 Binary files /dev/null and b/assets/sprites-87a1c5bf253e8a3f3bc1729a3b6c7801f4cb9ffaeb9c590ed57f881fc4479b3a.bmp.lzma differ diff --git a/assets/sprites-92451ea510fa061af4b3f4f7b561f29c37b874fcfa332ab7424c51e1d75a69a0.bmp.lzma b/assets/sprites-92451ea510fa061af4b3f4f7b561f29c37b874fcfa332ab7424c51e1d75a69a0.bmp.lzma deleted file mode 100644 index ef8223574..000000000 Binary files a/assets/sprites-92451ea510fa061af4b3f4f7b561f29c37b874fcfa332ab7424c51e1d75a69a0.bmp.lzma and /dev/null differ diff --git a/assets/sprites-95e4490fafae0243d37a5b5881817fa893bdf966019a397b58ff9e5d8c8c568b.bmp.lzma b/assets/sprites-95e4490fafae0243d37a5b5881817fa893bdf966019a397b58ff9e5d8c8c568b.bmp.lzma new file mode 100644 index 000000000..b0f72bca2 Binary files /dev/null and b/assets/sprites-95e4490fafae0243d37a5b5881817fa893bdf966019a397b58ff9e5d8c8c568b.bmp.lzma differ diff --git a/assets/sprites-a6b579bf03de11eaac0a96e5e56570aea09ce64a5771034d9ee7dede6712b28f.bmp.lzma b/assets/sprites-a6b579bf03de11eaac0a96e5e56570aea09ce64a5771034d9ee7dede6712b28f.bmp.lzma deleted file mode 100644 index b3fa0c5f6..000000000 Binary files a/assets/sprites-a6b579bf03de11eaac0a96e5e56570aea09ce64a5771034d9ee7dede6712b28f.bmp.lzma and /dev/null differ diff --git a/assets/sprites-ad7facb6d011ed6299b0df908480c5a055584bf1732fa97d594641935c95b766.bmp.lzma b/assets/sprites-ad7facb6d011ed6299b0df908480c5a055584bf1732fa97d594641935c95b766.bmp.lzma new file mode 100644 index 000000000..b3f7e8038 Binary files /dev/null and b/assets/sprites-ad7facb6d011ed6299b0df908480c5a055584bf1732fa97d594641935c95b766.bmp.lzma differ diff --git a/assets/sprites-b803c783c5165f21e5f971490540b3656d834897d8a637548d7c1287a8e1a0b2.bmp.lzma b/assets/sprites-b803c783c5165f21e5f971490540b3656d834897d8a637548d7c1287a8e1a0b2.bmp.lzma deleted file mode 100644 index 217582797..000000000 Binary files a/assets/sprites-b803c783c5165f21e5f971490540b3656d834897d8a637548d7c1287a8e1a0b2.bmp.lzma and /dev/null differ diff --git a/assets/sprites-cd1f187ef783f937faa9e4d8bf9c370ad960cd22f2fd8c9a7a985651a6126f85.bmp.lzma b/assets/sprites-cd1f187ef783f937faa9e4d8bf9c370ad960cd22f2fd8c9a7a985651a6126f85.bmp.lzma new file mode 100644 index 000000000..d981d426c Binary files /dev/null and b/assets/sprites-cd1f187ef783f937faa9e4d8bf9c370ad960cd22f2fd8c9a7a985651a6126f85.bmp.lzma differ diff --git a/assets/sprites-d2fb4732578ac8f2589bde0e9472121085fb2ad9494fbbb3e9723bc8a6bdc939.bmp.lzma b/assets/sprites-d2fb4732578ac8f2589bde0e9472121085fb2ad9494fbbb3e9723bc8a6bdc939.bmp.lzma new file mode 100644 index 000000000..cf247667c Binary files /dev/null and b/assets/sprites-d2fb4732578ac8f2589bde0e9472121085fb2ad9494fbbb3e9723bc8a6bdc939.bmp.lzma differ diff --git a/assets/sprites-dd157287aebc5ecf256da117e3c25f9634a999ece2448c59c6eb2f7cb032fcf8.bmp.lzma b/assets/sprites-dd157287aebc5ecf256da117e3c25f9634a999ece2448c59c6eb2f7cb032fcf8.bmp.lzma new file mode 100644 index 000000000..c386f3a1a Binary files /dev/null and b/assets/sprites-dd157287aebc5ecf256da117e3c25f9634a999ece2448c59c6eb2f7cb032fcf8.bmp.lzma differ diff --git a/bin/BattlEye/BEClient.dll b/bin/BattlEye/BEClient.dll index 12551b8ac..280a772bf 100644 Binary files a/bin/BattlEye/BEClient.dll and b/bin/BattlEye/BEClient.dll differ diff --git a/bin/D3Dcompiler_47.dll b/bin/D3Dcompiler_47.dll index b342d237f..a73f24dd0 100644 Binary files a/bin/D3Dcompiler_47.dll and b/bin/D3Dcompiler_47.dll differ diff --git a/bin/OpenAL32.dll b/bin/OpenAL32.dll index 75f134b47..f835e6ed1 100644 Binary files a/bin/OpenAL32.dll and b/bin/OpenAL32.dll differ diff --git a/bin/Qt/labs/folderlistmodel/plugins.qmltypes b/bin/Qt/labs/folderlistmodel/plugins.qmltypes deleted file mode 100644 index 1b79dc6cf..000000000 --- a/bin/Qt/labs/folderlistmodel/plugins.qmltypes +++ /dev/null @@ -1,85 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by qmltyperegistrar. - -Module { - dependencies: ["QtQuick 2.0"] - Component { - file: "qquickfolderlistmodel.h" - name: "QQuickFolderListModel" - exports: [ - "Qt.labs.folderlistmodel/FolderListModel 2.0", - "Qt.labs.folderlistmodel/FolderListModel 2.1", - "Qt.labs.folderlistmodel/FolderListModel 2.11", - "Qt.labs.folderlistmodel/FolderListModel 2.12", - "Qt.labs.folderlistmodel/FolderListModel 2.2" - ] - exportMetaObjectRevisions: [0, 1, 11, 12, 2] - Enum { - name: "SortField" - values: ["Unsorted", "Name", "Time", "Size", "Type"] - } - Enum { - name: "Status" - values: ["Null", "Ready", "Loading"] - } - Property { name: "folder"; type: "QUrl" } - Property { name: "rootFolder"; type: "QUrl" } - Property { name: "parentFolder"; type: "QUrl"; isReadonly: true } - Property { name: "nameFilters"; type: "QStringList" } - Property { name: "sortField"; type: "SortField" } - Property { name: "sortReversed"; type: "bool" } - Property { name: "showFiles"; revision: 1; type: "bool" } - Property { name: "showDirs"; type: "bool" } - Property { name: "showDirsFirst"; type: "bool" } - Property { name: "showDotAndDotDot"; type: "bool" } - Property { name: "showHidden"; revision: 1; type: "bool" } - Property { name: "showOnlyReadable"; type: "bool" } - Property { name: "caseSensitive"; revision: 2; type: "bool" } - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "status"; revision: 11; type: "Status"; isReadonly: true } - Property { name: "sortCaseSensitive"; revision: 12; type: "bool" } - Signal { name: "rowCountChanged" } - Signal { name: "countChanged"; revision: 1 } - Signal { name: "statusChanged"; revision: 11 } - Method { - name: "_q_directoryChanged" - Parameter { name: "directory"; type: "string" } - Parameter { name: "list"; type: "QList" } - } - Method { - name: "_q_directoryUpdated" - Parameter { name: "directory"; type: "string" } - Parameter { name: "list"; type: "QList" } - Parameter { name: "fromIndex"; type: "int" } - Parameter { name: "toIndex"; type: "int" } - } - Method { - name: "_q_sortFinished" - Parameter { name: "list"; type: "QList" } - } - Method { - name: "_q_statusChanged" - Parameter { name: "s"; type: "QQuickFolderListModel::Status" } - } - Method { - name: "isFolder" - type: "bool" - Parameter { name: "index"; type: "int" } - } - Method { - name: "get" - type: "QVariant" - Parameter { name: "idx"; type: "int" } - Parameter { name: "property"; type: "string" } - } - Method { - name: "indexOf" - type: "int" - Parameter { name: "file"; type: "QUrl" } - } - } -} diff --git a/bin/Qt/labs/folderlistmodel/qmldir b/bin/Qt/labs/folderlistmodel/qmldir deleted file mode 100644 index 186584507..000000000 --- a/bin/Qt/labs/folderlistmodel/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module Qt.labs.folderlistmodel -plugin qmlfolderlistmodelplugin -classname QmlFolderListModelPlugin -typeinfo plugins.qmltypes diff --git a/bin/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll b/bin/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll deleted file mode 100644 index b514ac4a6..000000000 Binary files a/bin/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll and /dev/null differ diff --git a/bin/Qt/labs/settings/plugins.qmltypes b/bin/Qt/labs/settings/plugins.qmltypes deleted file mode 100644 index 47d547fd1..000000000 --- a/bin/Qt/labs/settings/plugins.qmltypes +++ /dev/null @@ -1,36 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by qmltyperegistrar. - -Module { - dependencies: [] - Component { - file: "qqmlsettings_p.h" - name: "QQmlSettings" - exports: ["Qt.labs.settings/Settings 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "category"; type: "string" } - Property { name: "fileName"; type: "string" } - Method { name: "_q_propertyChanged" } - Method { - name: "value" - type: "QVariant" - Parameter { name: "key"; type: "string" } - Parameter { name: "defaultValue"; type: "QVariant" } - } - Method { - name: "value" - type: "QVariant" - Parameter { name: "key"; type: "string" } - } - Method { - name: "setValue" - Parameter { name: "key"; type: "string" } - Parameter { name: "value"; type: "QVariant" } - } - Method { name: "sync" } - } -} diff --git a/bin/Qt/labs/settings/qmldir b/bin/Qt/labs/settings/qmldir deleted file mode 100644 index 93d8e6719..000000000 --- a/bin/Qt/labs/settings/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module Qt.labs.settings -plugin qmlsettingsplugin -classname QmlSettingsPlugin -typeinfo plugins.qmltypes diff --git a/bin/Qt/labs/settings/qmlsettingsplugin.dll b/bin/Qt/labs/settings/qmlsettingsplugin.dll deleted file mode 100644 index 329e7d503..000000000 Binary files a/bin/Qt/labs/settings/qmlsettingsplugin.dll and /dev/null differ diff --git a/bin/Qt5Concurrent.dll b/bin/Qt5Concurrent.dll deleted file mode 100644 index ba4700778..000000000 Binary files a/bin/Qt5Concurrent.dll and /dev/null differ diff --git a/bin/Qt5Core.dll b/bin/Qt5Core.dll deleted file mode 100644 index a2860bc80..000000000 Binary files a/bin/Qt5Core.dll and /dev/null differ diff --git a/bin/Qt5Gui.dll b/bin/Qt5Gui.dll deleted file mode 100644 index 47201b87b..000000000 Binary files a/bin/Qt5Gui.dll and /dev/null differ diff --git a/bin/Qt5Network.dll b/bin/Qt5Network.dll deleted file mode 100644 index d12eb4095..000000000 Binary files a/bin/Qt5Network.dll and /dev/null differ diff --git a/bin/Qt5Qml.dll b/bin/Qt5Qml.dll deleted file mode 100644 index 2a062f410..000000000 Binary files a/bin/Qt5Qml.dll and /dev/null differ diff --git a/bin/Qt5QmlModels.dll b/bin/Qt5QmlModels.dll deleted file mode 100644 index a197005cc..000000000 Binary files a/bin/Qt5QmlModels.dll and /dev/null differ diff --git a/bin/Qt5QmlWorkerScript.dll b/bin/Qt5QmlWorkerScript.dll deleted file mode 100644 index 2689fa8b0..000000000 Binary files a/bin/Qt5QmlWorkerScript.dll and /dev/null differ diff --git a/bin/Qt5Quick.dll b/bin/Qt5Quick.dll deleted file mode 100644 index f025ac90b..000000000 Binary files a/bin/Qt5Quick.dll and /dev/null differ diff --git a/bin/Qt5QuickControls2.dll b/bin/Qt5QuickControls2.dll deleted file mode 100644 index 6a5d6234b..000000000 Binary files a/bin/Qt5QuickControls2.dll and /dev/null differ diff --git a/bin/Qt5QuickTemplates2.dll b/bin/Qt5QuickTemplates2.dll deleted file mode 100644 index aa1a178c4..000000000 Binary files a/bin/Qt5QuickTemplates2.dll and /dev/null differ diff --git a/bin/Qt5WebChannel.dll b/bin/Qt5WebChannel.dll deleted file mode 100644 index b5d35b1c5..000000000 Binary files a/bin/Qt5WebChannel.dll and /dev/null differ diff --git a/bin/Qt5WebEngine.dll b/bin/Qt5WebEngine.dll deleted file mode 100644 index ad199630c..000000000 Binary files a/bin/Qt5WebEngine.dll and /dev/null differ diff --git a/bin/Qt5WebEngineCore.dll b/bin/Qt5WebEngineCore.dll deleted file mode 100644 index c3320625e..000000000 Binary files a/bin/Qt5WebEngineCore.dll and /dev/null differ diff --git a/bin/Qt5WebView.dll b/bin/Qt5WebView.dll deleted file mode 100644 index ebf69a0c1..000000000 Binary files a/bin/Qt5WebView.dll and /dev/null differ diff --git a/bin/Qt5Widgets.dll b/bin/Qt5Widgets.dll deleted file mode 100644 index 60925f5ea..000000000 Binary files a/bin/Qt5Widgets.dll and /dev/null differ diff --git a/bin/Qt6Concurrent.dll b/bin/Qt6Concurrent.dll new file mode 100644 index 000000000..5ccd6125a Binary files /dev/null and b/bin/Qt6Concurrent.dll differ diff --git a/bin/Qt6Core.dll b/bin/Qt6Core.dll new file mode 100644 index 000000000..5a8d190ca Binary files /dev/null and b/bin/Qt6Core.dll differ diff --git a/bin/Qt6Gui.dll b/bin/Qt6Gui.dll new file mode 100644 index 000000000..756c2aaac Binary files /dev/null and b/bin/Qt6Gui.dll differ diff --git a/bin/Qt6LabsFolderListModel.dll b/bin/Qt6LabsFolderListModel.dll new file mode 100644 index 000000000..44968dd18 Binary files /dev/null and b/bin/Qt6LabsFolderListModel.dll differ diff --git a/bin/Qt6LabsSettings.dll b/bin/Qt6LabsSettings.dll new file mode 100644 index 000000000..bc572c6f3 Binary files /dev/null and b/bin/Qt6LabsSettings.dll differ diff --git a/bin/Qt6Network.dll b/bin/Qt6Network.dll new file mode 100644 index 000000000..0b52cacea Binary files /dev/null and b/bin/Qt6Network.dll differ diff --git a/bin/Qt6OpenGL.dll b/bin/Qt6OpenGL.dll new file mode 100644 index 000000000..e290b9fe6 Binary files /dev/null and b/bin/Qt6OpenGL.dll differ diff --git a/bin/Qt6Qml.dll b/bin/Qt6Qml.dll new file mode 100644 index 000000000..83a76b19c Binary files /dev/null and b/bin/Qt6Qml.dll differ diff --git a/bin/Qt6QmlCore.dll b/bin/Qt6QmlCore.dll new file mode 100644 index 000000000..3e792a7da Binary files /dev/null and b/bin/Qt6QmlCore.dll differ diff --git a/bin/Qt6QmlModels.dll b/bin/Qt6QmlModels.dll new file mode 100644 index 000000000..2cf5ed773 Binary files /dev/null and b/bin/Qt6QmlModels.dll differ diff --git a/bin/Qt6QmlWorkerScript.dll b/bin/Qt6QmlWorkerScript.dll new file mode 100644 index 000000000..75c70b4f0 Binary files /dev/null and b/bin/Qt6QmlWorkerScript.dll differ diff --git a/bin/Qt6Quick.dll b/bin/Qt6Quick.dll new file mode 100644 index 000000000..de23447a2 Binary files /dev/null and b/bin/Qt6Quick.dll differ diff --git a/bin/Qt6QuickControls2.dll b/bin/Qt6QuickControls2.dll new file mode 100644 index 000000000..d0f0e4f2c Binary files /dev/null and b/bin/Qt6QuickControls2.dll differ diff --git a/bin/Qt6QuickControls2Basic.dll b/bin/Qt6QuickControls2Basic.dll new file mode 100644 index 000000000..0bbf870a8 Binary files /dev/null and b/bin/Qt6QuickControls2Basic.dll differ diff --git a/bin/Qt6QuickControls2BasicStyleImpl.dll b/bin/Qt6QuickControls2BasicStyleImpl.dll new file mode 100644 index 000000000..597d279c6 Binary files /dev/null and b/bin/Qt6QuickControls2BasicStyleImpl.dll differ diff --git a/bin/Qt6QuickControls2Fusion.dll b/bin/Qt6QuickControls2Fusion.dll new file mode 100644 index 000000000..983411b41 Binary files /dev/null and b/bin/Qt6QuickControls2Fusion.dll differ diff --git a/bin/Qt6QuickControls2FusionStyleImpl.dll b/bin/Qt6QuickControls2FusionStyleImpl.dll new file mode 100644 index 000000000..251b3e264 Binary files /dev/null and b/bin/Qt6QuickControls2FusionStyleImpl.dll differ diff --git a/bin/Qt6QuickControls2Imagine.dll b/bin/Qt6QuickControls2Imagine.dll new file mode 100644 index 000000000..d67d781e1 Binary files /dev/null and b/bin/Qt6QuickControls2Imagine.dll differ diff --git a/bin/Qt6QuickControls2ImagineStyleImpl.dll b/bin/Qt6QuickControls2ImagineStyleImpl.dll new file mode 100644 index 000000000..0cc57a5c9 Binary files /dev/null and b/bin/Qt6QuickControls2ImagineStyleImpl.dll differ diff --git a/bin/Qt6QuickControls2Impl.dll b/bin/Qt6QuickControls2Impl.dll new file mode 100644 index 000000000..0cbe8b37b Binary files /dev/null and b/bin/Qt6QuickControls2Impl.dll differ diff --git a/bin/Qt6QuickControls2Material.dll b/bin/Qt6QuickControls2Material.dll new file mode 100644 index 000000000..8c563bd15 Binary files /dev/null and b/bin/Qt6QuickControls2Material.dll differ diff --git a/bin/Qt6QuickControls2MaterialStyleImpl.dll b/bin/Qt6QuickControls2MaterialStyleImpl.dll new file mode 100644 index 000000000..27a06d723 Binary files /dev/null and b/bin/Qt6QuickControls2MaterialStyleImpl.dll differ diff --git a/bin/Qt6QuickControls2Universal.dll b/bin/Qt6QuickControls2Universal.dll new file mode 100644 index 000000000..2b5990d69 Binary files /dev/null and b/bin/Qt6QuickControls2Universal.dll differ diff --git a/bin/Qt6QuickControls2UniversalStyleImpl.dll b/bin/Qt6QuickControls2UniversalStyleImpl.dll new file mode 100644 index 000000000..39d5d37cf Binary files /dev/null and b/bin/Qt6QuickControls2UniversalStyleImpl.dll differ diff --git a/bin/Qt6QuickDialogs2.dll b/bin/Qt6QuickDialogs2.dll new file mode 100644 index 000000000..0aa30e86c Binary files /dev/null and b/bin/Qt6QuickDialogs2.dll differ diff --git a/bin/Qt6QuickDialogs2QuickImpl.dll b/bin/Qt6QuickDialogs2QuickImpl.dll new file mode 100644 index 000000000..2396b99e8 Binary files /dev/null and b/bin/Qt6QuickDialogs2QuickImpl.dll differ diff --git a/bin/Qt6QuickDialogs2Utils.dll b/bin/Qt6QuickDialogs2Utils.dll new file mode 100644 index 000000000..c0a2ccd13 Binary files /dev/null and b/bin/Qt6QuickDialogs2Utils.dll differ diff --git a/bin/Qt6QuickEffects.dll b/bin/Qt6QuickEffects.dll new file mode 100644 index 000000000..1035fabcc Binary files /dev/null and b/bin/Qt6QuickEffects.dll differ diff --git a/bin/Qt6QuickLayouts.dll b/bin/Qt6QuickLayouts.dll new file mode 100644 index 000000000..70b210aa7 Binary files /dev/null and b/bin/Qt6QuickLayouts.dll differ diff --git a/bin/Qt6QuickShapes.dll b/bin/Qt6QuickShapes.dll new file mode 100644 index 000000000..6c271f9da Binary files /dev/null and b/bin/Qt6QuickShapes.dll differ diff --git a/bin/Qt6QuickTemplates2.dll b/bin/Qt6QuickTemplates2.dll new file mode 100644 index 000000000..712c92041 Binary files /dev/null and b/bin/Qt6QuickTemplates2.dll differ diff --git a/bin/Qt6ShaderTools.dll b/bin/Qt6ShaderTools.dll new file mode 100644 index 000000000..51b0cf6b1 Binary files /dev/null and b/bin/Qt6ShaderTools.dll differ diff --git a/bin/Qt6StateMachine.dll b/bin/Qt6StateMachine.dll new file mode 100644 index 000000000..67a0c11b2 Binary files /dev/null and b/bin/Qt6StateMachine.dll differ diff --git a/bin/Qt6WebChannel.dll b/bin/Qt6WebChannel.dll new file mode 100644 index 000000000..35a6b52cc Binary files /dev/null and b/bin/Qt6WebChannel.dll differ diff --git a/bin/Qt6WebChannelQuick.dll b/bin/Qt6WebChannelQuick.dll new file mode 100644 index 000000000..a1ae3e9c8 Binary files /dev/null and b/bin/Qt6WebChannelQuick.dll differ diff --git a/bin/Qt6WebEngineCore.dll b/bin/Qt6WebEngineCore.dll new file mode 100644 index 000000000..e28cc640c --- /dev/null +++ b/bin/Qt6WebEngineCore.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2cce0e8dc3e4ce00aca66ef3ba64f4946abdcb7377ec2da0e1913987f1487e6 +size 143082904 diff --git a/bin/Qt6WebEngineQuick.dll b/bin/Qt6WebEngineQuick.dll new file mode 100644 index 000000000..1fec558b5 Binary files /dev/null and b/bin/Qt6WebEngineQuick.dll differ diff --git a/bin/Qt6Widgets.dll b/bin/Qt6Widgets.dll new file mode 100644 index 000000000..8cd01d2c7 Binary files /dev/null and b/bin/Qt6Widgets.dll differ diff --git a/bin/QtGraphicalEffects/Blend.qml b/bin/QtGraphicalEffects/Blend.qml deleted file mode 100644 index e5f4816a9..000000000 --- a/bin/QtGraphicalEffects/Blend.qml +++ /dev/null @@ -1,486 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype Blend - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-blend - \brief Merges two source items by using a blend mode. - - Blend mode can be selected with the \l{Blend::mode}{mode} property. - - \table - \header - \li source - \li foregroundSource - \li Effect applied - \row - \li \image Original_bug.png - \li \image Original_butterfly.png - \li \image Blend_bug_and_butterfly.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet Blend-example.qml example - -*/ - -Item { - id: rootItem - - /*! - This property defines the source item that is going to be the base when - \l{Blend::foregroundSource}{foregroundSource} is blended over it. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines the item that is going to be blended over the - \l{Blend::source}{source}. - - \note It is not supported to let the effect include itself, for - instance by setting foregroundSource to the effect's parent. - */ - property variant foregroundSource - - /*! - This property defines the mode which is used when foregroundSource is - blended over source. Values are case insensitive. - - \table - \header - \li mode - \li description - \row - \li normal - \li The pixel component values from foregroundSource are written - over source by using alpha blending. - \row - \li addition - \li The pixel component values from source and foregroundSource are - added together and written. - \row - \li average - \li The pixel component values from source and foregroundSource are - averaged and written. - \row - \li color - \li The lightness value from source is combined with hue and - saturation from foregroundSource and written. - \row - \li colorBurn - \li The darker pixels from source are darkened more, if both source - and foregroundSource pixels are light the result is light. - \row - \li colorDodge - \li The lighter pixels from source are lightened more, if both - source and foregroundSource pixels are dark the result is dark. - \row - \li darken - \li The darker pixel component value from source and - foregroundSource is written. - \row - \li darkerColor - \li The lower luminance pixel rgb-value from source and - foregroundSource is written. - \row - \li difference - \li The absolute pixel component value difference between source and - foregroundSource is written. - \row - \li divide - \li The pixel component values from source is divided by the value - from foregroundSource and written. - \row - \li exclusion - \li The pixel component value difference with reduced contrast - between source and foregroundSource is written. - \row - \li hardLight - \li The pixel component values from source are lightened or darkened - according to foregroundSource values and written. - \row - \li hue - \li The hue value from foregroundSource is combined with saturation - and lightness from source and written. - \row - \li lighten - \li The lightest pixel component value from source and - foregroundSource is written. - \row - \li lighterColor - \li The higher luminance pixel rgb-value from source and - foregroundSource is written. - \row - \li lightness - \li The lightness value from foregroundSource is combined with hue - and saturation from source and written. - \row - \li multiply - \li The pixel component values from source and foregroundSource are - multiplied together and written. - \row - \li negation - \li The inverted absolute pixel component value difference between - source and foregroundSource is written. - \row - \li saturation - \li The saturation value from foregroundSource is combined with hue - and lightness from source and written. - \row - \li screen - \li The pixel values from source and foregroundSource are negated, - then multiplied, negated again, and written. - \row - \li subtract - \li Pixel value from foregroundSource is subracted from source and - written. - \row - \li softLight - \li The pixel component values from source are lightened or darkened - slightly according to foregroundSource values and written. - - \endtable - - \table - \header - \li Example source - \li Example foregroundSource - \row - \li \image Original_bug.png - \li \image Original_butterfly.png - \endtable - - \table - \header - \li Output examples with different mode values - \li - \li - \row - \li \image Blend_mode1.png - \li \image Blend_mode2.png - \li \image Blend_mode3.png - \row - \li \b { mode: normal } - \li \b { mode: addition } - \li \b { mode: average } - \row - \li \image Blend_mode4.png - \li \image Blend_mode5.png - \li \image Blend_mode6.png - \row - \li \b { mode: color } - \li \b { mode: colorBurn } - \li \b { mode: colorDodge } - \row - \li \image Blend_mode7.png - \li \image Blend_mode8.png - \li \image Blend_mode9.png - \row - \li \b { mode: darken } - \li \b { mode: darkerColor } - \li \b { mode: difference } - \row - \li \image Blend_mode10.png - \li \image Blend_mode11.png - \li \image Blend_mode12.png - \row - \li \b { mode: divide } - \li \b { mode: exclusion } - \li \b { mode: hardlight } - \row - \li \image Blend_mode13.png - \li \image Blend_mode14.png - \li \image Blend_mode15.png - \row - \li \b { mode: hue } - \li \b { mode: lighten } - \li \b { mode: lighterColor } - \row - \li \image Blend_mode16.png - \li \image Blend_mode17.png - \li \image Blend_mode18.png - \row - \li \b { mode: lightness } - \li \b { mode: negation } - \li \b { mode: multiply } - \row - \li \image Blend_mode19.png - \li \image Blend_mode20.png - \li \image Blend_mode21.png - \row - \li \b { mode: saturation } - \li \b { mode: screen } - \li \b { mode: subtract } - \row - \li \image Blend_mode22.png - \row - \li \b { mode: softLight } - \endtable - */ - property string mode: "normal" - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in the - cache must be updated. Memory consumption is increased, because an extra - buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to false. - - */ - property bool cached: false - - SourceProxy { - id: backgroundSourceProxy - input: rootItem.source - } - - SourceProxy { - id: foregroundSourceProxy - input: rootItem.foregroundSource - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: parent - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant backgroundSource: backgroundSourceProxy.output - property variant foregroundSource: foregroundSourceProxy.output - property string mode: rootItem.mode - anchors.fill: parent - - fragmentShader: fragmentShaderBegin + blendModeNormal + fragmentShaderEnd - - function buildFragmentShader() { - var shader = fragmentShaderBegin - - switch (mode.toLowerCase()) { - case "addition" : shader += blendModeAddition; break; - case "average" : shader += blendModeAverage; break; - case "color" : shader += blendModeColor; break; - case "colorburn" : shader += blendModeColorBurn; break; - case "colordodge" : shader += blendModeColorDodge; break; - case "darken" : shader += blendModeDarken; break; - case "darkercolor" : shader += blendModeDarkerColor; break; - case "difference" : shader += blendModeDifference; break; - case "divide" : shader += blendModeDivide; break; - case "exclusion" : shader += blendModeExclusion; break; - case "hardlight" : shader += blendModeHardLight; break; - case "hue" : shader += blendModeHue; break; - case "lighten" : shader += blendModeLighten; break; - case "lightercolor" : shader += blendModeLighterColor; break; - case "lightness" : shader += blendModeLightness; break; - case "negation" : shader += blendModeNegation; break; - case "normal" : shader += blendModeNormal; break; - case "multiply" : shader += blendModeMultiply; break; - case "saturation" : shader += blendModeSaturation; break; - case "screen" : shader += blendModeScreen; break; - case "subtract" : shader += blendModeSubtract; break; - case "softlight" : shader += blendModeSoftLight; break; - default: shader += "gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);"; break; - } - - shader += fragmentShaderEnd - fragmentShader = shader - - // Workaraound for a bug just to make sure display gets updated when the mode changes. - backgroundSourceChanged() - } - - Component.onCompleted: { - buildFragmentShader() - } - - onModeChanged: { - buildFragmentShader() - } - - property string blendModeAddition: "result.rgb = min(rgb1 + rgb2, 1.0);" - property string blendModeAverage: "result.rgb = 0.5 * (rgb1 + rgb2);" - property string blendModeColor: "result.rgb = HSLtoRGB(vec3(RGBtoHSL(rgb2).xy, RGBtoL(rgb1)));" - property string blendModeColorBurn: "result.rgb = clamp(1.0 - ((1.0 - rgb1) / max(vec3(1.0 / 256.0), rgb2)), vec3(0.0), vec3(1.0));" - property string blendModeColorDodge: "result.rgb = clamp(rgb1 / max(vec3(1.0 / 256.0), (1.0 - rgb2)), vec3(0.0), vec3(1.0));" - property string blendModeDarken: "result.rgb = min(rgb1, rgb2);" - property string blendModeDarkerColor: "result.rgb = 0.3 * rgb1.r + 0.59 * rgb1.g + 0.11 * rgb1.b > 0.3 * rgb2.r + 0.59 * rgb2.g + 0.11 * rgb2.b ? rgb2 : rgb1;" - property string blendModeDifference: "result.rgb = abs(rgb1 - rgb2);" - property string blendModeDivide: "result.rgb = clamp(rgb1 / rgb2, 0.0, 1.0);" - property string blendModeExclusion: "result.rgb = rgb1 + rgb2 - 2.0 * rgb1 * rgb2;" - property string blendModeHardLight: "result.rgb = vec3(channelBlendHardLight(rgb1.r, rgb2.r), channelBlendHardLight(rgb1.g, rgb2.g), channelBlendHardLight(rgb1.b, rgb2.b));" - property string blendModeHue: "result.rgb = HSLtoRGB(vec3(RGBtoHSL(rgb2).x, RGBtoHSL(rgb1).yz));" - property string blendModeLighten: "result.rgb = max(rgb1, rgb2);" - property string blendModeLighterColor: "result.rgb = 0.3 * rgb1.r + 0.59 * rgb1.g + 0.11 * rgb1.b > 0.3 * rgb2.r + 0.59 * rgb2.g + 0.11 * rgb2.b ? rgb1 : rgb2;" - property string blendModeLightness: "result.rgb = HSLtoRGB(vec3(RGBtoHSL(rgb1).xy, RGBtoL(rgb2)));" - property string blendModeMultiply: "result.rgb = rgb1 * rgb2;" - property string blendModeNegation: "result.rgb = 1.0 - abs(1.0 - rgb1 - rgb2);" - property string blendModeNormal: "result.rgb = rgb2; a = max(color1.a, color2.a);" - property string blendModeSaturation: "lowp vec3 hsl1 = RGBtoHSL(rgb1); result.rgb = HSLtoRGB(vec3(hsl1.x, RGBtoHSL(rgb2).y, hsl1.z));" - property string blendModeScreen: "result.rgb = 1.0 - (vec3(1.0) - rgb1) * (vec3(1.0) - rgb2);" - property string blendModeSubtract: "result.rgb = max(rgb1 - rgb2, vec3(0.0));" - property string blendModeSoftLight: "result.rgb = rgb1 * ((1.0 - rgb1) * rgb2 + (1.0 - (1.0 - rgb1) * (1.0 - rgb2)));" - - property string fragmentCoreShaderWorkaround: (GraphicsInfo.profile === GraphicsInfo.OpenGLCoreProfile ? "#version 150 core - #define varying in - #define texture2D texture - out vec4 fragColor; - #define gl_FragColor fragColor - " : "") - - property string fragmentShaderBegin: fragmentCoreShaderWorkaround + " - varying mediump vec2 qt_TexCoord0; - uniform highp float qt_Opacity; - uniform lowp sampler2D backgroundSource; - uniform lowp sampler2D foregroundSource; - - highp float RGBtoL(highp vec3 color) { - highp float cmin = min(color.r, min(color.g, color.b)); - highp float cmax = max(color.r, max(color.g, color.b)); - highp float l = (cmin + cmax) / 2.0; - return l; - } - - highp vec3 RGBtoHSL(highp vec3 color) { - highp float cmin = min(color.r, min(color.g, color.b)); - highp float cmax = max(color.r, max(color.g, color.b)); - highp float h = 0.0; - highp float s = 0.0; - highp float l = (cmin + cmax) / 2.0; - highp float diff = cmax - cmin; - - if (diff > 1.0 / 256.0) { - if (l < 0.5) - s = diff / (cmin + cmax); - else - s = diff / (2.0 - (cmin + cmax)); - - if (color.r == cmax) - h = (color.g - color.b) / diff; - else if (color.g == cmax) - h = 2.0 + (color.b - color.r) / diff; - else - h = 4.0 + (color.r - color.g) / diff; - - h /= 6.0; - } - return vec3(h, s, l); - } - - highp float hueToIntensity(highp float v1, highp float v2, highp float h) { - h = fract(h); - if (h < 1.0 / 6.0) - return v1 + (v2 - v1) * 6.0 * h; - else if (h < 1.0 / 2.0) - return v2; - else if (h < 2.0 / 3.0) - return v1 + (v2 - v1) * 6.0 * (2.0 / 3.0 - h); - - return v1; - } - - highp vec3 HSLtoRGB(highp vec3 color) { - highp float h = color.x; - highp float l = color.z; - highp float s = color.y; - - if (s < 1.0 / 256.0) - return vec3(l, l, l); - - highp float v1; - highp float v2; - if (l < 0.5) - v2 = l * (1.0 + s); - else - v2 = (l + s) - (s * l); - - v1 = 2.0 * l - v2; - - highp float d = 1.0 / 3.0; - highp float r = hueToIntensity(v1, v2, h + d); - highp float g = hueToIntensity(v1, v2, h); - highp float b = hueToIntensity(v1, v2, h - d); - return vec3(r, g, b); - } - - lowp float channelBlendHardLight(lowp float c1, lowp float c2) { - return c2 > 0.5 ? (1.0 - (1.0 - 2.0 * (c2 - 0.5)) * (1.0 - c1)) : (2.0 * c1 * c2); - } - - void main() { - lowp vec4 result = vec4(0.0); - lowp vec4 color1 = texture2D(backgroundSource, qt_TexCoord0); - lowp vec4 color2 = texture2D(foregroundSource, qt_TexCoord0); - lowp vec3 rgb1 = color1.rgb / max(1.0/256.0, color1.a); - lowp vec3 rgb2 = color2.rgb / max(1.0/256.0, color2.a); - highp float a = max(color1.a, color1.a * color2.a); - " - - property string fragmentShaderEnd: " - gl_FragColor.rgb = mix(rgb1, result.rgb, color2.a); - gl_FragColor.rbg *= a; - gl_FragColor.a = a; - gl_FragColor *= qt_Opacity; - } - " - } -} diff --git a/bin/QtGraphicalEffects/BrightnessContrast.qml b/bin/QtGraphicalEffects/BrightnessContrast.qml deleted file mode 100644 index 85b38bb20..000000000 --- a/bin/QtGraphicalEffects/BrightnessContrast.qml +++ /dev/null @@ -1,194 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype BrightnessContrast - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Adjusts brightness and contrast. - - This effect adjusts the source item colors. - Brightness adjustment changes the perceived luminance of the source item. - Contrast adjustment increases or decreases the color - and brightness variations. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image BrightnessContrast_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet BrightnessContrast-example.qml example - -*/ -Item { - id: rootItem - - /*! - This property defines the source item that provides the source pixels - for the effect. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines how much the source brightness is increased or - decreased. - - The value ranges from -1.0 to 1.0. By default, the property is set to \c - 0.0 (no change). - - \table - \header - \li Output examples with different brightness values - \li - \li - \row - \li \image BrightnessContrast_brightness1.png - \li \image BrightnessContrast_brightness2.png - \li \image BrightnessContrast_brightness3.png - \row - \li \b { brightness: -0.25 } - \li \b { brightness: 0 } - \li \b { brightness: 0.5 } - \row - \li \l contrast: 0 - \li \l contrast: 0 - \li \l contrast: 0 - \endtable - - */ - property real brightness: 0.0 - - /*! - This property defines how much the source contrast is increased or - decreased. The decrease of the contrast is linear, but the increase is - applied with a non-linear curve to allow very high contrast adjustment at - the high end of the value range. - - \table - \header - \li Contrast adjustment curve - \row - \li \image BrightnessContrast_contrast_graph.png - \endtable - - The value ranges from -1.0 to 1.0. By default, the property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different contrast values - \li - \li - \row - \li \image BrightnessContrast_contrast1.png - \li \image BrightnessContrast_contrast2.png - \li \image BrightnessContrast_contrast3.png - \row - \li \b { contrast: -0.5 } - \li \b { contrast: 0 } - \li \b { contrast: 0.5 } - \row - \li \l brightness: 0 - \li \l brightness: 0 - \li \l brightness: 0 - \endtable - - */ - property real contrast: 0.0 - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: parent - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property real brightness: rootItem.brightness - property real contrast: rootItem.contrast - - anchors.fill: parent - blending: !rootItem.cached - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/brightnesscontrast.frag" - } -} diff --git a/bin/QtGraphicalEffects/ColorOverlay.qml b/bin/QtGraphicalEffects/ColorOverlay.qml deleted file mode 100644 index f3485418c..000000000 --- a/bin/QtGraphicalEffects/ColorOverlay.qml +++ /dev/null @@ -1,148 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype ColorOverlay - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Alters the colors of the source item by applying an overlay color. - - The effect is similar to what happens when a colorized glass is put on top - of a grayscale image. The color for the overlay is given in the RGBA format. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_butterfly.png - \li \image ColorOverlay_butterfly.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet ColorOverlay-example.qml example - -*/ -Item { - id: rootItem - - /*! - This property defines the source item that provides the source pixels - for the effect. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines the RGBA color value which is used to colorize the - source. - - By default, the property is set to \c "transparent". - - \table - \header - \li Output examples with different color values - \li - \li - \row - \li \image ColorOverlay_color1.png - \li \image ColorOverlay_color2.png - \li \image ColorOverlay_color3.png - \row - \li \b { color: #80ff0000 } - \li \b { color: #8000ff00 } - \li \b { color: #800000ff } - \endtable - - */ - property color color: "transparent" - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: parent - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property color color: rootItem.color - - anchors.fill: parent - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/coloroverlay.frag" - } -} diff --git a/bin/QtGraphicalEffects/Colorize.qml b/bin/QtGraphicalEffects/Colorize.qml deleted file mode 100644 index 42f17965f..000000000 --- a/bin/QtGraphicalEffects/Colorize.qml +++ /dev/null @@ -1,238 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype Colorize - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Sets the color in the HSL color space. - - The effect is similar to what happens when a colorized glass is put on top - of a grayscale image. Colorize uses the hue, saturation, and lightness (HSL) - color space. You can specify a desired value for each property. You can - shift all HSL values with the - \l{QtGraphicalEffects::HueSaturation}{HueSaturation} effect. - - Alternatively, you can use the - \l{QtGraphicalEffects::ColorOverlay}{ColorOverlay} effect to colorize the - source item in the RGBA color space. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image Colorize_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet Colorize-example.qml example -*/ -Item { - id: rootItem - - /*! - This property defines the source item that provides the source pixels - for the effect. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines the hue value which is used to colorize the - source. - - The value ranges from 0.0 to 1.0. By default, the property is set to \c - 0.0, which produces a slightly red color. - - \table - \header - \li Allowed hue values - \row - \li \image Colorize_hue_scale.png - \endtable - - \table - \header - \li Output examples with different hue values - \li - \li - \row - \li \image Colorize_hue1.png - \li \image Colorize_hue2.png - \li \image Colorize_hue3.png - \row - \li \b { hue: 0.2 } - \li \b { hue: 0.5 } - \li \b { hue: 0.8 } - \row - \li \l saturation: 1 - \li \l saturation: 1 - \li \l saturation: 1 - \row - \li \l lightness: 0 - \li \l lightness: 0 - \li \l lightness: 0 - \endtable - */ - property real hue: 0.0 - - /*! - This property defines the saturation value which is used to colorize the - source. - - The value ranges from 0.0 (desaturated) to 1.0 (saturated). By default, - the property is set to \c 1.0 (saturated). - - \table - \header - \li Output examples with different saturation values - \li - \li - \row - \li \image Colorize_saturation1.png - \li \image Colorize_saturation2.png - \li \image Colorize_saturation3.png - \row - \li \b { saturation: 0 } - \li \b { saturation: 0.5 } - \li \b { saturation: 1 } - \row - \li \l hue: 0 - \li \l hue: 0 - \li \l hue: 0 - \row - \li \l lightness: 0 - \li \l lightness: 0 - \li \l lightness: 0 - \endtable - */ - property real saturation: 1.0 - - /*! - This property defines how much the source lightness value is increased - or decreased. - - Unlike hue and saturation properties, lightness does not set the used - value, but it shifts the existing source pixel lightness value. - - The value ranges from -1.0 (decreased) to 1.0 (increased). By default, - the property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different lightness values - \li - \li - \row - \li \image Colorize_lightness1.png - \li \image Colorize_lightness2.png - \li \image Colorize_lightness3.png - \row - \li \b { lightness: -0.75 } - \li \b { lightness: 0 } - \li \b { lightness: 0.75 } - \row - \li \l hue: 0 - \li \l hue: 0 - \li \l hue: 0 - \row - \li \l saturation: 1 - \li \l saturation: 1 - \li \l saturation: 1 - \endtable - */ - property real lightness: 0.0 - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: parent - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property real hue: rootItem.hue - property real saturation: rootItem.saturation - property real lightness: rootItem.lightness - - anchors.fill: parent - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/colorize.frag" - - } -} diff --git a/bin/QtGraphicalEffects/Desaturate.qml b/bin/QtGraphicalEffects/Desaturate.qml deleted file mode 100644 index e56de5532..000000000 --- a/bin/QtGraphicalEffects/Desaturate.qml +++ /dev/null @@ -1,147 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype Desaturate - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Reduces the saturation of the colors. - - Desaturated pixel values are calculated as averages of the original RGB - component values of the source item. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image Desaturate_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet Desaturate-example.qml example - -*/ -Item { - id: rootItem - - /*! - This property defines the source item that provides the source pixels to - the effect. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines how much the source colors are desaturated. - - The value ranges from 0.0 (no change) to 1.0 (desaturated). By default, - the property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different desaturation values - \li - \li - \row - \li \image Desaturate_desaturation1.png - \li \image Desaturate_desaturation2.png - \li \image Desaturate_desaturation3.png - \row - \li \b { desaturation: 0.0 } - \li \b { desaturation: 0.5 } - \li \b { desaturation: 1.0 } - \endtable - */ - property real desaturation: 0.0 - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: parent - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property real desaturation: rootItem.desaturation - - anchors.fill: parent - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/desaturate.frag" - } -} diff --git a/bin/QtGraphicalEffects/DirectionalBlur.qml b/bin/QtGraphicalEffects/DirectionalBlur.qml deleted file mode 100644 index 42ea0781a..000000000 --- a/bin/QtGraphicalEffects/DirectionalBlur.qml +++ /dev/null @@ -1,293 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype DirectionalBlur - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-motion-blur - \brief Applies blur effect to the specified direction. - - Effect creates perceived impression that the source item appears to be - moving in the direction of the blur. Blur is applied to both sides of - each pixel, therefore setting the direction to 0 and 180 provides the - same result. - - Other available motionblur effects are \l{QtGraphicalEffects::ZoomBlur}{ZoomBlur} and - \l{QtGraphicalEffects::RadialBlur}{RadialBlur}. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image DirectionalBlur_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet DirectionalBlur-example.qml example - -*/ -Item { - id: rootItem - - /*! - This property defines the source item that is going to be blurred. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines the perceived amount of movement for each pixel. - The movement is divided evenly to both sides of each pixel. - - The quality of the blur depends on \l{DirectionalBlur::samples}{samples} - property. If length value is large, more samples are needed to keep the - visual quality at high level. - - The value ranges from 0.0 to inf. - By default the property is set to \c 0.0 (no blur). - - \table - \header - \li Output examples with different length values - \li - \li - \row - \li \image DirectionalBlur_length1.png - \li \image DirectionalBlur_length2.png - \li \image DirectionalBlur_length3.png - \row - \li \b { length: 0.0 } - \li \b { length: 32.0 } - \li \b { length: 48.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l angle: 0 - \li \l angle: 0 - \li \l angle: 0 - \endtable - - */ - property real length: 0.0 - - /*! - This property defines how many samples are taken per pixel when blur - calculation is done. Larger value produces better quality, but is slower - to render. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - - Allowed values are between 0 and inf (practical maximum depends on GPU). - By default the property is set to \c 0 (no samples). - - */ - property int samples: 0 - - /*! - This property defines the direction for the blur. Blur is applied to - both sides of each pixel, therefore setting the direction to 0 and 180 - produces the same result. - - The value ranges from -180.0 to 180.0. - By default the property is set to \c 0.0. - - \table - \header - \li Output examples with different angle values - \li - \li - \row - \li \image DirectionalBlur_angle1.png - \li \image DirectionalBlur_angle2.png - \li \image DirectionalBlur_angle3.png - \row - \li \b { angle: 0.0 } - \li \b { angle: 45.0 } - \li \b { angle: 90.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l length: 32 - \li \l length: 32 - \li \l length: 32 - \endtable - - */ - property real angle: 0.0 - - /*! - This property defines the blur behavior near the edges of the item, - where the pixel blurring is affected by the pixels outside the source - edges. - - If the property is set to \c true, the pixels outside the source are - interpreted to be transparent, which is similar to OpenGL - clamp-to-border extension. The blur is expanded slightly outside the - effect item area. - - If the property is set to \c false, the pixels outside the source are - interpreted to contain the same color as the pixels at the edge of the - item, which is similar to OpenGL clamp-to-edge behavior. The blur does - not expand outside the effect item area. - - By default, the property is set to \c false. - - */ - property bool transparentBorder: false - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: shaderItem - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property real len: rootItem.length - property bool transparentBorder: rootItem.transparentBorder - property real samples: rootItem.samples - property real weight: 1.0 / Math.max(1.0, rootItem.samples) - property variant expandPixels: transparentBorder ? Qt.size(rootItem.samples, rootItem.samples) : Qt.size(0,0) - property variant expand: transparentBorder ? Qt.size(expandPixels.width / width, expandPixels.height / height) : Qt.size(0,0) - property variant delta: Qt.size(1.0 / rootItem.width * Math.cos((rootItem.angle + 90) * Math.PI/180), 1.0 / rootItem.height * Math.sin((rootItem.angle + 90) * Math.PI/180)) - - x: transparentBorder ? -expandPixels.width - 1: 0 - y: transparentBorder ? -expandPixels.height - 1 : 0 - width: transparentBorder ? parent.width + 2.0 * expandPixels.width + 2 : parent.width - height: transparentBorder ? parent.height + 2.0 * expandPixels.height + 2 : parent.height - - property string fragmentShaderSkeleton: " - varying highp vec2 qt_TexCoord0; - uniform highp float qt_Opacity; - uniform lowp sampler2D source; - uniform highp float len; - uniform highp float samples; - uniform highp float weight; - uniform highp vec2 expand; - uniform highp vec2 delta; - - void main(void) { - highp vec2 shift = delta * len / max(1.0, samples - 1.0); - mediump vec2 texCoord = qt_TexCoord0; - gl_FragColor = vec4(0.0); - - PLACEHOLDER_EXPAND_STEPS - - texCoord -= shift * max(0.0, samples - 1.0) * 0.5; - - PLACEHOLDER_UNROLLED_LOOP - - gl_FragColor *= weight * qt_Opacity; - } - " - - function buildFragmentShader() { - var shader = "" - if (GraphicsInfo.profile === GraphicsInfo.OpenGLCoreProfile) - shader += "#version 150 core\n#define varying in\n#define texture2D texture\nout vec4 fragColor;\n#define gl_FragColor fragColor\n" - shader += fragmentShaderSkeleton - var expandSteps = "" - - if (transparentBorder) { - expandSteps += "texCoord = (texCoord - expand) / (1.0 - 2.0 * expand);" - } - - var unrolledLoop = "gl_FragColor += texture2D(source, texCoord);\n" - - if (rootItem.samples > 1) { - unrolledLoop = "" - for (var i = 0; i < rootItem.samples; i++) - unrolledLoop += "gl_FragColor += texture2D(source, texCoord); texCoord += shift;\n" - } - - shader = shader.replace("PLACEHOLDER_EXPAND_STEPS", expandSteps) - fragmentShader = shader.replace("PLACEHOLDER_UNROLLED_LOOP", unrolledLoop) - } - - onFragmentShaderChanged: sourceChanged() - onSamplesChanged: buildFragmentShader() - onTransparentBorderChanged: buildFragmentShader() - Component.onCompleted: buildFragmentShader() - } -} diff --git a/bin/QtGraphicalEffects/Displace.qml b/bin/QtGraphicalEffects/Displace.qml deleted file mode 100644 index 340022295..000000000 --- a/bin/QtGraphicalEffects/Displace.qml +++ /dev/null @@ -1,190 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype Displace - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-distortion - \brief Moves the pixels of the source item according to the given - displacement map. - - \table - \header - \li Source - \li DisplacementSource - \li Effect applied - \row - \li \image Original_bug.png - \li \image Displace_map.png - \li \image Displace_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet Displace-example.qml example - -*/ -Item { - id: rootItem - - /*! - This property defines the source item for the pixels that are going to - be displaced according to the data from - \l{Displace::displacementSource}{displacementSource}. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines the item that is going to be used as the - displacement map. The displacementSource item gets rendered into the - intermediate pixel buffer. The red and green component values from the - result determine the displacement of the pixels from the source item. - - The format for the displacement map is similar to the tangent space - normal maps, which can be created with most 3D-modeling tools. Many - image processing tools include the support for generating normal maps. - Alternatively, the displacement map for this effect can also be a QML - element which is colored appropriately. Like any QML element, it can be - animated. It is recommended that the size of the diplacement map matches - the size of the \l{Displace::source}{source}. - - The displace data is interpreted in the RGBA format. For every pixel: - the red channel stores the x-axis displacement, and the green channel - stores the y-axis displacement. Blue and alpha channels are ignored for - this effect. - - Assuming that red channel value 1.0 is fully red (0.0 having no red at - all), this effect considers pixel component value 0.5 to cause no - displacement at all. Values above 0.5 shift pixels to the left, values - below 0.5 do the shift to the right. In a similar way, green channel - values above 0.5 displace the pixels upwards, and values below 0.5 shift - the pixels downwards. The actual amount of displacement in pixels - depends on the \l displacement property. - - */ - property variant displacementSource - - /*! - This property defines the scale for the displacement. The bigger scale, - the bigger the displacement of the pixels. The value set to 0.0 causes - no displacement. - - The value ranges from -1.0 (inverted maximum shift, according to - displacementSource) to 1.0 (maximum shift, according to - displacementSource). By default, the property is set to \c 0.0 (no - displacement). - - \table - \header - \li Output examples with different displacement values - \li - \li - \row - \li \image Displace_displacement1.png - \li \image Displace_displacement2.png - \li \image Displace_displacement3.png - \row - \li \b { displacement: -0.2 } - \li \b { displacement: 0.0 } - \li \b { displacement: 0.2 } - \endtable - - */ - property real displacement: 0.0 - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - } - - SourceProxy { - id: displacementSourceProxy - input: rootItem.displacementSource - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: parent - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property variant displacementSource: displacementSourceProxy.output - property real displacement: rootItem.displacement - property real xPixel: 1.0/width - property real yPixel: 1.0/height - - anchors.fill: parent - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/displace.frag" - } -} diff --git a/bin/QtGraphicalEffects/GammaAdjust.qml b/bin/QtGraphicalEffects/GammaAdjust.qml deleted file mode 100644 index 2c3edbb8b..000000000 --- a/bin/QtGraphicalEffects/GammaAdjust.qml +++ /dev/null @@ -1,184 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype GammaAdjust - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Alters the luminance of the source item. - - GammaAdjust is applied to each pixel according to the curve which is - pre-defined as a power-law expression, where the property gamma is used as the - reciprocal scaling exponent. Refer to the property documentation of \l{GammaAdjust::gamma}{gamma} - for more details. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image GammaAdjust_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet GammaAdjust-example.qml example - -*/ -Item { - id: rootItem - - /*! - This property defines the source item for which the luminance is going to be - adjusted. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines the change factor for how the luminance of each pixel - is altered according to the equation: - - \code -luminance = pow(original_luminance, 1.0 / gamma); // The luminance is assumed to be between 0.0 and 1.0 - \endcode - - Setting the gamma values under 1.0 makes the image darker, the values - above 1.0 lighten it. - - The value ranges from 0.0 (darkest) to inf (lightest). By default, the - property is set to \c 1.0 (no change). - - \table - \header - \li Output examples with different gamma values - \li - \li - \row - \li \image GammaAdjust_gamma1.png - \li \image GammaAdjust_gamma2.png - \li \image GammaAdjust_gamma3.png - \row - \li \b { gamma: 0.5 } - \li \b { gamma: 1.0 } - \li \b { gamma: 2.0 } - \endtable - - \table - \header - \li Pixel luminance curves of the above images. - \li - \li - \row - \li \image GammaAdjust_gamma1_graph.png - \li \image GammaAdjust_gamma2_graph.png - \li \image GammaAdjust_gamma3_graph.png - \row - \li Red curve: default gamma (1.0) - \li - \li - \row - \li Yellow curve: effect applied - \li - \li - \row - \li X-axis: pixel original luminance - \li - \li - \row - \li Y-axis: pixel luminance with effect applied - \li - \li - \endtable - - */ - property real gamma: 1.0 - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: parent - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property real gamma: 1.0 / Math.max(rootItem.gamma, 0.0001) - - anchors.fill: parent - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/gammaadjust.frag" - } -} diff --git a/bin/QtGraphicalEffects/Glow.qml b/bin/QtGraphicalEffects/Glow.qml deleted file mode 100644 index 39e69a35c..000000000 --- a/bin/QtGraphicalEffects/Glow.qml +++ /dev/null @@ -1,294 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Copyright (C) 2017 Jolla Ltd, author: -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype Glow - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-glow - \brief Generates a halo like glow around the source item. - - The Glow effect blurs the alpha channel of the source and colorizes it - with \l {Glow::color}{color} and places it behind the source, resulting in a halo or glow - around the object. The quality of the blurred edge can be controlled using - \l samples and \l radius and the strength of the glow can be changed using - \l spread. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_butterfly_black.png - \li \image Glow_butterfly.png - \endtable - - The glow is created by blurring the image live using a gaussian blur. - Performing blur live is a costly operation. Fullscreen gaussian blur with - even a moderate number of samples will only run at 60 fps on highend - graphics hardware. - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet Glow-example.qml example - -*/ -Item { - id: root - - DropShadowBase { - id: dps - anchors.fill: parent - color: "white" - spread: 0.5 - horizontalOffset: 0 - verticalOffset: 0 - } - - /*! - This property defines the source item that is going to be used as source - for the generated glow. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property alias source: dps.source - - /*! - Radius defines the softness of the glow. A larger radius causes the - edges of the glow to appear more blurry. - - Depending on the radius value, value of the \l{Glow::samples}{samples} - should be set to sufficiently large to ensure the visual quality. - - The ideal blur is achieved by selecting \c samples and \c radius such - that \c {samples = 1 + radius * 2}, such as: - - \table - \header \li Radius \li Samples - \row \li 0 \e{(no blur)} \li 1 - \row \li 1 \li 3 - \row \li 2 \li 5 - \row \li 3 \li 7 - \endtable - - By default, the property is set to \c {floor(samples/2)}. - - \table - \header - \li Output examples with different radius values - \li - \li - \row - \li \image Glow_radius1.png - \li \image Glow_radius2.png - \li \image Glow_radius3.png - \row - \li \b { radius: 0 } - \li \b { radius: 6 } - \li \b { radius: 12 } - \row - \li \l samples: 25 - \li \l samples: 25 - \li \l samples: 25 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \endtable - */ - property alias radius: dps.radius - - /*! - This property defines how many samples are taken per pixel when edge - softening blur calculation is done. Larger value produces better - quality, but is slower to render. - - Ideally, this value should be twice as large as the highest required - radius value plus one, such as: - - \table - \header \li Radius \li Samples - \row \li 0 \e{(no blur)} \li 1 - \row \li 1 \li 3 - \row \li 2 \li 5 - \row \li 3 \li 7 - \endtable - - By default, the property is set to \c 9. - - This property is not intended to be animated. Changing this property will - cause the underlying OpenGL shaders to be recompiled. - */ - property alias samples: dps.samples - - /*! - This property defines how large part of the glow color is strengthened - near the source edges. - - The values range from 0.0 to 1.0. By default, the property is set to \c - 0.5. - - \note The implementation is optimized for medium and low spread values. - Depending on the source, spread values closer to 1.0 may yield visually - asymmetrical results. - - \table - \header - \li Output examples with different spread values - \li - \li - \row - \li \image Glow_spread1.png - \li \image Glow_spread2.png - \li \image Glow_spread3.png - \row - \li \b { spread: 0.0 } - \li \b { spread: 0.5 } - \li \b { spread: 1.0 } - \row - \li \l radius: 8 - \li \l radius: 8 - \li \l radius: 8 - \row - \li \l samples: 17 - \li \l samples: 17 - \li \l samples: 17 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \endtable - */ - property alias spread: dps.spread - - /*! - This property defines the RGBA color value which is used for the glow. - - By default, the property is set to \c "white". - - \table - \header - \li Output examples with different color values - \li - \li - \row - \li \image Glow_color1.png - \li \image Glow_color2.png - \li \image Glow_color3.png - \row - \li \b { color: #ffffff } - \li \b { color: #00ff00 } - \li \b { color: #aa00ff00 } - \row - \li \l radius: 8 - \li \l radius: 8 - \li \l radius: 8 - \row - \li \l samples: 17 - \li \l samples: 17 - \li \l samples: 17 - \row - \li \l spread: 0.5 - \li \l spread: 0.5 - \li \l spread: 0.5 - \endtable - - */ - property alias color: dps.color - - /*! - \internal - - Starting Qt 5.6, this property has no effect. It is left here - for source compatibility only. - - ### Qt 6: remove - */ - property bool fast: false - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - - */ - property alias cached: dps.cached - - /*! - This property determines whether or not the effect has a transparent - border. - - When set to \c true, the exterior of the item is padded with a - transparent edge, making sampling outside the source texture use - transparency instead of the edge pixels. Without this property, an - image which has opaque edges will not get a blurred edge. - - By default, the property is set to \c true. Set it to false if the source - already has a transparent edge to make the blurring a tiny bit faster. - - In the snippet below, the Rectangle on the left has transparent borders - and has blurred edges, whereas the Rectangle on the right does not. - - \snippet Glow-transparentBorder-example.qml example - - \image Glow-transparentBorder.png - */ - property alias transparentBorder: dps.transparentBorder -} diff --git a/bin/QtGraphicalEffects/HueSaturation.qml b/bin/QtGraphicalEffects/HueSaturation.qml deleted file mode 100644 index eb13dcb63..000000000 --- a/bin/QtGraphicalEffects/HueSaturation.qml +++ /dev/null @@ -1,224 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype HueSaturation - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-color - \brief Alters the source item colors in the HSL color space. - - HueSaturation is similar to the \l{QtGraphicalEffects::Colorize}{Colorize} - effect, but the hue and saturation property values are handled differently. - The HueSaturation effect always shifts the hue, saturation, and lightness - from the original, instead of setting them. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image HueSaturation_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet HueSaturation-example.qml example - -*/ -Item { - id: rootItem - - /*! - This property defines the source item that provides the source pixels - for the effect. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source: 0 - - /*! - This property defines the hue value which is added to the source hue - value. - - The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the - property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different hue values - \li - \li - \row - \li \image HueSaturation_hue1.png - \li \image HueSaturation_hue2.png - \li \image HueSaturation_hue3.png - \row - \li \b { hue: -0.3 } - \li \b { hue: 0.0 } - \li \b { hue: 0.3 } - \row - \li \l saturation: 0 - \li \l saturation: 0 - \li \l saturation: 0 - \row - \li \l lightness: 0 - \li \l lightness: 0 - \li \l lightness: 0 - \endtable - - */ - property real hue: 0.0 - - /*! - This property defines the saturation value value which is added to the - source saturation value. - - The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the - property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different saturation values - \li - \li - \row - \li \image HueSaturation_saturation1.png - \li \image HueSaturation_saturation2.png - \li \image HueSaturation_saturation3.png - \row - \li \b { saturation: -0.8 } - \li \b { saturation: 0.0 } - \li \b { saturation: 1.0 } - \row - \li \l hue: 0 - \li \l hue: 0 - \li \l hue: 0 - \row - \li \l lightness: 0 - \li \l lightness: 0 - \li \l lightness: 0 - \endtable - - */ - property real saturation: 0.0 - - /*! - This property defines the lightness value which is added to the source - saturation value. - - The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the - property is set to \c 0.0 (no change). - - \table - \header - \li Output examples with different lightness values - \li - \li - \row - \li \image HueSaturation_lightness1.png - \li \image HueSaturation_lightness2.png - \li \image HueSaturation_lightness3.png - \row - \li \b { lightness: -0.5 } - \li \b { lightness: 0.0 } - \li \b { lightness: 0.5 } - \row - \li \l hue: 0 - \li \l hue: 0 - \li \l hue: 0 - \row - \li \l saturation: 0 - \li \l saturation: 0 - \li \l saturation: 0 - \endtable - - */ - property real lightness: 0.0 - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: parent - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property variant hsl: Qt.vector3d(rootItem.hue, rootItem.saturation, rootItem.lightness) - - anchors.fill: parent - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/huesaturation.frag" - } -} diff --git a/bin/QtGraphicalEffects/MaskedBlur.qml b/bin/QtGraphicalEffects/MaskedBlur.qml deleted file mode 100644 index d777b0ae2..000000000 --- a/bin/QtGraphicalEffects/MaskedBlur.qml +++ /dev/null @@ -1,218 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Copyright (C) 2017 Jolla Ltd, author: -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype MaskedBlur - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-blur - \brief Applies a blur effect with a varying intesity. - - MaskedBlur effect softens the image by blurring it. The intensity of the - blur can be controlled for each pixel using maskSource so that some parts of - the source are blurred more than others. - - Performing blur live is a costly operation. Fullscreen gaussian blur - with even a moderate number of samples will only run at 60 fps on highend - graphics hardware. - - \table - \header - \li Source - \li MaskSource - \li Effect applied - \row - \li \image Original_bug.png - \li \image MaskedBlur_mask.png - \li \image MaskedBlur_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet MaskedBlur-example.qml example - -*/ -Item { - id: root - - /*! - This property defines the source item that is going to be blurred. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property alias source: blur.source - - /*! - This property defines the item that is controlling the final intensity - of the blur. The pixel alpha channel value from maskSource defines the - actual blur radius that is going to be used for blurring the - corresponding source pixel. - - Opaque maskSource pixels produce blur with specified - \l{MaskedBlur::radius}{radius}, while transparent pixels suppress the - blur completely. Semitransparent maskSource pixels produce blur with a - radius that is interpolated according to the pixel transparency level. - */ - property alias maskSource: maskProxy.input - - /*! - This property defines the distance of the neighboring pixels which - affect the blurring of an individual pixel. A larger radius increases - the blur effect. - - Depending on the radius value, value of the - \l{MaskedBlur::samples}{samples} should be set to sufficiently large to - ensure the visual quality. - - The value ranges from 0.0 (no blur) to inf. By default, the property is - set to \c 0.0 (no blur). - - \table - \header - \li Output examples with different radius values - \li - \li - \row - \li \image MaskedBlur_radius1.png - \li \image MaskedBlur_radius2.png - \li \image MaskedBlur_radius3.png - \row - \li \b { radius: 0 } - \li \b { radius: 8 } - \li \b { radius: 16 } - \row - \li \l samples: 25 - \li \l samples: 25 - \li \l samples: 25 - \endtable - - */ - property alias radius: blur.radius - - /*! - This property defines how many samples are taken per pixel when blur - calculation is done. Larger value produces better quality, but is slower - to render. - - Ideally, this value should be twice as large as the highest required - radius value plus 1, for example, if the radius is animated between 0.0 - and 4.0, samples should be set to 9. - - By default, the property is set to \c 9. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - */ - property alias samples: blur.samples - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. Every time the source or effect - properties are changed, the pixels in the cache must be updated. Memory - consumption is increased, because an extra buffer of memory is required - for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - - */ - property alias cached: cacheItem.visible - - /*! - \internal - - Kept for source compatibility only. Removed in Qt 5.6 - ### Qt6: remove - */ - property bool fast: false - - /*! - \internal - - Kept for source compatibility only. Removed in Qt 5.6 - - Doing transparent border on a masked source doesn't make any sense - as the padded exterior will have a mask alpha value of 0 which means - no blurring and as the padded exterior of the source is a transparent - pixel, the result is no pixels at all. - - In Qt 5.6 and before, this worked based on that the mask source - was scaled up to fit the padded blur target rect, which would lead - to inconsistent and buggy results. - - ### Qt6: remove - */ - property bool transparentBorder; - - GaussianBlur { - id: blur - - source: root.source; - anchors.fill: parent - _maskSource: maskProxy.output; - - SourceProxy { - id: maskProxy - } - } - - ShaderEffectSource { - id: cacheItem - x: -blur._kernelRadius - y: -blur._kernelRadius - width: blur.width + 2 * blur._kernelRadius - height: blur.height + 2 * blur._kernelRadius - visible: false - smooth: true - sourceRect: Qt.rect(-blur._kernelRadius, -blur._kernelRadius, width, height); - sourceItem: blur - hideSource: visible - } -} diff --git a/bin/QtGraphicalEffects/OpacityMask.qml b/bin/QtGraphicalEffects/OpacityMask.qml deleted file mode 100644 index 7dffb6d48..000000000 --- a/bin/QtGraphicalEffects/OpacityMask.qml +++ /dev/null @@ -1,162 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype OpacityMask - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-mask - \brief Masks the source item with another item. - - \table - \header - \li Source - \li MaskSource - \li Effect applied - \row - \li \image Original_bug.png - \li \image OpacityMask_mask.png - \li \image OpacityMask_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet OpacityMask-example.qml example - -*/ -Item { - id: rootItem - - /*! - This property defines the source item that is going to be masked. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines the item that is going to be used as the mask. The - mask item gets rendered into an intermediate pixel buffer and the alpha - values from the result are used to determine the source item's pixels - visibility in the display. - - \table - \header - \li Original - \li Mask - \li Effect applied - \row - \li \image Original_bug.png - \li \image OpacityMask_mask.png - \li \image OpacityMask_bug.png - \endtable - */ - property variant maskSource - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - - \note It is not supported to let the effect include itself, for - instance by setting maskSource to the effect's parent. - */ - property bool cached: false - - /*! - This property controls how the alpha values of the sourceMask will behave. - - If this property is \c false, the resulting opacity is the source alpha - multiplied with the mask alpha, \c{As * Am}. - - If this property is \c true, the resulting opacity is the source alpha - multiplied with the inverse of the mask alpha, \c{As * (1 - Am)}. - - The default is \c false. - - \since 5.7 - */ - property bool invert: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - } - - SourceProxy { - id: maskSourceProxy - input: rootItem.maskSource - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: parent - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property variant maskSource: maskSourceProxy.output - - anchors.fill: parent - - fragmentShader: invert ? "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/opacitymask_invert.frag" : "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/opacitymask.frag" - } -} diff --git a/bin/QtGraphicalEffects/RadialBlur.qml b/bin/QtGraphicalEffects/RadialBlur.qml deleted file mode 100644 index 71d3b6487..000000000 --- a/bin/QtGraphicalEffects/RadialBlur.qml +++ /dev/null @@ -1,316 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype RadialBlur - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-motion-blur - \brief Applies directional blur in a circular direction around the items - center point. - - Effect creates perceived impression that the source item appears to be - rotating to the direction of the blur. - - Other available motionblur effects are - \l{QtGraphicalEffects::ZoomBlur}{ZoomBlur} and - \l{QtGraphicalEffects::DirectionalBlur}{DirectionalBlur}. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image RadialBlur_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example Usage - - The following example shows how to apply the effect. - \snippet RadialBlur-example.qml example -*/ -Item { - id: rootItem - - /*! - This property defines the source item that is going to be blurred. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines the direction for the blur and at the same time - the level of blurring. The larger the angle, the more the result becomes - blurred. The quality of the blur depends on - \l{RadialBlur::samples}{samples} property. If angle value is large, more - samples are needed to keep the visual quality at high level. - - Allowed values are between 0.0 and 360.0. By default the property is set - to \c 0.0. - - \table - \header - \li Output examples with different angle values - \li - \li - \row - \li \image RadialBlur_angle1.png - \li \image RadialBlur_angle2.png - \li \image RadialBlur_angle3.png - \row - \li \b { angle: 0.0 } - \li \b { angle: 15.0 } - \li \b { angle: 30.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - */ - property real angle: 0.0 - - /*! - This property defines how many samples are taken per pixel when blur - calculation is done. Larger value produces better quality, but is slower - to render. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - - Allowed values are between 0 and inf (practical maximum depends on GPU). - By default the property is set to \c 0 (no samples). - - */ - property int samples: 0 - - /*! - \qmlproperty real QtGraphicalEffects::RadialBlur::horizontalOffset - \qmlproperty real QtGraphicalEffects::RadialBlur::verticalOffset - - These properties define the offset in pixels for the perceived center - point of the rotation. - - Allowed values are between -inf and inf. - By default these properties are set to \c 0. - - \table - \header - \li Output examples with different horizontalOffset values - \li - \li - \row - \li \image RadialBlur_horizontalOffset1.png - \li \image RadialBlur_horizontalOffset2.png - \li \image RadialBlur_horizontalOffset3.png - \row - \li \b { horizontalOffset: 75.0 } - \li \b { horizontalOffset: 0.0 } - \li \b { horizontalOffset: -75.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l angle: 20 - \li \l angle: 20 - \li \l angle: 20 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - */ - property real horizontalOffset: 0.0 - property real verticalOffset: 0.0 - - /*! - This property defines the blur behavior near the edges of the item, - where the pixel blurring is affected by the pixels outside the source - edges. - - If the property is set to \c true, the pixels outside the source are - interpreted to be transparent, which is similar to OpenGL - clamp-to-border extension. The blur is expanded slightly outside the - effect item area. - - If the property is set to \c false, the pixels outside the source are - interpreted to contain the same color as the pixels at the edge of the - item, which is similar to OpenGL clamp-to-edge behavior. The blur does - not expand outside the effect item area. - - By default, the property is set to \c false. - */ - property bool transparentBorder: false - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - sourceRect: shaderItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: shaderItem - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property variant center: Qt.point(0.5 + rootItem.horizontalOffset / parent.width, 0.5 + rootItem.verticalOffset / parent.height) - property bool transparentBorder: rootItem.transparentBorder && rootItem.samples > 1 - property int samples: rootItem.samples - property real weight: 1.0 / Math.max(1.0, rootItem.samples) - property real angleSin: Math.sin(rootItem.angle/2 * Math.PI/180) - property real angleCos: Math.cos(rootItem.angle/2 * Math.PI/180) - property real angleSinStep: Math.sin(-rootItem.angle * Math.PI/180 / Math.max(1.0, rootItem.samples - 1)) - property real angleCosStep: Math.cos(-rootItem.angle * Math.PI/180 / Math.max(1.0, rootItem.samples - 1)) - property variant expandPixels: transparentBorder ? Qt.size(0.5 * parent.height, 0.5 * parent.width) : Qt.size(0,0) - property variant expand: transparentBorder ? Qt.size(expandPixels.width / width, expandPixels.height / height) : Qt.size(0,0) - property variant delta: Qt.size(1.0 / rootItem.width, 1.0 / rootItem.height) - property real w: parent.width - property real h: parent.height - - x: transparentBorder ? -expandPixels.width - 1 : 0 - y: transparentBorder ? -expandPixels.height - 1 : 0 - width: transparentBorder ? parent.width + expandPixels.width * 2.0 + 2 : parent.width - height: transparentBorder ? parent.height + expandPixels.height * 2.0 + 2 : parent.height - - property string fragmentShaderSkeleton: " - varying highp vec2 qt_TexCoord0; - uniform highp float qt_Opacity; - uniform lowp sampler2D source; - uniform highp float angleSin; - uniform highp float angleCos; - uniform highp float angleSinStep; - uniform highp float angleCosStep; - uniform highp float weight; - uniform highp vec2 expand; - uniform highp vec2 center; - uniform highp vec2 delta; - uniform highp float w; - uniform highp float h; - - void main(void) { - highp mat2 m; - gl_FragColor = vec4(0.0); - mediump vec2 texCoord = qt_TexCoord0; - - PLACEHOLDER_EXPAND_STEPS - - highp vec2 dir = vec2(texCoord.s * w - w * center.x, texCoord.t * h - h * center.y); - m[0] = vec2(angleCos, -angleSin); - m[1] = vec2(angleSin, angleCos); - dir *= m; - - m[0] = vec2(angleCosStep, -angleSinStep); - m[1] = vec2(angleSinStep, angleCosStep); - - PLACEHOLDER_UNROLLED_LOOP - - gl_FragColor *= weight * qt_Opacity; - } - " - - function buildFragmentShader() { - var shader = "" - if (GraphicsInfo.profile == GraphicsInfo.OpenGLCoreProfile) - shader += "#version 150 core\n#define varying in\n#define gl_FragColor fragColor\n#define texture2D texture\nout vec4 fragColor;\n" - shader += fragmentShaderSkeleton - var expandSteps = "" - - if (transparentBorder) { - expandSteps += "texCoord = (texCoord - expand) / (1.0 - 2.0 * expand);" - } - - var unrolledLoop = "gl_FragColor += texture2D(source, texCoord);\n" - - if (rootItem.samples > 1) { - unrolledLoop = "" - for (var i = 0; i < rootItem.samples; i++) - unrolledLoop += "gl_FragColor += texture2D(source, center + dir * delta); dir *= m;\n" - } - - shader = shader.replace("PLACEHOLDER_EXPAND_STEPS", expandSteps) - fragmentShader = shader.replace("PLACEHOLDER_UNROLLED_LOOP", unrolledLoop) - } - - onFragmentShaderChanged: sourceChanged() - onSamplesChanged: buildFragmentShader() - onTransparentBorderChanged: buildFragmentShader() - Component.onCompleted: buildFragmentShader() - } -} diff --git a/bin/QtGraphicalEffects/RectangularGlow.qml b/bin/QtGraphicalEffects/RectangularGlow.qml deleted file mode 100644 index 62862e306..000000000 --- a/bin/QtGraphicalEffects/RectangularGlow.qml +++ /dev/null @@ -1,269 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype RectangularGlow - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-glow - \brief Generates a blurred and colorized rectangle, which gives - the impression that the source is glowing. - - This effect is intended to have good performance. The shape of the glow is - limited to a rectangle with a custom corner radius. For situations where - custom shapes are required, consider \l {QtGraphicalEffects::Glow} {Glow} - effect. - - \table - \header - \li Effect applied - \row - \li \image RectangularGlow_applied.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet RectangularGlow-example.qml example -*/ -Item { - id: rootItem - - /*! - This property defines how many pixels outside the item area are reached - by the glow. - - The value ranges from 0.0 (no glow) to inf (infinite glow). By default, - the property is set to \c 0.0. - - \table - \header - \li Output examples with different glowRadius values - \li - \li - \row - \li \image RectangularGlow_glowRadius1.png - \li \image RectangularGlow_glowRadius2.png - \li \image RectangularGlow_glowRadius3.png - \row - \li \b { glowRadius: 10 } - \li \b { glowRadius: 20 } - \li \b { glowRadius: 40 } - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \row - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \endtable - - */ - property real glowRadius: 0.0 - - /*! - This property defines how large part of the glow color is strengthened - near the source edges. - - The value ranges from 0.0 (no strength increase) to 1.0 (maximum - strength increase). By default, the property is set to \c 0.0. - - \table - \header - \li Output examples with different spread values - \li - \li - \row - \li \image RectangularGlow_spread1.png - \li \image RectangularGlow_spread2.png - \li \image RectangularGlow_spread3.png - \row - \li \b { spread: 0.0 } - \li \b { spread: 0.5 } - \li \b { spread: 1.0 } - \row - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \row - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \endtable - */ - property real spread: 0.0 - - /*! - This property defines the RGBA color value which is used for the glow. - - By default, the property is set to \c "white". - - \table - \header - \li Output examples with different color values - \li - \li - \row - \li \image RectangularGlow_color1.png - \li \image RectangularGlow_color2.png - \li \image RectangularGlow_color3.png - \row - \li \b { color: #ffffff } - \li \b { color: #55ff55 } - \li \b { color: #5555ff } - \row - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \row - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \endtable - */ - property color color: "white" - - /*! - This property defines the corner radius that is used to draw a glow with - rounded corners. - - The value ranges from 0.0 to half of the effective width or height of - the glow, whichever is smaller. This can be calculated with: \c{ - min(width, height) / 2.0 + glowRadius} - - By default, the property is bound to glowRadius property. The glow - behaves as if the rectangle was blurred when adjusting the glowRadius - property. - - \table - \header - \li Output examples with different cornerRadius values - \li - \li - \row - \li \image RectangularGlow_cornerRadius1.png - \li \image RectangularGlow_cornerRadius2.png - \li \image RectangularGlow_cornerRadius3.png - \row - \li \b { cornerRadius: 0 } - \li \b { cornerRadius: 25 } - \li \b { cornerRadius: 50 } - \row - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \endtable - */ - property real cornerRadius: glowRadius - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - */ - property bool cached: false - - ShaderEffectSource { - id: cacheItem - anchors.fill: shaderItem - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - - x: (parent.width - width) / 2.0 - y: (parent.height - height) / 2.0 - width: parent.width + rootItem.glowRadius * 2 + cornerRadius * 2 - height: parent.height + rootItem.glowRadius * 2 + cornerRadius * 2 - - function clampedCornerRadius() { - var maxCornerRadius = Math.min(rootItem.width, rootItem.height) / 2 + glowRadius; - return Math.max(0, Math.min(rootItem.cornerRadius, maxCornerRadius)) - } - - property color color: rootItem.color - property real inverseSpread: 1.0 - rootItem.spread - property real relativeSizeX: ((inverseSpread * inverseSpread) * rootItem.glowRadius + cornerRadius * 2.0) / width - property real relativeSizeY: relativeSizeX * (width / height) - property real spread: rootItem.spread / 2.0 - property real cornerRadius: clampedCornerRadius() - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/rectangularglow.frag" - } -} diff --git a/bin/QtGraphicalEffects/ThresholdMask.qml b/bin/QtGraphicalEffects/ThresholdMask.qml deleted file mode 100644 index 204d8c937..000000000 --- a/bin/QtGraphicalEffects/ThresholdMask.qml +++ /dev/null @@ -1,215 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype ThresholdMask - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-mask - \brief Masks the source item with another item and applies a threshold - value. - - The masking behavior can be controlled with the \l threshold value for the - mask pixels. - - \table - \header - \li Source - \li MaskSource - \li Effect applied - \row - \li \image Original_bug.png - \li \image ThresholdMask_mask.png - \li \image ThresholdMask_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet ThresholdMask-example.qml example -*/ -Item { - id: rootItem - - /*! - This property defines the source item that is going to be masked. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines the item that is going to be used as the mask. - Mask item gets rendered into an intermediate pixel buffer and the alpha - values from the result are used to determine the source item's pixels - visibility in the display. - - \table - \header - \li Original - \li Mask - \li Effect applied - \row - \li \image Original_bug.png - \li \image ThresholdMask_mask.png - \li \image ThresholdMask_bug.png - \endtable - - \note It is not supported to let the effect include itself, for - instance by setting maskSource to the effect's parent. - */ - property variant maskSource - - /*! - This property defines a threshold value for the mask pixels. The mask - pixels that have an alpha value below this property are used to - completely mask away the corresponding pixels from the source item. The - mask pixels that have a higher alpha value are used to alphablend the - source item to the display. - - The value ranges from 0.0 (alpha value 0) to 1.0 (alpha value 255). By - default, the property is set to \c 0.0. - - \table - \header - \li Output examples with different threshold values - \li - \li - \row - \li \image ThresholdMask_threshold1.png - \li \image ThresholdMask_threshold2.png - \li \image ThresholdMask_threshold3.png - \row - \li \b { threshold: 0.0 } - \li \b { threshold: 0.5 } - \li \b { threshold: 0.7 } - \row - \li \l spread: 0.2 - \li \l spread: 0.2 - \li \l spread: 0.2 - \endtable - */ - property real threshold: 0.0 - - /*! - This property defines the smoothness of the mask edges near the - \l{ThresholdMask::threshold}{threshold} alpha value. Setting spread to - 0.0 uses mask normally with the specified threshold. Setting higher - spread values softens the transition from the transparent mask pixels - towards opaque mask pixels by adding interpolated values between them. - - The value ranges from 0.0 (sharp mask edge) to 1.0 (smooth mask edge). - By default, the property is set to \c 0.0. - - \table - \header - \li Output examples with different spread values - \li - \li - \row - \li \image ThresholdMask_spread1.png - \li \image ThresholdMask_spread2.png - \li \image ThresholdMask_spread3.png - \row - \li \b { spread: 0.0 } - \li \b { spread: 0.2 } - \li \b { spread: 0.8 } - \row - \li \l threshold: 0.4 - \li \l threshold: 0.4 - \li \l threshold: 0.4 - \endtable - - */ - property real spread: 0.0 - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - } - - SourceProxy { - id: maskSourceProxy - input: rootItem.maskSource - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: parent - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property variant maskSource: maskSourceProxy.output - property real threshold: rootItem.threshold - property real spread: rootItem.spread - - anchors.fill: parent - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/thresholdmask.frag" - } -} diff --git a/bin/QtGraphicalEffects/ZoomBlur.qml b/bin/QtGraphicalEffects/ZoomBlur.qml deleted file mode 100644 index 66ba71024..000000000 --- a/bin/QtGraphicalEffects/ZoomBlur.qml +++ /dev/null @@ -1,306 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -/*! - \qmltype ZoomBlur - \inqmlmodule QtGraphicalEffects - \since QtGraphicalEffects 1.0 - \inherits QtQuick2::Item - \ingroup qtgraphicaleffects-motion-blur - \brief Applies directional blur effect towards source items center point. - - Effect creates perceived impression that the source item appears to be - moving towards the center point in Z-direction or that the camera appears - to be zooming rapidly. Other available motion blur effects are - \l{QtGraphicalEffects::DirectionalBlur}{DirectionalBlur} - and \l{QtGraphicalEffects::RadialBlur}{RadialBlur}. - - \table - \header - \li Source - \li Effect applied - \row - \li \image Original_bug.png - \li \image ZoomBlur_bug.png - \endtable - - \note This effect is available when running with OpenGL. - - \section1 Example - - The following example shows how to apply the effect. - \snippet ZoomBlur-example.qml example - -*/ -Item { - id: rootItem - - /*! - This property defines the source item that is going to be blurred. - - \note It is not supported to let the effect include itself, for - instance by setting source to the effect's parent. - */ - property variant source - - /*! - This property defines the maximum perceived amount of movement for each - pixel. The amount is smaller near the center and reaches the specified - value at the edges. - - The quality of the blur depends on \l{ZoomBlur::samples}{samples} - property. If length value is large, more samples are needed to keep the - visual quality at high level. - - The value ranges from 0.0 to inf. By default the property is set to \c - 0.0 (no blur). - - \table - \header - \li Output examples with different length values - \li - \li - \row - \li \image ZoomBlur_length1.png - \li \image ZoomBlur_length2.png - \li \image ZoomBlur_length3.png - \row - \li \b { length: 0.0 } - \li \b { length: 32.0 } - \li \b { length: 48.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \li \l horizontalOffset: 0 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - - */ - property real length: 0.0 - - /*! - This property defines how many samples are taken per pixel when blur - calculation is done. Larger value produces better quality, but is slower - to render. - - This property is not intended to be animated. Changing this property may - cause the underlying OpenGL shaders to be recompiled. - - Allowed values are between 0 and inf (practical maximum depends on GPU). - By default the property is set to \c 0 (no samples). - - */ - property int samples: 0 - - /*! - \qmlproperty real QtGraphicalEffects::ZoomBlur::horizontalOffset - \qmlproperty real QtGraphicalEffects::ZoomBlur::verticalOffset - - These properties define an offset in pixels for the blur direction - center point. - - The values range from -inf to inf. By default these properties are set - to \c 0. - - \table - \header - \li Output examples with different horizontalOffset values - \li - \li - \row - \li \image ZoomBlur_horizontalOffset1.png - \li \image ZoomBlur_horizontalOffset2.png - \li \image ZoomBlur_horizontalOffset3.png - \row - \li \b { horizontalOffset: 100.0 } - \li \b { horizontalOffset: 0.0 } - \li \b { horizontalOffset: -100.0 } - \row - \li \l samples: 24 - \li \l samples: 24 - \li \l samples: 24 - \row - \li \l length: 32 - \li \l length: 32 - \li \l length: 32 - \row - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \li \l verticalOffset: 0 - \endtable - */ - property real horizontalOffset: 0.0 - property real verticalOffset: 0.0 - - /*! - This property defines the blur behavior near the edges of the item, - where the pixel blurring is affected by the pixels outside the source - edges. - - If the property is set to \c true, the pixels outside the source are - interpreted to be transparent, which is similar to OpenGL - clamp-to-border extension. The blur is expanded slightly outside the - effect item area. - - If the property is set to \c false, the pixels outside the source are - interpreted to contain the same color as the pixels at the edge of the - item, which is similar to OpenGL clamp-to-edge behavior. The blur does - not expand outside the effect item area. - - By default, the property is set to \c false. - - */ - property bool transparentBorder: false - - /*! - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - */ - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: shaderItem - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property variant center: Qt.point(0.5 + rootItem.horizontalOffset / width, 0.5 + rootItem.verticalOffset / height) - property real len: rootItem.length - property bool transparentBorder: rootItem.transparentBorder - property real samples: rootItem.samples - property real weight: 1.0 / Math.max(1.0, rootItem.samples) - property variant expandPixels: transparentBorder ? Qt.size(rootItem.samples, rootItem.samples) : Qt.size(0,0) - property variant expand: transparentBorder ? Qt.size(expandPixels.width / width, expandPixels.height / height) : Qt.size(0,0) - property variant delta: Qt.size(1.0 / rootItem.width, 1.0 / rootItem.height) - - x: transparentBorder ? -expandPixels.width - 1 : 0 - y: transparentBorder ? -expandPixels.height - 1 : 0 - width: transparentBorder ? parent.width + 2.0 * expandPixels.width + 2 : parent.width - height: transparentBorder ? parent.height + 2.0 * expandPixels.height + 2 : parent.height - - property string fragmentShaderSkeleton: " - varying highp vec2 qt_TexCoord0; - uniform highp float qt_Opacity; - uniform lowp sampler2D source; - uniform highp float len; - uniform highp float weight; - uniform highp float samples; - uniform highp vec2 center; - uniform highp vec2 expand; - uniform highp vec2 delta; - - void main(void) { - mediump vec2 texCoord = qt_TexCoord0; - mediump vec2 centerCoord = center; - - PLACEHOLDER_EXPAND_STEPS - - highp vec2 dir = vec2(centerCoord.x - texCoord.s, centerCoord.y - texCoord.t); - dir /= max(1.0, length(dir) * 2.0); - highp vec2 shift = delta * len * dir * 2.0 / max(1.0, samples - 1.0); - gl_FragColor = vec4(0.0); - - PLACEHOLDER_UNROLLED_LOOP - - gl_FragColor *= weight * qt_Opacity; - } - " - - function buildFragmentShader() { - var shader = "" - if (GraphicsInfo.profile == GraphicsInfo.OpenGLCoreProfile) - shader += "#version 150 core\n#define varying in\n#define gl_FragColor fragColor\n#define texture2D texture\nout vec4 fragColor;\n" - shader += fragmentShaderSkeleton - var expandSteps = "" - - if (transparentBorder) { - expandSteps += "centerCoord = (centerCoord - expand) / (1.0 - 2.0 * expand);" - expandSteps += "texCoord = (texCoord - expand) / (1.0 - 2.0 * expand);" - } - - var unrolledLoop = "gl_FragColor += texture2D(source, texCoord);\n" - - if (rootItem.samples > 1) { - unrolledLoop = "" - for (var i = 0; i < rootItem.samples; i++) - unrolledLoop += "gl_FragColor += texture2D(source, texCoord); texCoord += shift;\n" - } - - shader = shader.replace("PLACEHOLDER_EXPAND_STEPS", expandSteps) - fragmentShader = shader.replace("PLACEHOLDER_UNROLLED_LOOP", unrolledLoop) - } - - onFragmentShaderChanged: sourceChanged() - onSamplesChanged: buildFragmentShader() - onTransparentBorderChanged: buildFragmentShader() - Component.onCompleted: buildFragmentShader() - } -} diff --git a/bin/QtGraphicalEffects/plugins.qmltypes b/bin/QtGraphicalEffects/plugins.qmltypes deleted file mode 100644 index f80584353..000000000 --- a/bin/QtGraphicalEffects/plugins.qmltypes +++ /dev/null @@ -1,11 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable QtGraphicalEffects 1.15' - -Module { - dependencies: ["QtQuick 2.12", "QtQuick.Window 2.12"] -} diff --git a/bin/QtGraphicalEffects/private/DropShadowBase.qml b/bin/QtGraphicalEffects/private/DropShadowBase.qml deleted file mode 100644 index e9927ea4d..000000000 --- a/bin/QtGraphicalEffects/private/DropShadowBase.qml +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 Jolla Ltd, author: -** Contact: http://www.qt-project.org/legal -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Window 2.12 -import QtGraphicalEffects.private 1.12 -import QtGraphicalEffects 1.12 - -Item { - id: root - - property variant source - property real radius: Math.floor(samples / 2) - property int samples: 9 - property color color: "black" - property real horizontalOffset: 0 - property real verticalOffset: 0 - property real spread: 0.0 - property bool cached: false - property bool transparentBorder: true - - GaussianBlur { - id: blur - width: parent.width - height: parent.height - x: Math.round(horizontalOffset) - y: Math.round(verticalOffset) - source: root.source - radius: root.radius * Screen.devicePixelRatio - samples: root.samples * Screen.devicePixelRatio - _thickness: root.spread - transparentBorder: root.transparentBorder - - - _color: root.color; - _alphaOnly: true - // ignoreDevicePixelRatio: root.ignoreDevicePixelRatio - - ShaderEffect { - x: blur._outputRect.x - parent.x - y: blur._outputRect.y - parent.y - width: transparentBorder ? blur._outputRect.width : blur.width - height: transparentBorder ? blur._outputRect.height : blur.height - property variant source: blur._output; - } - - } - - ShaderEffectSource { - id: cacheItem - x: -blur._kernelRadius + horizontalOffset - y: -blur._kernelRadius + verticalOffset - width: blur.width + 2 * blur._kernelRadius - height: blur.height + 2 * blur._kernelRadius - visible: root.cached - smooth: true - sourceRect: Qt.rect(-blur._kernelRadius, -blur._kernelRadius, width, height); - sourceItem: blur - hideSource: visible - } - - -} diff --git a/bin/QtGraphicalEffects/private/FastGlow.qml b/bin/QtGraphicalEffects/private/FastGlow.qml deleted file mode 100644 index 5c737f1f5..000000000 --- a/bin/QtGraphicalEffects/private/FastGlow.qml +++ /dev/null @@ -1,331 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -Item { - id: rootItem - property variant source - property real spread: 0.0 - property real blur: 0.0 - property color color: "white" - property bool transparentBorder: false - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: shaderItem - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.vert" - - property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.frag" - - ShaderEffect { - id: level0 - property variant source: sourceProxy.output - anchors.fill: parent - visible: false - smooth: true - } - - ShaderEffectSource { - id: level1 - width: Math.ceil(shaderItem.width / 32) * 32 - height: Math.ceil(shaderItem.height / 32) * 32 - sourceItem: level0 - hideSource: rootItem.visible - sourceRect: transparentBorder ? Qt.rect(-64, -64, shaderItem.width, shaderItem.height) : Qt.rect(0,0,0,0) - smooth: true - visible: false - } - - ShaderEffect { - id: effect1 - property variant source: level1 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level2 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level2 - width: level1.width / 2 - height: level1.height / 2 - sourceItem: effect1 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect2 - property variant source: level2 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level3 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level3 - width: level2.width / 2 - height: level2.height / 2 - sourceItem: effect2 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect3 - property variant source: level3 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level4 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level4 - width: level3.width / 2 - height: level3.height / 2 - sourceItem: effect3 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect4 - property variant source: level4 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level5 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level5 - width: level4.width / 2 - height: level4.height / 2 - sourceItem: effect4 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect5 - property variant source: level5 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level6 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level6 - width: level5.width / 2 - height: level5.height / 2 - sourceItem: effect5 - hideSource: rootItem.visible - visible: false - smooth: true - } - - Item { - id: dummysource - width: 1 - height: 1 - visible: false - } - - ShaderEffectSource { - id: dummy - width: 1 - height: 1 - sourceItem: dummysource - visible: false - smooth: false - live: false - } - - ShaderEffect { - id: shaderItem - x: transparentBorder ? -64 : 0 - y: transparentBorder ? -64 : 0 - width: transparentBorder ? parent.width + 128 : parent.width - height: transparentBorder ? parent.height + 128 : parent.height - - property variant source1: level1 - property variant source2: level2 - property variant source3: level3 - property variant source4: level4 - property variant source5: level5 - property variant source6: level6 - property real lod: rootItem.blur - - property real weight1; - property real weight2; - property real weight3; - property real weight4; - property real weight5; - property real weight6; - - property real spread: 1.0 - (rootItem.spread * 0.98) - property alias color: rootItem.color - - function weight(v) { - if (v <= 0.0) - return 1 - if (v >= 0.5) - return 0 - - return 1.0 - v / 0.5 - } - - function calculateWeights() { - - var w1 = weight(Math.abs(lod - 0.100)) - var w2 = weight(Math.abs(lod - 0.300)) - var w3 = weight(Math.abs(lod - 0.500)) - var w4 = weight(Math.abs(lod - 0.700)) - var w5 = weight(Math.abs(lod - 0.900)) - var w6 = weight(Math.abs(lod - 1.100)) - - var sum = w1 + w2 + w3 + w4 + w5 + w6; - weight1 = w1 / sum; - weight2 = w2 / sum; - weight3 = w3 / sum; - weight4 = w4 / sum; - weight5 = w5 / sum; - weight6 = w6 / sum; - - upateSources() - } - - function upateSources() { - var sources = new Array(); - var weights = new Array(); - - if (weight1 > 0) { - sources.push(level1) - weights.push(weight1) - } - - if (weight2 > 0) { - sources.push(level2) - weights.push(weight2) - } - - if (weight3 > 0) { - sources.push(level3) - weights.push(weight3) - } - - if (weight4 > 0) { - sources.push(level4) - weights.push(weight4) - } - - if (weight5 > 0) { - sources.push(level5) - weights.push(weight5) - } - - if (weight6 > 0) { - sources.push(level6) - weights.push(weight6) - } - - for (var j = sources.length; j < 6; j++) { - sources.push(dummy) - weights.push(0.0) - } - - source1 = sources[0] - source2 = sources[1] - source3 = sources[2] - source4 = sources[3] - source5 = sources[4] - source6 = sources[5] - - weight1 = weights[0] - weight2 = weights[1] - weight3 = weights[2] - weight4 = weights[3] - weight5 = weights[4] - weight6 = weights[5] - } - - Component.onCompleted: calculateWeights() - - onLodChanged: calculateWeights() - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastglow.frag" - } -} diff --git a/bin/QtGraphicalEffects/private/FastMaskedBlur.qml b/bin/QtGraphicalEffects/private/FastMaskedBlur.qml deleted file mode 100644 index 56800c65c..000000000 --- a/bin/QtGraphicalEffects/private/FastMaskedBlur.qml +++ /dev/null @@ -1,247 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -Item { - id: rootItem - property variant source - property variant maskSource - property real blur: 0.0 - property bool transparentBorder: false - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - } - - SourceProxy { - id: maskSourceProxy - input: rootItem.maskSource - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: shaderItem - visible: rootItem.cached - sourceItem: shaderItem - live: true - hideSource: visible - smooth: rootItem.blur > 0 - } - - property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.vert" - - property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.frag" - - ShaderEffect { - id: mask0 - property variant source: maskSourceProxy.output - anchors.fill: parent - visible: false - smooth: true - } - - ShaderEffectSource { - id: masklevel1 - width: Math.ceil(shaderItem.width / 32) * 32 - height: Math.ceil(shaderItem.height / 32) * 32 - sourceItem: mask0 - hideSource: rootItem.visible - sourceRect: transparentBorder ? Qt.rect(-64, -64, shaderItem.width, shaderItem.height) : Qt.rect(0, 0, 0, 0) - visible: false - smooth: rootItem.blur > 0 - } - - ShaderEffect { - id: level0 - property variant source: sourceProxy.output - anchors.fill: parent - visible: false - smooth: true - } - - ShaderEffectSource { - id: level1 - width: Math.ceil(shaderItem.width / 32) * 32 - height: Math.ceil(shaderItem.height / 32) * 32 - sourceItem: level0 - hideSource: rootItem.visible - sourceRect: transparentBorder ? Qt.rect(-64, -64, shaderItem.width, shaderItem.height) : Qt.rect(0, 0, 0, 0) - visible: false - smooth: rootItem.blur > 0 - } - - ShaderEffect { - id: effect1 - property variant source: level1 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level2 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level2 - width: level1.width / 2 - height: level1.height / 2 - sourceItem: effect1 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect2 - property variant source: level2 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level3 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level3 - width: level2.width / 2 - height: level2.height / 2 - sourceItem: effect2 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect3 - property variant source: level3 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level4 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level4 - width: level3.width / 2 - height: level3.height / 2 - sourceItem: effect3 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect4 - property variant source: level4 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level5 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level5 - width: level4.width / 2 - height: level4.height / 2 - sourceItem: effect4 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect5 - property variant source: level5 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level6 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level6 - width: level5.width / 2 - height: level5.height / 2 - sourceItem: effect5 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: shaderItem - property variant mask: masklevel1 - property variant source1: level1 - property variant source2: level2 - property variant source3: level3 - property variant source4: level4 - property variant source5: level5 - property variant source6: level6 - property real lod: Math.sqrt(rootItem.blur) * 1.2 - 0.2 - property real weight1 - property real weight2 - property real weight3 - property real weight4 - property real weight5 - property real weight6 - - x: transparentBorder ? -64 : 0 - y: transparentBorder ? -64 : 0 - width: transparentBorder ? parent.width + 128 : parent.width - height: transparentBorder ? parent.height + 128 : parent.height - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastmaskedblur.frag" - } -} diff --git a/bin/QtGraphicalEffects/private/GaussianDirectionalBlur.qml b/bin/QtGraphicalEffects/private/GaussianDirectionalBlur.qml deleted file mode 100644 index 4d52b2ed2..000000000 --- a/bin/QtGraphicalEffects/private/GaussianDirectionalBlur.qml +++ /dev/null @@ -1,289 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -Item { - id: rootItem - property variant source - property real deviation: (radius + 1) / 3.3333 - property real radius: 0.0 - property int maximumRadius: 0 - property real horizontalStep: 0.0 - property real verticalStep: 0.0 - property bool transparentBorder: false - property bool cached: false - - property bool enableColor: false - property color color: "white" - property real spread: 0.0 - - property bool enableMask: false - property variant maskSource - - SourceProxy { - id: sourceProxy - input: rootItem.source - } - - SourceProxy { - id: maskSourceProxy - input: rootItem.maskSource - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: rootItem - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - property variant source: sourceProxy.output - property real deviation: Math.max(0.1, rootItem.deviation) - property real radius: rootItem.radius - property int maxRadius: rootItem.maximumRadius - property bool transparentBorder: rootItem.transparentBorder - property real gaussianSum: 0.0 - property real startIndex: 0.0 - property real deltaFactor: (2 * radius - 1) / (maxRadius * 2 - 1) - property real expandX: transparentBorder && rootItem.horizontalStep > 0 ? maxRadius / width : 0.0 - property real expandY: transparentBorder && rootItem.verticalStep > 0 ? maxRadius / height : 0.0 - property variant gwts: [] - property variant delta: Qt.vector3d(rootItem.horizontalStep * deltaFactor, rootItem.verticalStep * deltaFactor, startIndex); - property variant factor_0_2: Qt.vector3d(gwts[0], gwts[1], gwts[2]); - property variant factor_3_5: Qt.vector3d(gwts[3], gwts[4], gwts[5]); - property variant factor_6_8: Qt.vector3d(gwts[6], gwts[7], gwts[8]); - property variant factor_9_11: Qt.vector3d(gwts[9], gwts[10], gwts[11]); - property variant factor_12_14: Qt.vector3d(gwts[12], gwts[13], gwts[14]); - property variant factor_15_17: Qt.vector3d(gwts[15], gwts[16], gwts[17]); - property variant factor_18_20: Qt.vector3d(gwts[18], gwts[19], gwts[20]); - property variant factor_21_23: Qt.vector3d(gwts[21], gwts[22], gwts[23]); - property variant factor_24_26: Qt.vector3d(gwts[24], gwts[25], gwts[26]); - property variant factor_27_29: Qt.vector3d(gwts[27], gwts[28], gwts[29]); - property variant factor_30_31: Qt.point(gwts[30], gwts[31]); - - property color color: rootItem.color - property real spread: 1.0 - (rootItem.spread * 0.98) - property variant maskSource: maskSourceProxy.output - - anchors.fill: rootItem - - function gausFunc(x){ - //Gaussian function = h(x):=(1/sqrt(2*3.14159*(D^2))) * %e^(-(x^2)/(2*(D^2))); - return (1.0 / Math.sqrt(2 * Math.PI * (Math.pow(shaderItem.deviation, 2)))) * Math.pow(Math.E, -((Math.pow(x, 2)) / (2 * (Math.pow(shaderItem.deviation, 2))))); - } - - function updateGaussianWeights() { - gaussianSum = 0.0; - startIndex = -maxRadius + 0.5 - - var n = new Array(32); - for (var j = 0; j < 32; j++) - n[j] = 0; - - var max = maxRadius * 2 - var delta = (2 * radius - 1) / (max - 1); - for (var i = 0; i < max; i++) { - n[i] = gausFunc(-radius + 0.5 + i * delta); - gaussianSum += n[i]; - } - - gwts = n; - } - - function buildFragmentShader() { - - var shaderSteps = [ - "gl_FragColor += texture2D(source, texCoord) * factor_0_2.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_0_2.y; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_0_2.z; texCoord += shift;", - - "gl_FragColor += texture2D(source, texCoord) * factor_3_5.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_3_5.y; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_3_5.z; texCoord += shift;", - - "gl_FragColor += texture2D(source, texCoord) * factor_6_8.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_6_8.y; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_6_8.z; texCoord += shift;", - - "gl_FragColor += texture2D(source, texCoord) * factor_9_11.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_9_11.y; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_9_11.z; texCoord += shift;", - - "gl_FragColor += texture2D(source, texCoord) * factor_12_14.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_12_14.y; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_12_14.z; texCoord += shift;", - - "gl_FragColor += texture2D(source, texCoord) * factor_15_17.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_15_17.y; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_15_17.z; texCoord += shift;", - - "gl_FragColor += texture2D(source, texCoord) * factor_18_20.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_18_20.y; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_18_20.z; texCoord += shift;", - - "gl_FragColor += texture2D(source, texCoord) * factor_21_23.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_21_23.y; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_21_23.z; texCoord += shift;", - - "gl_FragColor += texture2D(source, texCoord) * factor_24_26.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_24_26.y; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_24_26.z; texCoord += shift;", - - "gl_FragColor += texture2D(source, texCoord) * factor_27_29.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_27_29.y; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_27_29.z; texCoord += shift;", - - "gl_FragColor += texture2D(source, texCoord) * factor_30_31.x; texCoord += shift;", - "gl_FragColor += texture2D(source, texCoord) * factor_30_31.y; texCoord += shift;" - ] - - var shader = "" - if (GraphicsInfo.profile == GraphicsInfo.OpenGLCoreProfile) - shader += "#version 150 core\n#define varying in\n#define gl_FragColor fragColor\n#define texture2D texture\nout vec4 fragColor;\n" - shader += fragmentShaderBegin - var samples = maxRadius * 2 - if (samples > 32) { - console.log("DirectionalGaussianBlur.qml WARNING: Maximum of blur radius (16) exceeded!") - samples = 32 - } - - for (var i = 0; i < samples; i++) { - shader += shaderSteps[i] - } - - shader += fragmentShaderEnd - - var colorizeSteps = "" - var colorizeUniforms = "" - - var maskSteps = "" - var maskUniforms = "" - - if (enableColor) { - colorizeSteps += "gl_FragColor = mix(vec4(0), color, clamp((gl_FragColor.a - 0.0) / (spread - 0.0), 0.0, 1.0));\n" - colorizeUniforms += "uniform highp vec4 color;\n" - colorizeUniforms += "uniform highp float spread;\n" - } - - if (enableMask) { - maskSteps += "shift *= texture2D(maskSource, qt_TexCoord0).a;\n" - maskUniforms += "uniform sampler2D maskSource;\n" - } - - shader = shader.replace("PLACEHOLDER_COLORIZE_STEPS", colorizeSteps) - shader = shader.replace("PLACEHOLDER_COLORIZE_UNIFORMS", colorizeUniforms) - shader = shader.replace("PLACEHOLDER_MASK_STEPS", maskSteps) - shader = shader.replace("PLACEHOLDER_MASK_UNIFORMS", maskUniforms) - - fragmentShader = shader - } - - onDeviationChanged: updateGaussianWeights() - - onRadiusChanged: updateGaussianWeights() - - onTransparentBorderChanged: { - buildFragmentShader() - updateGaussianWeights() - } - - onMaxRadiusChanged: { - buildFragmentShader() - updateGaussianWeights() - } - - Component.onCompleted: { - buildFragmentShader() - updateGaussianWeights() - } - - property string fragmentShaderBegin: " - varying mediump vec2 qt_TexCoord0; - uniform highp float qt_Opacity; - uniform lowp sampler2D source; - uniform highp vec3 delta; - uniform highp vec3 factor_0_2; - uniform highp vec3 factor_3_5; - uniform highp vec3 factor_6_8; - uniform highp vec3 factor_9_11; - uniform highp vec3 factor_12_14; - uniform highp vec3 factor_15_17; - uniform highp vec3 factor_18_20; - uniform highp vec3 factor_21_23; - uniform highp vec3 factor_24_26; - uniform highp vec3 factor_27_29; - uniform highp vec3 factor_30_31; - uniform highp float gaussianSum; - uniform highp float expandX; - uniform highp float expandY; - PLACEHOLDER_MASK_UNIFORMS - PLACEHOLDER_COLORIZE_UNIFORMS - - void main() { - highp vec2 shift = vec2(delta.x, delta.y); - - PLACEHOLDER_MASK_STEPS - - highp float index = delta.z; - mediump vec2 texCoord = qt_TexCoord0; - texCoord.s = (texCoord.s - expandX) / (1.0 - 2.0 * expandX); - texCoord.t = (texCoord.t - expandY) / (1.0 - 2.0 * expandY); - texCoord += (shift * index); - - gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0); - " - - property string fragmentShaderEnd: " - - gl_FragColor /= gaussianSum; - - PLACEHOLDER_COLORIZE_STEPS - - gl_FragColor *= qt_Opacity; - } - " - } -} diff --git a/bin/QtGraphicalEffects/private/GaussianGlow.qml b/bin/QtGraphicalEffects/private/GaussianGlow.qml deleted file mode 100644 index f0d328ac5..000000000 --- a/bin/QtGraphicalEffects/private/GaussianGlow.qml +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -Item { - id: rootItem - property variant source - property real radius: 0.0 - property int maximumRadius: 0 - property real spread: 0.0 - property color color: "white" - property bool cached: false - property bool transparentBorder: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: shaderItem - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - GaussianDirectionalBlur { - id: shaderItem - x: transparentBorder ? -maximumRadius - 1 : 0 - y: transparentBorder ? -maximumRadius - 1 : 0 - width: horizontalBlur.width - height: horizontalBlur.height - horizontalStep: 0.0 - verticalStep: 1.0 / parent.height - source: horizontalBlur - radius: rootItem.radius - maximumRadius: rootItem.maximumRadius - transparentBorder: rootItem.transparentBorder - enableColor: true - color: rootItem.color - spread: rootItem.spread - } - - GaussianDirectionalBlur { - id: horizontalBlur - width: transparentBorder ? parent.width + 2 * maximumRadius + 2 : parent.width - height: transparentBorder ? parent.height + 2 * maximumRadius + 2 : parent.height - horizontalStep: 1.0 / parent.width - verticalStep: 0.0 - source: sourceProxy.output - radius: rootItem.radius - maximumRadius: rootItem.maximumRadius - transparentBorder: rootItem.transparentBorder - visible: false - } -} diff --git a/bin/QtGraphicalEffects/private/GaussianInnerShadow.qml b/bin/QtGraphicalEffects/private/GaussianInnerShadow.qml deleted file mode 100644 index a0b39e9f5..000000000 --- a/bin/QtGraphicalEffects/private/GaussianInnerShadow.qml +++ /dev/null @@ -1,123 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -Item { - id: rootItem - property variant source - property real radius: 0.0 - property int maximumRadius: 0 - property real horizontalOffset: 0 - property real verticalOffset: 0 - property real spread: 0 - property color color: "black" - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: shaderItem - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect{ - id: shadowItem - anchors.fill: parent - - property variant original: sourceProxy.output - property color color: rootItem.color - property real horizontalOffset: rootItem.horizontalOffset / rootItem.width - property real verticalOffset: rootItem.verticalOffset / rootItem.height - - visible: false - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/gaussianinnershadow_shadow.frag" - } - - GaussianDirectionalBlur { - id: blurItem - anchors.fill: parent - horizontalStep: 0.0 - verticalStep: 1.0 / parent.height - source: horizontalBlur - radius: rootItem.radius - maximumRadius: rootItem.maximumRadius - visible: false - } - - GaussianDirectionalBlur { - id: horizontalBlur - width: transparentBorder ? parent.width + 2 * maximumRadius : parent.width - height: parent.height - horizontalStep: 1.0 / parent.width - verticalStep: 0.0 - source: shadowItem - radius: rootItem.radius - maximumRadius: rootItem.maximumRadius - visible: false - } - - ShaderEffectSource { - id: blurredSource - sourceItem: blurItem - live: true - smooth: true - } - - ShaderEffect { - id: shaderItem - anchors.fill: parent - - property variant original: sourceProxy.output - property variant shadow: blurredSource - property real spread: 1.0 - (rootItem.spread * 0.98) - property color color: rootItem.color - - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/gaussianinnershadow.frag" - } -} diff --git a/bin/QtGraphicalEffects/private/GaussianMaskedBlur.qml b/bin/QtGraphicalEffects/private/GaussianMaskedBlur.qml deleted file mode 100644 index 8273973f1..000000000 --- a/bin/QtGraphicalEffects/private/GaussianMaskedBlur.qml +++ /dev/null @@ -1,104 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 - -Item { - id: rootItem - property variant source - property variant maskSource - property real radius: 0.0 - property int maximumRadius: 0 - property bool cached: false - property bool transparentBorder: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) - } - - SourceProxy { - id: maskSourceProxy - input: rootItem.maskSource - sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: blur - visible: rootItem.cached - smooth: true - sourceItem: blur - live: true - hideSource: visible - } - - GaussianDirectionalBlur { - id: blur - x: transparentBorder ? -maximumRadius - 1: 0 - y: transparentBorder ? -maximumRadius - 1: 0 - width: horizontalBlur.width - height: horizontalBlur.height - horizontalStep: 0.0 - verticalStep: 1.0 / parent.height - source: horizontalBlur - enableMask: true - maskSource: maskSourceProxy.output - radius: rootItem.radius - maximumRadius: rootItem.maximumRadius - transparentBorder: rootItem.transparentBorder - } - - GaussianDirectionalBlur { - id: horizontalBlur - width: transparentBorder ? parent.width + 2 * maximumRadius + 2 : parent.width - height: transparentBorder ? parent.height + 2 * maximumRadius + 2 : parent.height - horizontalStep: 1.0 / parent.width - verticalStep: 0.0 - source: sourceProxy.output - enableMask: true - maskSource: maskSourceProxy.output - radius: rootItem.radius - maximumRadius: rootItem.maximumRadius - transparentBorder: rootItem.transparentBorder - visible: false - } -} diff --git a/bin/QtGraphicalEffects/private/qmldir b/bin/QtGraphicalEffects/private/qmldir deleted file mode 100644 index 2d4bdacb8..000000000 --- a/bin/QtGraphicalEffects/private/qmldir +++ /dev/null @@ -1,11 +0,0 @@ -module QtGraphicalEffects.private -plugin qtgraphicaleffectsprivate -classname QtGraphicalEffectsPrivatePlugin -FastGlow 1.0 FastGlow.qml -FastInnerShadow 1.0 FastInnerShadow.qml -FastMaskedBlur 1.0 FastMaskedBlur.qml -GaussianDirectionalBlur 1.0 GaussianDirectionalBlur.qml -GaussianGlow 1.0 GaussianGlow.qml -GaussianInnerShadow 1.0 GaussianInnerShadow.qml -GaussianMaskedBlur 1.0 GaussianMaskedBlur.qml -DropShadowBase 1.0 DropShadowBase.qml diff --git a/bin/QtGraphicalEffects/private/qtgraphicaleffectsprivate.dll b/bin/QtGraphicalEffects/private/qtgraphicaleffectsprivate.dll deleted file mode 100644 index 9694a2c15..000000000 Binary files a/bin/QtGraphicalEffects/private/qtgraphicaleffectsprivate.dll and /dev/null differ diff --git a/bin/QtGraphicalEffects/qmldir b/bin/QtGraphicalEffects/qmldir deleted file mode 100644 index 72233b56b..000000000 --- a/bin/QtGraphicalEffects/qmldir +++ /dev/null @@ -1,31 +0,0 @@ -module QtGraphicalEffects -plugin qtgraphicaleffectsplugin -classname QtGraphicalEffectsPlugin -Blend 1.0 Blend.qml -BrightnessContrast 1.0 BrightnessContrast.qml -Colorize 1.0 Colorize.qml -ColorOverlay 1.0 ColorOverlay.qml -ConicalGradient 1.0 ConicalGradient.qml -Desaturate 1.0 Desaturate.qml -DirectionalBlur 1.0 DirectionalBlur.qml -Displace 1.0 Displace.qml -DropShadow 1.0 DropShadow.qml -FastBlur 1.0 FastBlur.qml -GammaAdjust 1.0 GammaAdjust.qml -GaussianBlur 1.0 GaussianBlur.qml -Glow 1.0 Glow.qml -HueSaturation 1.0 HueSaturation.qml -InnerShadow 1.0 InnerShadow.qml -LevelAdjust 1.0 LevelAdjust.qml -LinearGradient 1.0 LinearGradient.qml -MaskedBlur 1.0 MaskedBlur.qml -OpacityMask 1.0 OpacityMask.qml -RadialBlur 1.0 RadialBlur.qml -RadialGradient 1.0 RadialGradient.qml -RecursiveBlur 1.0 RecursiveBlur.qml -RectangularGlow 1.0 RectangularGlow.qml -ThresholdMask 1.0 ThresholdMask.qml -ZoomBlur 1.0 ZoomBlur.qml -designersupported -depends QtGraphicalEffects/private 1.0 -depends QtQuick.Window 2.1 diff --git a/bin/QtGraphicalEffects/qtgraphicaleffectsplugin.dll b/bin/QtGraphicalEffects/qtgraphicaleffectsplugin.dll deleted file mode 100644 index 89b2d6d86..000000000 Binary files a/bin/QtGraphicalEffects/qtgraphicaleffectsplugin.dll and /dev/null differ diff --git a/bin/QtQml/Models.2/modelsplugin.dll b/bin/QtQml/Models.2/modelsplugin.dll deleted file mode 100644 index 49c73e8b4..000000000 Binary files a/bin/QtQml/Models.2/modelsplugin.dll and /dev/null differ diff --git a/bin/QtQml/Models.2/plugins.qmltypes b/bin/QtQml/Models.2/plugins.qmltypes deleted file mode 100644 index b740e3f94..000000000 --- a/bin/QtQml/Models.2/plugins.qmltypes +++ /dev/null @@ -1,444 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by qmltyperegistrar. - -Module { - dependencies: [] - Component { - file: "private/qqmlmodelsmodule_p.h" - name: "QItemSelectionModelForeign" - exports: ["QtQml.Models/ItemSelectionModel 2.2"] - isCreatable: false - exportMetaObjectRevisions: [2] - } - Component { - file: "private/qqmlabstractdelegatecomponent_p.h" - name: "QQmlAbstractDelegateComponent" - prototype: "QQmlComponent" - exports: ["QtQml.Models/AbstractDelegateComponent 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Signal { name: "delegateChanged" } - } - Component { - file: "private/qqmldelegatemodel_p.h" - name: "QQmlDelegateModel" - defaultProperty: "delegate" - prototype: "QQmlInstanceModel" - exports: [ - "QtQml.Models/DelegateModel 2.1", - "QtQml.Models/DelegateModel 2.15" - ] - exportMetaObjectRevisions: [1, 15] - attachedType: "QQmlDelegateModelAttached" - Property { name: "model"; type: "QVariant" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "filterOnGroup"; type: "string" } - Property { name: "items"; type: "QQmlDelegateModelGroup"; isReadonly: true; isPointer: true } - Property { - name: "persistedItems" - type: "QQmlDelegateModelGroup" - isReadonly: true - isPointer: true - } - Property { name: "groups"; type: "QQmlDelegateModelGroup"; isList: true; isReadonly: true } - Property { name: "parts"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "rootIndex"; type: "QVariant" } - Signal { name: "filterGroupChanged" } - Signal { name: "defaultGroupsChanged" } - Method { - name: "_q_itemsChanged" - Parameter { name: "index"; type: "int" } - Parameter { name: "count"; type: "int" } - Parameter { name: "roles"; type: "QVector" } - } - Method { - name: "_q_itemsInserted" - Parameter { name: "index"; type: "int" } - Parameter { name: "count"; type: "int" } - } - Method { - name: "_q_itemsRemoved" - Parameter { name: "index"; type: "int" } - Parameter { name: "count"; type: "int" } - } - Method { - name: "_q_itemsMoved" - Parameter { name: "from"; type: "int" } - Parameter { name: "to"; type: "int" } - Parameter { name: "count"; type: "int" } - } - Method { name: "_q_modelReset" } - Method { - name: "_q_rowsInserted" - Parameter { type: "QModelIndex" } - Parameter { type: "int" } - Parameter { type: "int" } - } - Method { - name: "_q_columnsInserted" - Parameter { type: "QModelIndex" } - Parameter { type: "int" } - Parameter { type: "int" } - } - Method { - name: "_q_columnsRemoved" - Parameter { type: "QModelIndex" } - Parameter { type: "int" } - Parameter { type: "int" } - } - Method { - name: "_q_columnsMoved" - Parameter { type: "QModelIndex" } - Parameter { type: "int" } - Parameter { type: "int" } - Parameter { type: "QModelIndex" } - Parameter { type: "int" } - } - Method { - name: "_q_rowsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "begin"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { - name: "_q_rowsRemoved" - Parameter { type: "QModelIndex" } - Parameter { type: "int" } - Parameter { type: "int" } - } - Method { - name: "_q_rowsMoved" - Parameter { type: "QModelIndex" } - Parameter { type: "int" } - Parameter { type: "int" } - Parameter { type: "QModelIndex" } - Parameter { type: "int" } - } - Method { - name: "_q_dataChanged" - Parameter { type: "QModelIndex" } - Parameter { type: "QModelIndex" } - Parameter { type: "QVector" } - } - Method { - name: "_q_layoutChanged" - Parameter { type: "QList" } - Parameter { type: "QAbstractItemModel::LayoutChangeHint" } - } - Method { - name: "modelIndex" - type: "QVariant" - Parameter { name: "idx"; type: "int" } - } - Method { name: "parentModelIndex"; type: "QVariant" } - } - Component { - name: "QQmlDelegateModelAttached" - Property { name: "model"; type: "QQmlDelegateModel"; isReadonly: true; isPointer: true } - Property { name: "groups"; type: "QStringList" } - Property { name: "isUnresolved"; type: "bool"; isReadonly: true } - Signal { name: "unresolvedChanged" } - } - Component { - file: "private/qqmldelegatemodel_p.h" - name: "QQmlDelegateModelGroup" - exports: ["QtQml.Models/DelegateModelGroup 2.1"] - exportMetaObjectRevisions: [1] - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "name"; type: "string" } - Property { name: "includeByDefault"; type: "bool" } - Signal { name: "defaultIncludeChanged" } - Signal { - name: "changed" - Parameter { name: "removed"; type: "QJSValue" } - Parameter { name: "inserted"; type: "QJSValue" } - } - Method { - name: "insert" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "create" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "resolve" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "remove" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "addGroups" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "removeGroups" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "setGroups" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "move" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "get" - type: "QJSValue" - Parameter { name: "index"; type: "int" } - } - } - Component { - file: "private/qqmlobjectmodel_p.h" - name: "QQmlInstanceModel" - Property { name: "count"; type: "int"; isReadonly: true } - Signal { - name: "modelUpdated" - Parameter { name: "changeSet"; type: "QQmlChangeSet" } - Parameter { name: "reset"; type: "bool" } - } - Signal { - name: "createdItem" - Parameter { name: "index"; type: "int" } - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Signal { - name: "initItem" - Parameter { name: "index"; type: "int" } - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Signal { - name: "destroyingItem" - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Signal { - name: "itemPooled" - revision: 15 - Parameter { name: "index"; type: "int" } - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Signal { - name: "itemReused" - revision: 15 - Parameter { name: "index"; type: "int" } - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - } - Component { - file: "private/qqmlinstantiator_p.h" - name: "QQmlInstantiator" - defaultProperty: "delegate" - exports: ["QtQml.Models/Instantiator 2.14"] - exportMetaObjectRevisions: [14] - Property { name: "active"; type: "bool" } - Property { name: "asynchronous"; type: "bool" } - Property { name: "model"; type: "QVariant" } - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "object"; type: "QObject"; isReadonly: true; isPointer: true } - Signal { - name: "objectAdded" - Parameter { name: "index"; type: "int" } - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Signal { - name: "objectRemoved" - Parameter { name: "index"; type: "int" } - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Method { - name: "_q_createdItem" - Parameter { type: "int" } - Parameter { type: "QObject"; isPointer: true } - } - Method { - name: "_q_modelUpdated" - Parameter { type: "QQmlChangeSet" } - Parameter { type: "bool" } - } - Method { - name: "objectAt" - type: "QObject*" - Parameter { name: "index"; type: "int" } - } - } - Component { - file: "private/qqmllistmodel_p.h" - name: "QQmlListElement" - exports: ["QtQml.Models/ListElement 2.1"] - exportMetaObjectRevisions: [1] - } - Component { - file: "private/qqmllistmodel_p.h" - name: "QQmlListModel" - exports: ["QtQml.Models/ListModel 2.1", "QtQml.Models/ListModel 2.14"] - exportMetaObjectRevisions: [1, 14] - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "dynamicRoles"; type: "bool" } - Property { name: "agent"; revision: 14; type: "QObject"; isReadonly: true; isPointer: true } - Method { name: "clear" } - Method { - name: "remove" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "append" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "insert" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "get" - type: "QJSValue" - Parameter { name: "index"; type: "int" } - } - Method { - name: "set" - Parameter { name: "index"; type: "int" } - Parameter { name: "value"; type: "QJSValue" } - } - Method { - name: "setProperty" - Parameter { name: "index"; type: "int" } - Parameter { name: "property"; type: "string" } - Parameter { name: "value"; type: "QVariant" } - } - Method { - name: "move" - Parameter { name: "from"; type: "int" } - Parameter { name: "to"; type: "int" } - Parameter { name: "count"; type: "int" } - } - Method { name: "sync" } - } - Component { - file: "private/qqmllistmodelworkeragent_p.h" - name: "QQmlListModelWorkerAgent" - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "engine"; type: "QV4::ExecutionEngine"; isPointer: true } - Signal { - name: "engineChanged" - Parameter { name: "engine"; type: "QV4::ExecutionEngine"; isPointer: true } - } - Method { name: "addref" } - Method { name: "release" } - Method { name: "clear" } - Method { - name: "remove" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "append" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "insert" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "get" - type: "QJSValue" - Parameter { name: "index"; type: "int" } - } - Method { - name: "set" - Parameter { name: "index"; type: "int" } - Parameter { name: "value"; type: "QJSValue" } - } - Method { - name: "setProperty" - Parameter { name: "index"; type: "int" } - Parameter { name: "property"; type: "string" } - Parameter { name: "value"; type: "QVariant" } - } - Method { - name: "move" - Parameter { name: "from"; type: "int" } - Parameter { name: "to"; type: "int" } - Parameter { name: "count"; type: "int" } - } - Method { name: "sync" } - } - Component { - file: "private/qqmlobjectmodel_p.h" - name: "QQmlObjectModel" - defaultProperty: "children" - prototype: "QQmlInstanceModel" - exports: [ - "QtQml.Models/ObjectModel 2.1", - "QtQml.Models/ObjectModel 2.15", - "QtQml.Models/ObjectModel 2.3" - ] - exportMetaObjectRevisions: [1, 15, 3] - attachedType: "QQmlObjectModelAttached" - Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } - Method { name: "clear"; revision: 3 } - Method { - name: "get" - revision: 3 - type: "QObject*" - Parameter { name: "index"; type: "int" } - } - Method { - name: "append" - revision: 3 - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Method { - name: "insert" - revision: 3 - Parameter { name: "index"; type: "int" } - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Method { - name: "move" - revision: 3 - Parameter { name: "from"; type: "int" } - Parameter { name: "to"; type: "int" } - Parameter { name: "n"; type: "int" } - } - Method { - name: "move" - revision: 3 - Parameter { name: "from"; type: "int" } - Parameter { name: "to"; type: "int" } - } - Method { - name: "remove" - revision: 3 - Parameter { name: "index"; type: "int" } - Parameter { name: "n"; type: "int" } - } - Method { - name: "remove" - revision: 3 - Parameter { name: "index"; type: "int" } - } - } - Component { - name: "QQmlObjectModelAttached" - Property { name: "index"; type: "int"; isReadonly: true } - } - Component { - file: "private/qquickpackage_p.h" - name: "QQuickPackage" - defaultProperty: "data" - exports: ["QtQml.Models/Package 2.14"] - exportMetaObjectRevisions: [14] - attachedType: "QQuickPackageAttached" - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - } - Component { - name: "QQuickPackageAttached" - Property { name: "name"; type: "string" } - } -} diff --git a/bin/QtQml/Models.2/qmldir b/bin/QtQml/Models.2/qmldir deleted file mode 100644 index 2dd20b923..000000000 --- a/bin/QtQml/Models.2/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module QtQml.Models -plugin modelsplugin -classname QtQmlModelsPlugin -designersupported diff --git a/bin/QtQml/StateMachine/plugins.qmltypes b/bin/QtQml/StateMachine/plugins.qmltypes deleted file mode 100644 index c533d3b65..000000000 --- a/bin/QtQml/StateMachine/plugins.qmltypes +++ /dev/null @@ -1,83 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by qmltyperegistrar. - -Module { - dependencies: [] - Component { - file: "finalstate.h" - name: "FinalState" - defaultProperty: "children" - exports: ["QtQml.StateMachine/FinalState 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } - } - Component { - file: "statemachineforeign.h" - name: "QAbstractStateForeign" - exports: ["QtQml.StateMachine/QAbstractState 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - } - Component { - file: "statemachineforeign.h" - name: "QHistoryStateForeign" - exports: ["QtQml.StateMachine/HistoryState 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - } - Component { - file: "statemachineforeign.h" - name: "QSignalTransitionForeign" - exports: ["QtQml.StateMachine/QSignalTransition 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - } - Component { - file: "statemachineforeign.h" - name: "QStateForeign" - exports: ["QtQml.StateMachine/QState 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - } - Component { - file: "signaltransition.h" - name: "SignalTransition" - exports: ["QtQml.StateMachine/SignalTransition 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "signal"; type: "QJSValue" } - Property { name: "guard"; type: "QQmlScriptString" } - Signal { name: "invokeYourself" } - Signal { name: "qmlSignalChanged" } - Method { name: "invoke" } - } - Component { - file: "state.h" - name: "State" - defaultProperty: "children" - exports: ["QtQml.StateMachine/State 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } - } - Component { - file: "statemachine.h" - name: "StateMachine" - defaultProperty: "children" - exports: ["QtQml.StateMachine/StateMachine 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "running"; type: "bool" } - Signal { name: "qmlRunningChanged" } - Method { name: "checkChildMode" } - } - Component { - file: "timeouttransition.h" - name: "TimeoutTransition" - exports: ["QtQml.StateMachine/TimeoutTransition 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "timeout"; type: "int" } - } -} diff --git a/bin/QtQml/StateMachine/qmldir b/bin/QtQml/StateMachine/qmldir deleted file mode 100644 index 8bc383120..000000000 --- a/bin/QtQml/StateMachine/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module QtQml.StateMachine -plugin qtqmlstatemachine -classname QtQmlStateMachinePlugin -typeinfo plugins.qmltypes diff --git a/bin/QtQml/StateMachine/qtqmlstatemachine.dll b/bin/QtQml/StateMachine/qtqmlstatemachine.dll deleted file mode 100644 index fd530d25c..000000000 Binary files a/bin/QtQml/StateMachine/qtqmlstatemachine.dll and /dev/null differ diff --git a/bin/QtQml/WorkerScript.2/plugins.qmltypes b/bin/QtQml/WorkerScript.2/plugins.qmltypes deleted file mode 100644 index 7da9b77f8..000000000 --- a/bin/QtQml/WorkerScript.2/plugins.qmltypes +++ /dev/null @@ -1,30 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by qmltyperegistrar. - -Module { - dependencies: [] - Component { - file: "private/qquickworkerscript_p.h" - name: "QQuickWorkerScript" - exports: [ - "QtQml.WorkerScript/WorkerScript 2.0", - "QtQml.WorkerScript/WorkerScript 2.15" - ] - exportMetaObjectRevisions: [0, 15] - Property { name: "source"; type: "QUrl" } - Property { name: "ready"; revision: 15; type: "bool"; isReadonly: true } - Signal { name: "readyChanged"; revision: 15 } - Signal { - name: "message" - Parameter { name: "messageObject"; type: "QJSValue" } - } - Method { - name: "sendMessage" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - } -} diff --git a/bin/QtQml/WorkerScript.2/qmldir b/bin/QtQml/WorkerScript.2/qmldir deleted file mode 100644 index 1606400a2..000000000 --- a/bin/QtQml/WorkerScript.2/qmldir +++ /dev/null @@ -1,3 +0,0 @@ -module QtQml.WorkerScript -plugin workerscriptplugin -classname QtQmlWorkerScriptPlugin diff --git a/bin/QtQml/WorkerScript.2/workerscriptplugin.dll b/bin/QtQml/WorkerScript.2/workerscriptplugin.dll deleted file mode 100644 index a047259c8..000000000 Binary files a/bin/QtQml/WorkerScript.2/workerscriptplugin.dll and /dev/null differ diff --git a/bin/QtQml/plugins.qmltypes b/bin/QtQml/plugins.qmltypes deleted file mode 100644 index a4e052f47..000000000 --- a/bin/QtQml/plugins.qmltypes +++ /dev/null @@ -1,264 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by qmltyperegistrar. - -Module { - dependencies: [] - Component { - file: "private/qqmlengine_p.h" - name: "QObjectForeign" - exports: ["QML/QtObject 1.0", "QtQml/QtObject 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0, 0] - Method { name: "toString" } - Method { name: "destroy" } - Method { - name: "destroy" - Parameter { name: "delay"; type: "int" } - } - } - Component { - file: "private/qqmlbind_p.h" - name: "QQmlBind" - exports: [ - "QtQml/Binding 2.0", - "QtQml/Binding 2.14", - "QtQml/Binding 2.8" - ] - exportMetaObjectRevisions: [0, 14, 8] - Enum { - name: "RestorationMode" - values: [ - "RestoreNone", - "RestoreBinding", - "RestoreValue", - "RestoreBindingOrValue" - ] - } - Property { name: "target"; type: "QObject"; isPointer: true } - Property { name: "property"; type: "string" } - Property { name: "value"; type: "QJSValue" } - Property { name: "when"; type: "bool" } - Property { name: "delayed"; revision: 8; type: "bool" } - Property { name: "restoreMode"; revision: 14; type: "RestorationMode" } - Method { name: "targetValueChanged" } - } - Component { - file: "qqmlcomponent.h" - name: "QQmlComponent" - exports: ["QML/Component 1.0", "QtQml/Component 2.0"] - exportMetaObjectRevisions: [0, 0] - attachedType: "QQmlComponentAttached" - Enum { - name: "CompilationMode" - values: ["PreferSynchronous", "Asynchronous"] - } - Enum { - name: "Status" - values: ["Null", "Ready", "Loading", "Error"] - } - Property { name: "progress"; type: "double"; isReadonly: true } - Property { name: "status"; type: "Status"; isReadonly: true } - Property { name: "url"; type: "QUrl"; isReadonly: true } - Signal { - name: "statusChanged" - Parameter { type: "QQmlComponent::Status" } - } - Signal { - name: "progressChanged" - Parameter { type: "double" } - } - Method { - name: "loadUrl" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "loadUrl" - Parameter { name: "url"; type: "QUrl" } - Parameter { name: "mode"; type: "CompilationMode" } - } - Method { - name: "setData" - Parameter { type: "QByteArray" } - Parameter { name: "baseUrl"; type: "QUrl" } - } - Method { name: "errorString"; type: "string" } - Method { - name: "createObject" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "incubateObject" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - } - Component { - file: "private/qqmlcomponentattached_p.h" - name: "QQmlComponentAttached" - Signal { name: "completed" } - Signal { name: "destruction" } - } - Component { - file: "private/qqmlconnections_p.h" - name: "QQmlConnections" - exports: ["QtQml/Connections 2.0", "QtQml/Connections 2.3"] - exportMetaObjectRevisions: [0, 3] - Property { name: "target"; type: "QObject"; isPointer: true } - Property { name: "enabled"; revision: 3; type: "bool" } - Property { name: "ignoreUnknownSignals"; type: "bool" } - Signal { name: "enabledChanged"; revision: 3 } - } - Component { - file: "private/qqmlvaluetype_p.h" - name: "QQmlEasingValueType" - exports: ["QtQml/Easing 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "Type" - values: [ - "Linear", - "InQuad", - "OutQuad", - "InOutQuad", - "OutInQuad", - "InCubic", - "OutCubic", - "InOutCubic", - "OutInCubic", - "InQuart", - "OutQuart", - "InOutQuart", - "OutInQuart", - "InQuint", - "OutQuint", - "InOutQuint", - "OutInQuint", - "InSine", - "OutSine", - "InOutSine", - "OutInSine", - "InExpo", - "OutExpo", - "InOutExpo", - "OutInExpo", - "InCirc", - "OutCirc", - "InOutCirc", - "OutInCirc", - "InElastic", - "OutElastic", - "InOutElastic", - "OutInElastic", - "InBack", - "OutBack", - "InOutBack", - "OutInBack", - "InBounce", - "OutBounce", - "InOutBounce", - "OutInBounce", - "InCurve", - "OutCurve", - "SineCurve", - "CosineCurve", - "Bezier" - ] - } - Property { name: "type"; type: "QQmlEasingValueType::Type" } - Property { name: "amplitude"; type: "double" } - Property { name: "overshoot"; type: "double" } - Property { name: "period"; type: "double" } - Property { name: "bezierCurve"; type: "QVariantList" } - } - Component { - file: "private/qqmllocale_p.h" - name: "QQmlLocale" - exports: ["QtQml/Locale 2.2"] - isCreatable: false - exportMetaObjectRevisions: [2] - Enum { - name: "MeasurementSystem" - values: [ - "MetricSystem", - "ImperialSystem", - "ImperialUSSystem", - "ImperialUKSystem" - ] - } - Enum { - name: "FormatType" - values: ["LongFormat", "ShortFormat", "NarrowFormat"] - } - Enum { - name: "CurrencySymbolFormat" - values: [ - "CurrencyIsoCode", - "CurrencySymbol", - "CurrencyDisplayName" - ] - } - Enum { - name: "DayOfWeek" - values: [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - Enum { - name: "NumberOptions" - values: [ - "DefaultNumberOptions", - "OmitGroupSeparator", - "RejectGroupSeparator", - "OmitLeadingZeroInExponent", - "RejectLeadingZeroInExponent", - "IncludeTrailingZeroesAfterDot", - "RejectTrailingZeroesAfterDot" - ] - } - } - Component { - file: "private/qqmlloggingcategory_p.h" - name: "QQmlLoggingCategory" - exports: ["QtQml/LoggingCategory 2.12", "QtQml/LoggingCategory 2.8"] - exportMetaObjectRevisions: [12, 8] - Enum { - name: "DefaultLogLevel" - values: ["Debug", "Info", "Warning", "Critical", "Fatal"] - } - Property { name: "name"; type: "string" } - Property { name: "defaultLogLevel"; revision: 12; type: "DefaultLogLevel" } - } - Component { - file: "private/qqmltimer_p.h" - name: "QQmlTimer" - exports: ["QtQml/Timer 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "interval"; type: "int" } - Property { name: "running"; type: "bool" } - Property { name: "repeat"; type: "bool" } - Property { name: "triggeredOnStart"; type: "bool" } - Property { name: "parent"; type: "QObject"; isReadonly: true; isPointer: true } - Signal { name: "triggered" } - Method { name: "start" } - Method { name: "stop" } - Method { name: "restart" } - Method { name: "ticked" } - } - Component { - file: "private/qqmltypenotavailable_p.h" - name: "QQmlTypeNotAvailable" - exports: ["QtQml/TypeNotAvailable 2.15"] - isCreatable: false - exportMetaObjectRevisions: [15] - } -} diff --git a/bin/QtQml/qmldir b/bin/QtQml/qmldir deleted file mode 100644 index 98555ee1c..000000000 --- a/bin/QtQml/qmldir +++ /dev/null @@ -1,6 +0,0 @@ -module QtQml -plugin qmlplugin -classname QtQmlPlugin -depends QtQml.Models 2.15 -depends QtQml.WorkerScript 2.15 -typeinfo plugins.qmltypes diff --git a/bin/QtQml/qmlplugin.dll b/bin/QtQml/qmlplugin.dll deleted file mode 100644 index a010991eb..000000000 Binary files a/bin/QtQml/qmlplugin.dll and /dev/null differ diff --git a/bin/QtQuick.2/plugins.qmltypes b/bin/QtQuick.2/plugins.qmltypes deleted file mode 100644 index 076af927b..000000000 --- a/bin/QtQuick.2/plugins.qmltypes +++ /dev/null @@ -1,5057 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by qmltyperegistrar. - -Module { - dependencies: [] - Component { - file: "private/qquickforeignutils_p.h" - name: "QInputMethodForeign" - exports: ["QtQuick/InputMethod 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - } - Component { - file: "private/qquickforeignutils_p.h" - name: "QKeySequenceForeign" - exports: ["QtQuick/StandardKey 2.2"] - isCreatable: false - exportMetaObjectRevisions: [2] - } - Component { - file: "private/qquickitemsmodule_p.h" - name: "QPointingDeviceUniqueIdForeign" - exports: ["QtQuick/PointingDeviceUniqueId 2.9"] - isCreatable: false - exportMetaObjectRevisions: [9] - } - Component { - name: "QQmlApplication" - Property { name: "arguments"; type: "QStringList"; isReadonly: true } - Property { name: "name"; type: "string" } - Property { name: "version"; type: "string" } - Property { name: "organization"; type: "string" } - Property { name: "domain"; type: "string" } - Signal { name: "aboutToQuit" } - Method { - name: "setName" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setVersion" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setOrganization" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setDomain" - Parameter { name: "arg"; type: "string" } - } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickAbstractAnimation" - exports: ["QtQuick/Animation 2.0", "QtQuick/Animation 2.12"] - isCreatable: false - exportMetaObjectRevisions: [0, 12] - Enum { - name: "Loops" - values: ["Infinite"] - } - Property { name: "running"; type: "bool" } - Property { name: "paused"; type: "bool" } - Property { name: "alwaysRunToEnd"; type: "bool" } - Property { name: "loops"; type: "int" } - Signal { name: "started" } - Signal { name: "stopped" } - Signal { - name: "runningChanged" - Parameter { type: "bool" } - } - Signal { - name: "pausedChanged" - Parameter { type: "bool" } - } - Signal { - name: "alwaysRunToEndChanged" - Parameter { type: "bool" } - } - Signal { - name: "loopCountChanged" - Parameter { type: "int" } - } - Signal { name: "finished"; revision: 12 } - Method { name: "restart" } - Method { name: "start" } - Method { name: "pause" } - Method { name: "resume" } - Method { name: "stop" } - Method { name: "complete" } - Method { name: "componentFinalized" } - } - Component { - file: "private/qquickaccessibleattached_p.h" - name: "QQuickAccessibleAttached" - exports: ["QtQuick/Accessible 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - attachedType: "QQuickAccessibleAttached" - Property { name: "role"; type: "QAccessible::Role" } - Property { name: "name"; type: "string" } - Property { name: "description"; type: "string" } - Property { name: "ignored"; type: "bool" } - Property { name: "checkable"; type: "bool" } - Property { name: "checked"; type: "bool" } - Property { name: "editable"; type: "bool" } - Property { name: "focusable"; type: "bool" } - Property { name: "focused"; type: "bool" } - Property { name: "multiLine"; type: "bool" } - Property { name: "readOnly"; type: "bool" } - Property { name: "selected"; type: "bool" } - Property { name: "selectable"; type: "bool" } - Property { name: "pressed"; type: "bool" } - Property { name: "checkStateMixed"; type: "bool" } - Property { name: "defaultButton"; type: "bool" } - Property { name: "passwordEdit"; type: "bool" } - Property { name: "selectableText"; type: "bool" } - Property { name: "searchEdit"; type: "bool" } - Signal { - name: "checkableChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "checkedChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "editableChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "focusableChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "focusedChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "multiLineChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "readOnlyChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "selectedChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "selectableChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "pressedChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "checkStateMixedChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "defaultButtonChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "passwordEditChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "selectableTextChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "searchEditChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { name: "pressAction" } - Signal { name: "toggleAction" } - Signal { name: "increaseAction" } - Signal { name: "decreaseAction" } - Signal { name: "scrollUpAction" } - Signal { name: "scrollDownAction" } - Signal { name: "scrollLeftAction" } - Signal { name: "scrollRightAction" } - Signal { name: "previousPageAction" } - Signal { name: "nextPageAction" } - Method { name: "valueChanged" } - Method { name: "cursorPositionChanged" } - Method { - name: "setIgnored" - Parameter { name: "ignored"; type: "bool" } - } - } - Component { - file: "private/qquickitemanimation_p.h" - name: "QQuickAnchorAnimation" - prototype: "QQuickAbstractAnimation" - exports: [ - "QtQuick/AnchorAnimation 2.0", - "QtQuick/AnchorAnimation 2.12" - ] - exportMetaObjectRevisions: [0, 12] - Property { name: "targets"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "duration"; type: "int" } - Property { name: "easing"; type: "QEasingCurve" } - Signal { - name: "durationChanged" - Parameter { type: "int" } - } - Signal { - name: "easingChanged" - Parameter { type: "QEasingCurve" } - } - } - Component { - file: "private/qquickstateoperations_p.h" - name: "QQuickAnchorChanges" - prototype: "QQuickStateOperation" - exports: ["QtQuick/AnchorChanges 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "target"; type: "QQuickItem"; isPointer: true } - Property { name: "anchors"; type: "QQuickAnchorSet"; isReadonly: true; isPointer: true } - } - Component { - file: "private/qquickstateoperations_p.h" - name: "QQuickAnchorSet" - Property { name: "left"; type: "QQmlScriptString" } - Property { name: "right"; type: "QQmlScriptString" } - Property { name: "horizontalCenter"; type: "QQmlScriptString" } - Property { name: "top"; type: "QQmlScriptString" } - Property { name: "bottom"; type: "QQmlScriptString" } - Property { name: "verticalCenter"; type: "QQmlScriptString" } - Property { name: "baseline"; type: "QQmlScriptString" } - } - Component { - file: "private/qquickanchors_p.h" - name: "QQuickAnchors" - Enum { - name: "Anchors" - alias: "Anchor" - isFlag: true - values: [ - "InvalidAnchor", - "LeftAnchor", - "RightAnchor", - "TopAnchor", - "BottomAnchor", - "HCenterAnchor", - "VCenterAnchor", - "BaselineAnchor", - "Horizontal_Mask", - "Vertical_Mask" - ] - } - Property { name: "left"; type: "QQuickAnchorLine" } - Property { name: "right"; type: "QQuickAnchorLine" } - Property { name: "horizontalCenter"; type: "QQuickAnchorLine" } - Property { name: "top"; type: "QQuickAnchorLine" } - Property { name: "bottom"; type: "QQuickAnchorLine" } - Property { name: "verticalCenter"; type: "QQuickAnchorLine" } - Property { name: "baseline"; type: "QQuickAnchorLine" } - Property { name: "margins"; type: "double" } - Property { name: "leftMargin"; type: "double" } - Property { name: "rightMargin"; type: "double" } - Property { name: "horizontalCenterOffset"; type: "double" } - Property { name: "topMargin"; type: "double" } - Property { name: "bottomMargin"; type: "double" } - Property { name: "verticalCenterOffset"; type: "double" } - Property { name: "baselineOffset"; type: "double" } - Property { name: "fill"; type: "QQuickItem"; isPointer: true } - Property { name: "centerIn"; type: "QQuickItem"; isPointer: true } - Property { name: "alignWhenCentered"; type: "bool" } - Signal { name: "centerAlignedChanged" } - } - Component { - file: "private/qquickanimatedimage_p.h" - name: "QQuickAnimatedImage" - prototype: "QQuickImage" - exports: [ - "QtQuick/AnimatedImage 2.0", - "QtQuick/AnimatedImage 2.1", - "QtQuick/AnimatedImage 2.11", - "QtQuick/AnimatedImage 2.14", - "QtQuick/AnimatedImage 2.15", - "QtQuick/AnimatedImage 2.3", - "QtQuick/AnimatedImage 2.4", - "QtQuick/AnimatedImage 2.5", - "QtQuick/AnimatedImage 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 14, 15, 3, 4, 5, 7] - Property { name: "playing"; type: "bool" } - Property { name: "paused"; type: "bool" } - Property { name: "currentFrame"; type: "int" } - Property { name: "frameCount"; type: "int"; isReadonly: true } - Property { name: "speed"; revision: 11; type: "double" } - Property { name: "sourceSize"; type: "QSize"; isReadonly: true } - Signal { name: "frameChanged" } - Signal { name: "currentFrameChanged" } - Signal { name: "speedChanged"; revision: 11 } - Method { name: "movieUpdate" } - Method { name: "movieRequestFinished" } - Method { name: "playingStatusChanged" } - Method { name: "onCacheChanged" } - } - Component { - file: "private/qquickanimatedsprite_p.h" - name: "QQuickAnimatedSprite" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/AnimatedSprite 2.0", - "QtQuick/AnimatedSprite 2.1", - "QtQuick/AnimatedSprite 2.11", - "QtQuick/AnimatedSprite 2.12", - "QtQuick/AnimatedSprite 2.15", - "QtQuick/AnimatedSprite 2.4", - "QtQuick/AnimatedSprite 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 12, 15, 4, 7] - Enum { - name: "LoopParameters" - values: ["Infinite"] - } - Enum { - name: "FinishBehavior" - values: ["FinishAtInitialFrame", "FinishAtFinalFrame"] - } - Property { name: "running"; type: "bool" } - Property { name: "interpolate"; type: "bool" } - Property { name: "source"; type: "QUrl" } - Property { name: "reverse"; type: "bool" } - Property { name: "frameSync"; type: "bool" } - Property { name: "frameCount"; type: "int" } - Property { name: "frameHeight"; type: "int" } - Property { name: "frameWidth"; type: "int" } - Property { name: "frameX"; type: "int" } - Property { name: "frameY"; type: "int" } - Property { name: "frameRate"; type: "double" } - Property { name: "frameDuration"; type: "int" } - Property { name: "loops"; type: "int" } - Property { name: "paused"; type: "bool" } - Property { name: "currentFrame"; type: "int" } - Property { name: "finishBehavior"; revision: 15; type: "FinishBehavior" } - Signal { - name: "pausedChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "runningChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "interpolateChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "sourceChanged" - Parameter { name: "arg"; type: "QUrl" } - } - Signal { - name: "reverseChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "frameSyncChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "frameCountChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameHeightChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameWidthChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameXChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameYChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameRateChanged" - Parameter { name: "arg"; type: "double" } - } - Signal { - name: "frameDurationChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "loopsChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "currentFrameChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "finishBehaviorChanged" - revision: 15 - Parameter { name: "arg"; type: "FinishBehavior" } - } - Signal { name: "finished"; revision: 12 } - Method { name: "start" } - Method { name: "stop" } - Method { name: "restart" } - Method { - name: "advance" - Parameter { name: "frames"; type: "int" } - } - Method { name: "advance" } - Method { name: "pause" } - Method { name: "resume" } - Method { - name: "setRunning" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setPaused" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setInterpolate" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setSource" - Parameter { name: "arg"; type: "QUrl" } - } - Method { - name: "setReverse" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setFrameSync" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setFrameCount" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameHeight" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameWidth" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameX" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameY" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameRate" - Parameter { name: "arg"; type: "double" } - } - Method { - name: "setFrameDuration" - Parameter { name: "arg"; type: "int" } - } - Method { name: "resetFrameRate" } - Method { name: "resetFrameDuration" } - Method { - name: "setLoops" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setCurrentFrame" - Parameter { name: "arg"; type: "int" } - } - Method { name: "createEngine" } - Method { name: "reset" } - } - Component { - file: "private/qquickanimationcontroller_p.h" - name: "QQuickAnimationController" - defaultProperty: "animation" - exports: ["QtQuick/AnimationController 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "progress"; type: "double" } - Property { name: "animation"; type: "QQuickAbstractAnimation"; isPointer: true } - Method { name: "reload" } - Method { name: "completeToBeginning" } - Method { name: "completeToEnd" } - Method { name: "componentFinalized" } - Method { name: "updateProgress" } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickAnimationGroup" - defaultProperty: "animations" - prototype: "QQuickAbstractAnimation" - Property { name: "animations"; type: "QQuickAbstractAnimation"; isList: true; isReadonly: true } - } - Component { - file: "private/qquickanimator_p.h" - name: "QQuickAnimator" - prototype: "QQuickAbstractAnimation" - exports: ["QtQuick/Animator 2.12", "QtQuick/Animator 2.2"] - isCreatable: false - exportMetaObjectRevisions: [12, 2] - Property { name: "target"; type: "QQuickItem"; isPointer: true } - Property { name: "easing"; type: "QEasingCurve" } - Property { name: "duration"; type: "int" } - Property { name: "to"; type: "double" } - Property { name: "from"; type: "double" } - Signal { - name: "targetItemChanged" - Parameter { type: "QQuickItem"; isPointer: true } - } - Signal { - name: "durationChanged" - Parameter { name: "duration"; type: "int" } - } - Signal { - name: "easingChanged" - Parameter { name: "curve"; type: "QEasingCurve" } - } - Signal { - name: "toChanged" - Parameter { name: "to"; type: "double" } - } - Signal { - name: "fromChanged" - Parameter { name: "from"; type: "double" } - } - } - Component { - file: "private/qquickapplication_p.h" - name: "QQuickApplication" - prototype: "QQmlApplication" - exports: ["QtQuick/Application 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "active"; type: "bool"; isReadonly: true } - Property { name: "layoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } - Property { name: "supportsMultipleWindows"; type: "bool"; isReadonly: true } - Property { name: "state"; type: "Qt::ApplicationState"; isReadonly: true } - Property { name: "font"; type: "QFont"; isReadonly: true } - Property { name: "displayName"; type: "string" } - Property { name: "screens"; type: "QQuickScreenInfo"; isList: true; isReadonly: true } - Signal { - name: "stateChanged" - Parameter { name: "state"; type: "Qt::ApplicationState" } - } - Method { name: "updateScreens" } - } - Component { - file: "private/qquickpositioners_p.h" - name: "QQuickBasePositioner" - prototype: "QQuickImplicitSizeItem" - exports: [ - "QtQuick/Positioner 2.0", - "QtQuick/Positioner 2.1", - "QtQuick/Positioner 2.11", - "QtQuick/Positioner 2.4", - "QtQuick/Positioner 2.6", - "QtQuick/Positioner 2.7", - "QtQuick/Positioner 2.9" - ] - isCreatable: false - exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] - attachedType: "QQuickPositionerAttached" - Property { name: "spacing"; type: "double" } - Property { name: "populate"; type: "QQuickTransition"; isPointer: true } - Property { name: "move"; type: "QQuickTransition"; isPointer: true } - Property { name: "add"; type: "QQuickTransition"; isPointer: true } - Property { name: "padding"; revision: 6; type: "double" } - Property { name: "topPadding"; revision: 6; type: "double" } - Property { name: "leftPadding"; revision: 6; type: "double" } - Property { name: "rightPadding"; revision: 6; type: "double" } - Property { name: "bottomPadding"; revision: 6; type: "double" } - Signal { name: "paddingChanged"; revision: 6 } - Signal { name: "topPaddingChanged"; revision: 6 } - Signal { name: "leftPaddingChanged"; revision: 6 } - Signal { name: "rightPaddingChanged"; revision: 6 } - Signal { name: "bottomPaddingChanged"; revision: 6 } - Signal { name: "positioningComplete"; revision: 9 } - Method { name: "prePositioning" } - Method { name: "forceLayout"; revision: 9 } - } - Component { - file: "private/qquickbehavior_p.h" - name: "QQuickBehavior" - defaultProperty: "animation" - exports: [ - "QtQuick/Behavior 2.0", - "QtQuick/Behavior 2.13", - "QtQuick/Behavior 2.15" - ] - exportMetaObjectRevisions: [0, 13, 15] - Property { name: "animation"; type: "QQuickAbstractAnimation"; isPointer: true } - Property { name: "enabled"; type: "bool" } - Property { name: "targetValue"; revision: 13; type: "QVariant"; isReadonly: true } - Property { name: "targetProperty"; revision: 15; type: "QQmlProperty"; isReadonly: true } - Method { name: "componentFinalized" } - } - Component { - file: "private/qquickborderimage_p.h" - name: "QQuickBorderImage" - prototype: "QQuickImageBase" - exports: [ - "QtQuick/BorderImage 2.0", - "QtQuick/BorderImage 2.1", - "QtQuick/BorderImage 2.11", - "QtQuick/BorderImage 2.14", - "QtQuick/BorderImage 2.15", - "QtQuick/BorderImage 2.4", - "QtQuick/BorderImage 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 14, 15, 4, 7] - Enum { - name: "TileMode" - values: ["Stretch", "Repeat", "Round"] - } - Property { name: "border"; type: "QQuickScaleGrid"; isReadonly: true; isPointer: true } - Property { name: "horizontalTileMode"; type: "TileMode" } - Property { name: "verticalTileMode"; type: "TileMode" } - Property { name: "sourceSize"; type: "QSize"; isReadonly: true } - Method { name: "doUpdate" } - Method { name: "requestFinished" } - Method { name: "sciRequestFinished" } - } - Component { - file: "private/qquickshadereffectmesh_p.h" - name: "QQuickBorderImageMesh" - prototype: "QQuickShaderEffectMesh" - exports: ["QtQuick/BorderImageMesh 2.8"] - exportMetaObjectRevisions: [8] - Enum { - name: "TileMode" - values: ["Stretch", "Repeat", "Round"] - } - Property { name: "border"; type: "QQuickScaleGrid"; isReadonly: true; isPointer: true } - Property { name: "size"; type: "QSize" } - Property { name: "horizontalTileMode"; type: "TileMode" } - Property { name: "verticalTileMode"; type: "TileMode" } - } - Component { - file: "private/qquickcanvasitem_p.h" - name: "QQuickCanvasItem" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/Canvas 2.0", - "QtQuick/Canvas 2.1", - "QtQuick/Canvas 2.11", - "QtQuick/Canvas 2.4", - "QtQuick/Canvas 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Enum { - name: "RenderTarget" - values: ["Image", "FramebufferObject"] - } - Enum { - name: "RenderStrategy" - values: ["Immediate", "Threaded", "Cooperative"] - } - Property { name: "available"; type: "bool"; isReadonly: true } - Property { name: "contextType"; type: "string" } - Property { name: "context"; type: "QJSValue"; isReadonly: true } - Property { name: "canvasSize"; type: "QSizeF" } - Property { name: "tileSize"; type: "QSize" } - Property { name: "canvasWindow"; type: "QRectF" } - Property { name: "renderTarget"; type: "RenderTarget" } - Property { name: "renderStrategy"; type: "RenderStrategy" } - Signal { - name: "paint" - Parameter { name: "region"; type: "QRect" } - } - Signal { name: "painted" } - Signal { name: "imageLoaded" } - Method { - name: "loadImage" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "unloadImage" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "isImageLoaded" - type: "bool" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "isImageLoading" - type: "bool" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "isImageError" - type: "bool" - Parameter { name: "url"; type: "QUrl" } - } - Method { name: "sceneGraphInitialized" } - Method { name: "checkAnimationCallbacks" } - Method { name: "invalidateSceneGraph" } - Method { name: "schedulePolish" } - Method { - name: "getContext" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "requestAnimationFrame" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "cancelRequestAnimationFrame" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { name: "requestPaint" } - Method { - name: "markDirty" - Parameter { name: "dirtyRect"; type: "QRectF" } - } - Method { name: "markDirty" } - Method { - name: "save" - type: "bool" - Parameter { name: "filename"; type: "string" } - } - Method { - name: "toDataURL" - type: "string" - Parameter { name: "type"; type: "string" } - } - Method { name: "toDataURL"; type: "string" } - Method { name: "delayedCreate" } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickCloseEvent" - Property { name: "accepted"; type: "bool" } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickColorAnimation" - prototype: "QQuickPropertyAnimation" - exports: ["QtQuick/ColorAnimation 2.0", "QtQuick/ColorAnimation 2.12"] - exportMetaObjectRevisions: [0, 12] - Property { name: "from"; type: "QColor" } - Property { name: "to"; type: "QColor" } - } - Component { - file: "private/qquickvaluetypes_p.h" - name: "QQuickColorSpaceValueType" - exports: ["QtQuick/ColorSpace 2.15"] - isCreatable: false - exportMetaObjectRevisions: [15] - Enum { - name: "NamedColorSpace" - values: [ - "Unknown", - "SRgb", - "SRgbLinear", - "AdobeRgb", - "DisplayP3", - "ProPhotoRgb" - ] - } - Enum { - name: "Primaries" - values: ["Custom", "SRgb", "AdobeRgb", "DciP3D65", "ProPhotoRgb"] - } - Enum { - name: "TransferFunction" - values: ["Custom", "Linear", "Gamma", "SRgb", "ProPhotoRgb"] - } - Property { name: "namedColorSpace"; type: "NamedColorSpace" } - Property { name: "primaries"; type: "Primaries" } - Property { name: "transferFunction"; type: "TransferFunction" } - Property { name: "gamma"; type: "float" } - } - Component { - file: "private/qquickpositioners_p.h" - name: "QQuickColumn" - prototype: "QQuickBasePositioner" - exports: [ - "QtQuick/Column 2.0", - "QtQuick/Column 2.1", - "QtQuick/Column 2.11", - "QtQuick/Column 2.4", - "QtQuick/Column 2.6", - "QtQuick/Column 2.7", - "QtQuick/Column 2.9" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickCurve" - prototype: "QQuickPathElement" - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - Property { name: "relativeX"; type: "double" } - Property { name: "relativeY"; type: "double" } - } - Component { - file: "private/qquickvalidator_p.h" - name: "QQuickDoubleValidator" - exports: ["QtQuick/DoubleValidator 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "locale"; type: "string" } - Signal { name: "localeNameChanged" } - } - Component { - file: "private/qquickdrag_p.h" - name: "QQuickDrag" - exports: ["QtQuick/Drag 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - attachedType: "QQuickDragAttached" - Enum { - name: "DragType" - values: ["None", "Automatic", "Internal"] - } - Enum { - name: "Axis" - values: ["XAxis", "YAxis", "XAndYAxis", "XandYAxis"] - } - Property { name: "target"; type: "QQuickItem"; isPointer: true } - Property { name: "axis"; type: "Axis" } - Property { name: "minimumX"; type: "double" } - Property { name: "maximumX"; type: "double" } - Property { name: "minimumY"; type: "double" } - Property { name: "maximumY"; type: "double" } - Property { name: "active"; type: "bool"; isReadonly: true } - Property { name: "filterChildren"; type: "bool" } - Property { name: "smoothed"; type: "bool" } - Property { name: "threshold"; type: "double" } - } - Component { - file: "private/qquickdrag_p.h" - name: "QQuickDragAttached" - Property { name: "active"; type: "bool" } - Property { name: "source"; type: "QObject"; isPointer: true } - Property { name: "target"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "hotSpot"; type: "QPointF" } - Property { name: "imageSource"; type: "QUrl" } - Property { name: "keys"; type: "QStringList" } - Property { name: "mimeData"; type: "QVariantMap" } - Property { name: "supportedActions"; type: "Qt::DropActions" } - Property { name: "proposedAction"; type: "Qt::DropAction" } - Property { name: "dragType"; type: "QQuickDrag::DragType" } - Signal { name: "dragStarted" } - Signal { - name: "dragFinished" - Parameter { name: "dropAction"; type: "Qt::DropAction" } - } - Method { - name: "start" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "startDrag" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { name: "cancel" } - Method { name: "drop"; type: "int" } - } - Component { - file: "private/qquickdragaxis_p.h" - name: "QQuickDragAxis" - exports: ["QtQuick/DragAxis 2.12"] - isCreatable: false - exportMetaObjectRevisions: [12] - Property { name: "minimum"; type: "double" } - Property { name: "maximum"; type: "double" } - Property { name: "enabled"; type: "bool" } - } - Component { - file: "private/qquickdraghandler_p.h" - name: "QQuickDragHandler" - prototype: "QQuickMultiPointHandler" - exports: [ - "QtQuick/DragHandler 2.12", - "QtQuick/DragHandler 2.14", - "QtQuick/DragHandler 2.15" - ] - exportMetaObjectRevisions: [12, 14, 15] - Enum { - name: "SnapMode" - values: [ - "NoSnap", - "SnapAuto", - "SnapIfPressedOutsideTarget", - "SnapAlways" - ] - } - Property { name: "xAxis"; type: "QQuickDragAxis"; isReadonly: true; isPointer: true } - Property { name: "yAxis"; type: "QQuickDragAxis"; isReadonly: true; isPointer: true } - Property { name: "translation"; type: "QVector2D"; isReadonly: true } - Property { name: "snapMode"; revision: 14; type: "SnapMode" } - Signal { name: "snapModeChanged"; revision: 14 } - } - Component { - file: "private/qquickdroparea_p.h" - name: "QQuickDropArea" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/DropArea 2.0", - "QtQuick/DropArea 2.1", - "QtQuick/DropArea 2.11", - "QtQuick/DropArea 2.4", - "QtQuick/DropArea 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Property { name: "containsDrag"; type: "bool"; isReadonly: true } - Property { name: "keys"; type: "QStringList" } - Property { name: "drag"; type: "QQuickDropAreaDrag"; isReadonly: true; isPointer: true } - Signal { name: "sourceChanged" } - Signal { - name: "entered" - Parameter { name: "drag"; type: "QQuickDropEvent"; isPointer: true } - } - Signal { name: "exited" } - Signal { - name: "positionChanged" - Parameter { name: "drag"; type: "QQuickDropEvent"; isPointer: true } - } - Signal { - name: "dropped" - Parameter { name: "drop"; type: "QQuickDropEvent"; isPointer: true } - } - } - Component { - file: "private/qquickdroparea_p.h" - name: "QQuickDropAreaDrag" - Property { name: "x"; type: "double"; isReadonly: true } - Property { name: "y"; type: "double"; isReadonly: true } - Property { name: "source"; type: "QObject"; isReadonly: true; isPointer: true } - Signal { name: "positionChanged" } - } - Component { - file: "private/qquickdroparea_p.h" - name: "QQuickDropEvent" - Property { name: "x"; type: "double"; isReadonly: true } - Property { name: "y"; type: "double"; isReadonly: true } - Property { name: "source"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "keys"; type: "QStringList"; isReadonly: true } - Property { name: "supportedActions"; type: "Qt::DropActions"; isReadonly: true } - Property { name: "proposedAction"; type: "Qt::DropActions"; isReadonly: true } - Property { name: "action"; type: "Qt::DropAction" } - Property { name: "accepted"; type: "bool" } - Property { name: "hasColor"; type: "bool"; isReadonly: true } - Property { name: "hasHtml"; type: "bool"; isReadonly: true } - Property { name: "hasText"; type: "bool"; isReadonly: true } - Property { name: "hasUrls"; type: "bool"; isReadonly: true } - Property { name: "colorData"; type: "QVariant"; isReadonly: true } - Property { name: "html"; type: "string"; isReadonly: true } - Property { name: "text"; type: "string"; isReadonly: true } - Property { name: "urls"; type: "QList"; isReadonly: true } - Property { name: "formats"; type: "QStringList"; isReadonly: true } - Method { - name: "getDataAsString" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "getDataAsArrayBuffer" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "acceptProposedAction" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "accept" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - } - Component { - file: "private/qquickitem_p.h" - name: "QQuickEnterKeyAttached" - exports: ["QtQuick/EnterKey 2.6"] - isCreatable: false - exportMetaObjectRevisions: [6] - attachedType: "QQuickEnterKeyAttached" - Property { name: "type"; type: "Qt::EnterKeyType" } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickEventPoint" - exports: ["QtQuick/EventPoint 2.12"] - isCreatable: false - exportMetaObjectRevisions: [12] - Enum { - name: "States" - alias: "State" - isFlag: true - values: ["Pressed", "Updated", "Stationary", "Released"] - } - Enum { - name: "GrabTransition" - values: [ - "GrabPassive", - "UngrabPassive", - "CancelGrabPassive", - "OverrideGrabPassive", - "GrabExclusive", - "UngrabExclusive", - "CancelGrabExclusive" - ] - } - Property { name: "event"; type: "QQuickPointerEvent"; isReadonly: true; isPointer: true } - Property { name: "position"; type: "QPointF"; isReadonly: true } - Property { name: "scenePosition"; type: "QPointF"; isReadonly: true } - Property { name: "scenePressPosition"; type: "QPointF"; isReadonly: true } - Property { name: "sceneGrabPosition"; type: "QPointF"; isReadonly: true } - Property { name: "state"; type: "State"; isReadonly: true } - Property { name: "pointId"; type: "int"; isReadonly: true } - Property { name: "timeHeld"; type: "double"; isReadonly: true } - Property { name: "velocity"; type: "QVector2D"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - Property { name: "exclusiveGrabber"; type: "QObject"; isPointer: true } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickEventTabletPoint" - prototype: "QQuickEventPoint" - exports: ["QtQuick/EventTabletPoint 2.15"] - isCreatable: false - exportMetaObjectRevisions: [15] - Property { name: "rotation"; type: "double"; isReadonly: true } - Property { name: "pressure"; type: "double"; isReadonly: true } - Property { name: "tangentialPressure"; type: "double"; isReadonly: true } - Property { name: "tilt"; type: "QVector2D"; isReadonly: true } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickEventTouchPoint" - prototype: "QQuickEventPoint" - exports: ["QtQuick/EventTouchPoint 2.12"] - isCreatable: false - exportMetaObjectRevisions: [12] - Property { name: "rotation"; type: "double"; isReadonly: true } - Property { name: "pressure"; type: "double"; isReadonly: true } - Property { name: "ellipseDiameters"; type: "QSizeF"; isReadonly: true } - Property { name: "uniqueId"; type: "QPointingDeviceUniqueId"; isReadonly: true } - } - Component { - file: "private/qquickflickable_p.h" - name: "QQuickFlickable" - defaultProperty: "flickableData" - prototype: "QQuickItem" - exports: [ - "QtQuick/Flickable 2.0", - "QtQuick/Flickable 2.1", - "QtQuick/Flickable 2.10", - "QtQuick/Flickable 2.11", - "QtQuick/Flickable 2.12", - "QtQuick/Flickable 2.4", - "QtQuick/Flickable 2.7", - "QtQuick/Flickable 2.9" - ] - exportMetaObjectRevisions: [0, 1, 10, 11, 12, 4, 7, 9] - Enum { - name: "BoundsBehavior" - alias: "BoundsBehaviorFlag" - isFlag: true - values: [ - "StopAtBounds", - "DragOverBounds", - "OvershootBounds", - "DragAndOvershootBounds" - ] - } - Enum { - name: "BoundsMovement" - values: ["FollowBoundsBehavior"] - } - Enum { - name: "FlickableDirection" - values: [ - "AutoFlickDirection", - "HorizontalFlick", - "VerticalFlick", - "HorizontalAndVerticalFlick", - "AutoFlickIfNeeded" - ] - } - Property { name: "contentWidth"; type: "double" } - Property { name: "contentHeight"; type: "double" } - Property { name: "contentX"; type: "double" } - Property { name: "contentY"; type: "double" } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "topMargin"; type: "double" } - Property { name: "bottomMargin"; type: "double" } - Property { name: "originY"; type: "double"; isReadonly: true } - Property { name: "leftMargin"; type: "double" } - Property { name: "rightMargin"; type: "double" } - Property { name: "originX"; type: "double"; isReadonly: true } - Property { name: "horizontalVelocity"; type: "double"; isReadonly: true } - Property { name: "verticalVelocity"; type: "double"; isReadonly: true } - Property { name: "boundsBehavior"; type: "BoundsBehavior" } - Property { name: "boundsMovement"; revision: 10; type: "BoundsMovement" } - Property { name: "rebound"; type: "QQuickTransition"; isPointer: true } - Property { name: "maximumFlickVelocity"; type: "double" } - Property { name: "flickDeceleration"; type: "double" } - Property { name: "moving"; type: "bool"; isReadonly: true } - Property { name: "movingHorizontally"; type: "bool"; isReadonly: true } - Property { name: "movingVertically"; type: "bool"; isReadonly: true } - Property { name: "flicking"; type: "bool"; isReadonly: true } - Property { name: "flickingHorizontally"; type: "bool"; isReadonly: true } - Property { name: "flickingVertically"; type: "bool"; isReadonly: true } - Property { name: "dragging"; type: "bool"; isReadonly: true } - Property { name: "draggingHorizontally"; type: "bool"; isReadonly: true } - Property { name: "draggingVertically"; type: "bool"; isReadonly: true } - Property { name: "flickableDirection"; type: "FlickableDirection" } - Property { name: "interactive"; type: "bool" } - Property { name: "pressDelay"; type: "int" } - Property { name: "atXEnd"; type: "bool"; isReadonly: true } - Property { name: "atYEnd"; type: "bool"; isReadonly: true } - Property { name: "atXBeginning"; type: "bool"; isReadonly: true } - Property { name: "atYBeginning"; type: "bool"; isReadonly: true } - Property { - name: "visibleArea" - type: "QQuickFlickableVisibleArea" - isReadonly: true - isPointer: true - } - Property { name: "pixelAligned"; type: "bool" } - Property { name: "synchronousDrag"; revision: 12; type: "bool" } - Property { name: "horizontalOvershoot"; revision: 9; type: "double"; isReadonly: true } - Property { name: "verticalOvershoot"; revision: 9; type: "double"; isReadonly: true } - Property { name: "flickableData"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "flickableChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - Signal { name: "isAtBoundaryChanged" } - Signal { name: "boundsMovementChanged"; revision: 10 } - Signal { name: "movementStarted" } - Signal { name: "movementEnded" } - Signal { name: "flickStarted" } - Signal { name: "flickEnded" } - Signal { name: "dragStarted" } - Signal { name: "dragEnded" } - Signal { name: "synchronousDragChanged"; revision: 12 } - Signal { name: "horizontalOvershootChanged"; revision: 9 } - Signal { name: "verticalOvershootChanged"; revision: 9 } - Method { name: "movementStarting" } - Method { name: "movementEnding" } - Method { - name: "movementEnding" - Parameter { name: "hMovementEnding"; type: "bool" } - Parameter { name: "vMovementEnding"; type: "bool" } - } - Method { name: "velocityTimelineCompleted" } - Method { name: "timelineCompleted" } - Method { - name: "resizeContent" - Parameter { name: "w"; type: "double" } - Parameter { name: "h"; type: "double" } - Parameter { name: "center"; type: "QPointF" } - } - Method { name: "returnToBounds" } - Method { - name: "flick" - Parameter { name: "xVelocity"; type: "double" } - Parameter { name: "yVelocity"; type: "double" } - } - Method { name: "cancelFlick" } - } - Component { - file: "private/qquickflickable_p_p.h" - name: "QQuickFlickableVisibleArea" - Property { name: "xPosition"; type: "double"; isReadonly: true } - Property { name: "yPosition"; type: "double"; isReadonly: true } - Property { name: "widthRatio"; type: "double"; isReadonly: true } - Property { name: "heightRatio"; type: "double"; isReadonly: true } - Signal { - name: "xPositionChanged" - Parameter { name: "xPosition"; type: "double" } - } - Signal { - name: "yPositionChanged" - Parameter { name: "yPosition"; type: "double" } - } - Signal { - name: "widthRatioChanged" - Parameter { name: "widthRatio"; type: "double" } - } - Signal { - name: "heightRatioChanged" - Parameter { name: "heightRatio"; type: "double" } - } - } - Component { - file: "private/qquickflipable_p.h" - name: "QQuickFlipable" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/Flipable 2.0", - "QtQuick/Flipable 2.1", - "QtQuick/Flipable 2.11", - "QtQuick/Flipable 2.4", - "QtQuick/Flipable 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Enum { - name: "Side" - values: ["Front", "Back"] - } - Property { name: "front"; type: "QQuickItem"; isPointer: true } - Property { name: "back"; type: "QQuickItem"; isPointer: true } - Property { name: "side"; type: "Side"; isReadonly: true } - Method { name: "retransformBack" } - } - Component { - file: "private/qquickpositioners_p.h" - name: "QQuickFlow" - prototype: "QQuickBasePositioner" - exports: [ - "QtQuick/Flow 2.0", - "QtQuick/Flow 2.1", - "QtQuick/Flow 2.11", - "QtQuick/Flow 2.4", - "QtQuick/Flow 2.6", - "QtQuick/Flow 2.7", - "QtQuick/Flow 2.9" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] - Enum { - name: "Flow" - values: ["LeftToRight", "TopToBottom"] - } - Property { name: "flow"; type: "Flow" } - Property { name: "layoutDirection"; type: "Qt::LayoutDirection" } - Property { name: "effectiveLayoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } - } - Component { - file: "private/qquickfocusscope_p.h" - name: "QQuickFocusScope" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/FocusScope 2.0", - "QtQuick/FocusScope 2.1", - "QtQuick/FocusScope 2.11", - "QtQuick/FocusScope 2.4", - "QtQuick/FocusScope 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - } - Component { - file: "private/qquickfontloader_p.h" - name: "QQuickFontLoader" - exports: ["QtQuick/FontLoader 2.0"] - exportMetaObjectRevisions: [0] - Enum { - name: "Status" - values: ["Null", "Ready", "Loading", "Error"] - } - Property { name: "source"; type: "QUrl" } - Property { name: "name"; type: "string" } - Property { name: "status"; type: "Status"; isReadonly: true } - Method { - name: "updateFontInfo" - Parameter { type: "string" } - Parameter { type: "QQuickFontLoader::Status" } - } - } - Component { - file: "private/qquickfontmetrics_p.h" - name: "QQuickFontMetrics" - exports: ["QtQuick/FontMetrics 2.4"] - exportMetaObjectRevisions: [4] - Property { name: "font"; type: "QFont" } - Property { name: "ascent"; type: "double"; isReadonly: true } - Property { name: "descent"; type: "double"; isReadonly: true } - Property { name: "height"; type: "double"; isReadonly: true } - Property { name: "leading"; type: "double"; isReadonly: true } - Property { name: "lineSpacing"; type: "double"; isReadonly: true } - Property { name: "minimumLeftBearing"; type: "double"; isReadonly: true } - Property { name: "minimumRightBearing"; type: "double"; isReadonly: true } - Property { name: "maximumCharacterWidth"; type: "double"; isReadonly: true } - Property { name: "xHeight"; type: "double"; isReadonly: true } - Property { name: "averageCharacterWidth"; type: "double"; isReadonly: true } - Property { name: "underlinePosition"; type: "double"; isReadonly: true } - Property { name: "overlinePosition"; type: "double"; isReadonly: true } - Property { name: "strikeOutPosition"; type: "double"; isReadonly: true } - Property { name: "lineWidth"; type: "double"; isReadonly: true } - Signal { - name: "fontChanged" - Parameter { name: "font"; type: "QFont" } - } - Method { - name: "advanceWidth" - type: "double" - Parameter { name: "text"; type: "string" } - } - Method { - name: "boundingRect" - type: "QRectF" - Parameter { name: "text"; type: "string" } - } - Method { - name: "tightBoundingRect" - type: "QRectF" - Parameter { name: "text"; type: "string" } - } - Method { - name: "elidedText" - type: "string" - Parameter { name: "text"; type: "string" } - Parameter { name: "mode"; type: "Qt::TextElideMode" } - Parameter { name: "width"; type: "double" } - Parameter { name: "flags"; type: "int" } - } - Method { - name: "elidedText" - type: "string" - Parameter { name: "text"; type: "string" } - Parameter { name: "mode"; type: "Qt::TextElideMode" } - Parameter { name: "width"; type: "double" } - } - } - Component { - file: "private/qquickvaluetypes_p.h" - name: "QQuickFontValueType" - exports: ["QtQuick/Font 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "FontWeight" - values: [ - "Thin", - "ExtraLight", - "Light", - "Normal", - "Medium", - "DemiBold", - "Bold", - "ExtraBold", - "Black" - ] - } - Enum { - name: "Capitalization" - values: [ - "MixedCase", - "AllUppercase", - "AllLowercase", - "SmallCaps", - "Capitalize" - ] - } - Enum { - name: "HintingPreference" - values: [ - "PreferDefaultHinting", - "PreferNoHinting", - "PreferVerticalHinting", - "PreferFullHinting" - ] - } - Property { name: "family"; type: "string" } - Property { name: "styleName"; type: "string" } - Property { name: "bold"; type: "bool" } - Property { name: "weight"; type: "FontWeight" } - Property { name: "italic"; type: "bool" } - Property { name: "underline"; type: "bool" } - Property { name: "overline"; type: "bool" } - Property { name: "strikeout"; type: "bool" } - Property { name: "pointSize"; type: "double" } - Property { name: "pixelSize"; type: "int" } - Property { name: "capitalization"; type: "Capitalization" } - Property { name: "letterSpacing"; type: "double" } - Property { name: "wordSpacing"; type: "double" } - Property { name: "hintingPreference"; type: "HintingPreference" } - Property { name: "kerning"; type: "bool" } - Property { name: "preferShaping"; type: "bool" } - Method { name: "toString"; type: "string" } - } - Component { - file: "private/qquickmultipointtoucharea_p.h" - name: "QQuickGrabGestureEvent" - exports: ["QtQuick/GestureEvent 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "touchPoints"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "dragThreshold"; type: "double"; isReadonly: true } - Method { name: "grab" } - } - Component { - file: "private/qquickrectangle_p.h" - name: "QQuickGradient" - defaultProperty: "stops" - exports: ["QtQuick/Gradient 2.0", "QtQuick/Gradient 2.12"] - exportMetaObjectRevisions: [0, 12] - Enum { - name: "Orientation" - values: ["Vertical", "Horizontal"] - } - Property { name: "stops"; type: "QQuickGradientStop"; isList: true; isReadonly: true } - Property { name: "orientation"; revision: 12; type: "Orientation" } - Signal { name: "updated" } - } - Component { - file: "private/qquickrectangle_p.h" - name: "QQuickGradientStop" - exports: ["QtQuick/GradientStop 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "position"; type: "double" } - Property { name: "color"; type: "QColor" } - } - Component { - file: "private/qquickgraphicsinfo_p.h" - name: "QQuickGraphicsInfo" - exports: ["QtQuick/GraphicsInfo 2.8"] - isCreatable: false - exportMetaObjectRevisions: [8] - attachedType: "QQuickGraphicsInfo" - Enum { - name: "GraphicsApi" - values: [ - "Unknown", - "Software", - "OpenGL", - "Direct3D12", - "OpenVG", - "OpenGLRhi", - "Direct3D11Rhi", - "VulkanRhi", - "MetalRhi", - "NullRhi" - ] - } - Enum { - name: "ShaderType" - values: ["UnknownShadingLanguage", "GLSL", "HLSL", "RhiShader"] - } - Enum { - name: "ShaderCompilationType" - values: ["RuntimeCompilation", "OfflineCompilation"] - } - Enum { - name: "ShaderSourceType" - values: [ - "ShaderSourceString", - "ShaderSourceFile", - "ShaderByteCode" - ] - } - Enum { - name: "OpenGLContextProfile" - values: [ - "OpenGLNoProfile", - "OpenGLCoreProfile", - "OpenGLCompatibilityProfile" - ] - } - Enum { - name: "RenderableType" - values: [ - "SurfaceFormatUnspecified", - "SurfaceFormatOpenGL", - "SurfaceFormatOpenGLES" - ] - } - Property { name: "api"; type: "GraphicsApi"; isReadonly: true } - Property { name: "shaderType"; type: "ShaderType"; isReadonly: true } - Property { name: "shaderCompilationType"; type: "ShaderCompilationType"; isReadonly: true } - Property { name: "shaderSourceType"; type: "ShaderSourceType"; isReadonly: true } - Property { name: "majorVersion"; type: "int"; isReadonly: true } - Property { name: "minorVersion"; type: "int"; isReadonly: true } - Property { name: "profile"; type: "OpenGLContextProfile"; isReadonly: true } - Property { name: "renderableType"; type: "RenderableType"; isReadonly: true } - Method { name: "updateInfo" } - Method { - name: "setWindow" - Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } - } - } - Component { - file: "private/qquickpositioners_p.h" - name: "QQuickGrid" - prototype: "QQuickBasePositioner" - exports: [ - "QtQuick/Grid 2.0", - "QtQuick/Grid 2.1", - "QtQuick/Grid 2.11", - "QtQuick/Grid 2.4", - "QtQuick/Grid 2.6", - "QtQuick/Grid 2.7", - "QtQuick/Grid 2.9" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] - Enum { - name: "Flow" - values: ["LeftToRight", "TopToBottom"] - } - Enum { - name: "HAlignment" - values: ["AlignLeft", "AlignRight", "AlignHCenter"] - } - Enum { - name: "VAlignment" - values: ["AlignTop", "AlignBottom", "AlignVCenter"] - } - Property { name: "rows"; type: "int" } - Property { name: "columns"; type: "int" } - Property { name: "rowSpacing"; type: "double" } - Property { name: "columnSpacing"; type: "double" } - Property { name: "flow"; type: "Flow" } - Property { name: "layoutDirection"; type: "Qt::LayoutDirection" } - Property { name: "effectiveLayoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } - Property { name: "horizontalItemAlignment"; revision: 1; type: "HAlignment" } - Property { - name: "effectiveHorizontalItemAlignment" - revision: 1 - type: "HAlignment" - isReadonly: true - } - Property { name: "verticalItemAlignment"; revision: 1; type: "VAlignment" } - Signal { - name: "horizontalAlignmentChanged" - revision: 1 - Parameter { name: "alignment"; type: "HAlignment" } - } - Signal { - name: "effectiveHorizontalAlignmentChanged" - revision: 1 - Parameter { name: "alignment"; type: "HAlignment" } - } - Signal { - name: "verticalAlignmentChanged" - revision: 1 - Parameter { name: "alignment"; type: "VAlignment" } - } - } - Component { - file: "private/qquickshadereffectmesh_p.h" - name: "QQuickGridMesh" - prototype: "QQuickShaderEffectMesh" - exports: ["QtQuick/GridMesh 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "resolution"; type: "QSize" } - } - Component { - file: "private/qquickgridview_p.h" - name: "QQuickGridView" - defaultProperty: "data" - prototype: "QQuickItemView" - exports: [ - "QtQuick/GridView 2.0", - "QtQuick/GridView 2.1", - "QtQuick/GridView 2.10", - "QtQuick/GridView 2.11", - "QtQuick/GridView 2.12", - "QtQuick/GridView 2.13", - "QtQuick/GridView 2.15", - "QtQuick/GridView 2.3", - "QtQuick/GridView 2.4", - "QtQuick/GridView 2.7", - "QtQuick/GridView 2.9" - ] - exportMetaObjectRevisions: [0, 1, 10, 11, 12, 13, 15, 3, 4, 7, 9] - attachedType: "QQuickGridViewAttached" - Enum { - name: "Flow" - values: ["FlowLeftToRight", "FlowTopToBottom"] - } - Enum { - name: "SnapMode" - values: ["NoSnap", "SnapToRow", "SnapOneRow"] - } - Property { name: "flow"; type: "Flow" } - Property { name: "cellWidth"; type: "double" } - Property { name: "cellHeight"; type: "double" } - Property { name: "snapMode"; type: "SnapMode" } - Signal { name: "highlightMoveDurationChanged" } - Method { name: "moveCurrentIndexUp" } - Method { name: "moveCurrentIndexDown" } - Method { name: "moveCurrentIndexLeft" } - Method { name: "moveCurrentIndexRight" } - } - Component { name: "QQuickGridViewAttached"; prototype: "QQuickItemViewAttached" } - Component { - file: "private/qquickhoverhandler_p.h" - name: "QQuickHoverHandler" - prototype: "QQuickSinglePointHandler" - exports: ["QtQuick/HoverHandler 2.12", "QtQuick/HoverHandler 2.15"] - exportMetaObjectRevisions: [12, 15] - Property { name: "hovered"; type: "bool"; isReadonly: true } - } - Component { - file: "private/qquickimage_p.h" - name: "QQuickImage" - prototype: "QQuickImageBase" - exports: [ - "QtQuick/Image 2.0", - "QtQuick/Image 2.1", - "QtQuick/Image 2.11", - "QtQuick/Image 2.14", - "QtQuick/Image 2.15", - "QtQuick/Image 2.3", - "QtQuick/Image 2.4", - "QtQuick/Image 2.5", - "QtQuick/Image 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 14, 15, 3, 4, 5, 7] - Enum { - name: "HAlignment" - values: ["AlignLeft", "AlignRight", "AlignHCenter"] - } - Enum { - name: "VAlignment" - values: ["AlignTop", "AlignBottom", "AlignVCenter"] - } - Enum { - name: "FillMode" - values: [ - "Stretch", - "PreserveAspectFit", - "PreserveAspectCrop", - "Tile", - "TileVertically", - "TileHorizontally", - "Pad" - ] - } - Property { name: "fillMode"; type: "FillMode" } - Property { name: "paintedWidth"; type: "double"; isReadonly: true } - Property { name: "paintedHeight"; type: "double"; isReadonly: true } - Property { name: "horizontalAlignment"; type: "HAlignment" } - Property { name: "verticalAlignment"; type: "VAlignment" } - Property { name: "mipmap"; revision: 3; type: "bool" } - Property { name: "autoTransform"; revision: 5; type: "bool" } - Property { name: "sourceClipRect"; revision: 15; type: "QRectF" } - Signal { name: "paintedGeometryChanged" } - Signal { - name: "horizontalAlignmentChanged" - Parameter { name: "alignment"; type: "HAlignment" } - } - Signal { - name: "verticalAlignmentChanged" - Parameter { name: "alignment"; type: "VAlignment" } - } - Signal { - name: "mipmapChanged" - revision: 3 - Parameter { type: "bool" } - } - Signal { name: "autoTransformChanged"; revision: 5 } - Method { name: "invalidateSceneGraph" } - } - Component { - file: "private/qquickimagebase_p.h" - name: "QQuickImageBase" - prototype: "QQuickImplicitSizeItem" - exports: ["QtQuick/ImageBase 2.14", "QtQuick/ImageBase 2.15"] - isCreatable: false - exportMetaObjectRevisions: [14, 15] - Enum { - name: "LoadPixmapOptions" - alias: "LoadPixmapOption" - isFlag: true - values: ["NoOption", "HandleDPR", "UseProviderOptions"] - } - Enum { - name: "Status" - values: ["Null", "Ready", "Loading", "Error"] - } - Property { name: "status"; type: "Status"; isReadonly: true } - Property { name: "source"; type: "QUrl" } - Property { name: "progress"; type: "double"; isReadonly: true } - Property { name: "asynchronous"; type: "bool" } - Property { name: "cache"; type: "bool" } - Property { name: "sourceSize"; type: "QSize" } - Property { name: "mirror"; type: "bool" } - Property { name: "currentFrame"; revision: 14; type: "int" } - Property { name: "frameCount"; revision: 14; type: "int"; isReadonly: true } - Property { name: "colorSpace"; revision: 15; type: "QColorSpace" } - Signal { - name: "sourceChanged" - Parameter { type: "QUrl" } - } - Signal { - name: "statusChanged" - Parameter { type: "QQuickImageBase::Status" } - } - Signal { - name: "progressChanged" - Parameter { name: "progress"; type: "double" } - } - Signal { name: "currentFrameChanged"; revision: 14 } - Signal { name: "frameCountChanged"; revision: 14 } - Signal { name: "sourceClipRectChanged"; revision: 15 } - Signal { name: "colorSpaceChanged"; revision: 15 } - Method { name: "requestFinished" } - Method { - name: "requestProgress" - Parameter { type: "qlonglong" } - Parameter { type: "qlonglong" } - } - } - Component { - file: "qquickitem.h" - name: "QQuickImplicitSizeItem" - defaultProperty: "data" - prototype: "QQuickItem" - Property { name: "implicitWidth"; type: "double"; isReadonly: true } - Property { name: "implicitHeight"; type: "double"; isReadonly: true } - } - Component { - file: "private/qquickvalidator_p.h" - name: "QQuickIntValidator" - exports: ["QtQuick/IntValidator 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "locale"; type: "string" } - Signal { name: "localeNameChanged" } - } - Component { - file: "qquickitem.h" - name: "QQuickItem" - defaultProperty: "data" - exports: [ - "QtQuick/Item 2.0", - "QtQuick/Item 2.1", - "QtQuick/Item 2.11", - "QtQuick/Item 2.4", - "QtQuick/Item 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Enum { - name: "Flags" - alias: "Flag" - isFlag: true - values: [ - "ItemClipsChildrenToShape", - "ItemAcceptsInputMethod", - "ItemIsFocusScope", - "ItemHasContents", - "ItemAcceptsDrops" - ] - } - Enum { - name: "TransformOrigin" - values: [ - "TopLeft", - "Top", - "TopRight", - "Left", - "Center", - "Right", - "BottomLeft", - "Bottom", - "BottomRight" - ] - } - Property { name: "parent"; type: "QQuickItem"; isPointer: true } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - Property { name: "z"; type: "double" } - Property { name: "width"; type: "double" } - Property { name: "height"; type: "double" } - Property { name: "opacity"; type: "double" } - Property { name: "enabled"; type: "bool" } - Property { name: "visible"; type: "bool" } - Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } - Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } - Property { name: "state"; type: "string" } - Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } - Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } - Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baselineOffset"; type: "double" } - Property { name: "clip"; type: "bool" } - Property { name: "focus"; type: "bool" } - Property { name: "activeFocus"; type: "bool"; isReadonly: true } - Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } - Property { name: "rotation"; type: "double" } - Property { name: "scale"; type: "double" } - Property { name: "transformOrigin"; type: "TransformOrigin" } - Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } - Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } - Property { name: "smooth"; type: "bool" } - Property { name: "antialiasing"; type: "bool" } - Property { name: "implicitWidth"; type: "double" } - Property { name: "implicitHeight"; type: "double" } - Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } - Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } - Signal { - name: "childrenRectChanged" - Parameter { type: "QRectF" } - } - Signal { - name: "baselineOffsetChanged" - Parameter { type: "double" } - } - Signal { - name: "stateChanged" - Parameter { type: "string" } - } - Signal { - name: "focusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusOnTabChanged" - revision: 1 - Parameter { type: "bool" } - } - Signal { - name: "parentChanged" - Parameter { type: "QQuickItem"; isPointer: true } - } - Signal { - name: "transformOriginChanged" - Parameter { type: "TransformOrigin" } - } - Signal { - name: "smoothChanged" - Parameter { type: "bool" } - } - Signal { - name: "antialiasingChanged" - Parameter { type: "bool" } - } - Signal { - name: "clipChanged" - Parameter { type: "bool" } - } - Signal { - name: "windowChanged" - revision: 1 - Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } - } - Signal { name: "containmentMaskChanged"; revision: 11 } - Method { name: "update" } - Method { - name: "_q_resourceObjectDeleted" - Parameter { type: "QObject"; isPointer: true } - } - Method { - name: "_q_createJSWrapper" - type: "qulonglong" - Parameter { type: "QV4::ExecutionEngine"; isPointer: true } - } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - Parameter { name: "targetSize"; type: "QSize" } - } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - } - Method { - name: "contains" - type: "bool" - Parameter { name: "point"; type: "QPointF" } - } - Method { - name: "mapFromItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapFromGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { name: "forceActiveFocus" } - Method { - name: "forceActiveFocus" - Parameter { name: "reason"; type: "Qt::FocusReason" } - } - Method { - name: "nextItemInFocusChain" - revision: 1 - type: "QQuickItem*" - Parameter { name: "forward"; type: "bool" } - } - Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } - Method { - name: "childAt" - type: "QQuickItem*" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { - file: "qquickitemgrabresult.h" - name: "QQuickItemGrabResult" - Property { name: "image"; type: "QImage"; isReadonly: true } - Property { name: "url"; type: "QUrl"; isReadonly: true } - Signal { name: "ready" } - Method { name: "setup" } - Method { name: "render" } - Method { - name: "saveToFile" - type: "bool" - Parameter { name: "fileName"; type: "string" } - } - Method { - name: "saveToFile" - type: "bool" - Parameter { name: "fileName"; type: "string" } - } - } - Component { - file: "private/qquickitem_p.h" - name: "QQuickItemLayer" - Property { name: "enabled"; type: "bool" } - Property { name: "textureSize"; type: "QSize" } - Property { name: "sourceRect"; type: "QRectF" } - Property { name: "mipmap"; type: "bool" } - Property { name: "smooth"; type: "bool" } - Property { name: "wrapMode"; type: "QQuickShaderEffectSource::WrapMode" } - Property { name: "format"; type: "QQuickShaderEffectSource::Format" } - Property { name: "samplerName"; type: "QByteArray" } - Property { name: "effect"; type: "QQmlComponent"; isPointer: true } - Property { name: "textureMirroring"; type: "QQuickShaderEffectSource::TextureMirroring" } - Property { name: "samples"; type: "int" } - Signal { - name: "enabledChanged" - Parameter { name: "enabled"; type: "bool" } - } - Signal { - name: "sizeChanged" - Parameter { name: "size"; type: "QSize" } - } - Signal { - name: "mipmapChanged" - Parameter { name: "mipmap"; type: "bool" } - } - Signal { - name: "wrapModeChanged" - Parameter { name: "mode"; type: "QQuickShaderEffectSource::WrapMode" } - } - Signal { - name: "nameChanged" - Parameter { name: "name"; type: "QByteArray" } - } - Signal { - name: "effectChanged" - Parameter { name: "component"; type: "QQmlComponent"; isPointer: true } - } - Signal { - name: "smoothChanged" - Parameter { name: "smooth"; type: "bool" } - } - Signal { - name: "formatChanged" - Parameter { name: "format"; type: "QQuickShaderEffectSource::Format" } - } - Signal { - name: "sourceRectChanged" - Parameter { name: "sourceRect"; type: "QRectF" } - } - Signal { - name: "textureMirroringChanged" - Parameter { name: "mirroring"; type: "QQuickShaderEffectSource::TextureMirroring" } - } - Signal { - name: "samplesChanged" - Parameter { name: "count"; type: "int" } - } - } - Component { - file: "private/qquickitemview_p.h" - name: "QQuickItemView" - defaultProperty: "flickableData" - prototype: "QQuickFlickable" - exports: [ - "QtQuick/ItemView 2.1", - "QtQuick/ItemView 2.10", - "QtQuick/ItemView 2.11", - "QtQuick/ItemView 2.12", - "QtQuick/ItemView 2.13", - "QtQuick/ItemView 2.15", - "QtQuick/ItemView 2.3", - "QtQuick/ItemView 2.4", - "QtQuick/ItemView 2.7", - "QtQuick/ItemView 2.9" - ] - isCreatable: false - exportMetaObjectRevisions: [1, 10, 11, 12, 13, 15, 3, 4, 7, 9] - Enum { - name: "LayoutDirection" - values: [ - "LeftToRight", - "RightToLeft", - "VerticalTopToBottom", - "VerticalBottomToTop" - ] - } - Enum { - name: "VerticalLayoutDirection" - values: ["TopToBottom", "BottomToTop"] - } - Enum { - name: "HighlightRangeMode" - values: ["NoHighlightRange", "ApplyRange", "StrictlyEnforceRange"] - } - Enum { - name: "PositionMode" - values: [ - "Beginning", - "Center", - "End", - "Visible", - "Contain", - "SnapPosition" - ] - } - Property { name: "model"; type: "QVariant" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "currentIndex"; type: "int" } - Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "keyNavigationWraps"; type: "bool" } - Property { name: "keyNavigationEnabled"; revision: 7; type: "bool" } - Property { name: "cacheBuffer"; type: "int" } - Property { name: "displayMarginBeginning"; revision: 3; type: "int" } - Property { name: "displayMarginEnd"; revision: 3; type: "int" } - Property { name: "layoutDirection"; type: "Qt::LayoutDirection" } - Property { name: "effectiveLayoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } - Property { name: "verticalLayoutDirection"; type: "VerticalLayoutDirection" } - Property { name: "header"; type: "QQmlComponent"; isPointer: true } - Property { name: "headerItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "footer"; type: "QQmlComponent"; isPointer: true } - Property { name: "footerItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "populate"; type: "QQuickTransition"; isPointer: true } - Property { name: "add"; type: "QQuickTransition"; isPointer: true } - Property { name: "addDisplaced"; type: "QQuickTransition"; isPointer: true } - Property { name: "move"; type: "QQuickTransition"; isPointer: true } - Property { name: "moveDisplaced"; type: "QQuickTransition"; isPointer: true } - Property { name: "remove"; type: "QQuickTransition"; isPointer: true } - Property { name: "removeDisplaced"; type: "QQuickTransition"; isPointer: true } - Property { name: "displaced"; type: "QQuickTransition"; isPointer: true } - Property { name: "highlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "highlightItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "highlightFollowsCurrentItem"; type: "bool" } - Property { name: "highlightRangeMode"; type: "HighlightRangeMode" } - Property { name: "preferredHighlightBegin"; type: "double" } - Property { name: "preferredHighlightEnd"; type: "double" } - Property { name: "highlightMoveDuration"; type: "int" } - Property { name: "reuseItems"; revision: 15; type: "bool" } - Signal { name: "keyNavigationEnabledChanged"; revision: 7 } - Signal { name: "populateTransitionChanged" } - Signal { name: "addTransitionChanged" } - Signal { name: "addDisplacedTransitionChanged" } - Signal { name: "moveTransitionChanged" } - Signal { name: "moveDisplacedTransitionChanged" } - Signal { name: "removeTransitionChanged" } - Signal { name: "removeDisplacedTransitionChanged" } - Signal { name: "displacedTransitionChanged" } - Signal { name: "reuseItemsChanged"; revision: 15 } - Method { name: "destroyRemoved" } - Method { - name: "createdItem" - Parameter { name: "index"; type: "int" } - Parameter { name: "item"; type: "QObject"; isPointer: true } - } - Method { - name: "initItem" - Parameter { name: "index"; type: "int" } - Parameter { name: "item"; type: "QObject"; isPointer: true } - } - Method { - name: "modelUpdated" - Parameter { name: "changeSet"; type: "QQmlChangeSet" } - Parameter { name: "reset"; type: "bool" } - } - Method { - name: "destroyingItem" - Parameter { name: "item"; type: "QObject"; isPointer: true } - } - Method { - name: "onItemPooled" - revision: 15 - Parameter { name: "modelIndex"; type: "int" } - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Method { - name: "onItemReused" - revision: 15 - Parameter { name: "modelIndex"; type: "int" } - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Method { name: "animStopped" } - Method { name: "trackedPositionChanged" } - Method { - name: "positionViewAtIndex" - Parameter { name: "index"; type: "int" } - Parameter { name: "mode"; type: "int" } - } - Method { - name: "indexAt" - type: "int" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { - name: "itemAt" - type: "QQuickItem*" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { - name: "itemAtIndex" - revision: 13 - type: "QQuickItem*" - Parameter { name: "index"; type: "int" } - } - Method { name: "positionViewAtBeginning" } - Method { name: "positionViewAtEnd" } - Method { name: "forceLayout"; revision: 1 } - } - Component { - name: "QQuickItemViewAttached" - Property { name: "view"; type: "QQuickItemView"; isReadonly: true; isPointer: true } - Property { name: "isCurrentItem"; type: "bool"; isReadonly: true } - Property { name: "delayRemove"; type: "bool" } - Property { name: "section"; type: "string"; isReadonly: true } - Property { name: "previousSection"; type: "string"; isReadonly: true } - Property { name: "nextSection"; type: "string"; isReadonly: true } - Signal { name: "currentItemChanged" } - Signal { name: "add" } - Signal { name: "remove" } - Signal { name: "prevSectionChanged" } - Signal { name: "pooled" } - Signal { name: "reused" } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickKeyEvent" - Property { name: "key"; type: "int"; isReadonly: true } - Property { name: "text"; type: "string"; isReadonly: true } - Property { name: "modifiers"; type: "int"; isReadonly: true } - Property { name: "isAutoRepeat"; type: "bool"; isReadonly: true } - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "nativeScanCode"; type: "uint"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - Method { - name: "matches" - revision: 2 - type: "bool" - Parameter { name: "key"; type: "QKeySequence::StandardKey" } - } - } - Component { - file: "private/qquickitem_p.h" - name: "QQuickKeyNavigationAttached" - exports: ["QtQuick/KeyNavigation 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - attachedType: "QQuickKeyNavigationAttached" - Enum { - name: "Priority" - values: ["BeforeItem", "AfterItem"] - } - Property { name: "left"; type: "QQuickItem"; isPointer: true } - Property { name: "right"; type: "QQuickItem"; isPointer: true } - Property { name: "up"; type: "QQuickItem"; isPointer: true } - Property { name: "down"; type: "QQuickItem"; isPointer: true } - Property { name: "tab"; type: "QQuickItem"; isPointer: true } - Property { name: "backtab"; type: "QQuickItem"; isPointer: true } - Property { name: "priority"; type: "Priority" } - } - Component { - file: "private/qquickitem_p.h" - name: "QQuickKeysAttached" - exports: ["QtQuick/Keys 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - attachedType: "QQuickKeysAttached" - Enum { - name: "Priority" - values: ["BeforeItem", "AfterItem"] - } - Property { name: "enabled"; type: "bool" } - Property { name: "forwardTo"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "priority"; type: "Priority" } - Signal { - name: "pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "released" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "shortcutOverride" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "digit0Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "digit1Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "digit2Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "digit3Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "digit4Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "digit5Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "digit6Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "digit7Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "digit8Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "digit9Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "leftPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "rightPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "upPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "downPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "tabPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "backtabPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "asteriskPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "numberSignPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "escapePressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "returnPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "enterPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "deletePressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "spacePressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "backPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "cancelPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "selectPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "yesPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "noPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "context1Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "context2Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "context3Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "context4Pressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "callPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "hangupPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "flipPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "menuPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "volumeUpPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - Signal { - name: "volumeDownPressed" - Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } - } - } - Component { - file: "private/qquickitem_p.h" - name: "QQuickLayoutMirroringAttached" - exports: ["QtQuick/LayoutMirroring 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - attachedType: "QQuickLayoutMirroringAttached" - Property { name: "enabled"; type: "bool" } - Property { name: "childrenInherit"; type: "bool" } - } - Component { - file: "private/qquicklistview_p.h" - name: "QQuickListView" - defaultProperty: "data" - prototype: "QQuickItemView" - exports: [ - "QtQuick/ListView 2.0", - "QtQuick/ListView 2.1", - "QtQuick/ListView 2.10", - "QtQuick/ListView 2.11", - "QtQuick/ListView 2.12", - "QtQuick/ListView 2.13", - "QtQuick/ListView 2.15", - "QtQuick/ListView 2.3", - "QtQuick/ListView 2.4", - "QtQuick/ListView 2.7", - "QtQuick/ListView 2.9" - ] - exportMetaObjectRevisions: [0, 1, 10, 11, 12, 13, 15, 3, 4, 7, 9] - attachedType: "QQuickListViewAttached" - Enum { - name: "Orientation" - values: ["Horizontal", "Vertical"] - } - Enum { - name: "SnapMode" - values: ["NoSnap", "SnapToItem", "SnapOneItem"] - } - Enum { - name: "HeaderPositioning" - values: ["InlineHeader", "OverlayHeader", "PullBackHeader"] - } - Enum { - name: "FooterPositioning" - values: ["InlineFooter", "OverlayFooter", "PullBackFooter"] - } - Property { name: "highlightMoveVelocity"; type: "double" } - Property { name: "highlightResizeVelocity"; type: "double" } - Property { name: "highlightResizeDuration"; type: "int" } - Property { name: "spacing"; type: "double" } - Property { name: "orientation"; type: "Orientation" } - Property { name: "section"; type: "QQuickViewSection"; isReadonly: true; isPointer: true } - Property { name: "currentSection"; type: "string"; isReadonly: true } - Property { name: "snapMode"; type: "SnapMode" } - Property { name: "headerPositioning"; revision: 4; type: "HeaderPositioning" } - Property { name: "footerPositioning"; revision: 4; type: "FooterPositioning" } - Signal { name: "headerPositioningChanged"; revision: 4 } - Signal { name: "footerPositioningChanged"; revision: 4 } - Method { name: "incrementCurrentIndex" } - Method { name: "decrementCurrentIndex" } - } - Component { name: "QQuickListViewAttached"; prototype: "QQuickItemViewAttached" } - Component { - file: "private/qquickloader_p.h" - name: "QQuickLoader" - prototype: "QQuickImplicitSizeItem" - exports: [ - "QtQuick/Loader 2.0", - "QtQuick/Loader 2.1", - "QtQuick/Loader 2.11", - "QtQuick/Loader 2.4", - "QtQuick/Loader 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Enum { - name: "Status" - values: ["Null", "Ready", "Loading", "Error"] - } - Property { name: "active"; type: "bool" } - Property { name: "source"; type: "QUrl" } - Property { name: "sourceComponent"; type: "QQmlComponent"; isPointer: true } - Property { name: "item"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "status"; type: "Status"; isReadonly: true } - Property { name: "progress"; type: "double"; isReadonly: true } - Property { name: "asynchronous"; type: "bool" } - Signal { name: "loaded" } - Method { name: "_q_sourceLoaded" } - Method { name: "_q_updateSize" } - Method { - name: "setSource" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - } - Component { - file: "private/qquicktranslate_p.h" - name: "QQuickMatrix4x4" - prototype: "QQuickTransform" - exports: ["QtQuick/Matrix4x4 2.3"] - exportMetaObjectRevisions: [3] - Property { name: "matrix"; type: "QMatrix4x4" } - } - Component { - file: "private/qquickmousearea_p.h" - name: "QQuickMouseArea" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/MouseArea 2.0", - "QtQuick/MouseArea 2.1", - "QtQuick/MouseArea 2.11", - "QtQuick/MouseArea 2.4", - "QtQuick/MouseArea 2.5", - "QtQuick/MouseArea 2.7", - "QtQuick/MouseArea 2.9" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 5, 7, 9] - Property { name: "mouseX"; type: "double"; isReadonly: true } - Property { name: "mouseY"; type: "double"; isReadonly: true } - Property { name: "containsMouse"; type: "bool"; isReadonly: true } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "enabled"; type: "bool" } - Property { name: "scrollGestureEnabled"; revision: 5; type: "bool" } - Property { name: "pressedButtons"; type: "Qt::MouseButtons"; isReadonly: true } - Property { name: "acceptedButtons"; type: "Qt::MouseButtons" } - Property { name: "hoverEnabled"; type: "bool" } - Property { name: "drag"; type: "QQuickDrag"; isReadonly: true; isPointer: true } - Property { name: "preventStealing"; type: "bool" } - Property { name: "propagateComposedEvents"; type: "bool" } - Property { name: "cursorShape"; type: "Qt::CursorShape" } - Property { name: "containsPress"; revision: 4; type: "bool"; isReadonly: true } - Property { name: "pressAndHoldInterval"; revision: 9; type: "int" } - Signal { name: "hoveredChanged" } - Signal { name: "scrollGestureEnabledChanged"; revision: 5 } - Signal { - name: "positionChanged" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "mouseXChanged" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "mouseYChanged" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "pressed" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "pressAndHold" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "released" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "clicked" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "doubleClicked" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "wheel" - Parameter { name: "wheel"; type: "QQuickWheelEvent"; isPointer: true } - } - Signal { name: "entered" } - Signal { name: "exited" } - Signal { name: "canceled" } - Signal { name: "containsPressChanged"; revision: 4 } - Signal { name: "pressAndHoldIntervalChanged"; revision: 9 } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickMouseEvent" - Property { name: "x"; type: "double"; isReadonly: true } - Property { name: "y"; type: "double"; isReadonly: true } - Property { name: "button"; type: "int"; isReadonly: true } - Property { name: "buttons"; type: "int"; isReadonly: true } - Property { name: "modifiers"; type: "int"; isReadonly: true } - Property { name: "source"; revision: 7; type: "int"; isReadonly: true } - Property { name: "wasHeld"; type: "bool"; isReadonly: true } - Property { name: "isClick"; type: "bool"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - Property { name: "flags"; revision: 11; type: "int"; isReadonly: true } - } - Component { - file: "private/qquickpointerhandler_p.h" - name: "QQuickMultiPointHandler" - prototype: "QQuickPointerDeviceHandler" - Property { name: "minimumPointCount"; type: "int" } - Property { name: "maximumPointCount"; type: "int" } - Property { name: "centroid"; type: "QQuickHandlerPoint"; isReadonly: true } - } - Component { - file: "private/qquickmultipointtoucharea_p.h" - name: "QQuickMultiPointTouchArea" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/MultiPointTouchArea 2.0", - "QtQuick/MultiPointTouchArea 2.1", - "QtQuick/MultiPointTouchArea 2.11", - "QtQuick/MultiPointTouchArea 2.4", - "QtQuick/MultiPointTouchArea 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Property { name: "touchPoints"; type: "QQuickTouchPoint"; isList: true; isReadonly: true } - Property { name: "minimumTouchPoints"; type: "int" } - Property { name: "maximumTouchPoints"; type: "int" } - Property { name: "mouseEnabled"; type: "bool" } - Signal { - name: "pressed" - Parameter { name: "touchPoints"; type: "QList" } - } - Signal { - name: "updated" - Parameter { name: "touchPoints"; type: "QList" } - } - Signal { - name: "released" - Parameter { name: "touchPoints"; type: "QList" } - } - Signal { - name: "canceled" - Parameter { name: "touchPoints"; type: "QList" } - } - Signal { - name: "gestureStarted" - Parameter { name: "gesture"; type: "QQuickGrabGestureEvent"; isPointer: true } - } - Signal { - name: "touchUpdated" - Parameter { name: "touchPoints"; type: "QList" } - } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickNumberAnimation" - prototype: "QQuickPropertyAnimation" - exports: [ - "QtQuick/NumberAnimation 2.0", - "QtQuick/NumberAnimation 2.12" - ] - exportMetaObjectRevisions: [0, 12] - Property { name: "from"; type: "double" } - Property { name: "to"; type: "double" } - } - Component { - file: "private/qquickanimator_p.h" - name: "QQuickOpacityAnimator" - prototype: "QQuickAnimator" - exports: [ - "QtQuick/OpacityAnimator 2.12", - "QtQuick/OpacityAnimator 2.2" - ] - exportMetaObjectRevisions: [12, 2] - } - Component { - file: "private/qquickopenglinfo_p.h" - name: "QQuickOpenGLInfo" - exports: ["QtQuick/OpenGLInfo 2.4"] - isCreatable: false - exportMetaObjectRevisions: [4] - attachedType: "QQuickOpenGLInfo" - Enum { - name: "ContextProfile" - values: ["NoProfile", "CoreProfile", "CompatibilityProfile"] - } - Enum { - name: "RenderableType" - values: ["Unspecified", "OpenGL", "OpenGLES"] - } - Property { name: "majorVersion"; type: "int"; isReadonly: true } - Property { name: "minorVersion"; type: "int"; isReadonly: true } - Property { name: "profile"; type: "ContextProfile"; isReadonly: true } - Property { name: "renderableType"; type: "RenderableType"; isReadonly: true } - Method { name: "updateFormat" } - Method { - name: "setWindow" - Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } - } - } - Component { - file: "qquickpainteditem.h" - name: "QQuickPaintedItem" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/PaintedItem 2.0", - "QtQuick/PaintedItem 2.1", - "QtQuick/PaintedItem 2.11", - "QtQuick/PaintedItem 2.4", - "QtQuick/PaintedItem 2.7" - ] - isCreatable: false - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Enum { - name: "RenderTarget" - values: [ - "Image", - "FramebufferObject", - "InvertedYFramebufferObject" - ] - } - Enum { - name: "PerformanceHints" - alias: "PerformanceHint" - isFlag: true - values: ["FastFBOResizing"] - } - Property { name: "contentsSize"; type: "QSize" } - Property { name: "fillColor"; type: "QColor" } - Property { name: "contentsScale"; type: "double" } - Property { name: "renderTarget"; type: "RenderTarget" } - Property { name: "textureSize"; type: "QSize" } - Method { name: "invalidateSceneGraph" } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickParallelAnimation" - defaultProperty: "animations" - prototype: "QQuickAnimationGroup" - exports: [ - "QtQuick/ParallelAnimation 2.0", - "QtQuick/ParallelAnimation 2.12" - ] - exportMetaObjectRevisions: [0, 12] - } - Component { - file: "private/qquickitemanimation_p.h" - name: "QQuickParentAnimation" - defaultProperty: "animations" - prototype: "QQuickAnimationGroup" - exports: [ - "QtQuick/ParentAnimation 2.0", - "QtQuick/ParentAnimation 2.12" - ] - exportMetaObjectRevisions: [0, 12] - Property { name: "target"; type: "QQuickItem"; isPointer: true } - Property { name: "newParent"; type: "QQuickItem"; isPointer: true } - Property { name: "via"; type: "QQuickItem"; isPointer: true } - } - Component { - file: "private/qquickstateoperations_p.h" - name: "QQuickParentChange" - prototype: "QQuickStateOperation" - exports: ["QtQuick/ParentChange 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "target"; type: "QQuickItem"; isPointer: true } - Property { name: "parent"; type: "QQuickItem"; isPointer: true } - Property { name: "x"; type: "QQmlScriptString" } - Property { name: "y"; type: "QQmlScriptString" } - Property { name: "width"; type: "QQmlScriptString" } - Property { name: "height"; type: "QQmlScriptString" } - Property { name: "scale"; type: "QQmlScriptString" } - Property { name: "rotation"; type: "QQmlScriptString" } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPath" - defaultProperty: "pathElements" - exports: ["QtQuick/Path 2.0", "QtQuick/Path 2.14"] - exportMetaObjectRevisions: [0, 14] - Property { name: "pathElements"; type: "QQuickPathElement"; isList: true; isReadonly: true } - Property { name: "startX"; type: "double" } - Property { name: "startY"; type: "double" } - Property { name: "closed"; type: "bool"; isReadonly: true } - Property { name: "scale"; revision: 14; type: "QSizeF" } - Signal { name: "changed" } - Signal { name: "scaleChanged"; revision: 14 } - Method { name: "processPath" } - Method { - name: "pointAtPercent" - revision: 14 - type: "QPointF" - Parameter { name: "t"; type: "double" } - } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathAngleArc" - prototype: "QQuickCurve" - exports: ["QtQuick/PathAngleArc 2.11"] - exportMetaObjectRevisions: [11] - Property { name: "centerX"; type: "double" } - Property { name: "centerY"; type: "double" } - Property { name: "radiusX"; type: "double" } - Property { name: "radiusY"; type: "double" } - Property { name: "startAngle"; type: "double" } - Property { name: "sweepAngle"; type: "double" } - Property { name: "moveToStart"; type: "bool" } - } - Component { - file: "private/qquickitemanimation_p.h" - name: "QQuickPathAnimation" - prototype: "QQuickAbstractAnimation" - exports: ["QtQuick/PathAnimation 2.0", "QtQuick/PathAnimation 2.12"] - exportMetaObjectRevisions: [0, 12] - Enum { - name: "Orientation" - values: [ - "Fixed", - "RightFirst", - "LeftFirst", - "BottomFirst", - "TopFirst" - ] - } - Property { name: "duration"; type: "int" } - Property { name: "easing"; type: "QEasingCurve" } - Property { name: "path"; type: "QQuickPath"; isPointer: true } - Property { name: "target"; type: "QQuickItem"; isPointer: true } - Property { name: "orientation"; type: "Orientation" } - Property { name: "anchorPoint"; type: "QPointF" } - Property { name: "orientationEntryDuration"; type: "int" } - Property { name: "orientationExitDuration"; type: "int" } - Property { name: "endRotation"; type: "double" } - Signal { - name: "durationChanged" - Parameter { type: "int" } - } - Signal { - name: "easingChanged" - Parameter { type: "QEasingCurve" } - } - Signal { - name: "orientationChanged" - Parameter { type: "Orientation" } - } - Signal { - name: "anchorPointChanged" - Parameter { type: "QPointF" } - } - Signal { - name: "orientationEntryDurationChanged" - Parameter { type: "double" } - } - Signal { - name: "orientationExitDurationChanged" - Parameter { type: "double" } - } - Signal { - name: "endRotationChanged" - Parameter { type: "double" } - } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathArc" - prototype: "QQuickCurve" - exports: ["QtQuick/PathArc 2.0", "QtQuick/PathArc 2.9"] - exportMetaObjectRevisions: [0, 9] - Enum { - name: "ArcDirection" - values: ["Clockwise", "Counterclockwise"] - } - Property { name: "radiusX"; type: "double" } - Property { name: "radiusY"; type: "double" } - Property { name: "useLargeArc"; type: "bool" } - Property { name: "direction"; type: "ArcDirection" } - Property { name: "xAxisRotation"; revision: 9; type: "double" } - Signal { name: "xAxisRotationChanged"; revision: 9 } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathAttribute" - prototype: "QQuickPathElement" - exports: ["QtQuick/PathAttribute 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "name"; type: "string" } - Property { name: "value"; type: "double" } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathCatmullRomCurve" - prototype: "QQuickCurve" - exports: ["QtQuick/PathCurve 2.0"] - exportMetaObjectRevisions: [0] - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathCubic" - prototype: "QQuickCurve" - exports: ["QtQuick/PathCubic 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "control1X"; type: "double" } - Property { name: "control1Y"; type: "double" } - Property { name: "control2X"; type: "double" } - Property { name: "control2Y"; type: "double" } - Property { name: "relativeControl1X"; type: "double" } - Property { name: "relativeControl1Y"; type: "double" } - Property { name: "relativeControl2X"; type: "double" } - Property { name: "relativeControl2Y"; type: "double" } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathElement" - Signal { name: "changed" } - } - Component { - file: "private/qquickpathinterpolator_p.h" - name: "QQuickPathInterpolator" - exports: ["QtQuick/PathInterpolator 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "path"; type: "QQuickPath"; isPointer: true } - Property { name: "progress"; type: "double" } - Property { name: "x"; type: "double"; isReadonly: true } - Property { name: "y"; type: "double"; isReadonly: true } - Property { name: "angle"; type: "double"; isReadonly: true } - Method { name: "_q_pathUpdated" } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathLine" - prototype: "QQuickCurve" - exports: ["QtQuick/PathLine 2.0"] - exportMetaObjectRevisions: [0] - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathMove" - prototype: "QQuickCurve" - exports: ["QtQuick/PathMove 2.9"] - exportMetaObjectRevisions: [9] - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathMultiline" - prototype: "QQuickCurve" - exports: ["QtQuick/PathMultiline 2.14"] - exportMetaObjectRevisions: [14] - Property { name: "start"; type: "QPointF"; isReadonly: true } - Property { name: "paths"; type: "QVariant" } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathPercent" - prototype: "QQuickPathElement" - exports: ["QtQuick/PathPercent 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "value"; type: "double" } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathPolyline" - prototype: "QQuickCurve" - exports: ["QtQuick/PathPolyline 2.14"] - exportMetaObjectRevisions: [14] - Property { name: "start"; type: "QPointF"; isReadonly: true } - Property { name: "path"; type: "QVariant" } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathQuad" - prototype: "QQuickCurve" - exports: ["QtQuick/PathQuad 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "controlX"; type: "double" } - Property { name: "controlY"; type: "double" } - Property { name: "relativeControlX"; type: "double" } - Property { name: "relativeControlY"; type: "double" } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathSvg" - prototype: "QQuickCurve" - exports: ["QtQuick/PathSvg 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "path"; type: "string" } - } - Component { - file: "private/qquickpath_p.h" - name: "QQuickPathText" - prototype: "QQuickPathElement" - exports: ["QtQuick/PathText 2.15"] - exportMetaObjectRevisions: [15] - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - Property { name: "width"; type: "double"; isReadonly: true } - Property { name: "height"; type: "double"; isReadonly: true } - Property { name: "text"; type: "string" } - Property { name: "font"; type: "QFont" } - Method { name: "invalidate" } - } - Component { - file: "private/qquickpathview_p.h" - name: "QQuickPathView" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/PathView 2.0", - "QtQuick/PathView 2.1", - "QtQuick/PathView 2.11", - "QtQuick/PathView 2.13", - "QtQuick/PathView 2.4", - "QtQuick/PathView 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 13, 4, 7] - attachedType: "QQuickPathViewAttached" - Enum { - name: "HighlightRangeMode" - values: ["NoHighlightRange", "ApplyRange", "StrictlyEnforceRange"] - } - Enum { - name: "SnapMode" - values: ["NoSnap", "SnapToItem", "SnapOneItem"] - } - Enum { - name: "MovementDirection" - values: ["Shortest", "Negative", "Positive"] - } - Enum { - name: "PositionMode" - values: ["Beginning", "Center", "End", "Contain", "SnapPosition"] - } - Property { name: "model"; type: "QVariant" } - Property { name: "path"; type: "QQuickPath"; isPointer: true } - Property { name: "currentIndex"; type: "int" } - Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "offset"; type: "double" } - Property { name: "highlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "highlightItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "preferredHighlightBegin"; type: "double" } - Property { name: "preferredHighlightEnd"; type: "double" } - Property { name: "highlightRangeMode"; type: "HighlightRangeMode" } - Property { name: "highlightMoveDuration"; type: "int" } - Property { name: "dragMargin"; type: "double" } - Property { name: "maximumFlickVelocity"; type: "double" } - Property { name: "flickDeceleration"; type: "double" } - Property { name: "interactive"; type: "bool" } - Property { name: "moving"; type: "bool"; isReadonly: true } - Property { name: "flicking"; type: "bool"; isReadonly: true } - Property { name: "dragging"; type: "bool"; isReadonly: true } - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "pathItemCount"; type: "int" } - Property { name: "snapMode"; type: "SnapMode" } - Property { name: "movementDirection"; revision: 7; type: "MovementDirection" } - Property { name: "cacheItemCount"; type: "int" } - Signal { name: "snapPositionChanged" } - Signal { name: "movementStarted" } - Signal { name: "movementEnded" } - Signal { name: "movementDirectionChanged"; revision: 7 } - Signal { name: "flickStarted" } - Signal { name: "flickEnded" } - Signal { name: "dragStarted" } - Signal { name: "dragEnded" } - Method { name: "incrementCurrentIndex" } - Method { name: "decrementCurrentIndex" } - Method { name: "refill" } - Method { name: "ticked" } - Method { name: "movementEnding" } - Method { - name: "modelUpdated" - Parameter { name: "changeSet"; type: "QQmlChangeSet" } - Parameter { name: "reset"; type: "bool" } - } - Method { - name: "createdItem" - Parameter { name: "index"; type: "int" } - Parameter { name: "item"; type: "QObject"; isPointer: true } - } - Method { - name: "initItem" - Parameter { name: "index"; type: "int" } - Parameter { name: "item"; type: "QObject"; isPointer: true } - } - Method { - name: "destroyingItem" - Parameter { name: "item"; type: "QObject"; isPointer: true } - } - Method { name: "pathUpdated" } - Method { - name: "positionViewAtIndex" - Parameter { name: "index"; type: "int" } - Parameter { name: "mode"; type: "int" } - } - Method { - name: "indexAt" - type: "int" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { - name: "itemAt" - type: "QQuickItem*" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { - name: "itemAtIndex" - revision: 13 - type: "QQuickItem*" - Parameter { name: "index"; type: "int" } - } - } - Component { - name: "QQuickPathViewAttached" - Property { name: "view"; type: "QQuickPathView"; isReadonly: true; isPointer: true } - Property { name: "isCurrentItem"; type: "bool"; isReadonly: true } - Property { name: "onPath"; type: "bool"; isReadonly: true } - Signal { name: "currentItemChanged" } - Signal { name: "pathChanged" } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickPauseAnimation" - prototype: "QQuickAbstractAnimation" - exports: ["QtQuick/PauseAnimation 2.0", "QtQuick/PauseAnimation 2.12"] - exportMetaObjectRevisions: [0, 12] - Property { name: "duration"; type: "int" } - Signal { - name: "durationChanged" - Parameter { type: "int" } - } - } - Component { - file: "private/qquickrectangle_p.h" - name: "QQuickPen" - Property { name: "width"; type: "double" } - Property { name: "color"; type: "QColor" } - Property { name: "pixelAligned"; type: "bool" } - Signal { name: "penChanged" } - } - Component { - file: "private/qquickpincharea_p.h" - name: "QQuickPinch" - exports: ["QtQuick/Pinch 2.0"] - exportMetaObjectRevisions: [0] - Enum { - name: "Axis" - values: ["NoDrag", "XAxis", "YAxis", "XAndYAxis", "XandYAxis"] - } - Property { name: "target"; type: "QQuickItem"; isPointer: true } - Property { name: "minimumScale"; type: "double" } - Property { name: "maximumScale"; type: "double" } - Property { name: "minimumRotation"; type: "double" } - Property { name: "maximumRotation"; type: "double" } - Property { name: "dragAxis"; type: "Axis" } - Property { name: "minimumX"; type: "double" } - Property { name: "maximumX"; type: "double" } - Property { name: "minimumY"; type: "double" } - Property { name: "maximumY"; type: "double" } - Property { name: "active"; type: "bool"; isReadonly: true } - } - Component { - file: "private/qquickpincharea_p.h" - name: "QQuickPinchArea" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/PinchArea 2.0", - "QtQuick/PinchArea 2.1", - "QtQuick/PinchArea 2.11", - "QtQuick/PinchArea 2.4", - "QtQuick/PinchArea 2.5", - "QtQuick/PinchArea 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 5, 7] - Property { name: "enabled"; type: "bool" } - Property { name: "pinch"; type: "QQuickPinch"; isReadonly: true; isPointer: true } - Signal { - name: "pinchStarted" - Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } - } - Signal { - name: "pinchUpdated" - Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } - } - Signal { - name: "pinchFinished" - Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } - } - Signal { - name: "smartZoom" - revision: 5 - Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } - } - } - Component { - file: "private/qquickpincharea_p.h" - name: "QQuickPinchEvent" - Property { name: "center"; type: "QPointF"; isReadonly: true } - Property { name: "startCenter"; type: "QPointF"; isReadonly: true } - Property { name: "previousCenter"; type: "QPointF"; isReadonly: true } - Property { name: "scale"; type: "double"; isReadonly: true } - Property { name: "previousScale"; type: "double"; isReadonly: true } - Property { name: "angle"; type: "double"; isReadonly: true } - Property { name: "previousAngle"; type: "double"; isReadonly: true } - Property { name: "rotation"; type: "double"; isReadonly: true } - Property { name: "point1"; type: "QPointF"; isReadonly: true } - Property { name: "startPoint1"; type: "QPointF"; isReadonly: true } - Property { name: "point2"; type: "QPointF"; isReadonly: true } - Property { name: "startPoint2"; type: "QPointF"; isReadonly: true } - Property { name: "pointCount"; type: "int"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - } - Component { - file: "private/qquickpinchhandler_p.h" - name: "QQuickPinchHandler" - prototype: "QQuickMultiPointHandler" - exports: ["QtQuick/PinchHandler 2.12", "QtQuick/PinchHandler 2.15"] - exportMetaObjectRevisions: [12, 15] - Property { name: "minimumScale"; type: "double" } - Property { name: "maximumScale"; type: "double" } - Property { name: "minimumRotation"; type: "double" } - Property { name: "maximumRotation"; type: "double" } - Property { name: "scale"; type: "double"; isReadonly: true } - Property { name: "activeScale"; type: "double"; isReadonly: true } - Property { name: "rotation"; type: "double"; isReadonly: true } - Property { name: "translation"; type: "QVector2D"; isReadonly: true } - Property { name: "minimumX"; type: "double" } - Property { name: "maximumX"; type: "double" } - Property { name: "minimumY"; type: "double" } - Property { name: "maximumY"; type: "double" } - Property { name: "xAxis"; type: "QQuickDragAxis"; isReadonly: true; isPointer: true } - Property { name: "yAxis"; type: "QQuickDragAxis"; isReadonly: true; isPointer: true } - Signal { name: "updated" } - } - Component { - file: "private/qquickpointhandler_p.h" - name: "QQuickPointHandler" - prototype: "QQuickSinglePointHandler" - exports: ["QtQuick/PointHandler 2.12", "QtQuick/PointHandler 2.15"] - exportMetaObjectRevisions: [12, 15] - Property { name: "translation"; type: "QVector2D"; isReadonly: true } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickPointerDevice" - exports: ["QtQuick/PointerDevice 2.12"] - isCreatable: false - exportMetaObjectRevisions: [12] - Enum { - name: "DeviceTypes" - alias: "DeviceType" - isFlag: true - values: [ - "UnknownDevice", - "Mouse", - "TouchScreen", - "TouchPad", - "Puck", - "Stylus", - "Airbrush", - "AllDevices" - ] - } - Enum { - name: "PointerTypes" - alias: "PointerType" - isFlag: true - values: [ - "GenericPointer", - "Finger", - "Pen", - "Eraser", - "Cursor", - "AllPointerTypes" - ] - } - Enum { - name: "Capabilities" - alias: "CapabilityFlag" - isFlag: true - values: [ - "Position", - "Area", - "Pressure", - "Velocity", - "MouseEmulation", - "Scroll", - "Hover", - "Rotation", - "XTilt", - "YTilt" - ] - } - Property { name: "type"; type: "DeviceType"; isReadonly: true } - Property { name: "pointerType"; type: "PointerType"; isReadonly: true } - Property { name: "capabilities"; type: "Capabilities"; isReadonly: true } - Property { name: "maximumTouchPoints"; type: "int"; isReadonly: true } - Property { name: "buttonCount"; type: "int"; isReadonly: true } - Property { name: "name"; type: "string"; isReadonly: true } - Property { name: "uniqueId"; type: "QPointingDeviceUniqueId"; isReadonly: true } - } - Component { - file: "private/qquickpointerhandler_p.h" - name: "QQuickPointerDeviceHandler" - prototype: "QQuickPointerHandler" - Property { name: "acceptedDevices"; type: "QQuickPointerDevice::DeviceTypes" } - Property { name: "acceptedPointerTypes"; type: "QQuickPointerDevice::PointerTypes" } - Property { name: "acceptedButtons"; type: "Qt::MouseButtons" } - Property { name: "acceptedModifiers"; type: "Qt::KeyboardModifiers" } - Method { - name: "setAcceptedDevices" - Parameter { name: "acceptedDevices"; type: "QQuickPointerDevice::DeviceTypes" } - } - Method { - name: "setAcceptedPointerTypes" - Parameter { name: "acceptedPointerTypes"; type: "QQuickPointerDevice::PointerTypes" } - } - Method { - name: "setAcceptedButtons" - Parameter { name: "buttons"; type: "Qt::MouseButtons" } - } - Method { - name: "setAcceptedModifiers" - Parameter { name: "acceptedModifiers"; type: "Qt::KeyboardModifiers" } - } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickPointerEvent" - exports: ["QtQuick/PointerEvent 2.12"] - isCreatable: false - exportMetaObjectRevisions: [12] - Property { name: "device"; type: "QQuickPointerDevice"; isReadonly: true; isPointer: true } - Property { name: "modifiers"; type: "Qt::KeyboardModifiers"; isReadonly: true } - Property { name: "button"; type: "Qt::MouseButtons"; isReadonly: true } - Property { name: "buttons"; type: "Qt::MouseButtons"; isReadonly: true } - } - Component { - file: "private/qquickpointerhandler_p.h" - name: "QQuickPointerHandler" - exports: [ - "QtQuick/PointerHandler 2.12", - "QtQuick/PointerHandler 2.15" - ] - isCreatable: false - exportMetaObjectRevisions: [12, 15] - Enum { - name: "GrabPermissions" - alias: "GrabPermission" - isFlag: true - values: [ - "TakeOverForbidden", - "CanTakeOverFromHandlersOfSameType", - "CanTakeOverFromHandlersOfDifferentType", - "CanTakeOverFromItems", - "CanTakeOverFromAnything", - "ApprovesTakeOverByHandlersOfSameType", - "ApprovesTakeOverByHandlersOfDifferentType", - "ApprovesTakeOverByItems", - "ApprovesCancellation", - "ApprovesTakeOverByAnything" - ] - } - Property { name: "enabled"; type: "bool" } - Property { name: "active"; type: "bool"; isReadonly: true } - Property { name: "target"; type: "QQuickItem"; isPointer: true } - Property { name: "parent"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "grabPermissions"; type: "GrabPermissions" } - Property { name: "margin"; type: "double" } - Property { name: "dragThreshold"; revision: 15; type: "int" } - Property { name: "cursorShape"; revision: 15; type: "Qt::CursorShape" } - Signal { name: "dragThresholdChanged"; revision: 15 } - Signal { - name: "grabChanged" - Parameter { name: "transition"; type: "QQuickEventPoint::GrabTransition" } - Parameter { name: "point"; type: "QQuickEventPoint"; isPointer: true } - } - Signal { name: "grabPermissionChanged" } - Signal { - name: "canceled" - Parameter { name: "point"; type: "QQuickEventPoint"; isPointer: true } - } - Signal { name: "cursorShapeChanged"; revision: 15 } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickPointerMouseEvent" - prototype: "QQuickSinglePointEvent" - exports: ["QtQuick/PointerMouseEvent 2.12"] - isCreatable: false - exportMetaObjectRevisions: [12] - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickPointerScrollEvent" - prototype: "QQuickSinglePointEvent" - exports: ["QtQuick/PointerScrollEvent 2.14"] - isCreatable: false - exportMetaObjectRevisions: [14] - Property { name: "angleDelta"; type: "QVector2D"; isReadonly: true } - Property { name: "pixelDelta"; type: "QVector2D"; isReadonly: true } - Property { name: "hasAngleDelta"; type: "bool"; isReadonly: true } - Property { name: "hasPixelDelta"; type: "bool"; isReadonly: true } - Property { name: "inverted"; type: "bool"; isReadonly: true } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickPointerTouchEvent" - prototype: "QQuickPointerEvent" - exports: ["QtQuick/PointerTouchEvent 2.12"] - isCreatable: false - exportMetaObjectRevisions: [12] - } - Component { - name: "QQuickPositionerAttached" - Property { name: "index"; type: "int"; isReadonly: true } - Property { name: "isFirstItem"; type: "bool"; isReadonly: true } - Property { name: "isLastItem"; type: "bool"; isReadonly: true } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickPropertyAction" - prototype: "QQuickAbstractAnimation" - exports: ["QtQuick/PropertyAction 2.0", "QtQuick/PropertyAction 2.12"] - exportMetaObjectRevisions: [0, 12] - Property { name: "target"; type: "QObject"; isPointer: true } - Property { name: "property"; type: "string" } - Property { name: "properties"; type: "string" } - Property { name: "targets"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "exclude"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "value"; type: "QVariant" } - Signal { - name: "valueChanged" - Parameter { type: "QVariant" } - } - Signal { - name: "propertiesChanged" - Parameter { type: "string" } - } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickPropertyAnimation" - prototype: "QQuickAbstractAnimation" - exports: [ - "QtQuick/PropertyAnimation 2.0", - "QtQuick/PropertyAnimation 2.12" - ] - exportMetaObjectRevisions: [0, 12] - Property { name: "duration"; type: "int" } - Property { name: "from"; type: "QVariant" } - Property { name: "to"; type: "QVariant" } - Property { name: "easing"; type: "QEasingCurve" } - Property { name: "target"; type: "QObject"; isPointer: true } - Property { name: "property"; type: "string" } - Property { name: "properties"; type: "string" } - Property { name: "targets"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "exclude"; type: "QObject"; isList: true; isReadonly: true } - Signal { - name: "durationChanged" - Parameter { type: "int" } - } - Signal { - name: "easingChanged" - Parameter { type: "QEasingCurve" } - } - Signal { - name: "propertiesChanged" - Parameter { type: "string" } - } - } - Component { - file: "private/qquickpropertychanges_p.h" - name: "QQuickPropertyChanges" - prototype: "QQuickStateOperation" - exports: ["QtQuick/PropertyChanges 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "target"; type: "QObject"; isPointer: true } - Property { name: "restoreEntryValues"; type: "bool" } - Property { name: "explicit"; type: "bool" } - } - Component { - file: "private/qquickrectangle_p.h" - name: "QQuickRectangle" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/Rectangle 2.0", - "QtQuick/Rectangle 2.1", - "QtQuick/Rectangle 2.11", - "QtQuick/Rectangle 2.4", - "QtQuick/Rectangle 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Property { name: "color"; type: "QColor" } - Property { name: "gradient"; type: "QJSValue" } - Property { name: "border"; type: "QQuickPen"; isReadonly: true; isPointer: true } - Property { name: "radius"; type: "double" } - Method { name: "doUpdate" } - } - Component { - file: "private/qquickrepeater_p.h" - name: "QQuickRepeater" - defaultProperty: "delegate" - prototype: "QQuickItem" - exports: [ - "QtQuick/Repeater 2.0", - "QtQuick/Repeater 2.1", - "QtQuick/Repeater 2.11", - "QtQuick/Repeater 2.4", - "QtQuick/Repeater 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Property { name: "model"; type: "QVariant" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "count"; type: "int"; isReadonly: true } - Signal { - name: "itemAdded" - Parameter { name: "index"; type: "int" } - Parameter { name: "item"; type: "QQuickItem"; isPointer: true } - } - Signal { - name: "itemRemoved" - Parameter { name: "index"; type: "int" } - Parameter { name: "item"; type: "QQuickItem"; isPointer: true } - } - Method { - name: "createdItem" - Parameter { name: "index"; type: "int" } - Parameter { name: "item"; type: "QObject"; isPointer: true } - } - Method { - name: "initItem" - Parameter { type: "int" } - Parameter { name: "item"; type: "QObject"; isPointer: true } - } - Method { - name: "modelUpdated" - Parameter { name: "changeSet"; type: "QQmlChangeSet" } - Parameter { name: "reset"; type: "bool" } - } - Method { - name: "itemAt" - type: "QQuickItem*" - Parameter { name: "index"; type: "int" } - } - } - Component { - file: "private/qquicktranslate_p.h" - name: "QQuickRotation" - prototype: "QQuickTransform" - exports: ["QtQuick/Rotation 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "origin"; type: "QVector3D" } - Property { name: "angle"; type: "double" } - Property { name: "axis"; type: "QVector3D" } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickRotationAnimation" - prototype: "QQuickPropertyAnimation" - exports: [ - "QtQuick/RotationAnimation 2.0", - "QtQuick/RotationAnimation 2.12" - ] - exportMetaObjectRevisions: [0, 12] - Enum { - name: "RotationDirection" - values: ["Numerical", "Shortest", "Clockwise", "Counterclockwise"] - } - Property { name: "from"; type: "double" } - Property { name: "to"; type: "double" } - Property { name: "direction"; type: "RotationDirection" } - } - Component { - file: "private/qquickanimator_p.h" - name: "QQuickRotationAnimator" - prototype: "QQuickAnimator" - exports: [ - "QtQuick/RotationAnimator 2.12", - "QtQuick/RotationAnimator 2.2" - ] - exportMetaObjectRevisions: [12, 2] - Enum { - name: "RotationDirection" - values: ["Numerical", "Shortest", "Clockwise", "Counterclockwise"] - } - Property { name: "direction"; type: "RotationDirection" } - Signal { - name: "directionChanged" - Parameter { name: "dir"; type: "RotationDirection" } - } - } - Component { - file: "private/qquickpositioners_p.h" - name: "QQuickRow" - prototype: "QQuickBasePositioner" - exports: [ - "QtQuick/Row 2.0", - "QtQuick/Row 2.1", - "QtQuick/Row 2.11", - "QtQuick/Row 2.4", - "QtQuick/Row 2.6", - "QtQuick/Row 2.7", - "QtQuick/Row 2.9" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] - Property { name: "layoutDirection"; type: "Qt::LayoutDirection" } - Property { name: "effectiveLayoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } - } - Component { - file: "private/qquicktranslate_p.h" - name: "QQuickScale" - prototype: "QQuickTransform" - exports: ["QtQuick/Scale 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "origin"; type: "QVector3D" } - Property { name: "xScale"; type: "double" } - Property { name: "yScale"; type: "double" } - Property { name: "zScale"; type: "double" } - Signal { name: "scaleChanged" } - } - Component { - file: "private/qquickanimator_p.h" - name: "QQuickScaleAnimator" - prototype: "QQuickAnimator" - exports: ["QtQuick/ScaleAnimator 2.12", "QtQuick/ScaleAnimator 2.2"] - exportMetaObjectRevisions: [12, 2] - } - Component { - file: "private/qquickscalegrid_p_p.h" - name: "QQuickScaleGrid" - Property { name: "left"; type: "int" } - Property { name: "top"; type: "int" } - Property { name: "right"; type: "int" } - Property { name: "bottom"; type: "int" } - Signal { name: "borderChanged" } - Signal { name: "leftBorderChanged" } - Signal { name: "topBorderChanged" } - Signal { name: "rightBorderChanged" } - Signal { name: "bottomBorderChanged" } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickScriptAction" - prototype: "QQuickAbstractAnimation" - exports: ["QtQuick/ScriptAction 2.0", "QtQuick/ScriptAction 2.12"] - exportMetaObjectRevisions: [0, 12] - Property { name: "script"; type: "QQmlScriptString" } - Property { name: "scriptName"; type: "string" } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickSequentialAnimation" - defaultProperty: "animations" - prototype: "QQuickAnimationGroup" - exports: [ - "QtQuick/SequentialAnimation 2.0", - "QtQuick/SequentialAnimation 2.12" - ] - exportMetaObjectRevisions: [0, 12] - } - Component { - file: "private/qquickshadereffect_p.h" - name: "QQuickShaderEffect" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/ShaderEffect 2.0", - "QtQuick/ShaderEffect 2.1", - "QtQuick/ShaderEffect 2.11", - "QtQuick/ShaderEffect 2.4", - "QtQuick/ShaderEffect 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Enum { - name: "CullMode" - values: ["NoCulling", "BackFaceCulling", "FrontFaceCulling"] - } - Enum { - name: "Status" - values: ["Compiled", "Uncompiled", "Error"] - } - Property { name: "fragmentShader"; type: "QByteArray" } - Property { name: "vertexShader"; type: "QByteArray" } - Property { name: "blending"; type: "bool" } - Property { name: "mesh"; type: "QVariant" } - Property { name: "cullMode"; type: "CullMode" } - Property { name: "log"; type: "string"; isReadonly: true } - Property { name: "status"; type: "Status"; isReadonly: true } - Property { name: "supportsAtlasTextures"; revision: 4; type: "bool" } - } - Component { - file: "private/qquickshadereffectmesh_p.h" - name: "QQuickShaderEffectMesh" - exports: ["QtQuick/ShaderEffectMesh 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Signal { name: "geometryChanged" } - } - Component { - file: "private/qquickshadereffectsource_p.h" - name: "QQuickShaderEffectSource" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick/ShaderEffectSource 2.0", - "QtQuick/ShaderEffectSource 2.1", - "QtQuick/ShaderEffectSource 2.11", - "QtQuick/ShaderEffectSource 2.4", - "QtQuick/ShaderEffectSource 2.6", - "QtQuick/ShaderEffectSource 2.7", - "QtQuick/ShaderEffectSource 2.9" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 6, 7, 9] - Enum { - name: "WrapMode" - values: [ - "ClampToEdge", - "RepeatHorizontally", - "RepeatVertically", - "Repeat" - ] - } - Enum { - name: "Format" - values: ["Alpha", "RGB", "RGBA"] - } - Enum { - name: "TextureMirroring" - values: ["NoMirroring", "MirrorHorizontally", "MirrorVertically"] - } - Property { name: "wrapMode"; type: "WrapMode" } - Property { name: "sourceItem"; type: "QQuickItem"; isPointer: true } - Property { name: "sourceRect"; type: "QRectF" } - Property { name: "textureSize"; type: "QSize" } - Property { name: "format"; type: "Format" } - Property { name: "live"; type: "bool" } - Property { name: "hideSource"; type: "bool" } - Property { name: "mipmap"; type: "bool" } - Property { name: "recursive"; type: "bool" } - Property { name: "textureMirroring"; revision: 6; type: "TextureMirroring" } - Property { name: "samples"; revision: 9; type: "int" } - Signal { name: "scheduledUpdateCompleted" } - Method { - name: "sourceItemDestroyed" - Parameter { name: "item"; type: "QObject"; isPointer: true } - } - Method { name: "invalidateSceneGraph" } - Method { name: "scheduleUpdate" } - } - Component { - file: "private/qquickshortcut_p.h" - name: "QQuickShortcut" - exports: [ - "QtQuick/Shortcut 2.5", - "QtQuick/Shortcut 2.6", - "QtQuick/Shortcut 2.9" - ] - exportMetaObjectRevisions: [5, 6, 9] - Property { name: "sequence"; type: "QVariant" } - Property { name: "sequences"; revision: 9; type: "QVariantList" } - Property { name: "nativeText"; revision: 6; type: "string"; isReadonly: true } - Property { name: "portableText"; revision: 6; type: "string"; isReadonly: true } - Property { name: "enabled"; type: "bool" } - Property { name: "autoRepeat"; type: "bool" } - Property { name: "context"; type: "Qt::ShortcutContext" } - Signal { name: "sequencesChanged"; revision: 9 } - Signal { name: "activated" } - Signal { name: "activatedAmbiguously" } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickSinglePointEvent" - prototype: "QQuickPointerEvent" - } - Component { - file: "private/qquickpointerhandler_p.h" - name: "QQuickSinglePointHandler" - prototype: "QQuickPointerDeviceHandler" - Property { name: "point"; type: "QQuickHandlerPoint"; isReadonly: true } - } - Component { - file: "private/qquicksmoothedanimation_p.h" - name: "QQuickSmoothedAnimation" - prototype: "QQuickNumberAnimation" - exports: [ - "QtQuick/SmoothedAnimation 2.0", - "QtQuick/SmoothedAnimation 2.12" - ] - exportMetaObjectRevisions: [0, 12] - Enum { - name: "ReversingMode" - values: ["Eased", "Immediate", "Sync"] - } - Property { name: "velocity"; type: "double" } - Property { name: "reversingMode"; type: "ReversingMode" } - Property { name: "maximumEasingTime"; type: "double" } - } - Component { - file: "private/qquickspringanimation_p.h" - name: "QQuickSpringAnimation" - prototype: "QQuickNumberAnimation" - exports: [ - "QtQuick/SpringAnimation 2.0", - "QtQuick/SpringAnimation 2.12" - ] - exportMetaObjectRevisions: [0, 12] - Property { name: "velocity"; type: "double" } - Property { name: "spring"; type: "double" } - Property { name: "damping"; type: "double" } - Property { name: "epsilon"; type: "double" } - Property { name: "modulus"; type: "double" } - Property { name: "mass"; type: "double" } - Signal { name: "syncChanged" } - } - Component { - file: "private/qquicksprite_p.h" - name: "QQuickSprite" - prototype: "QQuickStochasticState" - exports: ["QtQuick/Sprite 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "source"; type: "QUrl" } - Property { name: "reverse"; type: "bool" } - Property { name: "frameSync"; type: "bool" } - Property { name: "frames"; type: "int" } - Property { name: "frameCount"; type: "int" } - Property { name: "frameHeight"; type: "int" } - Property { name: "frameWidth"; type: "int" } - Property { name: "frameX"; type: "int" } - Property { name: "frameY"; type: "int" } - Property { name: "frameRate"; type: "double" } - Property { name: "frameRateVariation"; type: "double" } - Property { name: "frameDuration"; type: "int" } - Property { name: "frameDurationVariation"; type: "int" } - Signal { - name: "sourceChanged" - Parameter { name: "arg"; type: "QUrl" } - } - Signal { - name: "frameHeightChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameWidthChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "reverseChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "frameCountChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameXChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameYChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameRateChanged" - Parameter { name: "arg"; type: "double" } - } - Signal { - name: "frameRateVariationChanged" - Parameter { name: "arg"; type: "double" } - } - Signal { - name: "frameDurationChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameDurationVariationChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "frameSyncChanged" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setSource" - Parameter { name: "arg"; type: "QUrl" } - } - Method { - name: "setFrameHeight" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameWidth" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setReverse" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setFrames" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameCount" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameX" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameY" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameRate" - Parameter { name: "arg"; type: "double" } - } - Method { - name: "setFrameRateVariation" - Parameter { name: "arg"; type: "double" } - } - Method { - name: "setFrameDuration" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameDurationVariation" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setFrameSync" - Parameter { name: "arg"; type: "bool" } - } - Method { name: "startImageLoading" } - } - Component { - file: "private/qquickspritesequence_p.h" - name: "QQuickSpriteSequence" - defaultProperty: "sprites" - prototype: "QQuickItem" - exports: [ - "QtQuick/SpriteSequence 2.0", - "QtQuick/SpriteSequence 2.1", - "QtQuick/SpriteSequence 2.11", - "QtQuick/SpriteSequence 2.4", - "QtQuick/SpriteSequence 2.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Property { name: "running"; type: "bool" } - Property { name: "interpolate"; type: "bool" } - Property { name: "goalSprite"; type: "string" } - Property { name: "currentSprite"; type: "string"; isReadonly: true } - Property { name: "sprites"; type: "QQuickSprite"; isList: true; isReadonly: true } - Signal { - name: "runningChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "interpolateChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "goalSpriteChanged" - Parameter { name: "arg"; type: "string" } - } - Signal { - name: "currentSpriteChanged" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "jumpTo" - Parameter { name: "sprite"; type: "string" } - } - Method { - name: "setGoalSprite" - Parameter { name: "sprite"; type: "string" } - } - Method { - name: "setRunning" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setInterpolate" - Parameter { name: "arg"; type: "bool" } - } - Method { name: "createEngine" } - } - Component { - file: "private/qquickstate_p.h" - name: "QQuickState" - defaultProperty: "changes" - exports: ["QtQuick/State 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "name"; type: "string" } - Property { name: "when"; type: "bool" } - Property { name: "extend"; type: "string" } - Property { name: "changes"; type: "QQuickStateOperation"; isList: true; isReadonly: true } - Signal { name: "completed" } - } - Component { - file: "private/qquickstatechangescript_p.h" - name: "QQuickStateChangeScript" - prototype: "QQuickStateOperation" - exports: ["QtQuick/StateChangeScript 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "script"; type: "QQmlScriptString" } - Property { name: "name"; type: "string" } - } - Component { - file: "private/qquickstategroup_p.h" - name: "QQuickStateGroup" - exports: ["QtQuick/StateGroup 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "state"; type: "string" } - Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } - Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } - Signal { - name: "stateChanged" - Parameter { type: "string" } - } - } - Component { file: "private/qquickstate_p.h"; name: "QQuickStateOperation" } - Component { - name: "QQuickStochasticState" - Property { name: "duration"; type: "int" } - Property { name: "durationVariation"; type: "int" } - Property { name: "randomStart"; type: "bool" } - Property { name: "to"; type: "QVariantMap" } - Property { name: "name"; type: "string" } - Signal { - name: "durationChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "nameChanged" - Parameter { name: "arg"; type: "string" } - } - Signal { - name: "toChanged" - Parameter { name: "arg"; type: "QVariantMap" } - } - Signal { - name: "durationVariationChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { name: "entered" } - Signal { - name: "randomStartChanged" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setDuration" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setName" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setTo" - Parameter { name: "arg"; type: "QVariantMap" } - } - Method { - name: "setDurationVariation" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setRandomStart" - Parameter { name: "arg"; type: "bool" } - } - } - Component { - file: "private/qquicksystempalette_p.h" - name: "QQuickSystemPalette" - exports: ["QtQuick/SystemPalette 2.0"] - exportMetaObjectRevisions: [0] - Enum { - name: "ColorGroup" - values: ["Active", "Inactive", "Disabled"] - } - Property { name: "colorGroup"; type: "QQuickSystemPalette::ColorGroup" } - Property { name: "window"; type: "QColor"; isReadonly: true } - Property { name: "windowText"; type: "QColor"; isReadonly: true } - Property { name: "base"; type: "QColor"; isReadonly: true } - Property { name: "text"; type: "QColor"; isReadonly: true } - Property { name: "alternateBase"; type: "QColor"; isReadonly: true } - Property { name: "button"; type: "QColor"; isReadonly: true } - Property { name: "buttonText"; type: "QColor"; isReadonly: true } - Property { name: "light"; type: "QColor"; isReadonly: true } - Property { name: "midlight"; type: "QColor"; isReadonly: true } - Property { name: "dark"; type: "QColor"; isReadonly: true } - Property { name: "mid"; type: "QColor"; isReadonly: true } - Property { name: "shadow"; type: "QColor"; isReadonly: true } - Property { name: "highlight"; type: "QColor"; isReadonly: true } - Property { name: "highlightedText"; type: "QColor"; isReadonly: true } - Signal { name: "paletteChanged" } - } - Component { - file: "private/qquicktableview_p.h" - name: "QQuickTableView" - defaultProperty: "flickableData" - prototype: "QQuickFlickable" - exports: ["QtQuick/TableView 2.12", "QtQuick/TableView 2.14"] - exportMetaObjectRevisions: [12, 14] - attachedType: "QQuickTableViewAttached" - Property { name: "rows"; type: "int"; isReadonly: true } - Property { name: "columns"; type: "int"; isReadonly: true } - Property { name: "rowSpacing"; type: "double" } - Property { name: "columnSpacing"; type: "double" } - Property { name: "rowHeightProvider"; type: "QJSValue" } - Property { name: "columnWidthProvider"; type: "QJSValue" } - Property { name: "model"; type: "QVariant" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "reuseItems"; type: "bool" } - Property { name: "contentWidth"; type: "double" } - Property { name: "contentHeight"; type: "double" } - Property { name: "syncView"; revision: 14; type: "QQuickTableView"; isPointer: true } - Property { name: "syncDirection"; revision: 14; type: "Qt::Orientations" } - Signal { name: "syncViewChanged"; revision: 14 } - Signal { name: "syncDirectionChanged"; revision: 14 } - Method { name: "_q_componentFinalized" } - Method { name: "forceLayout" } - } - Component { - name: "QQuickTableViewAttached" - Property { name: "view"; type: "QQuickTableView"; isReadonly: true; isPointer: true } - Signal { name: "pooled" } - Signal { name: "reused" } - } - Component { - file: "private/qquicktaphandler_p.h" - name: "QQuickTapHandler" - prototype: "QQuickSinglePointHandler" - exports: ["QtQuick/TapHandler 2.12", "QtQuick/TapHandler 2.15"] - exportMetaObjectRevisions: [12, 15] - Enum { - name: "GesturePolicy" - values: ["DragThreshold", "WithinBounds", "ReleaseWithinBounds"] - } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "tapCount"; type: "int"; isReadonly: true } - Property { name: "timeHeld"; type: "double"; isReadonly: true } - Property { name: "longPressThreshold"; type: "double" } - Property { name: "gesturePolicy"; type: "GesturePolicy" } - Signal { - name: "tapped" - Parameter { name: "eventPoint"; type: "QQuickEventPoint"; isPointer: true } - } - Signal { - name: "singleTapped" - Parameter { name: "eventPoint"; type: "QQuickEventPoint"; isPointer: true } - } - Signal { - name: "doubleTapped" - Parameter { name: "eventPoint"; type: "QQuickEventPoint"; isPointer: true } - } - Signal { name: "longPressed" } - } - Component { - file: "private/qquicktext_p.h" - name: "QQuickText" - prototype: "QQuickImplicitSizeItem" - exports: [ - "QtQuick/Text 2.0", - "QtQuick/Text 2.1", - "QtQuick/Text 2.10", - "QtQuick/Text 2.11", - "QtQuick/Text 2.2", - "QtQuick/Text 2.3", - "QtQuick/Text 2.4", - "QtQuick/Text 2.6", - "QtQuick/Text 2.7", - "QtQuick/Text 2.9" - ] - exportMetaObjectRevisions: [0, 1, 10, 11, 2, 3, 4, 6, 7, 9] - Enum { - name: "HAlignment" - values: [ - "AlignLeft", - "AlignRight", - "AlignHCenter", - "AlignJustify" - ] - } - Enum { - name: "VAlignment" - values: ["AlignTop", "AlignBottom", "AlignVCenter"] - } - Enum { - name: "TextStyle" - values: ["Normal", "Outline", "Raised", "Sunken"] - } - Enum { - name: "TextFormat" - values: [ - "PlainText", - "RichText", - "MarkdownText", - "AutoText", - "StyledText" - ] - } - Enum { - name: "TextElideMode" - values: ["ElideLeft", "ElideRight", "ElideMiddle", "ElideNone"] - } - Enum { - name: "WrapMode" - values: [ - "NoWrap", - "WordWrap", - "WrapAnywhere", - "WrapAtWordBoundaryOrAnywhere", - "Wrap" - ] - } - Enum { - name: "RenderType" - values: ["QtRendering", "NativeRendering"] - } - Enum { - name: "LineHeightMode" - values: ["ProportionalHeight", "FixedHeight"] - } - Enum { - name: "FontSizeMode" - values: ["FixedSize", "HorizontalFit", "VerticalFit", "Fit"] - } - Property { name: "text"; type: "string" } - Property { name: "font"; type: "QFont" } - Property { name: "color"; type: "QColor" } - Property { name: "linkColor"; type: "QColor" } - Property { name: "style"; type: "TextStyle" } - Property { name: "styleColor"; type: "QColor" } - Property { name: "horizontalAlignment"; type: "HAlignment" } - Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } - Property { name: "verticalAlignment"; type: "VAlignment" } - Property { name: "wrapMode"; type: "WrapMode" } - Property { name: "lineCount"; type: "int"; isReadonly: true } - Property { name: "truncated"; type: "bool"; isReadonly: true } - Property { name: "maximumLineCount"; type: "int" } - Property { name: "textFormat"; type: "TextFormat" } - Property { name: "elide"; type: "TextElideMode" } - Property { name: "contentWidth"; type: "double"; isReadonly: true } - Property { name: "contentHeight"; type: "double"; isReadonly: true } - Property { name: "paintedWidth"; type: "double"; isReadonly: true } - Property { name: "paintedHeight"; type: "double"; isReadonly: true } - Property { name: "lineHeight"; type: "double" } - Property { name: "lineHeightMode"; type: "LineHeightMode" } - Property { name: "baseUrl"; type: "QUrl" } - Property { name: "minimumPixelSize"; type: "int" } - Property { name: "minimumPointSize"; type: "int" } - Property { name: "fontSizeMode"; type: "FontSizeMode" } - Property { name: "renderType"; type: "RenderType" } - Property { name: "hoveredLink"; revision: 2; type: "string"; isReadonly: true } - Property { name: "padding"; revision: 6; type: "double" } - Property { name: "topPadding"; revision: 6; type: "double" } - Property { name: "leftPadding"; revision: 6; type: "double" } - Property { name: "rightPadding"; revision: 6; type: "double" } - Property { name: "bottomPadding"; revision: 6; type: "double" } - Property { name: "fontInfo"; revision: 9; type: "QJSValue"; isReadonly: true } - Property { name: "advance"; revision: 10; type: "QSizeF"; isReadonly: true } - Signal { - name: "textChanged" - Parameter { name: "text"; type: "string" } - } - Signal { - name: "linkActivated" - Parameter { name: "link"; type: "string" } - } - Signal { - name: "linkHovered" - revision: 2 - Parameter { name: "link"; type: "string" } - } - Signal { - name: "fontChanged" - Parameter { name: "font"; type: "QFont" } - } - Signal { - name: "styleChanged" - Parameter { name: "style"; type: "QQuickText::TextStyle" } - } - Signal { - name: "horizontalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickText::HAlignment" } - } - Signal { - name: "verticalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickText::VAlignment" } - } - Signal { - name: "textFormatChanged" - Parameter { name: "textFormat"; type: "QQuickText::TextFormat" } - } - Signal { - name: "elideModeChanged" - Parameter { name: "mode"; type: "QQuickText::TextElideMode" } - } - Signal { name: "contentSizeChanged" } - Signal { - name: "contentWidthChanged" - Parameter { name: "contentWidth"; type: "double" } - } - Signal { - name: "contentHeightChanged" - Parameter { name: "contentHeight"; type: "double" } - } - Signal { - name: "lineHeightChanged" - Parameter { name: "lineHeight"; type: "double" } - } - Signal { - name: "lineHeightModeChanged" - Parameter { name: "mode"; type: "LineHeightMode" } - } - Signal { - name: "lineLaidOut" - Parameter { name: "line"; type: "QQuickTextLine"; isPointer: true } - } - Signal { name: "paddingChanged"; revision: 6 } - Signal { name: "topPaddingChanged"; revision: 6 } - Signal { name: "leftPaddingChanged"; revision: 6 } - Signal { name: "rightPaddingChanged"; revision: 6 } - Signal { name: "bottomPaddingChanged"; revision: 6 } - Signal { name: "fontInfoChanged"; revision: 9 } - Method { name: "q_updateLayout" } - Method { name: "triggerPreprocess" } - Method { name: "imageDownloadFinished" } - Method { name: "doLayout" } - Method { name: "forceLayout"; revision: 9 } - Method { - name: "linkAt" - revision: 3 - type: "string" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { file: "qquicktextdocument.h"; name: "QQuickTextDocument" } - Component { - file: "private/qquicktextedit_p.h" - name: "QQuickTextEdit" - prototype: "QQuickImplicitSizeItem" - exports: [ - "QtQuick/TextEdit 2.0", - "QtQuick/TextEdit 2.1", - "QtQuick/TextEdit 2.10", - "QtQuick/TextEdit 2.11", - "QtQuick/TextEdit 2.2", - "QtQuick/TextEdit 2.3", - "QtQuick/TextEdit 2.4", - "QtQuick/TextEdit 2.6", - "QtQuick/TextEdit 2.7" - ] - exportMetaObjectRevisions: [0, 1, 10, 11, 2, 3, 4, 6, 7] - Enum { - name: "HAlignment" - values: [ - "AlignLeft", - "AlignRight", - "AlignHCenter", - "AlignJustify" - ] - } - Enum { - name: "VAlignment" - values: ["AlignTop", "AlignBottom", "AlignVCenter"] - } - Enum { - name: "TextFormat" - values: ["PlainText", "RichText", "AutoText", "MarkdownText"] - } - Enum { - name: "WrapMode" - values: [ - "NoWrap", - "WordWrap", - "WrapAnywhere", - "WrapAtWordBoundaryOrAnywhere", - "Wrap" - ] - } - Enum { - name: "SelectionMode" - values: ["SelectCharacters", "SelectWords"] - } - Enum { - name: "RenderType" - values: ["QtRendering", "NativeRendering"] - } - Property { name: "text"; type: "string" } - Property { name: "color"; type: "QColor" } - Property { name: "selectionColor"; type: "QColor" } - Property { name: "selectedTextColor"; type: "QColor" } - Property { name: "font"; type: "QFont" } - Property { name: "horizontalAlignment"; type: "HAlignment" } - Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } - Property { name: "verticalAlignment"; type: "VAlignment" } - Property { name: "wrapMode"; type: "WrapMode" } - Property { name: "lineCount"; type: "int"; isReadonly: true } - Property { name: "length"; type: "int"; isReadonly: true } - Property { name: "contentWidth"; type: "double"; isReadonly: true } - Property { name: "contentHeight"; type: "double"; isReadonly: true } - Property { name: "paintedWidth"; type: "double"; isReadonly: true } - Property { name: "paintedHeight"; type: "double"; isReadonly: true } - Property { name: "textFormat"; type: "TextFormat" } - Property { name: "readOnly"; type: "bool" } - Property { name: "cursorVisible"; type: "bool" } - Property { name: "cursorPosition"; type: "int" } - Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } - Property { name: "cursorDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "overwriteMode"; type: "bool" } - Property { name: "selectionStart"; type: "int"; isReadonly: true } - Property { name: "selectionEnd"; type: "int"; isReadonly: true } - Property { name: "selectedText"; type: "string"; isReadonly: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "persistentSelection"; type: "bool" } - Property { name: "textMargin"; type: "double" } - Property { name: "inputMethodHints"; type: "Qt::InputMethodHints" } - Property { name: "selectByKeyboard"; revision: 1; type: "bool" } - Property { name: "selectByMouse"; type: "bool" } - Property { name: "mouseSelectionMode"; type: "SelectionMode" } - Property { name: "canPaste"; type: "bool"; isReadonly: true } - Property { name: "canUndo"; type: "bool"; isReadonly: true } - Property { name: "canRedo"; type: "bool"; isReadonly: true } - Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } - Property { name: "baseUrl"; type: "QUrl" } - Property { name: "renderType"; type: "RenderType" } - Property { - name: "textDocument" - revision: 1 - type: "QQuickTextDocument" - isReadonly: true - isPointer: true - } - Property { name: "hoveredLink"; revision: 2; type: "string"; isReadonly: true } - Property { name: "padding"; revision: 6; type: "double" } - Property { name: "topPadding"; revision: 6; type: "double" } - Property { name: "leftPadding"; revision: 6; type: "double" } - Property { name: "rightPadding"; revision: 6; type: "double" } - Property { name: "bottomPadding"; revision: 6; type: "double" } - Property { name: "preeditText"; revision: 7; type: "string"; isReadonly: true } - Property { name: "tabStopDistance"; revision: 10; type: "double" } - Signal { name: "preeditTextChanged"; revision: 7 } - Signal { name: "contentSizeChanged" } - Signal { - name: "colorChanged" - Parameter { name: "color"; type: "QColor" } - } - Signal { - name: "selectionColorChanged" - Parameter { name: "color"; type: "QColor" } - } - Signal { - name: "selectedTextColorChanged" - Parameter { name: "color"; type: "QColor" } - } - Signal { - name: "fontChanged" - Parameter { name: "font"; type: "QFont" } - } - Signal { - name: "horizontalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickTextEdit::HAlignment" } - } - Signal { - name: "verticalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickTextEdit::VAlignment" } - } - Signal { - name: "textFormatChanged" - Parameter { name: "textFormat"; type: "QQuickTextEdit::TextFormat" } - } - Signal { - name: "readOnlyChanged" - Parameter { name: "isReadOnly"; type: "bool" } - } - Signal { - name: "cursorVisibleChanged" - Parameter { name: "isCursorVisible"; type: "bool" } - } - Signal { - name: "overwriteModeChanged" - Parameter { name: "overwriteMode"; type: "bool" } - } - Signal { - name: "activeFocusOnPressChanged" - Parameter { name: "activeFocusOnPressed"; type: "bool" } - } - Signal { - name: "persistentSelectionChanged" - Parameter { name: "isPersistentSelection"; type: "bool" } - } - Signal { - name: "textMarginChanged" - Parameter { name: "textMargin"; type: "double" } - } - Signal { - name: "selectByKeyboardChanged" - revision: 1 - Parameter { name: "selectByKeyboard"; type: "bool" } - } - Signal { - name: "selectByMouseChanged" - Parameter { name: "selectByMouse"; type: "bool" } - } - Signal { - name: "mouseSelectionModeChanged" - Parameter { name: "mode"; type: "QQuickTextEdit::SelectionMode" } - } - Signal { - name: "linkActivated" - Parameter { name: "link"; type: "string" } - } - Signal { - name: "linkHovered" - revision: 2 - Parameter { name: "link"; type: "string" } - } - Signal { name: "editingFinished"; revision: 6 } - Signal { name: "paddingChanged"; revision: 6 } - Signal { name: "topPaddingChanged"; revision: 6 } - Signal { name: "leftPaddingChanged"; revision: 6 } - Signal { name: "rightPaddingChanged"; revision: 6 } - Signal { name: "bottomPaddingChanged"; revision: 6 } - Signal { - name: "tabStopDistanceChanged" - revision: 10 - Parameter { name: "distance"; type: "double" } - } - Method { name: "selectAll" } - Method { name: "selectWord" } - Method { - name: "select" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { name: "deselect" } - Method { - name: "isRightToLeft" - type: "bool" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { name: "cut" } - Method { name: "copy" } - Method { name: "paste" } - Method { name: "undo" } - Method { name: "redo" } - Method { - name: "insert" - Parameter { name: "position"; type: "int" } - Parameter { name: "text"; type: "string" } - } - Method { - name: "remove" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { - name: "append" - revision: 2 - Parameter { name: "text"; type: "string" } - } - Method { name: "clear"; revision: 7 } - Method { name: "q_textChanged" } - Method { - name: "q_contentsChange" - Parameter { type: "int" } - Parameter { type: "int" } - Parameter { type: "int" } - } - Method { name: "updateSelection" } - Method { name: "moveCursorDelegate" } - Method { name: "createCursor" } - Method { name: "q_canPasteChanged" } - Method { name: "updateWholeDocument" } - Method { - name: "invalidateBlock" - Parameter { name: "block"; type: "QTextBlock" } - } - Method { name: "updateCursor" } - Method { - name: "q_linkHovered" - Parameter { name: "link"; type: "string" } - } - Method { - name: "q_markerHovered" - Parameter { name: "hovered"; type: "bool" } - } - Method { name: "q_updateAlignment" } - Method { name: "updateSize" } - Method { name: "triggerPreprocess" } - Method { - name: "inputMethodQuery" - revision: 4 - type: "QVariant" - Parameter { name: "query"; type: "Qt::InputMethodQuery" } - Parameter { name: "argument"; type: "QVariant" } - } - Method { - name: "positionToRectangle" - type: "QRectF" - Parameter { type: "int" } - } - Method { - name: "positionAt" - type: "int" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { - name: "moveCursorSelection" - Parameter { name: "pos"; type: "int" } - } - Method { - name: "moveCursorSelection" - Parameter { name: "pos"; type: "int" } - Parameter { name: "mode"; type: "SelectionMode" } - } - Method { - name: "getText" - type: "string" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { - name: "getFormattedText" - type: "string" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { - name: "linkAt" - revision: 3 - type: "string" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { - file: "private/qquicktextinput_p.h" - name: "QQuickTextInput" - prototype: "QQuickImplicitSizeItem" - exports: [ - "QtQuick/TextInput 2.0", - "QtQuick/TextInput 2.1", - "QtQuick/TextInput 2.11", - "QtQuick/TextInput 2.2", - "QtQuick/TextInput 2.4", - "QtQuick/TextInput 2.6", - "QtQuick/TextInput 2.7", - "QtQuick/TextInput 2.9" - ] - exportMetaObjectRevisions: [0, 1, 11, 2, 4, 6, 7, 9] - Enum { - name: "EchoMode" - values: ["Normal", "NoEcho", "Password", "PasswordEchoOnEdit"] - } - Enum { - name: "HAlignment" - values: ["AlignLeft", "AlignRight", "AlignHCenter"] - } - Enum { - name: "VAlignment" - values: ["AlignTop", "AlignBottom", "AlignVCenter"] - } - Enum { - name: "WrapMode" - values: [ - "NoWrap", - "WordWrap", - "WrapAnywhere", - "WrapAtWordBoundaryOrAnywhere", - "Wrap" - ] - } - Enum { - name: "SelectionMode" - values: ["SelectCharacters", "SelectWords"] - } - Enum { - name: "CursorPosition" - values: ["CursorBetweenCharacters", "CursorOnCharacter"] - } - Enum { - name: "RenderType" - values: ["QtRendering", "NativeRendering"] - } - Property { name: "text"; type: "string" } - Property { name: "length"; type: "int"; isReadonly: true } - Property { name: "color"; type: "QColor" } - Property { name: "selectionColor"; type: "QColor" } - Property { name: "selectedTextColor"; type: "QColor" } - Property { name: "font"; type: "QFont" } - Property { name: "horizontalAlignment"; type: "HAlignment" } - Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } - Property { name: "verticalAlignment"; type: "VAlignment" } - Property { name: "wrapMode"; type: "WrapMode" } - Property { name: "readOnly"; type: "bool" } - Property { name: "cursorVisible"; type: "bool" } - Property { name: "cursorPosition"; type: "int" } - Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } - Property { name: "cursorDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "overwriteMode"; type: "bool" } - Property { name: "selectionStart"; type: "int"; isReadonly: true } - Property { name: "selectionEnd"; type: "int"; isReadonly: true } - Property { name: "selectedText"; type: "string"; isReadonly: true } - Property { name: "maximumLength"; type: "int" } - Property { name: "validator"; type: "QValidator"; isPointer: true } - Property { name: "inputMask"; type: "string" } - Property { name: "inputMethodHints"; type: "Qt::InputMethodHints" } - Property { name: "acceptableInput"; type: "bool"; isReadonly: true } - Property { name: "echoMode"; type: "EchoMode" } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "passwordCharacter"; type: "string" } - Property { name: "passwordMaskDelay"; revision: 4; type: "int" } - Property { name: "displayText"; type: "string"; isReadonly: true } - Property { name: "preeditText"; revision: 7; type: "string"; isReadonly: true } - Property { name: "autoScroll"; type: "bool" } - Property { name: "selectByMouse"; type: "bool" } - Property { name: "mouseSelectionMode"; type: "SelectionMode" } - Property { name: "persistentSelection"; type: "bool" } - Property { name: "canPaste"; type: "bool"; isReadonly: true } - Property { name: "canUndo"; type: "bool"; isReadonly: true } - Property { name: "canRedo"; type: "bool"; isReadonly: true } - Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } - Property { name: "contentWidth"; type: "double"; isReadonly: true } - Property { name: "contentHeight"; type: "double"; isReadonly: true } - Property { name: "renderType"; type: "RenderType" } - Property { name: "padding"; revision: 6; type: "double" } - Property { name: "topPadding"; revision: 6; type: "double" } - Property { name: "leftPadding"; revision: 6; type: "double" } - Property { name: "rightPadding"; revision: 6; type: "double" } - Property { name: "bottomPadding"; revision: 6; type: "double" } - Signal { name: "accepted" } - Signal { name: "editingFinished"; revision: 2 } - Signal { name: "textEdited"; revision: 9 } - Signal { - name: "fontChanged" - Parameter { name: "font"; type: "QFont" } - } - Signal { - name: "horizontalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickTextInput::HAlignment" } - } - Signal { - name: "verticalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickTextInput::VAlignment" } - } - Signal { - name: "readOnlyChanged" - Parameter { name: "isReadOnly"; type: "bool" } - } - Signal { - name: "cursorVisibleChanged" - Parameter { name: "isCursorVisible"; type: "bool" } - } - Signal { - name: "overwriteModeChanged" - Parameter { name: "overwriteMode"; type: "bool" } - } - Signal { - name: "maximumLengthChanged" - Parameter { name: "maximumLength"; type: "int" } - } - Signal { - name: "inputMaskChanged" - Parameter { name: "inputMask"; type: "string" } - } - Signal { - name: "echoModeChanged" - Parameter { name: "echoMode"; type: "QQuickTextInput::EchoMode" } - } - Signal { - name: "passwordMaskDelayChanged" - revision: 4 - Parameter { name: "delay"; type: "int" } - } - Signal { name: "preeditTextChanged"; revision: 7 } - Signal { - name: "activeFocusOnPressChanged" - Parameter { name: "activeFocusOnPress"; type: "bool" } - } - Signal { - name: "autoScrollChanged" - Parameter { name: "autoScroll"; type: "bool" } - } - Signal { - name: "selectByMouseChanged" - Parameter { name: "selectByMouse"; type: "bool" } - } - Signal { - name: "mouseSelectionModeChanged" - Parameter { name: "mode"; type: "QQuickTextInput::SelectionMode" } - } - Signal { name: "contentSizeChanged" } - Signal { name: "paddingChanged"; revision: 6 } - Signal { name: "topPaddingChanged"; revision: 6 } - Signal { name: "leftPaddingChanged"; revision: 6 } - Signal { name: "rightPaddingChanged"; revision: 6 } - Signal { name: "bottomPaddingChanged"; revision: 6 } - Method { name: "selectAll" } - Method { name: "selectWord" } - Method { - name: "select" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { name: "deselect" } - Method { - name: "isRightToLeft" - type: "bool" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { name: "cut" } - Method { name: "copy" } - Method { name: "paste" } - Method { name: "undo" } - Method { name: "redo" } - Method { - name: "insert" - Parameter { name: "position"; type: "int" } - Parameter { name: "text"; type: "string" } - } - Method { - name: "remove" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { - name: "ensureVisible" - revision: 4 - Parameter { name: "position"; type: "int" } - } - Method { name: "clear"; revision: 7 } - Method { name: "selectionChanged" } - Method { name: "createCursor" } - Method { - name: "updateCursorRectangle" - Parameter { name: "scroll"; type: "bool" } - } - Method { name: "updateCursorRectangle" } - Method { name: "q_canPasteChanged" } - Method { name: "q_updateAlignment" } - Method { name: "triggerPreprocess" } - Method { name: "q_validatorChanged" } - Method { - name: "positionAt" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "positionToRectangle" - type: "QRectF" - Parameter { name: "pos"; type: "int" } - } - Method { - name: "moveCursorSelection" - Parameter { name: "pos"; type: "int" } - } - Method { - name: "moveCursorSelection" - Parameter { name: "pos"; type: "int" } - Parameter { name: "mode"; type: "SelectionMode" } - } - Method { - name: "inputMethodQuery" - revision: 4 - type: "QVariant" - Parameter { name: "query"; type: "Qt::InputMethodQuery" } - Parameter { name: "argument"; type: "QVariant" } - } - Method { - name: "getText" - type: "string" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - } - Component { - file: "private/qquicktext_p.h" - name: "QQuickTextLine" - Property { name: "number"; type: "int"; isReadonly: true } - Property { name: "width"; type: "double" } - Property { name: "height"; type: "double" } - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - Property { name: "implicitWidth"; revision: 15; type: "double"; isReadonly: true } - Property { name: "isLast"; revision: 15; type: "bool"; isReadonly: true } - } - Component { - file: "private/qquicktextmetrics_p.h" - name: "QQuickTextMetrics" - exports: ["QtQuick/TextMetrics 2.4"] - exportMetaObjectRevisions: [4] - Property { name: "font"; type: "QFont" } - Property { name: "text"; type: "string" } - Property { name: "advanceWidth"; type: "double"; isReadonly: true } - Property { name: "boundingRect"; type: "QRectF"; isReadonly: true } - Property { name: "width"; type: "double"; isReadonly: true } - Property { name: "height"; type: "double"; isReadonly: true } - Property { name: "tightBoundingRect"; type: "QRectF"; isReadonly: true } - Property { name: "elidedText"; type: "string"; isReadonly: true } - Property { name: "elide"; type: "Qt::TextElideMode" } - Property { name: "elideWidth"; type: "double" } - Signal { name: "metricsChanged" } - } - Component { - file: "private/qquickmultipointtoucharea_p.h" - name: "QQuickTouchPoint" - exports: ["QtQuick/TouchPoint 2.0", "QtQuick/TouchPoint 2.9"] - exportMetaObjectRevisions: [0, 9] - Property { name: "pointId"; type: "int"; isReadonly: true } - Property { name: "uniqueId"; revision: 9; type: "QPointingDeviceUniqueId"; isReadonly: true } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "x"; type: "double"; isReadonly: true } - Property { name: "y"; type: "double"; isReadonly: true } - Property { name: "ellipseDiameters"; revision: 9; type: "QSizeF"; isReadonly: true } - Property { name: "pressure"; type: "double"; isReadonly: true } - Property { name: "rotation"; revision: 9; type: "double"; isReadonly: true } - Property { name: "velocity"; type: "QVector2D"; isReadonly: true } - Property { name: "area"; type: "QRectF"; isReadonly: true } - Property { name: "startX"; type: "double"; isReadonly: true } - Property { name: "startY"; type: "double"; isReadonly: true } - Property { name: "previousX"; type: "double"; isReadonly: true } - Property { name: "previousY"; type: "double"; isReadonly: true } - Property { name: "sceneX"; type: "double"; isReadonly: true } - Property { name: "sceneY"; type: "double"; isReadonly: true } - Signal { name: "uniqueIdChanged"; revision: 9 } - Signal { name: "ellipseDiametersChanged"; revision: 9 } - Signal { name: "rotationChanged"; revision: 9 } - } - Component { - file: "qquickitem.h" - name: "QQuickTransform" - Method { name: "update" } - } - Component { - file: "private/qquicktransition_p.h" - name: "QQuickTransition" - defaultProperty: "animations" - exports: ["QtQuick/Transition 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "from"; type: "string" } - Property { name: "to"; type: "string" } - Property { name: "reversible"; type: "bool" } - Property { name: "running"; type: "bool"; isReadonly: true } - Property { name: "animations"; type: "QQuickAbstractAnimation"; isList: true; isReadonly: true } - Property { name: "enabled"; type: "bool" } - } - Component { - file: "private/qquicktranslate_p.h" - name: "QQuickTranslate" - prototype: "QQuickTransform" - exports: ["QtQuick/Translate 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - } - Component { - file: "private/qquickanimator_p.h" - name: "QQuickUniformAnimator" - prototype: "QQuickAnimator" - exports: [ - "QtQuick/UniformAnimator 2.12", - "QtQuick/UniformAnimator 2.2" - ] - exportMetaObjectRevisions: [12, 2] - Property { name: "uniform"; type: "string" } - Signal { - name: "uniformChanged" - Parameter { type: "string" } - } - } - Component { - file: "private/qquickanimation_p.h" - name: "QQuickVector3dAnimation" - prototype: "QQuickPropertyAnimation" - exports: [ - "QtQuick/Vector3dAnimation 2.0", - "QtQuick/Vector3dAnimation 2.12" - ] - exportMetaObjectRevisions: [0, 12] - Property { name: "from"; type: "QVector3D" } - Property { name: "to"; type: "QVector3D" } - } - Component { - file: "private/qquicklistview_p.h" - name: "QQuickViewSection" - exports: ["QtQuick/ViewSection 2.0"] - exportMetaObjectRevisions: [0] - Enum { - name: "SectionCriteria" - values: ["FullString", "FirstCharacter"] - } - Enum { - name: "LabelPositioning" - values: ["InlineLabels", "CurrentLabelAtStart", "NextLabelAtEnd"] - } - Property { name: "property"; type: "string" } - Property { name: "criteria"; type: "SectionCriteria" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "labelPositioning"; type: "int" } - Signal { name: "sectionsChanged" } - } - Component { - file: "private/qquickitemviewtransition_p.h" - name: "QQuickViewTransitionAttached" - exports: ["QtQuick/ViewTransition 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - attachedType: "QQuickViewTransitionAttached" - Property { name: "index"; type: "int"; isReadonly: true } - Property { name: "item"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "destination"; type: "QPointF"; isReadonly: true } - Property { name: "targetIndexes"; type: "QList"; isReadonly: true } - Property { name: "targetItems"; type: "QObject"; isList: true; isReadonly: true } - } - Component { - file: "private/qquickevents_p_p.h" - name: "QQuickWheelEvent" - Property { name: "x"; type: "double"; isReadonly: true } - Property { name: "y"; type: "double"; isReadonly: true } - Property { name: "angleDelta"; type: "QPoint"; isReadonly: true } - Property { name: "pixelDelta"; type: "QPoint"; isReadonly: true } - Property { name: "buttons"; type: "int"; isReadonly: true } - Property { name: "modifiers"; type: "int"; isReadonly: true } - Property { name: "inverted"; type: "bool"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - } - Component { - file: "private/qquickwheelhandler_p.h" - name: "QQuickWheelHandler" - prototype: "QQuickSinglePointHandler" - exports: ["QtQuick/WheelHandler 2.14", "QtQuick/WheelHandler 2.15"] - exportMetaObjectRevisions: [14, 15] - Property { name: "orientation"; type: "Qt::Orientation" } - Property { name: "invertible"; type: "bool" } - Property { name: "activeTimeout"; type: "double" } - Property { name: "rotation"; type: "double" } - Property { name: "rotationScale"; type: "double" } - Property { name: "property"; type: "string" } - Property { name: "targetScaleMultiplier"; type: "double" } - Property { name: "targetTransformAroundCursor"; type: "bool" } - Signal { - name: "wheel" - Parameter { name: "event"; type: "QQuickPointerScrollEvent"; isPointer: true } - } - } - Component { - file: "private/qquickanimator_p.h" - name: "QQuickXAnimator" - prototype: "QQuickAnimator" - exports: ["QtQuick/XAnimator 2.12", "QtQuick/XAnimator 2.2"] - exportMetaObjectRevisions: [12, 2] - } - Component { - file: "private/qquickanimator_p.h" - name: "QQuickYAnimator" - prototype: "QQuickAnimator" - exports: ["QtQuick/YAnimator 2.12", "QtQuick/YAnimator 2.2"] - exportMetaObjectRevisions: [12, 2] - } - Component { - file: "private/qquickforeignutils_p.h" - name: "QRegExpValidatorForeign" - exports: ["QtQuick/RegExpValidator 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - } - Component { - file: "private/qquickforeignutils_p.h" - name: "QRegularExpressionValidatorForeign" - exports: ["QtQuick/RegularExpressionValidator 2.14"] - isCreatable: false - exportMetaObjectRevisions: [14] - } - Component { file: "private/qquickforeignutils_p.h"; name: "QValidatorForeign" } -} diff --git a/bin/QtQuick.2/qmldir b/bin/QtQuick.2/qmldir deleted file mode 100644 index e4e7f5d00..000000000 --- a/bin/QtQuick.2/qmldir +++ /dev/null @@ -1,6 +0,0 @@ -module QtQuick -plugin qtquick2plugin -classname QtQuick2Plugin -typeinfo plugins.qmltypes -depends QtQml 2.15 -designersupported diff --git a/bin/QtQuick.2/qtquick2plugin.dll b/bin/QtQuick.2/qtquick2plugin.dll deleted file mode 100644 index 6db454312..000000000 Binary files a/bin/QtQuick.2/qtquick2plugin.dll and /dev/null differ diff --git a/bin/QtQuick/Controls.2/AbstractButton.qml b/bin/QtQuick/Controls.2/AbstractButton.qml deleted file mode 100644 index 50ddb933a..000000000 --- a/bin/QtQuick/Controls.2/AbstractButton.qml +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T - -T.AbstractButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) -} diff --git a/bin/QtQuick/Controls.2/Action.qml b/bin/QtQuick/Controls.2/Action.qml deleted file mode 100644 index 996e9086a..000000000 --- a/bin/QtQuick/Controls.2/Action.qml +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T - -T.Action { } diff --git a/bin/QtQuick/Controls.2/ActionGroup.qml b/bin/QtQuick/Controls.2/ActionGroup.qml deleted file mode 100644 index 89e72c8fc..000000000 --- a/bin/QtQuick/Controls.2/ActionGroup.qml +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T - -T.ActionGroup { } diff --git a/bin/QtQuick/Controls.2/ApplicationWindow.qml b/bin/QtQuick/Controls.2/ApplicationWindow.qml deleted file mode 100644 index 4686a298e..000000000 --- a/bin/QtQuick/Controls.2/ApplicationWindow.qml +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Window 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.ApplicationWindow { - id: window - - color: palette.window - - overlay.modal: Rectangle { - color: Color.transparent(window.palette.shadow, 0.5) - } - - overlay.modeless: Rectangle { - color: Color.transparent(window.palette.shadow, 0.12) - } -} diff --git a/bin/QtQuick/Controls.2/BusyIndicator.qml b/bin/QtQuick/Controls.2/BusyIndicator.qml deleted file mode 100644 index ff5c191cb..000000000 --- a/bin/QtQuick/Controls.2/BusyIndicator.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.BusyIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - - contentItem: BusyIndicatorImpl { - implicitWidth: 48 - implicitHeight: 48 - - pen: control.palette.dark - fill: control.palette.dark - - running: control.running - opacity: control.running ? 1 : 0 - Behavior on opacity { OpacityAnimator { duration: 250 } } - } -} diff --git a/bin/QtQuick/Controls.2/Button.qml b/bin/QtQuick/Controls.2/Button.qml deleted file mode 100644 index a9e7fce63..000000000 --- a/bin/QtQuick/Controls.2/Button.qml +++ /dev/null @@ -1,80 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Button { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - horizontalPadding: padding + 2 - spacing: 6 - - icon.width: 24 - icon.height: 24 - icon.color: control.checked || control.highlighted ? control.palette.brightText : - control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.checked || control.highlighted ? control.palette.brightText : - control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 40 - visible: !control.flat || control.down || control.checked || control.highlighted - color: Color.blend(control.checked || control.highlighted ? control.palette.dark : control.palette.button, - control.palette.mid, control.down ? 0.5 : 0.0) - border.color: control.palette.highlight - border.width: control.visualFocus ? 2 : 0 - } -} diff --git a/bin/QtQuick/Controls.2/ButtonGroup.qml b/bin/QtQuick/Controls.2/ButtonGroup.qml deleted file mode 100644 index cf0355ba7..000000000 --- a/bin/QtQuick/Controls.2/ButtonGroup.qml +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T - -T.ButtonGroup { } diff --git a/bin/QtQuick/Controls.2/CheckBox.qml b/bin/QtQuick/Controls.2/CheckBox.qml deleted file mode 100644 index b1f50ed1b..000000000 --- a/bin/QtQuick/Controls.2/CheckBox.qml +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 - -T.CheckBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - // keep in sync with CheckDelegate.qml (shared CheckIndicator.qml was removed for performance reasons) - indicator: Rectangle { - implicitWidth: 28 - implicitHeight: 28 - - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - - color: control.down ? control.palette.light : control.palette.base - border.width: control.visualFocus ? 2 : 1 - border.color: control.visualFocus ? control.palette.highlight : control.palette.mid - - ColorImage { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - defaultColor: "#353637" - color: control.palette.text - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/check.png" - visible: control.checkState === Qt.Checked - } - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 16 - height: 3 - color: control.palette.text - visible: control.checkState === Qt.PartiallyChecked - } - } - - contentItem: CheckLabel { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.palette.windowText - } -} diff --git a/bin/QtQuick/Controls.2/CheckDelegate.qml b/bin/QtQuick/Controls.2/CheckDelegate.qml deleted file mode 100644 index 71b390acb..000000000 --- a/bin/QtQuick/Controls.2/CheckDelegate.qml +++ /dev/null @@ -1,110 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 - -T.CheckDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 12 - spacing: 12 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.text - - contentItem: IconLabel { - leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.text - } - - // keep in sync with CheckBox.qml (shared CheckIndicator.qml was removed for performance reasons) - indicator: Rectangle { - implicitWidth: 28 - implicitHeight: 28 - - x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - color: control.down ? control.palette.light : control.palette.base - border.width: control.visualFocus ? 2 : 1 - border.color: control.visualFocus ? control.palette.highlight : control.palette.mid - - ColorImage { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - defaultColor: "#353637" - color: control.palette.text - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/check.png" - visible: control.checkState === Qt.Checked - } - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 16 - height: 3 - color: control.palette.text - visible: control.checkState === Qt.PartiallyChecked - } - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 40 - visible: control.down || control.highlighted - color: control.down ? control.palette.midlight : control.palette.light - } -} diff --git a/bin/QtQuick/Controls.2/ComboBox.qml b/bin/QtQuick/Controls.2/ComboBox.qml deleted file mode 100644 index e9f93d66f..000000000 --- a/bin/QtQuick/Controls.2/ComboBox.qml +++ /dev/null @@ -1,142 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Window 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Controls.impl 2.15 -import QtQuick.Templates 2.15 as T - -T.ComboBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) - rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) - - delegate: ItemDelegate { - width: ListView.view.width - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData - palette.text: control.palette.text - palette.highlightedText: control.palette.highlightedText - font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal - highlighted: control.highlightedIndex === index - hoverEnabled: control.hoverEnabled - } - - indicator: ColorImage { - x: control.mirrored ? control.padding : control.width - width - control.padding - y: control.topPadding + (control.availableHeight - height) / 2 - color: control.palette.dark - defaultColor: "#353637" - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/double-arrow.png" - opacity: enabled ? 1 : 0.3 - } - - contentItem: T.TextField { - leftPadding: !control.mirrored ? 12 : control.editable && activeFocus ? 3 : 1 - rightPadding: control.mirrored ? 12 : control.editable && activeFocus ? 3 : 1 - topPadding: 6 - control.padding - bottomPadding: 6 - control.padding - - text: control.editable ? control.editText : control.displayText - - enabled: control.editable - autoScroll: control.editable - readOnly: control.down - inputMethodHints: control.inputMethodHints - validator: control.validator - selectByMouse: control.selectTextByMouse - - font: control.font - color: control.editable ? control.palette.text : control.palette.buttonText - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - verticalAlignment: Text.AlignVCenter - - background: Rectangle { - visible: control.enabled && control.editable && !control.flat - border.width: parent && parent.activeFocus ? 2 : 1 - border.color: parent && parent.activeFocus ? control.palette.highlight : control.palette.button - color: control.palette.base - } - } - - background: Rectangle { - implicitWidth: 140 - implicitHeight: 40 - - color: control.down ? control.palette.mid : control.palette.button - border.color: control.palette.highlight - border.width: !control.editable && control.visualFocus ? 2 : 0 - visible: !control.flat || control.down - } - - popup: T.Popup { - y: control.height - width: control.width - height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) - topMargin: 6 - bottomMargin: 6 - - contentItem: ListView { - clip: true - implicitHeight: contentHeight - model: control.delegateModel - currentIndex: control.highlightedIndex - highlightMoveDuration: 0 - - Rectangle { - z: 10 - width: parent.width - height: parent.height - color: "transparent" - border.color: control.palette.mid - } - - T.ScrollIndicator.vertical: ScrollIndicator { } - } - - background: Rectangle { - color: control.palette.window - } - } -} diff --git a/bin/QtQuick/Controls.2/Container.qml b/bin/QtQuick/Controls.2/Container.qml deleted file mode 100644 index 83ab957d3..000000000 --- a/bin/QtQuick/Controls.2/Container.qml +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T - -T.Container { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) -} diff --git a/bin/QtQuick/Controls.2/Control.qml b/bin/QtQuick/Controls.2/Control.qml deleted file mode 100644 index a963a5633..000000000 --- a/bin/QtQuick/Controls.2/Control.qml +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T - -T.Control { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) -} diff --git a/bin/QtQuick/Controls.2/DelayButton.qml b/bin/QtQuick/Controls.2/DelayButton.qml deleted file mode 100644 index 1c545a71e..000000000 --- a/bin/QtQuick/Controls.2/DelayButton.qml +++ /dev/null @@ -1,105 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.DelayButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - horizontalPadding: padding + 2 - - transition: Transition { - NumberAnimation { - duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) - } - } - - contentItem: ItemGroup { - ClippedText { - clip: control.progress > 0 - clipX: -control.leftPadding + control.progress * control.width - clipWidth: (1.0 - control.progress) * control.width - visible: control.progress < 1 - - text: control.text - font: control.font - opacity: enabled ? 1 : 0.3 - color: control.palette.buttonText - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - elide: Text.ElideRight - } - - ClippedText { - clip: control.progress > 0 - clipX: -control.leftPadding - clipWidth: control.progress * control.width - visible: control.progress > 0 - - text: control.text - font: control.font - opacity: enabled ? 1 : 0.3 - color: control.palette.brightText - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - elide: Text.ElideRight - } - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 40 - color: Color.blend(control.palette.button, control.palette.mid, control.down ? 0.5 : 0.0) - border.color: control.palette.highlight - border.width: control.visualFocus ? 2 : 0 - - PaddedRectangle { - padding: control.visualFocus ? 2 : 0 - width: control.progress * parent.width - height: parent.height - color: Color.blend(control.palette.dark, control.palette.mid, control.down ? 0.5 : 0.0) - } - } -} diff --git a/bin/QtQuick/Controls.2/Dial.qml b/bin/QtQuick/Controls.2/Dial.qml deleted file mode 100644 index cc4618a56..000000000 --- a/bin/QtQuick/Controls.2/Dial.qml +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Dial { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) || 184 // ### remove 184 in Qt 6 - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) || 184 // ### remove 184 in Qt 6 - - background: DialImpl { - implicitWidth: 184 - implicitHeight: 184 - color: control.visualFocus ? control.palette.highlight : control.palette.dark - progress: control.position - opacity: control.enabled ? 1 : 0.3 - } - - handle: ColorImage { - x: control.background.x + control.background.width / 2 - control.handle.width / 2 - y: control.background.y + control.background.height / 2 - control.handle.height / 2 - width: 14 - height: 10 - defaultColor: "#353637" - color: control.visualFocus ? control.palette.highlight : control.palette.dark - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/dial-indicator.png" - antialiasing: true - opacity: control.enabled ? 1 : 0.3 - transform: [ - Translate { - y: -Math.min(control.background.width, control.background.height) * 0.4 + control.handle.height / 2 - }, - Rotation { - angle: control.angle - origin.x: control.handle.width / 2 - origin.y: control.handle.height / 2 - } - ] - } -} diff --git a/bin/QtQuick/Controls.2/Dialog.qml b/bin/QtQuick/Controls.2/Dialog.qml deleted file mode 100644 index 6c2e4b1b1..000000000 --- a/bin/QtQuick/Controls.2/Dialog.qml +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 - -T.Dialog { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitHeaderWidth, - implicitFooterWidth) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding - + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) - + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - - padding: 12 - - background: Rectangle { - color: control.palette.window - border.color: control.palette.dark - } - - header: Label { - text: control.title - visible: control.title - elide: Label.ElideRight - font.bold: true - padding: 12 - background: Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 1 - color: control.palette.window - } - } - - footer: DialogButtonBox { - visible: count > 0 - } - - T.Overlay.modal: Rectangle { - color: Color.transparent(control.palette.shadow, 0.5) - } - - T.Overlay.modeless: Rectangle { - color: Color.transparent(control.palette.shadow, 0.12) - } -} diff --git a/bin/QtQuick/Controls.2/DialogButtonBox.qml b/bin/QtQuick/Controls.2/DialogButtonBox.qml deleted file mode 100644 index 3c9d5b48e..000000000 --- a/bin/QtQuick/Controls.2/DialogButtonBox.qml +++ /dev/null @@ -1,72 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T - -T.DialogButtonBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - (control.count === 1 ? implicitContentWidth * 2 : implicitContentWidth) + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - contentWidth: contentItem.contentWidth - - spacing: 1 - padding: 12 - alignment: count === 1 ? Qt.AlignRight : undefined - - delegate: Button { - width: control.count === 1 ? control.availableWidth / 2 : undefined - } - - contentItem: ListView { - model: control.contentModel - spacing: control.spacing - orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds - snapMode: ListView.SnapToItem - } - - background: Rectangle { - implicitHeight: 40 - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - color: control.palette.window - } -} diff --git a/bin/QtQuick/Controls.2/Drawer.qml b/bin/QtQuick/Controls.2/Drawer.qml deleted file mode 100644 index 17465fd44..000000000 --- a/bin/QtQuick/Controls.2/Drawer.qml +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Drawer { - id: control - - parent: T.Overlay.overlay - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: control.edge === Qt.BottomEdge - leftPadding: control.edge === Qt.RightEdge - rightPadding: control.edge === Qt.LeftEdge - bottomPadding: control.edge === Qt.TopEdge - - enter: Transition { SmoothedAnimation { velocity: 5 } } - exit: Transition { SmoothedAnimation { velocity: 5 } } - - background: Rectangle { - color: control.palette.window - Rectangle { - readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge - width: horizontal ? 1 : parent.width - height: horizontal ? parent.height : 1 - color: control.palette.dark - x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 - y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 - } - } - - T.Overlay.modal: Rectangle { - color: Color.transparent(control.palette.shadow, 0.5) - } - - T.Overlay.modeless: Rectangle { - color: Color.transparent(control.palette.shadow, 0.12) - } -} diff --git a/bin/QtQuick/Controls.2/Frame.qml b/bin/QtQuick/Controls.2/Frame.qml deleted file mode 100644 index 2fe461040..000000000 --- a/bin/QtQuick/Controls.2/Frame.qml +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Frame { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 12 - - background: Rectangle { - color: "transparent" - border.color: control.palette.mid - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ApplicationWindow.qml b/bin/QtQuick/Controls.2/Fusion/ApplicationWindow.qml deleted file mode 100644 index 9079403ec..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ApplicationWindow.qml +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Window 2.2 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.ApplicationWindow { - id: window - - color: palette.window - - overlay.modal: Rectangle { - color: Fusion.topShadow - } - - overlay.modeless: Rectangle { - color: Fusion.topShadow - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/BusyIndicator.qml b/bin/QtQuick/Controls.2/Fusion/BusyIndicator.qml deleted file mode 100644 index 554c3368d..000000000 --- a/bin/QtQuick/Controls.2/Fusion/BusyIndicator.qml +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.BusyIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - - contentItem: BusyIndicatorImpl { - implicitWidth: 28 - implicitHeight: 28 - color: control.palette.text - - running: control.running - opacity: control.running ? 1 : 0 - Behavior on opacity { OpacityAnimator { duration: 250 } } - - RotationAnimator on rotation { - running: control.running || contentItem.visible - from: 0 - to: 360 - duration: 1000 - loops: Animation.Infinite - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Button.qml b/bin/QtQuick/Controls.2/Fusion/Button.qml deleted file mode 100644 index 7822634de..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Button.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Button { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 4 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.palette.buttonText - } - - background: ButtonPanel { - implicitWidth: 80 - implicitHeight: 24 - - control: control - visible: !control.flat || control.down || control.checked || control.highlighted || control.visualFocus || control.hovered - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ButtonPanel.qml b/bin/QtQuick/Controls.2/Fusion/ButtonPanel.qml deleted file mode 100644 index 125aa2f3d..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ButtonPanel.qml +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -Rectangle { - id: panel - - property Item control - property bool highlighted: control.highlighted - - visible: !control.flat || control.down || control.checked - - color: Fusion.buttonColor(control.palette, panel.highlighted, control.down || control.checked, control.hovered) - gradient: control.down || control.checked ? null : buttonGradient - - Gradient { - id: buttonGradient - GradientStop { - position: 0 - color: Fusion.gradientStart(Fusion.buttonColor(panel.control.palette, panel.highlighted, panel.control.down, panel.control.hovered)) - } - GradientStop { - position: 1 - color: Fusion.gradientStop(Fusion.buttonColor(panel.control.palette, panel.highlighted, panel.control.down, panel.control.hovered)) - } - } - - radius: 2 - border.color: Fusion.buttonOutline(control.palette, panel.highlighted || control.visualFocus, control.enabled) - - Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - border.color: Fusion.innerContrastLine - color: "transparent" - radius: 2 - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/CheckBox.qml b/bin/QtQuick/Controls.2/Fusion/CheckBox.qml deleted file mode 100644 index edb4c77fa..000000000 --- a/bin/QtQuick/Controls.2/Fusion/CheckBox.qml +++ /dev/null @@ -1,72 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.CheckBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - indicator: CheckIndicator { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.palette.windowText - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/CheckDelegate.qml b/bin/QtQuick/Controls.2/Fusion/CheckDelegate.qml deleted file mode 100644 index 1b97b1fd3..000000000 --- a/bin/QtQuick/Controls.2/Fusion/CheckDelegate.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.CheckDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - contentItem: IconLabel { - leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text - } - - indicator: CheckIndicator { - x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - control: control - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 20 - color: control.down ? Fusion.buttonColor(control.palette, false, true, true) - : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/CheckIndicator.qml b/bin/QtQuick/Controls.2/Fusion/CheckIndicator.qml deleted file mode 100644 index 7dcfee305..000000000 --- a/bin/QtQuick/Controls.2/Fusion/CheckIndicator.qml +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -Rectangle { - id: indicator - - property Item control - readonly property color pressedColor: Fusion.mergedColors(control.palette.base, control.palette.windowText, 85) - readonly property color checkMarkColor: Qt.darker(control.palette.text, 1.2) - - implicitWidth: 14 - implicitHeight: 14 - - color: control.down ? indicator.pressedColor : control.palette.base - border.color: control.visualFocus ? Fusion.highlightedOutline(control.palette) - : Qt.lighter(Fusion.outline(control.palette), 1.1) - - Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: 1 - color: Fusion.topShadow - visible: indicator.control.enabled && !indicator.control.down - } - - ColorImage { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - color: Color.transparent(indicator.checkMarkColor, 210 / 255) - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/checkmark.png" - visible: indicator.control.checkState === Qt.Checked || (indicator.control.checked && indicator.control.checkState === undefined) - } - - Rectangle { - x: 3; y: 3 - width: parent.width - 6 - height: parent.width - 6 - - visible: indicator.control.checkState === Qt.PartiallyChecked - - gradient: Gradient { - GradientStop { - position: 0 - color: Color.transparent(indicator.checkMarkColor, 80 / 255) - } - GradientStop { - position: 1 - color: Color.transparent(indicator.checkMarkColor, 140 / 255) - } - } - border.color: Color.transparent(indicator.checkMarkColor, 180 / 255) - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ComboBox.qml b/bin/QtQuick/Controls.2/Fusion/ComboBox.qml deleted file mode 100644 index 5e26f90ec..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ComboBox.qml +++ /dev/null @@ -1,176 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Window 2.15 -import QtQuick.Templates 2.15 as T -import QtQuick.Controls 2.15 -import QtQuick.Controls.impl 2.15 -import QtQuick.Controls.Fusion 2.15 -import QtQuick.Controls.Fusion.impl 2.15 - -T.ComboBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) - rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) - - delegate: MenuItem { - width: ListView.view.width - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData - font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal - highlighted: control.highlightedIndex === index - hoverEnabled: control.hoverEnabled - } - - indicator: ColorImage { - x: control.mirrored ? control.padding : control.width - width - control.padding - y: control.topPadding + (control.availableHeight - height) / 2 - color: control.editable ? control.palette.text : control.palette.buttonText - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/arrow.png" - width: 20 - fillMode: Image.Pad - } - - contentItem: T.TextField { - topPadding: 4 - leftPadding: 4 - control.padding - rightPadding: 4 - control.padding - bottomPadding: 4 - - text: control.editable ? control.editText : control.displayText - - enabled: control.editable - autoScroll: control.editable - readOnly: control.down - inputMethodHints: control.inputMethodHints - validator: control.validator - selectByMouse: control.selectTextByMouse - - font: control.font - color: control.editable ? control.palette.text : control.palette.buttonText - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - verticalAlignment: Text.AlignVCenter - - background: PaddedRectangle { - clip: true - radius: 2 - padding: 1 - leftPadding: control.mirrored ? -2 : padding - rightPadding: !control.mirrored ? -2 : padding - color: control.palette.base - visible: control.editable && !control.flat - - Rectangle { - x: parent.width - width - y: 1 - width: 1 - height: parent.height - 2 - color: Fusion.buttonOutline(control.palette, control.activeFocus, control.enabled) - } - - Rectangle { - x: 1 - y: 1 - width: parent.width - 3 - height: 1 - color: Fusion.topShadow - } - } - - Rectangle { - x: 1 - control.leftPadding - y: 1 - width: control.width - 2 - height: control.height - 2 - color: "transparent" - border.color: Color.transparent(Fusion.highlightedOutline(control.palette), 40 / 255) - visible: control.activeFocus - radius: 1.7 - } - } - - background: ButtonPanel { - implicitWidth: 120 - implicitHeight: 24 - - control: control - visible: !control.flat || control.down - // ### TODO: fix control.contentItem.activeFocus - highlighted: control.visualFocus || control.contentItem.activeFocus - } - - popup: T.Popup { - width: control.width - height: Math.min(contentItem.implicitHeight + 2, control.Window.height - topMargin - bottomMargin) - topMargin: 6 - bottomMargin: 6 - palette: control.palette - padding: 1 - - contentItem: ListView { - clip: true - implicitHeight: contentHeight - model: control.delegateModel - currentIndex: control.highlightedIndex - highlightRangeMode: ListView.ApplyRange - highlightMoveDuration: 0 - - T.ScrollBar.vertical: ScrollBar { } - } - - background: Rectangle { - color: control.popup.palette.window - border.color: Fusion.outline(control.palette) - - Rectangle { - z: -1 - x: 1; y: 1 - width: parent.width - height: parent.height - color: control.palette.shadow - opacity: 0.2 - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/DelayButton.qml b/bin/QtQuick/Controls.2/Fusion/DelayButton.qml deleted file mode 100644 index 622de111d..000000000 --- a/bin/QtQuick/Controls.2/Fusion/DelayButton.qml +++ /dev/null @@ -1,116 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.DelayButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - - transition: Transition { - NumberAnimation { - duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) - } - } - - contentItem: ItemGroup { - ClippedText { - clip: control.progress > 0 - clipX: -control.leftPadding + (control.mirrored ? 0 : control.progress * control.width) - clipWidth: control.width - visible: control.mirrored ? control.progress > 0 : control.progress < 1 - - text: control.text - font: control.font - color: control.mirrored ? control.palette.brightText : control.palette.buttonText - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - elide: Text.ElideRight - } - - ClippedText { - clip: control.progress > 0 - clipX: -control.leftPadding - clipWidth: (control.mirrored ? 1.0 - control.progress : control.progress) * control.width - visible: control.mirrored ? control.progress < 1 : control.progress > 0 - - text: control.text - font: control.font - color: control.mirrored ? control.palette.buttonText : control.palette.brightText - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - elide: Text.ElideRight - } - } - - background: ButtonPanel { - implicitWidth: 80 - implicitHeight: 24 - - control: control - highlighted: false - scale: control.mirrored ? -1 : 1 - - Rectangle { - width: control.progress * parent.width - height: parent.height - - radius: 2 - border.color: Qt.darker(Fusion.highlight(control.palette), 1.4) - gradient: Gradient { - GradientStop { - position: 0 - color: Qt.lighter(Fusion.highlight(control.palette), 1.2) - } - GradientStop { - position: 1 - color: Fusion.highlight(control.palette) - } - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Dial.qml b/bin/QtQuick/Controls.2/Fusion/Dial.qml deleted file mode 100644 index a13372426..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Dial.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Dial { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) || 100 // ### remove 100 in Qt 6 - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) || 100 // ### remove 100 in Qt 6 - - background: DialImpl { - implicitWidth: 100 - implicitHeight: 100 - palette: control.palette - highlight: control.visualFocus - } - - handle: KnobImpl { - x: control.background.x + control.background.width / 2 - control.handle.width / 2 - y: control.background.y + control.background.height / 2 - control.handle.height / 2 - width: control.width / 7 - height: control.height / 7 - palette: control.palette - transform: [ - Translate { - y: -Math.min(control.background.width, control.background.height) * 0.42 + control.handle.height - }, - Rotation { - angle: control.angle - origin.x: control.handle.width / 2 - origin.y: control.handle.height / 2 - } - ] - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Dialog.qml b/bin/QtQuick/Controls.2/Fusion/Dialog.qml deleted file mode 100644 index 79e179d9e..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Dialog.qml +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Dialog { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitHeaderWidth, - implicitFooterWidth) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding - + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) - + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - - padding: 6 - - background: Rectangle { - color: control.palette.window - border.color: control.palette.mid - radius: 2 - - Rectangle { - z: -1 - x: 1; y: 1 - width: parent.width - height: parent.height - color: control.palette.shadow - opacity: 0.2 - radius: 2 - } - } - - header: Label { - text: control.title - visible: control.title - elide: Label.ElideRight - font.bold: true - padding: 6 - background: Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 1 - color: control.palette.window - radius: 2 - } - } - - footer: DialogButtonBox { - visible: count > 0 - } - - T.Overlay.modal: Rectangle { - color: Fusion.topShadow - } - - T.Overlay.modeless: Rectangle { - color: Fusion.topShadow - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/DialogButtonBox.qml b/bin/QtQuick/Controls.2/Fusion/DialogButtonBox.qml deleted file mode 100644 index a0b0f243c..000000000 --- a/bin/QtQuick/Controls.2/Fusion/DialogButtonBox.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.DialogButtonBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - spacing: 6 - padding: 6 - alignment: Qt.AlignRight - - delegate: Button { } - - contentItem: ListView { - model: control.contentModel - spacing: control.spacing - orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds - snapMode: ListView.SnapToItem - } - - background: Rectangle { - implicitHeight: 32 - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - color: control.palette.window - radius: 2 - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Drawer.qml b/bin/QtQuick/Controls.2/Fusion/Drawer.qml deleted file mode 100644 index 5a23dde1f..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Drawer.qml +++ /dev/null @@ -1,89 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Drawer { - id: control - - parent: T.Overlay.overlay - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: control.edge === Qt.BottomEdge - leftPadding: control.edge === Qt.RightEdge - rightPadding: control.edge === Qt.LeftEdge - bottomPadding: control.edge === Qt.TopEdge - - enter: Transition { SmoothedAnimation { velocity: 5 } } - exit: Transition { SmoothedAnimation { velocity: 5 } } - - background: Rectangle { - color: control.palette.window - readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge - Rectangle { - width: parent.horizontal ? 1 : parent.width - height: parent.horizontal ? parent.height : 1 - color: control.palette.mid - x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 - y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 - } - Rectangle { - width: parent.horizontal ? 1 : parent.width - height: parent.horizontal ? parent.height : 1 - color: control.palette.shadow - opacity: 0.2 - x: control.edge === Qt.LeftEdge ? parent.width : 0 - y: control.edge === Qt.TopEdge ? parent.height : 0 - } - } - - T.Overlay.modal: Rectangle { - color: Fusion.topShadow - } - - T.Overlay.modeless: Rectangle { - color: Fusion.topShadow - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Frame.qml b/bin/QtQuick/Controls.2/Fusion/Frame.qml deleted file mode 100644 index c2df63519..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Frame.qml +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Frame { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 9 - - background: Rectangle { - color: "transparent" - border.color: Qt.lighter(Fusion.outline(control.palette), 1.08) - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/GroupBox.qml b/bin/QtQuick/Controls.2/Fusion/GroupBox.qml deleted file mode 100644 index 3df3e1e60..000000000 --- a/bin/QtQuick/Controls.2/Fusion/GroupBox.qml +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.GroupBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitLabelWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - spacing: 6 - padding: 9 - topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) - - label: Text { - x: control.leftPadding - width: control.availableWidth - - text: control.title - font: control.font - color: control.palette.windowText - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } - - background: Rectangle { - y: control.topPadding - control.bottomPadding - width: parent.width - height: parent.height - control.topPadding + control.bottomPadding - - radius: 2 - color: Color.transparent("black", 3 / 255) - border.color: Qt.lighter(Fusion.outline(control.palette), 1.08) - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/HorizontalHeaderView.qml b/bin/QtQuick/Controls.2/Fusion/HorizontalHeaderView.qml deleted file mode 100644 index bbd9dc3f1..000000000 --- a/bin/QtQuick/Controls.2/Fusion/HorizontalHeaderView.qml +++ /dev/null @@ -1,78 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Templates 2.15 as T - -T.HorizontalHeaderView { - id: control - - implicitWidth: syncView ? syncView.width : 0 - implicitHeight: contentHeight - - delegate: Rectangle { - // Qt6: add cellPadding (and font etc) as public API in headerview - readonly property real cellPadding: 8 - - implicitWidth: text.implicitWidth + (cellPadding * 2) - implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) - border.color: "#cacaca" - - gradient: Gradient { - GradientStop { - position: 0 - color: "#fbfbfb" - } - GradientStop { - position: 1 - color: "#e0dfe0" - } - } - - Text { - id: text - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] - : model[control.textRole]) - : modelData - width: parent.width - height: parent.height - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: "#ff26282a" - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ItemDelegate.qml b/bin/QtQuick/Controls.2/Fusion/ItemDelegate.qml deleted file mode 100644 index 4c15ae688..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ItemDelegate.qml +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.ItemDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 20 - color: control.down ? Fusion.buttonColor(control.palette, false, true, true) - : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Label.qml b/bin/QtQuick/Controls.2/Fusion/Label.qml deleted file mode 100644 index 9821f71c9..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Label.qml +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Label { - id: control - - color: control.palette.windowText - linkColor: control.palette.link -} diff --git a/bin/QtQuick/Controls.2/Fusion/Menu.qml b/bin/QtQuick/Controls.2/Fusion/Menu.qml deleted file mode 100644 index 8bace6b93..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Menu.qml +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 -import QtQuick.Window 2.12 - -T.Menu { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - margins: 0 - padding: 1 - overlap: 2 - - delegate: MenuItem { } - - contentItem: ListView { - implicitHeight: contentHeight - model: control.contentModel - interactive: Window.window - ? contentHeight + control.topPadding + control.bottomPadding > Window.window.height - : false - clip: true - currentIndex: control.currentIndex - - ScrollIndicator.vertical: ScrollIndicator {} - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 20 - - color: control.palette.base - border.color: Fusion.outline(control.palette) - - Rectangle { - z: -1 - x: 1; y: 1 - width: parent.width - height: parent.height - color: control.palette.shadow - opacity: 0.2 - } - } - - T.Overlay.modal: Rectangle { - color: Fusion.topShadow - } - - T.Overlay.modeless: Rectangle { - color: Fusion.topShadow - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/MenuBar.qml b/bin/QtQuick/Controls.2/Fusion/MenuBar.qml deleted file mode 100644 index 4ba71feed..000000000 --- a/bin/QtQuick/Controls.2/Fusion/MenuBar.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.MenuBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - delegate: MenuBarItem { } - - contentItem: Row { - spacing: control.spacing - Repeater { - model: control.contentModel - } - } - - background: Rectangle { - implicitHeight: 20 - - color: control.palette.window - - Rectangle { - y: parent.height - height - width: parent.width - height: 1 - color: Fusion.mergedColors(Qt.darker(control.palette.window, 1.2), - Qt.lighter(Fusion.outline(control.palette), 1.4), 60) - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/MenuBarItem.qml b/bin/QtQuick/Controls.2/Fusion/MenuBarItem.qml deleted file mode 100644 index 9fa685dcc..000000000 --- a/bin/QtQuick/Controls.2/Fusion/MenuBarItem.qml +++ /dev/null @@ -1,78 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.MenuBarItem { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.down || control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text - } - - background: Rectangle { - implicitWidth: 20 - implicitHeight: 20 - - color: Fusion.highlight(control.palette) - visible: control.down || control.highlighted - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/MenuItem.qml b/bin/QtQuick/Controls.2/Fusion/MenuItem.qml deleted file mode 100644 index a428fbc8d..000000000 --- a/bin/QtQuick/Controls.2/Fusion/MenuItem.qml +++ /dev/null @@ -1,103 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.MenuItem { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - contentItem: IconLabel { - readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 - readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 - leftPadding: !control.mirrored ? indicatorPadding : arrowPadding - rightPadding: control.mirrored ? indicatorPadding : arrowPadding - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.down || control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text - } - - arrow: ColorImage { - x: control.mirrored ? control.padding : control.width - width - control.padding - y: control.topPadding + (control.availableHeight - height) / 2 - width: 20 - - visible: control.subMenu - rotation: control.mirrored ? 90 : -90 - color: control.down || control.hovered || control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/arrow.png" - fillMode: Image.Pad - } - - indicator: CheckIndicator { - x: control.mirrored ? control.width - width - control.rightPadding : control.leftPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - control: control - visible: control.checkable - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 20 - - color: Fusion.highlight(control.palette) - visible: control.down || control.highlighted - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/MenuSeparator.qml b/bin/QtQuick/Controls.2/Fusion/MenuSeparator.qml deleted file mode 100644 index 522ada150..000000000 --- a/bin/QtQuick/Controls.2/Fusion/MenuSeparator.qml +++ /dev/null @@ -1,60 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.MenuSeparator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 5 - verticalPadding: 1 - - contentItem: Rectangle { - implicitWidth: 188 - implicitHeight: 1 - color: Qt.lighter(Fusion.darkShade, 1.06) - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Page.qml b/bin/QtQuick/Controls.2/Fusion/Page.qml deleted file mode 100644 index ce4b1d54c..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Page.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Page { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitHeaderWidth, - implicitFooterWidth) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding - + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) - + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - - background: Rectangle { - color: control.palette.window - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/PageIndicator.qml b/bin/QtQuick/Controls.2/Fusion/PageIndicator.qml deleted file mode 100644 index 5679b14f2..000000000 --- a/bin/QtQuick/Controls.2/Fusion/PageIndicator.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.PageIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 4 - spacing: 4 - - delegate: Rectangle { - implicitWidth: 6 - implicitHeight: 6 - - radius: width / 2 - color: control.palette.shadow - - opacity: index === currentIndex ? 0.95 : pressed ? 0.75 : 0.45 - Behavior on opacity { OpacityAnimator { duration: 100 } } - } - - contentItem: Row { - spacing: control.spacing - - Repeater { - model: control.count - delegate: control.delegate - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Pane.qml b/bin/QtQuick/Controls.2/Fusion/Pane.qml deleted file mode 100644 index 28be3b47f..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Pane.qml +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Pane { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 9 - - background: Rectangle { - color: control.palette.window - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Popup.qml b/bin/QtQuick/Controls.2/Fusion/Popup.qml deleted file mode 100644 index 25a8c5ae0..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Popup.qml +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Popup { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 6 - - background: Rectangle { - color: control.palette.window - border.color: control.palette.mid - radius: 2 - } - - T.Overlay.modal: Rectangle { - color: Fusion.topShadow - } - - T.Overlay.modeless: Rectangle { - color: Fusion.topShadow - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ProgressBar.qml b/bin/QtQuick/Controls.2/Fusion/ProgressBar.qml deleted file mode 100644 index 5deade587..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ProgressBar.qml +++ /dev/null @@ -1,117 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.ProgressBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - contentItem: Item { - implicitWidth: 120 - implicitHeight: 24 - scale: control.mirrored ? -1 : 1 - - Rectangle { - height: parent.height - width: (control.indeterminate ? 1.0 : control.position) * parent.width - - radius: 2 - border.color: Qt.darker(Fusion.highlight(control.palette), 1.4) - gradient: Gradient { - GradientStop { - position: 0 - color: Qt.lighter(Fusion.highlight(control.palette), 1.2) - } - GradientStop { - position: 1 - color: Fusion.highlight(control.palette) - } - } - } - - Item { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - visible: control.indeterminate - clip: true - - ColorImage { - width: Math.ceil(parent.width / implicitWidth + 1) * implicitWidth - height: parent.height - - mirror: control.mirrored - fillMode: Image.TileHorizontally - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/progressmask.png" - color: Color.transparent(Qt.lighter(Fusion.highlight(control.palette), 1.2), 160 / 255) - - visible: control.indeterminate - NumberAnimation on x { - running: control.indeterminate && control.visible - from: -31 // progressmask.png width - to: 0 - loops: Animation.Infinite - duration: 750 - } - } - } - } - - background: Rectangle { - implicitWidth: 120 - implicitHeight: 24 - - radius: 2 - color: control.palette.base - border.color: Fusion.outline(control.palette) - - Rectangle { - x: 1; y: 1; height: 1 - width: parent.width - 2 - color: Fusion.topShadow - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/RadioButton.qml b/bin/QtQuick/Controls.2/Fusion/RadioButton.qml deleted file mode 100644 index a940aff3c..000000000 --- a/bin/QtQuick/Controls.2/Fusion/RadioButton.qml +++ /dev/null @@ -1,72 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.RadioButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - indicator: RadioIndicator { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.palette.windowText - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/RadioDelegate.qml b/bin/QtQuick/Controls.2/Fusion/RadioDelegate.qml deleted file mode 100644 index e8555a17e..000000000 --- a/bin/QtQuick/Controls.2/Fusion/RadioDelegate.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.RadioDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - contentItem: IconLabel { - leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text - } - - indicator: RadioIndicator { - x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - control: control - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 20 - color: control.down ? Fusion.buttonColor(control.palette, false, true, true) - : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/RadioIndicator.qml b/bin/QtQuick/Controls.2/Fusion/RadioIndicator.qml deleted file mode 100644 index c73cd49f4..000000000 --- a/bin/QtQuick/Controls.2/Fusion/RadioIndicator.qml +++ /dev/null @@ -1,78 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -Rectangle { - id: indicator - - property Item control - readonly property color pressedColor: Fusion.mergedColors(control.palette.base, control.palette.windowText, 85) - readonly property color checkMarkColor: Qt.darker(control.palette.text, 1.2) - - implicitWidth: 14 - implicitHeight: 14 - - radius: width / 2 - color: control.down ? indicator.pressedColor : control.palette.base - border.color: control.visualFocus ? Fusion.highlightedOutline(control.palette) - : Qt.darker(control.palette.window, 1.5) - - Rectangle { - y: 1 - width: parent.width - height: parent.height - 1 - radius: width / 2 - color: "transparent" - border.color: Fusion.topShadow - visible: indicator.control.enabled && !indicator.control.down - } - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: parent.width / 2.32 - height: parent.height / 2.32 - radius: width / 2 - color: Color.transparent(indicator.checkMarkColor, 180 / 255) - border.color: Color.transparent(indicator.checkMarkColor, 200 / 255) - visible: indicator.control.checked - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/RangeSlider.qml b/bin/QtQuick/Controls.2/Fusion/RangeSlider.qml deleted file mode 100644 index 7edbed576..000000000 --- a/bin/QtQuick/Controls.2/Fusion/RangeSlider.qml +++ /dev/null @@ -1,82 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.RangeSlider { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - Math.max(first.implicitHandleWidth, - second.implicitHandleWidth) + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - Math.max(first.implicitHandleHeight, - second.implicitHandleHeight) + topPadding + bottomPadding) - - first.handle: SliderHandle { - x: control.leftPadding + Math.round(control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + Math.round(control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) - - palette: control.palette - pressed: control.first.pressed - hovered: control.first.hovered - vertical: control.vertical - visualFocus: activeFocus - } - - second.handle: SliderHandle { - x: control.leftPadding + Math.round(control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + Math.round(control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) - - palette: control.palette - pressed: control.second.pressed - hovered: control.second.hovered - vertical: control.vertical - visualFocus: activeFocus - } - - background: SliderGroove { - control: control - offset: control.first.position - progress: control.second.position - visualProgress: control.second.visualPosition - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/RoundButton.qml b/bin/QtQuick/Controls.2/Fusion/RoundButton.qml deleted file mode 100644 index 59bf4c16d..000000000 --- a/bin/QtQuick/Controls.2/Fusion/RoundButton.qml +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.RoundButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.palette.buttonText - } - - background: Rectangle { - implicitWidth: 32 - implicitHeight: 32 - visible: !control.flat || control.down || control.checked - - gradient: Gradient { - GradientStop { - position: 0 - color: control.down || control.checked ? Fusion.buttonColor(control.palette, control.highlighted, control.down || control.checked, control.hovered) - : Fusion.gradientStart(Fusion.buttonColor(control.palette, control.highlighted, control.down, control.hovered)) - } - GradientStop { - position: 1 - color: control.down || control.checked ? Fusion.buttonColor(control.palette, control.highlighted, control.down || control.checked, control.hovered) - : Fusion.gradientStop(Fusion.buttonColor(control.palette, control.highlighted, control.down, control.hovered)) - } - } - - radius: control.radius - border.color: Fusion.buttonOutline(control.palette, control.highlighted || control.visualFocus, control.enabled) - - Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - border.color: Fusion.innerContrastLine - color: "transparent" - radius: control.radius - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ScrollBar.qml b/bin/QtQuick/Controls.2/Fusion/ScrollBar.qml deleted file mode 100644 index 93b58f0e3..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ScrollBar.qml +++ /dev/null @@ -1,78 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.ScrollBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 2 - visible: control.policy !== T.ScrollBar.AlwaysOff - minimumSize: orientation == Qt.Horizontal ? height / width : width / height - - contentItem: Rectangle { - implicitWidth: control.interactive ? 6 : 2 - implicitHeight: control.interactive ? 6 : 2 - - radius: width / 2 - color: control.pressed ? control.palette.dark : control.palette.mid - opacity: 0.0 - - states: State { - name: "active" - when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) - PropertyChanges { target: control.contentItem; opacity: 0.75 } - } - - transitions: Transition { - from: "active" - SequentialAnimation { - PauseAnimation { duration: 450 } - NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ScrollIndicator.qml b/bin/QtQuick/Controls.2/Fusion/ScrollIndicator.qml deleted file mode 100644 index efe0b2fa8..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ScrollIndicator.qml +++ /dev/null @@ -1,78 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.ScrollIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 2 - - contentItem: Rectangle { - implicitWidth: 2 - implicitHeight: 2 - - color: control.palette.mid - visible: control.size < 1.0 - opacity: 0.0 - - states: State { - name: "active" - when: control.active - PropertyChanges { target: control.contentItem; opacity: 0.75 } - } - - transitions: [ - Transition { - from: "active" - SequentialAnimation { - PauseAnimation { duration: 450 } - NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } - } - } - ] - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Slider.qml b/bin/QtQuick/Controls.2/Fusion/Slider.qml deleted file mode 100644 index d212a233b..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Slider.qml +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Slider { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitHandleWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitHandleHeight + topPadding + bottomPadding) - - handle: SliderHandle { - x: control.leftPadding + Math.round(control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + Math.round(control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) - - palette: control.palette - pressed: control.pressed - hovered: control.hovered - vertical: control.vertical - visualFocus: control.visualFocus - } - - background: SliderGroove { - control: control - progress: control.position - visualProgress: control.visualPosition - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/SliderGroove.qml b/bin/QtQuick/Controls.2/Fusion/SliderGroove.qml deleted file mode 100644 index 381a02b59..000000000 --- a/bin/QtQuick/Controls.2/Fusion/SliderGroove.qml +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -Rectangle { - id: groove - - property Item control - property real offset - property real progress - property real visualProgress - - x: control.horizontal ? 0 : (control.availableWidth - width) / 2 - y: control.horizontal ? (control.availableHeight - height) / 2 : 0 - - implicitWidth: control.horizontal ? 160 : 5 - implicitHeight: control.horizontal ? 5 : 160 - width: control.horizontal ? control.availableWidth : implicitWidth - height: control.horizontal ? implicitHeight : control.availableHeight - - radius: 2 - border.color: Fusion.outline(control.palette) - scale: control.horizontal && control.mirrored ? -1 : 1 - - gradient: Gradient { - GradientStop { - position: 0 - color: Qt.darker(Fusion.grooveColor(groove.control.palette), 1.1) - } - GradientStop { - position: 1 - color: Qt.lighter(Fusion.grooveColor(groove.control.palette), 1.1) - } - } - - Rectangle { - x: groove.control.horizontal ? groove.offset * parent.width : 0 - y: groove.control.horizontal ? 0 : groove.visualProgress * parent.height - width: groove.control.horizontal ? groove.progress * parent.width - groove.offset * parent.width : 5 - height: groove.control.horizontal ? 5 : groove.progress * parent.height - groove.offset * parent.height - - radius: 2 - border.color: Qt.darker(Fusion.highlightedOutline(groove.control.palette), 1.1) - - gradient: Gradient { - GradientStop { - position: 0 - color: Fusion.highlight(groove.control.palette) - } - GradientStop { - position: 1 - color: Qt.lighter(Fusion.highlight(groove.control.palette), 1.2) - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/SliderHandle.qml b/bin/QtQuick/Controls.2/Fusion/SliderHandle.qml deleted file mode 100644 index c53af57e6..000000000 --- a/bin/QtQuick/Controls.2/Fusion/SliderHandle.qml +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -Rectangle { - id: handle - - property var palette - property bool pressed - property bool hovered - property bool vertical - property bool visualFocus - - implicitWidth: 13 - implicitHeight: 13 - - gradient: Gradient { - GradientStop { - position: 0 - color: Fusion.gradientStart(Fusion.buttonColor(handle.palette, handle.visualFocus, handle.pressed, handle.hovered)) - } - GradientStop { - position: 1 - color: Fusion.gradientStop(Fusion.buttonColor(handle.palette, handle.visualFocus, handle.pressed, handle.hovered)) - } - } - rotation: handle.vertical ? -90 : 0 - border.width: 1 - border.color: "transparent" - radius: 2 - - Rectangle { - width: parent.width - height: parent.height - border.color: handle.visualFocus ? Fusion.highlightedOutline(handle.palette) : Fusion.outline(handle.palette) - color: "transparent" - radius: 2 - - Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - border.color: Fusion.innerContrastLine - color: "transparent" - radius: 2 - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/SpinBox.qml b/bin/QtQuick/Controls.2/Fusion/SpinBox.qml deleted file mode 100644 index 41754f63f..000000000 --- a/bin/QtQuick/Controls.2/Fusion/SpinBox.qml +++ /dev/null @@ -1,182 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.SpinBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentItem.implicitWidth + 2 * padding + - Math.max(up.implicitIndicatorWidth, - down.implicitIndicatorWidth)) - implicitHeight: Math.max(implicitContentHeight + topPadding + bottomPadding, - implicitBackgroundHeight, - up.implicitIndicatorHeight + - down.implicitIndicatorHeight) - - padding: 4 - leftPadding: padding + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) - rightPadding: padding + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) - - validator: IntValidator { - locale: control.locale.name - bottom: Math.min(control.from, control.to) - top: Math.max(control.from, control.to) - } - - contentItem: TextInput { - z: 2 - text: control.displayText - - font: control.font - color: control.palette.text - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - horizontalAlignment: Qt.AlignHCenter - verticalAlignment: Qt.AlignVCenter - - readOnly: !control.editable - validator: control.validator - inputMethodHints: control.inputMethodHints - } - - up.indicator: PaddedRectangle { - x: control.mirrored ? 1 : parent.width - width - 1 - y: 1 - height: parent.height / 2 - 1 - implicitWidth: 16 - implicitHeight: 10 - - radius: 1.7 - clip: true - topPadding: -2 - leftPadding: -2 - color: control.up.pressed ? Fusion.buttonColor(control.palette, false, true, true) : "transparent" - - ColorImage { - scale: -1 - width: parent.width - height: parent.height - opacity: enabled ? 1.0 : 0.5 - color: control.palette.buttonText - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/arrow.png" - fillMode: Image.Pad - } - } - - down.indicator: PaddedRectangle { - x: control.mirrored ? 1 : parent.width - width - 1 - y: parent.height - height - 1 - height: parent.height / 2 - 1 - implicitWidth: 16 - implicitHeight: 10 - - radius: 1.7 - clip: true - topPadding: -2 - leftPadding: -2 - color: control.down.pressed ? Fusion.buttonColor(control.palette, false, true, true) : "transparent" - - ColorImage { - width: parent.width - height: parent.height - opacity: enabled ? 1.0 : 0.5 - color: control.palette.buttonText - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Fusion/images/arrow.png" - fillMode: Image.Pad - } - } - - background: Rectangle { - implicitWidth: 120 - implicitHeight: 24 - - radius: 2 - color: control.palette.base - border.color: control.activeFocus ? Fusion.highlightedOutline(control.palette) : Fusion.outline(control.palette) - - Rectangle { - x: 2 - y: 1 - width: parent.width - 4 - height: 1 - color: Fusion.topShadow - } - - Rectangle { - x: control.mirrored ? 1 : parent.width - width - 1 - y: 1 - width: Math.max(control.up.indicator ? control.up.indicator.width : 0, - control.down.indicator ? control.down.indicator.width : 0) + 1 - height: parent.height - 2 - - radius: 2 - gradient: Gradient { - GradientStop { - position: 0 - color: Fusion.gradientStart(Fusion.buttonColor(control.palette, control.visualFocus, false, control.up.hovered || control.down.hovered)) - } - GradientStop { - position: 1 - color: Fusion.gradientStop(Fusion.buttonColor(control.palette, control.visualFocus, false, control.up.hovered || control.down.hovered)) - } - } - - Rectangle { - x: control.mirrored ? parent.width - 1 : 0 - height: parent.height - width: 1 - color: Fusion.outline(control.palette) - } - } - - Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - color: "transparent" - border.color: Color.transparent(Fusion.highlightedOutline(control.palette), 40 / 255) - visible: control.activeFocus - radius: 1.7 - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/SplitView.qml b/bin/QtQuick/Controls.2/Fusion/SplitView.qml deleted file mode 100644 index 6a04b4da1..000000000 --- a/bin/QtQuick/Controls.2/Fusion/SplitView.qml +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2018 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.13 -import QtQuick.Templates 2.13 as T -import QtQuick.Controls 2.13 -import QtQuick.Controls.impl 2.13 -import QtQuick.Controls.Fusion 2.13 - -T.SplitView { - id: control - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - handle: Rectangle { - implicitWidth: control.orientation === Qt.Horizontal ? 2 : control.width - implicitHeight: control.orientation === Qt.Horizontal ? control.height : 2 - color: T.SplitHandle.pressed ? palette.dark - : (T.SplitHandle.hovered ? control.palette.midlight : control.palette.mid) - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/SwipeDelegate.qml b/bin/QtQuick/Controls.2/Fusion/SwipeDelegate.qml deleted file mode 100644 index 48c531ea4..000000000 --- a/bin/QtQuick/Controls.2/Fusion/SwipeDelegate.qml +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.SwipeDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 20 - color: control.down ? Fusion.buttonColor(control.palette, false, true, true) - : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Switch.qml b/bin/QtQuick/Controls.2/Fusion/Switch.qml deleted file mode 100644 index bf18003a8..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Switch.qml +++ /dev/null @@ -1,72 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Switch { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - indicator: SwitchIndicator { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.palette.text - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/SwitchDelegate.qml b/bin/QtQuick/Controls.2/Fusion/SwitchDelegate.qml deleted file mode 100644 index 67c419244..000000000 --- a/bin/QtQuick/Controls.2/Fusion/SwitchDelegate.qml +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.SwitchDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - indicator: SwitchIndicator { - x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: IconLabel { - leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 20 - color: control.down ? Fusion.buttonColor(control.palette, false, true, true) - : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/SwitchIndicator.qml b/bin/QtQuick/Controls.2/Fusion/SwitchIndicator.qml deleted file mode 100644 index ae7c89a08..000000000 --- a/bin/QtQuick/Controls.2/Fusion/SwitchIndicator.qml +++ /dev/null @@ -1,137 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -Rectangle { - id: indicator - - property Item control - readonly property color pressedColor: Fusion.mergedColors(control.palette.base, control.palette.windowText, 85) - readonly property color checkMarkColor: Qt.darker(control.palette.text, 1.2) - - implicitWidth: 40 - implicitHeight: 16 - - radius: 2 - border.color: Fusion.outline(control.palette) - - gradient: Gradient { - GradientStop { - position: 0 - color: Qt.darker(Fusion.grooveColor(indicator.control.palette), 1.1) - } - GradientStop { - position: 1 - color: Qt.lighter(Fusion.grooveColor(indicator.control.palette), 1.1) - } - } - - Rectangle { - x: indicator.control.mirrored ? handle.x : 0 - width: indicator.control.mirrored ? parent.width - handle.x : handle.x + handle.width - height: parent.height - - opacity: indicator.control.checked ? 1 : 0 - Behavior on opacity { - enabled: !indicator.control.down - NumberAnimation { duration: 80 } - } - - radius: 2 - border.color: Qt.darker(Fusion.highlightedOutline(indicator.control.palette), 1.1) - border.width: indicator.control.enabled ? 1 : 0 - - gradient: Gradient { - GradientStop { - position: 0 - color: Fusion.highlight(indicator.control.palette) - } - GradientStop { - position: 1 - color: Qt.lighter(Fusion.highlight(indicator.control.palette), 1.2) - } - } - } - - Rectangle { - id: handle - x: Math.max(0, Math.min(parent.width - width, indicator.control.visualPosition * parent.width - (width / 2))) - y: (parent.height - height) / 2 - width: 20 - height: 16 - radius: 2 - - gradient: Gradient { - GradientStop { - position: 0 - color: Fusion.gradientStart(Fusion.buttonColor(indicator.control.palette, indicator.control.visualFocus, indicator.control.pressed, indicator.control.hovered)) - } - GradientStop { - position: 1 - color: Fusion.gradientStop(Fusion.buttonColor(indicator.control.palette, indicator.control.visualFocus, indicator.control.pressed, indicator.control.hovered)) - } - } - border.width: 1 - border.color: "transparent" - - Rectangle { - width: parent.width - height: parent.height - border.color: indicator.control.visualFocus ? Fusion.highlightedOutline(indicator.control.palette) : Fusion.outline(indicator.control.palette) - color: "transparent" - radius: 2 - - Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - border.color: Fusion.innerContrastLine - color: "transparent" - radius: 2 - } - } - - Behavior on x { - enabled: !indicator.control.down - SmoothedAnimation { velocity: 200 } - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/TabBar.qml b/bin/QtQuick/Controls.2/Fusion/TabBar.qml deleted file mode 100644 index 233a2acdf..000000000 --- a/bin/QtQuick/Controls.2/Fusion/TabBar.qml +++ /dev/null @@ -1,80 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.TabBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - spacing: -1 - - contentItem: ListView { - model: control.contentModel - currentIndex: control.currentIndex - - spacing: control.spacing - orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds - flickableDirection: Flickable.AutoFlickIfNeeded - snapMode: ListView.SnapToItem - - highlightMoveDuration: 0 - highlightRangeMode: ListView.ApplyRange - preferredHighlightBegin: 40 - preferredHighlightEnd: width - 40 - } - - background: Item { - implicitHeight: 21 - - Rectangle { - width: parent.width - height: 1 - y: control.position === T.TabBar.Header ? parent.height - 1 : 0 - color: Fusion.outline(control.palette) - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/TabButton.qml b/bin/QtQuick/Controls.2/Fusion/TabButton.qml deleted file mode 100644 index 136503b6b..000000000 --- a/bin/QtQuick/Controls.2/Fusion/TabButton.qml +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.TabButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 2 - horizontalPadding: 4 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - z: checked - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.palette.buttonText - } - - background: Rectangle { - y: control.checked || control.TabBar.position !== T.TabBar.Header ? 0 : 2 - implicitHeight: 21 - height: control.height - (control.checked ? 0 : 2) - - border.color: Qt.lighter(Fusion.outline(control.palette), 1.1) - - gradient: Gradient { - GradientStop { - position: 0 - color: control.checked ? Qt.lighter(Fusion.tabFrameColor(control.palette), 1.04) - : Qt.darker(Fusion.tabFrameColor(control.palette), 1.08) - } - GradientStop { - position: control.checked ? 0 : 0.85 - color: control.checked ? Qt.lighter(Fusion.tabFrameColor(control.palette), 1.04) - : Qt.darker(Fusion.tabFrameColor(control.palette), 1.08) - } - GradientStop { - position: 1 - color: control.checked ? Fusion.tabFrameColor(control.palette) - : Qt.darker(Fusion.tabFrameColor(control.palette), 1.16) - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/TextArea.qml b/bin/QtQuick/Controls.2/Fusion/TextArea.qml deleted file mode 100644 index c7107ac44..000000000 --- a/bin/QtQuick/Controls.2/Fusion/TextArea.qml +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.TextArea { - id: control - - implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, - implicitBackgroundWidth + leftInset + rightInset, - placeholder.implicitWidth + leftPadding + rightPadding) - implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, - implicitBackgroundHeight + topInset + bottomInset, - placeholder.implicitHeight + topPadding + bottomPadding) - - padding: 6 - leftPadding: padding + 4 - - color: control.palette.text - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - placeholderTextColor: Color.transparent(control.color, 0.5) - - PlaceholderText { - id: placeholder - x: control.leftPadding - y: control.topPadding - width: control.width - (control.leftPadding + control.rightPadding) - height: control.height - (control.topPadding + control.bottomPadding) - - text: control.placeholderText - font: control.font - color: control.placeholderTextColor - verticalAlignment: control.verticalAlignment - visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) - elide: Text.ElideRight - renderType: control.renderType - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/TextField.qml b/bin/QtQuick/Controls.2/Fusion/TextField.qml deleted file mode 100644 index d5b5788d2..000000000 --- a/bin/QtQuick/Controls.2/Fusion/TextField.qml +++ /dev/null @@ -1,103 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.TextField { - id: control - - implicitWidth: implicitBackgroundWidth + leftInset + rightInset - || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding, - placeholder.implicitHeight + topPadding + bottomPadding) - - padding: 4 - - color: control.palette.text - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - placeholderTextColor: Color.transparent(control.color, 0.5) - verticalAlignment: TextInput.AlignVCenter - - PlaceholderText { - id: placeholder - x: control.leftPadding - y: control.topPadding - width: control.width - (control.leftPadding + control.rightPadding) - height: control.height - (control.topPadding + control.bottomPadding) - - text: control.placeholderText - font: control.font - color: control.placeholderTextColor - verticalAlignment: control.verticalAlignment - visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) - elide: Text.ElideRight - renderType: control.renderType - } - - background: Rectangle { - implicitWidth: 120 - implicitHeight: 24 - - radius: 2 - color: control.palette.base - border.color: control.activeFocus ? Fusion.highlightedOutline(control.palette) : Fusion.outline(control.palette) - - Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - color: "transparent" - border.color: Color.transparent(Fusion.highlightedOutline(control.palette), 40 / 255) - visible: control.activeFocus - radius: 1.7 - } - - Rectangle { - x: 2 - y: 1 - width: parent.width - 4 - height: 1 - color: Fusion.topShadow - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ToolBar.qml b/bin/QtQuick/Controls.2/Fusion/ToolBar.qml deleted file mode 100644 index fa069c0b7..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ToolBar.qml +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.ToolBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - horizontalPadding: 6 - topPadding: control.position === T.ToolBar.Footer ? 1 : 0 - bottomPadding: control.position === T.ToolBar.Header ? 1 : 0 - - background: Rectangle { - implicitHeight: 26 - - gradient: Gradient { - GradientStop { - position: 0 - color: Qt.lighter(control.palette.window, 1.04) - } - GradientStop { - position: 1 - color: control.palette.window - } - } - - Rectangle { - width: parent.width - height: 1 - color: control.position === T.ToolBar.Header ? Fusion.lightShade : Fusion.darkShade - } - - Rectangle { - y: parent.height - height - width: parent.width - height: 1 - color: control.position === T.ToolBar.Header ? Fusion.darkShade : Fusion.lightShade - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ToolButton.qml b/bin/QtQuick/Controls.2/Fusion/ToolButton.qml deleted file mode 100644 index 4c00b4027..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ToolButton.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.ToolButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 16 - icon.height: 16 - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.palette.buttonText - } - - background: ButtonPanel { - implicitWidth: 20 - implicitHeight: 20 - - control: control - visible: control.down || control.checked || control.highlighted || control.visualFocus || control.hovered - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ToolSeparator.qml b/bin/QtQuick/Controls.2/Fusion/ToolSeparator.qml deleted file mode 100644 index 5d3666521..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ToolSeparator.qml +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.ToolSeparator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: vertical ? 6 : 2 - verticalPadding: vertical ? 2 : 6 - - contentItem: Rectangle { - implicitWidth: vertical ? 2 : 8 - implicitHeight: vertical ? 8 : 2 - color: Qt.darker(control.palette.window, 1.1) - - Rectangle { - x: 1 - width: 1 - height: parent.height - color: Qt.lighter(control.palette.window, 1.1) - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/ToolTip.qml b/bin/QtQuick/Controls.2/Fusion/ToolTip.qml deleted file mode 100644 index b505e2c99..000000000 --- a/bin/QtQuick/Controls.2/Fusion/ToolTip.qml +++ /dev/null @@ -1,80 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.ToolTip { - id: control - - x: parent ? (parent.width - implicitWidth) / 2 : 0 - y: -implicitHeight - 3 - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - margins: 6 - padding: 6 - - closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent - - contentItem: Text { - text: control.text - font: control.font - wrapMode: Text.Wrap - color: control.palette.toolTipText - } - - background: Rectangle { - color: control.palette.toolTipBase - border.color: control.palette.toolTipText - - Rectangle { - z: -1 - x: 1; y: 1 - width: parent.width - height: parent.height - color: control.palette.shadow - opacity: 0.5 - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/Tumbler.qml b/bin/QtQuick/Controls.2/Fusion/Tumbler.qml deleted file mode 100644 index 0129f06ce..000000000 --- a/bin/QtQuick/Controls.2/Fusion/Tumbler.qml +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Fusion 2.12 -import QtQuick.Controls.Fusion.impl 2.12 - -T.Tumbler { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) || 60 // ### remove 60 in Qt 6 - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) || 200 // ### remove 200 in Qt 6 - - delegate: Text { - text: modelData - color: control.palette.windowText - font: control.font - opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - } - - contentItem: TumblerView { - implicitWidth: 60 - implicitHeight: 200 - model: control.model - delegate: control.delegate - path: Path { - startX: control.contentItem.width / 2 - startY: -control.contentItem.delegateHeight / 2 - PathLine { - x: control.contentItem.width / 2 - y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 - } - } - - property real delegateHeight: control.availableHeight / control.visibleItemCount - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/VerticalHeaderView.qml b/bin/QtQuick/Controls.2/Fusion/VerticalHeaderView.qml deleted file mode 100644 index b220cdf23..000000000 --- a/bin/QtQuick/Controls.2/Fusion/VerticalHeaderView.qml +++ /dev/null @@ -1,78 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Templates 2.15 as T - -T.VerticalHeaderView { - id: control - - implicitWidth: contentWidth - implicitHeight: syncView ? syncView.height : 0 - - delegate: Rectangle { - // Qt6: add cellPadding (and font etc) as public API in headerview - readonly property real cellPadding: 8 - - implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) - implicitHeight: text.implicitHeight + (cellPadding * 2) - border.color: "#cacaca" - - gradient: Gradient { - GradientStop { - position: 0 - color: "#fbfbfb" - } - GradientStop { - position: 1 - color: "#e0dfe0" - } - } - - Text { - id: text - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] - : model[control.textRole]) - : modelData - width: parent.width - height: parent.height - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: "#ff26282a" - } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/plugins.qmltypes b/bin/QtQuick/Controls.2/Fusion/plugins.qmltypes deleted file mode 100644 index 681b8b90f..000000000 --- a/bin/QtQuick/Controls.2/Fusion/plugins.qmltypes +++ /dev/null @@ -1,414 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls.Fusion 2.15' - -Module { - dependencies: ["QtQuick.Controls 2.0"] - Component { - name: "QQuickFusionBusyIndicator" - defaultProperty: "data" - prototype: "QQuickPaintedItem" - exports: ["QtQuick.Controls.Fusion.impl/BusyIndicatorImpl 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "color"; type: "QColor" } - Property { name: "running"; type: "bool" } - } - Component { - name: "QQuickFusionDial" - defaultProperty: "data" - prototype: "QQuickPaintedItem" - exports: ["QtQuick.Controls.Fusion.impl/DialImpl 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "highlight"; type: "bool" } - Property { name: "palette"; type: "QPalette" } - } - Component { - name: "QQuickFusionKnob" - defaultProperty: "data" - prototype: "QQuickPaintedItem" - exports: ["QtQuick.Controls.Fusion.impl/KnobImpl 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "palette"; type: "QPalette" } - } - Component { - name: "QQuickFusionStyle" - prototype: "QObject" - exports: ["QtQuick.Controls.Fusion.impl/Fusion 2.3"] - isCreatable: false - isSingleton: true - exportMetaObjectRevisions: [0] - Property { name: "lightShade"; type: "QColor"; isReadonly: true } - Property { name: "darkShade"; type: "QColor"; isReadonly: true } - Property { name: "topShadow"; type: "QColor"; isReadonly: true } - Property { name: "innerContrastLine"; type: "QColor"; isReadonly: true } - Method { - name: "highlight" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - } - Method { - name: "highlightedText" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - } - Method { - name: "outline" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - } - Method { - name: "highlightedOutline" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - } - Method { - name: "tabFrameColor" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - } - Method { - name: "buttonColor" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - Parameter { name: "highlighted"; type: "bool" } - Parameter { name: "down"; type: "bool" } - Parameter { name: "hovered"; type: "bool" } - } - Method { - name: "buttonColor" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - Parameter { name: "highlighted"; type: "bool" } - Parameter { name: "down"; type: "bool" } - } - Method { - name: "buttonColor" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - Parameter { name: "highlighted"; type: "bool" } - } - Method { - name: "buttonColor" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - } - Method { - name: "buttonOutline" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - Parameter { name: "highlighted"; type: "bool" } - Parameter { name: "enabled"; type: "bool" } - } - Method { - name: "buttonOutline" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - Parameter { name: "highlighted"; type: "bool" } - } - Method { - name: "buttonOutline" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - } - Method { - name: "gradientStart" - type: "QColor" - Parameter { name: "baseColor"; type: "QColor" } - } - Method { - name: "gradientStop" - type: "QColor" - Parameter { name: "baseColor"; type: "QColor" } - } - Method { - name: "mergedColors" - type: "QColor" - Parameter { name: "colorA"; type: "QColor" } - Parameter { name: "colorB"; type: "QColor" } - Parameter { name: "factor"; type: "int" } - } - Method { - name: "mergedColors" - type: "QColor" - Parameter { name: "colorA"; type: "QColor" } - Parameter { name: "colorB"; type: "QColor" } - } - Method { - name: "grooveColor" - type: "QColor" - Parameter { name: "palette"; type: "QPalette" } - } - } - Component { - name: "QQuickItem" - defaultProperty: "data" - prototype: "QObject" - Enum { - name: "Flags" - values: { - "ItemClipsChildrenToShape": 1, - "ItemAcceptsInputMethod": 2, - "ItemIsFocusScope": 4, - "ItemHasContents": 8, - "ItemAcceptsDrops": 16 - } - } - Enum { - name: "TransformOrigin" - values: { - "TopLeft": 0, - "Top": 1, - "TopRight": 2, - "Left": 3, - "Center": 4, - "Right": 5, - "BottomLeft": 6, - "Bottom": 7, - "BottomRight": 8 - } - } - Property { name: "parent"; type: "QQuickItem"; isPointer: true } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - Property { name: "z"; type: "double" } - Property { name: "width"; type: "double" } - Property { name: "height"; type: "double" } - Property { name: "opacity"; type: "double" } - Property { name: "enabled"; type: "bool" } - Property { name: "visible"; type: "bool" } - Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } - Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } - Property { name: "state"; type: "string" } - Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } - Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } - Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baselineOffset"; type: "double" } - Property { name: "clip"; type: "bool" } - Property { name: "focus"; type: "bool" } - Property { name: "activeFocus"; type: "bool"; isReadonly: true } - Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } - Property { name: "rotation"; type: "double" } - Property { name: "scale"; type: "double" } - Property { name: "transformOrigin"; type: "TransformOrigin" } - Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } - Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } - Property { name: "smooth"; type: "bool" } - Property { name: "antialiasing"; type: "bool" } - Property { name: "implicitWidth"; type: "double" } - Property { name: "implicitHeight"; type: "double" } - Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } - Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } - Signal { - name: "childrenRectChanged" - Parameter { type: "QRectF" } - } - Signal { - name: "baselineOffsetChanged" - Parameter { type: "double" } - } - Signal { - name: "stateChanged" - Parameter { type: "string" } - } - Signal { - name: "focusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusOnTabChanged" - revision: 1 - Parameter { type: "bool" } - } - Signal { - name: "parentChanged" - Parameter { type: "QQuickItem"; isPointer: true } - } - Signal { - name: "transformOriginChanged" - Parameter { type: "TransformOrigin" } - } - Signal { - name: "smoothChanged" - Parameter { type: "bool" } - } - Signal { - name: "antialiasingChanged" - Parameter { type: "bool" } - } - Signal { - name: "clipChanged" - Parameter { type: "bool" } - } - Signal { - name: "windowChanged" - revision: 1 - Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } - } - Signal { name: "containmentMaskChanged"; revision: 11 } - Method { name: "update" } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - Parameter { name: "targetSize"; type: "QSize" } - } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - } - Method { - name: "contains" - type: "bool" - Parameter { name: "point"; type: "QPointF" } - } - Method { - name: "mapFromItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapFromGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { name: "forceActiveFocus" } - Method { - name: "forceActiveFocus" - Parameter { name: "reason"; type: "Qt::FocusReason" } - } - Method { - name: "nextItemInFocusChain" - revision: 1 - type: "QQuickItem*" - Parameter { name: "forward"; type: "bool" } - } - Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } - Method { - name: "childAt" - type: "QQuickItem*" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { - name: "QQuickPaintedItem" - defaultProperty: "data" - prototype: "QQuickItem" - Enum { - name: "RenderTarget" - values: { - "Image": 0, - "FramebufferObject": 1, - "InvertedYFramebufferObject": 2 - } - } - Enum { - name: "PerformanceHints" - values: { - "FastFBOResizing": 1 - } - } - Property { name: "contentsSize"; type: "QSize" } - Property { name: "fillColor"; type: "QColor" } - Property { name: "contentsScale"; type: "double" } - Property { name: "renderTarget"; type: "RenderTarget" } - Property { name: "textureSize"; type: "QSize" } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Fusion.impl/ButtonPanel 2.3" - exports: ["QtQuick.Controls.Fusion.impl/ButtonPanel 2.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "highlighted"; type: "bool" } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Fusion.impl/CheckIndicator 2.3" - exports: ["QtQuick.Controls.Fusion.impl/CheckIndicator 2.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "pressedColor"; type: "QColor"; isReadonly: true } - Property { name: "checkMarkColor"; type: "QColor"; isReadonly: true } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Fusion.impl/RadioIndicator 2.3" - exports: ["QtQuick.Controls.Fusion.impl/RadioIndicator 2.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "pressedColor"; type: "QColor"; isReadonly: true } - Property { name: "checkMarkColor"; type: "QColor"; isReadonly: true } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Fusion.impl/SliderGroove 2.3" - exports: ["QtQuick.Controls.Fusion.impl/SliderGroove 2.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "offset"; type: "double" } - Property { name: "progress"; type: "double" } - Property { name: "visualProgress"; type: "double" } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Fusion.impl/SliderHandle 2.3" - exports: ["QtQuick.Controls.Fusion.impl/SliderHandle 2.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "data" - Property { name: "palette"; type: "QVariant" } - Property { name: "pressed"; type: "bool" } - Property { name: "hovered"; type: "bool" } - Property { name: "vertical"; type: "bool" } - Property { name: "visualFocus"; type: "bool" } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Fusion.impl/SwitchIndicator 2.3" - exports: ["QtQuick.Controls.Fusion.impl/SwitchIndicator 2.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "pressedColor"; type: "QColor"; isReadonly: true } - Property { name: "checkMarkColor"; type: "QColor"; isReadonly: true } - } -} diff --git a/bin/QtQuick/Controls.2/Fusion/qmldir b/bin/QtQuick/Controls.2/Fusion/qmldir deleted file mode 100644 index b584adc8a..000000000 --- a/bin/QtQuick/Controls.2/Fusion/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module QtQuick.Controls.Fusion -plugin qtquickcontrols2fusionstyleplugin -classname QtQuickControls2FusionStylePlugin -depends QtQuick.Controls 2.5 diff --git a/bin/QtQuick/Controls.2/Fusion/qtquickcontrols2fusionstyleplugin.dll b/bin/QtQuick/Controls.2/Fusion/qtquickcontrols2fusionstyleplugin.dll deleted file mode 100644 index c4135ffea..000000000 Binary files a/bin/QtQuick/Controls.2/Fusion/qtquickcontrols2fusionstyleplugin.dll and /dev/null differ diff --git a/bin/QtQuick/Controls.2/GroupBox.qml b/bin/QtQuick/Controls.2/GroupBox.qml deleted file mode 100644 index 96f776f29..000000000 --- a/bin/QtQuick/Controls.2/GroupBox.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.GroupBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitLabelWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - spacing: 6 - padding: 12 - topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) - - label: Text { - x: control.leftPadding - width: control.availableWidth - - text: control.title - font: control.font - color: control.palette.windowText - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } - - background: Rectangle { - y: control.topPadding - control.bottomPadding - width: parent.width - height: parent.height - control.topPadding + control.bottomPadding - - color: "transparent" - border.color: control.palette.mid - } -} diff --git a/bin/QtQuick/Controls.2/HorizontalHeaderView.qml b/bin/QtQuick/Controls.2/HorizontalHeaderView.qml deleted file mode 100644 index ec91af258..000000000 --- a/bin/QtQuick/Controls.2/HorizontalHeaderView.qml +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Templates 2.15 as T - -T.HorizontalHeaderView { - id: control - - implicitWidth: syncView ? syncView.width : 0 - implicitHeight: contentHeight - - delegate: Rectangle { - // Qt6: add cellPadding (and font etc) as public API in headerview - readonly property real cellPadding: 8 - - implicitWidth: text.implicitWidth + (cellPadding * 2) - implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) - color: "#f6f6f6" - border.color: "#e4e4e4" - - Text { - id: text - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] - : model[control.textRole]) - : modelData - width: parent.width - height: parent.height - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: "#ff26282a" - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/ApplicationWindow.qml b/bin/QtQuick/Controls.2/Imagine/ApplicationWindow.qml deleted file mode 100644 index 7bfcc3f9f..000000000 --- a/bin/QtQuick/Controls.2/Imagine/ApplicationWindow.qml +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Window 2.2 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.ApplicationWindow { - id: window - - // ### remove? - overlay.modal: NinePatchImage { - source: Imagine.url + "applicationwindow-overlay" - NinePatchImageSelector on source { - states: [ - {"modal": true} - ] - } - } - - // ### remove? - overlay.modeless: NinePatchImage { - source: Imagine.url + "applicationwindow-overlay" - NinePatchImageSelector on source { - states: [ - {"modal": false} - ] - } - } - - background: NinePatchImage { - width: window.width - height: window.height - - source: Imagine.url + "applicationwindow-background" - NinePatchImageSelector on source { - states: [ - {"active": window.active} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/BusyIndicator.qml b/bin/QtQuick/Controls.2/Imagine/BusyIndicator.qml deleted file mode 100644 index 652365b16..000000000 --- a/bin/QtQuick/Controls.2/Imagine/BusyIndicator.qml +++ /dev/null @@ -1,88 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.BusyIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - contentItem: AnimatedImage { - opacity: control.running ? 1 : 0 - playing: control.running || opacity > 0 - visible: control.running || opacity > 0 - Behavior on opacity { OpacityAnimator { duration: 250 } } - - source: Imagine.url + "busyindicator-animation" - AnimatedImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"running": control.running}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - background: NinePatchImage { - source: Imagine.url + "busyindicator-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"running": control.running}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Button.qml b/bin/QtQuick/Controls.2/Imagine/Button.qml deleted file mode 100644 index e7171eb14..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Button.qml +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Button { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - spacing: 6 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - icon.width: 24 - icon.height: 24 - icon.color: control.enabled && control.flat && control.highlighted ? control.palette.highlight - : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat - ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.enabled && control.flat && control.highlighted ? control.palette.highlight - : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat - ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText - } - - background: NinePatchImage { - source: Imagine.url + "button-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"checkable": control.checkable}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"flat": control.flat}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/CheckBox.qml b/bin/QtQuick/Controls.2/Imagine/CheckBox.qml deleted file mode 100644 index b91ceb40f..000000000 --- a/bin/QtQuick/Controls.2/Imagine/CheckBox.qml +++ /dev/null @@ -1,106 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.CheckBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 6 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - indicator: Image { - x: text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - - source: Imagine.url + "checkbox-indicator" - ImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checkState === Qt.Checked}, - {"partially-checked": control.checkState === Qt.PartiallyChecked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.palette.windowText - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } - - background: NinePatchImage { - source: Imagine.url + "checkbox-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checkState === Qt.Checked}, - {"partially-checked": control.checkState === Qt.PartiallyChecked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/CheckDelegate.qml b/bin/QtQuick/Controls.2/Imagine/CheckDelegate.qml deleted file mode 100644 index 199751528..000000000 --- a/bin/QtQuick/Controls.2/Imagine/CheckDelegate.qml +++ /dev/null @@ -1,118 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.CheckDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 12 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.text - - indicator: Image { - x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - source: Imagine.url + "checkdelegate-indicator" - ImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checkState === Qt.Checked}, - {"partially-checked": control.checkState === Qt.PartiallyChecked}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - contentItem: IconLabel { - leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.text - } - - background: NinePatchImage { - source: Imagine.url + "checkdelegate-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checkState === Qt.Checked}, - {"partially-checked": control.checkState === Qt.PartiallyChecked}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/ComboBox.qml b/bin/QtQuick/Controls.2/Imagine/ComboBox.qml deleted file mode 100644 index d657e734a..000000000 --- a/bin/QtQuick/Controls.2/Imagine/ComboBox.qml +++ /dev/null @@ -1,174 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Window 2.15 -import QtQuick.Templates 2.15 as T -import QtQuick.Controls 2.15 -import QtQuick.Controls.Imagine 2.15 -import QtQuick.Controls.Imagine.impl 2.15 - -T.ComboBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentItem.implicitWidth + background ? (background.leftPadding + background.rightPadding) : 0) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - Math.max(implicitContentHeight, - implicitIndicatorHeight) + background ? (background.topPadding + background.bottomPadding) : 0) - - leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) - rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - delegate: ItemDelegate { - width: ListView.view.width - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData - font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal - highlighted: control.highlightedIndex === index - hoverEnabled: control.hoverEnabled - } - - indicator: Image { - x: control.mirrored ? control.padding : control.width - width - control.padding - y: control.topPadding + (control.availableHeight - height) / 2 - - source: Imagine.url + "combobox-indicator" - ImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.pressed}, - {"editable": control.editable}, - {"open": control.down}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered}, - {"flat": control.flat} - ] - } - } - - contentItem: T.TextField { - topPadding: control.background ? control.background.topPadding : 0 - leftPadding: control.background ? control.background.leftPadding : 0 - rightPadding: control.background ? control.background.rightPadding : 0 - bottomPadding: control.background ? control.background.bottomPadding : 0 - - text: control.editable ? control.editText : control.displayText - - enabled: control.editable - autoScroll: control.editable - readOnly: control.down - inputMethodHints: control.inputMethodHints - validator: control.validator - selectByMouse: control.selectTextByMouse - - font: control.font - color: control.flat ? control.palette.windowText : control.editable ? control.palette.text : control.palette.buttonText - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - verticalAlignment: Text.AlignVCenter - } - - background: NinePatchImage { - source: Imagine.url + "combobox-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.pressed}, - {"editable": control.editable}, - {"open": control.down}, - {"focused": control.visualFocus || (control.editable && control.activeFocus)}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered}, - {"flat": control.flat} - ] - } - } - - popup: T.Popup { - width: control.width - height: Math.min(contentItem.implicitHeight + topPadding + bottomPadding, control.Window.height - topMargin - bottomMargin) - - topMargin: background.topInset - bottomMargin: background.bottomInset - - topPadding: background.topPadding - leftPadding: background.leftPadding - rightPadding: background.rightPadding - bottomPadding: background.bottomPadding - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - palette.text: control.palette.text - palette.highlight: control.palette.highlight - palette.highlightedText: control.palette.highlightedText - palette.windowText: control.palette.windowText - palette.buttonText: control.palette.buttonText - - contentItem: ListView { - clip: true - implicitHeight: contentHeight - model: control.delegateModel - currentIndex: control.highlightedIndex - highlightMoveDuration: 0 - - T.ScrollIndicator.vertical: ScrollIndicator { } - } - - background: NinePatchImage { - source: Imagine.url + "combobox-popup" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.pressed}, - {"editable": control.editable}, - {"focused": control.visualFocus || (control.editable && control.activeFocus)}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered}, - {"flat": control.flat} - ] - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/DelayButton.qml b/bin/QtQuick/Controls.2/Imagine/DelayButton.qml deleted file mode 100644 index f60b5eaee..000000000 --- a/bin/QtQuick/Controls.2/Imagine/DelayButton.qml +++ /dev/null @@ -1,138 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 -import QtGraphicalEffects 1.12 - -T.DelayButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - transition: Transition { - NumberAnimation { - duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) - } - } - - contentItem: Text { - text: control.text - font: control.font - color: control.palette.buttonText - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - elide: Text.ElideRight - } - - background: NinePatchImage { - source: Imagine.url + "delaybutton-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - - readonly property NinePatchImage progress: NinePatchImage { - parent: control.background - width: control.progress * parent.width - height: parent.height - visible: false - - source: Imagine.url + "delaybutton-progress" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - readonly property NinePatchImage mask: NinePatchImage { - width: control.background.width - height: control.background.height - visible: false - - source: Imagine.url + "delaybutton-mask" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - readonly property OpacityMask effect: OpacityMask { - parent: control.background - width: source.width - height: source.height - source: control.background.progress - - maskSource: ShaderEffectSource { - sourceItem: control.background.mask - sourceRect: Qt.rect(0, 0, control.background.effect.width, control.background.effect.height) - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Dial.qml b/bin/QtQuick/Controls.2/Imagine/Dial.qml deleted file mode 100644 index f8c394f3d..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Dial.qml +++ /dev/null @@ -1,105 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Dial { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - (handle ? handle.implicitWidth : 0) + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - (handle ? handle.implicitHeight : 0) + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - handle: Image { - x: background.x + background.width / 2 - handle.width / 2 - y: background.y + background.height / 2 - handle.height / 2 - - source: Imagine.url + "dial-handle" - ImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.pressed}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - - transform: [ - Translate { - y: -Math.min(control.background.width, control.background.height) * 0.4 + control.handle.height / 2 - }, - Rotation { - angle: control.angle - origin.x: handle.width / 2 - origin.y: handle.height / 2 - } - ] - } - - background: NinePatchImage { - x: control.width / 2 - width / 2 - y: control.height / 2 - height / 2 - width: Math.max(64, Math.min(control.width, control.height)) - height: width - fillMode: Image.PreserveAspectFit - - source: Imagine.url + "dial-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.pressed}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Dialog.qml b/bin/QtQuick/Controls.2/Imagine/Dialog.qml deleted file mode 100644 index 730b7f573..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Dialog.qml +++ /dev/null @@ -1,117 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Dialog { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitHeaderWidth, - implicitFooterWidth) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding - + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) - + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - background: NinePatchImage { - source: Imagine.url + "dialog-background" - NinePatchImageSelector on source { - states: [ - {"modal": control.modal}, - {"dim": control.dim} - ] - } - } - - header: Label { - text: control.title - visible: control.title - elide: Label.ElideRight - font.bold: true - padding: 12 - - background: NinePatchImage { - width: parent.width - height: parent.height - - source: Imagine.url + "dialog-title" - NinePatchImageSelector on source { - states: [ - {"modal": control.modal}, - {"dim": control.dim} - ] - } - } - } - - footer: DialogButtonBox { - visible: count > 0 - } - - T.Overlay.modal: NinePatchImage { - source: Imagine.url + "dialog-overlay" - NinePatchImageSelector on source { - states: [ - {"modal": true} - ] - } - } - - T.Overlay.modeless: NinePatchImage { - source: Imagine.url + "dialog-overlay" - NinePatchImageSelector on source { - states: [ - {"modal": false} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/DialogButtonBox.qml b/bin/QtQuick/Controls.2/Imagine/DialogButtonBox.qml deleted file mode 100644 index c24b29fc4..000000000 --- a/bin/QtQuick/Controls.2/Imagine/DialogButtonBox.qml +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.DialogButtonBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - (control.count === 1 ? contentWidth * 2 : contentWidth) + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - spacing: 6 - - delegate: Button { - width: control.count === 1 ? control.availableWidth / 2 : undefined - flat: true - } - - contentItem: ListView { - model: control.contentModel - spacing: control.spacing - orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds - snapMode: ListView.SnapToItem - } - - background: NinePatchImage { - source: Imagine.url + "dialogbuttonbox-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Drawer.qml b/bin/QtQuick/Controls.2/Imagine/Drawer.qml deleted file mode 100644 index 2c93ba751..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Drawer.qml +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Drawer { - id: control - - parent: T.ApplicationWindow.overlay - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - enter: Transition { SmoothedAnimation { velocity: 5 } } - exit: Transition { SmoothedAnimation { velocity: 5 } } - - background: NinePatchImage { - source: Imagine.url + "drawer-background" - NinePatchImageSelector on source { - states: [ - {"modal": control.modal}, - {"dim": control.dim}, - {"top": control.edge === Qt.TopEdge}, - {"left": control.edge === Qt.LeftEdge}, - {"right": control.edge === Qt.RightEdge}, - {"bottom": control.edge === Qt.BottomEdge} - ] - } - } - - T.Overlay.modal: NinePatchImage { - source: Imagine.url + "drawer-overlay" - NinePatchImageSelector on source { - states: [ - {"modal": true} - ] - } - } - - T.Overlay.modeless: NinePatchImage { - source: Imagine.url + "drawer-overlay" - NinePatchImageSelector on source { - states: [ - {"modal": false} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Frame.qml b/bin/QtQuick/Controls.2/Imagine/Frame.qml deleted file mode 100644 index 2bef3c88a..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Frame.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Frame { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - background: NinePatchImage { - source: Imagine.url + "frame-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/GroupBox.qml b/bin/QtQuick/Controls.2/Imagine/GroupBox.qml deleted file mode 100644 index 46f9c98a4..000000000 --- a/bin/QtQuick/Controls.2/Imagine/GroupBox.qml +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.GroupBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitLabelWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: (background ? background.topPadding : 0) + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - label: Label { - width: control.width - - topPadding: background.topPadding - leftPadding: background.leftPadding - rightPadding: background.rightPadding - bottomPadding: background.bottomPadding - - text: control.title - font: control.font - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - - color: control.palette.windowText - - background: NinePatchImage { - width: parent.width - height: parent.height - - source: Imagine.url + "groupbox-title" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } - } - - background: NinePatchImage { - x: -leftInset - y: control.topPadding - control.bottomPadding - topInset - width: control.width + leftInset + rightInset - height: control.height + topInset + bottomInset - control.topPadding + control.bottomPadding - - source: Imagine.url + "groupbox-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/HorizontalHeaderView.qml b/bin/QtQuick/Controls.2/Imagine/HorizontalHeaderView.qml deleted file mode 100644 index ec91af258..000000000 --- a/bin/QtQuick/Controls.2/Imagine/HorizontalHeaderView.qml +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Templates 2.15 as T - -T.HorizontalHeaderView { - id: control - - implicitWidth: syncView ? syncView.width : 0 - implicitHeight: contentHeight - - delegate: Rectangle { - // Qt6: add cellPadding (and font etc) as public API in headerview - readonly property real cellPadding: 8 - - implicitWidth: text.implicitWidth + (cellPadding * 2) - implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) - color: "#f6f6f6" - border.color: "#e4e4e4" - - Text { - id: text - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] - : model[control.textRole]) - : modelData - width: parent.width - height: parent.height - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: "#ff26282a" - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/ItemDelegate.qml b/bin/QtQuick/Controls.2/Imagine/ItemDelegate.qml deleted file mode 100644 index 0b3edeaff..000000000 --- a/bin/QtQuick/Controls.2/Imagine/ItemDelegate.qml +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.ItemDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 12 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.text - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.text - } - - background: NinePatchImage { - source: Imagine.url + "itemdelegate-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Label.qml b/bin/QtQuick/Controls.2/Imagine/Label.qml deleted file mode 100644 index 82c0ef475..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Label.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Label { - id: control - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - color: control.palette.windowText - linkColor: control.palette.link - - background: NinePatchImage { - source: Imagine.url + "label-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Menu.qml b/bin/QtQuick/Controls.2/Imagine/Menu.qml deleted file mode 100644 index 832565e6b..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Menu.qml +++ /dev/null @@ -1,108 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 -import QtQuick.Window 2.12 - -T.Menu { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topMargin: background ? background.topInset : 0 - leftMargin: background ? background.leftInset : 0 - rightMargin: background ? background.rightInset : 0 - bottomMargin: background ? background.bottomInset : 0 - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - delegate: MenuItem { } - - contentItem: ListView { - implicitHeight: contentHeight - model: control.contentModel - interactive: Window.window - ? contentHeight + control.topPadding + control.bottomPadding > Window.window.height - : false - clip: true - currentIndex: control.currentIndex - - T.ScrollIndicator.vertical: ScrollIndicator { } - } - - background: NinePatchImage { - source: Imagine.url + "menu-background" - NinePatchImageSelector on source { - states: [ - {"modal": control.modal}, - {"dim": control.dim} - ] - } - } - - T.Overlay.modal: NinePatchImage { - source: Imagine.url + "menu-overlay" - NinePatchImageSelector on source { - states: [ - {"modal": true} - ] - } - } - - T.Overlay.modeless: NinePatchImage { - source: Imagine.url + "menu-overlay" - NinePatchImageSelector on source { - states: [ - {"modal": false} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/MenuItem.qml b/bin/QtQuick/Controls.2/Imagine/MenuItem.qml deleted file mode 100644 index f85fc657f..000000000 --- a/bin/QtQuick/Controls.2/Imagine/MenuItem.qml +++ /dev/null @@ -1,138 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.MenuItem { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 6 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.windowText - - contentItem: IconLabel { - readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 - readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 - leftPadding: !control.mirrored ? indicatorPadding : arrowPadding - rightPadding: control.mirrored ? indicatorPadding : arrowPadding - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.windowText - } - - arrow: Image { - x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - visible: control.subMenu - source: Imagine.url + "menuitem-arrow" - ImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - indicator: Image { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - - visible: control.checkable - source: Imagine.url + "menuitem-indicator" - ImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - background: NinePatchImage { - source: Imagine.url + "menuitem-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/MenuSeparator.qml b/bin/QtQuick/Controls.2/Imagine/MenuSeparator.qml deleted file mode 100644 index 9ed390873..000000000 --- a/bin/QtQuick/Controls.2/Imagine/MenuSeparator.qml +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.MenuSeparator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - contentItem: NinePatchImage { - source: Imagine.url + "menuseparator-separator" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } - - background: NinePatchImage { - source: Imagine.url + "menuseparator-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Page.qml b/bin/QtQuick/Controls.2/Imagine/Page.qml deleted file mode 100644 index 07ec0a758..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Page.qml +++ /dev/null @@ -1,73 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Page { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitHeaderWidth, - implicitFooterWidth) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding - + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) - + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - background: NinePatchImage { - source: Imagine.url + "page-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/PageIndicator.qml b/bin/QtQuick/Controls.2/Imagine/PageIndicator.qml deleted file mode 100644 index 8da89f5a1..000000000 --- a/bin/QtQuick/Controls.2/Imagine/PageIndicator.qml +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.PageIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - delegate: Image { - source: Imagine.url + "pageindicator-delegate" - ImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": pressed}, - {"current": index === control.currentIndex}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} // ### TODO: context property - ] - } - } - - contentItem: Row { - spacing: control.spacing - - Repeater { - model: control.count - delegate: control.delegate - } - } - - background: NinePatchImage { - source: Imagine.url + "pageindicator-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Pane.qml b/bin/QtQuick/Controls.2/Imagine/Pane.qml deleted file mode 100644 index 970b22b94..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Pane.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Pane { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - background: NinePatchImage { - source: Imagine.url + "pane-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Popup.qml b/bin/QtQuick/Controls.2/Imagine/Popup.qml deleted file mode 100644 index 8f69bef46..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Popup.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Popup { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : undefined - leftPadding: background ? background.leftPadding : undefined - rightPadding: background ? background.rightPadding : undefined - bottomPadding: background ? background.bottomPadding : undefined - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - background: NinePatchImage { - source: Imagine.url + "popup-background" - NinePatchImageSelector on source { - states: [ - {"modal": control.modal}, - {"dim": control.dim} - ] - } - } - - T.Overlay.modal: NinePatchImage { - source: Imagine.url + "popup-overlay" - NinePatchImageSelector on source { - states: [ - {"modal": true} - ] - } - } - - T.Overlay.modeless: NinePatchImage { - source: Imagine.url + "popup-overlay" - NinePatchImageSelector on source { - states: [ - {"modal": false} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/ProgressBar.qml b/bin/QtQuick/Controls.2/Imagine/ProgressBar.qml deleted file mode 100644 index 2f78004ed..000000000 --- a/bin/QtQuick/Controls.2/Imagine/ProgressBar.qml +++ /dev/null @@ -1,142 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 -import QtGraphicalEffects 1.12 - -T.ProgressBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - contentItem: Item { - implicitWidth: control.indeterminate ? animation.implicitWidth || progress.implicitWidth : progress.implicitWidth - implicitHeight: control.indeterminate ? animation.implicitHeight || progress.implicitHeight : progress.implicitHeight - scale: control.mirrored ? -1 : 1 - - readonly property bool hasMask: mask.status !== Image.Null - - readonly property NinePatchImage progress: NinePatchImage { - parent: control.contentItem - width: control.position * parent.width - height: parent.height - visible: !control.indeterminate && !control.contentItem.hasMask - - source: Imagine.url + "progressbar-progress" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"indeterminate": control.indeterminate}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - readonly property AnimatedImage animation: AnimatedImage { - parent: control.contentItem - width: parent.width - height: parent.height - playing: control.indeterminate - visible: control.indeterminate && !control.contentItem.hasMask - - source: Imagine.url + "progressbar-animation" - AnimatedImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - readonly property NinePatchImage mask: NinePatchImage { - width: control.availableWidth - height: control.availableHeight - visible: false - - source: Imagine.url + "progressbar-mask" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"indeterminate": control.indeterminate}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - readonly property OpacityMask effect: OpacityMask { - parent: control.contentItem - width: source.width - height: source.height - source: control.indeterminate ? control.contentItem.animation : control.contentItem.progress - - maskSource: ShaderEffectSource { - sourceItem: control.contentItem.mask - sourceRect: Qt.rect(0, 0, control.contentItem.effect.width, control.contentItem.effect.height) - } - } - } - - background: NinePatchImage { - source: Imagine.url + "progressbar-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"indeterminate": control.indeterminate}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/RadioButton.qml b/bin/QtQuick/Controls.2/Imagine/RadioButton.qml deleted file mode 100644 index a50bc1276..000000000 --- a/bin/QtQuick/Controls.2/Imagine/RadioButton.qml +++ /dev/null @@ -1,104 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.RadioButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 6 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - indicator: Image { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - - source: Imagine.url + "radiobutton-indicator" - ImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.palette.windowText - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } - - background: NinePatchImage { - source: Imagine.url + "radiobutton-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/RadioDelegate.qml b/bin/QtQuick/Controls.2/Imagine/RadioDelegate.qml deleted file mode 100644 index 5a8356f87..000000000 --- a/bin/QtQuick/Controls.2/Imagine/RadioDelegate.qml +++ /dev/null @@ -1,116 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.RadioDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 12 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.text - - indicator: Image { - x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - source: Imagine.url + "radiodelegate-indicator" - ImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - contentItem: IconLabel { - leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.text - } - - background: NinePatchImage { - source: Imagine.url + "radiodelegate-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/RangeSlider.qml b/bin/QtQuick/Controls.2/Imagine/RangeSlider.qml deleted file mode 100644 index 47d90cf3e..000000000 --- a/bin/QtQuick/Controls.2/Imagine/RangeSlider.qml +++ /dev/null @@ -1,134 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.RangeSlider { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - first.implicitHandleWidth + leftPadding + rightPadding, - second.implicitHandleWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - first.implicitHandleHeight + topPadding + bottomPadding, - second.implicitHandleHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - first.handle: Image { - x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) - - source: Imagine.url + "rangeslider-handle" - ImageSelector on source { - states: [ - {"first": true}, - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"pressed": control.first.pressed}, - {"focused": control.first.handle.activeFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.first.hovered} - ] - } - } - - second.handle: Image { - x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) - - source: Imagine.url + "rangeslider-handle" - ImageSelector on source { - states: [ - {"second": true}, - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"pressed": control.second.pressed}, - {"focused": control.second.handle.activeFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.second.hovered} - ] - } - } - - background: NinePatchImage { - scale: control.horizontal && control.mirrored ? -1 : 1 - - source: Imagine.url + "rangeslider-background" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - - NinePatchImage { - x: control.horizontal ? control.first.handle.width / 2 + control.first.position * (parent.width - control.first.handle.width) : (parent.width - width) / 2 - y: control.horizontal ? (parent.height - height) / 2 : control.first.handle.height / 2 + control.second.visualPosition * (parent.height - control.first.handle.height) - width: control.horizontal ? control.second.position * (parent.width - control.first.handle.width) - control.first.position * (parent.width - control.first.handle.width) : parent.width - height: control.vertical ? control.second.position * (parent.height - control.first.handle.height) - control.first.position * (parent.height - control.first.handle.height): parent.height - - source: Imagine.url + "rangeslider-progress" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/RoundButton.qml b/bin/QtQuick/Controls.2/Imagine/RoundButton.qml deleted file mode 100644 index fe4cbb366..000000000 --- a/bin/QtQuick/Controls.2/Imagine/RoundButton.qml +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.RoundButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - icon.width: 24 - icon.height: 24 - icon.color: control.enabled && control.flat && control.highlighted ? control.palette.highlight - : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat - ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.enabled && control.flat && control.highlighted ? control.palette.highlight - : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat - ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText - } - - background: NinePatchImage { - // ### TODO: radius? - source: Imagine.url + "roundbutton-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"checkable": control.checkable}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"flat": control.flat}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/ScrollBar.qml b/bin/QtQuick/Controls.2/Imagine/ScrollBar.qml deleted file mode 100644 index 68772e12d..000000000 --- a/bin/QtQuick/Controls.2/Imagine/ScrollBar.qml +++ /dev/null @@ -1,119 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.ScrollBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - visible: control.policy !== T.ScrollBar.AlwaysOff - minimumSize: orientation == Qt.Horizontal ? height / width : width / height - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - contentItem: NinePatchImage { - width: control.availableWidth - height: control.availableHeight - - source: Imagine.url + "scrollbar-handle" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"interactive": control.interactive}, - {"pressed": control.pressed}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - opacity: 0.0 - } - - background: NinePatchImage { - source: Imagine.url + "scrollbar-background" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"interactive": control.interactive}, - {"pressed": control.pressed}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - opacity: 0.0 - } - - states: [ - State { - name: "active" - when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) - } - ] - - transitions: [ - Transition { - to: "active" - NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 1.0 } - }, - Transition { - from: "active" - SequentialAnimation { - PropertyAction{ targets: [control.contentItem, control.background]; property: "opacity"; value: 1.0 } - PauseAnimation { duration: 3000 } - NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 0.0 } - } - } - ] -} diff --git a/bin/QtQuick/Controls.2/Imagine/ScrollIndicator.qml b/bin/QtQuick/Controls.2/Imagine/ScrollIndicator.qml deleted file mode 100644 index 896cd8768..000000000 --- a/bin/QtQuick/Controls.2/Imagine/ScrollIndicator.qml +++ /dev/null @@ -1,111 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.ScrollIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - contentItem: NinePatchImage { - width: control.availableWidth - height: control.availableHeight - - source: Imagine.url + "scrollindicator-handle" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - opacity: 0.0 - } - - background: NinePatchImage { - source: Imagine.url + "scrollindicator-background" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - opacity: 0.0 - } - - states: [ - State { - name: "active" - when: (control.active && control.size < 1.0) - } - ] - - transitions: [ - Transition { - to: "active" - NumberAnimation { targets: [contentItem, control.background]; property: "opacity"; to: 1.0 } - }, - Transition { - from: "active" - SequentialAnimation { - PauseAnimation { duration: 5000 } - NumberAnimation { targets: [contentItem, control.background]; property: "opacity"; to: 0.0 } - } - } - ] -} diff --git a/bin/QtQuick/Controls.2/Imagine/Slider.qml b/bin/QtQuick/Controls.2/Imagine/Slider.qml deleted file mode 100644 index fe9c33888..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Slider.qml +++ /dev/null @@ -1,120 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Slider { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitHandleWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitHandleHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - handle: Image { - x: Math.round(control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2)) - y: Math.round(control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height))) - - source: Imagine.url + "slider-handle" - ImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"pressed": control.pressed}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - - background: NinePatchImage { - scale: control.horizontal && control.mirrored ? -1 : 1 - - source: Imagine.url + "slider-background" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - - NinePatchImage { - x: control.horizontal ? 0 : (parent.width - width) / 2 - y: control.horizontal - ? (parent.height - height) / 2 - : control.handle.height / 2 + control.visualPosition * (parent.height - control.handle.height) - width: control.horizontal - ? control.handle.width / 2 + control.position * (parent.width - control.handle.width) - : parent.width - height: control.vertical - ? control.handle.height / 2 + control.position * (parent.height - control.handle.height) - : parent.height - - source: Imagine.url + "slider-progress" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/SpinBox.qml b/bin/QtQuick/Controls.2/Imagine/SpinBox.qml deleted file mode 100644 index 611358067..000000000 --- a/bin/QtQuick/Controls.2/Imagine/SpinBox.qml +++ /dev/null @@ -1,152 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.SpinBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentItem.implicitWidth + 2 * padding + - up.implicitIndicatorWidth + - down.implicitIndicatorWidth) - implicitHeight: Math.max(implicitContentHeight + topPadding + bottomPadding, - implicitBackgroundHeight, - up.implicitIndicatorHeight, - down.implicitIndicatorHeight) - - topPadding: background ? background.topPadding : 0 - leftPadding: (background ? background.leftPadding : 0) + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) - rightPadding: (background ? background.rightPadding : 0) + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - validator: IntValidator { - locale: control.locale.name - bottom: Math.min(control.from, control.to) - top: Math.max(control.from, control.to) - } - - contentItem: TextInput { - z: 2 - text: control.displayText - opacity: control.enabled ? 1 : 0.3 - - font: control.font - color: control.palette.text - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - horizontalAlignment: Qt.AlignHCenter - verticalAlignment: Qt.AlignVCenter - - readOnly: !control.editable - validator: control.validator - inputMethodHints: control.inputMethodHints - - NinePatchImage { - z: -1 - width: control.width - height: control.height - visible: control.editable - - source: Imagine.url + "spinbox-editor" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"focused": control.activeFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } - } - - up.indicator: NinePatchImage { - x: control.mirrored ? 0 : parent.width - width - height: parent.height - - source: Imagine.url + "spinbox-indicator" - NinePatchImageSelector on source { - states: [ - {"up": true}, - {"disabled": !control.up.indicator.enabled}, - {"editable": control.editable}, - {"pressed": control.up.pressed}, - {"focused": control.activeFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.up.hovered} - ] - } - } - - down.indicator: NinePatchImage { - x: control.mirrored ? parent.width - width : 0 - height: parent.height - - source: Imagine.url + "spinbox-indicator" - NinePatchImageSelector on source { - states: [ - {"down": true}, - {"disabled": !control.down.indicator.enabled}, - {"editable": control.editable}, - {"pressed": control.down.pressed}, - {"focused": control.activeFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.down.hovered} - ] - } - } - - background: NinePatchImage { - source: Imagine.url + "spinbox-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"editable": control.editable}, - {"focused": control.activeFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/SplitView.qml b/bin/QtQuick/Controls.2/Imagine/SplitView.qml deleted file mode 100644 index a4a858f43..000000000 --- a/bin/QtQuick/Controls.2/Imagine/SplitView.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.13 -import QtQuick.Templates 2.13 as T -import QtQuick.Controls.Imagine 2.13 -import QtQuick.Controls.Imagine.impl 2.13 - -T.SplitView { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - handle: NinePatchImage { - source: Imagine.url + "splitview-handle" - NinePatchImageSelector on source { - states: [ - {"vertical": control.orientation === Qt.Vertical}, - {"horizontal":control.orientation === Qt.Horizontal}, - {"disabled": !control.enabled}, - {"pressed": T.SplitHandle.pressed}, - {"mirrored": control.mirrored}, - {"hovered": T.SplitHandle.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/StackView.qml b/bin/QtQuick/Controls.2/Imagine/StackView.qml deleted file mode 100644 index 407b1d15d..000000000 --- a/bin/QtQuick/Controls.2/Imagine/StackView.qml +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.StackView { - id: control - - implicitWidth: implicitBackgroundWidth - implicitHeight: implicitBackgroundHeight - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - popEnter: Transition { - XAnimator { from: (control.mirrored ? -1 : 1) * -control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } - } - - popExit: Transition { - XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * control.width; duration: 400; easing.type: Easing.OutCubic } - } - - pushEnter: Transition { - XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } - } - - pushExit: Transition { - XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } - } - - replaceEnter: Transition { - XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } - } - - replaceExit: Transition { - XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } - } - - background: NinePatchImage { - source: Imagine.url + "stackview-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/SwipeDelegate.qml b/bin/QtQuick/Controls.2/Imagine/SwipeDelegate.qml deleted file mode 100644 index 3850253f6..000000000 --- a/bin/QtQuick/Controls.2/Imagine/SwipeDelegate.qml +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.SwipeDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 12 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.text - - swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.text - } - - background: NinePatchImage { - source: Imagine.url + "swipedelegate-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/SwipeView.qml b/bin/QtQuick/Controls.2/Imagine/SwipeView.qml deleted file mode 100644 index 70d65fef5..000000000 --- a/bin/QtQuick/Controls.2/Imagine/SwipeView.qml +++ /dev/null @@ -1,90 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.SwipeView { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - contentItem: ListView { - model: control.contentModel - interactive: control.interactive - currentIndex: control.currentIndex - focus: control.focus - - spacing: control.spacing - orientation: control.orientation - snapMode: ListView.SnapOneItem - boundsBehavior: Flickable.StopAtBounds - - highlightRangeMode: ListView.StrictlyEnforceRange - preferredHighlightBegin: 0 - preferredHighlightEnd: 0 - highlightMoveDuration: 250 - } - - background: NinePatchImage { - source: Imagine.url + "swipeview-background" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"interactive": control.interactive}, - {"focused": control.contentItem.activeFocus}, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Switch.qml b/bin/QtQuick/Controls.2/Imagine/Switch.qml deleted file mode 100644 index 50b407acb..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Switch.qml +++ /dev/null @@ -1,134 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Switch { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 6 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - indicator: NinePatchImage { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - width: Math.max(implicitWidth, handle.leftPadding && handle.rightPadding ? handle.implicitWidth : 2 * handle.implicitWidth) - height: Math.max(implicitHeight, handle.implicitHeight) - - source: Imagine.url + "switch-indicator" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - - property NinePatchImage handle: NinePatchImage { - readonly property real minPos: parent.leftPadding - leftPadding - readonly property real maxPos: parent.width - width + rightPadding - parent.rightPadding - readonly property real dragPos: control.visualPosition * parent.width - (width / 2) - - parent: control.indicator - - x: Math.max(minPos, Math.min(maxPos, control.visualPosition * parent.width - (width / 2))) - y: (parent.height - height) / 2 - - source: Imagine.url + "switch-handle" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - - Behavior on x { - enabled: !control.down - SmoothedAnimation { velocity: 200 } - } - } - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.palette.windowText - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } - - background: NinePatchImage { - source: Imagine.url + "switch-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/SwitchDelegate.qml b/bin/QtQuick/Controls.2/Imagine/SwitchDelegate.qml deleted file mode 100644 index 73e5aac01..000000000 --- a/bin/QtQuick/Controls.2/Imagine/SwitchDelegate.qml +++ /dev/null @@ -1,147 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.SwitchDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 12 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.text - - indicator: NinePatchImage { - x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - width: Math.max(implicitWidth, handle.leftPadding && handle.rightPadding ? handle.implicitWidth : 2 * handle.implicitWidth) - height: Math.max(implicitHeight, handle.implicitHeight) - - source: Imagine.url + "switchdelegate-indicator" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - - property NinePatchImage handle: NinePatchImage { - readonly property real minPos: parent.leftPadding - leftPadding - readonly property real maxPos: parent.width - width + rightPadding - parent.rightPadding - readonly property real dragPos: control.visualPosition * parent.width - (width / 2) - - parent: control.indicator - - x: Math.max(minPos, Math.min(maxPos, control.visualPosition * parent.width - (width / 2))) - y: (parent.height - height) / 2 - - source: Imagine.url + "switchdelegate-handle" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - - Behavior on x { - enabled: !control.down - SmoothedAnimation { velocity: 200 } - } - } - } - - contentItem: IconLabel { - leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.text - } - - background: NinePatchImage { - source: Imagine.url + "switchdelegate-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/TabBar.qml b/bin/QtQuick/Controls.2/Imagine/TabBar.qml deleted file mode 100644 index 69516e03e..000000000 --- a/bin/QtQuick/Controls.2/Imagine/TabBar.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.TabBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - contentItem: ListView { - model: control.contentModel - currentIndex: control.currentIndex - - spacing: control.spacing - orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds - flickableDirection: Flickable.AutoFlickIfNeeded - snapMode: ListView.SnapToItem - - highlightMoveDuration: 0 - highlightRangeMode: ListView.ApplyRange - preferredHighlightBegin: 48 - preferredHighlightEnd: width - 48 - } - - background: NinePatchImage { - source: Imagine.url + "tabbar-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"header": control.position === T.TabBar.Header }, - {"footer": control.position === T.TabBar.Footer }, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/TabButton.qml b/bin/QtQuick/Controls.2/Imagine/TabButton.qml deleted file mode 100644 index 1cdcfc4bd..000000000 --- a/bin/QtQuick/Controls.2/Imagine/TabButton.qml +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.TabButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - spacing: 6 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.buttonText - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.palette.buttonText - } - - background: NinePatchImage { - source: Imagine.url + "tabbutton-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/TextArea.qml b/bin/QtQuick/Controls.2/Imagine/TextArea.qml deleted file mode 100644 index c7505b520..000000000 --- a/bin/QtQuick/Controls.2/Imagine/TextArea.qml +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.TextArea { - id: control - - implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, - implicitBackgroundWidth + leftInset + rightInset, - placeholder.implicitWidth + leftPadding + rightPadding) - implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, - implicitBackgroundHeight + topInset + bottomInset, - placeholder.implicitHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - color: control.palette.text - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - verticalAlignment: Qt.AlignVCenter - placeholderTextColor: Color.transparent(control.color, 0.5) - - PlaceholderText { - id: placeholder - x: control.leftPadding - y: control.topPadding - width: control.width - (control.leftPadding + control.rightPadding) - height: control.height - (control.topPadding + control.bottomPadding) - - text: control.placeholderText - font: control.font - color: control.placeholderTextColor - verticalAlignment: control.verticalAlignment - visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) - elide: Text.ElideRight - renderType: control.renderType - } - - background: NinePatchImage { - source: Imagine.url + "textarea-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"focused": control.activeFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/TextField.qml b/bin/QtQuick/Controls.2/Imagine/TextField.qml deleted file mode 100644 index 3ff0ad443..000000000 --- a/bin/QtQuick/Controls.2/Imagine/TextField.qml +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.TextField { - id: control - - implicitWidth: implicitBackgroundWidth + leftInset + rightInset - || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding, - placeholder.implicitHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - color: control.palette.text - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - placeholderTextColor: Color.transparent(control.color, 0.5) - verticalAlignment: Qt.AlignVCenter - - PlaceholderText { - id: placeholder - x: control.leftPadding - y: control.topPadding - width: control.width - (control.leftPadding + control.rightPadding) - height: control.height - (control.topPadding + control.bottomPadding) - - text: control.placeholderText - font: control.font - color: control.placeholderTextColor - verticalAlignment: control.verticalAlignment - visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) - elide: Text.ElideRight - renderType: control.renderType - } - - background: NinePatchImage { - source: Imagine.url + "textfield-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"focused": control.activeFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/ToolBar.qml b/bin/QtQuick/Controls.2/Imagine/ToolBar.qml deleted file mode 100644 index 99bcd3ba9..000000000 --- a/bin/QtQuick/Controls.2/Imagine/ToolBar.qml +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.ToolBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - background: NinePatchImage { - source: Imagine.url + "toolbar-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"header": control.position === T.ToolBar.Header }, - {"footer": control.position === T.ToolBar.Footer }, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/ToolButton.qml b/bin/QtQuick/Controls.2/Imagine/ToolButton.qml deleted file mode 100644 index cc22f88d2..000000000 --- a/bin/QtQuick/Controls.2/Imagine/ToolButton.qml +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.ToolButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - spacing: 6 // ### - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.buttonText - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.palette.buttonText - } - - background: NinePatchImage { - source: Imagine.url + "toolbutton-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"pressed": control.down}, - {"checked": control.checked}, - {"checkable": control.checkable}, - {"focused": control.visualFocus}, - {"highlighted": control.highlighted}, - {"flat": control.flat}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/ToolSeparator.qml b/bin/QtQuick/Controls.2/Imagine/ToolSeparator.qml deleted file mode 100644 index c0887e4d6..000000000 --- a/bin/QtQuick/Controls.2/Imagine/ToolSeparator.qml +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.ToolSeparator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - contentItem: NinePatchImage { - source: Imagine.url + "toolseparator-separator" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } - - background: NinePatchImage { - source: Imagine.url + "toolseparator-background" - NinePatchImageSelector on source { - states: [ - {"vertical": control.vertical}, - {"horizontal": control.horizontal}, - {"disabled": !control.enabled}, - {"mirrored": control.mirrored} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/ToolTip.qml b/bin/QtQuick/Controls.2/Imagine/ToolTip.qml deleted file mode 100644 index 21d75ebcb..000000000 --- a/bin/QtQuick/Controls.2/Imagine/ToolTip.qml +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.ToolTip { - id: control - - x: parent ? (parent.width - implicitWidth) / 2 : 0 - (background ? background.leftInset : 0) - y: -implicitHeight - (background ? background.topInset : 0) - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topMargin: background ? background.topInset : 0 - leftMargin: background ? background.leftInset : 0 - rightMargin: background ? background.rightInset : 0 - bottomMargin: background ? background.bottomInset : 0 - - topPadding: background ? background.topPadding : 0 - leftPadding: background ? background.leftPadding : 0 - rightPadding: background ? background.rightPadding : 0 - bottomPadding: background ? background.bottomPadding : 0 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent - - contentItem: Text { - text: control.text - font: control.font - wrapMode: Text.Wrap - color: control.palette.toolTipText - } - - background: NinePatchImage { - source: Imagine.url + "tooltip-background" - NinePatchImageSelector on source { - states: [ - // ### - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/Tumbler.qml b/bin/QtQuick/Controls.2/Imagine/Tumbler.qml deleted file mode 100644 index 12025cc5b..000000000 --- a/bin/QtQuick/Controls.2/Imagine/Tumbler.qml +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Imagine 2.12 -import QtQuick.Controls.Imagine.impl 2.12 - -T.Tumbler { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) || 60 // ### remove 60 in Qt 6 - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) || 200 // ### remove 200 in Qt 6 - - topInset: background ? -background.topInset || 0 : 0 - leftInset: background ? -background.leftInset || 0 : 0 - rightInset: background ? -background.rightInset || 0 : 0 - bottomInset: background ? -background.bottomInset || 0 : 0 - - delegate: Text { - text: modelData - font: control.font - color: control.palette.text - opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - } - - contentItem: TumblerView { - implicitWidth: 60 - implicitHeight: 200 - model: control.model - delegate: control.delegate - path: Path { - startX: control.contentItem.width / 2 - startY: -control.contentItem.delegateHeight / 2 - PathLine { - x: control.contentItem.width / 2 - y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 - } - } - - property real delegateHeight: control.availableHeight / control.visibleItemCount - } - - background: NinePatchImage { - source: Imagine.url + "tumbler-background" - NinePatchImageSelector on source { - states: [ - {"disabled": !control.enabled}, - {"focused": control.visualFocus}, - {"mirrored": control.mirrored}, - {"hovered": control.hovered} - ] - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/VerticalHeaderView.qml b/bin/QtQuick/Controls.2/Imagine/VerticalHeaderView.qml deleted file mode 100644 index 3fc9ca5ac..000000000 --- a/bin/QtQuick/Controls.2/Imagine/VerticalHeaderView.qml +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Templates 2.15 as T - -T.VerticalHeaderView { - id: control - - implicitWidth: contentWidth - implicitHeight: syncView ? syncView.height : 0 - - delegate: Rectangle { - // Qt6: add cellPadding (and font etc) as public API in headerview - readonly property real cellPadding: 8 - - implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) - implicitHeight: text.implicitHeight + (cellPadding * 2) - color: "#f6f6f6" - border.color: "#e4e4e4" - - Text { - id: text - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] - : model[control.textRole]) - : modelData - width: parent.width - height: parent.height - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: "#ff26282a" - } - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/plugins.qmltypes b/bin/QtQuick/Controls.2/Imagine/plugins.qmltypes deleted file mode 100644 index 785b6dba0..000000000 --- a/bin/QtQuick/Controls.2/Imagine/plugins.qmltypes +++ /dev/null @@ -1,347 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls.Imagine 2.15' - -Module { - dependencies: ["QtQuick.Controls 2.0"] - Component { - name: "QQuickAnimatedImageSelector" - prototype: "QQuickImageSelector" - exports: ["QtQuick.Controls.Imagine.impl/AnimatedImageSelector 2.3"] - exportMetaObjectRevisions: [0] - } - Component { name: "QQuickAttachedObject"; prototype: "QObject" } - Component { - name: "QQuickImage" - defaultProperty: "data" - prototype: "QQuickImageBase" - Enum { - name: "HAlignment" - values: { - "AlignLeft": 1, - "AlignRight": 2, - "AlignHCenter": 4 - } - } - Enum { - name: "VAlignment" - values: { - "AlignTop": 32, - "AlignBottom": 64, - "AlignVCenter": 128 - } - } - Enum { - name: "FillMode" - values: { - "Stretch": 0, - "PreserveAspectFit": 1, - "PreserveAspectCrop": 2, - "Tile": 3, - "TileVertically": 4, - "TileHorizontally": 5, - "Pad": 6 - } - } - Property { name: "fillMode"; type: "FillMode" } - Property { name: "paintedWidth"; type: "double"; isReadonly: true } - Property { name: "paintedHeight"; type: "double"; isReadonly: true } - Property { name: "horizontalAlignment"; type: "HAlignment" } - Property { name: "verticalAlignment"; type: "VAlignment" } - Property { name: "mipmap"; revision: 3; type: "bool" } - Property { name: "autoTransform"; revision: 5; type: "bool" } - Property { name: "sourceClipRect"; revision: 15; type: "QRectF" } - Signal { name: "paintedGeometryChanged" } - Signal { - name: "horizontalAlignmentChanged" - Parameter { name: "alignment"; type: "HAlignment" } - } - Signal { - name: "verticalAlignmentChanged" - Parameter { name: "alignment"; type: "VAlignment" } - } - Signal { - name: "mipmapChanged" - revision: 3 - Parameter { type: "bool" } - } - Signal { name: "autoTransformChanged"; revision: 5 } - } - Component { - name: "QQuickImageBase" - defaultProperty: "data" - prototype: "QQuickImplicitSizeItem" - Enum { - name: "LoadPixmapOptions" - values: { - "NoOption": 0, - "HandleDPR": 1, - "UseProviderOptions": 2 - } - } - Enum { - name: "Status" - values: { - "Null": 0, - "Ready": 1, - "Loading": 2, - "Error": 3 - } - } - Property { name: "status"; type: "Status"; isReadonly: true } - Property { name: "source"; type: "QUrl" } - Property { name: "progress"; type: "double"; isReadonly: true } - Property { name: "asynchronous"; type: "bool" } - Property { name: "cache"; type: "bool" } - Property { name: "sourceSize"; type: "QSize" } - Property { name: "mirror"; type: "bool" } - Property { name: "currentFrame"; revision: 14; type: "int" } - Property { name: "frameCount"; revision: 14; type: "int"; isReadonly: true } - Property { name: "colorSpace"; revision: 15; type: "QColorSpace" } - Signal { - name: "sourceChanged" - Parameter { type: "QUrl" } - } - Signal { - name: "statusChanged" - Parameter { type: "QQuickImageBase::Status" } - } - Signal { - name: "progressChanged" - Parameter { name: "progress"; type: "double" } - } - Signal { name: "currentFrameChanged"; revision: 14 } - Signal { name: "frameCountChanged"; revision: 14 } - Signal { name: "sourceClipRectChanged"; revision: 15 } - Signal { name: "colorSpaceChanged"; revision: 15 } - } - Component { - name: "QQuickImageSelector" - prototype: "QObject" - exports: ["QtQuick.Controls.Imagine.impl/ImageSelector 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "source"; type: "QUrl"; isReadonly: true } - Property { name: "name"; type: "string" } - Property { name: "path"; type: "string" } - Property { name: "states"; type: "QVariantList" } - Property { name: "separator"; type: "string" } - Property { name: "cache"; type: "bool" } - } - Component { - name: "QQuickImagineStyle" - prototype: "QQuickAttachedObject" - exports: ["QtQuick.Controls.Imagine/Imagine 2.3"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "path"; type: "string" } - Property { name: "url"; type: "QUrl"; isReadonly: true } - } - Component { - name: "QQuickImplicitSizeItem" - defaultProperty: "data" - prototype: "QQuickItem" - Property { name: "implicitWidth"; type: "double"; isReadonly: true } - Property { name: "implicitHeight"; type: "double"; isReadonly: true } - } - Component { - name: "QQuickItem" - defaultProperty: "data" - prototype: "QObject" - Enum { - name: "Flags" - values: { - "ItemClipsChildrenToShape": 1, - "ItemAcceptsInputMethod": 2, - "ItemIsFocusScope": 4, - "ItemHasContents": 8, - "ItemAcceptsDrops": 16 - } - } - Enum { - name: "TransformOrigin" - values: { - "TopLeft": 0, - "Top": 1, - "TopRight": 2, - "Left": 3, - "Center": 4, - "Right": 5, - "BottomLeft": 6, - "Bottom": 7, - "BottomRight": 8 - } - } - Property { name: "parent"; type: "QQuickItem"; isPointer: true } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - Property { name: "z"; type: "double" } - Property { name: "width"; type: "double" } - Property { name: "height"; type: "double" } - Property { name: "opacity"; type: "double" } - Property { name: "enabled"; type: "bool" } - Property { name: "visible"; type: "bool" } - Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } - Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } - Property { name: "state"; type: "string" } - Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } - Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } - Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baselineOffset"; type: "double" } - Property { name: "clip"; type: "bool" } - Property { name: "focus"; type: "bool" } - Property { name: "activeFocus"; type: "bool"; isReadonly: true } - Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } - Property { name: "rotation"; type: "double" } - Property { name: "scale"; type: "double" } - Property { name: "transformOrigin"; type: "TransformOrigin" } - Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } - Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } - Property { name: "smooth"; type: "bool" } - Property { name: "antialiasing"; type: "bool" } - Property { name: "implicitWidth"; type: "double" } - Property { name: "implicitHeight"; type: "double" } - Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } - Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } - Signal { - name: "childrenRectChanged" - Parameter { type: "QRectF" } - } - Signal { - name: "baselineOffsetChanged" - Parameter { type: "double" } - } - Signal { - name: "stateChanged" - Parameter { type: "string" } - } - Signal { - name: "focusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusOnTabChanged" - revision: 1 - Parameter { type: "bool" } - } - Signal { - name: "parentChanged" - Parameter { type: "QQuickItem"; isPointer: true } - } - Signal { - name: "transformOriginChanged" - Parameter { type: "TransformOrigin" } - } - Signal { - name: "smoothChanged" - Parameter { type: "bool" } - } - Signal { - name: "antialiasingChanged" - Parameter { type: "bool" } - } - Signal { - name: "clipChanged" - Parameter { type: "bool" } - } - Signal { - name: "windowChanged" - revision: 1 - Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } - } - Signal { name: "containmentMaskChanged"; revision: 11 } - Method { name: "update" } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - Parameter { name: "targetSize"; type: "QSize" } - } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - } - Method { - name: "contains" - type: "bool" - Parameter { name: "point"; type: "QPointF" } - } - Method { - name: "mapFromItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapFromGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { name: "forceActiveFocus" } - Method { - name: "forceActiveFocus" - Parameter { name: "reason"; type: "Qt::FocusReason" } - } - Method { - name: "nextItemInFocusChain" - revision: 1 - type: "QQuickItem*" - Parameter { name: "forward"; type: "bool" } - } - Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } - Method { - name: "childAt" - type: "QQuickItem*" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { - name: "QQuickNinePatchImage" - defaultProperty: "data" - prototype: "QQuickImage" - exports: ["QtQuick.Controls.Imagine.impl/NinePatchImage 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "topPadding"; type: "double"; isReadonly: true } - Property { name: "leftPadding"; type: "double"; isReadonly: true } - Property { name: "rightPadding"; type: "double"; isReadonly: true } - Property { name: "bottomPadding"; type: "double"; isReadonly: true } - Property { name: "topInset"; type: "double"; isReadonly: true } - Property { name: "leftInset"; type: "double"; isReadonly: true } - Property { name: "rightInset"; type: "double"; isReadonly: true } - Property { name: "bottomInset"; type: "double"; isReadonly: true } - } - Component { - name: "QQuickNinePatchImageSelector" - prototype: "QQuickImageSelector" - exports: ["QtQuick.Controls.Imagine.impl/NinePatchImageSelector 2.3"] - exportMetaObjectRevisions: [0] - } -} diff --git a/bin/QtQuick/Controls.2/Imagine/qmldir b/bin/QtQuick/Controls.2/Imagine/qmldir deleted file mode 100644 index 7b4b3ea0f..000000000 --- a/bin/QtQuick/Controls.2/Imagine/qmldir +++ /dev/null @@ -1,5 +0,0 @@ -module QtQuick.Controls.Imagine -plugin qtquickcontrols2imaginestyleplugin -classname QtQuickControls2ImagineStylePlugin -depends QtQuick.Controls 2.5 -depends QtGraphicalEffects 1.0 diff --git a/bin/QtQuick/Controls.2/Imagine/qtquickcontrols2imaginestyleplugin.dll b/bin/QtQuick/Controls.2/Imagine/qtquickcontrols2imaginestyleplugin.dll deleted file mode 100644 index 7570a3846..000000000 Binary files a/bin/QtQuick/Controls.2/Imagine/qtquickcontrols2imaginestyleplugin.dll and /dev/null differ diff --git a/bin/QtQuick/Controls.2/ItemDelegate.qml b/bin/QtQuick/Controls.2/ItemDelegate.qml deleted file mode 100644 index 6229e2bba..000000000 --- a/bin/QtQuick/Controls.2/ItemDelegate.qml +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.ItemDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 12 - spacing: 8 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.text - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.highlighted ? control.palette.highlightedText : control.palette.text - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 40 - visible: control.down || control.highlighted || control.visualFocus - color: Color.blend(control.down ? control.palette.midlight : control.palette.light, - control.palette.highlight, control.visualFocus ? 0.15 : 0.0) - } -} diff --git a/bin/QtQuick/Controls.2/Label.qml b/bin/QtQuick/Controls.2/Label.qml deleted file mode 100644 index 9a42635fc..000000000 --- a/bin/QtQuick/Controls.2/Label.qml +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Label { - id: control - - color: control.palette.windowText - linkColor: control.palette.link -} diff --git a/bin/QtQuick/Controls.2/Material/ApplicationWindow.qml b/bin/QtQuick/Controls.2/Material/ApplicationWindow.qml deleted file mode 100644 index 6a10ed7fe..000000000 --- a/bin/QtQuick/Controls.2/Material/ApplicationWindow.qml +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Window 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.ApplicationWindow { - id: window - - color: Material.backgroundColor - - overlay.modal: Rectangle { - color: window.Material.backgroundDimColor - Behavior on opacity { NumberAnimation { duration: 150 } } - } - - overlay.modeless: Rectangle { - color: window.Material.backgroundDimColor - Behavior on opacity { NumberAnimation { duration: 150 } } - } -} diff --git a/bin/QtQuick/Controls.2/Material/BoxShadow.qml b/bin/QtQuick/Controls.2/Material/BoxShadow.qml deleted file mode 100644 index 5a746c0f9..000000000 --- a/bin/QtQuick/Controls.2/Material/BoxShadow.qml +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -/* - A implementation of CSS's box-shadow, used by ElevationEffect for a Material Design - elevation shadow effect. - */ -RectangularGlow { - // The 4 properties from CSS box-shadow, plus the inherited color property - property int offsetX - property int offsetY - property int blurRadius - property int spreadRadius - - // The source item the shadow is being applied to, used for correctly - // calculating the corner radious - property Item source - - property bool fullWidth - property bool fullHeight - - x: (parent.width - width)/2 + offsetX - y: (parent.height - height)/2 + offsetY - - implicitWidth: source ? source.width : parent.width - implicitHeight: source ? source.height : parent.height - - width: implicitWidth + 2 * spreadRadius + (fullWidth ? 2 * cornerRadius : 0) - height: implicitHeight + 2 * spreadRadius + (fullHeight ? 2 * cornerRadius : 0) - glowRadius: blurRadius/2 - spread: 0.05 - cornerRadius: blurRadius + (source && source.radius || 0) -} diff --git a/bin/QtQuick/Controls.2/Material/BusyIndicator.qml b/bin/QtQuick/Controls.2/Material/BusyIndicator.qml deleted file mode 100644 index 8173248cd..000000000 --- a/bin/QtQuick/Controls.2/Material/BusyIndicator.qml +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.BusyIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - - contentItem: BusyIndicatorImpl { - implicitWidth: control.Material.touchTarget - implicitHeight: control.Material.touchTarget - color: control.Material.accentColor - - running: control.running - opacity: control.running ? 1 : 0 - Behavior on opacity { OpacityAnimator { duration: 250 } } - } -} diff --git a/bin/QtQuick/Controls.2/Material/Button.qml b/bin/QtQuick/Controls.2/Material/Button.qml deleted file mode 100644 index 04c6664c3..000000000 --- a/bin/QtQuick/Controls.2/Material/Button.qml +++ /dev/null @@ -1,118 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.Button { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topInset: 6 - bottomInset: 6 - padding: 12 - horizontalPadding: padding - 4 - spacing: 6 - - icon.width: 24 - icon.height: 24 - icon.color: !enabled ? Material.hintTextColor : - flat && highlighted ? Material.accentColor : - highlighted ? Material.primaryHighlightedTextColor : Material.foreground - - Material.elevation: flat ? control.down || control.hovered ? 2 : 0 - : control.down ? 8 : 2 - Material.background: flat ? "transparent" : undefined - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: !control.enabled ? control.Material.hintTextColor : - control.flat && control.highlighted ? control.Material.accentColor : - control.highlighted ? control.Material.primaryHighlightedTextColor : control.Material.foreground - } - - background: Rectangle { - implicitWidth: 64 - implicitHeight: control.Material.buttonHeight - - radius: 2 - color: !control.enabled ? control.Material.buttonDisabledColor : - control.highlighted ? control.Material.highlightedButtonColor : control.Material.buttonColor - - PaddedRectangle { - y: parent.height - 4 - width: parent.width - height: 4 - radius: 2 - topPadding: -2 - clip: true - visible: control.checkable && (!control.highlighted || control.flat) - color: control.checked && control.enabled ? control.Material.accentColor : control.Material.secondaryTextColor - } - - // The layer is disabled when the button color is transparent so you can do - // Material.background: "transparent" and get a proper flat button without needing - // to set Material.elevation as well - layer.enabled: control.enabled && control.Material.buttonColor.a > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - } - - Ripple { - clipRadius: 2 - width: parent.width - height: parent.height - pressed: control.pressed - anchor: control - active: control.down || control.visualFocus || control.hovered - color: control.flat && control.highlighted ? control.Material.highlightedRippleColor : control.Material.rippleColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/CheckBox.qml b/bin/QtQuick/Controls.2/Material/CheckBox.qml deleted file mode 100644 index 159e2f12d..000000000 --- a/bin/QtQuick/Controls.2/Material/CheckBox.qml +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.CheckBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 8 - padding: 8 - verticalPadding: padding + 7 - - indicator: CheckIndicator { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - - Ripple { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 28; height: 28 - - z: -1 - anchor: control - pressed: control.pressed - active: control.down || control.visualFocus || control.hovered - color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor - } - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } -} diff --git a/bin/QtQuick/Controls.2/Material/CheckDelegate.qml b/bin/QtQuick/Controls.2/Material/CheckDelegate.qml deleted file mode 100644 index c7d7575ee..000000000 --- a/bin/QtQuick/Controls.2/Material/CheckDelegate.qml +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.CheckDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 16 - verticalPadding: 8 - spacing: 16 - - icon.width: 24 - icon.height: 24 - icon.color: enabled ? Material.foreground : Material.hintTextColor - - indicator: CheckIndicator { - x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: IconLabel { - leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing - rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - } - - background: Rectangle { - implicitHeight: control.Material.delegateHeight - - color: control.highlighted ? control.Material.listHighlightColor : "transparent" - - Ripple { - width: parent.width - height: parent.height - - clip: visible - pressed: control.pressed - anchor: control - active: control.down || control.visualFocus || control.hovered - color: control.Material.rippleColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/CheckIndicator.qml b/bin/QtQuick/Controls.2/Material/CheckIndicator.qml deleted file mode 100644 index 7caf85533..000000000 --- a/bin/QtQuick/Controls.2/Material/CheckIndicator.qml +++ /dev/null @@ -1,120 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -Rectangle { - id: indicatorItem - implicitWidth: 18 - implicitHeight: 18 - color: "transparent" - border.color: !control.enabled ? control.Material.hintTextColor - : checkState !== Qt.Unchecked ? control.Material.accentColor : control.Material.secondaryTextColor - border.width: checkState !== Qt.Unchecked ? width / 2 : 2 - radius: 2 - - property Item control - property int checkState: control.checkState - - Behavior on border.width { - NumberAnimation { - duration: 100 - easing.type: Easing.OutCubic - } - } - - Behavior on border.color { - ColorAnimation { - duration: 100 - easing.type: Easing.OutCubic - } - } - - // TODO: This needs to be transparent - Image { - id: checkImage - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 14 - height: 14 - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Material/images/check.png" - fillMode: Image.PreserveAspectFit - - scale: indicatorItem.checkState === Qt.Checked ? 1 : 0 - Behavior on scale { NumberAnimation { duration: 100 } } - } - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 12 - height: 3 - - scale: indicatorItem.checkState === Qt.PartiallyChecked ? 1 : 0 - Behavior on scale { NumberAnimation { duration: 100 } } - } - - states: [ - State { - name: "checked" - when: indicatorItem.checkState === Qt.Checked - }, - State { - name: "partiallychecked" - when: indicatorItem.checkState === Qt.PartiallyChecked - } - ] - - transitions: Transition { - SequentialAnimation { - NumberAnimation { - target: indicatorItem - property: "scale" - // Go down 2 pixels in size. - to: 1 - 2 / indicatorItem.width - duration: 120 - } - NumberAnimation { - target: indicatorItem - property: "scale" - to: 1 - duration: 120 - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/ComboBox.qml b/bin/QtQuick/Controls.2/Material/ComboBox.qml deleted file mode 100644 index 6aada8c59..000000000 --- a/bin/QtQuick/Controls.2/Material/ComboBox.qml +++ /dev/null @@ -1,180 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Window 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Controls.impl 2.15 -import QtQuick.Templates 2.15 as T -import QtQuick.Controls.Material 2.15 -import QtQuick.Controls.Material.impl 2.15 - -T.ComboBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - topInset: 6 - bottomInset: 6 - - leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) - rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) - - Material.elevation: flat ? control.pressed || control.hovered ? 2 : 0 - : control.pressed ? 8 : 2 - Material.background: flat ? "transparent" : undefined - Material.foreground: flat ? undefined : Material.primaryTextColor - - delegate: MenuItem { - width: ListView.view.width - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData - Material.foreground: control.currentIndex === index ? ListView.view.contentItem.Material.accent : ListView.view.contentItem.Material.foreground - highlighted: control.highlightedIndex === index - hoverEnabled: control.hoverEnabled - } - - indicator: ColorImage { - x: control.mirrored ? control.padding : control.width - width - control.padding - y: control.topPadding + (control.availableHeight - height) / 2 - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Material/images/drop-indicator.png" - } - - contentItem: T.TextField { - padding: 6 - leftPadding: control.editable ? 2 : control.mirrored ? 0 : 12 - rightPadding: control.editable ? 2 : control.mirrored ? 12 : 0 - - text: control.editable ? control.editText : control.displayText - - enabled: control.editable - autoScroll: control.editable - readOnly: control.down - inputMethodHints: control.inputMethodHints - validator: control.validator - selectByMouse: control.selectTextByMouse - - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - selectionColor: control.Material.accentColor - selectedTextColor: control.Material.primaryHighlightedTextColor - verticalAlignment: Text.AlignVCenter - - cursorDelegate: CursorDelegate { } - } - - background: Rectangle { - implicitWidth: 120 - implicitHeight: control.Material.buttonHeight - - radius: control.flat ? 0 : 2 - color: !control.editable ? control.Material.dialogColor : "transparent" - - layer.enabled: control.enabled && !control.editable && control.Material.background.a > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - } - - Rectangle { - visible: control.editable - y: parent.y + control.baselineOffset - width: parent.width - height: control.activeFocus ? 2 : 1 - color: control.editable && control.activeFocus ? control.Material.accentColor : control.Material.hintTextColor - } - - Ripple { - clip: control.flat - clipRadius: control.flat ? 0 : 2 - x: control.editable && control.indicator ? control.indicator.x : 0 - width: control.editable && control.indicator ? control.indicator.width : parent.width - height: parent.height - pressed: control.pressed - anchor: control.editable && control.indicator ? control.indicator : control - active: control.pressed || control.visualFocus || control.hovered - color: control.Material.rippleColor - } - } - - popup: T.Popup { - y: control.editable ? control.height - 5 : 0 - width: control.width - height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) - transformOrigin: Item.Top - topMargin: 12 - bottomMargin: 12 - - Material.theme: control.Material.theme - Material.accent: control.Material.accent - Material.primary: control.Material.primary - - enter: Transition { - // grow_fade_in - NumberAnimation { property: "scale"; from: 0.9; easing.type: Easing.OutQuint; duration: 220 } - NumberAnimation { property: "opacity"; from: 0.0; easing.type: Easing.OutCubic; duration: 150 } - } - - exit: Transition { - // shrink_fade_out - NumberAnimation { property: "scale"; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } - NumberAnimation { property: "opacity"; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } - } - - contentItem: ListView { - clip: true - implicitHeight: contentHeight - model: control.delegateModel - currentIndex: control.highlightedIndex - highlightMoveDuration: 0 - - T.ScrollIndicator.vertical: ScrollIndicator { } - } - - background: Rectangle { - radius: 2 - color: parent.Material.dialogColor - - layer.enabled: control.enabled - layer.effect: ElevationEffect { - elevation: 8 - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/CursorDelegate.qml b/bin/QtQuick/Controls.2/Material/CursorDelegate.qml deleted file mode 100644 index fe2d25c67..000000000 --- a/bin/QtQuick/Controls.2/Material/CursorDelegate.qml +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls.Material 2.12 - -Rectangle { - id: cursor - - color: parent.Material.accentColor - width: 2 - visible: parent.activeFocus && !parent.readOnly && parent.selectionStart === parent.selectionEnd - - Connections { - target: cursor.parent - function onCursorPositionChanged() { - // keep a moving cursor visible - cursor.opacity = 1 - timer.restart() - } - } - - Timer { - id: timer - running: cursor.parent.activeFocus && !cursor.parent.readOnly && interval != 0 - repeat: true - interval: Qt.styleHints.cursorFlashTime / 2 - onTriggered: cursor.opacity = !cursor.opacity ? 1 : 0 - // force the cursor visible when gaining focus - onRunningChanged: cursor.opacity = 1 - } -} diff --git a/bin/QtQuick/Controls.2/Material/DelayButton.qml b/bin/QtQuick/Controls.2/Material/DelayButton.qml deleted file mode 100644 index 6b5ef3ad0..000000000 --- a/bin/QtQuick/Controls.2/Material/DelayButton.qml +++ /dev/null @@ -1,117 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.DelayButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topInset: 6 - bottomInset: 6 - padding: 12 - horizontalPadding: padding - 4 - - Material.elevation: control.down ? 8 : 2 - - transition: Transition { - NumberAnimation { - duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) - } - } - - contentItem: Text { - text: control.text - font: control.font - color: !control.enabled ? control.Material.hintTextColor : control.Material.foreground - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - elide: Text.ElideRight - } - - // TODO: Add a proper ripple/ink effect for mouse/touch input and focus state - background: Rectangle { - implicitWidth: 64 - implicitHeight: control.Material.buttonHeight - - radius: 2 - color: !control.enabled ? control.Material.buttonDisabledColor : control.Material.buttonColor - - PaddedRectangle { - y: parent.height - 4 - width: parent.width - height: 4 - radius: 2 - topPadding: -2 - clip: true - color: control.checked && control.enabled ? control.Material.accentColor : control.Material.secondaryTextColor - - PaddedRectangle { - width: parent.width * control.progress - height: 4 - radius: 2 - topPadding: -2 - rightPadding: Math.max(-2, width - parent.width) - clip: true - color: control.Material.accentColor - } - } - - layer.enabled: control.enabled && control.Material.buttonColor.a > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - } - - Ripple { - clipRadius: 2 - width: parent.width - height: parent.height - pressed: control.pressed - anchor: control - active: control.down || control.visualFocus || control.hovered - color: control.Material.rippleColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/Dial.qml b/bin/QtQuick/Controls.2/Material/Dial.qml deleted file mode 100644 index 1f80a7fe7..000000000 --- a/bin/QtQuick/Controls.2/Material/Dial.qml +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.Dial { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) || 100 // ### remove 100 in Qt 6 - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) || 100 // ### remove 100 in Qt 6 - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 100 - - x: control.width / 2 - width / 2 - y: control.height / 2 - height / 2 - width: Math.max(64, Math.min(control.width, control.height)) - height: width - color: "transparent" - radius: width / 2 - - border.color: control.enabled ? control.Material.accentColor : control.Material.hintTextColor - } - - handle: SliderHandle { - x: control.background.x + control.background.width / 2 - control.handle.width / 2 - y: control.background.y + control.background.height / 2 - control.handle.height / 2 - transform: [ - Translate { - y: -control.background.height * 0.4 + control.handle.height / 2 - }, - Rotation { - angle: control.angle - origin.x: control.handle.width / 2 - origin.y: control.handle.height / 2 - } - ] - implicitWidth: 10 - implicitHeight: 10 - - value: control.value - handleHasFocus: control.visualFocus - handlePressed: control.pressed - handleHovered: control.hovered - } -} diff --git a/bin/QtQuick/Controls.2/Material/Dialog.qml b/bin/QtQuick/Controls.2/Material/Dialog.qml deleted file mode 100644 index 364c0e570..000000000 --- a/bin/QtQuick/Controls.2/Material/Dialog.qml +++ /dev/null @@ -1,113 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.Dialog { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitHeaderWidth, - implicitFooterWidth) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding - + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) - + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - - padding: 24 - topPadding: 20 - - Material.elevation: 24 - - enter: Transition { - // grow_fade_in - NumberAnimation { property: "scale"; from: 0.9; to: 1.0; easing.type: Easing.OutQuint; duration: 220 } - NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutCubic; duration: 150 } - } - - exit: Transition { - // shrink_fade_out - NumberAnimation { property: "scale"; from: 1.0; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } - NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } - } - - background: Rectangle { - radius: 2 - color: control.Material.dialogColor - - layer.enabled: control.Material.elevation > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - } - } - - header: Label { - text: control.title - visible: control.title - elide: Label.ElideRight - padding: 24 - bottomPadding: 0 - // TODO: QPlatformTheme::TitleBarFont - font.bold: true - font.pixelSize: 16 - background: PaddedRectangle { - radius: 2 - color: control.Material.dialogColor - bottomPadding: -2 - clip: true - } - } - - footer: DialogButtonBox { - visible: count > 0 - } - - T.Overlay.modal: Rectangle { - color: control.Material.backgroundDimColor - Behavior on opacity { NumberAnimation { duration: 150 } } - } - - T.Overlay.modeless: Rectangle { - color: control.Material.backgroundDimColor - Behavior on opacity { NumberAnimation { duration: 150 } } - } -} diff --git a/bin/QtQuick/Controls.2/Material/DialogButtonBox.qml b/bin/QtQuick/Controls.2/Material/DialogButtonBox.qml deleted file mode 100644 index c53b82103..000000000 --- a/bin/QtQuick/Controls.2/Material/DialogButtonBox.qml +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.DialogButtonBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - spacing: 8 - padding: 8 - verticalPadding: 2 - alignment: Qt.AlignRight - buttonLayout: T.DialogButtonBox.AndroidLayout - - Material.foreground: Material.accent - - delegate: Button { flat: true } - - contentItem: ListView { - model: control.contentModel - spacing: control.spacing - orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds - snapMode: ListView.SnapToItem - } - - background: PaddedRectangle { - implicitHeight: control.Material.dialogButtonBoxHeight - radius: 2 - color: control.Material.dialogColor - // Rounded corners should be only at the top or at the bottom - topPadding: control.position === T.DialogButtonBox.Footer ? -2 : 0 - bottomPadding: control.position === T.DialogButtonBox.Header ? -2 : 0 - clip: true - } -} diff --git a/bin/QtQuick/Controls.2/Material/Drawer.qml b/bin/QtQuick/Controls.2/Material/Drawer.qml deleted file mode 100644 index 3d64cdef4..000000000 --- a/bin/QtQuick/Controls.2/Material/Drawer.qml +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.Drawer { - id: control - - parent: T.Overlay.overlay - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: !dim && edge === Qt.BottomEdge && Material.elevation === 0 - leftPadding: !dim && edge === Qt.RightEdge && Material.elevation === 0 - rightPadding: !dim && edge === Qt.LeftEdge && Material.elevation === 0 - bottomPadding: !dim && edge === Qt.TopEdge && Material.elevation === 0 - - enter: Transition { SmoothedAnimation { velocity: 5 } } - exit: Transition { SmoothedAnimation { velocity: 5 } } - - Material.elevation: !interactive && !dim ? 0 : 16 - - background: Rectangle { - color: control.Material.dialogColor - - Rectangle { - readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge - width: horizontal ? 1 : parent.width - height: horizontal ? parent.height : 1 - color: control.Material.dividerColor - x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 - y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 - visible: !control.dim && control.Material.elevation === 0 - } - - layer.enabled: control.position > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - fullHeight: true - } - } - - T.Overlay.modal: Rectangle { - color: control.Material.backgroundDimColor - Behavior on opacity { NumberAnimation { duration: 150 } } - } - - T.Overlay.modeless: Rectangle { - color: control.Material.backgroundDimColor - Behavior on opacity { NumberAnimation { duration: 150 } } - } -} diff --git a/bin/QtQuick/Controls.2/Material/ElevationEffect.qml b/bin/QtQuick/Controls.2/Material/ElevationEffect.qml deleted file mode 100644 index 73a2a238f..000000000 --- a/bin/QtQuick/Controls.2/Material/ElevationEffect.qml +++ /dev/null @@ -1,279 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -/* - An effect for standard Material Design elevation shadows. Useful for using as \c layer.effect. - */ -Item { - id: effect - - /* - The source the effect is applied to. - */ - property var source - - /* - The elevation of the \l source Item. - */ - property int elevation: 0 - - /* - Set to \c true if the \l source Item is the same width as its parent and the shadow - should be full width instead of rounding around the corner of the Item. - - \sa fullHeight - */ - property bool fullWidth: false - - /* - Set to \c true if the \l source Item is the same height as its parent and the shadow - should be full height instead of rounding around the corner of the Item. - - \sa fullWidth - */ - property bool fullHeight: false - - /* - \internal - - The actual source Item the effect is applied to. - */ - readonly property Item sourceItem: source.sourceItem - - /* - * The following shadow values are taken from Angular Material - * - * The MIT License (MIT) - * - * Copyright (c) 2014-2016 Google, Inc. http://angularjs.org - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - /* - \internal - - The shadows to use for each possible elevation. There are three shadows that when combined - make up the elevation. - */ - readonly property var _shadows: [ - [{offset: 0, blur: 0, spread: 0}, - {offset: 0, blur: 0, spread: 0}, - {offset: 0, blur: 0, spread: 0}], - - [{offset: 1, blur: 3, spread: 0}, - {offset: 1, blur: 1, spread: 0}, - {offset: 2, blur: 1, spread: -1}], - - [{offset: 1, blur: 5, spread: 0}, - {offset: 2, blur: 2, spread: 0}, - {offset: 3, blur: 1, spread: -2}], - - [{offset: 1, blur: 8, spread: 0}, - {offset: 3, blur: 4, spread: 0}, - {offset: 3, blur: 3, spread: -2}], - - [{offset: 2, blur: 4, spread: -1}, - {offset: 4, blur: 5, spread: 0}, - {offset: 1, blur: 10, spread: 0}], - - [{offset: 3, blur: 5, spread: -1}, - {offset: 5, blur: 8, spread: 0}, - {offset: 1, blur: 14, spread: 0}], - - [{offset: 3, blur: 5, spread: -1}, - {offset: 6, blur: 10, spread: 0}, - {offset: 1, blur: 18, spread: 0}], - - [{offset: 4, blur: 5, spread: -2}, - {offset: 7, blur: 10, spread: 1}, - {offset: 2, blur: 16, spread: 1}], - - [{offset: 5, blur: 5, spread: -3}, - {offset: 8, blur: 10, spread: 1}, - {offset: 3, blur: 14, spread: 2}], - - [{offset: 5, blur: 6, spread: -3}, - {offset: 9, blur: 12, spread: 1}, - {offset: 3, blur: 16, spread: 2}], - - [{offset: 6, blur: 6, spread: -3}, - {offset: 10, blur: 14, spread: 1}, - {offset: 4, blur: 18, spread: 3}], - - [{offset: 6, blur: 7, spread: -4}, - {offset: 11, blur: 15, spread: 1}, - {offset: 4, blur: 20, spread: 3}], - - [{offset: 7, blur: 8, spread: -4}, - {offset: 12, blur: 17, spread: 2}, - {offset: 5, blur: 22, spread: 4}], - - [{offset: 7, blur: 8, spread: -4}, - {offset: 13, blur: 19, spread: 2}, - {offset: 5, blur: 24, spread: 4}], - - [{offset: 7, blur: 9, spread: -4}, - {offset: 14, blur: 21, spread: 2}, - {offset: 5, blur: 26, spread: 4}], - - [{offset: 8, blur: 9, spread: -5}, - {offset: 15, blur: 22, spread: 2}, - {offset: 6, blur: 28, spread: 5}], - - [{offset: 8, blur: 10, spread: -5}, - {offset: 16, blur: 24, spread: 2}, - {offset: 6, blur: 30, spread: 5}], - - [{offset: 8, blur: 11, spread: -5}, - {offset: 17, blur: 26, spread: 2}, - {offset: 6, blur: 32, spread: 5}], - - [{offset: 9, blur: 11, spread: -5}, - {offset: 18, blur: 28, spread: 2}, - {offset: 7, blur: 34, spread: 6}], - - [{offset: 9, blur: 12, spread: -6}, - {offset: 19, blur: 29, spread: 2}, - {offset: 7, blur: 36, spread: 6}], - - [{offset: 10, blur: 13, spread: -6}, - {offset: 20, blur: 31, spread: 3}, - {offset: 8, blur: 38, spread: 7}], - - [{offset: 10, blur: 13, spread: -6}, - {offset: 21, blur: 33, spread: 3}, - {offset: 8, blur: 40, spread: 7}], - - [{offset: 10, blur: 14, spread: -6}, - {offset: 22, blur: 35, spread: 3}, - {offset: 8, blur: 42, spread: 7}], - - [{offset: 11, blur: 14, spread: -7}, - {offset: 23, blur: 36, spread: 3}, - {offset: 9, blur: 44, spread: 8}], - - [{offset: 11, blur: 15, spread: -7}, - {offset: 24, blur: 38, spread: 3}, - {offset: 9, blur: 46, spread: 8}] - ] - - /* - \internal - - The current shadow based on the elevation. - */ - readonly property var _shadow: _shadows[Math.max(0, Math.min(elevation, _shadows.length - 1))] - - // Nest the shadows and source view in two items rendered as a layer - // so the shadow is not clipped by the bounds of the source view - Item { - property int margin: -100 - - x: margin - y: margin - width: parent.width - 2 * margin - height: parent.height - 2 * margin - - // By rendering as a layer, the shadow will never show through the source item, - // even when the source item's opacity is less than 1 - layer.enabled: true - - // The box shadows automatically pick up the size of the source Item and not - // the size of the parent, so we don't need to worry about the extra padding - // in the parent Item - BoxShadow { - offsetY: effect._shadow[0].offset - blurRadius: effect._shadow[0].blur - spreadRadius: effect._shadow[0].spread - color: Qt.rgba(0,0,0, 0.2) - - fullWidth: effect.fullWidth - fullHeight: effect.fullHeight - source: effect.sourceItem - } - - BoxShadow { - offsetY: effect._shadow[1].offset - blurRadius: effect._shadow[1].blur - spreadRadius: effect._shadow[1].spread - color: Qt.rgba(0,0,0, 0.14) - - fullWidth: effect.fullWidth - fullHeight: effect.fullHeight - source: effect.sourceItem - } - - BoxShadow { - offsetY: effect._shadow[2].offset - blurRadius: effect._shadow[2].blur - spreadRadius: effect._shadow[2].spread - color: Qt.rgba(0,0,0, 0.12) - - fullWidth: effect.fullWidth - fullHeight: effect.fullHeight - source: effect.sourceItem - } - - ShaderEffect { - property alias source: effect.source - - x: (parent.width - width)/2 - y: (parent.height - height)/2 - width: effect.sourceItem.width - height: effect.sourceItem.height - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/Frame.qml b/bin/QtQuick/Controls.2/Material/Frame.qml deleted file mode 100644 index 0001825ea..000000000 --- a/bin/QtQuick/Controls.2/Material/Frame.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.Frame { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 12 - verticalPadding: Material.frameVerticalPadding - - background: Rectangle { - radius: 2 - color: control.Material.elevation > 0 ? control.Material.backgroundColor : "transparent" - border.color: control.Material.frameColor - - layer.enabled: control.enabled && control.Material.elevation > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/GroupBox.qml b/bin/QtQuick/Controls.2/Material/GroupBox.qml deleted file mode 100644 index e18a5949e..000000000 --- a/bin/QtQuick/Controls.2/Material/GroupBox.qml +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.GroupBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitLabelWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - spacing: 6 - padding: 12 - topPadding: Material.frameVerticalPadding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) - bottomPadding: Material.frameVerticalPadding - - label: Text { - x: control.leftPadding - width: control.availableWidth - - text: control.title - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } - - background: Rectangle { - y: control.topPadding - control.bottomPadding - width: parent.width - height: parent.height - control.topPadding + control.bottomPadding - - radius: 2 - color: control.Material.elevation > 0 ? control.Material.backgroundColor : "transparent" - border.color: control.Material.frameColor - - layer.enabled: control.enabled && control.Material.elevation > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/HorizontalHeaderView.qml b/bin/QtQuick/Controls.2/Material/HorizontalHeaderView.qml deleted file mode 100644 index fd672f34a..000000000 --- a/bin/QtQuick/Controls.2/Material/HorizontalHeaderView.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Templates 2.15 as T -import QtQuick.Controls.Material 2.15 -import QtQuick.Controls.Material.impl 2.15 - -T.HorizontalHeaderView { - id: control - - implicitWidth: syncView ? syncView.width : 0 - implicitHeight: contentHeight - - delegate: Rectangle { - // Qt6: add cellPadding (and font etc) as public API in headerview - readonly property real cellPadding: 8 - - implicitWidth: text.implicitWidth + (cellPadding * 2) - implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) - color: control.Material.backgroundColor - - Text { - id: text - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] - : model[control.textRole]) - : modelData - width: parent.width - height: parent.height - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: enabled ? control.Material.foreground : control.Material.hintTextColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/ItemDelegate.qml b/bin/QtQuick/Controls.2/Material/ItemDelegate.qml deleted file mode 100644 index 2078ce6cb..000000000 --- a/bin/QtQuick/Controls.2/Material/ItemDelegate.qml +++ /dev/null @@ -1,89 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.ItemDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 16 - verticalPadding: 8 - spacing: 16 - - icon.width: 24 - icon.height: 24 - icon.color: enabled ? Material.foreground : Material.hintTextColor - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - } - - background: Rectangle { - implicitHeight: control.Material.delegateHeight - - color: control.highlighted ? control.Material.listHighlightColor : "transparent" - - Ripple { - width: parent.width - height: parent.height - - clip: visible - pressed: control.pressed - anchor: control - active: control.down || control.visualFocus || control.hovered - color: control.Material.rippleColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/Label.qml b/bin/QtQuick/Controls.2/Material/Label.qml deleted file mode 100644 index ad923a24d..000000000 --- a/bin/QtQuick/Controls.2/Material/Label.qml +++ /dev/null @@ -1,46 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.Label { - id: control - - color: enabled ? Material.foreground : Material.hintTextColor - linkColor: Material.accentColor -} diff --git a/bin/QtQuick/Controls.2/Material/Menu.qml b/bin/QtQuick/Controls.2/Material/Menu.qml deleted file mode 100644 index 94bcc15ed..000000000 --- a/bin/QtQuick/Controls.2/Material/Menu.qml +++ /dev/null @@ -1,108 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 -import QtQuick.Window 2.12 - -T.Menu { - id: control - - Material.elevation: 8 - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - margins: 0 - verticalPadding: 8 - - transformOrigin: !cascade ? Item.Top : (mirrored ? Item.TopRight : Item.TopLeft) - - delegate: MenuItem { } - - enter: Transition { - // grow_fade_in - NumberAnimation { property: "scale"; from: 0.9; to: 1.0; easing.type: Easing.OutQuint; duration: 220 } - NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutCubic; duration: 150 } - } - - exit: Transition { - // shrink_fade_out - NumberAnimation { property: "scale"; from: 1.0; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } - NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } - } - - contentItem: ListView { - implicitHeight: contentHeight - - model: control.contentModel - interactive: Window.window - ? contentHeight + control.topPadding + control.bottomPadding > Window.window.height - : false - clip: true - currentIndex: control.currentIndex - - ScrollIndicator.vertical: ScrollIndicator {} - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: control.Material.menuItemHeight - - radius: 3 - color: control.Material.dialogColor - - layer.enabled: control.Material.elevation > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - } - } - - T.Overlay.modal: Rectangle { - color: control.Material.backgroundDimColor - Behavior on opacity { NumberAnimation { duration: 150 } } - } - - T.Overlay.modeless: Rectangle { - color: control.Material.backgroundDimColor - Behavior on opacity { NumberAnimation { duration: 150 } } - } -} diff --git a/bin/QtQuick/Controls.2/Material/MenuBar.qml b/bin/QtQuick/Controls.2/Material/MenuBar.qml deleted file mode 100644 index 66252d6ed..000000000 --- a/bin/QtQuick/Controls.2/Material/MenuBar.qml +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.MenuBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - delegate: MenuBarItem { } - - contentItem: Row { - spacing: control.spacing - Repeater { - model: control.contentModel - } - } - - background: Rectangle { - implicitHeight: 40 - color: control.Material.dialogColor - } -} diff --git a/bin/QtQuick/Controls.2/Material/MenuBarItem.qml b/bin/QtQuick/Controls.2/Material/MenuBarItem.qml deleted file mode 100644 index 588d6fbb7..000000000 --- a/bin/QtQuick/Controls.2/Material/MenuBarItem.qml +++ /dev/null @@ -1,89 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.MenuBarItem { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 16 - verticalPadding: 12 - spacing: 16 - - icon.width: 24 - icon.height: 24 - icon.color: enabled ? Material.foreground : Material.hintTextColor - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - } - - background: Rectangle { - implicitWidth: 40 - implicitHeight: 40 - color: control.highlighted ? control.Material.listHighlightColor : "transparent" - - Ripple { - width: parent.width - height: parent.height - - clip: visible - pressed: control.pressed - anchor: control - active: control.down || control.highlighted - color: control.Material.rippleColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/MenuItem.qml b/bin/QtQuick/Controls.2/Material/MenuItem.qml deleted file mode 100644 index a5d2f8a15..000000000 --- a/bin/QtQuick/Controls.2/Material/MenuItem.qml +++ /dev/null @@ -1,112 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.MenuItem { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 16 - verticalPadding: Material.menuItemVerticalPadding - spacing: 16 - - icon.width: 24 - icon.height: 24 - icon.color: enabled ? Material.foreground : Material.hintTextColor - - indicator: CheckIndicator { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - visible: control.checkable - control: control - checkState: control.checked ? Qt.Checked : Qt.Unchecked - } - - arrow: ColorImage { - x: control.mirrored ? control.padding : control.width - width - control.padding - y: control.topPadding + (control.availableHeight - height) / 2 - - visible: control.subMenu - mirror: control.mirrored - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Material/images/arrow-indicator.png" - } - - contentItem: IconLabel { - readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 - readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 - leftPadding: !control.mirrored ? indicatorPadding : arrowPadding - rightPadding: control.mirrored ? indicatorPadding : arrowPadding - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: control.Material.menuItemHeight - color: control.highlighted ? control.Material.listHighlightColor : "transparent" - - Ripple { - width: parent.width - height: parent.height - - clip: visible - pressed: control.pressed - anchor: control - active: control.down || control.highlighted - color: control.Material.rippleColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/MenuSeparator.qml b/bin/QtQuick/Controls.2/Material/MenuSeparator.qml deleted file mode 100644 index 6d80c0490..000000000 --- a/bin/QtQuick/Controls.2/Material/MenuSeparator.qml +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.MenuSeparator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - verticalPadding: 8 - - contentItem: Rectangle { - implicitWidth: 200 - implicitHeight: 1 - color: control.Material.dividerColor - } -} diff --git a/bin/QtQuick/Controls.2/Material/Page.qml b/bin/QtQuick/Controls.2/Material/Page.qml deleted file mode 100644 index 4da0ecc6e..000000000 --- a/bin/QtQuick/Controls.2/Material/Page.qml +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.Page { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitHeaderWidth, - implicitFooterWidth) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding - + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) - + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - - background: Rectangle { - color: control.Material.backgroundColor - } -} diff --git a/bin/QtQuick/Controls.2/Material/PageIndicator.qml b/bin/QtQuick/Controls.2/Material/PageIndicator.qml deleted file mode 100644 index 5e6ca2452..000000000 --- a/bin/QtQuick/Controls.2/Material/PageIndicator.qml +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.PageIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - delegate: Rectangle { - implicitWidth: 8 - implicitHeight: 8 - - radius: width / 2 - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - - opacity: index === currentIndex ? 0.95 : pressed ? 0.7 : 0.45 - Behavior on opacity { OpacityAnimator { duration: 100 } } - } - - contentItem: Row { - spacing: control.spacing - - Repeater { - model: control.count - delegate: control.delegate - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/Pane.qml b/bin/QtQuick/Controls.2/Material/Pane.qml deleted file mode 100644 index 988e225aa..000000000 --- a/bin/QtQuick/Controls.2/Material/Pane.qml +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.Pane { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 12 - - background: Rectangle { - color: control.Material.backgroundColor - radius: control.Material.elevation > 0 ? 2 : 0 - - layer.enabled: control.enabled && control.Material.elevation > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/Popup.qml b/bin/QtQuick/Controls.2/Material/Popup.qml deleted file mode 100644 index 1b576385c..000000000 --- a/bin/QtQuick/Controls.2/Material/Popup.qml +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.Popup { - id: control - - Material.elevation: 24 - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 12 - - enter: Transition { - // grow_fade_in - NumberAnimation { property: "scale"; from: 0.9; to: 1.0; easing.type: Easing.OutQuint; duration: 220 } - NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutCubic; duration: 150 } - } - - exit: Transition { - // shrink_fade_out - NumberAnimation { property: "scale"; from: 1.0; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } - NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } - } - - background: Rectangle { - radius: 2 - color: control.Material.dialogColor - - layer.enabled: control.Material.elevation > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - } - } - - T.Overlay.modal: Rectangle { - color: control.Material.backgroundDimColor - Behavior on opacity { NumberAnimation { duration: 150 } } - } - - T.Overlay.modeless: Rectangle { - color: control.Material.backgroundDimColor - Behavior on opacity { NumberAnimation { duration: 150 } } - } -} diff --git a/bin/QtQuick/Controls.2/Material/ProgressBar.qml b/bin/QtQuick/Controls.2/Material/ProgressBar.qml deleted file mode 100644 index 2848f0371..000000000 --- a/bin/QtQuick/Controls.2/Material/ProgressBar.qml +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.ProgressBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - contentItem: ProgressBarImpl { - implicitHeight: 4 - - scale: control.mirrored ? -1 : 1 - color: control.Material.accentColor - progress: control.position - indeterminate: control.visible && control.indeterminate - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 4 - y: (control.height - height) / 2 - height: 4 - - color: Qt.rgba(control.Material.accentColor.r, control.Material.accentColor.g, control.Material.accentColor.b, 0.25) - } -} diff --git a/bin/QtQuick/Controls.2/Material/RadioButton.qml b/bin/QtQuick/Controls.2/Material/RadioButton.qml deleted file mode 100644 index dadcc84f3..000000000 --- a/bin/QtQuick/Controls.2/Material/RadioButton.qml +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.RadioButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 8 - padding: 8 - verticalPadding: padding + 6 - - indicator: RadioIndicator { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - - Ripple { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 28; height: 28 - - z: -1 - anchor: control - pressed: control.pressed - active: control.down || control.visualFocus || control.hovered - color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor - } - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } -} diff --git a/bin/QtQuick/Controls.2/Material/RadioDelegate.qml b/bin/QtQuick/Controls.2/Material/RadioDelegate.qml deleted file mode 100644 index c977d3320..000000000 --- a/bin/QtQuick/Controls.2/Material/RadioDelegate.qml +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.RadioDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 16 - verticalPadding: 8 - spacing: 16 - - icon.width: 24 - icon.height: 24 - icon.color: enabled ? Material.foreground : Material.hintTextColor - - indicator: RadioIndicator { - x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: IconLabel { - leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing - rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - } - - background: Rectangle { - implicitHeight: control.Material.delegateHeight - - color: control.highlighted ? control.Material.listHighlightColor : "transparent" - - Ripple { - width: parent.width - height: parent.height - - clip: visible - pressed: control.pressed - anchor: control - active: control.down || control.visualFocus || control.hovered - color: control.Material.rippleColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/RadioIndicator.qml b/bin/QtQuick/Controls.2/Material/RadioIndicator.qml deleted file mode 100644 index e2c551848..000000000 --- a/bin/QtQuick/Controls.2/Material/RadioIndicator.qml +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -Rectangle { - id: indicator - implicitWidth: 20 - implicitHeight: 20 - radius: width / 2 - border.width: 2 - border.color: !control.enabled ? control.Material.hintTextColor - : control.checked || control.down ? control.Material.accentColor : control.Material.secondaryTextColor - color: "transparent" - - property Item control - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 10 - height: 10 - radius: width / 2 - color: parent.border.color - visible: indicator.control.checked || indicator.control.down - } -} diff --git a/bin/QtQuick/Controls.2/Material/RangeSlider.qml b/bin/QtQuick/Controls.2/Material/RangeSlider.qml deleted file mode 100644 index f05601a7e..000000000 --- a/bin/QtQuick/Controls.2/Material/RangeSlider.qml +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.RangeSlider { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - first.implicitHandleWidth + leftPadding + rightPadding, - second.implicitHandleWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - first.implicitHandleHeight + topPadding + bottomPadding, - second.implicitHandleHeight + topPadding + bottomPadding) - - padding: 6 - - first.handle: SliderHandle { - x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) - value: first.value - handleHasFocus: activeFocus - handlePressed: first.pressed - handleHovered: first.hovered - } - - second.handle: SliderHandle { - x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) - value: second.value - handleHasFocus: activeFocus - handlePressed: second.pressed - handleHovered: second.hovered - } - - background: Rectangle { - x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) - implicitWidth: control.horizontal ? 200 : 48 - implicitHeight: control.horizontal ? 48 : 200 - width: control.horizontal ? control.availableWidth : 4 - height: control.horizontal ? 4 : control.availableHeight - scale: control.horizontal && control.mirrored ? -1 : 1 - color: control.enabled ? Color.transparent(control.Material.accentColor, 0.33) : control.Material.sliderDisabledColor - - Rectangle { - x: control.horizontal ? control.first.position * parent.width : 0 - y: control.horizontal ? 0 : control.second.visualPosition * parent.height - width: control.horizontal ? control.second.position * parent.width - control.first.position * parent.width : 4 - height: control.horizontal ? 4 : control.second.position * parent.height - control.first.position * parent.height - - color: control.enabled ? control.Material.accentColor : control.Material.sliderDisabledColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/RectangularGlow.qml b/bin/QtQuick/Controls.2/Material/RectangularGlow.qml deleted file mode 100644 index c01e536de..000000000 --- a/bin/QtQuick/Controls.2/Material/RectangularGlow.qml +++ /dev/null @@ -1,240 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 - -/* - A cross-graphics API implementation of QtGraphicalEffects' RectangularGlow. - */ -Item { - id: rootItem - - /* - This property defines how many pixels outside the item area are reached - by the glow. - - The value ranges from 0.0 (no glow) to inf (infinite glow). By default, - the property is set to \c 0.0. - - \table - \header - \li Output examples with different glowRadius values - \li - \li - \row - \li \image RectangularGlow_glowRadius1.png - \li \image RectangularGlow_glowRadius2.png - \li \image RectangularGlow_glowRadius3.png - \row - \li \b { glowRadius: 10 } - \li \b { glowRadius: 20 } - \li \b { glowRadius: 40 } - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \row - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \endtable - - */ - property real glowRadius: 0.0 - - /* - This property defines how large part of the glow color is strenghtened - near the source edges. - - The value ranges from 0.0 (no strenght increase) to 1.0 (maximum - strenght increase). By default, the property is set to \c 0.0. - - \table - \header - \li Output examples with different spread values - \li - \li - \row - \li \image RectangularGlow_spread1.png - \li \image RectangularGlow_spread2.png - \li \image RectangularGlow_spread3.png - \row - \li \b { spread: 0.0 } - \li \b { spread: 0.5 } - \li \b { spread: 1.0 } - \row - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \row - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \endtable - */ - property real spread: 0.0 - - /* - This property defines the RGBA color value which is used for the glow. - - By default, the property is set to \c "white". - - \table - \header - \li Output examples with different color values - \li - \li - \row - \li \image RectangularGlow_color1.png - \li \image RectangularGlow_color2.png - \li \image RectangularGlow_color3.png - \row - \li \b { color: #ffffff } - \li \b { color: #55ff55 } - \li \b { color: #5555ff } - \row - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \row - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \li \l cornerRadius: 25 - \endtable - */ - property color color: "white" - - /* - This property defines the corner radius that is used to draw a glow with - rounded corners. - - The value ranges from 0.0 to half of the effective width or height of - the glow, whichever is smaller. This can be calculated with: \c{ - min(width, height) / 2.0 + glowRadius} - - By default, the property is bound to glowRadius property. The glow - behaves as if the rectangle was blurred when adjusting the glowRadius - property. - - \table - \header - \li Output examples with different cornerRadius values - \li - \li - \row - \li \image RectangularGlow_cornerRadius1.png - \li \image RectangularGlow_cornerRadius2.png - \li \image RectangularGlow_cornerRadius3.png - \row - \li \b { cornerRadius: 0 } - \li \b { cornerRadius: 25 } - \li \b { cornerRadius: 50 } - \row - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \li \l glowRadius: 20 - \row - \li \l spread: 0 - \li \l spread: 0 - \li \l spread: 0 - \row - \li \l color: #ffffff - \li \l color: #ffffff - \li \l color: #ffffff - \endtable - */ - property real cornerRadius: glowRadius - - /* - This property allows the effect output pixels to be cached in order to - improve the rendering performance. - - Every time the source or effect properties are changed, the pixels in - the cache must be updated. Memory consumption is increased, because an - extra buffer of memory is required for storing the effect output. - - It is recommended to disable the cache when the source or the effect - properties are animated. - - By default, the property is set to \c false. - */ - property bool cached: false - - ShaderEffectSource { - id: cacheItem - anchors.fill: shaderItem - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - ShaderEffect { - id: shaderItem - - x: (parent.width - width) / 2.0 - y: (parent.height - height) / 2.0 - width: parent.width + rootItem.glowRadius * 2 + cornerRadius * 2 - height: parent.height + rootItem.glowRadius * 2 + cornerRadius * 2 - - function clampedCornerRadius() { - var maxCornerRadius = Math.min(rootItem.width, rootItem.height) / 2 + rootItem.glowRadius; - return Math.max(0, Math.min(rootItem.cornerRadius, maxCornerRadius)) - } - - property color color: rootItem.color - property real inverseSpread: 1.0 - rootItem.spread - property real relativeSizeX: ((inverseSpread * inverseSpread) * rootItem.glowRadius + cornerRadius * 2.0) / width - property real relativeSizeY: relativeSizeX * (width / height) - property real spread: rootItem.spread / 2.0 - property real cornerRadius: clampedCornerRadius() - - fragmentShader: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Material/shaders/RectangularGlow.frag" - } -} diff --git a/bin/QtQuick/Controls.2/Material/RoundButton.qml b/bin/QtQuick/Controls.2/Material/RoundButton.qml deleted file mode 100644 index 13d0f9dbe..000000000 --- a/bin/QtQuick/Controls.2/Material/RoundButton.qml +++ /dev/null @@ -1,115 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.RoundButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - topInset: 6 - leftInset: 6 - rightInset: 6 - bottomInset: 6 - padding: 12 - spacing: 6 - - icon.width: 24 - icon.height: 24 - icon.color: !enabled ? Material.hintTextColor : - flat && highlighted ? Material.accentColor : - highlighted ? Material.primaryHighlightedTextColor : Material.foreground - - Material.elevation: flat ? control.down || control.hovered ? 2 : 0 - : control.down ? 12 : 6 - Material.background: flat ? "transparent" : undefined - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: !control.enabled ? control.Material.hintTextColor : - control.flat && control.highlighted ? control.Material.accentColor : - control.highlighted ? control.Material.primaryHighlightedTextColor : control.Material.foreground - } - - // TODO: Add a proper ripple/ink effect for mouse/touch input and focus state - background: Rectangle { - implicitWidth: control.Material.buttonHeight - implicitHeight: control.Material.buttonHeight - - radius: control.radius - color: !control.enabled ? control.Material.buttonDisabledColor - : control.checked || control.highlighted ? control.Material.highlightedButtonColor : control.Material.buttonColor - - Rectangle { - width: parent.width - height: parent.height - radius: control.radius - visible: control.hovered || control.visualFocus - color: control.Material.rippleColor - } - - Rectangle { - width: parent.width - height: parent.height - radius: control.radius - visible: control.down - color: control.Material.rippleColor - } - - // The layer is disabled when the button color is transparent so that you can do - // Material.background: "transparent" and get a proper flat button without needing - // to set Material.elevation as well - layer.enabled: control.enabled && control.Material.buttonColor.a > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/ScrollBar.qml b/bin/QtQuick/Controls.2/Material/ScrollBar.qml deleted file mode 100644 index fda643462..000000000 --- a/bin/QtQuick/Controls.2/Material/ScrollBar.qml +++ /dev/null @@ -1,89 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.ScrollBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: control.interactive ? 1 : 2 - visible: control.policy !== T.ScrollBar.AlwaysOff - minimumSize: orientation == Qt.Horizontal ? height / width : width / height - - contentItem: Rectangle { - implicitWidth: control.interactive ? 13 : 4 - implicitHeight: control.interactive ? 13 : 4 - - color: control.pressed ? control.Material.scrollBarPressedColor : - control.interactive && control.hovered ? control.Material.scrollBarHoveredColor : control.Material.scrollBarColor - opacity: 0.0 - } - - background: Rectangle { - implicitWidth: control.interactive ? 16 : 4 - implicitHeight: control.interactive ? 16 : 4 - color: "#0e000000" - opacity: 0.0 - visible: control.interactive - } - - states: State { - name: "active" - when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) - } - - transitions: [ - Transition { - to: "active" - NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 1.0 } - }, - Transition { - from: "active" - SequentialAnimation { - PropertyAction{ targets: [control.contentItem, control.background]; property: "opacity"; value: 1.0 } - PauseAnimation { duration: 2450 } - NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 0.0 } - } - } - ] -} diff --git a/bin/QtQuick/Controls.2/Material/ScrollIndicator.qml b/bin/QtQuick/Controls.2/Material/ScrollIndicator.qml deleted file mode 100644 index 19f23ad2d..000000000 --- a/bin/QtQuick/Controls.2/Material/ScrollIndicator.qml +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.ScrollIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 2 - - contentItem: Rectangle { - implicitWidth: 4 - implicitHeight: 4 - - color: control.Material.scrollBarColor - visible: control.size < 1.0 - opacity: 0.0 - - states: State { - name: "active" - when: control.active - PropertyChanges { target: control.contentItem; opacity: 0.75 } - } - - transitions: [ - Transition { - from: "active" - SequentialAnimation { - PauseAnimation { duration: 450 } - NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } - } - } - ] - } -} diff --git a/bin/QtQuick/Controls.2/Material/Slider.qml b/bin/QtQuick/Controls.2/Material/Slider.qml deleted file mode 100644 index ac7a0c420..000000000 --- a/bin/QtQuick/Controls.2/Material/Slider.qml +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.Slider { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitHandleWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitHandleHeight + topPadding + bottomPadding) - - padding: 6 - - handle: SliderHandle { - x: control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) - value: control.value - handleHasFocus: control.visualFocus - handlePressed: control.pressed - handleHovered: control.hovered - } - - background: Rectangle { - x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) - implicitWidth: control.horizontal ? 200 : 48 - implicitHeight: control.horizontal ? 48 : 200 - width: control.horizontal ? control.availableWidth : 4 - height: control.horizontal ? 4 : control.availableHeight - scale: control.horizontal && control.mirrored ? -1 : 1 - color: control.enabled ? Color.transparent(control.Material.accentColor, 0.33) : control.Material.sliderDisabledColor - - Rectangle { - x: control.horizontal ? 0 : (parent.width - width) / 2 - y: control.horizontal ? (parent.height - height) / 2 : control.visualPosition * parent.height - width: control.horizontal ? control.position * parent.width : 4 - height: control.horizontal ? 4 : control.position * parent.height - - color: control.enabled ? control.Material.accentColor : control.Material.sliderDisabledColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/SliderHandle.qml b/bin/QtQuick/Controls.2/Material/SliderHandle.qml deleted file mode 100644 index c9078bc8a..000000000 --- a/bin/QtQuick/Controls.2/Material/SliderHandle.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -Item { - id: root - implicitWidth: initialSize - implicitHeight: initialSize - - property real value: 0 - property bool handleHasFocus: false - property bool handlePressed: false - property bool handleHovered: false - readonly property int initialSize: 13 - readonly property var control: parent - - Rectangle { - id: handleRect - width: parent.width - height: parent.height - radius: width / 2 - scale: root.handlePressed ? 1.5 : 1 - color: control.enabled ? root.control.Material.accentColor : root.control.Material.sliderDisabledColor - - Behavior on scale { - NumberAnimation { - duration: 250 - } - } - } - - Ripple { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 22; height: 22 - pressed: root.handlePressed - active: root.handlePressed || root.handleHasFocus || root.handleHovered - color: root.control.Material.highlightedRippleColor - } -} diff --git a/bin/QtQuick/Controls.2/Material/SpinBox.qml b/bin/QtQuick/Controls.2/Material/SpinBox.qml deleted file mode 100644 index 23c86bc3d..000000000 --- a/bin/QtQuick/Controls.2/Material/SpinBox.qml +++ /dev/null @@ -1,156 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.SpinBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentItem.implicitWidth + - up.implicitIndicatorWidth + - down.implicitIndicatorWidth) - implicitHeight: Math.max(implicitContentHeight + topPadding + bottomPadding, - implicitBackgroundHeight, - up.implicitIndicatorHeight, - down.implicitIndicatorHeight) - - spacing: 6 - topPadding: 8 - bottomPadding: 16 - leftPadding: (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) - rightPadding: (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) - - validator: IntValidator { - locale: control.locale.name - bottom: Math.min(control.from, control.to) - top: Math.max(control.from, control.to) - } - - contentItem: TextInput { - text: control.displayText - - font: control.font - color: enabled ? control.Material.foreground : control.Material.hintTextColor - selectionColor: control.Material.textSelectionColor - selectedTextColor: control.Material.foreground - horizontalAlignment: Qt.AlignHCenter - verticalAlignment: Qt.AlignVCenter - - cursorDelegate: CursorDelegate { } - - readOnly: !control.editable - validator: control.validator - inputMethodHints: control.inputMethodHints - } - - up.indicator: Item { - x: control.mirrored ? 0 : parent.width - width - implicitWidth: control.Material.touchTarget - implicitHeight: control.Material.touchTarget - height: parent.height - width: height - - Ripple { - clipRadius: 2 - x: control.spacing - y: control.spacing - width: parent.width - 2 * control.spacing - height: parent.height - 2 * control.spacing - pressed: control.up.pressed - active: control.up.pressed || control.up.hovered || control.visualFocus - color: control.Material.rippleColor - } - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: Math.min(parent.width / 3, parent.height / 3) - height: 2 - color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor - } - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 2 - height: Math.min(parent.width / 3, parent.height / 3) - color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor - } - } - - down.indicator: Item { - x: control.mirrored ? parent.width - width : 0 - implicitWidth: control.Material.touchTarget - implicitHeight: control.Material.touchTarget - height: parent.height - width: height - - Ripple { - clipRadius: 2 - x: control.spacing - y: control.spacing - width: parent.width - 2 * control.spacing - height: parent.height - 2 * control.spacing - pressed: control.down.pressed - active: control.down.pressed || control.down.hovered || control.visualFocus - color: control.Material.rippleColor - } - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: parent.width / 3 - height: 2 - color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor - } - } - - background: Item { - implicitWidth: 192 - implicitHeight: control.Material.touchTarget - - Rectangle { - x: parent.width / 2 - width / 2 - y: parent.y + parent.height - height - control.bottomPadding / 2 - width: control.availableWidth - height: control.activeFocus ? 2 : 1 - color: control.activeFocus ? control.Material.accentColor : control.Material.hintTextColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/SplitView.qml b/bin/QtQuick/Controls.2/Material/SplitView.qml deleted file mode 100644 index 5544e833e..000000000 --- a/bin/QtQuick/Controls.2/Material/SplitView.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2018 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.13 -import QtQuick.Templates 2.13 as T -import QtQuick.Controls 2.13 -import QtQuick.Controls.impl 2.13 -import QtQuick.Controls.Material 2.13 - -T.SplitView { - id: control - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - handle: Rectangle { - implicitWidth: control.orientation === Qt.Horizontal ? 6 : control.width - implicitHeight: control.orientation === Qt.Horizontal ? control.height : 6 - color: T.SplitHandle.pressed ? control.Material.background - : Qt.lighter(control.Material.background, T.SplitHandle.hovered ? 1.2 : 1.1) - - Rectangle { - color: control.Material.secondaryTextColor - width: control.orientation === Qt.Horizontal ? thickness : length - height: control.orientation === Qt.Horizontal ? length : thickness - radius: thickness - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - - property int length: parent.T.SplitHandle.pressed ? 3 : 8 - readonly property int thickness: parent.T.SplitHandle.pressed ? 3 : 1 - - Behavior on length { - NumberAnimation { - duration: 100 - } - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/StackView.qml b/bin/QtQuick/Controls.2/Material/StackView.qml deleted file mode 100644 index dd5d6ce65..000000000 --- a/bin/QtQuick/Controls.2/Material/StackView.qml +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.StackView { - id: control - - popEnter: Transition { - // slide_in_left - NumberAnimation { property: "x"; from: (control.mirrored ? -0.5 : 0.5) * -control.width; to: 0; duration: 200; easing.type: Easing.OutCubic } - NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; duration: 200; easing.type: Easing.OutCubic } - } - - popExit: Transition { - // slide_out_right - NumberAnimation { property: "x"; from: 0; to: (control.mirrored ? -0.5 : 0.5) * control.width; duration: 200; easing.type: Easing.OutCubic } - NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; duration: 200; easing.type: Easing.OutCubic } - } - - pushEnter: Transition { - // slide_in_right - NumberAnimation { property: "x"; from: (control.mirrored ? -0.5 : 0.5) * control.width; to: 0; duration: 200; easing.type: Easing.OutCubic } - NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; duration: 200; easing.type: Easing.OutCubic } - } - - pushExit: Transition { - // slide_out_left - NumberAnimation { property: "x"; from: 0; to: (control.mirrored ? -0.5 : 0.5) * -control.width; duration: 200; easing.type: Easing.OutCubic } - NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; duration: 200; easing.type: Easing.OutCubic } - } - - replaceEnter: Transition { - // slide_in_right - NumberAnimation { property: "x"; from: (control.mirrored ? -0.5 : 0.5) * control.width; to: 0; duration: 200; easing.type: Easing.OutCubic } - NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; duration: 200; easing.type: Easing.OutCubic } - } - - replaceExit: Transition { - // slide_out_left - NumberAnimation { property: "x"; from: 0; to: (control.mirrored ? -0.5 : 0.5) * -control.width; duration: 200; easing.type: Easing.OutCubic } - NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; duration: 200; easing.type: Easing.OutCubic } - } -} diff --git a/bin/QtQuick/Controls.2/Material/SwipeDelegate.qml b/bin/QtQuick/Controls.2/Material/SwipeDelegate.qml deleted file mode 100644 index d06799be0..000000000 --- a/bin/QtQuick/Controls.2/Material/SwipeDelegate.qml +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.SwipeDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 16 - verticalPadding: 8 - spacing: 16 - - icon.width: 24 - icon.height: 24 - icon.color: enabled ? Material.foreground : Material.hintTextColor - - swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - } - - background: Rectangle { - implicitHeight: control.Material.delegateHeight - - color: control.Material.backgroundColor - - Rectangle { - width: parent.width - height: parent.height - visible: control.highlighted - color: control.Material.listHighlightColor - } - - Ripple { - width: parent.width - height: parent.height - - clip: visible - pressed: control.pressed - anchor: control - active: control.down || control.visualFocus || control.hovered - color: control.Material.rippleColor - enabled: control.swipe.position === 0 - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/SwipeView.qml b/bin/QtQuick/Controls.2/Material/SwipeView.qml deleted file mode 100644 index a84f16c5b..000000000 --- a/bin/QtQuick/Controls.2/Material/SwipeView.qml +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.SwipeView { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - contentItem: ListView { - model: control.contentModel - interactive: control.interactive - currentIndex: control.currentIndex - focus: control.focus - - spacing: control.spacing - orientation: control.orientation - snapMode: ListView.SnapOneItem - boundsBehavior: Flickable.StopAtBounds - - highlightRangeMode: ListView.StrictlyEnforceRange - preferredHighlightBegin: 0 - preferredHighlightEnd: 0 - highlightMoveDuration: 250 - maximumFlickVelocity: 4 * (control.orientation === Qt.Horizontal ? width : height) - } -} diff --git a/bin/QtQuick/Controls.2/Material/Switch.qml b/bin/QtQuick/Controls.2/Material/Switch.qml deleted file mode 100644 index fd0db9256..000000000 --- a/bin/QtQuick/Controls.2/Material/Switch.qml +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Switch { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 8 - spacing: 8 - - indicator: SwitchIndicator { - x: text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - - Ripple { - x: parent.handle.x + parent.handle.width / 2 - width / 2 - y: parent.handle.y + parent.handle.height / 2 - height / 2 - width: 28; height: 28 - pressed: control.pressed - active: control.down || control.visualFocus || control.hovered - color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor - } - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } -} diff --git a/bin/QtQuick/Controls.2/Material/SwitchDelegate.qml b/bin/QtQuick/Controls.2/Material/SwitchDelegate.qml deleted file mode 100644 index 834a3dfa8..000000000 --- a/bin/QtQuick/Controls.2/Material/SwitchDelegate.qml +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.SwitchDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 16 - verticalPadding: Material.switchDelegateVerticalPadding - spacing: 16 - - icon.width: 24 - icon.height: 24 - icon.color: enabled ? Material.foreground : Material.hintTextColor - - indicator: SwitchIndicator { - x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: IconLabel { - leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing - rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.enabled ? control.Material.foreground : control.Material.hintTextColor - } - - background: Rectangle { - implicitHeight: control.Material.delegateHeight - - color: control.highlighted ? control.Material.listHighlightColor : "transparent" - - Ripple { - width: parent.width - height: parent.height - - clip: visible - pressed: control.pressed - anchor: control - active: control.down || control.visualFocus || control.hovered - color: control.Material.rippleColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/SwitchIndicator.qml b/bin/QtQuick/Controls.2/Material/SwitchIndicator.qml deleted file mode 100644 index 3034e771a..000000000 --- a/bin/QtQuick/Controls.2/Material/SwitchIndicator.qml +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -Item { - id: indicator - implicitWidth: 38 - implicitHeight: 32 - - property Item control - property alias handle: handle - - Material.elevation: 1 - - Rectangle { - width: parent.width - height: 14 - radius: height / 2 - y: parent.height / 2 - height / 2 - color: indicator.control.enabled ? (indicator.control.checked ? indicator.control.Material.switchCheckedTrackColor : indicator.control.Material.switchUncheckedTrackColor) - : indicator.control.Material.switchDisabledTrackColor - } - - Rectangle { - id: handle - x: Math.max(0, Math.min(parent.width - width, indicator.control.visualPosition * parent.width - (width / 2))) - y: (parent.height - height) / 2 - width: 20 - height: 20 - radius: width / 2 - color: indicator.control.enabled ? (indicator.control.checked ? indicator.control.Material.switchCheckedHandleColor : indicator.control.Material.switchUncheckedHandleColor) - : indicator.control.Material.switchDisabledHandleColor - - Behavior on x { - enabled: !indicator.control.pressed - SmoothedAnimation { - duration: 300 - } - } - layer.enabled: indicator.Material.elevation > 0 - layer.effect: ElevationEffect { - elevation: indicator.Material.elevation - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/TabBar.qml b/bin/QtQuick/Controls.2/Material/TabBar.qml deleted file mode 100644 index 98c9132ae..000000000 --- a/bin/QtQuick/Controls.2/Material/TabBar.qml +++ /dev/null @@ -1,89 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.TabBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - spacing: 1 - - contentItem: ListView { - model: control.contentModel - currentIndex: control.currentIndex - - spacing: control.spacing - orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds - flickableDirection: Flickable.AutoFlickIfNeeded - snapMode: ListView.SnapToItem - - highlightMoveDuration: 250 - highlightResizeDuration: 0 - highlightFollowsCurrentItem: true - highlightRangeMode: ListView.ApplyRange - preferredHighlightBegin: 48 - preferredHighlightEnd: width - 48 - - highlight: Item { - z: 2 - Rectangle { - height: 2 - width: parent.width - y: control.position === T.TabBar.Footer ? 0 : parent.height - height - color: control.Material.accentColor - } - } - } - - background: Rectangle { - color: control.Material.backgroundColor - - layer.enabled: control.Material.elevation > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - fullWidth: true - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/TabButton.qml b/bin/QtQuick/Controls.2/Material/TabButton.qml deleted file mode 100644 index 5245652c2..000000000 --- a/bin/QtQuick/Controls.2/Material/TabButton.qml +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.TabButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 12 - spacing: 6 - - icon.width: 24 - icon.height: 24 - icon.color: !enabled ? Material.hintTextColor : down || checked ? Material.accentColor : Material.foreground - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: !control.enabled ? control.Material.hintTextColor : control.down || control.checked ? control.Material.accentColor : control.Material.foreground - } - - background: Ripple { - implicitHeight: control.Material.touchTarget - - clip: true - pressed: control.pressed - anchor: control - active: control.down || control.visualFocus || control.hovered - color: control.Material.rippleColor - } -} diff --git a/bin/QtQuick/Controls.2/Material/TextArea.qml b/bin/QtQuick/Controls.2/Material/TextArea.qml deleted file mode 100644 index 249b64017..000000000 --- a/bin/QtQuick/Controls.2/Material/TextArea.qml +++ /dev/null @@ -1,84 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.TextArea { - id: control - - implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, - implicitBackgroundWidth + leftInset + rightInset, - placeholder.implicitWidth + leftPadding + rightPadding) - implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, - implicitBackgroundHeight + topInset + bottomInset, - placeholder.implicitHeight + 1 + topPadding + bottomPadding) - - topPadding: 8 - bottomPadding: 16 - - color: enabled ? Material.foreground : Material.hintTextColor - selectionColor: Material.accentColor - selectedTextColor: Material.primaryHighlightedTextColor - placeholderTextColor: Material.hintTextColor - cursorDelegate: CursorDelegate { } - - PlaceholderText { - id: placeholder - x: control.leftPadding - y: control.topPadding - width: control.width - (control.leftPadding + control.rightPadding) - height: control.height - (control.topPadding + control.bottomPadding) - text: control.placeholderText - font: control.font - color: control.placeholderTextColor - verticalAlignment: control.verticalAlignment - elide: Text.ElideRight - renderType: control.renderType - visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) - } - - background: Rectangle { - y: parent.height - height - control.bottomPadding / 2 - implicitWidth: 120 - height: control.activeFocus ? 2 : 1 - color: control.activeFocus ? control.Material.accentColor : control.Material.hintTextColor - } -} diff --git a/bin/QtQuick/Controls.2/Material/TextField.qml b/bin/QtQuick/Controls.2/Material/TextField.qml deleted file mode 100644 index ed42b295d..000000000 --- a/bin/QtQuick/Controls.2/Material/TextField.qml +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.TextField { - id: control - - implicitWidth: implicitBackgroundWidth + leftInset + rightInset - || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding, - placeholder.implicitHeight + topPadding + bottomPadding) - - topPadding: 8 - bottomPadding: 16 - - color: enabled ? Material.foreground : Material.hintTextColor - selectionColor: Material.accentColor - selectedTextColor: Material.primaryHighlightedTextColor - placeholderTextColor: Material.hintTextColor - verticalAlignment: TextInput.AlignVCenter - - cursorDelegate: CursorDelegate { } - - PlaceholderText { - id: placeholder - x: control.leftPadding - y: control.topPadding - width: control.width - (control.leftPadding + control.rightPadding) - height: control.height - (control.topPadding + control.bottomPadding) - text: control.placeholderText - font: control.font - color: control.placeholderTextColor - verticalAlignment: control.verticalAlignment - elide: Text.ElideRight - renderType: control.renderType - visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) - } - - background: Rectangle { - y: control.height - height - control.bottomPadding + 8 - implicitWidth: 120 - height: control.activeFocus || control.hovered ? 2 : 1 - color: control.activeFocus ? control.Material.accentColor - : (control.hovered ? control.Material.primaryTextColor : control.Material.hintTextColor) - } -} diff --git a/bin/QtQuick/Controls.2/Material/ToolBar.qml b/bin/QtQuick/Controls.2/Material/ToolBar.qml deleted file mode 100644 index 5b887598e..000000000 --- a/bin/QtQuick/Controls.2/Material/ToolBar.qml +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.ToolBar { - id: control - - Material.elevation: 4 - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - Material.foreground: Material.toolTextColor - - spacing: 16 - - background: Rectangle { - implicitHeight: 48 - color: control.Material.toolBarColor - - layer.enabled: control.Material.elevation > 0 - layer.effect: ElevationEffect { - elevation: control.Material.elevation - fullWidth: true - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/ToolButton.qml b/bin/QtQuick/Controls.2/Material/ToolButton.qml deleted file mode 100644 index 69c424414..000000000 --- a/bin/QtQuick/Controls.2/Material/ToolButton.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Controls.Material.impl 2.12 - -T.ToolButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 24 - icon.height: 24 - icon.color: !enabled ? Material.hintTextColor : checked || highlighted ? Material.accent : Material.foreground - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: !control.enabled ? control.Material.hintTextColor : - control.checked || control.highlighted ? control.Material.accent : control.Material.foreground - } - - background: Ripple { - implicitWidth: control.Material.touchTarget - implicitHeight: control.Material.touchTarget - - readonly property bool square: control.contentItem.width <= control.contentItem.height - - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - clip: !square - width: square ? parent.height / 2 : parent.width - height: square ? parent.height / 2 : parent.height - pressed: control.pressed - anchor: control - active: control.enabled && (control.down || control.visualFocus || control.hovered) - color: control.Material.rippleColor - } -} diff --git a/bin/QtQuick/Controls.2/Material/ToolSeparator.qml b/bin/QtQuick/Controls.2/Material/ToolSeparator.qml deleted file mode 100644 index 943676573..000000000 --- a/bin/QtQuick/Controls.2/Material/ToolSeparator.qml +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.ToolSeparator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - horizontalPadding: vertical ? 12 : 5 - verticalPadding: vertical ? 5 : 12 - - contentItem: Rectangle { - implicitWidth: vertical ? 1 : 38 - implicitHeight: vertical ? 38 : 1 - color: control.Material.hintTextColor - } -} diff --git a/bin/QtQuick/Controls.2/Material/ToolTip.qml b/bin/QtQuick/Controls.2/Material/ToolTip.qml deleted file mode 100644 index 83afe4b1f..000000000 --- a/bin/QtQuick/Controls.2/Material/ToolTip.qml +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.ToolTip { - id: control - - x: parent ? (parent.width - implicitWidth) / 2 : 0 - y: -implicitHeight - 24 - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - margins: 12 - padding: 8 - horizontalPadding: padding + 8 - - closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent - - Material.theme: Material.Dark - - enter: Transition { - // toast_enter - NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutQuad; duration: 500 } - } - - exit: Transition { - // toast_exit - NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.InQuad; duration: 500 } - } - - contentItem: Text { - text: control.text - font: control.font - wrapMode: Text.Wrap - color: control.Material.foreground - } - - background: Rectangle { - implicitHeight: control.Material.tooltipHeight - color: control.Material.tooltipColor - opacity: 0.9 - radius: 2 - } -} diff --git a/bin/QtQuick/Controls.2/Material/Tumbler.qml b/bin/QtQuick/Controls.2/Material/Tumbler.qml deleted file mode 100644 index 30d66c582..000000000 --- a/bin/QtQuick/Controls.2/Material/Tumbler.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Material 2.12 - -T.Tumbler { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) || 60 // ### remove 60 in Qt 6 - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) || 200 // ### remove 200 in Qt 6 - - delegate: Text { - text: modelData - color: control.Material.foreground - font: control.font - opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - } - - contentItem: TumblerView { - implicitWidth: 60 - implicitHeight: 200 - model: control.model - delegate: control.delegate - path: Path { - startX: control.contentItem.width / 2 - startY: -control.contentItem.delegateHeight / 2 - PathLine { - x: control.contentItem.width / 2 - y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 - } - } - - property real delegateHeight: control.availableHeight / control.visibleItemCount - } -} diff --git a/bin/QtQuick/Controls.2/Material/VerticalHeaderView.qml b/bin/QtQuick/Controls.2/Material/VerticalHeaderView.qml deleted file mode 100644 index 5fc5aebea..000000000 --- a/bin/QtQuick/Controls.2/Material/VerticalHeaderView.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Templates 2.15 as T -import QtQuick.Controls.Material 2.15 -import QtQuick.Controls.Material.impl 2.15 - -T.VerticalHeaderView { - id: control - - implicitWidth: contentWidth - implicitHeight: syncView ? syncView.height : 0 - - delegate: Rectangle { - // Qt6: add cellPadding (and font etc) as public API in headerview - readonly property real cellPadding: 8 - - implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) - implicitHeight: text.implicitHeight + (cellPadding * 2) - color: control.Material.backgroundColor - - Text { - id: text - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] - : model[control.textRole]) - : modelData - width: parent.width - height: parent.height - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: enabled ? control.Material.foreground : control.Material.hintTextColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Material/plugins.qmltypes b/bin/QtQuick/Controls.2/Material/plugins.qmltypes deleted file mode 100644 index e290e0eab..000000000 --- a/bin/QtQuick/Controls.2/Material/plugins.qmltypes +++ /dev/null @@ -1,459 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls.Material 2.15' - -Module { - dependencies: ["QtQuick.Controls 2.0"] - Component { name: "QQuickAttachedObject"; prototype: "QObject" } - Component { - name: "QQuickItem" - defaultProperty: "data" - prototype: "QObject" - Enum { - name: "Flags" - values: { - "ItemClipsChildrenToShape": 1, - "ItemAcceptsInputMethod": 2, - "ItemIsFocusScope": 4, - "ItemHasContents": 8, - "ItemAcceptsDrops": 16 - } - } - Enum { - name: "TransformOrigin" - values: { - "TopLeft": 0, - "Top": 1, - "TopRight": 2, - "Left": 3, - "Center": 4, - "Right": 5, - "BottomLeft": 6, - "Bottom": 7, - "BottomRight": 8 - } - } - Property { name: "parent"; type: "QQuickItem"; isPointer: true } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - Property { name: "z"; type: "double" } - Property { name: "width"; type: "double" } - Property { name: "height"; type: "double" } - Property { name: "opacity"; type: "double" } - Property { name: "enabled"; type: "bool" } - Property { name: "visible"; type: "bool" } - Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } - Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } - Property { name: "state"; type: "string" } - Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } - Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } - Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baselineOffset"; type: "double" } - Property { name: "clip"; type: "bool" } - Property { name: "focus"; type: "bool" } - Property { name: "activeFocus"; type: "bool"; isReadonly: true } - Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } - Property { name: "rotation"; type: "double" } - Property { name: "scale"; type: "double" } - Property { name: "transformOrigin"; type: "TransformOrigin" } - Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } - Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } - Property { name: "smooth"; type: "bool" } - Property { name: "antialiasing"; type: "bool" } - Property { name: "implicitWidth"; type: "double" } - Property { name: "implicitHeight"; type: "double" } - Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } - Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } - Signal { - name: "childrenRectChanged" - Parameter { type: "QRectF" } - } - Signal { - name: "baselineOffsetChanged" - Parameter { type: "double" } - } - Signal { - name: "stateChanged" - Parameter { type: "string" } - } - Signal { - name: "focusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusOnTabChanged" - revision: 1 - Parameter { type: "bool" } - } - Signal { - name: "parentChanged" - Parameter { type: "QQuickItem"; isPointer: true } - } - Signal { - name: "transformOriginChanged" - Parameter { type: "TransformOrigin" } - } - Signal { - name: "smoothChanged" - Parameter { type: "bool" } - } - Signal { - name: "antialiasingChanged" - Parameter { type: "bool" } - } - Signal { - name: "clipChanged" - Parameter { type: "bool" } - } - Signal { - name: "windowChanged" - revision: 1 - Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } - } - Signal { name: "containmentMaskChanged"; revision: 11 } - Method { name: "update" } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - Parameter { name: "targetSize"; type: "QSize" } - } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - } - Method { - name: "contains" - type: "bool" - Parameter { name: "point"; type: "QPointF" } - } - Method { - name: "mapFromItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapFromGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { name: "forceActiveFocus" } - Method { - name: "forceActiveFocus" - Parameter { name: "reason"; type: "Qt::FocusReason" } - } - Method { - name: "nextItemInFocusChain" - revision: 1 - type: "QQuickItem*" - Parameter { name: "forward"; type: "bool" } - } - Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } - Method { - name: "childAt" - type: "QQuickItem*" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { - name: "QQuickMaterialBusyIndicator" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.Material.impl/BusyIndicatorImpl 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "color"; type: "QColor" } - Property { name: "running"; type: "bool" } - } - Component { - name: "QQuickMaterialProgressBar" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.Material.impl/ProgressBarImpl 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "color"; type: "QColor" } - Property { name: "progress"; type: "double" } - Property { name: "indeterminate"; type: "bool" } - } - Component { - name: "QQuickMaterialRipple" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.Material.impl/Ripple 2.0"] - exportMetaObjectRevisions: [0] - Enum { - name: "Trigger" - values: { - "Press": 0, - "Release": 1 - } - } - Property { name: "color"; type: "QColor" } - Property { name: "clipRadius"; type: "double" } - Property { name: "pressed"; type: "bool" } - Property { name: "active"; type: "bool" } - Property { name: "anchor"; type: "QQuickItem"; isPointer: true } - Property { name: "trigger"; type: "Trigger" } - } - Component { - name: "QQuickMaterialStyle" - prototype: "QQuickAttachedObject" - exports: ["QtQuick.Controls.Material/Material 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "Theme" - values: { - "Light": 0, - "Dark": 1, - "System": 2 - } - } - Enum { - name: "Variant" - values: { - "Normal": 0, - "Dense": 1 - } - } - Enum { - name: "Color" - values: { - "Red": 0, - "Pink": 1, - "Purple": 2, - "DeepPurple": 3, - "Indigo": 4, - "Blue": 5, - "LightBlue": 6, - "Cyan": 7, - "Teal": 8, - "Green": 9, - "LightGreen": 10, - "Lime": 11, - "Yellow": 12, - "Amber": 13, - "Orange": 14, - "DeepOrange": 15, - "Brown": 16, - "Grey": 17, - "BlueGrey": 18 - } - } - Enum { - name: "Shade" - values: { - "Shade50": 0, - "Shade100": 1, - "Shade200": 2, - "Shade300": 3, - "Shade400": 4, - "Shade500": 5, - "Shade600": 6, - "Shade700": 7, - "Shade800": 8, - "Shade900": 9, - "ShadeA100": 10, - "ShadeA200": 11, - "ShadeA400": 12, - "ShadeA700": 13 - } - } - Property { name: "theme"; type: "Theme" } - Property { name: "primary"; type: "QVariant" } - Property { name: "accent"; type: "QVariant" } - Property { name: "foreground"; type: "QVariant" } - Property { name: "background"; type: "QVariant" } - Property { name: "elevation"; type: "int" } - Property { name: "primaryColor"; type: "QColor"; isReadonly: true } - Property { name: "accentColor"; type: "QColor"; isReadonly: true } - Property { name: "backgroundColor"; type: "QColor"; isReadonly: true } - Property { name: "primaryTextColor"; type: "QColor"; isReadonly: true } - Property { name: "primaryHighlightedTextColor"; type: "QColor"; isReadonly: true } - Property { name: "secondaryTextColor"; type: "QColor"; isReadonly: true } - Property { name: "hintTextColor"; type: "QColor"; isReadonly: true } - Property { name: "textSelectionColor"; type: "QColor"; isReadonly: true } - Property { name: "dropShadowColor"; type: "QColor"; isReadonly: true } - Property { name: "dividerColor"; type: "QColor"; isReadonly: true } - Property { name: "iconColor"; type: "QColor"; isReadonly: true } - Property { name: "iconDisabledColor"; type: "QColor"; isReadonly: true } - Property { name: "buttonColor"; type: "QColor"; isReadonly: true } - Property { name: "buttonDisabledColor"; type: "QColor"; isReadonly: true } - Property { name: "highlightedButtonColor"; type: "QColor"; isReadonly: true } - Property { name: "frameColor"; type: "QColor"; isReadonly: true } - Property { name: "rippleColor"; type: "QColor"; isReadonly: true } - Property { name: "highlightedRippleColor"; type: "QColor"; isReadonly: true } - Property { name: "switchUncheckedTrackColor"; type: "QColor"; isReadonly: true } - Property { name: "switchCheckedTrackColor"; type: "QColor"; isReadonly: true } - Property { name: "switchUncheckedHandleColor"; type: "QColor"; isReadonly: true } - Property { name: "switchCheckedHandleColor"; type: "QColor"; isReadonly: true } - Property { name: "switchDisabledTrackColor"; type: "QColor"; isReadonly: true } - Property { name: "switchDisabledHandleColor"; type: "QColor"; isReadonly: true } - Property { name: "scrollBarColor"; type: "QColor"; isReadonly: true } - Property { name: "scrollBarHoveredColor"; type: "QColor"; isReadonly: true } - Property { name: "scrollBarPressedColor"; type: "QColor"; isReadonly: true } - Property { name: "dialogColor"; type: "QColor"; isReadonly: true } - Property { name: "backgroundDimColor"; type: "QColor"; isReadonly: true } - Property { name: "listHighlightColor"; type: "QColor"; isReadonly: true } - Property { name: "tooltipColor"; type: "QColor"; isReadonly: true } - Property { name: "toolBarColor"; type: "QColor"; isReadonly: true } - Property { name: "toolTextColor"; type: "QColor"; isReadonly: true } - Property { name: "spinBoxDisabledIconColor"; type: "QColor"; isReadonly: true } - Property { name: "sliderDisabledColor"; revision: 15; type: "QColor"; isReadonly: true } - Property { name: "touchTarget"; type: "int"; isReadonly: true } - Property { name: "buttonHeight"; type: "int"; isReadonly: true } - Property { name: "delegateHeight"; type: "int"; isReadonly: true } - Property { name: "dialogButtonBoxHeight"; type: "int"; isReadonly: true } - Property { name: "frameVerticalPadding"; type: "int"; isReadonly: true } - Property { name: "menuItemHeight"; type: "int"; isReadonly: true } - Property { name: "menuItemVerticalPadding"; type: "int"; isReadonly: true } - Property { name: "switchDelegateVerticalPadding"; type: "int"; isReadonly: true } - Property { name: "tooltipHeight"; type: "int"; isReadonly: true } - Signal { name: "paletteChanged" } - Method { - name: "color" - type: "QColor" - Parameter { name: "color"; type: "Color" } - Parameter { name: "shade"; type: "Shade" } - } - Method { - name: "color" - type: "QColor" - Parameter { name: "color"; type: "Color" } - } - Method { - name: "shade" - type: "QColor" - Parameter { name: "color"; type: "QColor" } - Parameter { name: "shade"; type: "Shade" } - } - } - Component { - prototype: "QQuickItem" - name: "QtQuick.Controls.Material.impl/BoxShadow 2.0" - exports: ["QtQuick.Controls.Material.impl/BoxShadow 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "offsetX"; type: "int" } - Property { name: "offsetY"; type: "int" } - Property { name: "blurRadius"; type: "int" } - Property { name: "spreadRadius"; type: "int" } - Property { name: "source"; type: "QQuickItem"; isPointer: true } - Property { name: "fullWidth"; type: "bool" } - Property { name: "fullHeight"; type: "bool" } - Property { name: "glowRadius"; type: "double" } - Property { name: "spread"; type: "double" } - Property { name: "color"; type: "QColor" } - Property { name: "cornerRadius"; type: "double" } - Property { name: "cached"; type: "bool" } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Material.impl/CheckIndicator 2.0" - exports: ["QtQuick.Controls.Material.impl/CheckIndicator 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "checkState"; type: "int" } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Material.impl/CursorDelegate 2.0" - exports: ["QtQuick.Controls.Material.impl/CursorDelegate 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickItem" - name: "QtQuick.Controls.Material.impl/ElevationEffect 2.0" - exports: ["QtQuick.Controls.Material.impl/ElevationEffect 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "source"; type: "QVariant" } - Property { name: "elevation"; type: "int" } - Property { name: "fullWidth"; type: "bool" } - Property { name: "fullHeight"; type: "bool" } - Property { name: "sourceItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "_shadows"; type: "QVariant"; isReadonly: true } - Property { name: "_shadow"; type: "QVariant"; isReadonly: true } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Material.impl/RadioIndicator 2.0" - exports: ["QtQuick.Controls.Material.impl/RadioIndicator 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - } - Component { - prototype: "QQuickItem" - name: "QtQuick.Controls.Material.impl/RectangularGlow 2.0" - exports: ["QtQuick.Controls.Material.impl/RectangularGlow 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "glowRadius"; type: "double" } - Property { name: "spread"; type: "double" } - Property { name: "color"; type: "QColor" } - Property { name: "cornerRadius"; type: "double" } - Property { name: "cached"; type: "bool" } - } - Component { - prototype: "QQuickItem" - name: "QtQuick.Controls.Material.impl/SliderHandle 2.0" - exports: ["QtQuick.Controls.Material.impl/SliderHandle 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "value"; type: "double" } - Property { name: "handleHasFocus"; type: "bool" } - Property { name: "handlePressed"; type: "bool" } - Property { name: "handleHovered"; type: "bool" } - Property { name: "initialSize"; type: "int"; isReadonly: true } - Property { name: "control"; type: "QVariant"; isReadonly: true } - } - Component { - prototype: "QQuickItem" - name: "QtQuick.Controls.Material.impl/SwitchIndicator 2.0" - exports: ["QtQuick.Controls.Material.impl/SwitchIndicator 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "handle"; type: "QQuickRectangle"; isReadonly: true; isPointer: true } - } -} diff --git a/bin/QtQuick/Controls.2/Material/qmldir b/bin/QtQuick/Controls.2/Material/qmldir deleted file mode 100644 index d48b7b12c..000000000 --- a/bin/QtQuick/Controls.2/Material/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module QtQuick.Controls.Material -plugin qqc2materialstyleplugin -classname QtQuickControls2MaterialStylePlugin -depends QtQuick.Controls 2.5 diff --git a/bin/QtQuick/Controls.2/Material/qqc2materialstyleplugin.dll b/bin/QtQuick/Controls.2/Material/qqc2materialstyleplugin.dll deleted file mode 100644 index 63fba51c5..000000000 Binary files a/bin/QtQuick/Controls.2/Material/qqc2materialstyleplugin.dll and /dev/null differ diff --git a/bin/QtQuick/Controls.2/Menu.qml b/bin/QtQuick/Controls.2/Menu.qml deleted file mode 100644 index cf3a52f24..000000000 --- a/bin/QtQuick/Controls.2/Menu.qml +++ /dev/null @@ -1,82 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Window 2.12 - -T.Menu { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - margins: 0 - overlap: 1 - - delegate: MenuItem { } - - contentItem: ListView { - implicitHeight: contentHeight - model: control.contentModel - interactive: Window.window - ? contentHeight + control.topPadding + control.bottomPadding > Window.window.height - : false - clip: true - currentIndex: control.currentIndex - - ScrollIndicator.vertical: ScrollIndicator {} - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 40 - color: control.palette.window - border.color: control.palette.dark - } - - T.Overlay.modal: Rectangle { - color: Color.transparent(control.palette.shadow, 0.5) - } - - T.Overlay.modeless: Rectangle { - color: Color.transparent(control.palette.shadow, 0.12) - } -} diff --git a/bin/QtQuick/Controls.2/MenuBar.qml b/bin/QtQuick/Controls.2/MenuBar.qml deleted file mode 100644 index 122cdc531..000000000 --- a/bin/QtQuick/Controls.2/MenuBar.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 - -T.MenuBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - delegate: MenuBarItem { } - - contentItem: Row { - spacing: control.spacing - Repeater { - model: control.contentModel - } - } - - background: Rectangle { - implicitHeight: 40 - color: control.palette.button - } -} diff --git a/bin/QtQuick/Controls.2/MenuBarItem.qml b/bin/QtQuick/Controls.2/MenuBarItem.qml deleted file mode 100644 index f6835412a..000000000 --- a/bin/QtQuick/Controls.2/MenuBarItem.qml +++ /dev/null @@ -1,77 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 - -T.MenuBarItem { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 6 - padding: 6 - leftPadding: 12 - rightPadding: 16 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.buttonText - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.buttonText - } - - background: Rectangle { - implicitWidth: 40 - implicitHeight: 40 - color: control.down || control.highlighted ? control.palette.mid : "transparent" - } -} diff --git a/bin/QtQuick/Controls.2/MenuItem.qml b/bin/QtQuick/Controls.2/MenuItem.qml deleted file mode 100644 index 22cdf3ea4..000000000 --- a/bin/QtQuick/Controls.2/MenuItem.qml +++ /dev/null @@ -1,105 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.MenuItem { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.windowText - - contentItem: IconLabel { - readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 - readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 - leftPadding: !control.mirrored ? indicatorPadding : arrowPadding - rightPadding: control.mirrored ? indicatorPadding : arrowPadding - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.windowText - } - - indicator: ColorImage { - x: control.mirrored ? control.width - width - control.rightPadding : control.leftPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - visible: control.checked - source: control.checkable ? "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/check.png" : "" - color: control.palette.windowText - defaultColor: "#353637" - } - - arrow: ColorImage { - x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - visible: control.subMenu - mirror: control.mirrored - source: control.subMenu ? "qrc:/qt-project.org/imports/QtQuick/Controls.2/images/arrow-indicator.png" : "" - color: control.palette.windowText - defaultColor: "#353637" - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 40 - x: 1 - y: 1 - width: control.width - 2 - height: control.height - 2 - color: control.down ? control.palette.midlight : control.highlighted ? control.palette.light : "transparent" - } -} diff --git a/bin/QtQuick/Controls.2/MenuSeparator.qml b/bin/QtQuick/Controls.2/MenuSeparator.qml deleted file mode 100644 index cc5c2b6e8..000000000 --- a/bin/QtQuick/Controls.2/MenuSeparator.qml +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.MenuSeparator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 2 - verticalPadding: padding + 4 - - contentItem: Rectangle { - implicitWidth: 188 - implicitHeight: 1 - color: control.palette.mid - } -} diff --git a/bin/QtQuick/Controls.2/Page.qml b/bin/QtQuick/Controls.2/Page.qml deleted file mode 100644 index 4b3cf3d26..000000000 --- a/bin/QtQuick/Controls.2/Page.qml +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Page { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitHeaderWidth, - implicitFooterWidth) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding - + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) - + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - - background: Rectangle { - color: control.palette.window - } -} diff --git a/bin/QtQuick/Controls.2/PageIndicator.qml b/bin/QtQuick/Controls.2/PageIndicator.qml deleted file mode 100644 index 78f9e3cf7..000000000 --- a/bin/QtQuick/Controls.2/PageIndicator.qml +++ /dev/null @@ -1,72 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.PageIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - delegate: Rectangle { - implicitWidth: 8 - implicitHeight: 8 - - radius: width / 2 - color: control.palette.dark - - opacity: index === currentIndex ? 0.95 : pressed ? 0.7 : 0.45 - Behavior on opacity { OpacityAnimator { duration: 100 } } - } - - contentItem: Row { - spacing: control.spacing - - Repeater { - model: control.count - delegate: control.delegate - } - } -} diff --git a/bin/QtQuick/Controls.2/Pane.qml b/bin/QtQuick/Controls.2/Pane.qml deleted file mode 100644 index 47b916e32..000000000 --- a/bin/QtQuick/Controls.2/Pane.qml +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Pane { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 12 - - background: Rectangle { - color: control.palette.window - } -} diff --git a/bin/QtQuick/Controls.2/Popup.qml b/bin/QtQuick/Controls.2/Popup.qml deleted file mode 100644 index ee243c10c..000000000 --- a/bin/QtQuick/Controls.2/Popup.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Popup { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 12 - - background: Rectangle { - color: control.palette.window - border.color: control.palette.dark - } - - T.Overlay.modal: Rectangle { - color: Color.transparent(control.palette.shadow, 0.5) - } - - T.Overlay.modeless: Rectangle { - color: Color.transparent(control.palette.shadow, 0.12) - } -} diff --git a/bin/QtQuick/Controls.2/ProgressBar.qml b/bin/QtQuick/Controls.2/ProgressBar.qml deleted file mode 100644 index 61cdea43e..000000000 --- a/bin/QtQuick/Controls.2/ProgressBar.qml +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 - -T.ProgressBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - contentItem: ProgressBarImpl { - implicitHeight: 6 - implicitWidth: 116 - scale: control.mirrored ? -1 : 1 - progress: control.position - indeterminate: control.visible && control.indeterminate - color: control.palette.dark - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 6 - y: (control.height - height) / 2 - height: 6 - - color: control.palette.midlight - } -} diff --git a/bin/QtQuick/Controls.2/RadioButton.qml b/bin/QtQuick/Controls.2/RadioButton.qml deleted file mode 100644 index cdf0c30ec..000000000 --- a/bin/QtQuick/Controls.2/RadioButton.qml +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.RadioButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - // keep in sync with RadioDelegate.qml (shared RadioIndicator.qml was removed for performance reasons) - indicator: Rectangle { - implicitWidth: 28 - implicitHeight: 28 - - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - - radius: width / 2 - color: control.down ? control.palette.light : control.palette.base - border.width: control.visualFocus ? 2 : 1 - border.color: control.visualFocus ? control.palette.highlight : control.palette.mid - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 20 - height: 20 - radius: width / 2 - color: control.palette.text - visible: control.checked - } - } - - contentItem: CheckLabel { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.palette.windowText - } -} diff --git a/bin/QtQuick/Controls.2/RadioDelegate.qml b/bin/QtQuick/Controls.2/RadioDelegate.qml deleted file mode 100644 index a7e7dec00..000000000 --- a/bin/QtQuick/Controls.2/RadioDelegate.qml +++ /dev/null @@ -1,103 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.RadioDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 12 - spacing: 12 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.text - - contentItem: IconLabel { - leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.text - } - - // keep in sync with RadioButton.qml (shared RadioIndicator.qml was removed for performance reasons) - indicator: Rectangle { - implicitWidth: 28 - implicitHeight: 28 - - x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - radius: width / 2 - color: control.down ? control.palette.light : control.palette.base - border.width: control.visualFocus ? 2 : 1 - border.color: control.visualFocus ? control.palette.highlight : control.palette.mid - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 20 - height: 20 - radius: width / 2 - color: control.palette.text - visible: control.checked - } - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 40 - visible: control.down || control.highlighted - color: control.down ? control.palette.midlight : control.palette.light - } -} diff --git a/bin/QtQuick/Controls.2/RangeSlider.qml b/bin/QtQuick/Controls.2/RangeSlider.qml deleted file mode 100644 index c3e7c9646..000000000 --- a/bin/QtQuick/Controls.2/RangeSlider.qml +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.RangeSlider { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - first.implicitHandleWidth + leftPadding + rightPadding, - second.implicitHandleWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - first.implicitHandleHeight + topPadding + bottomPadding, - second.implicitHandleHeight + topPadding + bottomPadding) - - padding: 6 - - first.handle: Rectangle { - x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) - implicitWidth: 28 - implicitHeight: 28 - radius: width / 2 - border.width: activeFocus ? 2 : 1 - border.color: activeFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight - color: control.first.pressed ? control.palette.light : control.palette.window - } - - second.handle: Rectangle { - x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) - implicitWidth: 28 - implicitHeight: 28 - radius: width / 2 - border.width: activeFocus ? 2 : 1 - border.color: activeFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight - color: control.second.pressed ? control.palette.light : control.palette.window - } - - background: Rectangle { - x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) - implicitWidth: control.horizontal ? 200 : 6 - implicitHeight: control.horizontal ? 6 : 200 - width: control.horizontal ? control.availableWidth : implicitWidth - height: control.horizontal ? implicitHeight : control.availableHeight - radius: 3 - color: control.palette.midlight - scale: control.horizontal && control.mirrored ? -1 : 1 - - Rectangle { - x: control.horizontal ? control.first.position * parent.width + 3 : 0 - y: control.horizontal ? 0 : control.second.visualPosition * parent.height + 3 - width: control.horizontal ? control.second.position * parent.width - control.first.position * parent.width - 6 : 6 - height: control.horizontal ? 6 : control.second.position * parent.height - control.first.position * parent.height - 6 - - color: control.palette.dark - } - } -} diff --git a/bin/QtQuick/Controls.2/RoundButton.qml b/bin/QtQuick/Controls.2/RoundButton.qml deleted file mode 100644 index 825d52529..000000000 --- a/bin/QtQuick/Controls.2/RoundButton.qml +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.RoundButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 24 - icon.height: 24 - icon.color: control.checked || control.highlighted ? control.palette.brightText : - control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.checked || control.highlighted ? control.palette.brightText : - control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText - } - - background: Rectangle { - implicitWidth: 40 - implicitHeight: 40 - radius: control.radius - opacity: enabled ? 1 : 0.3 - visible: !control.flat || control.down || control.checked || control.highlighted - color: Color.blend(control.checked || control.highlighted ? control.palette.dark : control.palette.button, - control.palette.mid, control.down ? 0.5 : 0.0) - border.color: control.palette.highlight - border.width: control.visualFocus ? 2 : 0 - } -} diff --git a/bin/QtQuick/Controls.2/ScrollBar.qml b/bin/QtQuick/Controls.2/ScrollBar.qml deleted file mode 100644 index 0948fb1d1..000000000 --- a/bin/QtQuick/Controls.2/ScrollBar.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.ScrollBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 2 - visible: control.policy !== T.ScrollBar.AlwaysOff - minimumSize: orientation == Qt.Horizontal ? height / width : width / height - - contentItem: Rectangle { - implicitWidth: control.interactive ? 6 : 2 - implicitHeight: control.interactive ? 6 : 2 - - radius: width / 2 - color: control.pressed ? control.palette.dark : control.palette.mid - opacity: 0.0 - - states: State { - name: "active" - when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) - PropertyChanges { target: control.contentItem; opacity: 0.75 } - } - - transitions: Transition { - from: "active" - SequentialAnimation { - PauseAnimation { duration: 450 } - NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } - } - } - } -} diff --git a/bin/QtQuick/Controls.2/ScrollIndicator.qml b/bin/QtQuick/Controls.2/ScrollIndicator.qml deleted file mode 100644 index 795c20ee7..000000000 --- a/bin/QtQuick/Controls.2/ScrollIndicator.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.ScrollIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 2 - - contentItem: Rectangle { - implicitWidth: 2 - implicitHeight: 2 - - color: control.palette.mid - visible: control.size < 1.0 - opacity: 0.0 - - states: State { - name: "active" - when: control.active - PropertyChanges { target: control.contentItem; opacity: 0.75 } - } - - transitions: [ - Transition { - from: "active" - SequentialAnimation { - PauseAnimation { duration: 450 } - NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } - } - } - ] - } -} diff --git a/bin/QtQuick/Controls.2/ScrollView.qml b/bin/QtQuick/Controls.2/ScrollView.qml deleted file mode 100644 index f775d6246..000000000 --- a/bin/QtQuick/Controls.2/ScrollView.qml +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.ScrollView { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - ScrollBar.vertical: ScrollBar { - parent: control - x: control.mirrored ? 0 : control.width - width - y: control.topPadding - height: control.availableHeight - active: control.ScrollBar.horizontal.active - } - - ScrollBar.horizontal: ScrollBar { - parent: control - x: control.leftPadding - y: control.height - height - width: control.availableWidth - active: control.ScrollBar.vertical.active - } -} diff --git a/bin/QtQuick/Controls.2/Slider.qml b/bin/QtQuick/Controls.2/Slider.qml deleted file mode 100644 index 6d532389b..000000000 --- a/bin/QtQuick/Controls.2/Slider.qml +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Slider { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitHandleWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitHandleHeight + topPadding + bottomPadding) - - padding: 6 - - handle: Rectangle { - x: control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) - implicitWidth: 28 - implicitHeight: 28 - radius: width / 2 - color: control.pressed ? control.palette.light : control.palette.window - border.width: control.visualFocus ? 2 : 1 - border.color: control.visualFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight - } - - background: Rectangle { - x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) - implicitWidth: control.horizontal ? 200 : 6 - implicitHeight: control.horizontal ? 6 : 200 - width: control.horizontal ? control.availableWidth : implicitWidth - height: control.horizontal ? implicitHeight : control.availableHeight - radius: 3 - color: control.palette.midlight - scale: control.horizontal && control.mirrored ? -1 : 1 - - Rectangle { - y: control.horizontal ? 0 : control.visualPosition * parent.height - width: control.horizontal ? control.position * parent.width : 6 - height: control.horizontal ? 6 : control.position * parent.height - - radius: 3 - color: control.palette.dark - } - } -} diff --git a/bin/QtQuick/Controls.2/SpinBox.qml b/bin/QtQuick/Controls.2/SpinBox.qml deleted file mode 100644 index d1c2ea5bc..000000000 --- a/bin/QtQuick/Controls.2/SpinBox.qml +++ /dev/null @@ -1,135 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.SpinBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentItem.implicitWidth + 2 * padding + - up.implicitIndicatorWidth + - down.implicitIndicatorWidth) - implicitHeight: Math.max(implicitContentHeight + topPadding + bottomPadding, - implicitBackgroundHeight, - up.implicitIndicatorHeight, - down.implicitIndicatorHeight) - - padding: 6 - leftPadding: padding + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) - rightPadding: padding + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) - - validator: IntValidator { - locale: control.locale.name - bottom: Math.min(control.from, control.to) - top: Math.max(control.from, control.to) - } - - contentItem: TextInput { - z: 2 - text: control.displayText - - font: control.font - color: control.palette.text - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - horizontalAlignment: Qt.AlignHCenter - verticalAlignment: Qt.AlignVCenter - - readOnly: !control.editable - validator: control.validator - inputMethodHints: control.inputMethodHints - - Rectangle { - x: -6 - (control.down.indicator ? 1 : 0) - y: -6 - width: control.width - (control.up.indicator ? control.up.indicator.width - 1 : 0) - (control.down.indicator ? control.down.indicator.width - 1 : 0) - height: control.height - visible: control.activeFocus - color: "transparent" - border.color: control.palette.highlight - border.width: 2 - } - } - - up.indicator: Rectangle { - x: control.mirrored ? 0 : parent.width - width - height: parent.height - implicitWidth: 40 - implicitHeight: 40 - color: control.up.pressed ? control.palette.mid : control.palette.button - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: parent.width / 3 - height: 2 - color: enabled ? control.palette.buttonText : control.palette.mid - } - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: 2 - height: parent.width / 3 - color: enabled ? control.palette.buttonText : control.palette.mid - } - } - - down.indicator: Rectangle { - x: control.mirrored ? parent.width - width : 0 - height: parent.height - implicitWidth: 40 - implicitHeight: 40 - color: control.down.pressed ? control.palette.mid : control.palette.button - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: parent.width / 3 - height: 2 - color: enabled ? control.palette.buttonText : control.palette.mid - } - } - - background: Rectangle { - implicitWidth: 140 - color: enabled ? control.palette.base : control.palette.button - border.color: control.palette.button - } -} diff --git a/bin/QtQuick/Controls.2/SplitView.qml b/bin/QtQuick/Controls.2/SplitView.qml deleted file mode 100644 index 9d37a83e6..000000000 --- a/bin/QtQuick/Controls.2/SplitView.qml +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2018 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.13 -import QtQuick.Templates 2.13 as T -import QtQuick.Controls 2.13 -import QtQuick.Controls.impl 2.13 - -T.SplitView { - id: control - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - handle: Rectangle { - implicitWidth: control.orientation === Qt.Horizontal ? 6 : control.width - implicitHeight: control.orientation === Qt.Horizontal ? control.height : 6 - color: T.SplitHandle.pressed ? control.palette.mid - : (T.SplitHandle.hovered ? control.palette.midlight : control.palette.button) - } -} diff --git a/bin/QtQuick/Controls.2/StackView.qml b/bin/QtQuick/Controls.2/StackView.qml deleted file mode 100644 index 3e416b871..000000000 --- a/bin/QtQuick/Controls.2/StackView.qml +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Templates 2.12 as T - -T.StackView { - id: control - - popEnter: Transition { - XAnimator { from: (control.mirrored ? -1 : 1) * -control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } - } - - popExit: Transition { - XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * control.width; duration: 400; easing.type: Easing.OutCubic } - } - - pushEnter: Transition { - XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } - } - - pushExit: Transition { - XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } - } - - replaceEnter: Transition { - XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } - } - - replaceExit: Transition { - XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } - } -} diff --git a/bin/QtQuick/Controls.2/SwipeDelegate.qml b/bin/QtQuick/Controls.2/SwipeDelegate.qml deleted file mode 100644 index 37d66bb66..000000000 --- a/bin/QtQuick/Controls.2/SwipeDelegate.qml +++ /dev/null @@ -1,78 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.SwipeDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 12 - spacing: 12 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.text - - swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.text - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 40 - color: Color.blend(control.down ? control.palette.midlight : control.palette.light, - control.palette.highlight, control.visualFocus ? 0.15 : 0.0) - } -} diff --git a/bin/QtQuick/Controls.2/SwipeView.qml b/bin/QtQuick/Controls.2/SwipeView.qml deleted file mode 100644 index 7722d2588..000000000 --- a/bin/QtQuick/Controls.2/SwipeView.qml +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Templates 2.12 as T - -T.SwipeView { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - contentItem: ListView { - model: control.contentModel - interactive: control.interactive - currentIndex: control.currentIndex - focus: control.focus - - spacing: control.spacing - orientation: control.orientation - snapMode: ListView.SnapOneItem - boundsBehavior: Flickable.StopAtBounds - - highlightRangeMode: ListView.StrictlyEnforceRange - preferredHighlightBegin: 0 - preferredHighlightEnd: 0 - highlightMoveDuration: 250 - maximumFlickVelocity: 4 * (control.orientation === Qt.Horizontal ? width : height) - } -} diff --git a/bin/QtQuick/Controls.2/Switch.qml b/bin/QtQuick/Controls.2/Switch.qml deleted file mode 100644 index f62e2502c..000000000 --- a/bin/QtQuick/Controls.2/Switch.qml +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 - -T.Switch { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - indicator: PaddedRectangle { - implicitWidth: 56 - implicitHeight: 28 - - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - - radius: 8 - leftPadding: 0 - rightPadding: 0 - padding: (height - 16) / 2 - color: control.checked ? control.palette.dark : control.palette.midlight - - Rectangle { - x: Math.max(0, Math.min(parent.width - width, control.visualPosition * parent.width - (width / 2))) - y: (parent.height - height) / 2 - width: 28 - height: 28 - radius: 16 - color: control.down ? control.palette.light : control.palette.window - border.width: control.visualFocus ? 2 : 1 - border.color: control.visualFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight - - Behavior on x { - enabled: !control.down - SmoothedAnimation { velocity: 200 } - } - } - } - - contentItem: CheckLabel { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - color: control.palette.windowText - } -} diff --git a/bin/QtQuick/Controls.2/SwitchDelegate.qml b/bin/QtQuick/Controls.2/SwitchDelegate.qml deleted file mode 100644 index d6447e774..000000000 --- a/bin/QtQuick/Controls.2/SwitchDelegate.qml +++ /dev/null @@ -1,109 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 - -T.SwitchDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 12 - spacing: 12 - - icon.width: 24 - icon.height: 24 - icon.color: control.palette.text - - indicator: PaddedRectangle { - implicitWidth: 56 - implicitHeight: 28 - - x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - - radius: 8 - leftPadding: 0 - rightPadding: 0 - padding: (height - 16) / 2 - color: control.checked ? control.palette.dark : control.palette.midlight - - Rectangle { - x: Math.max(0, Math.min(parent.width - width, control.visualPosition * parent.width - (width / 2))) - y: (parent.height - height) / 2 - width: 28 - height: 28 - radius: 16 - color: control.down ? control.palette.light : control.palette.window - border.width: control.visualFocus ? 2 : 1 - border.color: control.visualFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight - - Behavior on x { - enabled: !control.down - SmoothedAnimation { velocity: 200 } - } - } - } - - contentItem: IconLabel { - leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: control.palette.text - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 40 - visible: control.down || control.highlighted - color: control.down ? control.palette.midlight : control.palette.light - } -} diff --git a/bin/QtQuick/Controls.2/TabBar.qml b/bin/QtQuick/Controls.2/TabBar.qml deleted file mode 100644 index 83f6b3b27..000000000 --- a/bin/QtQuick/Controls.2/TabBar.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T - -T.TabBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - spacing: 1 - - contentItem: ListView { - model: control.contentModel - currentIndex: control.currentIndex - - spacing: control.spacing - orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds - flickableDirection: Flickable.AutoFlickIfNeeded - snapMode: ListView.SnapToItem - - highlightMoveDuration: 0 - highlightRangeMode: ListView.ApplyRange - preferredHighlightBegin: 40 - preferredHighlightEnd: width - 40 - } - - background: Rectangle { - color: control.palette.window - } -} diff --git a/bin/QtQuick/Controls.2/TabButton.qml b/bin/QtQuick/Controls.2/TabButton.qml deleted file mode 100644 index f8b303eaf..000000000 --- a/bin/QtQuick/Controls.2/TabButton.qml +++ /dev/null @@ -1,73 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.TabButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 24 - icon.height: 24 - icon.color: checked ? control.palette.windowText : control.palette.brightText - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.checked ? control.palette.windowText : control.palette.brightText - } - - background: Rectangle { - implicitHeight: 40 - color: Color.blend(control.checked ? control.palette.window : control.palette.dark, - control.palette.mid, control.down ? 0.5 : 0.0) - } -} diff --git a/bin/QtQuick/Controls.2/TextArea.qml b/bin/QtQuick/Controls.2/TextArea.qml deleted file mode 100644 index 45790e67b..000000000 --- a/bin/QtQuick/Controls.2/TextArea.qml +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.TextArea { - id: control - - implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, - implicitBackgroundWidth + leftInset + rightInset, - placeholder.implicitWidth + leftPadding + rightPadding) - implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, - implicitBackgroundHeight + topInset + bottomInset, - placeholder.implicitHeight + topPadding + bottomPadding) - - padding: 6 - leftPadding: padding + 4 - - color: control.palette.text - placeholderTextColor: Color.transparent(control.color, 0.5) - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - - PlaceholderText { - id: placeholder - x: control.leftPadding - y: control.topPadding - width: control.width - (control.leftPadding + control.rightPadding) - height: control.height - (control.topPadding + control.bottomPadding) - - text: control.placeholderText - font: control.font - color: control.placeholderTextColor - verticalAlignment: control.verticalAlignment - visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) - elide: Text.ElideRight - renderType: control.renderType - } -} diff --git a/bin/QtQuick/Controls.2/TextField.qml b/bin/QtQuick/Controls.2/TextField.qml deleted file mode 100644 index 4d9cb6916..000000000 --- a/bin/QtQuick/Controls.2/TextField.qml +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.TextField { - id: control - - implicitWidth: implicitBackgroundWidth + leftInset + rightInset - || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding, - placeholder.implicitHeight + topPadding + bottomPadding) - - padding: 6 - leftPadding: padding + 4 - - color: control.palette.text - selectionColor: control.palette.highlight - selectedTextColor: control.palette.highlightedText - placeholderTextColor: Color.transparent(control.color, 0.5) - verticalAlignment: TextInput.AlignVCenter - - PlaceholderText { - id: placeholder - x: control.leftPadding - y: control.topPadding - width: control.width - (control.leftPadding + control.rightPadding) - height: control.height - (control.topPadding + control.bottomPadding) - - text: control.placeholderText - font: control.font - color: control.placeholderTextColor - verticalAlignment: control.verticalAlignment - visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) - elide: Text.ElideRight - renderType: control.renderType - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 40 - border.width: control.activeFocus ? 2 : 1 - color: control.palette.base - border.color: control.activeFocus ? control.palette.highlight : control.palette.mid - } -} diff --git a/bin/QtQuick/Controls.2/ToolBar.qml b/bin/QtQuick/Controls.2/ToolBar.qml deleted file mode 100644 index 1e07b6bf7..000000000 --- a/bin/QtQuick/Controls.2/ToolBar.qml +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.ToolBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - background: Rectangle { - implicitHeight: 40 - color: control.palette.button - } -} diff --git a/bin/QtQuick/Controls.2/ToolButton.qml b/bin/QtQuick/Controls.2/ToolButton.qml deleted file mode 100644 index 63aaf893e..000000000 --- a/bin/QtQuick/Controls.2/ToolButton.qml +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.ToolButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 6 - - icon.width: 24 - icon.height: 24 - icon.color: visualFocus ? control.palette.highlight : control.palette.buttonText - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: control.visualFocus ? control.palette.highlight : control.palette.buttonText - } - - background: Rectangle { - implicitWidth: 40 - implicitHeight: 40 - - opacity: control.down ? 1.0 : 0.5 - color: control.down || control.checked || control.highlighted ? control.palette.mid : control.palette.button - } -} diff --git a/bin/QtQuick/Controls.2/ToolSeparator.qml b/bin/QtQuick/Controls.2/ToolSeparator.qml deleted file mode 100644 index 188d07583..000000000 --- a/bin/QtQuick/Controls.2/ToolSeparator.qml +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.ToolSeparator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: vertical ? 6 : 2 - verticalPadding: vertical ? 2 : 6 - - contentItem: Rectangle { - implicitWidth: vertical ? 1 : 30 - implicitHeight: vertical ? 30 : 1 - color: control.palette.mid - } -} diff --git a/bin/QtQuick/Controls.2/ToolTip.qml b/bin/QtQuick/Controls.2/ToolTip.qml deleted file mode 100644 index e03899038..000000000 --- a/bin/QtQuick/Controls.2/ToolTip.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.ToolTip { - id: control - - x: parent ? (parent.width - implicitWidth) / 2 : 0 - y: -implicitHeight - 3 - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - margins: 6 - padding: 6 - - closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent - - contentItem: Text { - text: control.text - font: control.font - wrapMode: Text.Wrap - color: control.palette.toolTipText - } - - background: Rectangle { - border.color: control.palette.dark - color: control.palette.toolTipBase - } -} diff --git a/bin/QtQuick/Controls.2/Tumbler.qml b/bin/QtQuick/Controls.2/Tumbler.qml deleted file mode 100644 index cd10263b4..000000000 --- a/bin/QtQuick/Controls.2/Tumbler.qml +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Templates 2.12 as T - -T.Tumbler { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) || 60 // ### remove 60 in Qt 6 - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) || 200 // ### remove 200 in Qt 6 - - delegate: Text { - text: modelData - color: control.visualFocus ? control.palette.highlight : control.palette.text - font: control.font - opacity: 1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2) - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - } - - contentItem: TumblerView { - implicitWidth: 60 - implicitHeight: 200 - model: control.model - delegate: control.delegate - path: Path { - startX: control.contentItem.width / 2 - startY: -control.contentItem.delegateHeight / 2 - PathLine { - x: control.contentItem.width / 2 - y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 - } - } - - property real delegateHeight: control.availableHeight / control.visibleItemCount - } -} diff --git a/bin/QtQuick/Controls.2/Universal/ApplicationWindow.qml b/bin/QtQuick/Controls.2/Universal/ApplicationWindow.qml deleted file mode 100644 index 153b9e8e3..000000000 --- a/bin/QtQuick/Controls.2/Universal/ApplicationWindow.qml +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Window 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 -import QtQuick.Controls.Universal.impl 2.12 - -T.ApplicationWindow { - id: window - - color: Universal.background - - overlay.modal: Rectangle { - color: window.Universal.baseLowColor - } - - overlay.modeless: Rectangle { - color: window.Universal.baseLowColor - } - - FocusRectangle { - parent: window.activeFocusControl - width: parent ? parent.width : 0 - height: parent ? parent.height : 0 - visible: parent && !!parent.useSystemFocusVisuals && !!parent.visualFocus - } -} diff --git a/bin/QtQuick/Controls.2/Universal/BusyIndicator.qml b/bin/QtQuick/Controls.2/Universal/BusyIndicator.qml deleted file mode 100644 index 2ad21b469..000000000 --- a/bin/QtQuick/Controls.2/Universal/BusyIndicator.qml +++ /dev/null @@ -1,60 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 -import QtQuick.Controls.Universal.impl 2.12 - -T.BusyIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - contentItem: BusyIndicatorImpl { - implicitWidth: 20 - implicitHeight: 20 - - readonly property real size: Math.min(control.availableWidth, control.availableHeight) - - count: size < 60 ? 5 : 6 // "Small" vs. "Large" - color: control.Universal.accent - visible: control.running - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Button.qml b/bin/QtQuick/Controls.2/Universal/Button.qml deleted file mode 100644 index 657b28353..000000000 --- a/bin/QtQuick/Controls.2/Universal/Button.qml +++ /dev/null @@ -1,90 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.Button { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 8 - verticalPadding: padding - 4 - spacing: 8 - - icon.width: 20 - icon.height: 20 - icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) - - property bool useSystemFocusVisuals: true - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) - } - - background: Rectangle { - implicitWidth: 32 - implicitHeight: 32 - - visible: !control.flat || control.down || control.checked || control.highlighted - color: control.down ? control.Universal.baseMediumLowColor : - control.enabled && (control.highlighted || control.checked) ? control.Universal.accent : - control.Universal.baseLowColor - - Rectangle { - width: parent.width - height: parent.height - color: "transparent" - visible: control.hovered - border.width: 2 // ButtonBorderThemeThickness - border.color: control.Universal.baseMediumLowColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/CheckBox.qml b/bin/QtQuick/Controls.2/Universal/CheckBox.qml deleted file mode 100644 index 9494f4d2a..000000000 --- a/bin/QtQuick/Controls.2/Universal/CheckBox.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 -import QtQuick.Controls.Universal.impl 2.12 - -T.CheckBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 8 - - property bool useSystemFocusVisuals: true - - indicator: CheckIndicator { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - - opacity: enabled ? 1.0 : 0.2 - color: control.Universal.foreground - } -} diff --git a/bin/QtQuick/Controls.2/Universal/CheckDelegate.qml b/bin/QtQuick/Controls.2/Universal/CheckDelegate.qml deleted file mode 100644 index b544c42e0..000000000 --- a/bin/QtQuick/Controls.2/Universal/CheckDelegate.qml +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 -import QtQuick.Controls.Universal.impl 2.12 - -T.CheckDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 12 - - padding: 12 - topPadding: padding - 1 - bottomPadding: padding + 1 - - icon.width: 20 - icon.height: 20 - icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) - - indicator: CheckIndicator { - x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: IconLabel { - leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing - rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) - } - - background: Rectangle { - visible: control.down || control.highlighted || control.visualFocus || control.hovered - color: control.down ? control.Universal.listMediumColor : - control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor - Rectangle { - width: parent.width - height: parent.height - visible: control.visualFocus || control.highlighted - color: control.Universal.accent - opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 - } - - } -} diff --git a/bin/QtQuick/Controls.2/Universal/CheckIndicator.qml b/bin/QtQuick/Controls.2/Universal/CheckIndicator.qml deleted file mode 100644 index 8f41617a0..000000000 --- a/bin/QtQuick/Controls.2/Universal/CheckIndicator.qml +++ /dev/null @@ -1,82 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -Rectangle { - id: indicator - implicitWidth: 20 - implicitHeight: 20 - - color: !control.enabled ? "transparent" : - control.down && !partiallyChecked ? control.Universal.baseMediumColor : - control.checkState === Qt.Checked ? control.Universal.accent : "transparent" - border.color: !control.enabled ? control.Universal.baseLowColor : - control.down ? control.Universal.baseMediumColor : - control.checked ? control.Universal.accent : control.Universal.baseMediumHighColor - border.width: 2 // CheckBoxBorderThemeThickness - - property Item control - readonly property bool partiallyChecked: control.checkState === Qt.PartiallyChecked - - ColorImage { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - - visible: indicator.control.checkState === Qt.Checked - color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : indicator.control.Universal.chromeWhiteColor - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/checkmark.png" - } - - Rectangle { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: indicator.partiallyChecked ? parent.width / 2 : parent.width - height: indicator.partiallyChecked ? parent.height / 2 : parent.height - - visible: !indicator.control.pressed && indicator.control.hovered || indicator.partiallyChecked - color: !indicator.partiallyChecked ? "transparent" : - !indicator.control.enabled ? indicator.control.Universal.baseLowColor : - indicator.control.down ? indicator.control.Universal.baseMediumColor : - indicator.control.hovered ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumHighColor - border.width: indicator.partiallyChecked ? 0 : 2 // CheckBoxBorderThemeThickness - border.color: indicator.control.Universal.baseMediumLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/ComboBox.qml b/bin/QtQuick/Controls.2/Universal/ComboBox.qml deleted file mode 100644 index 9b88ccf93..000000000 --- a/bin/QtQuick/Controls.2/Universal/ComboBox.qml +++ /dev/null @@ -1,159 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Window 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Controls.impl 2.15 -import QtQuick.Templates 2.15 as T -import QtQuick.Controls.Universal 2.15 - -T.ComboBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) - rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) - - Universal.theme: editable && activeFocus ? Universal.Light : undefined - - delegate: ItemDelegate { - width: ListView.view.width - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData - font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal - highlighted: control.highlightedIndex === index - hoverEnabled: control.hoverEnabled - } - - indicator: ColorImage { - x: control.mirrored ? control.padding : control.width - width - control.padding - y: control.topPadding + (control.availableHeight - height) / 2 - color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseMediumHighColor - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/downarrow.png" - - Rectangle { - z: -1 - width: parent.width - height: parent.height - color: control.activeFocus ? control.Universal.accent : - control.pressed ? control.Universal.baseMediumLowColor : - control.hovered ? control.Universal.baseLowColor : "transparent" - visible: control.editable && !contentItem.hovered && (control.pressed || control.hovered) - opacity: control.activeFocus && !control.pressed ? 0.4 : 1.0 - } - } - - contentItem: T.TextField { - leftPadding: control.mirrored ? 1 : 12 - rightPadding: control.mirrored ? 10 : 1 - topPadding: 5 - control.topPadding - bottomPadding: 7 - control.bottomPadding - - text: control.editable ? control.editText : control.displayText - - enabled: control.editable - autoScroll: control.editable - readOnly: control.down - inputMethodHints: control.inputMethodHints - validator: control.validator - selectByMouse: control.selectTextByMouse - - font: control.font - color: !control.enabled ? control.Universal.chromeDisabledLowColor : - control.editable && control.activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.foreground - selectionColor: control.Universal.accent - selectedTextColor: control.Universal.chromeWhiteColor - verticalAlignment: Text.AlignVCenter - } - - background: Rectangle { - implicitWidth: 120 - implicitHeight: 32 - - border.width: control.flat ? 0 : 2 // ComboBoxBorderThemeThickness - border.color: !control.enabled ? control.Universal.baseLowColor : - control.editable && control.activeFocus ? control.Universal.accent : - control.down ? control.Universal.baseMediumLowColor : - control.hovered ? control.Universal.baseMediumColor : control.Universal.baseMediumLowColor - color: !control.enabled ? control.Universal.baseLowColor : - control.down ? control.Universal.listMediumColor : - control.flat && control.hovered ? control.Universal.listLowColor : - control.editable && control.activeFocus ? control.Universal.background : control.Universal.altMediumLowColor - visible: !control.flat || control.pressed || control.hovered || control.visualFocus - - Rectangle { - x: 2 - y: 2 - width: parent.width - 4 - height: parent.height - 4 - - visible: control.visualFocus && !control.editable - color: control.Universal.accent - opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 - } - } - - popup: T.Popup { - width: control.width - height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) - topMargin: 8 - bottomMargin: 8 - - Universal.theme: control.Universal.theme - Universal.accent: control.Universal.accent - - contentItem: ListView { - clip: true - implicitHeight: contentHeight - model: control.delegateModel - currentIndex: control.highlightedIndex - highlightMoveDuration: 0 - - T.ScrollIndicator.vertical: ScrollIndicator { } - } - - background: Rectangle { - color: control.Universal.chromeMediumLowColor - border.color: control.Universal.chromeHighColor - border.width: 1 // FlyoutBorderThemeThickness - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/DelayButton.qml b/bin/QtQuick/Controls.2/Universal/DelayButton.qml deleted file mode 100644 index 2a3a3b3a0..000000000 --- a/bin/QtQuick/Controls.2/Universal/DelayButton.qml +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.DelayButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 8 - verticalPadding: padding - 4 - - property bool useSystemFocusVisuals: true - - transition: Transition { - NumberAnimation { - duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) - } - } - - contentItem: Text { - text: control.text - font: control.font - elide: Text.ElideRight - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - - opacity: enabled ? 1.0 : 0.2 - color: control.Universal.foreground - } - - background: Rectangle { - implicitWidth: 32 - implicitHeight: 32 - - color: control.down ? control.Universal.baseMediumLowColor : - control.enabled && control.checked ? control.Universal.accent : control.Universal.baseLowColor - - Rectangle { - visible: !control.checked - width: parent.width * control.progress - height: parent.height - color: control.Universal.accent - } - - Rectangle { - width: parent.width - height: parent.height - color: "transparent" - visible: control.hovered - border.width: 2 // ButtonBorderThemeThickness - border.color: control.Universal.baseMediumLowColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Dial.qml b/bin/QtQuick/Controls.2/Universal/Dial.qml deleted file mode 100644 index f45d912ee..000000000 --- a/bin/QtQuick/Controls.2/Universal/Dial.qml +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.Dial { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) || 100 // ### remove 100 in Qt 6 - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) || 100 // ### remove 100 in Qt 6 - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 100 - - x: control.width / 2 - width / 2 - y: control.height / 2 - height / 2 - width: Math.max(64, Math.min(control.width, control.height)) - height: width - radius: width / 2 - color: "transparent" - border.color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseMediumColor - border.width: 2 - } - - handle: Rectangle { - implicitWidth: 14 - implicitHeight: 14 - - x: control.background.x + control.background.width / 2 - control.handle.width / 2 - y: control.background.y + control.background.height / 2 - control.handle.height / 2 - - radius: width / 2 - color: !control.enabled ? control.Universal.baseLowColor : - control.pressed ? control.Universal.baseMediumColor : - control.hovered ? control.Universal.baseHighColor : control.Universal.baseMediumHighColor - - transform: [ - Translate { - y: -control.background.height * 0.4 + control.handle.height / 2 - }, - Rotation { - angle: control.angle - origin.x: control.handle.width / 2 - origin.y: control.handle.height / 2 - } - ] - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Dialog.qml b/bin/QtQuick/Controls.2/Universal/Dialog.qml deleted file mode 100644 index 6151d0908..000000000 --- a/bin/QtQuick/Controls.2/Universal/Dialog.qml +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.Universal 2.12 - -T.Dialog { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitHeaderWidth, - implicitFooterWidth) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding - + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) - + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - - padding: 24 - verticalPadding: 18 - - background: Rectangle { - color: control.Universal.chromeMediumLowColor - border.color: control.Universal.chromeHighColor - border.width: 1 // FlyoutBorderThemeThickness - } - - header: Label { - text: control.title - visible: control.title - elide: Label.ElideRight - topPadding: 18 - leftPadding: 24 - rightPadding: 24 - // TODO: QPlatformTheme::TitleBarFont - font.pixelSize: 20 - background: Rectangle { - x: 1; y: 1 // // FlyoutBorderThemeThickness - color: control.Universal.chromeMediumLowColor - width: parent.width - 2 - height: parent.height - 1 - } - } - - footer: DialogButtonBox { - visible: count > 0 - } - - T.Overlay.modal: Rectangle { - color: control.Universal.baseLowColor - } - - T.Overlay.modeless: Rectangle { - color: control.Universal.baseLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/DialogButtonBox.qml b/bin/QtQuick/Controls.2/Universal/DialogButtonBox.qml deleted file mode 100644 index 0458c39da..000000000 --- a/bin/QtQuick/Controls.2/Universal/DialogButtonBox.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.Universal 2.12 - -T.DialogButtonBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - (control.count === 1 ? implicitContentWidth * 2 : implicitContentWidth) + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - contentWidth: contentItem.contentWidth - - spacing: 4 - padding: 24 - topPadding: position === T.DialogButtonBox.Footer ? 6 : 24 - bottomPadding: position === T.DialogButtonBox.Header ? 6 : 24 - alignment: count === 1 ? Qt.AlignRight : undefined - - delegate: Button { - width: control.count === 1 ? control.availableWidth / 2 : undefined - } - - contentItem: ListView { - model: control.contentModel - spacing: control.spacing - orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds - snapMode: ListView.SnapToItem - } - - background: Rectangle { - implicitHeight: 32 - color: control.Universal.chromeMediumLowColor - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Drawer.qml b/bin/QtQuick/Controls.2/Universal/Drawer.qml deleted file mode 100644 index 7ec1d7f88..000000000 --- a/bin/QtQuick/Controls.2/Universal/Drawer.qml +++ /dev/null @@ -1,78 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.Drawer { - id: control - - parent: T.Overlay.overlay - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - topPadding: control.edge === Qt.BottomEdge - leftPadding: control.edge === Qt.RightEdge - rightPadding: control.edge === Qt.LeftEdge - bottomPadding: control.edge === Qt.TopEdge - - enter: Transition { SmoothedAnimation { velocity: 5 } } - exit: Transition { SmoothedAnimation { velocity: 5 } } - - background: Rectangle { - color: control.Universal.chromeMediumLowColor - Rectangle { - readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge - width: horizontal ? 1 : parent.width - height: horizontal ? parent.height : 1 - color: control.Universal.chromeHighColor - x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 - y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 - } - } - - T.Overlay.modal: Rectangle { - color: control.Universal.baseLowColor - } - - T.Overlay.modeless: Rectangle { - color: control.Universal.baseLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Frame.qml b/bin/QtQuick/Controls.2/Universal/Frame.qml deleted file mode 100644 index 8bb448499..000000000 --- a/bin/QtQuick/Controls.2/Universal/Frame.qml +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.Frame { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 12 - - background: Rectangle { - color: "transparent" - border.color: control.Universal.chromeDisabledLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/GroupBox.qml b/bin/QtQuick/Controls.2/Universal/GroupBox.qml deleted file mode 100644 index dc156dd79..000000000 --- a/bin/QtQuick/Controls.2/Universal/GroupBox.qml +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.GroupBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitLabelWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - spacing: 12 - padding: 12 - topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) - - label: Text { - x: control.leftPadding - width: control.availableWidth - - text: control.title - font: control.font - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - - opacity: enabled ? 1.0 : 0.2 - color: control.Universal.foreground - } - - background: Rectangle { - y: control.topPadding - control.bottomPadding - width: parent.width - height: parent.height - control.topPadding + control.bottomPadding - - color: "transparent" - border.color: control.Universal.chromeDisabledLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/HorizontalHeaderView.qml b/bin/QtQuick/Controls.2/Universal/HorizontalHeaderView.qml deleted file mode 100644 index 47daa8ce9..000000000 --- a/bin/QtQuick/Controls.2/Universal/HorizontalHeaderView.qml +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Controls.impl 2.15 -import QtQuick.Templates 2.15 as T -import QtQuick.Controls.Universal 2.15 -import QtQuick.Controls.Universal.impl 2.15 - -T.HorizontalHeaderView { - id: control - - implicitWidth: syncView ? syncView.width : 0 - implicitHeight: contentHeight - - delegate: Rectangle { - // Qt6: add cellPadding (and font etc) as public API in headerview - readonly property real cellPadding: 8 - - implicitWidth: text.implicitWidth + (cellPadding * 2) - implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) - color: control.Universal.background - - Text { - id: text - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] - : model[control.textRole]) - : modelData - width: parent.width - height: parent.height - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/ItemDelegate.qml b/bin/QtQuick/Controls.2/Universal/ItemDelegate.qml deleted file mode 100644 index ed9854059..000000000 --- a/bin/QtQuick/Controls.2/Universal/ItemDelegate.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.ItemDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 12 - - padding: 12 - topPadding: padding - 1 - bottomPadding: padding + 1 - - icon.width: 20 - icon.height: 20 - icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) - } - - background: Rectangle { - visible: control.down || control.highlighted || control.visualFocus || control.hovered - color: control.down ? control.Universal.listMediumColor : - control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor - Rectangle { - width: parent.width - height: parent.height - visible: control.visualFocus || control.highlighted - color: control.Universal.accent - opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 - } - - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Label.qml b/bin/QtQuick/Controls.2/Universal/Label.qml deleted file mode 100644 index c66435c37..000000000 --- a/bin/QtQuick/Controls.2/Universal/Label.qml +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.Label { - id: control - - opacity: enabled ? 1.0 : 0.2 - color: control.Universal.foreground - linkColor: Universal.accent -} diff --git a/bin/QtQuick/Controls.2/Universal/Menu.qml b/bin/QtQuick/Controls.2/Universal/Menu.qml deleted file mode 100644 index 4814d0065..000000000 --- a/bin/QtQuick/Controls.2/Universal/Menu.qml +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 -import QtQuick.Window 2.12 - -T.Menu { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - margins: 0 - overlap: 1 - - delegate: MenuItem { } - - contentItem: ListView { - implicitHeight: contentHeight - model: control.contentModel - interactive: Window.window - ? contentHeight + control.topPadding + control.bottomPadding > Window.window.height - : false - clip: true - currentIndex: control.currentIndex - - ScrollIndicator.vertical: ScrollIndicator {} - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 40 - color: control.Universal.chromeMediumLowColor - border.color: control.Universal.chromeHighColor - border.width: 1 // FlyoutBorderThemeThickness - } - - T.Overlay.modal: Rectangle { - color: control.Universal.baseLowColor - } - - T.Overlay.modeless: Rectangle { - color: control.Universal.baseLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/MenuBar.qml b/bin/QtQuick/Controls.2/Universal/MenuBar.qml deleted file mode 100644 index 2317f5058..000000000 --- a/bin/QtQuick/Controls.2/Universal/MenuBar.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.MenuBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - delegate: MenuBarItem { } - - contentItem: Row { - spacing: control.spacing - Repeater { - model: control.contentModel - } - } - - background: Rectangle { - implicitHeight: 40 - color: control.Universal.chromeMediumColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/MenuBarItem.qml b/bin/QtQuick/Controls.2/Universal/MenuBarItem.qml deleted file mode 100644 index 30f1fc57f..000000000 --- a/bin/QtQuick/Controls.2/Universal/MenuBarItem.qml +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.MenuBarItem { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 12 - topPadding: padding - 1 - bottomPadding: padding + 1 - spacing: 12 - - icon.width: 20 - icon.height: 20 - icon.color: !enabled ? Universal.baseLowColor : Universal.baseHighColor - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseHighColor - } - - background: Rectangle { - implicitWidth: 40 - implicitHeight: 40 - - color: !control.enabled ? control.Universal.baseLowColor : - control.down ? control.Universal.listMediumColor : - control.highlighted ? control.Universal.listLowColor : "transparent" - - Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - - visible: control.visualFocus - color: control.Universal.accent - opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/MenuItem.qml b/bin/QtQuick/Controls.2/Universal/MenuItem.qml deleted file mode 100644 index 23d0ee3c5..000000000 --- a/bin/QtQuick/Controls.2/Universal/MenuItem.qml +++ /dev/null @@ -1,115 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.MenuItem { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 12 - topPadding: padding - 1 - bottomPadding: padding + 1 - spacing: 12 - - icon.width: 20 - icon.height: 20 - icon.color: !enabled ? Universal.baseLowColor : Universal.baseHighColor - - contentItem: IconLabel { - readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 - readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 - leftPadding: !control.mirrored ? indicatorPadding : arrowPadding - rightPadding: control.mirrored ? indicatorPadding : arrowPadding - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseHighColor - } - - arrow: ColorImage { - x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding - y: control.topPadding + (control.availableHeight - height) / 2 - - visible: control.subMenu - mirror: control.mirrored - color: !enabled ? control.Universal.baseLowColor : control.Universal.baseHighColor - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/rightarrow.png" - } - - indicator: ColorImage { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - - visible: control.checked - color: !control.enabled ? control.Universal.baseLowColor : control.down ? control.Universal.baseHighColor : control.Universal.baseMediumHighColor - source: !control.checkable ? "" : "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/checkmark.png" - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 40 - - color: !control.enabled ? control.Universal.baseLowColor : - control.down ? control.Universal.listMediumColor : - control.highlighted ? control.Universal.listLowColor : control.Universal.altMediumLowColor - - Rectangle { - x: 1; y: 1 - width: parent.width - 2 - height: parent.height - 2 - - visible: control.visualFocus - color: control.Universal.accent - opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/MenuSeparator.qml b/bin/QtQuick/Controls.2/Universal/MenuSeparator.qml deleted file mode 100644 index 72f9f6f7f..000000000 --- a/bin/QtQuick/Controls.2/Universal/MenuSeparator.qml +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.MenuSeparator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 12 - topPadding: 9 - bottomPadding: 10 - - contentItem: Rectangle { - implicitWidth: 188 - implicitHeight: 1 - color: control.Universal.baseMediumLowColor - } - - background: Rectangle { - color: control.Universal.altMediumLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Page.qml b/bin/QtQuick/Controls.2/Universal/Page.qml deleted file mode 100644 index 347d6d9a8..000000000 --- a/bin/QtQuick/Controls.2/Universal/Page.qml +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.Page { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding, - implicitHeaderWidth, - implicitFooterWidth) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding - + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) - + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - - background: Rectangle { - color: control.Universal.background - } -} diff --git a/bin/QtQuick/Controls.2/Universal/PageIndicator.qml b/bin/QtQuick/Controls.2/Universal/PageIndicator.qml deleted file mode 100644 index 3dcc84ab4..000000000 --- a/bin/QtQuick/Controls.2/Universal/PageIndicator.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.PageIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 7 - - delegate: Rectangle { - implicitWidth: 5 - implicitHeight: 5 - - radius: width / 2 - color: index === control.currentIndex ? control.Universal.baseMediumHighColor : - pressed ? control.Universal.baseMediumLowColor : control.Universal.baseLowColor - } - - contentItem: Row { - spacing: control.spacing - - Repeater { - model: control.count - delegate: control.delegate - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Pane.qml b/bin/QtQuick/Controls.2/Universal/Pane.qml deleted file mode 100644 index 63a5ecec4..000000000 --- a/bin/QtQuick/Controls.2/Universal/Pane.qml +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.Pane { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 12 - - background: Rectangle { - color: control.Universal.background - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Popup.qml b/bin/QtQuick/Controls.2/Universal/Popup.qml deleted file mode 100644 index e39134e12..000000000 --- a/bin/QtQuick/Controls.2/Universal/Popup.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.Popup { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - padding: 12 - - background: Rectangle { - color: control.Universal.chromeMediumLowColor - border.color: control.Universal.chromeHighColor - border.width: 1 // FlyoutBorderThemeThickness - } - - T.Overlay.modal: Rectangle { - color: control.Universal.baseLowColor - } - - T.Overlay.modeless: Rectangle { - color: control.Universal.baseLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/ProgressBar.qml b/bin/QtQuick/Controls.2/Universal/ProgressBar.qml deleted file mode 100644 index ce79bd547..000000000 --- a/bin/QtQuick/Controls.2/Universal/ProgressBar.qml +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 -import QtQuick.Controls.Universal.impl 2.12 - -T.ProgressBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - contentItem: ProgressBarImpl { - implicitHeight: 10 - - scale: control.mirrored ? -1 : 1 - color: control.Universal.accent - progress: control.position - indeterminate: control.visible && control.indeterminate - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 10 - y: (control.height - height) / 2 - height: 10 - - visible: !control.indeterminate - color: control.Universal.baseLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/RadioButton.qml b/bin/QtQuick/Controls.2/Universal/RadioButton.qml deleted file mode 100644 index a50cdf9bc..000000000 --- a/bin/QtQuick/Controls.2/Universal/RadioButton.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 -import QtQuick.Controls.Universal.impl 2.12 - -T.RadioButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 8 - - property bool useSystemFocusVisuals: true - - indicator: RadioIndicator { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - - opacity: enabled ? 1.0 : 0.2 - color: control.Universal.foreground - } -} diff --git a/bin/QtQuick/Controls.2/Universal/RadioDelegate.qml b/bin/QtQuick/Controls.2/Universal/RadioDelegate.qml deleted file mode 100644 index 9fc910f34..000000000 --- a/bin/QtQuick/Controls.2/Universal/RadioDelegate.qml +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 -import QtQuick.Controls.Universal.impl 2.12 - -T.RadioDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 12 - - padding: 12 - topPadding: padding - 1 - bottomPadding: padding + 1 - - icon.width: 20 - icon.height: 20 - icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) - - indicator: RadioIndicator { - x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: IconLabel { - leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing - rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) - } - - background: Rectangle { - visible: control.down || control.highlighted || control.visualFocus || control.hovered - color: control.down ? control.Universal.listMediumColor : - control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor - Rectangle { - width: parent.width - height: parent.height - visible: control.visualFocus || control.highlighted - color: control.Universal.accent - opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 - } - - } -} diff --git a/bin/QtQuick/Controls.2/Universal/RadioIndicator.qml b/bin/QtQuick/Controls.2/Universal/RadioIndicator.qml deleted file mode 100644 index 1a32decbb..000000000 --- a/bin/QtQuick/Controls.2/Universal/RadioIndicator.qml +++ /dev/null @@ -1,80 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Controls.Universal 2.12 - -Rectangle { - id: indicator - implicitWidth: 20 - implicitHeight: 20 - radius: width / 2 - color: "transparent" - border.width: 2 // RadioButtonBorderThemeThickness - border.color: control.checked ? "transparent" : - !control.enabled ? control.Universal.baseLowColor : - control.down ? control.Universal.baseMediumColor : - control.hovered ? control.Universal.baseHighColor : control.Universal.baseMediumHighColor - - property var control - - Rectangle { - id: checkOuterEllipse - width: parent.width - height: parent.height - - radius: width / 2 - opacity: indicator.control.checked ? 1 : 0 - color: "transparent" - border.width: 2 // RadioButtonBorderThemeThickness - border.color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : - indicator.control.down ? indicator.control.Universal.baseMediumColor : indicator.control.Universal.accent - } - - Rectangle { - id: checkGlyph - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - width: parent.width / 2 - height: parent.height / 2 - - radius: width / 2 - opacity: indicator.control.checked ? 1 : 0 - color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : - indicator.control.down ? indicator.control.Universal.baseMediumColor : - indicator.control.hovered ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumHighColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/RangeSlider.qml b/bin/QtQuick/Controls.2/Universal/RangeSlider.qml deleted file mode 100644 index f2e4d71e9..000000000 --- a/bin/QtQuick/Controls.2/Universal/RangeSlider.qml +++ /dev/null @@ -1,109 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.RangeSlider { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - first.implicitHandleWidth + leftPadding + rightPadding, - second.implicitHandleWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - first.implicitHandleHeight + topPadding + bottomPadding, - second.implicitHandleHeight + topPadding + bottomPadding) - - padding: 6 - - first.handle: Rectangle { - implicitWidth: control.horizontal ? 8 : 24 - implicitHeight: control.horizontal ? 24 : 8 - - x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) - - radius: 4 - color: control.first.pressed ? control.Universal.chromeHighColor : - control.first.hovered ? control.Universal.chromeAltLowColor : - control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor - } - - second.handle: Rectangle { - implicitWidth: control.horizontal ? 8 : 24 - implicitHeight: control.horizontal ? 24 : 8 - - x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) - - radius: 4 - color: control.second.pressed ? control.Universal.chromeHighColor : - control.second.hovered ? control.Universal.chromeAltLowColor : - control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor - } - - background: Item { - implicitWidth: control.horizontal ? 200 : 18 - implicitHeight: control.horizontal ? 18 : 200 - - x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) - width: control.horizontal ? control.availableWidth : implicitWidth - height: control.horizontal ? implicitHeight : control.availableHeight - - scale: control.horizontal && control.mirrored ? -1 : 1 - - Rectangle { - x: control.horizontal ? 0 : (parent.width - width) / 2 - y: control.horizontal ? (parent.height - height) / 2 : 0 - width: control.horizontal ? parent.width : 2 // SliderBackgroundThemeHeight - height: control.vertical ? parent.height : 2 // SliderBackgroundThemeHeight - - color: control.hovered && !control.pressed ? control.Universal.baseMediumColor : - control.enabled ? control.Universal.baseMediumLowColor : control.Universal.chromeDisabledHighColor - } - - Rectangle { - x: control.horizontal ? control.first.position * parent.width : (parent.width - width) / 2 - y: control.horizontal ? (parent.height - height) / 2 : control.second.visualPosition * parent.height - width: control.horizontal ? control.second.position * parent.width - control.first.position * parent.width : 2 // SliderBackgroundThemeHeight - height: control.vertical ? control.second.position * parent.height - control.first.position * parent.height : 2 // SliderBackgroundThemeHeight - - color: control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/RoundButton.qml b/bin/QtQuick/Controls.2/Universal/RoundButton.qml deleted file mode 100644 index 2eedf96ea..000000000 --- a/bin/QtQuick/Controls.2/Universal/RoundButton.qml +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.RoundButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 8 - spacing: 8 - - icon.width: 20 - icon.height: 20 - icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) - - property bool useSystemFocusVisuals: true - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) - } - - background: Rectangle { - implicitWidth: 32 - implicitHeight: 32 - - radius: control.radius - visible: !control.flat || control.down || control.checked || control.highlighted - color: control.down ? control.Universal.baseMediumLowColor : - control.enabled && (control.highlighted || control.checked) ? control.Universal.accent : - control.Universal.baseLowColor - - Rectangle { - width: parent.width - height: parent.height - radius: control.radius - color: "transparent" - visible: control.hovered - border.width: 2 // ButtonBorderThemeThickness - border.color: control.Universal.baseMediumLowColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/ScrollBar.qml b/bin/QtQuick/Controls.2/Universal/ScrollBar.qml deleted file mode 100644 index 8b8e325d9..000000000 --- a/bin/QtQuick/Controls.2/Universal/ScrollBar.qml +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.ScrollBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - visible: control.policy !== T.ScrollBar.AlwaysOff - minimumSize: orientation == Qt.Horizontal ? height / width : width / height - - // TODO: arrows - - contentItem: Rectangle { - implicitWidth: control.interactive ? 12 : 6 - implicitHeight: control.interactive ? 12: 6 - - color: control.pressed ? control.Universal.baseMediumColor : - control.interactive && control.hovered ? control.Universal.baseMediumLowColor : control.Universal.chromeHighColor - opacity: 0.0 - } - - background: Rectangle { - implicitWidth: control.interactive ? 12 : 6 - implicitHeight: control.interactive ? 12: 6 - - color: control.Universal.chromeLowColor - visible: control.size < 1.0 - opacity: 0.0 - } - - states: [ - State { - name: "active" - when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) - } - ] - - transitions: [ - Transition { - to: "active" - NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 1.0 } - }, - Transition { - from: "active" - SequentialAnimation { - PropertyAction{ targets: [control.contentItem, control.background]; property: "opacity"; value: 1.0 } - PauseAnimation { duration: 3000 } - NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 0.0 } - } - } - ] -} diff --git a/bin/QtQuick/Controls.2/Universal/ScrollIndicator.qml b/bin/QtQuick/Controls.2/Universal/ScrollIndicator.qml deleted file mode 100644 index ab66ee7c9..000000000 --- a/bin/QtQuick/Controls.2/Universal/ScrollIndicator.qml +++ /dev/null @@ -1,78 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.ScrollIndicator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - contentItem: Rectangle { - implicitWidth: 6 - implicitHeight: 6 - - color: control.Universal.baseMediumLowColor - visible: control.size < 1.0 - opacity: 0.0 - - states: [ - State { - name: "active" - when: control.active - } - ] - - transitions: [ - Transition { - to: "active" - NumberAnimation { target: control.contentItem; property: "opacity"; to: 1.0 } - }, - Transition { - from: "active" - SequentialAnimation { - PauseAnimation { duration: 5000 } - NumberAnimation { target: control.contentItem; property: "opacity"; to: 0.0 } - } - } - ] - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Slider.qml b/bin/QtQuick/Controls.2/Universal/Slider.qml deleted file mode 100644 index 8f427b1ed..000000000 --- a/bin/QtQuick/Controls.2/Universal/Slider.qml +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.Slider { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitHandleWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitHandleHeight + topPadding + bottomPadding) - - padding: 6 - - property bool useSystemFocusVisuals: true - - handle: Rectangle { - implicitWidth: control.horizontal ? 8 : 24 - implicitHeight: control.horizontal ? 24 : 8 - - x: control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) - - radius: 4 - color: control.pressed ? control.Universal.chromeHighColor : - control.hovered ? control.Universal.chromeAltLowColor : - control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor - } - - background: Item { - implicitWidth: control.horizontal ? 200 : 18 - implicitHeight: control.horizontal ? 18 : 200 - - x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) - y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) - width: control.horizontal ? control.availableWidth : implicitWidth - height: control.horizontal ? implicitHeight : control.availableHeight - - scale: control.horizontal && control.mirrored ? -1 : 1 - - Rectangle { - x: control.horizontal ? 0 : (parent.width - width) / 2 - y: control.horizontal ? (parent.height - height) / 2 : 0 - width: control.horizontal ? parent.width : 2 // SliderTrackThemeHeight - height: !control.horizontal ? parent.height : 2 // SliderTrackThemeHeight - - color: control.hovered && !control.pressed ? control.Universal.baseMediumColor : - control.enabled ? control.Universal.baseMediumLowColor : control.Universal.chromeDisabledHighColor - } - - Rectangle { - x: control.horizontal ? 0 : (parent.width - width) / 2 - y: control.horizontal ? (parent.height - height) / 2 : control.visualPosition * parent.height - width: control.horizontal ? control.position * parent.width : 2 // SliderTrackThemeHeight - height: !control.horizontal ? control.position * parent.height : 2 // SliderTrackThemeHeight - - color: control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/SpinBox.qml b/bin/QtQuick/Controls.2/Universal/SpinBox.qml deleted file mode 100644 index dfe927f58..000000000 --- a/bin/QtQuick/Controls.2/Universal/SpinBox.qml +++ /dev/null @@ -1,148 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.SpinBox { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentItem.implicitWidth + 16 + - up.implicitIndicatorWidth + - down.implicitIndicatorWidth) - implicitHeight: Math.max(implicitContentHeight + topPadding + bottomPadding, - implicitBackgroundHeight, - up.implicitIndicatorHeight, - down.implicitIndicatorHeight) - - // TextControlThemePadding + 2 (border) - padding: 12 - topPadding: padding - 7 - leftPadding: padding + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) - rightPadding: padding - 4 + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) - bottomPadding: padding - 5 - - Universal.theme: activeFocus ? Universal.Light : undefined - - validator: IntValidator { - locale: control.locale.name - bottom: Math.min(control.from, control.to) - top: Math.max(control.from, control.to) - } - - contentItem: TextInput { - text: control.displayText - - font: control.font - color: !enabled ? control.Universal.chromeDisabledLowColor : - activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.foreground - selectionColor: control.Universal.accent - selectedTextColor: control.Universal.chromeWhiteColor - horizontalAlignment: Qt.AlignHCenter - verticalAlignment: TextInput.AlignVCenter - - readOnly: !control.editable - validator: control.validator - inputMethodHints: control.inputMethodHints - } - - up.indicator: Item { - implicitWidth: 28 - height: parent.height + 4 - y: -2 - x: control.mirrored ? 0 : parent.width - width - - Rectangle { - x: 2; y: 4 - width: parent.width - 4 - height: parent.height - 8 - color: control.activeFocus ? control.Universal.accent : - control.up.pressed ? control.Universal.baseMediumLowColor : - control.up.hovered ? control.Universal.baseLowColor : "transparent" - visible: control.up.pressed || control.up.hovered - opacity: control.activeFocus && !control.up.pressed ? 0.4 : 1.0 - } - - ColorImage { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - color: !enabled ? control.Universal.chromeDisabledLowColor : - control.activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.baseHighColor - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/" + (control.mirrored ? "left" : "right") + "arrow.png" - } - } - - down.indicator: Item { - implicitWidth: 28 - height: parent.height + 4 - y: -2 - x: control.mirrored ? parent.width - width : 0 - - Rectangle { - x: 2; y: 4 - width: parent.width - 4 - height: parent.height - 8 - color: control.activeFocus ? control.Universal.accent : - control.down.pressed ? control.Universal.baseMediumLowColor : - control.down.hovered ? control.Universal.baseLowColor : "transparent" - visible: control.down.pressed || control.down.hovered - opacity: control.activeFocus && !control.down.pressed ? 0.4 : 1.0 - } - - ColorImage { - x: (parent.width - width) / 2 - y: (parent.height - height) / 2 - color: !enabled ? control.Universal.chromeDisabledLowColor : - control.activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.baseHighColor - source: "qrc:/qt-project.org/imports/QtQuick/Controls.2/Universal/images/" + (control.mirrored ? "right" : "left") + "arrow.png" - } - } - - background: Rectangle { - implicitWidth: 60 + 28 // TextControlThemeMinWidth - 4 (border) - implicitHeight: 28 // TextControlThemeMinHeight - 4 (border) - - border.width: 2 // TextControlBorderThemeThickness - border.color: !control.enabled ? control.Universal.baseLowColor : - control.activeFocus ? control.Universal.accent : - control.hovered ? control.Universal.baseMediumColor : control.Universal.chromeDisabledLowColor - color: control.enabled ? control.Universal.background : control.Universal.baseLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/SplitView.qml b/bin/QtQuick/Controls.2/Universal/SplitView.qml deleted file mode 100644 index a4ed22ddc..000000000 --- a/bin/QtQuick/Controls.2/Universal/SplitView.qml +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2018 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.13 -import QtQuick.Templates 2.13 as T -import QtQuick.Controls 2.13 -import QtQuick.Controls.impl 2.13 -import QtQuick.Controls.Universal 2.13 - -T.SplitView { - id: control - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - handle: Rectangle { - implicitWidth: control.orientation === Qt.Horizontal ? 6 : control.width - implicitHeight: control.orientation === Qt.Horizontal ? control.height : 6 - color: T.SplitHandle.pressed ? control.Universal.baseMediumColor - : (T.SplitHandle.hovered ? control.Universal.baseMediumLowColor : control.Universal.chromeHighColor) - } -} diff --git a/bin/QtQuick/Controls.2/Universal/StackView.qml b/bin/QtQuick/Controls.2/Universal/StackView.qml deleted file mode 100644 index 5a3f7751e..000000000 --- a/bin/QtQuick/Controls.2/Universal/StackView.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.StackView { - id: control - - popEnter: Transition { - ParallelAnimation { - NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200; easing.type: Easing.InQuint } - NumberAnimation { property: "x"; from: (control.mirrored ? -0.3 : 0.3) * -control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } - } - } - - popExit: Transition { - NumberAnimation { property: "opacity"; from: 1; to: 0; duration: 200; easing.type: Easing.OutQuint } - } - - pushEnter: Transition { - ParallelAnimation { - NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200; easing.type: Easing.InQuint } - NumberAnimation { property: "x"; from: (control.mirrored ? -0.3 : 0.3) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } - } - } - - pushExit: Transition { - NumberAnimation { property: "opacity"; from: 1; to: 0; duration: 200; easing.type: Easing.OutQuint } - } - - replaceEnter: Transition { - ParallelAnimation { - NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200; easing.type: Easing.InQuint } - NumberAnimation { property: "x"; from: (control.mirrored ? -0.3 : 0.3) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } - } - } - - replaceExit: Transition { - NumberAnimation { property: "opacity"; from: 1; to: 0; duration: 200; easing.type: Easing.OutQuint } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/SwipeDelegate.qml b/bin/QtQuick/Controls.2/Universal/SwipeDelegate.qml deleted file mode 100644 index 066049a78..000000000 --- a/bin/QtQuick/Controls.2/Universal/SwipeDelegate.qml +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.SwipeDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 12 - - padding: 12 - topPadding: padding - 1 - bottomPadding: padding + 1 - - icon.width: 20 - icon.height: 20 - icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) - - swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) - } - - background: Rectangle { - color: control.Universal.background - - Rectangle { - width: parent.width - height: parent.height - color: control.down ? control.Universal.listMediumColor : - control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor - Rectangle { - width: parent.width - height: parent.height - visible: control.visualFocus || control.highlighted - color: control.Universal.accent - opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 - } - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Switch.qml b/bin/QtQuick/Controls.2/Universal/Switch.qml deleted file mode 100644 index 284b12291..000000000 --- a/bin/QtQuick/Controls.2/Universal/Switch.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 -import QtQuick.Controls.Universal.impl 2.12 - -T.Switch { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - padding: 5 - spacing: 8 - - property bool useSystemFocusVisuals: true - - indicator: SwitchIndicator { - x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: Text { - leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 - rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 - - text: control.text - font: control.font - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - - opacity: enabled ? 1.0 : 0.2 - color: control.Universal.foreground - } -} diff --git a/bin/QtQuick/Controls.2/Universal/SwitchDelegate.qml b/bin/QtQuick/Controls.2/Universal/SwitchDelegate.qml deleted file mode 100644 index 56ba84943..000000000 --- a/bin/QtQuick/Controls.2/Universal/SwitchDelegate.qml +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 -import QtQuick.Controls.Universal.impl 2.12 - -T.SwitchDelegate { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding, - implicitIndicatorHeight + topPadding + bottomPadding) - - spacing: 12 - - padding: 12 - topPadding: padding - 1 - bottomPadding: padding + 1 - - icon.width: 20 - icon.height: 20 - icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) - - indicator: SwitchIndicator { - x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 - y: control.topPadding + (control.availableHeight - height) / 2 - control: control - } - - contentItem: IconLabel { - leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing - rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing - - spacing: control.spacing - mirrored: control.mirrored - display: control.display - alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft - - icon: control.icon - text: control.text - font: control.font - color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) - } - - background: Rectangle { - visible: control.down || control.highlighted || control.visualFocus || control.hovered - color: control.down ? control.Universal.listMediumColor : - control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor - Rectangle { - width: parent.width - height: parent.height - visible: control.visualFocus || control.highlighted - color: control.Universal.accent - opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 - } - - } -} diff --git a/bin/QtQuick/Controls.2/Universal/SwitchIndicator.qml b/bin/QtQuick/Controls.2/Universal/SwitchIndicator.qml deleted file mode 100644 index 10f39515b..000000000 --- a/bin/QtQuick/Controls.2/Universal/SwitchIndicator.qml +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -Item { - id: indicator - implicitWidth: 44 - implicitHeight: 20 - - Rectangle { - width: parent.width - height: parent.height - - radius: 10 - color: !indicator.control.enabled ? "transparent" : - indicator.control.pressed ? indicator.control.Universal.baseMediumColor : - indicator.control.checked ? indicator.control.Universal.accent : "transparent" - border.color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : - indicator.control.checked && !indicator.control.pressed ? indicator.control.Universal.accent : - indicator.control.hovered && !indicator.control.checked && !indicator.control.pressed ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumColor - opacity: indicator.control.hovered && indicator.control.checked && !indicator.control.pressed ? (indicator.control.Universal.theme === Universal.Light ? 0.7 : 0.9) : 1.0 - border.width: 2 - } - - property Item control - - Rectangle { - width: 10 - height: 10 - radius: 5 - - color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : - indicator.control.pressed || indicator.control.checked ? indicator.control.Universal.chromeWhiteColor : - indicator.control.hovered && !indicator.control.checked ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumHighColor - - x: Math.max(5, Math.min(parent.width - width - 5, - indicator.control.visualPosition * parent.width - (width / 2))) - y: (parent.height - height) / 2 - - Behavior on x { - enabled: !indicator.control.pressed - SmoothedAnimation { velocity: 200 } - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/TabBar.qml b/bin/QtQuick/Controls.2/Universal/TabBar.qml deleted file mode 100644 index c7d27cbd2..000000000 --- a/bin/QtQuick/Controls.2/Universal/TabBar.qml +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.TabBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - contentItem: ListView { - model: control.contentModel - currentIndex: control.currentIndex - - spacing: control.spacing - orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds - flickableDirection: Flickable.AutoFlickIfNeeded - snapMode: ListView.SnapToItem - - highlightMoveDuration: 100 - highlightRangeMode: ListView.ApplyRange - preferredHighlightBegin: 48 - preferredHighlightEnd: width - 48 - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 48 - color: control.Universal.background - } -} diff --git a/bin/QtQuick/Controls.2/Universal/TabButton.qml b/bin/QtQuick/Controls.2/Universal/TabButton.qml deleted file mode 100644 index 66e3d7255..000000000 --- a/bin/QtQuick/Controls.2/Universal/TabButton.qml +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.TabButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 12 // PivotItemMargin - spacing: 8 - - icon.width: 20 - icon.height: 20 - icon.color: Color.transparent(control.hovered ? control.Universal.baseMediumHighColor : control.Universal.foreground, - control.checked || control.down || control.hovered ? 1.0 : 0.2) - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: Color.transparent(control.hovered ? control.Universal.baseMediumHighColor : control.Universal.foreground, - control.checked || control.down || control.hovered ? 1.0 : 0.2) - } -} diff --git a/bin/QtQuick/Controls.2/Universal/TextArea.qml b/bin/QtQuick/Controls.2/Universal/TextArea.qml deleted file mode 100644 index 03ad4a89e..000000000 --- a/bin/QtQuick/Controls.2/Universal/TextArea.qml +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.TextArea { - id: control - - implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, - implicitBackgroundWidth + leftInset + rightInset, - placeholder.implicitWidth + leftPadding + rightPadding) - implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, - implicitBackgroundHeight + topInset + bottomInset, - placeholder.implicitHeight + topPadding + bottomPadding) - - // TextControlThemePadding + 2 (border) - padding: 12 - topPadding: padding - 7 - rightPadding: padding - 4 - bottomPadding: padding - 5 - - Universal.theme: activeFocus ? Universal.Light : undefined - - color: !enabled ? Universal.chromeDisabledLowColor : Universal.foreground - selectionColor: Universal.accent - selectedTextColor: Universal.chromeWhiteColor - placeholderTextColor: !enabled ? Universal.chromeDisabledLowColor : - activeFocus ? Universal.chromeBlackMediumLowColor : - Universal.baseMediumColor - - PlaceholderText { - id: placeholder - x: control.leftPadding - y: control.topPadding - width: control.width - (control.leftPadding + control.rightPadding) - height: control.height - (control.topPadding + control.bottomPadding) - - text: control.placeholderText - font: control.font - color: control.placeholderTextColor - visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) - verticalAlignment: control.verticalAlignment - elide: Text.ElideRight - renderType: control.renderType - } - - background: Rectangle { - implicitWidth: 60 // TextControlThemeMinWidth - 4 (border) - implicitHeight: 28 // TextControlThemeMinHeight - 4 (border) - - border.width: 2 // TextControlBorderThemeThickness - border.color: !control.enabled ? control.Universal.baseLowColor : - control.activeFocus ? control.Universal.accent : - control.hovered ? control.Universal.baseMediumColor : control.Universal.chromeDisabledLowColor - color: control.enabled ? control.Universal.background : control.Universal.baseLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/TextField.qml b/bin/QtQuick/Controls.2/Universal/TextField.qml deleted file mode 100644 index ba5bf685f..000000000 --- a/bin/QtQuick/Controls.2/Universal/TextField.qml +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.TextField { - id: control - - implicitWidth: implicitBackgroundWidth + leftInset + rightInset - || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding, - placeholder.implicitHeight + topPadding + bottomPadding) - - // TextControlThemePadding + 2 (border) - padding: 12 - topPadding: padding - 7 - rightPadding: padding - 4 - bottomPadding: padding - 5 - - Universal.theme: activeFocus ? Universal.Light : undefined - - color: !enabled ? Universal.chromeDisabledLowColor : Universal.foreground - selectionColor: Universal.accent - selectedTextColor: Universal.chromeWhiteColor - placeholderTextColor: !enabled ? Universal.chromeDisabledLowColor : - activeFocus ? Universal.chromeBlackMediumLowColor : - Universal.baseMediumColor - verticalAlignment: TextInput.AlignVCenter - - PlaceholderText { - id: placeholder - x: control.leftPadding - y: control.topPadding - width: control.width - (control.leftPadding + control.rightPadding) - height: control.height - (control.topPadding + control.bottomPadding) - - text: control.placeholderText - font: control.font - color: control.placeholderTextColor - visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) - verticalAlignment: control.verticalAlignment - elide: Text.ElideRight - renderType: control.renderType - } - - background: Rectangle { - implicitWidth: 60 // TextControlThemeMinWidth - 4 (border) - implicitHeight: 28 // TextControlThemeMinHeight - 4 (border) - - border.width: 2 // TextControlBorderThemeThickness - border.color: !control.enabled ? control.Universal.baseLowColor : - control.activeFocus ? control.Universal.accent : - control.hovered ? control.Universal.baseMediumColor : control.Universal.chromeDisabledLowColor - color: control.enabled ? control.Universal.background : control.Universal.baseLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/ToolBar.qml b/bin/QtQuick/Controls.2/Universal/ToolBar.qml deleted file mode 100644 index 5a385e8e4..000000000 --- a/bin/QtQuick/Controls.2/Universal/ToolBar.qml +++ /dev/null @@ -1,53 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.ToolBar { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - background: Rectangle { - implicitHeight: 48 // AppBarThemeCompactHeight - color: control.Universal.chromeMediumColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/ToolButton.qml b/bin/QtQuick/Controls.2/Universal/ToolButton.qml deleted file mode 100644 index f36dac228..000000000 --- a/bin/QtQuick/Controls.2/Universal/ToolButton.qml +++ /dev/null @@ -1,84 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 -import QtQuick.Controls.Universal 2.12 - -T.ToolButton { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - padding: 6 - spacing: 8 - - icon.width: 20 - icon.height: 20 - icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) - - property bool useSystemFocusVisuals: true - - contentItem: IconLabel { - spacing: control.spacing - mirrored: control.mirrored - display: control.display - - icon: control.icon - text: control.text - font: control.font - color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) - } - - background: Rectangle { - implicitWidth: 68 - implicitHeight: 48 // AppBarThemeCompactHeight - - color: control.enabled && (control.highlighted || control.checked) ? control.Universal.accent : "transparent" - - Rectangle { - width: parent.width - height: parent.height - visible: control.down || control.hovered - color: control.down ? control.Universal.listMediumColor : control.Universal.listLowColor - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/ToolSeparator.qml b/bin/QtQuick/Controls.2/Universal/ToolSeparator.qml deleted file mode 100644 index ee8e6e1cb..000000000 --- a/bin/QtQuick/Controls.2/Universal/ToolSeparator.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.ToolSeparator { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) - - leftPadding: vertical ? 16 : 12 - rightPadding: vertical ? 15 : 12 - topPadding: vertical ? 12 : 16 - bottomPadding: vertical ? 12 : 15 - - contentItem: Rectangle { - implicitWidth: vertical ? 1 : 20 - implicitHeight: vertical ? 20 : 1 - color: control.Universal.baseMediumLowColor - } -} diff --git a/bin/QtQuick/Controls.2/Universal/ToolTip.qml b/bin/QtQuick/Controls.2/Universal/ToolTip.qml deleted file mode 100644 index 431cdf7c1..000000000 --- a/bin/QtQuick/Controls.2/Universal/ToolTip.qml +++ /dev/null @@ -1,72 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 - -T.ToolTip { - id: control - - x: parent ? (parent.width - implicitWidth) / 2 : 0 - y: -implicitHeight - 16 - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) - - margins: 8 - padding: 8 - topPadding: padding - 3 - bottomPadding: padding - 1 - - closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent - - contentItem: Text { - text: control.text - font: control.font - wrapMode: Text.Wrap - opacity: enabled ? 1.0 : 0.2 - color: control.Universal.foreground - } - - background: Rectangle { - color: control.Universal.chromeMediumLowColor - border.color: control.Universal.chromeHighColor - border.width: 1 // ToolTipBorderThemeThickness - } -} diff --git a/bin/QtQuick/Controls.2/Universal/Tumbler.qml b/bin/QtQuick/Controls.2/Universal/Tumbler.qml deleted file mode 100644 index d0e7b12fd..000000000 --- a/bin/QtQuick/Controls.2/Universal/Tumbler.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Templates 2.12 as T -import QtQuick.Controls.Universal 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.impl 2.12 - -T.Tumbler { - id: control - - implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - implicitContentWidth + leftPadding + rightPadding) || 60 // ### remove 60 in Qt 6 - implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - implicitContentHeight + topPadding + bottomPadding) || 200 // ### remove 200 in Qt 6 - - delegate: Text { - text: modelData - font: control.font - color: control.Universal.foreground - opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - } - - contentItem: TumblerView { - implicitWidth: 60 - implicitHeight: 200 - model: control.model - delegate: control.delegate - path: Path { - startX: control.contentItem.width / 2 - startY: -control.contentItem.delegateHeight / 2 - PathLine { - x: control.contentItem.width / 2 - y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 - } - } - - property real delegateHeight: control.availableHeight / control.visibleItemCount - } -} diff --git a/bin/QtQuick/Controls.2/Universal/VerticalHeaderView.qml b/bin/QtQuick/Controls.2/Universal/VerticalHeaderView.qml deleted file mode 100644 index 04408d68a..000000000 --- a/bin/QtQuick/Controls.2/Universal/VerticalHeaderView.qml +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Controls.impl 2.15 -import QtQuick.Templates 2.15 as T -import QtQuick.Controls.Universal 2.15 -import QtQuick.Controls.Universal.impl 2.15 - -T.VerticalHeaderView { - id: control - - implicitWidth: contentWidth - implicitHeight: syncView ? syncView.height : 0 - - delegate: Rectangle { - // Qt6: add cellPadding (and font etc) as public API in headerview - readonly property real cellPadding: 8 - - implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) - implicitHeight: text.implicitHeight + (cellPadding * 2) - color: control.Universal.background - - Text { - id: text - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] - : model[control.textRole]) - : modelData - width: parent.width - height: parent.height - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) - } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/plugins.qmltypes b/bin/QtQuick/Controls.2/Universal/plugins.qmltypes deleted file mode 100644 index c38e39e1a..000000000 --- a/bin/QtQuick/Controls.2/Universal/plugins.qmltypes +++ /dev/null @@ -1,340 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls.Universal 2.15' - -Module { - dependencies: ["QtQuick.Controls 2.0"] - Component { name: "QQuickAttachedObject"; prototype: "QObject" } - Component { - name: "QQuickItem" - defaultProperty: "data" - prototype: "QObject" - Enum { - name: "Flags" - values: { - "ItemClipsChildrenToShape": 1, - "ItemAcceptsInputMethod": 2, - "ItemIsFocusScope": 4, - "ItemHasContents": 8, - "ItemAcceptsDrops": 16 - } - } - Enum { - name: "TransformOrigin" - values: { - "TopLeft": 0, - "Top": 1, - "TopRight": 2, - "Left": 3, - "Center": 4, - "Right": 5, - "BottomLeft": 6, - "Bottom": 7, - "BottomRight": 8 - } - } - Property { name: "parent"; type: "QQuickItem"; isPointer: true } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - Property { name: "z"; type: "double" } - Property { name: "width"; type: "double" } - Property { name: "height"; type: "double" } - Property { name: "opacity"; type: "double" } - Property { name: "enabled"; type: "bool" } - Property { name: "visible"; type: "bool" } - Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } - Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } - Property { name: "state"; type: "string" } - Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } - Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } - Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baselineOffset"; type: "double" } - Property { name: "clip"; type: "bool" } - Property { name: "focus"; type: "bool" } - Property { name: "activeFocus"; type: "bool"; isReadonly: true } - Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } - Property { name: "rotation"; type: "double" } - Property { name: "scale"; type: "double" } - Property { name: "transformOrigin"; type: "TransformOrigin" } - Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } - Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } - Property { name: "smooth"; type: "bool" } - Property { name: "antialiasing"; type: "bool" } - Property { name: "implicitWidth"; type: "double" } - Property { name: "implicitHeight"; type: "double" } - Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } - Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } - Signal { - name: "childrenRectChanged" - Parameter { type: "QRectF" } - } - Signal { - name: "baselineOffsetChanged" - Parameter { type: "double" } - } - Signal { - name: "stateChanged" - Parameter { type: "string" } - } - Signal { - name: "focusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusOnTabChanged" - revision: 1 - Parameter { type: "bool" } - } - Signal { - name: "parentChanged" - Parameter { type: "QQuickItem"; isPointer: true } - } - Signal { - name: "transformOriginChanged" - Parameter { type: "TransformOrigin" } - } - Signal { - name: "smoothChanged" - Parameter { type: "bool" } - } - Signal { - name: "antialiasingChanged" - Parameter { type: "bool" } - } - Signal { - name: "clipChanged" - Parameter { type: "bool" } - } - Signal { - name: "windowChanged" - revision: 1 - Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } - } - Signal { name: "containmentMaskChanged"; revision: 11 } - Method { name: "update" } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - Parameter { name: "targetSize"; type: "QSize" } - } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - } - Method { - name: "contains" - type: "bool" - Parameter { name: "point"; type: "QPointF" } - } - Method { - name: "mapFromItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapFromGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { name: "forceActiveFocus" } - Method { - name: "forceActiveFocus" - Parameter { name: "reason"; type: "Qt::FocusReason" } - } - Method { - name: "nextItemInFocusChain" - revision: 1 - type: "QQuickItem*" - Parameter { name: "forward"; type: "bool" } - } - Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } - Method { - name: "childAt" - type: "QQuickItem*" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { - name: "QQuickPaintedItem" - defaultProperty: "data" - prototype: "QQuickItem" - Enum { - name: "RenderTarget" - values: { - "Image": 0, - "FramebufferObject": 1, - "InvertedYFramebufferObject": 2 - } - } - Enum { - name: "PerformanceHints" - values: { - "FastFBOResizing": 1 - } - } - Property { name: "contentsSize"; type: "QSize" } - Property { name: "fillColor"; type: "QColor" } - Property { name: "contentsScale"; type: "double" } - Property { name: "renderTarget"; type: "RenderTarget" } - Property { name: "textureSize"; type: "QSize" } - } - Component { - name: "QQuickUniversalBusyIndicator" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.Universal.impl/BusyIndicatorImpl 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "count"; type: "int" } - Property { name: "color"; type: "QColor" } - } - Component { - name: "QQuickUniversalFocusRectangle" - defaultProperty: "data" - prototype: "QQuickPaintedItem" - exports: ["QtQuick.Controls.Universal.impl/FocusRectangle 2.0"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickUniversalProgressBar" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.Universal.impl/ProgressBarImpl 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "color"; type: "QColor" } - Property { name: "progress"; type: "double" } - Property { name: "indeterminate"; type: "bool" } - } - Component { - name: "QQuickUniversalStyle" - prototype: "QQuickAttachedObject" - exports: ["QtQuick.Controls.Universal/Universal 2.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "Theme" - values: { - "Light": 0, - "Dark": 1, - "System": 2 - } - } - Enum { - name: "Color" - values: { - "Lime": 0, - "Green": 1, - "Emerald": 2, - "Teal": 3, - "Cyan": 4, - "Cobalt": 5, - "Indigo": 6, - "Violet": 7, - "Pink": 8, - "Magenta": 9, - "Crimson": 10, - "Red": 11, - "Orange": 12, - "Amber": 13, - "Yellow": 14, - "Brown": 15, - "Olive": 16, - "Steel": 17, - "Mauve": 18, - "Taupe": 19 - } - } - Property { name: "theme"; type: "Theme" } - Property { name: "accent"; type: "QVariant" } - Property { name: "foreground"; type: "QVariant" } - Property { name: "background"; type: "QVariant" } - Property { name: "altHighColor"; type: "QColor"; isReadonly: true } - Property { name: "altLowColor"; type: "QColor"; isReadonly: true } - Property { name: "altMediumColor"; type: "QColor"; isReadonly: true } - Property { name: "altMediumHighColor"; type: "QColor"; isReadonly: true } - Property { name: "altMediumLowColor"; type: "QColor"; isReadonly: true } - Property { name: "baseHighColor"; type: "QColor"; isReadonly: true } - Property { name: "baseLowColor"; type: "QColor"; isReadonly: true } - Property { name: "baseMediumColor"; type: "QColor"; isReadonly: true } - Property { name: "baseMediumHighColor"; type: "QColor"; isReadonly: true } - Property { name: "baseMediumLowColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeAltLowColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeBlackHighColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeBlackLowColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeBlackMediumLowColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeBlackMediumColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeDisabledHighColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeDisabledLowColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeHighColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeLowColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeMediumColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeMediumLowColor"; type: "QColor"; isReadonly: true } - Property { name: "chromeWhiteColor"; type: "QColor"; isReadonly: true } - Property { name: "listLowColor"; type: "QColor"; isReadonly: true } - Property { name: "listMediumColor"; type: "QColor"; isReadonly: true } - Signal { name: "paletteChanged" } - Method { - name: "color" - type: "QColor" - Parameter { name: "color"; type: "Color" } - } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Universal.impl/CheckIndicator 2.0" - exports: ["QtQuick.Controls.Universal.impl/CheckIndicator 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "partiallyChecked"; type: "bool"; isReadonly: true } - } - Component { - prototype: "QQuickRectangle" - name: "QtQuick.Controls.Universal.impl/RadioIndicator 2.0" - exports: ["QtQuick.Controls.Universal.impl/RadioIndicator 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QVariant" } - } - Component { - prototype: "QQuickItem" - name: "QtQuick.Controls.Universal.impl/SwitchIndicator 2.0" - exports: ["QtQuick.Controls.Universal.impl/SwitchIndicator 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - } -} diff --git a/bin/QtQuick/Controls.2/Universal/qmldir b/bin/QtQuick/Controls.2/Universal/qmldir deleted file mode 100644 index 6870a4e10..000000000 --- a/bin/QtQuick/Controls.2/Universal/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module QtQuick.Controls.Universal -plugin qtquickcontrols2universalstyleplugin -classname QtQuickControls2UniversalStylePlugin -depends QtQuick.Controls 2.5 diff --git a/bin/QtQuick/Controls.2/Universal/qtquickcontrols2universalstyleplugin.dll b/bin/QtQuick/Controls.2/Universal/qtquickcontrols2universalstyleplugin.dll deleted file mode 100644 index cd5d3262e..000000000 Binary files a/bin/QtQuick/Controls.2/Universal/qtquickcontrols2universalstyleplugin.dll and /dev/null differ diff --git a/bin/QtQuick/Controls.2/VerticalHeaderView.qml b/bin/QtQuick/Controls.2/VerticalHeaderView.qml deleted file mode 100644 index 3fc9ca5ac..000000000 --- a/bin/QtQuick/Controls.2/VerticalHeaderView.qml +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL3$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPLv3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or later as published by the Free -** Software Foundation and appearing in the file LICENSE.GPL included in -** the packaging of this file. Please review the following information to -** ensure the GNU General Public License version 2.0 requirements will be -** met: http://www.gnu.org/licenses/gpl-2.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Templates 2.15 as T - -T.VerticalHeaderView { - id: control - - implicitWidth: contentWidth - implicitHeight: syncView ? syncView.height : 0 - - delegate: Rectangle { - // Qt6: add cellPadding (and font etc) as public API in headerview - readonly property real cellPadding: 8 - - implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) - implicitHeight: text.implicitHeight + (cellPadding * 2) - color: "#f6f6f6" - border.color: "#e4e4e4" - - Text { - id: text - text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] - : model[control.textRole]) - : modelData - width: parent.width - height: parent.height - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: "#ff26282a" - } - } -} diff --git a/bin/QtQuick/Controls.2/plugins.qmltypes b/bin/QtQuick/Controls.2/plugins.qmltypes deleted file mode 100644 index e8212c55f..000000000 --- a/bin/QtQuick/Controls.2/plugins.qmltypes +++ /dev/null @@ -1,895 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls 2.15' - -Module { - dependencies: [ - "QtQuick 2.11", - "QtQuick.Templates 2.5", - "QtQuick.Window 2.2" - ] - Component { - name: "QQuickCheckLabel" - defaultProperty: "data" - prototype: "QQuickText" - exports: ["QtQuick.Controls.impl/CheckLabel 2.3"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickClippedText" - defaultProperty: "data" - prototype: "QQuickText" - exports: ["QtQuick.Controls.impl/ClippedText 2.2"] - exportMetaObjectRevisions: [0] - Property { name: "clipX"; type: "double" } - Property { name: "clipY"; type: "double" } - Property { name: "clipWidth"; type: "double" } - Property { name: "clipHeight"; type: "double" } - } - Component { - name: "QQuickColor" - prototype: "QObject" - exports: ["QtQuick.Controls.impl/Color 2.3"] - isCreatable: false - isSingleton: true - exportMetaObjectRevisions: [0] - Method { - name: "transparent" - type: "QColor" - Parameter { name: "color"; type: "QColor" } - Parameter { name: "opacity"; type: "double" } - } - Method { - name: "blend" - type: "QColor" - Parameter { name: "a"; type: "QColor" } - Parameter { name: "b"; type: "QColor" } - Parameter { name: "factor"; type: "double" } - } - } - Component { - name: "QQuickColorImage" - defaultProperty: "data" - prototype: "QQuickImage" - exports: ["QtQuick.Controls.impl/ColorImage 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "color"; type: "QColor" } - Property { name: "defaultColor"; type: "QColor" } - } - Component { - name: "QQuickDefaultBusyIndicator" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.impl/BusyIndicatorImpl 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "pen"; type: "QColor" } - Property { name: "fill"; type: "QColor" } - Property { name: "running"; type: "bool" } - } - Component { - name: "QQuickDefaultDial" - defaultProperty: "data" - prototype: "QQuickPaintedItem" - exports: ["QtQuick.Controls.impl/DialImpl 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "progress"; type: "double" } - Property { name: "color"; type: "QColor" } - } - Component { - name: "QQuickDefaultProgressBar" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.impl/ProgressBarImpl 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "indeterminate"; type: "bool" } - Property { name: "progress"; type: "double" } - Property { name: "color"; type: "QColor" } - } - Component { - name: "QQuickDefaultStyle" - prototype: "QObject" - exports: ["QtQuick.Controls.impl/Default 2.1"] - isCreatable: false - isSingleton: true - exportMetaObjectRevisions: [0] - Property { name: "backgroundColor"; type: "QColor"; isReadonly: true } - Property { name: "overlayModalColor"; type: "QColor"; isReadonly: true } - Property { name: "overlayDimColor"; type: "QColor"; isReadonly: true } - Property { name: "textColor"; type: "QColor"; isReadonly: true } - Property { name: "textDarkColor"; type: "QColor"; isReadonly: true } - Property { name: "textLightColor"; type: "QColor"; isReadonly: true } - Property { name: "textLinkColor"; type: "QColor"; isReadonly: true } - Property { name: "textSelectionColor"; type: "QColor"; isReadonly: true } - Property { name: "textDisabledColor"; type: "QColor"; isReadonly: true } - Property { name: "textDisabledLightColor"; type: "QColor"; isReadonly: true } - Property { name: "textPlaceholderColor"; type: "QColor"; isReadonly: true } - Property { name: "focusColor"; type: "QColor"; isReadonly: true } - Property { name: "focusLightColor"; type: "QColor"; isReadonly: true } - Property { name: "focusPressedColor"; type: "QColor"; isReadonly: true } - Property { name: "buttonColor"; type: "QColor"; isReadonly: true } - Property { name: "buttonPressedColor"; type: "QColor"; isReadonly: true } - Property { name: "buttonCheckedColor"; type: "QColor"; isReadonly: true } - Property { name: "buttonCheckedPressedColor"; type: "QColor"; isReadonly: true } - Property { name: "buttonCheckedFocusColor"; type: "QColor"; isReadonly: true } - Property { name: "toolButtonColor"; type: "QColor"; isReadonly: true } - Property { name: "tabButtonColor"; type: "QColor"; isReadonly: true } - Property { name: "tabButtonPressedColor"; type: "QColor"; isReadonly: true } - Property { name: "tabButtonCheckedPressedColor"; type: "QColor"; isReadonly: true } - Property { name: "delegateColor"; type: "QColor"; isReadonly: true } - Property { name: "delegatePressedColor"; type: "QColor"; isReadonly: true } - Property { name: "delegateFocusColor"; type: "QColor"; isReadonly: true } - Property { name: "indicatorPressedColor"; type: "QColor"; isReadonly: true } - Property { name: "indicatorDisabledColor"; type: "QColor"; isReadonly: true } - Property { name: "indicatorFrameColor"; type: "QColor"; isReadonly: true } - Property { name: "indicatorFramePressedColor"; type: "QColor"; isReadonly: true } - Property { name: "indicatorFrameDisabledColor"; type: "QColor"; isReadonly: true } - Property { name: "frameDarkColor"; type: "QColor"; isReadonly: true } - Property { name: "frameLightColor"; type: "QColor"; isReadonly: true } - Property { name: "scrollBarColor"; type: "QColor"; isReadonly: true } - Property { name: "scrollBarPressedColor"; type: "QColor"; isReadonly: true } - Property { name: "progressBarColor"; type: "QColor"; isReadonly: true } - Property { name: "pageIndicatorColor"; type: "QColor"; isReadonly: true } - Property { name: "separatorColor"; type: "QColor"; isReadonly: true } - Property { name: "disabledDarkColor"; type: "QColor"; isReadonly: true } - Property { name: "disabledLightColor"; type: "QColor"; isReadonly: true } - } - Component { - name: "QQuickIconImage" - defaultProperty: "data" - prototype: "QQuickImage" - exports: ["QtQuick.Controls.impl/IconImage 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "name"; type: "string" } - Property { name: "color"; type: "QColor" } - } - Component { - name: "QQuickIconLabel" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.impl/IconLabel 2.3"] - exportMetaObjectRevisions: [0] - Enum { - name: "Display" - values: { - "IconOnly": 0, - "TextOnly": 1, - "TextBesideIcon": 2, - "TextUnderIcon": 3 - } - } - Property { name: "icon"; type: "QQuickIcon" } - Property { name: "text"; type: "string" } - Property { name: "font"; type: "QFont" } - Property { name: "color"; type: "QColor" } - Property { name: "display"; type: "Display" } - Property { name: "spacing"; type: "double" } - Property { name: "mirrored"; type: "bool" } - Property { name: "alignment"; type: "Qt::Alignment" } - Property { name: "topPadding"; type: "double" } - Property { name: "leftPadding"; type: "double" } - Property { name: "rightPadding"; type: "double" } - Property { name: "bottomPadding"; type: "double" } - } - Component { - name: "QQuickImplicitSizeItem" - defaultProperty: "data" - prototype: "QQuickItem" - Property { name: "implicitWidth"; type: "double"; isReadonly: true } - Property { name: "implicitHeight"; type: "double"; isReadonly: true } - } - Component { - name: "QQuickItemGroup" - defaultProperty: "data" - prototype: "QQuickImplicitSizeItem" - exports: ["QtQuick.Controls.impl/ItemGroup 2.2"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickMnemonicLabel" - defaultProperty: "data" - prototype: "QQuickText" - exports: ["QtQuick.Controls.impl/MnemonicLabel 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "text"; type: "string" } - Property { name: "mnemonicVisible"; type: "bool" } - } - Component { - name: "QQuickOverlay" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls/Overlay 2.3"] - isCreatable: false - exportMetaObjectRevisions: [0] - attachedType: "QQuickOverlayAttached" - Property { name: "modal"; type: "QQmlComponent"; isPointer: true } - Property { name: "modeless"; type: "QQmlComponent"; isPointer: true } - Signal { name: "pressed" } - Signal { name: "released" } - } - Component { - name: "QQuickPaddedRectangle" - defaultProperty: "data" - prototype: "QQuickRectangle" - exports: ["QtQuick.Controls.impl/PaddedRectangle 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "padding"; type: "double" } - Property { name: "topPadding"; type: "double" } - Property { name: "leftPadding"; type: "double" } - Property { name: "rightPadding"; type: "double" } - Property { name: "bottomPadding"; type: "double" } - } - Component { - name: "QQuickPlaceholderText" - defaultProperty: "data" - prototype: "QQuickText" - exports: ["QtQuick.Controls.impl/PlaceholderText 2.2"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickSplitHandleAttached" - prototype: "QObject" - exports: ["QtQuick.Controls/SplitHandle 2.13"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "hovered"; type: "bool"; isReadonly: true } - Property { name: "pressed"; type: "bool"; isReadonly: true } - } - Component { - name: "QQuickText" - defaultProperty: "data" - prototype: "QQuickImplicitSizeItem" - Enum { - name: "HAlignment" - values: { - "AlignLeft": 1, - "AlignRight": 2, - "AlignHCenter": 4, - "AlignJustify": 8 - } - } - Enum { - name: "VAlignment" - values: { - "AlignTop": 32, - "AlignBottom": 64, - "AlignVCenter": 128 - } - } - Enum { - name: "TextStyle" - values: { - "Normal": 0, - "Outline": 1, - "Raised": 2, - "Sunken": 3 - } - } - Enum { - name: "TextFormat" - values: { - "PlainText": 0, - "RichText": 1, - "MarkdownText": 3, - "AutoText": 2, - "StyledText": 4 - } - } - Enum { - name: "TextElideMode" - values: { - "ElideLeft": 0, - "ElideRight": 1, - "ElideMiddle": 2, - "ElideNone": 3 - } - } - Enum { - name: "WrapMode" - values: { - "NoWrap": 0, - "WordWrap": 1, - "WrapAnywhere": 3, - "WrapAtWordBoundaryOrAnywhere": 4, - "Wrap": 4 - } - } - Enum { - name: "RenderType" - values: { - "QtRendering": 0, - "NativeRendering": 1 - } - } - Enum { - name: "LineHeightMode" - values: { - "ProportionalHeight": 0, - "FixedHeight": 1 - } - } - Enum { - name: "FontSizeMode" - values: { - "FixedSize": 0, - "HorizontalFit": 1, - "VerticalFit": 2, - "Fit": 3 - } - } - Property { name: "text"; type: "string" } - Property { name: "font"; type: "QFont" } - Property { name: "color"; type: "QColor" } - Property { name: "linkColor"; type: "QColor" } - Property { name: "style"; type: "TextStyle" } - Property { name: "styleColor"; type: "QColor" } - Property { name: "horizontalAlignment"; type: "HAlignment" } - Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } - Property { name: "verticalAlignment"; type: "VAlignment" } - Property { name: "wrapMode"; type: "WrapMode" } - Property { name: "lineCount"; type: "int"; isReadonly: true } - Property { name: "truncated"; type: "bool"; isReadonly: true } - Property { name: "maximumLineCount"; type: "int" } - Property { name: "textFormat"; type: "TextFormat" } - Property { name: "elide"; type: "TextElideMode" } - Property { name: "contentWidth"; type: "double"; isReadonly: true } - Property { name: "contentHeight"; type: "double"; isReadonly: true } - Property { name: "paintedWidth"; type: "double"; isReadonly: true } - Property { name: "paintedHeight"; type: "double"; isReadonly: true } - Property { name: "lineHeight"; type: "double" } - Property { name: "lineHeightMode"; type: "LineHeightMode" } - Property { name: "baseUrl"; type: "QUrl" } - Property { name: "minimumPixelSize"; type: "int" } - Property { name: "minimumPointSize"; type: "int" } - Property { name: "fontSizeMode"; type: "FontSizeMode" } - Property { name: "renderType"; type: "RenderType" } - Property { name: "hoveredLink"; revision: 2; type: "string"; isReadonly: true } - Property { name: "padding"; revision: 6; type: "double" } - Property { name: "topPadding"; revision: 6; type: "double" } - Property { name: "leftPadding"; revision: 6; type: "double" } - Property { name: "rightPadding"; revision: 6; type: "double" } - Property { name: "bottomPadding"; revision: 6; type: "double" } - Property { name: "fontInfo"; revision: 9; type: "QJSValue"; isReadonly: true } - Property { name: "advance"; revision: 10; type: "QSizeF"; isReadonly: true } - Signal { - name: "textChanged" - Parameter { name: "text"; type: "string" } - } - Signal { - name: "linkActivated" - Parameter { name: "link"; type: "string" } - } - Signal { - name: "linkHovered" - revision: 2 - Parameter { name: "link"; type: "string" } - } - Signal { - name: "fontChanged" - Parameter { name: "font"; type: "QFont" } - } - Signal { - name: "styleChanged" - Parameter { name: "style"; type: "QQuickText::TextStyle" } - } - Signal { - name: "horizontalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickText::HAlignment" } - } - Signal { - name: "verticalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickText::VAlignment" } - } - Signal { - name: "textFormatChanged" - Parameter { name: "textFormat"; type: "QQuickText::TextFormat" } - } - Signal { - name: "elideModeChanged" - Parameter { name: "mode"; type: "QQuickText::TextElideMode" } - } - Signal { name: "contentSizeChanged" } - Signal { - name: "contentWidthChanged" - Parameter { name: "contentWidth"; type: "double" } - } - Signal { - name: "contentHeightChanged" - Parameter { name: "contentHeight"; type: "double" } - } - Signal { - name: "lineHeightChanged" - Parameter { name: "lineHeight"; type: "double" } - } - Signal { - name: "lineHeightModeChanged" - Parameter { name: "mode"; type: "LineHeightMode" } - } - Signal { - name: "lineLaidOut" - Parameter { name: "line"; type: "QQuickTextLine"; isPointer: true } - } - Signal { name: "paddingChanged"; revision: 6 } - Signal { name: "topPaddingChanged"; revision: 6 } - Signal { name: "leftPaddingChanged"; revision: 6 } - Signal { name: "rightPaddingChanged"; revision: 6 } - Signal { name: "bottomPaddingChanged"; revision: 6 } - Signal { name: "fontInfoChanged"; revision: 9 } - Method { name: "doLayout" } - Method { name: "forceLayout"; revision: 9 } - Method { - name: "linkAt" - revision: 3 - type: "string" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { - name: "QQuickTumblerView" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.impl/TumblerView 2.1"] - exportMetaObjectRevisions: [0] - Property { name: "model"; type: "QVariant" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "path"; type: "QQuickPath"; isPointer: true } - } - Component { - prototype: "QQuickAbstractButton" - name: "QtQuick.Controls/AbstractButton 2.0" - exports: ["QtQuick.Controls/AbstractButton 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickAction" - name: "QtQuick.Controls/Action 2.3" - exports: ["QtQuick.Controls/Action 2.3"] - exportMetaObjectRevisions: [3] - isComposite: true - } - Component { - prototype: "QQuickActionGroup" - name: "QtQuick.Controls/ActionGroup 2.3" - exports: ["QtQuick.Controls/ActionGroup 2.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "actions" - } - Component { - prototype: "QQuickApplicationWindow" - name: "QtQuick.Controls/ApplicationWindow 2.0" - exports: ["QtQuick.Controls/ApplicationWindow 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickBusyIndicator" - name: "QtQuick.Controls/BusyIndicator 2.0" - exports: ["QtQuick.Controls/BusyIndicator 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickButton" - name: "QtQuick.Controls/Button 2.0" - exports: ["QtQuick.Controls/Button 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickButtonGroup" - name: "QtQuick.Controls/ButtonGroup 2.0" - exports: ["QtQuick.Controls/ButtonGroup 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - } - Component { - prototype: "QQuickCheckBox" - name: "QtQuick.Controls/CheckBox 2.0" - exports: ["QtQuick.Controls/CheckBox 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickCheckDelegate" - name: "QtQuick.Controls/CheckDelegate 2.0" - exports: ["QtQuick.Controls/CheckDelegate 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickComboBox" - name: "QtQuick.Controls/ComboBox 2.0" - exports: ["QtQuick.Controls/ComboBox 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickContainer" - name: "QtQuick.Controls/Container 2.0" - exports: ["QtQuick.Controls/Container 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickControl" - name: "QtQuick.Controls/Control 2.0" - exports: ["QtQuick.Controls/Control 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickDelayButton" - name: "QtQuick.Controls/DelayButton 2.2" - exports: ["QtQuick.Controls/DelayButton 2.2"] - exportMetaObjectRevisions: [2] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickDial" - name: "QtQuick.Controls/Dial 2.0" - exports: ["QtQuick.Controls/Dial 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickDialog" - name: "QtQuick.Controls/Dialog 2.1" - exports: ["QtQuick.Controls/Dialog 2.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickDialogButtonBox" - name: "QtQuick.Controls/DialogButtonBox 2.1" - exports: ["QtQuick.Controls/DialogButtonBox 2.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickDrawer" - name: "QtQuick.Controls/Drawer 2.0" - exports: ["QtQuick.Controls/Drawer 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickFrame" - name: "QtQuick.Controls/Frame 2.0" - exports: ["QtQuick.Controls/Frame 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickGroupBox" - name: "QtQuick.Controls/GroupBox 2.0" - exports: ["QtQuick.Controls/GroupBox 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickHorizontalHeaderView" - name: "QtQuick.Controls/HorizontalHeaderView 2.15" - exports: ["QtQuick.Controls/HorizontalHeaderView 2.15"] - exportMetaObjectRevisions: [15] - isComposite: true - defaultProperty: "flickableData" - } - Component { - prototype: "QQuickItemDelegate" - name: "QtQuick.Controls/ItemDelegate 2.0" - exports: ["QtQuick.Controls/ItemDelegate 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickLabel" - name: "QtQuick.Controls/Label 2.0" - exports: ["QtQuick.Controls/Label 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickMenu" - name: "QtQuick.Controls/Menu 2.0" - exports: ["QtQuick.Controls/Menu 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickMenuBar" - name: "QtQuick.Controls/MenuBar 2.3" - exports: ["QtQuick.Controls/MenuBar 2.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickMenuBarItem" - name: "QtQuick.Controls/MenuBarItem 2.3" - exports: ["QtQuick.Controls/MenuBarItem 2.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickMenuItem" - name: "QtQuick.Controls/MenuItem 2.0" - exports: ["QtQuick.Controls/MenuItem 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickMenuSeparator" - name: "QtQuick.Controls/MenuSeparator 2.1" - exports: ["QtQuick.Controls/MenuSeparator 2.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickPage" - name: "QtQuick.Controls/Page 2.0" - exports: ["QtQuick.Controls/Page 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickPageIndicator" - name: "QtQuick.Controls/PageIndicator 2.0" - exports: ["QtQuick.Controls/PageIndicator 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickPane" - name: "QtQuick.Controls/Pane 2.0" - exports: ["QtQuick.Controls/Pane 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickPopup" - name: "QtQuick.Controls/Popup 2.0" - exports: ["QtQuick.Controls/Popup 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickProgressBar" - name: "QtQuick.Controls/ProgressBar 2.0" - exports: ["QtQuick.Controls/ProgressBar 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickRadioButton" - name: "QtQuick.Controls/RadioButton 2.0" - exports: ["QtQuick.Controls/RadioButton 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickRadioDelegate" - name: "QtQuick.Controls/RadioDelegate 2.0" - exports: ["QtQuick.Controls/RadioDelegate 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickRangeSlider" - name: "QtQuick.Controls/RangeSlider 2.0" - exports: ["QtQuick.Controls/RangeSlider 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickRoundButton" - name: "QtQuick.Controls/RoundButton 2.1" - exports: ["QtQuick.Controls/RoundButton 2.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickScrollBar" - name: "QtQuick.Controls/ScrollBar 2.0" - exports: ["QtQuick.Controls/ScrollBar 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickScrollIndicator" - name: "QtQuick.Controls/ScrollIndicator 2.0" - exports: ["QtQuick.Controls/ScrollIndicator 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickScrollView" - name: "QtQuick.Controls/ScrollView 2.2" - exports: ["QtQuick.Controls/ScrollView 2.2"] - exportMetaObjectRevisions: [2] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickSlider" - name: "QtQuick.Controls/Slider 2.0" - exports: ["QtQuick.Controls/Slider 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickSpinBox" - name: "QtQuick.Controls/SpinBox 2.0" - exports: ["QtQuick.Controls/SpinBox 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickSplitView" - name: "QtQuick.Controls/SplitView 2.13" - exports: ["QtQuick.Controls/SplitView 2.13"] - exportMetaObjectRevisions: [13] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickStackView" - name: "QtQuick.Controls/StackView 2.0" - exports: ["QtQuick.Controls/StackView 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickSwipeDelegate" - name: "QtQuick.Controls/SwipeDelegate 2.0" - exports: ["QtQuick.Controls/SwipeDelegate 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickSwipeView" - name: "QtQuick.Controls/SwipeView 2.0" - exports: ["QtQuick.Controls/SwipeView 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickSwitch" - name: "QtQuick.Controls/Switch 2.0" - exports: ["QtQuick.Controls/Switch 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickSwitchDelegate" - name: "QtQuick.Controls/SwitchDelegate 2.0" - exports: ["QtQuick.Controls/SwitchDelegate 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickTabBar" - name: "QtQuick.Controls/TabBar 2.0" - exports: ["QtQuick.Controls/TabBar 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickTabButton" - name: "QtQuick.Controls/TabButton 2.0" - exports: ["QtQuick.Controls/TabButton 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickTextArea" - name: "QtQuick.Controls/TextArea 2.0" - exports: ["QtQuick.Controls/TextArea 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickTextField" - name: "QtQuick.Controls/TextField 2.0" - exports: ["QtQuick.Controls/TextField 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickToolBar" - name: "QtQuick.Controls/ToolBar 2.0" - exports: ["QtQuick.Controls/ToolBar 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickToolButton" - name: "QtQuick.Controls/ToolButton 2.0" - exports: ["QtQuick.Controls/ToolButton 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickToolSeparator" - name: "QtQuick.Controls/ToolSeparator 2.1" - exports: ["QtQuick.Controls/ToolSeparator 2.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickToolTip" - name: "QtQuick.Controls/ToolTip 2.0" - exports: ["QtQuick.Controls/ToolTip 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentData" - } - Component { - prototype: "QQuickTumbler" - name: "QtQuick.Controls/Tumbler 2.0" - exports: ["QtQuick.Controls/Tumbler 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickVerticalHeaderView" - name: "QtQuick.Controls/VerticalHeaderView 2.15" - exports: ["QtQuick.Controls/VerticalHeaderView 2.15"] - exportMetaObjectRevisions: [15] - isComposite: true - defaultProperty: "flickableData" - } -} diff --git a/bin/QtQuick/Controls.2/qmldir b/bin/QtQuick/Controls.2/qmldir deleted file mode 100644 index c9ccb8f9f..000000000 --- a/bin/QtQuick/Controls.2/qmldir +++ /dev/null @@ -1,5 +0,0 @@ -module QtQuick.Controls -plugin qtquickcontrols2plugin -classname QtQuickControls2Plugin -depends QtQuick.Templates 2.5 -designersupported diff --git a/bin/QtQuick/Controls.2/qtquickcontrols2plugin.dll b/bin/QtQuick/Controls.2/qtquickcontrols2plugin.dll deleted file mode 100644 index f5858c56d..000000000 Binary files a/bin/QtQuick/Controls.2/qtquickcontrols2plugin.dll and /dev/null differ diff --git a/bin/QtQuick/Controls/ApplicationWindow.qml b/bin/QtQuick/Controls/ApplicationWindow.qml deleted file mode 100644 index 7d215556e..000000000 --- a/bin/QtQuick/Controls/ApplicationWindow.qml +++ /dev/null @@ -1,265 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick.Window 2.2 -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Layouts 1.0 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ApplicationWindow - \since 5.1 - \inqmlmodule QtQuick.Controls - \ingroup applicationwindow - \ingroup controls - \brief Provides a top-level application window. - - \image applicationwindow.png - - ApplicationWindow is a \l Window that adds convenience for positioning items, - such as \l MenuBar, \l ToolBar, and \l StatusBar in a platform independent - manner. - - \code - ApplicationWindow { - id: window - visible: true - - menuBar: MenuBar { - Menu { MenuItem {...} } - Menu { MenuItem {...} } - } - - toolBar: ToolBar { - RowLayout { - anchors.fill: parent - ToolButton {...} - } - } - - TabView { - id: myContent - anchors.fill: parent - ... - } - } - \endcode - - \note By default, an ApplicationWindow is not visible. - - The \l{Qt Quick Controls 1 - Gallery} example is a good starting - point to explore this type. -*/ - -Window { - id: root - - /*! - \qmlproperty MenuBar ApplicationWindow::menuBar - - This property holds the \l MenuBar. - - By default, this value is not set. - */ - property MenuBar menuBar: null - - /*! - \qmlproperty Item ApplicationWindow::toolBar - - This property holds the toolbar \l Item. - - It can be set to any Item type, but is generally used with \l ToolBar. - - By default, this value is not set. When you set the toolbar item, it will - be anchored automatically into the application window. - */ - property Item toolBar - - /*! - \qmlproperty Item ApplicationWindow::statusBar - - This property holds the status bar \l Item. - - It can be set to any Item type, but is generally used with \l StatusBar. - - By default, this value is not set. When you set the status bar item, it - will be anchored automatically into the application window. - */ - property Item statusBar - - // The below documentation was supposed to be written as a grouped property, but qdoc would - // not render it correctly due to a bug (QTBUG-34206) - /*! - \qmlproperty ContentItem ApplicationWindow::contentItem - - This group holds the size constraints of the content item. This is the area between the - \l ToolBar and the \l StatusBar. - The \l ApplicationWindow will use this as input when calculating the effective size - constraints of the actual window. - It holds these 6 properties for describing the minimum, implicit and maximum sizes: - \table - \header \li Grouped property \li Description - \row \li contentItem.minimumWidth \li The minimum width of the content item. - \row \li contentItem.minimumHeight \li The minimum height of the content item. - \row \li contentItem.implicitWidth \li The implicit width of the content item. - \row \li contentItem.implicitHeight \li The implicit height of the content item. - \row \li contentItem.maximumWidth \li The maximum width of the content item. - \row \li contentItem.maximumHeight \li The maximum height of the content item. - \endtable - */ - property alias contentItem : contentArea - - /*! The style Component for the window. - \sa {Qt Quick Controls 1 Styles QML Types} - */ - property Component style: Settings.styleComponent(Settings.style, "ApplicationWindowStyle.qml", root) - - /*! \internal */ - property alias __style: styleLoader.item - - /*! \internal */ - property alias __panel: panelLoader.item - - /*! \internal */ - property real __topBottomMargins: __panel.contentArea.y + __panel.statusBarArea.height - /*! \internal - There is a similar macro QWINDOWSIZE_MAX in qwindow_p.h that is used to limit the - range of QWindow::maximum{Width,Height} - However, in case we have a very big number (> 2^31) conversion will fail, and it will be - converted to 0, resulting in that we will call setMaximumWidth(0).... - We therefore need to enforce the limit at a level where we are still operating on - floating point values. - */ - readonly property real __qwindowsize_max: (1 << 24) - 1 - - /*! \internal */ - property real __width: 0 - Qml.Binding { - target: root - property: "__width" - when: (root.minimumWidth <= root.maximumWidth) && !contentArea.__noImplicitWidthGiven - value: Math.max(Math.min(root.maximumWidth, contentArea.implicitWidth), root.minimumWidth) - restoreMode: Binding.RestoreBinding - } - /*! \internal */ - property real __height: 0 - Qml.Binding { - target: root - property: "__height" - when: (root.minimumHeight <= root.maximumHeight) && !contentArea.__noImplicitHeightGiven - value: Math.max(Math.min(root.maximumHeight, contentArea.implicitHeight + __topBottomMargins), root.minimumHeight) - restoreMode: Binding.RestoreBinding - } - /* As soon as an application developer writes - width: 200 - this binding will be broken. This is the reason for this indirection - via __width (and __height) - */ - width: __width - height: __height - - minimumWidth: contentArea.__noMinimumWidthGiven ? 0 : contentArea.minimumWidth - minimumHeight: contentArea.__noMinimumHeightGiven ? 0 : (contentArea.minimumHeight + __topBottomMargins) - - maximumWidth: Math.min(__qwindowsize_max, contentArea.maximumWidth) - maximumHeight: Math.min(__qwindowsize_max, contentArea.maximumHeight + __topBottomMargins) - - /*! \internal */ - default property alias data: contentArea.data - - flags: Qt.Window | Qt.WindowFullscreenButtonHint | - Qt.WindowTitleHint | Qt.WindowSystemMenuHint | Qt.WindowMinMaxButtonsHint | - Qt.WindowCloseButtonHint | Qt.WindowFullscreenButtonHint - // QTBUG-35049: Windows is removing features we didn't ask for, even though Qt::CustomizeWindowHint is not set - // Otherwise Qt.Window | Qt.WindowFullscreenButtonHint would be enough - - Loader { - id: panelLoader - anchors.fill: parent - sourceComponent: __style ? __style.panel : null - onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", root) - focus: true - Loader { - id: styleLoader - sourceComponent: style - property var __control: root - property QtObject styleData: QtObject { - readonly property bool hasColor: root.color != "#ffffff" - } - onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", root) - } - - Qml.Binding { - target: toolBar - property: "parent" - value: __panel.toolBarArea - restoreMode: Binding.RestoreBinding - } - Qml.Binding { - target: statusBar - property: "parent" - value: __panel.statusBarArea - restoreMode: Binding.RestoreBinding - } - - Qml.Binding { - property: "parent" - target: menuBar ? menuBar.__contentItem : null - when: menuBar && !menuBar.__isNative - value: __panel.menuBarArea - restoreMode: Binding.RestoreBinding - } - Qml.Binding { - target: menuBar - property: "__parentWindow" - value: root - restoreMode: Binding.RestoreBinding - } - - Keys.forwardTo: menuBar ? [menuBar.__contentItem, __panel] : [] - - ContentItem { - id: contentArea - anchors.fill: parent - parent: __panel.contentArea - } - } -} diff --git a/bin/QtQuick/Controls/BusyIndicator.qml b/bin/QtQuick/Controls/BusyIndicator.qml deleted file mode 100644 index 6c9972ad5..000000000 --- a/bin/QtQuick/Controls/BusyIndicator.qml +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype BusyIndicator - \inqmlmodule QtQuick.Controls - \since 5.2 - \ingroup controls - \brief A busy indicator. - - \image busyindicator.png - - The busy indicator should be used to indicate activity while content is - being loaded or the UI is blocked waiting for a resource to become available. - - The following snippet shows how to use the BusyIndicator: - - \qml - BusyIndicator { - running: image.status === Image.Loading - } - \endqml - - You can create a custom appearance for a Busy Indicator by - assigning a \l {BusyIndicatorStyle}. - */ -Control { - id: indicator - - /*! \qmlproperty bool BusyIndicator::running - - This property holds whether the busy indicator is currently indicating - activity. - - \note The indicator is only visible when this property is set to \c true. - - The default value is \c true. - */ - property bool running: true - - Accessible.role: Accessible.Indicator - Accessible.name: "busy" - - style: Settings.styleComponent(Settings.style, "BusyIndicatorStyle.qml", indicator) -} diff --git a/bin/QtQuick/Controls/Button.qml b/bin/QtQuick/Controls/Button.qml deleted file mode 100644 index c3f292381..000000000 --- a/bin/QtQuick/Controls/Button.qml +++ /dev/null @@ -1,134 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype Button - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief A push button with a text label. - - \image button.png - - The push button is perhaps the most commonly used widget in any graphical - user interface. Pushing (or clicking) a button commands the computer to - perform some action or answer a question. Common examples of buttons are - OK, Apply, Cancel, Close, Yes, No, and Help buttons. - - \qml - Button { - text: "Button" - } - \endqml - - Button is similar to the QPushButton widget. - - You can create a custom appearance for a Button by - assigning a \l {ButtonStyle}. - */ -BasicButton { - id: button - - /*! This property holds whether the push button is the default button. - Default buttons decide what happens when the user presses enter in a - dialog without giving a button explicit focus. \note This property only - changes the appearance of the button. The expected behavior needs to be - implemented by the user. - - The default value is \c false. - */ - property bool isDefault: false - - /*! Assign a \l Menu to this property to get a pull-down menu button. - - The default value is \c null. - */ - property Menu menu: null - - __effectivePressed: __behavior.effectivePressed || menu && menu.__popupVisible - - activeFocusOnTab: true - - Accessible.name: text - - style: Settings.styleComponent(Settings.style, "ButtonStyle.qml", button) - - Qml.Binding { - target: menu - property: "__minimumWidth" - value: button.__panel.width - restoreMode: Binding.RestoreBinding - } - - Qml.Binding { - target: menu - property: "__visualItem" - value: button - restoreMode: Binding.RestoreBinding - } - - Connections { - target: __behavior - function onEffectivePressedChanged() { - if (!Settings.hasTouchScreen && __behavior.effectivePressed && menu) - popupMenuTimer.start() - } - function onReleased() { - if (Settings.hasTouchScreen && __behavior.containsMouse && menu) - popupMenuTimer.start() - } - } - - Timer { - id: popupMenuTimer - interval: 10 - onTriggered: { - __behavior.keyPressed = false - if (Qt.application.layoutDirection === Qt.RightToLeft) - menu.__popup(Qt.rect(button.width, button.height, 0, 0), 0) - else - menu.__popup(Qt.rect(0, button.height, 0, 0), 0) - } - } -} diff --git a/bin/QtQuick/Controls/Calendar.qml b/bin/QtQuick/Controls/Calendar.qml deleted file mode 100644 index bf3d6737d..000000000 --- a/bin/QtQuick/Controls/Calendar.qml +++ /dev/null @@ -1,456 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.9 -import QtQuick.Controls 1.5 -import QtQuick.Controls.Styles 1.1 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype Calendar - \inqmlmodule QtQuick.Controls - \since 5.3 - \ingroup controls - \brief Provides a way to select dates from a calendar. - - \image calendar.png - - Calendar allows selection of dates from a grid of days, similar to - QCalendarWidget. - - The dates on the calendar can be selected with the mouse, or navigated - with the keyboard. - - The selected date can be set through \l selectedDate. - A minimum and maximum date can be set through \l minimumDate and - \l maximumDate. The earliest minimum date that can be set is 1 January, 1 - AD. The latest maximum date that can be set is 25 October, 275759 AD. - - \code - Calendar { - minimumDate: new Date(2017, 0, 1) - maximumDate: new Date(2018, 0, 1) - } - \endcode - - The selected date is displayed using the format in the application's - default locale. - - Week numbers can be displayed by setting the weekNumbersVisible property to - \c true. - - \qml - Calendar { - weekNumbersVisible: true - } - \endqml - - You can create a custom appearance for Calendar by assigning a - \l {CalendarStyle}. -*/ - -Control { - id: calendar - - /*! - \qmlproperty date Calendar::selectedDate - - The date that has been selected by the user. - - This property is subject to the following validation: - - \list - \li If selectedDate is outside the range of \l minimumDate and - \l maximumDate, it will be clamped to be within that range. - - \li selectedDate will not be changed if \c undefined or some other - invalid value is assigned. - - \li If there are hours, minutes, seconds or milliseconds set, they - will be removed. - \endlist - - The default value is the current date, which is equivalent to: - - \code - new Date() - \endcode - */ - property alias selectedDate: rangedDate.date - - /*! - \qmlproperty date Calendar::minimumDate - - The earliest date that this calendar will accept. - - By default, this property is set to the earliest minimum date - (1 January, 1 AD). - */ - property alias minimumDate: rangedDate.minimumDate - - /*! - \qmlproperty date Calendar::maximumDate - - The latest date that this calendar will accept. - - By default, this property is set to the latest maximum date - (25 October, 275759 AD). - */ - property alias maximumDate: rangedDate.maximumDate - - /*! - This property determines which month in visibleYear is shown on the - calendar. - - The month is from \c 0 to \c 11 to be consistent with the JavaScript - Date object. - - \sa visibleYear - */ - property int visibleMonth: selectedDate.getMonth() - - /*! - This property determines which year is shown on the - calendar. - - \sa visibleMonth - */ - property int visibleYear: selectedDate.getFullYear() - - onSelectedDateChanged: { - // When the selected date changes, the view should move back to that date. - visibleMonth = selectedDate.getMonth(); - visibleYear = selectedDate.getFullYear(); - } - - RangedDate { - id: rangedDate - date: new Date() - minimumDate: CalendarUtils.minimumCalendarDate - maximumDate: CalendarUtils.maximumCalendarDate - } - - /*! - This property determines the visibility of the frame - surrounding the calendar. - - The default value is \c true. - */ - property bool frameVisible: true - - /*! - This property determines the visibility of week numbers. - - The default value is \c false. - */ - property bool weekNumbersVisible: false - - /*! - This property determines the visibility of the navigation bar. - \since QtQuick.Controls 1.3 - - The default value is \c true. - */ - property bool navigationBarVisible: true - - /*! - \qmlproperty enum Calendar::dayOfWeekFormat - - The format in which the days of the week (in the header) are displayed. - - \c Locale.ShortFormat is the default and recommended format, as - \c Locale.NarrowFormat may not be fully supported by each locale (see - \l {Locale String Format Types}) and - \c Locale.LongFormat may not fit within the header cells. - */ - property int dayOfWeekFormat: Locale.ShortFormat - - /*! - \qmlproperty object Calendar::locale - \since QtQuick.Controls 1.6 - - This property controls the locale that this calendar uses to display - itself. - - The locale affects how dates and day names are localized, as well as - which day is considered the first in a week. - - The following example sets an Australian locale: - - \code - locale: Qt.locale("en_AU") - \endcode - - The default value is equivalent to \c Qt.locale(). - */ - property var locale: Qt.locale() - - // left for compatibility reasons; can be removed in next minor version/Qt 6 - property alias __locale: calendar.locale - - /*! - \internal - - This property holds the model that will be used by the Calendar to - populate the dates available to the user. - */ - property CalendarModel __model: CalendarModel { - locale: calendar.locale - - // TODO: don't set the hour when QTBUG-56787 is fixed - visibleDate: new Date(visibleYear, visibleMonth, 1, 12) - } - - style: Settings.styleComponent(Settings.style, "CalendarStyle.qml", calendar) - - /*! - \qmlsignal Calendar::hovered(date date) - - Emitted when the mouse hovers over a valid date in the calendar. - - \e date is the date that was hovered over. - - The corresponding handler is \c onHovered. - */ - signal hovered(date date) - - /*! - \qmlsignal Calendar::pressed(date date) - - Emitted when the mouse is pressed on a valid date in the calendar. - - This is also emitted when dragging the mouse to another date while it is pressed. - - \e date is the date that the mouse was pressed on. - - The corresponding handler is \c onPressed. - */ - signal pressed(date date) - - /*! - \qmlsignal Calendar::released(date date) - - Emitted when the mouse is released over a valid date in the calendar. - - \e date is the date that the mouse was released over. - - The corresponding handler is \c onReleased. - */ - signal released(date date) - - /*! - \qmlsignal Calendar::clicked(date date) - - Emitted when the mouse is clicked on a valid date in the calendar. - - \e date is the date that the mouse was clicked on. - - The corresponding handler is \c onClicked. - */ - signal clicked(date date) - - /*! - \qmlsignal Calendar::doubleClicked(date date) - - Emitted when the mouse is double-clicked on a valid date in the calendar. - - \e date is the date that the mouse was double-clicked on. - - The corresponding handler is \c onDoubleClicked. - */ - signal doubleClicked(date date) - - /*! - \qmlsignal Calendar::pressAndHold(date date) - \since QtQuick.Controls 1.3 - - Emitted when the mouse is pressed and held on a valid date in the calendar. - - \e date is the date that the mouse was pressed on. - - The corresponding handler is \c onPressAndHold. - */ - signal pressAndHold(date date) - - /*! - \qmlmethod void Calendar::showPreviousMonth() - Sets visibleMonth to the previous month. - */ - function showPreviousMonth() { - if (visibleMonth === 0) { - visibleMonth = CalendarUtils.monthsInAYear - 1; - --visibleYear; - } else { - --visibleMonth; - } - } - - /*! - \qmlmethod void Calendar::showNextMonth() - Sets visibleMonth to the next month. - */ - function showNextMonth() { - if (visibleMonth === CalendarUtils.monthsInAYear - 1) { - visibleMonth = 0; - ++visibleYear; - } else { - ++visibleMonth; - } - } - - /*! - \qmlmethod void Calendar::showPreviousYear() - Sets visibleYear to the previous year. - */ - function showPreviousYear() { - if (visibleYear - 1 >= minimumDate.getFullYear()) { - --visibleYear; - } - } - - /*! - \qmlmethod void Calendar::showNextYear() - Sets visibleYear to the next year. - */ - function showNextYear() { - if (visibleYear + 1 <= maximumDate.getFullYear()) { - ++visibleYear; - } - } - - /*! - Selects the month before the current month in \l selectedDate. - */ - function __selectPreviousMonth() { - calendar.selectedDate = CalendarUtils.setMonth(calendar.selectedDate, calendar.selectedDate.getMonth() - 1); - } - - /*! - Selects the month after the current month in \l selectedDate. - */ - function __selectNextMonth() { - calendar.selectedDate = CalendarUtils.setMonth(calendar.selectedDate, calendar.selectedDate.getMonth() + 1); - } - - /*! - Selects the week before the current week in \l selectedDate. - */ - function __selectPreviousWeek() { - var newDate = new Date(calendar.selectedDate); - newDate.setDate(newDate.getDate() - CalendarUtils.daysInAWeek); - calendar.selectedDate = newDate; - } - - /*! - Selects the week after the current week in \l selectedDate. - */ - function __selectNextWeek() { - var newDate = new Date(calendar.selectedDate); - newDate.setDate(newDate.getDate() + CalendarUtils.daysInAWeek); - calendar.selectedDate = newDate; - } - - /*! - Selects the first day of the current month in \l selectedDate. - */ - function __selectFirstDayOfMonth() { - var newDate = new Date(calendar.selectedDate); - newDate.setDate(1); - calendar.selectedDate = newDate; - } - - /*! - Selects the last day of the current month in \l selectedDate. - */ - function __selectLastDayOfMonth() { - var newDate = new Date(calendar.selectedDate); - newDate.setDate(CalendarUtils.daysInMonth(newDate)); - calendar.selectedDate = newDate; - } - - /*! - Selects the day before the current day in \l selectedDate. - */ - function __selectPreviousDay() { - var newDate = new Date(calendar.selectedDate); - newDate.setDate(newDate.getDate() - 1); - calendar.selectedDate = newDate; - } - - /*! - Selects the day after the current day in \l selectedDate. - */ - function __selectNextDay() { - var newDate = new Date(calendar.selectedDate); - newDate.setDate(newDate.getDate() + 1); - calendar.selectedDate = newDate; - } - - Keys.onLeftPressed: { - calendar.__selectPreviousDay(); - } - - Keys.onUpPressed: { - calendar.__selectPreviousWeek(); - } - - Keys.onDownPressed: { - calendar.__selectNextWeek(); - } - - Keys.onRightPressed: { - calendar.__selectNextDay(); - } - - Keys.onPressed: { - if (event.key === Qt.Key_Home) { - calendar.__selectFirstDayOfMonth(); - event.accepted = true; - } else if (event.key === Qt.Key_End) { - calendar.__selectLastDayOfMonth(); - event.accepted = true; - } else if (event.key === Qt.Key_PageUp) { - calendar.__selectPreviousMonth(); - event.accepted = true; - } else if (event.key === Qt.Key_PageDown) { - calendar.__selectNextMonth(); - event.accepted = true; - } - } -} diff --git a/bin/QtQuick/Controls/CheckBox.qml b/bin/QtQuick/Controls/CheckBox.qml deleted file mode 100644 index d2448168b..000000000 --- a/bin/QtQuick/Controls/CheckBox.qml +++ /dev/null @@ -1,197 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype CheckBox - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief A checkbox with a text label. - - \image checkbox.png - - A CheckBox is an option button that can be toggled on (checked) or off - (unchecked). Checkboxes are typically used to represent features in an - application that can be enabled or disabled without affecting others. - - The state of the checkbox can be set with the \l {AbstractCheckable::checked}{checked} property. - - In addition to the checked and unchecked states, there is a third state: - partially checked. This state indicates that the - regular checked/unchecked state can not be determined; generally because of - other states that affect the checkbox. This state is useful when several - child nodes are selected in a treeview, for example. - - The partially checked state can be made available to the user by setting - \l partiallyCheckedEnabled to \c true, or set directly by setting - \l checkedState to \c Qt.PartiallyChecked. \l checkedState behaves - identically to \l {AbstractCheckable::checked}{checked} when \l partiallyCheckedEnabled - is \c false; setting one will appropriately set the other. - - The label is shown next to the checkbox, and you can set the label text using its - \l {AbstractCheckable::text}{text} property. - - \qml - Column { - CheckBox { - text: qsTr("Breakfast") - checked: true - } - CheckBox { - text: qsTr("Lunch") - } - CheckBox { - text: qsTr("Dinner") - checked: true - } - } - \endqml - - Whenever a CheckBox is clicked, it emits the \l {AbstractCheckable::clicked}{clicked()} signal. - - You can create a custom appearance for a CheckBox by - assigning a \l {CheckBoxStyle}. -*/ - -AbstractCheckable { - id: checkBox - - /*! - \qmlproperty enumeration CheckBox::checkedState - - This property indicates the current checked state of the checkbox. - - Possible values: - \c Qt.UnChecked - The checkbox is not checked (default). - \c Qt.Checked - The checkbox is checked. - \c Qt.PartiallyChecked - The checkbox is in a partially checked (or - "mixed") state. - - The \l {AbstractCheckable::checked}{checked} property also determines whether - this property is \c Qt.Checked or \c Qt.UnChecked, and vice versa. - */ - property int checkedState: checked ? Qt.Checked : Qt.Unchecked - - /*! - This property determines whether the \c Qt.PartiallyChecked state is - available. - - A checkbox may be in a partially checked state when the regular checked - state can not be determined. - - Setting \l checkedState to \c Qt.PartiallyChecked will implicitly set - this property to \c true. - - If this property is \c true, \l {AbstractCheckable::checked}{checked} will be \c false. - - By default, this property is \c false. - */ - property bool partiallyCheckedEnabled: false - - /*! - \internal - True if onCheckedChanged should be ignored because we were reacting - to onCheckedStateChanged. - */ - property bool __ignoreChecked: false - - /*! - \internal - True if onCheckedStateChanged should be ignored because we were reacting - to onCheckedChanged. - */ - property bool __ignoreCheckedState: false - - style: Settings.styleComponent(Settings.style, "CheckBoxStyle.qml", checkBox) - - activeFocusOnTab: true - - Accessible.role: Accessible.CheckBox - Accessible.name: text - - __cycleStatesHandler: __cycleCheckBoxStates - - onCheckedChanged: { - if (!__ignoreChecked) { - __ignoreCheckedState = true; - checkedState = checked ? Qt.Checked : Qt.Unchecked; - __ignoreCheckedState = false; - } - } - - onCheckedStateChanged: { - __ignoreChecked = true; - if (checkedState === Qt.PartiallyChecked) { - partiallyCheckedEnabled = true; - checked = false; - } else if (!__ignoreCheckedState) { - checked = checkedState === Qt.Checked; - } - __ignoreChecked = false; - } - - onPartiallyCheckedEnabledChanged: { - if (exclusiveGroup && partiallyCheckedEnabled) { - console.warn("Cannot have partially checked boxes in an ExclusiveGroup."); - } - } - - onExclusiveGroupChanged: { - if (exclusiveGroup && partiallyCheckedEnabled) { - console.warn("Cannot have partially checked boxes in an ExclusiveGroup."); - } - } - - /*! \internal */ - function __cycleCheckBoxStates() { - if (!partiallyCheckedEnabled) { - checked = !checked; - } else { - switch (checkedState) { - case Qt.Unchecked: checkedState = Qt.Checked; break; - case Qt.Checked: checkedState = Qt.PartiallyChecked; break; - case Qt.PartiallyChecked: checkedState = Qt.Unchecked; break; - } - } - } -} diff --git a/bin/QtQuick/Controls/ComboBox.qml b/bin/QtQuick/Controls/ComboBox.qml deleted file mode 100644 index b01cfe120..000000000 --- a/bin/QtQuick/Controls/ComboBox.qml +++ /dev/null @@ -1,717 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ComboBox - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief Provides a drop-down list functionality. - - \image combobox.png - - Add items to the ComboBox by assigning it a ListModel, or a list of strings - to the \l model property. - - \qml - ComboBox { - width: 200 - model: [ "Banana", "Apple", "Coconut" ] - } - \endqml - - In this example we are demonstrating how to use a ListModel with a combo box. - - \qml - ComboBox { - currentIndex: 2 - model: ListModel { - id: cbItems - ListElement { text: "Banana"; color: "Yellow" } - ListElement { text: "Apple"; color: "Green" } - ListElement { text: "Coconut"; color: "Brown" } - } - width: 200 - onCurrentIndexChanged: console.debug(cbItems.get(currentIndex).text + ", " + cbItems.get(currentIndex).color) - } - \endqml - - You can make a combo box editable by setting the \l editable property. An editable combo box will - autocomplete its text based on what is available in the model. - - In the next example we demonstrate how you can append content to an editable combo box by - reacting to the \l accepted signal. Note that you have to explicitly prevent duplicates. - - \qml - ComboBox { - editable: true - model: ListModel { - id: model - ListElement { text: "Banana"; color: "Yellow" } - ListElement { text: "Apple"; color: "Green" } - ListElement { text: "Coconut"; color: "Brown" } - } - onAccepted: { - if (find(currentText) === -1) { - model.append({text: editText}) - currentIndex = find(editText) - } - } - } - \endqml - - - You can create a custom appearance for a ComboBox by - assigning a \l {ComboBoxStyle}. -*/ - -Control { - id: comboBox - - /*! \qmlproperty model ComboBox::model - The model to populate the ComboBox from. - - Changing the model after initialization will reset \l currentIndex to \c 0. - */ - property alias model: popupItems.model - - /*! The model role used for populating the ComboBox. */ - property string textRole: "" - - /*! \qmlproperty int ComboBox::currentIndex - The index of the currently selected item in the ComboBox. - - Setting currentIndex to \c -1 will reset the selection and clear the text - label. If \l editable is \c true, you may also need to manually clear \l editText. - - \sa model - */ - property alias currentIndex: popup.__selectedIndex - - /*! \qmlproperty string ComboBox::currentText - The text of the currently selected item in the ComboBox. - - \note Since \c currentText depends on \c currentIndex, there's no way to ensure \c currentText - will be up to date whenever a \c onCurrentIndexChanged handler is called. - */ - readonly property alias currentText: popup.currentText - - /*! This property holds whether the combo box can be edited by the user. - The default value is \c false. - \since QtQuick.Controls 1.1 - */ - property bool editable: false - - /*! \qmlproperty string ComboBox::editText - \since QtQuick.Controls 1.1 - This property specifies text being manipulated by the user for an editable combo box. - */ - property alias editText: input.text - - /*! \qmlproperty enumeration ComboBox::inputMethodHints - \since QtQuick.Controls 1.5 - Provides hints to the input method about the expected content of the combo box and how it - should operate. - - The value is a bit-wise combination of flags or \c Qt.ImhNone if no hints are set. - - Flags that alter behavior are: - - \list - \li Qt.ImhHiddenText - Characters should be hidden, as is typically used when entering passwords. - \li Qt.ImhSensitiveData - Typed text should not be stored by the active input method - in any persistent storage like predictive user dictionary. - \li Qt.ImhNoAutoUppercase - The input method should not try to automatically switch to upper case - when a sentence ends. - \li Qt.ImhPreferNumbers - Numbers are preferred (but not required). - \li Qt.ImhPreferUppercase - Upper case letters are preferred (but not required). - \li Qt.ImhPreferLowercase - Lower case letters are preferred (but not required). - \li Qt.ImhNoPredictiveText - Do not use predictive text (i.e. dictionary lookup) while typing. - - \li Qt.ImhDate - The text editor functions as a date field. - \li Qt.ImhTime - The text editor functions as a time field. - \endlist - - Flags that restrict input (exclusive flags) are: - - \list - \li Qt.ImhDigitsOnly - Only digits are allowed. - \li Qt.ImhFormattedNumbersOnly - Only number input is allowed. This includes decimal point and minus sign. - \li Qt.ImhUppercaseOnly - Only upper case letter input is allowed. - \li Qt.ImhLowercaseOnly - Only lower case letter input is allowed. - \li Qt.ImhDialableCharactersOnly - Only characters suitable for phone dialing are allowed. - \li Qt.ImhEmailCharactersOnly - Only characters suitable for email addresses are allowed. - \li Qt.ImhUrlCharactersOnly - Only characters suitable for URLs are allowed. - \endlist - - Masks: - - \list - \li Qt.ImhExclusiveInputMask - This mask yields nonzero if any of the exclusive flags are used. - \endlist - */ - property alias inputMethodHints: input.inputMethodHints - - /*! This property specifies whether the combobox should gain active focus when pressed. - The default value is \c false. */ - property bool activeFocusOnPress: false - - /*! \qmlproperty bool ComboBox::pressed - - This property holds whether the button is being pressed. */ - readonly property bool pressed: mouseArea.effectivePressed || popup.__popupVisible - - /*! \qmlproperty bool ComboBox::hovered - - This property indicates whether the control is being hovered. - */ - readonly property bool hovered: mouseArea.containsMouse || input.containsMouse - - /*! \qmlproperty int ComboBox::count - \since QtQuick.Controls 1.1 - This property holds the number of items in the combo box. - */ - readonly property alias count: popupItems.count - - /*! \qmlmethod string ComboBox::textAt(int index) - Returns the text for a given \a index. - If an invalid index is provided, \c null is returned - \since QtQuick.Controls 1.1 - */ - function textAt (index) { - if (index >= count || index < 0) - return null; - return popupItems.objectAt(index).text; - } - - /*! \qmlmethod int ComboBox::find(string text) - Finds and returns the index of a given \a text - If no match is found, \c -1 is returned. The search is case sensitive. - \since QtQuick.Controls 1.1 - */ - function find (text) { - return input.find(text, Qt.MatchExactly) - } - - /*! - \qmlproperty Validator ComboBox::validator - \since QtQuick.Controls 1.1 - - Allows you to set a text validator for an editable ComboBox. - When a validator is set, - the text field will only accept input which leaves the text property in - an intermediate state. The accepted signal will only be sent - if the text is in an acceptable state when enter is pressed. - - Currently supported validators are \l[QtQuick]{IntValidator}, - \l[QtQuick]{DoubleValidator}, and \l[QtQuick]{RegExpValidator}. An - example of using validators is shown below, which allows input of - integers between 11 and 31 into the text field: - - \note This property is only applied when \l editable is \c true - - \qml - import QtQuick 2.2 - import QtQuick.Controls 1.2 - - ComboBox { - editable: true - model: 10 - validator: IntValidator {bottom: 0; top: 10;} - focus: true - } - \endqml - - \sa acceptableInput, accepted, editable - */ - property alias validator: input.validator - - /*! - \since QtQuick.Controls 1.3 - - This property contains the edit \l Menu for working - with text selection. Set it to \c null if no menu - is wanted. - - \note The menu is only in use when \l editable is \c true - */ - property Component menu: input.editMenu.defaultMenu - - /*! - \qmlproperty bool ComboBox::acceptableInput - \since QtQuick.Controls 1.1 - - Returns \c true if the combo box contains acceptable - text in the editable text field. - - If a validator was set, this property will return \c - true if the current text satisfies the validator or mask as - a final string (not as an intermediate string). - - \sa validator, accepted - - */ - readonly property alias acceptableInput: input.acceptableInput - - /*! - \qmlproperty bool ComboBox::selectByMouse - \since QtQuick.Controls 1.3 - - This property determines if the user can select the text in - the editable text field with the mouse. - - The default value is \c true. - */ - property bool selectByMouse: true - - /*! - \qmlproperty bool ComboBox::inputMethodComposing - \since QtQuick.Controls 1.3 - - This property holds whether an editable ComboBox has partial text input from an input method. - - While it is composing an input method may rely on mouse or key events from the ComboBox - to edit or commit the partial text. This property can be used to determine when to disable - events handlers that may interfere with the correct operation of an input method. - */ - readonly property bool inputMethodComposing: !!input.inputMethodComposing - - /*! - \qmlsignal ComboBox::accepted() - \since QtQuick.Controls 1.1 - - This signal is emitted when the Return or Enter key is pressed on an - \l editable combo box. If the confirmed string is not currently in the model, - the currentIndex will be set to -1 and the \l currentText will be updated - accordingly. - - \note If there is a \l validator set on the combobox, - the signal will only be emitted if the input is in an acceptable state. - - The corresponding handler is \c onAccepted. - */ - signal accepted - - /*! - \qmlsignal ComboBox::activated(int index) - \since QtQuick.Controls 1.1 - - This signal is similar to currentIndex changed, but will only - be emitted if the combo box index was changed by the user, not - when set programmatically. - - \e index is the activated model index, or \c -1 if a new string is - accepted. - - The corresponding handler is \c onActivated. - */ - signal activated(int index) - - /*! - \qmlmethod void ComboBox::selectAll() - \since QtQuick.Controls 1.1 - - Causes all \l editText to be selected. - */ - function selectAll() { - input.selectAll() - } - - /*! \internal */ - function __selectPrevItem() { - input.blockUpdate = true - if (currentIndex > 0) { - currentIndex--; - input.text = popup.currentText; - activated(currentIndex); - } - input.blockUpdate = false; - } - - /*! \internal */ - function __selectNextItem() { - input.blockUpdate = true; - if (currentIndex < popupItems.count - 1) { - currentIndex++; - input.text = popup.currentText; - activated(currentIndex); - } - input.blockUpdate = false; - } - - /*! \internal */ - property var __popup: popup - - style: Settings.styleComponent(Settings.style, "ComboBoxStyle.qml", comboBox) - - activeFocusOnTab: true - - Accessible.name: editable ? editText : currentText - Accessible.role: Accessible.ComboBox - Accessible.editable: editable - - MouseArea { - id: mouseArea - property bool overridePressed: false - readonly property bool effectivePressed: (pressed || overridePressed) && containsMouse - anchors.fill: parent - hoverEnabled: Settings.hoverEnabled - onPressed: { - if (comboBox.activeFocusOnPress) - forceActiveFocus() - if (!Settings.hasTouchScreen) - popup.toggleShow() - else - overridePressed = true - } - onCanceled: overridePressed = false - onClicked: { - if (Settings.hasTouchScreen) - popup.toggleShow() - overridePressed = false - } - onWheel: { - if (wheel.angleDelta.y > 0) { - __selectPrevItem(); - } else if (wheel.angleDelta.y < 0){ - __selectNextItem(); - } - } - } - - Component.onCompleted: { - if (currentIndex === -1) - currentIndex = 0 - - popup.ready = true - popup.resolveTextValue(textRole) - } - - Keys.onPressed: { - // Perform one-character based lookup for non-editable combo box - if (!editable && event.text.length > 0) { - var index = input.find(event.text, Qt.MatchStartsWith); - if (index >= 0 && index !== currentIndex) { - currentIndex = index; - activated(currentIndex); - } - } - } - - TextInputWithHandles { - id: input - - visible: editable - enabled: editable - focus: true - clip: contentWidth > width - - control: comboBox - cursorHandle: __style ? __style.__cursorHandle : undefined - selectionHandle: __style ? __style.__selectionHandle : undefined - - anchors.fill: parent - anchors.leftMargin: __style ? __style.padding.left : 0 - anchors.topMargin: __style ? __style.padding.top : 0 - anchors.rightMargin: __style ? __panel.dropDownButtonWidth + __style.padding.right : 0 - anchors.bottomMargin: __style ? __style.padding.bottom: 0 - - verticalAlignment: Text.AlignVCenter - - font: __panel && __panel.font !== undefined ? __panel.font : TextSingleton.font - renderType: __style ? __style.renderType : Text.NativeRendering - color: __panel ? __panel.textColor : "black" - selectionColor: __panel ? __panel.selectionColor : "blue" - selectedTextColor: __panel ? __panel.selectedTextColor : "white" - onAccepted: { - var idx = input.find(editText, Qt.MatchFixedString) - if (idx > -1) { - editTextMatches = true; - currentIndex = idx; - editText = textAt(idx); - } else { - editTextMatches = false; - currentIndex = -1; - popup.currentText = editText; - } - comboBox.accepted(); - } - - property bool blockUpdate: false - property string prevText - property bool editTextMatches: true - - function find (text, searchType) { - for (var i = 0 ; i < popupItems.count ; ++i) { - var currentString = popupItems.objectAt(i).text - if (searchType === Qt.MatchExactly) { - if (text === currentString) - return i; - } else if (searchType === Qt.CaseSensitive) { - if (currentString.indexOf(text) === 0) - return i; - } else if (searchType === Qt.MatchFixedString) { - if (currentString.toLowerCase().indexOf(text.toLowerCase()) === 0 - && currentString.length === text.length) - return i; - } else if (currentString.toLowerCase().indexOf(text.toLowerCase()) === 0) { - return i - } - } - return -1; - } - - // Finds first entry and shortest entry. Used by editable combo - function tryComplete (inputText) { - var candidate = ""; - var shortestString = ""; - for (var i = 0 ; i < popupItems.count ; ++i) { - var currentString = popupItems.objectAt(i).text; - - if (currentString.toLowerCase().indexOf(inputText.toLowerCase()) === 0) { - if (candidate.length) { // Find smallest possible match - var cmp = 0; - - // We try to complete the shortest string that matches our search - if (currentString.length < candidate.length) - candidate = currentString - - while (cmp < Math.min(currentString.length, shortestString.length) - && shortestString[cmp].toLowerCase() === currentString[cmp].toLowerCase()) - cmp++; - shortestString = shortestString.substring(0, cmp); - } else { // First match, select as current index and find other matches - candidate = currentString; - shortestString = currentString; - } - } - } - - if (candidate.length) - return inputText + candidate.substring(inputText.length, candidate.length); - return inputText; - } - - property bool allowComplete: false - Keys.forwardTo: comboBox - Keys.onPressed: allowComplete = (event.key !== Qt.Key_Backspace && event.key !== Qt.Key_Delete); - - onTextChanged: { - if (editable && !blockUpdate && allowComplete && text.length > 0) { - var completed = input.tryComplete(text) - if (completed.length > text.length) { - var oldtext = input.text; - input.text = completed; - input.select(text.length, oldtext.length); - } - } - prevText = text - } - } - - Qml.Binding { - target: input - property: "text" - value: popup.currentText - when: input.editTextMatches - restoreMode: Binding.RestoreBinding - } - - onTextRoleChanged: popup.resolveTextValue(textRole) - - ExclusiveGroup { id: eg } - - Menu { - id: popup - objectName: "popup" - - style: isPopup ? __style.__popupStyle : __style.__dropDownStyle - - property string currentText: selectedText - onSelectedTextChanged: popup.currentText = selectedText - - property string selectedText - property int triggeredIndex: -1 - on__SelectedIndexChanged: { - if (__selectedIndex === -1) - popup.currentText = "" - else - updateSelectedText() - if (triggeredIndex >= 0 && triggeredIndex == __selectedIndex) { - activated(currentIndex) - triggeredIndex = -1 - } - } - property string textRole: "" - - property bool ready: false - property bool isPopup: !editable && !!__panel && __panel.popup - - property int y: isPopup ? (comboBox.__panel.height - comboBox.__panel.implicitHeight) / 2.0 : comboBox.__panel.height - __minimumWidth: comboBox.width - __visualItem: comboBox - - property bool modelIsArray: false - - Instantiator { - id: popupItems - active: false - - property bool updatingModel: false - onModelChanged: { - popup.modelIsArray = !!model ? model.constructor === Array : false - if (active) { - if (updatingModel && popup.__selectedIndex === 0) { - // We still want to update the currentText - popup.updateSelectedText() - } else { - updatingModel = true - popup.__selectedIndex = 0 - } - } - popup.resolveTextValue(comboBox.textRole) - } - - MenuItem { - text: popup.textRole === '' ? - modelData : - ((popup.modelIsArray ? modelData[popup.textRole] : model[popup.textRole]) || '') - onTriggered: { - popup.triggeredIndex = index - comboBox.editText = text - } - onTextChanged: if (index === currentIndex) popup.updateSelectedText(); - checkable: true - exclusiveGroup: eg - } - onObjectAdded: { - popup.insertItem(index, object) - if (!updatingModel && index === popup.__selectedIndex) - popup.selectedText = object["text"] - } - onObjectRemoved: popup.removeItem(object) - - } - - function resolveTextValue(initialTextRole) { - if (!ready || !model) { - popupItems.active = false - return; - } - - var get = model['get']; - if (!get && popup.modelIsArray && !!model[0]) { - if (model[0].constructor !== String && model[0].constructor !== Number) - get = function(i) { return model[i]; } - } - - var modelMayHaveRoles = get !== undefined - textRole = initialTextRole - if (textRole === "" && modelMayHaveRoles && get(0)) { - // No text role set, check whether model has a suitable role - // If 'text' is found, or there's only one role, pick that. - var listElement = get(0) - var roleName = "" - var roleCount = 0 - for (var role in listElement) { - if (listElement[role].constructor === Function) - continue; - if (role === "text") { - roleName = role - break - } else if (!roleName) { - roleName = role - } - ++roleCount - } - if (roleCount > 1 && roleName !== "text") { - console.warn("No suitable 'textRole' found for ComboBox.") - } else { - textRole = roleName - } - } - - if (!popupItems.active) - popupItems.active = true - else - updateSelectedText() - } - - function toggleShow() { - if (popup.__popupVisible) { - popup.__dismissAndDestroy() - } else { - if (items[__selectedIndex]) - items[__selectedIndex].checked = true - __currentIndex = comboBox.currentIndex - if (Qt.application.layoutDirection === Qt.RightToLeft) - __popup(Qt.rect(comboBox.width, y, 0, 0), isPopup ? __selectedIndex : 0) - else - __popup(Qt.rect(0, y, 0, 0), isPopup ? __selectedIndex : 0) - } - } - - function updateSelectedText() { - var selectedItem; - if (__selectedIndex !== -1 && (selectedItem = items[__selectedIndex])) { - input.editTextMatches = true - selectedText = Qt.binding(function () { return selectedItem.text }) - if (currentText !== selectedText) // __selectedIndex went form -1 to 0 - selectedTextChanged() - } - } - } - - // The key bindings below will only be in use when popup is - // not visible. Otherwise, native popup key handling will take place: - Keys.onSpacePressed: { - if (!editable) - popup.toggleShow() - else - event.accepted = false - } - - Keys.onUpPressed: __selectPrevItem() - Keys.onDownPressed: __selectNextItem() -} diff --git a/bin/QtQuick/Controls/GroupBox.qml b/bin/QtQuick/Controls/GroupBox.qml deleted file mode 100644 index 0a414ed25..000000000 --- a/bin/QtQuick/Controls/GroupBox.qml +++ /dev/null @@ -1,232 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Controls.Styles 1.1 -import QtQuick.Layouts 1.0 - -/*! - \qmltype GroupBox - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief GroupBox provides a group box frame with a title. - - \image groupbox.png - - A group box provides a frame, a title on top and displays various other controls inside itself. Group boxes can also be checkable. - - Child controls in checkable group boxes are enabled or disabled depending on whether or not the group box is checked. - - You can minimize the space consumption of a group box by enabling the flat property. - In most styles, enabling this property results in the removal of the left, right and bottom edges of the frame. - - To add content to a group box, you can reparent it to its contentItem property. - - The implicit size of the GroupBox is calculated based on the size of its content. If you want to anchor - items inside the group box, you must specify an explicit width and height on the GroupBox itself. - - The following example shows how we use a GroupBox: - - \qml - GroupBox { - title: "Joining for?" - - Column { - spacing: 10 - - CheckBox { - text: "Breakfast" - checked: true - } - CheckBox { - text: "Lunch" - checked: false - } - CheckBox { - text: "Dinner" - checked: true - } - } - } - \endqml - - \sa CheckBox, RadioButton, Layout - -*/ - -FocusScope { - id: groupbox - - /*! - This property holds the group box title text. - - There is no default title text. - */ - property string title - - /*! - This property holds whether the group box is painted flat or has a frame. - - A group box usually consists of a surrounding frame with a title at the top. - If this property is enabled, only the top part of the frame is drawn in most styles; - otherwise, the whole frame is drawn. - - By default, this property is disabled, so group boxes are not flat unless explicitly specified. - - \note In some styles, flat and non-flat group boxes have similar representations and may not be as - distinguishable as they are in other styles. - */ - property bool flat: false - - /*! - This property holds whether the group box has a checkbox in its title. - - If this property is true, the group box displays its title using a checkbox in place of an ordinary label. - If the checkbox is checked, the group box's children are enabled; otherwise, they are disabled and inaccessible. - - By default, group boxes are not checkable. - */ - property bool checkable: false - - /*! - \qmlproperty bool GroupBox::checked - - This property holds whether the group box is checked. - - If the group box is checkable, it is displayed with a check box. If the check box is checked, the group - box's children are enabled; otherwise, the children are disabled and are inaccessible to the user. - - By default, checkable group boxes are also checked. - */ - property alias checked: check.checked - - - /*! \internal */ - default property alias __content: container.data - - /*! - \qmlproperty Item GroupBox::contentItem - - This property holds the content Item of the group box. - - Items declared as children of a GroupBox are automatically parented to the GroupBox's contentItem. - Items created dynamically need to be explicitly parented to the contentItem: - - \note The implicit size of the GroupBox is calculated based on the size of its content. If you want to anchor - items inside the group box, you must specify an explicit width and height on the GroupBox itself. - */ - readonly property alias contentItem: container - - /*! \internal */ - property Component style: Settings.styleComponent(Settings.style, "GroupBoxStyle.qml", groupbox) - - /*! \internal */ - property alias __checkbox: check - - /*! \internal */ - property alias __style: styleLoader.item - - implicitWidth: Math.max((!anchors.fill ? container.calcWidth() : 0) + loader.leftMargin + loader.rightMargin, - sizeHint.implicitWidth + (checkable ? 24 : 6)) - implicitHeight: (!anchors.fill ? container.calcHeight() : 0) + loader.topMargin + loader.bottomMargin - - Layout.minimumWidth: implicitWidth - Layout.minimumHeight: implicitHeight - - Accessible.role: Accessible.Grouping - Accessible.name: title - - activeFocusOnTab: false - - - data: [ - Loader { - id: loader - anchors.fill: parent - property int topMargin: __style ? __style.padding.top : 0 - property int bottomMargin: __style ? __style.padding.bottom : 0 - property int leftMargin: __style ? __style.padding.left : 0 - property int rightMargin: __style ? __style.padding.right : 0 - sourceComponent: styleLoader.item ? styleLoader.item.panel : null - onLoaded: item.z = -1 - Text { id: sizeHint ; visible: false ; text: title } - Loader { - id: styleLoader - property alias __control: groupbox - sourceComponent: groupbox.style - } - }, - CheckBox { - id: check - objectName: "check" - checked: true - text: groupbox.title - visible: checkable - anchors.top: parent.top - anchors.left: parent.left - anchors.right: parent.right - height: loader.topMargin - activeFocusOnTab: groupbox.checkable - style: CheckBoxStyle { panel: Item{} } - }, - Item { - id: container - objectName: "container" - z: 1 - focus: true - anchors.fill: parent - - anchors.topMargin: loader.topMargin - anchors.leftMargin: loader.leftMargin - anchors.rightMargin: loader.rightMargin - anchors.bottomMargin: loader.bottomMargin - enabled: (!groupbox.checkable || groupbox.checked) - - property Item layoutItem: container.children.length === 1 ? container.children[0] : null - function calcWidth () { return (layoutItem ? (layoutItem.implicitWidth || layoutItem.width) + - (layoutItem.anchors.fill ? layoutItem.anchors.leftMargin + - layoutItem.anchors.rightMargin : 0) : container.childrenRect.width) } - function calcHeight () { return (layoutItem ? (layoutItem.implicitHeight || layoutItem.height) + - (layoutItem.anchors.fill ? layoutItem.anchors.topMargin + - layoutItem.anchors.bottomMargin : 0) : container.childrenRect.height) } - }] -} diff --git a/bin/QtQuick/Controls/Label.qml b/bin/QtQuick/Controls/Label.qml deleted file mode 100644 index ea3f27b30..000000000 --- a/bin/QtQuick/Controls/Label.qml +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype Label - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief A text label. - - \image label.png - - In addition to the normal \l Text type, Label follows the font and - color scheme of the system. - Use the \c text property to assign a text to the label. For other properties - check \l Text. - - A simple label looks like this: - \qml - Label { - text: "Hello world" - } - \endqml - - You can use the properties of \l Text to change the appearance - of the text as desired: - \qml - Label { - text: "Hello world" - font.pixelSize: 22 - font.italic: true - color: "steelblue" - } - \endqml - - \sa Text, TextField, TextEdit -*/ - -Text { - /*! - \qmlproperty string Label::text - - The text to display. Use this property to get and set it. - */ - - id: label - color: SystemPaletteSingleton.windowText(enabled) - activeFocusOnTab: false - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - Accessible.name: text - Accessible.role: Accessible.StaticText -} diff --git a/bin/QtQuick/Controls/Menu.qml b/bin/QtQuick/Controls/Menu.qml deleted file mode 100644 index f91e86345..000000000 --- a/bin/QtQuick/Controls/Menu.qml +++ /dev/null @@ -1,180 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Styles 1.1 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype Menu - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup menus - \ingroup controls - \brief Provides a menu component for use as a context menu, popup menu, or - as part of a menu bar. - - \image menu.png - - \code - Menu { - title: "Edit" - - MenuItem { - text: "Cut" - shortcut: "Ctrl+X" - onTriggered: ... - } - - MenuItem { - text: "Copy" - shortcut: "Ctrl+C" - onTriggered: ... - } - - MenuItem { - text: "Paste" - shortcut: "Ctrl+V" - onTriggered: ... - } - - MenuSeparator { } - - Menu { - title: "More Stuff" - - MenuItem { - text: "Do Nothing" - } - } - } - \endcode - - The main uses for menus: - \list - \li - as a \e top-level menu in a \l MenuBar - \li - as a \e submenu inside another menu - \li - as a standalone or \e context menu - \endlist - - Note that some properties, such as \c enabled, \c text, or \c iconSource, - only make sense in a particular use case of the menu. - - \sa MenuBar, MenuItem, MenuSeparator -*/ - -MenuPrivate { - id: root - - /*! \internal - \omit - Documented in qqquickmenu.cpp. - \endomit - */ - function addMenu(title) { - return root.insertMenu(items.length, title) - } - - /*! \internal - \omit - Documented in qquickmenu.cpp. - \endomit - */ - function insertMenu(index, title) { - if (!__selfComponent) - __selfComponent = Qt.createComponent("Menu.qml", root) - var submenu = __selfComponent.createObject(__selfComponent, { "title": title }) - root.insertItem(index, submenu) - return submenu - } - - /*! \internal */ - property Component __selfComponent: null - - /*! \qmlproperty Component Menu::style - \since QtQuick.Controls.Styles 1.2 - - The style Component for this control. - \sa {MenuStyle} - - */ - property Component style - - Component.onCompleted: { - if (!style) { - __usingDefaultStyle = true - style = Qt.binding(function() { return Settings.styleComponent(Settings.style, "MenuStyle.qml", root) }) - } - } - - /*! \internal */ - property bool __usingDefaultStyle: false - /*! \internal */ - property var __parentContentItem: __parentMenu ? __parentMenu.__contentItem : null - /*! \internal */ - property int __currentIndex: -1 - /*! \internal */ - onAboutToHide: __currentIndex = -1 - on__MenuPopupDestroyed: contentLoader.active = false - onPopupVisibleChanged: { - if (__popupVisible) - contentLoader.active = true - } - - /*! \internal */ - __contentItem: Loader { - id: contentLoader - Component { - id: menuContent - MenuContentItem { - __menu: root - } - } - - sourceComponent: root.__isNative ? null : menuContent - active: false - focus: true - Keys.forwardTo: item ? [item, root.__parentContentItem] : [] - property bool altPressed: root.__parentContentItem ? root.__parentContentItem.altPressed : false - } -} diff --git a/bin/QtQuick/Controls/MenuBar.qml b/bin/QtQuick/Controls/MenuBar.qml deleted file mode 100644 index 78fd7cc7e..000000000 --- a/bin/QtQuick/Controls/MenuBar.qml +++ /dev/null @@ -1,347 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Styles 1.1 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype MenuBar - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup applicationwindow - \ingroup controls - \brief Provides a horizontal menu bar. - - \image menubar.png - - MenuBar can be added to an \l ApplicationWindow, providing menu options - to access additional functionality of the application. - - \code - ApplicationWindow { - ... - menuBar: MenuBar { - Menu { - title: "File" - MenuItem { text: "Open..." } - MenuItem { text: "Close" } - } - - Menu { - title: "Edit" - MenuItem { text: "Cut" } - MenuItem { text: "Copy" } - MenuItem { text: "Paste" } - } - } - } - \endcode - - \sa ApplicationWindow::menuBar -*/ - -MenuBarPrivate { - id: root - - /*! \qmlproperty Component MenuBar::style - \since QtQuick.Controls.Styles 1.2 - - The style Component for this control. - \sa {MenuBarStyle} - - */ - property Component style: Settings.styleComponent(Settings.style, "MenuBarStyle.qml", root) - - /*! \internal */ - property QtObject __style: styleLoader.item - - __isNative: !__style.hasOwnProperty("__isNative") || __style.__isNative - - /*! \internal */ - __contentItem: Loader { - id: topLoader - sourceComponent: __menuBarComponent - active: !root.__isNative - focus: true - Keys.forwardTo: [item] - property real preferredWidth: parent && active ? parent.width : 0 - property bool altPressed: item ? item.__altPressed : false - - Loader { - id: styleLoader - property alias __control: topLoader.item - sourceComponent: root.style - onStatusChanged: { - if (status === Loader.Error) - console.error("Failed to load Style for", root) - } - } - } - - /*! \internal */ - property Component __menuBarComponent: Loader { - id: menuBarLoader - - Accessible.role: Accessible.MenuBar - - onStatusChanged: if (status === Loader.Error) console.error("Failed to load panel for", root) - - visible: status === Loader.Ready - sourceComponent: d.style ? d.style.background : undefined - - width: implicitWidth || root.__contentItem.preferredWidth - height: Math.max(row.height + d.heightPadding, item ? item.implicitHeight : 0) - - Qml.Binding { - // Make sure the styled menu bar is in the background - target: menuBarLoader.item - property: "z" - value: menuMouseArea.z - 1 - restoreMode: Binding.RestoreBinding - } - - QtObject { - id: d - - property Style style: __style - - property int openedMenuIndex: -1 - property bool preselectMenuItem: false - property real heightPadding: style ? style.padding.top + style.padding.bottom : 0 - - property bool altPressed: false - property bool altPressedAgain: false - property var mnemonicsMap: ({}) - - function openMenuAtIndex(index) { - if (openedMenuIndex === index) - return; - - var oldIndex = openedMenuIndex - openedMenuIndex = index - - if (oldIndex !== -1) { - var menu = root.menus[oldIndex] - if (menu.__popupVisible) - menu.__dismissAndDestroy() - } - - if (openedMenuIndex !== -1) { - menu = root.menus[openedMenuIndex] - if (menu.enabled) { - if (menu.__usingDefaultStyle) - menu.style = d.style.menuStyle - - var xPos = row.LayoutMirroring.enabled ? menuItemLoader.width : 0 - menu.__popup(Qt.rect(xPos, menuBarLoader.height - d.heightPadding, 0, 0), 0) - - if (preselectMenuItem) - menu.__currentIndex = 0 - } - } - } - - function dismissActiveFocus(event, reason) { - if (reason) { - altPressedAgain = false - altPressed = false - openMenuAtIndex(-1) - root.__contentItem.parent.forceActiveFocus() - } else { - event.accepted = false - } - } - - function maybeOpenFirstMenu(event) { - if (altPressed && openedMenuIndex === -1) { - preselectMenuItem = true - openMenuAtIndex(0) - } else { - event.accepted = false - } - } - } - property alias __altPressed: d.altPressed // Needed for the menu contents - - focus: true - - Keys.onPressed: { - var action = null - if (event.key === Qt.Key_Alt) { - if (!d.altPressed) - d.altPressed = true - else - d.altPressedAgain = true - } else if (d.altPressed && (action = d.mnemonicsMap[event.text.toUpperCase()])) { - d.preselectMenuItem = true - action.trigger() - event.accepted = true - } - } - - Keys.onReleased: d.dismissActiveFocus(event, d.altPressedAgain && d.openedMenuIndex === -1) - Keys.onEscapePressed: d.dismissActiveFocus(event, d.openedMenuIndex === -1) - - Keys.onUpPressed: d.maybeOpenFirstMenu(event) - Keys.onDownPressed: d.maybeOpenFirstMenu(event) - - Keys.onLeftPressed: { - if (d.openedMenuIndex > 0) { - var idx = d.openedMenuIndex - 1 - while (idx >= 0 && !(root.menus[idx].enabled && root.menus[idx].visible)) - idx-- - if (idx >= 0) { - d.preselectMenuItem = true - d.openMenuAtIndex(idx) - } - } else { - event.accepted = false; - } - } - - Keys.onRightPressed: { - if (d.openedMenuIndex !== -1 && d.openedMenuIndex < root.menus.length - 1) { - var idx = d.openedMenuIndex + 1 - while (idx < root.menus.length && !(root.menus[idx].enabled && root.menus[idx].visible)) - idx++ - if (idx < root.menus.length) { - d.preselectMenuItem = true - d.openMenuAtIndex(idx) - } - } else { - event.accepted = false; - } - } - - Keys.forwardTo: d.openedMenuIndex !== -1 ? [root.menus[d.openedMenuIndex].__contentItem] : [] - - Row { - id: row - x: d.style ? d.style.padding.left : 0 - y: d.style ? d.style.padding.top : 0 - width: parent.width - (d.style ? d.style.padding.left + d.style.padding.right : 0) - LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft - - Repeater { - id: itemsRepeater - model: root.menus - Loader { - id: menuItemLoader - - Accessible.role: Accessible.MenuItem - Accessible.name: StyleHelpers.removeMnemonics(opts.text) - Accessible.onPressAction: d.openMenuAtIndex(opts.index) - - property var styleData: QtObject { - id: opts - readonly property int index: __menuItemIndex - readonly property string text: !!__menuItem && __menuItem.title - readonly property bool enabled: !!__menuItem && __menuItem.enabled - readonly property bool selected: menuMouseArea.hoveredItem === menuItemLoader - readonly property bool open: !!__menuItem && __menuItem.__popupVisible || d.openedMenuIndex === index - readonly property bool underlineMnemonic: d.altPressed - } - - height: Math.max(menuBarLoader.height - d.heightPadding, - menuItemLoader.item ? menuItemLoader.item.implicitHeight : 0) - - readonly property var __menuItem: modelData - readonly property int __menuItemIndex: index - sourceComponent: d.style ? d.style.itemDelegate : null - visible: __menuItem.visible - - Connections { - target: __menuItem - function onAboutToHide() { - if (d.openedMenuIndex === index) { - d.openMenuAtIndex(-1) - menuMouseArea.hoveredItem = null - } - } - } - - Connections { - target: __menuItem.__action - function onTriggered() { d.openMenuAtIndex(__menuItemIndex) } - } - - Component.onCompleted: { - __menuItem.__visualItem = menuItemLoader - - var title = __menuItem.title - var ampersandPos = title.indexOf("&") - if (ampersandPos !== -1) - d.mnemonicsMap[title[ampersandPos + 1].toUpperCase()] = __menuItem.__action - } - } - } - } - - MouseArea { - id: menuMouseArea - anchors.fill: parent - hoverEnabled: Settings.hoverEnabled - - onPositionChanged: updateCurrentItem(mouse) - onPressed: updateCurrentItem(mouse) - onExited: hoveredItem = null - - property Item currentItem: null - property Item hoveredItem: null - function updateCurrentItem(mouse) { - var pos = mapToItem(row, mouse.x, mouse.y) - if (pressed || !hoveredItem - || !hoveredItem.contains(Qt.point(pos.x - currentItem.x, pos.y - currentItem.y))) { - hoveredItem = row.childAt(pos.x, pos.y) - if (!hoveredItem) - return false; - currentItem = hoveredItem - if (pressed || d.openedMenuIndex !== -1) { - d.preselectMenuItem = false - d.openMenuAtIndex(currentItem.__menuItemIndex) - } - } - return true; - } - } - } -} diff --git a/bin/QtQuick/Controls/Private/AbstractCheckable.qml b/bin/QtQuick/Controls/Private/AbstractCheckable.qml deleted file mode 100644 index e96f0500b..000000000 --- a/bin/QtQuick/Controls/Private/AbstractCheckable.qml +++ /dev/null @@ -1,178 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Window 2.2 - -/*! - \qmltype AbstractCheckable - \inqmlmodule QtQuick.Controls - \brief An abstract representation of a checkable control with a label - \qmlabstract - \internal - - A checkable control is one that has two states: checked (on) and - unchecked (off). AbstractCheckable encapsulates the basic behavior and - states that are required by checkable controls. - - Examples of checkable controls are RadioButton and - CheckBox. CheckBox extends AbstractCheckable's behavior by adding a third - state: partially checked. -*/ - -Control { - id: abstractCheckable - - /*! - Emitted whenever the control is clicked. - */ - signal clicked - - /*! - \qmlproperty bool AbstractCheckable::pressed - - This property is \c true if the control is being pressed. - Set this property to manually invoke a mouse click. - */ - property alias pressed: mouseArea.effectivePressed - - /*! \qmlproperty bool AbstractCheckcable::hovered - - This property indicates whether the control is being hovered. - */ - readonly property alias hovered: mouseArea.containsMouse - - /*! - This property is \c true if the control is checked. - */ - property bool checked: false - Accessible.checked: checked - Accessible.checkable: true - - /*! - This property is \c true if the control takes the focus when it is - pressed; \l{QQuickItem::forceActiveFocus()}{forceActiveFocus()} will be - called on the control. - */ - property bool activeFocusOnPress: false - - /*! - This property stores the ExclusiveGroup that the control belongs to. - */ - property ExclusiveGroup exclusiveGroup: null - - /*! - This property holds the text that the label should display. - */ - property string text - - /*! - This property holds the button tooltip. - - \since QtQuick.Controls 1.7 - */ - property string tooltip - Accessible.description: tooltip - - /*! \internal */ - property var __cycleStatesHandler: cycleRadioButtonStates - - activeFocusOnTab: true - - MouseArea { - id: mouseArea - focus: true - anchors.fill: parent - hoverEnabled: Settings.hoverEnabled - enabled: !keyPressed - - property bool keyPressed: false - property bool effectivePressed: pressed && containsMouse || keyPressed - - onClicked: abstractCheckable.clicked(); - - onPressed: if (activeFocusOnPress) forceActiveFocus(); - - onExited: Tooltip.hideText() - onCanceled: Tooltip.hideText() - - onReleased: { - if (containsMouse && (!exclusiveGroup || !checked)) - __cycleStatesHandler(); - } - - Timer { - interval: 1000 - running: mouseArea.containsMouse && !pressed && tooltip.length && mouseArea.Window.visibility !== Window.Hidden - onTriggered: Tooltip.showText(mouseArea, Qt.point(mouseArea.mouseX, mouseArea.mouseY), tooltip) - } - } - - /*! \internal */ - onExclusiveGroupChanged: { - if (exclusiveGroup) - exclusiveGroup.bindCheckable(abstractCheckable) - } - - Keys.onPressed: { - if (event.key === Qt.Key_Space && !event.isAutoRepeat && !mouseArea.pressed) - mouseArea.keyPressed = true; - } - - Keys.onReleased: { - if (event.key === Qt.Key_Space && !event.isAutoRepeat && mouseArea.keyPressed) { - mouseArea.keyPressed = false; - if (!exclusiveGroup || !checked) - __cycleStatesHandler(); - clicked(); - } - } - - Action { - // handle mnemonic - text: abstractCheckable.text - onTriggered: { - if (!abstractCheckable.exclusiveGroup || !abstractCheckable.checked) - abstractCheckable.__cycleStatesHandler(); - abstractCheckable.clicked(); - } - } -} diff --git a/bin/QtQuick/Controls/Private/BasicButton.qml b/bin/QtQuick/Controls/Private/BasicButton.qml deleted file mode 100644 index d5c5d28fa..000000000 --- a/bin/QtQuick/Controls/Private/BasicButton.qml +++ /dev/null @@ -1,241 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Controls.Styles 1.1 -import QtQuick.Window 2.2 - -/*! - \qmltype BasicButton - \internal - \qmlabstract - \inqmlmodule QtQuick.Controls.Private -*/ - -Control { - id: button - - /*! This signal is emitted when the button is clicked. */ - signal clicked - - /*! \qmlproperty bool BasicButton::pressed - - This property holds whether the button is being pressed. */ - readonly property alias pressed: button.__effectivePressed - - /*! \qmlproperty bool BasicButton::hovered - - This property indicates whether the control is being hovered. - */ - readonly property alias hovered: behavior.containsMouse - - /*! This property holds whether the button is checkable. - - The default value is \c false. */ - property bool checkable: false - Accessible.checkable: checkable - - /*! This property holds whether the button is checked. - - Only checkable buttons can be checked. - - The default value is \c false. */ - property bool checked: false - Accessible.checked: checked - - /*! This property holds the ExclusiveGroup that the button belongs to. - - The default value is \c null. */ - property ExclusiveGroup exclusiveGroup: null - - /*! This property holds the associated button action. - - If a button has an action associated, the action defines the - button's properties like checked, text, tooltip etc. - - When an action is set, it's still possible to override the \l text, - \l tooltip, \l iconSource, and \l iconName properties. - - The default value is \c null. */ - property Action action: null - - /*! This property specifies whether the button should gain active focus when pressed. - - The default value is \c false. */ - property bool activeFocusOnPress: false - - /*! This property holds the text shown on the button. If the button has no - text, the \l text property will be an empty string. - - The default value is the empty string. - */ - property string text: action ? action.text : "" - - /*! This property holds the button tooltip. */ - property string tooltip: action ? (action.tooltip || StyleHelpers.removeMnemonics(action.text)) : "" - - /*! This property holds the icon shown on the button. If the button has no - icon, the iconSource property will be an empty string. - - The default value is the empty string. - */ - property url iconSource: action ? action.iconSource : "" - - /*! The image label source as theme name. - When an icon from the platform icon theme is found, this takes - precedence over iconSource. - - \include icons.qdocinc iconName - */ - property string iconName: action ? action.iconName : "" - - /*! \internal */ - property string __position: "only" - /*! \internal */ - readonly property bool __iconOverriden: button.action && (button.action.iconSource !== button.iconSource || button.action.iconName !== button.iconName) - /*! \internal */ - property Action __action: action || ownAction - /*! \internal */ - readonly property Action __iconAction: __iconOverriden ? ownAction : __action - - /*! \internal */ - onExclusiveGroupChanged: { - if (exclusiveGroup) - exclusiveGroup.bindCheckable(button) - } - - Accessible.role: Accessible.Button - Accessible.description: tooltip - - /*! \internal */ - function accessiblePressAction() { - __action.trigger(button) - } - - Action { - id: ownAction - enabled: button.enabled - iconSource: !button.action || __iconOverriden ? button.iconSource : "" - iconName: !button.action || __iconOverriden ? button.iconName : "" - - // let ownAction handle mnemonic if and only if the button does - // not already have an action assigned to avoid ambiguous shortcuts - text: button.action ? "" : button.text - } - - Connections { - target: __action - function onTriggered() { button.clicked() } - } - - activeFocusOnTab: true - - Keys.onPressed: { - if (event.key === Qt.Key_Space && !event.isAutoRepeat && !behavior.pressed) { - behavior.keyPressed = true; - event.accepted = true; - } - } - - onFocusChanged: if (!focus) behavior.keyPressed = false - - Keys.onReleased: { - if (event.key === Qt.Key_Space && !event.isAutoRepeat && behavior.keyPressed) { - behavior.keyPressed = false; - __action.trigger(button) - behavior.toggle() - event.accepted = true; - } - } - - MouseArea { - id: behavior - property bool keyPressed: false - property bool effectivePressed: pressed && containsMouse || keyPressed - - anchors.fill: parent - hoverEnabled: Settings.hoverEnabled - enabled: !keyPressed - - function toggle() { - if (button.checkable && !button.action && !(button.checked && button.exclusiveGroup)) - button.checked = !button.checked - } - - onReleased: { - if (containsMouse) { - toggle() - __action.trigger(button) - } - } - onExited: Tooltip.hideText() - onCanceled: Tooltip.hideText() - onPressed: { - if (activeFocusOnPress) - button.forceActiveFocus() - } - - Timer { - interval: 1000 - running: behavior.containsMouse && !pressed && tooltip.length && behavior.Window.visibility !== Window.Hidden - onTriggered: Tooltip.showText(behavior, Qt.point(behavior.mouseX, behavior.mouseY), tooltip) - } - } - - /*! \internal */ - property var __behavior: behavior - - /*! \internal */ - property bool __effectivePressed: behavior.effectivePressed - - states: [ - State { - name: "boundAction" - when: action !== null - PropertyChanges { - target: button - enabled: action.enabled - checkable: action.checkable - checked: action.checked - } - } - ] -} diff --git a/bin/QtQuick/Controls/Private/BasicTableView.qml b/bin/QtQuick/Controls/Private/BasicTableView.qml deleted file mode 100644 index 4f0f9a0e6..000000000 --- a/bin/QtQuick/Controls/Private/BasicTableView.qml +++ /dev/null @@ -1,792 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -// -// W A R N I N G -// ------------- -// -// This file is not part of the Qt API. It exists purely as an -// implementation detail. This file may change from version to -// version without notice, or even be removed. -// -// We mean it. -// - -import QtQml 2.14 as Qml -import QtQuick 2.6 -import QtQuick.Controls 1.5 -import QtQuick.Controls.Private 1.0 -import QtQuick.Controls.Styles 1.2 -import QtQuick.Window 2.2 - -/*! - \qmltype BasicTableView - \qmlabstract - \inqmlmodule QtQuick.Controls.Private -*/ - -ScrollView { - id: root - - /*! \qmlproperty bool BasicTableView::alternatingRowColors - - This property is set to \c true if the view alternates the row color. - The default value is \c true. - */ - property bool alternatingRowColors: true - - /*! \qmlproperty bool BasicTableView::headerVisible - - This property determines if the header is visible. - The default value is \c true. - */ - property bool headerVisible: true - - /*! \qmlproperty bool BasicTableView::backgroundVisible - - This property determines if the background should be filled or not. - - The default value is \c true. - - \note The rowDelegate is not affected by this property - */ - property alias backgroundVisible: colorRect.visible - - /*! \qmlproperty Component BasicTableView::itemDelegate - \internal - - Documentation differs between TableView and TreeView. - See qtquickcontrols-treeview.qdoc and qtquickcontrols-tableview.qdoc - */ - property Component itemDelegate: __style ? __style.itemDelegate : null - - /*! \qmlproperty Component BasicTableView::rowDelegate - - This property defines a delegate to draw a row. - - In the row delegate you have access to the following special properties: - \list - \li styleData.alternate - true when the row uses the alternate background color - \li styleData.selected - true when the row is currently selected - \li styleData.row - the index of the row - \li styleData.hasActiveFocus - true when the row has focus (since QtQuick.Controls 1.3) - \li styleData.pressed - true when the row is pressed (since QtQuick.Controls 1.3) - \endlist - - \note For performance reasons, created delegates can be recycled - across multiple table rows. This implies that when you make use of implicit - properties such as \c styleData.row or \c model, these values can change - after the delegate has been constructed. This means that you should not assume - that content is fixed when \c Component.onCompleted is called, but instead rely on - bindings to such properties. - */ - property Component rowDelegate: __style ? __style.rowDelegate : null - - /*! \qmlproperty Component BasicTableView::headerDelegate - - This property defines a delegate to draw a header. - - In the header delegate you have access to the following special properties: - \list - \li styleData.value - the value or text for this item - \li styleData.column - the index of the column - \li styleData.pressed - true when the column is being pressed - \li styleData.containsMouse - true when the column is under the mouse - \li styleData.textAlignment - the horizontal text alignment of the column (since QtQuickControls 1.1) - \endlist - */ - property Component headerDelegate: __style ? __style.headerDelegate : null - - /*! \qmlproperty int BasicTableView::sortIndicatorColumn - - Index of the current sort column. - The default value is \c {0}. - */ - property int sortIndicatorColumn - - /*! \qmlproperty bool BasicTableView::sortIndicatorVisible - - This property shows or hides the sort indicator - The default value is \c false. - \note The view itself does not sort the data. - */ - property bool sortIndicatorVisible: false - - /*! \qmlproperty enumeration BasicTableView::sortIndicatorOrder - - This sets the sorting order of the sort indicator - The allowed values are: - \list - \li Qt.AscendingOrder - the default - \li Qt.DescendingOrder - \endlist - */ - property int sortIndicatorOrder: Qt.AscendingOrder - - /*! \qmlproperty Component BasicTableView::contentHeader - This is the content header of the view. - */ - property alias contentHeader: listView.header - - /*! \qmlproperty Component BasicTableView::contentFooter - This is the content footer of the view. - */ - property alias contentFooter: listView.footer - - /*! \qmlproperty int BasicTableView::columnCount - The current number of columns - */ - readonly property alias columnCount: columnModel.count - - /*! \qmlpropertygroup BasicTableView::section - \internal - \qmlproperty string BasicTableView::section.property - \qmlproperty enumeration BasicTableView::section.criteria - \qmlproperty Component BasicTableView::section.delegate - \qmlproperty enumeration BasicTableView::section.labelPositioning - - Moved to the qdoc files to keep the grouped property layout. - See qtquickcontrols-treeview.qdoc and qtquickcontrols-tableview.qdoc - */ - property alias section: listView.section - - /*! - \qmlproperty enumeration BasicTableView::selectionMode - \since QtQuick.Controls 1.1 - - This enum indicates how the view responds to user selections: - - The possible modes are: - - \list - - \li SelectionMode.NoSelection - Items cannot be selected. - - \li SelectionMode.SingleSelection - When the user selects an item, - any already-selected item becomes unselected, and the user cannot - unselect the selected item. (Default) - - \li SelectionMode.MultiSelection - When the user selects an item in the usual way, - the selection status of that item is toggled and the other items are left alone. - - \li SelectionMode.ExtendedSelection - When the user selects an item in the usual way, - the selection is cleared and the new item selected. However, if the user presses the - Ctrl key when clicking on an item, the clicked item gets toggled and all other items - are left untouched. If the user presses the Shift key while clicking - on an item, all items between the current item and the clicked item are selected or unselected, - depending on the state of the clicked item. Multiple items can be selected by dragging the - mouse over them. - - \li SelectionMode.ContiguousSelection - When the user selects an item in the usual way, - the selection is cleared and the new item selected. However, if the user presses the Shift key while - clicking on an item, all items between the current item and the clicked item are selected. - - \endlist - */ - property int selectionMode: SelectionMode.SingleSelection - - /*! - \qmlmethod TableViewColumn BasicTableView::addColumn(object column) - - Adds a \a column and returns the added column. - - The \a column argument can be an instance of TableViewColumn, - or a Component. The component has to contain a TableViewColumn. - Otherwise \c null is returned. - */ - function addColumn(column) { - return insertColumn(columnCount, column) - } - - /*! - \qmlmethod TableViewColumn BasicTableView::insertColumn(int index, object column) - - Inserts a \a column at the given \a index and returns the inserted column. - - The \a column argument can be an instance of TableViewColumn, - or a Component. The component has to contain a TableViewColumn. - Otherwise \c null is returned. - */ - function insertColumn(index, column) { - if (__isTreeView && index === 0 && columnCount > 0) { - console.warn(__viewTypeName + "::insertColumn(): Can't replace column 0") - return null - } - var object = column - if (typeof column['createObject'] === 'function') { - object = column.createObject(root) - } else if (object.__view) { - console.warn(__viewTypeName + "::insertColumn(): you cannot add a column to multiple views") - return null - } - if (index >= 0 && index <= columnCount && object.accessibleRole === Accessible.ColumnHeader) { - object.__view = root - columnModel.insert(index, {columnItem: object}) - if (root.__columns[index] !== object) { - // The new column needs to be put into __columns at the specified index - // so the list needs to be recreated to be correct - var arr = [] - for (var i = 0; i < index; ++i) - arr.push(root.__columns[i]) - arr.push(object) - for (i = index; i < root.__columns.length; ++i) - arr.push(root.__columns[i]) - root.__columns = arr - } - return object - } - - if (object !== column) - object.destroy() - console.warn(__viewTypeName + "::insertColumn(): invalid argument") - return null - } - - /*! - \qmlmethod void BasicTableView::removeColumn(int index) - - Removes and destroys a column at the given \a index. - */ - function removeColumn(index) { - if (index < 0 || index >= columnCount) { - console.warn(__viewTypeName + "::removeColumn(): invalid argument") - return - } - if (__isTreeView && index === 0) { - console.warn(__viewTypeName + "::removeColumn(): Can't remove column 0") - return - } - var column = columnModel.get(index).columnItem - columnModel.remove(index, 1) - column.destroy() - } - - /*! - \qmlmethod void BasicTableView::moveColumn(int from, int to) - - Moves a column \a from index \a to another. - */ - function moveColumn(from, to) { - if (from < 0 || from >= columnCount || to < 0 || to >= columnCount) { - console.warn(__viewTypeName + "::moveColumn(): invalid argument") - return - } - if (__isTreeView && to === 0) { - console.warn(__viewTypeName + "::moveColumn(): Can't move column 0") - return - } - if (sortIndicatorColumn === from) - sortIndicatorColumn = to - columnModel.move(from, to, 1) - } - - /*! - \qmlmethod TableViewColumn BasicTableView::getColumn(int index) - - Returns the column at the given \a index - or \c null if the \a index is invalid. - */ - function getColumn(index) { - if (index < 0 || index >= columnCount) - return null - return columnModel.get(index).columnItem - } - - /*! - \qmlmethod void BasicTableView::resizeColumnsToContents() - - Resizes all columns to ensure that the column contents and the headers will fit. - \since QtQuick.Controls 1.2 - */ - function resizeColumnsToContents () { - for (var i = 0; i < __columns.length; ++i) { - var col = getColumn(i) - var header = __listView.headerItem.headerRepeater.itemAt(i) - if (col) { - col.resizeToContents() - if (col.width < header.implicitWidth) - col.width = header.implicitWidth - } - } - } - - // Internal stuff. Do not look - - Component.onCompleted: { - for (var i = 0; i < __columns.length; ++i) { - var column = __columns[i] - if (column.accessibleRole === Accessible.ColumnHeader) - addColumn(column) - } - } - - activeFocusOnTab: true - - implicitWidth: 200 - implicitHeight: 150 - - frameVisible: true - __scrollBarTopMargin: headerVisible && (listView.transientScrollBars || Qt.platform.os === "osx") - ? listView.headerItem.height : 0 - - /*! \internal - Use this to display user-friendly messages in TableView and TreeView common functions. - */ - property string __viewTypeName - - /*! \internal */ - readonly property bool __isTreeView: __viewTypeName === "TreeView" - - /*! \internal */ - default property alias __columns: root.data - - /*! \internal */ - property alias __currentRowItem: listView.currentItem - - /*! \internal - This property is forwarded to TableView::currentRow, but not to any TreeView property. - */ - property alias __currentRow: listView.currentIndex - - /*! \internal */ - readonly property alias __listView: listView - - /*! \internal */ - property Component __itemDelegateLoader: null - - /*! \internal - Allows to override the model property in cases like TreeView, - where we want to use a proxy/adaptor model between the user's model - and whatever a ListView can swallow. - */ - property var __model - - /*! \internal */ - property bool __activateItemOnSingleClick: __style ? __style.activateItemOnSingleClick : false - - /*! \internal */ - property Item __mouseArea - - ListView { - id: listView - focus: true - activeFocusOnTab: false - Keys.forwardTo: [__mouseArea] - anchors.fill: parent - contentWidth: headerItem.headerRow.width + listView.vScrollbarPadding - // ### FIXME Late configuration of the header item requires - // this binding to get the header visible after creation - contentY: -headerItem.height - - currentIndex: -1 - visible: columnCount > 0 - interactive: Settings.hasTouchScreen - property var rowItemStack: [] // Used as a cache for rowDelegates - - readonly property bool transientScrollBars: __style && !!__style.transientScrollBars - readonly property real vScrollbarPadding: __scroller.verticalScrollBar.visible - && !transientScrollBars && Qt.platform.os === "osx" ? - __verticalScrollBar.width + __scroller.scrollBarSpacing + root.__style.padding.right : 0 - - Qml.Binding { - // On Mac, we reserve the vSB space in the contentItem because the vSB should - // appear under the header. Unfortunately, the ListView header won't expand - // beyond the ListView's boundaries, that's why we need to ressort to this. - target: root.__scroller - when: Qt.platform.os === "osx" - property: "verticalScrollbarOffset" - value: 0 - restoreMode: Binding.RestoreBinding - } - - function incrementCurrentIndexBlocking() { - var oldIndex = __listView.currentIndex - __scroller.blockUpdates = true; - incrementCurrentIndex(); - __scroller.blockUpdates = false; - return oldIndex !== __listView.currentIndex - } - - function decrementCurrentIndexBlocking() { - var oldIndex = __listView.currentIndex - __scroller.blockUpdates = true; - decrementCurrentIndex(); - __scroller.blockUpdates = false; - return oldIndex !== __listView.currentIndex - } - - function scrollIfNeeded(key) { - var diff = key === Qt.Key_PageDown ? height : - key === Qt.Key_PageUp ? -height : 0 - if (diff !== 0) - __verticalScrollBar.value += diff - } - - SystemPalette { - id: palette - colorGroup: enabled ? SystemPalette.Active : SystemPalette.Disabled - } - - Rectangle { - id: colorRect - parent: viewport - anchors.fill: parent - color: __style ? __style.backgroundColor : palette.base - z: -2 - } - - // Fills extra rows with alternate color - Column { - id: rowfiller - Loader { - id: rowSizeItem - sourceComponent: root.rowDelegate - visible: false - property QtObject styleData: QtObject { - property bool alternate: false - property bool selected: false - property bool hasActiveFocus: false - property bool pressed: false - } - } - property int rowHeight: Math.floor(rowSizeItem.implicitHeight) - property int paddedRowCount: rowHeight != 0 ? height/rowHeight : 0 - - y: listView.contentHeight - listView.contentY + listView.originY - width: parent.width - visible: alternatingRowColors - height: listView.model && listView.model.count ? Math.max(viewport.height - listView.contentHeight, 0) : 0 - Repeater { - model: visible ? parent.paddedRowCount : 0 - Loader { - width: rowfiller.width - height: rowfiller.rowHeight - sourceComponent: root.rowDelegate - property QtObject styleData: QtObject { - readonly property bool alternate: (index + __listView.count) % 2 === 1 - readonly property bool selected: false - readonly property bool hasActiveFocus: false - readonly property bool pressed: false - } - readonly property var model: null - readonly property var modelData: null - } - } - } - - ListModel { - id: columnModel - } - - highlightFollowsCurrentItem: true - model: root.__model - - delegate: FocusScope { - id: rowItemContainer - - activeFocusOnTab: false - z: rowItem.activeFocus ? 0.7 : rowItem.itemSelected ? 0.5 : 0 - - property Item rowItem - // We recycle instantiated row items to speed up list scrolling - - Component.onDestruction: { - // move the rowItem back in cache - if (rowItem) { - rowItem.visible = false; - rowItem.parent = null; - rowItem.rowIndex = -1; - listView.rowItemStack.push(rowItem); // return rowItem to cache - } - } - - Component.onCompleted: { - // retrieve row item from cache - if (listView.rowItemStack.length > 0) - rowItem = listView.rowItemStack.pop(); - else - rowItem = rowComponent.createObject(listView); - - // Bind container to item size - rowItemContainer.width = Qt.binding( function() { return rowItem.width }); - rowItemContainer.height = Qt.binding( function() { return rowItem.height }); - - // Reassign row-specific bindings - rowItem.rowIndex = Qt.binding( function() { return model.index }); - rowItem.itemModelData = Qt.binding( function() { return typeof modelData === "undefined" ? null : modelData }); - rowItem.itemModel = Qt.binding( function() { return model }); - rowItem.parent = rowItemContainer; - rowItem.visible = true; - } - } - - Component { - id: rowComponent - - FocusScope { - id: rowitem - visible: false - - property int rowIndex - property var itemModelData - property var itemModel - property bool itemSelected: __mouseArea.selected(rowIndex) - property bool alternate: alternatingRowColors && rowIndex % 2 === 1 - readonly property color itemTextColor: itemSelected ? __style.highlightedTextColor : __style.textColor - property Item branchDecoration: null - - width: itemrow.width - height: rowstyle.height - - onActiveFocusChanged: { - if (activeFocus) - listView.currentIndex = rowIndex - } - - Loader { - id: rowstyle - // row delegate - sourceComponent: rowitem.itemModel !== undefined ? root.rowDelegate : null - // Row fills the view width regardless of item size - // But scrollbar should not adjust to it - height: item ? item.height : 16 - width: parent.width + __horizontalScrollBar.width - x: listView.contentX - - // these properties are exposed to the row delegate - // Note: these properties should be mirrored in the row filler as well - property QtObject styleData: QtObject { - readonly property int row: rowitem.rowIndex - readonly property bool alternate: rowitem.alternate - readonly property bool selected: rowitem.itemSelected - readonly property bool hasActiveFocus: rowitem.activeFocus - readonly property bool pressed: rowitem.rowIndex === __mouseArea.pressedRow - } - readonly property var model: rowitem.itemModel - readonly property var modelData: rowitem.itemModelData - } - Row { - id: itemrow - height: parent.height - Repeater { - model: columnModel - - delegate: __itemDelegateLoader - - onItemAdded: { - var columnItem = columnModel.get(index).columnItem - item.__rowItem = rowitem - item.__column = columnItem - } - } - } - } - } - - headerPositioning: ListView.OverlayHeader - header: Item { - id: tableHeader - visible: headerVisible - width: Math.max(headerRow.width + listView.vScrollbarPadding, root.viewport.width) - height: visible ? headerRow.height : 0 - - property alias headerRow: row - property alias headerRepeater: repeater - Row { - id: row - - Repeater { - id: repeater - - property int targetIndex: -1 - property int dragIndex: -1 - - model: columnModel - - delegate: Item { - id: headerRowDelegate - readonly property int column: index - z:-index - width: modelData.width - implicitWidth: columnCount === 1 ? viewport.width + __verticalScrollBar.width : headerStyle.implicitWidth - visible: modelData.visible - height: headerStyle.height - - readonly property bool treeViewMovable: !__isTreeView || index > 0 - - Loader { - id: headerStyle - sourceComponent: root.headerDelegate - width: parent.width - property QtObject styleData: QtObject { - readonly property string value: modelData.title - readonly property bool pressed: headerClickArea.pressed - readonly property bool containsMouse: headerClickArea.containsMouse - readonly property int column: index - readonly property int textAlignment: modelData.horizontalAlignment - readonly property bool resizable: modelData.resizable - } - } - - Rectangle{ - id: targetmark - width: parent.width - height:parent.height - opacity: (treeViewMovable && index === repeater.targetIndex && repeater.targetIndex !== repeater.dragIndex) ? 0.5 : 0 - Behavior on opacity { NumberAnimation { duration: 160 } } - color: palette.highlight - visible: modelData.movable - } - - MouseArea{ - id: headerClickArea - drag.axis: Qt.YAxis - hoverEnabled: Settings.hoverEnabled - anchors.fill: parent - onClicked: { - if (sortIndicatorColumn === index) - sortIndicatorOrder = sortIndicatorOrder === Qt.AscendingOrder ? Qt.DescendingOrder : Qt.AscendingOrder - sortIndicatorColumn = index - } - // Here we handle moving header sections - // NOTE: the direction is different from the master branch - // so this indicates that I am using an invalid assumption on item ordering - onPositionChanged: { - if (drag.active && modelData.movable && pressed && columnCount > 1) { // only do this while dragging - for (var h = columnCount-1 ; h >= 0 ; --h) { - if (headerRow.children[h].visible && drag.target.x + headerRowDelegate.width/2 > headerRow.children[h].x) { - repeater.targetIndex = h - break - } - } - } - } - - onPressed: { - repeater.dragIndex = index - } - - onReleased: { - if (repeater.targetIndex >= 0 && repeater.targetIndex !== index ) { - var targetColumn = columnModel.get(repeater.targetIndex).columnItem - if (targetColumn.movable && (!__isTreeView || repeater.targetIndex > 0)) { - if (sortIndicatorColumn === index) - sortIndicatorColumn = repeater.targetIndex - columnModel.move(index, repeater.targetIndex, 1) - } - } - repeater.targetIndex = -1 - repeater.dragIndex = -1 - } - drag.target: treeViewMovable && modelData.movable && columnCount > 1 ? draghandle : null - } - - Loader { - id: draghandle - property QtObject styleData: QtObject{ - readonly property string value: modelData.title - readonly property bool pressed: headerClickArea.pressed - readonly property bool containsMouse: headerClickArea.containsMouse - readonly property int column: index - readonly property int textAlignment: modelData.horizontalAlignment - } - parent: tableHeader - x: __implicitX - property double __implicitX: headerRowDelegate.x - width: modelData.width - height: parent.height - sourceComponent: root.headerDelegate - visible: headerClickArea.pressed - onVisibleChanged: { - if (!visible) - x = Qt.binding(function () { return __implicitX }) - } - opacity: 0.5 - } - - - MouseArea { - id: headerResizeHandle - property int offset: 0 - readonly property int minimumSize: 20 - preventStealing: true - anchors.rightMargin: -width/2 - width: Settings.hasTouchScreen ? Screen.pixelDensity * 3.5 : 16 - height: parent.height - anchors.right: parent.right - enabled: modelData.resizable && columnCount > 0 - onPositionChanged: { - var newHeaderWidth = modelData.width + (mouseX - offset) - modelData.width = Math.max(minimumSize, newHeaderWidth) - } - - onDoubleClicked: getColumn(index).resizeToContents() - onPressedChanged: if (pressed) offset=mouseX - cursorShape: enabled && repeater.dragIndex==-1 ? Qt.SplitHCursor : Qt.ArrowCursor - } - } - } - } - - Loader { - property QtObject styleData: QtObject{ - readonly property string value: "" - readonly property bool pressed: false - readonly property bool containsMouse: false - readonly property int column: -1 - readonly property int textAlignment: Text.AlignLeft - } - - anchors.top: parent.top - anchors.right: parent.right - anchors.bottom: headerRow.bottom - sourceComponent: root.headerDelegate - readonly property real __remainingWidth: parent.width - headerRow.width - visible: __remainingWidth > 0 - width: __remainingWidth - z:-1 - } - } - - function columnAt(offset) { - var item = listView.headerItem.headerRow.childAt(offset, 0) - return item ? item.column : -1 - } - } -} diff --git a/bin/QtQuick/Controls/Private/CalendarHeaderModel.qml b/bin/QtQuick/Controls/Private/CalendarHeaderModel.qml deleted file mode 100644 index 40328a8b1..000000000 --- a/bin/QtQuick/Controls/Private/CalendarHeaderModel.qml +++ /dev/null @@ -1,109 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -/* - CalendarHeaderModel contains a list of the days of a week, - according to a \l locale. The \l locale affects which day of the week - is first in the model. - - The only role provided by the model is \c dayOfWeek, which is one of the - following JavaScript values: - - \list - \li \c Locale.Sunday - \li \c Locale.Monday - \li \c Locale.Tuesday - \li \c Locale.Wednesday - \li \c Locale.Thursday - \li \c Locale.Friday - \li \c Locale.Saturday - \endlist - */ - -ListModel { - id: root - - /* - The locale that this model should be based on. - This affects which day of the week is first in the model. - */ - property var locale - - ListElement { - dayOfWeek: Locale.Sunday - } - ListElement { - dayOfWeek: Locale.Monday - } - ListElement { - dayOfWeek: Locale.Tuesday - } - ListElement { - dayOfWeek: Locale.Wednesday - } - ListElement { - dayOfWeek: Locale.Thursday - } - ListElement { - dayOfWeek: Locale.Friday - } - ListElement { - dayOfWeek: Locale.Saturday - } - - Component.onCompleted: updateFirstDayOfWeek() - onLocaleChanged: updateFirstDayOfWeek() - - function updateFirstDayOfWeek() { - var daysOfWeek = [Locale.Sunday, Locale.Monday, Locale.Tuesday, - Locale.Wednesday, Locale.Thursday, Locale.Friday, Locale.Saturday]; - var firstDayOfWeek = root.locale.firstDayOfWeek; - - var shifted = daysOfWeek.splice(firstDayOfWeek, daysOfWeek.length - firstDayOfWeek); - daysOfWeek = shifted.concat(daysOfWeek) - - if (firstDayOfWeek !== root.get(0).dayOfWeek) { - for (var i = 0; i < daysOfWeek.length; ++i) { - root.setProperty(i, "dayOfWeek", daysOfWeek[i]); - } - } - } -} diff --git a/bin/QtQuick/Controls/Private/CalendarUtils.js b/bin/QtQuick/Controls/Private/CalendarUtils.js deleted file mode 100644 index 9a93d8dae..000000000 --- a/bin/QtQuick/Controls/Private/CalendarUtils.js +++ /dev/null @@ -1,137 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -.pragma library - -var daysInAWeek = 7; -var monthsInAYear = 12; - -// Not the number of weeks per month, but the number of weeks that are -// shown on a typical calendar. -var weeksOnACalendarMonth = 6; - -// Can't create year 1 directly... -var minimumCalendarDate = new Date(-1, 0, 1); -minimumCalendarDate.setFullYear(minimumCalendarDate.getFullYear() + 2); -var maximumCalendarDate = new Date(275759, 9, 25); - -function daysInMonth(date) { - // Passing 0 as the day will give us the previous month, which will be - // date.getMonth() since we added 1 to it. - return new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate(); -} - -/*! - Returns a copy of \a date with its month set to \a month, keeping the same - day if possible. Does not modify \a date. -*/ -function setMonth(date, month) { - var oldDay = date.getDate(); - var newDate = new Date(date); - // Set the day first, because setting the month could cause it to skip ahead - // a month if the day is larger than the latest day in that month. - newDate.setDate(1); - newDate.setMonth(month); - // We'd like to have the previous day still selected when we change - // months, but it might not be possible, so use the smallest of the two. - newDate.setDate(Math.min(oldDay, daysInMonth(newDate))); - return newDate; -} - -/*! - Returns the cell rectangle for the cell at the given \a index, assuming - that the grid has a number of columns equal to \a columns and rows - equal to \a rows, with an available width of \a availableWidth and height - of \a availableHeight. - - If \a gridLineWidth is greater than \c 0, the cell rectangle will be - calculated under the assumption that there is a grid between the cells: - - 31 | 1 | 2 | 3 | 4 | 5 | 6 - -------------------------------- - 7 | 8 | 9 | 10 | 11 | 12 | 13 - -------------------------------- - 14 | 15 | 16 | 17 | 18 | 19 | 20 - -------------------------------- - 21 | 22 | 23 | 24 | 25 | 26 | 27 - -------------------------------- - 28 | 29 | 30 | 31 | 1 | 2 | 3 - -------------------------------- - 4 | 5 | 6 | 7 | 8 | 9 | 10 -*/ -function cellRectAt(index, columns, rows, availableWidth, availableHeight, gridLineWidth) { - var col = Math.floor(index % columns); - var row = Math.floor(index / columns); - - var availableWidthMinusGridLines = availableWidth - ((columns - 1) * gridLineWidth); - var availableHeightMinusGridLines = availableHeight - ((rows - 1) * gridLineWidth); - var remainingHorizontalSpace = Math.floor(availableWidthMinusGridLines % columns); - var remainingVerticalSpace = Math.floor(availableHeightMinusGridLines % rows); - var baseCellWidth = Math.floor(availableWidthMinusGridLines / columns); - var baseCellHeight = Math.floor(availableHeightMinusGridLines / rows); - - var rect = Qt.rect(0, 0, 0, 0); - - rect.x = baseCellWidth * col; - rect.width = baseCellWidth; - if (remainingHorizontalSpace > 0) { - if (col < remainingHorizontalSpace) { - ++rect.width; - } - - // This cell's x position should be increased by 1 for every column above it. - rect.x += Math.min(remainingHorizontalSpace, col); - } - - rect.y = baseCellHeight * row; - rect.height = baseCellHeight; - if (remainingVerticalSpace > 0) { - if (row < remainingVerticalSpace) { - ++rect.height; - } - - // This cell's y position should be increased by 1 for every row above it. - rect.y += Math.min(remainingVerticalSpace, row); - } - - rect.x += col * gridLineWidth; - rect.y += row * gridLineWidth; - - return rect; -} diff --git a/bin/QtQuick/Controls/Private/ColumnMenuContent.qml b/bin/QtQuick/Controls/Private/ColumnMenuContent.qml deleted file mode 100644 index 5f8b4d684..000000000 --- a/bin/QtQuick/Controls/Private/ColumnMenuContent.qml +++ /dev/null @@ -1,252 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Item { - id: content - - property Component menuItemDelegate - property Component scrollIndicatorStyle - property Component scrollerStyle - property var itemsModel - property int minWidth: 100 - property real maxHeight: 800 - readonly property bool mousePressed: hoverArea.pressed - - signal triggered(var item) - - function menuItemAt(index) { - list.currentIndex = index - return list.currentItem - } - - width: Math.max(list.contentWidth, minWidth) - height: Math.min(list.contentHeight, fittedMaxHeight) - - readonly property int currentIndex: __menu.__currentIndex - property Item currentItem: null - property int itemHeight: 23 - - Component.onCompleted: { - var children = list.contentItem.children - for (var i = 0; i < list.count; i++) { - var child = children[i] - if (child.visible && child.styleData.type === MenuItemType.Item) { - itemHeight = children[i].height - break - } - } - } - - readonly property int fittingItems: Math.floor((maxHeight - downScroller.height) / itemHeight) - readonly property real fittedMaxHeight: itemHeight * fittingItems + downScroller.height - readonly property bool shouldUseScrollers: scrollView.style === emptyScrollerStyle && itemsModel.length > fittingItems - readonly property real upScrollerHeight: upScroller.visible ? upScroller.height : 0 - readonly property real downScrollerHeight: downScroller.visible ? downScroller.height : 0 - property var oldMousePos: undefined - property var openedSubmenu: null - - function updateCurrentItem(mouse) { - var pos = mapToItem(list.contentItem, mouse.x, mouse.y) - var dx = 0 - var dy = 0 - var dist = 0 - if (openedSubmenu && oldMousePos !== undefined) { - dx = mouse.x - oldMousePos.x - dy = mouse.y - oldMousePos.y - dist = Math.sqrt(dx * dx + dy * dy) - } - oldMousePos = mouse - if (openedSubmenu && dist > 5) { - var menuRect = __menu.__popupGeometry - var submenuRect = openedSubmenu.__popupGeometry - var angle = Math.atan2(dy, dx) - var ds = 0 - if (submenuRect.x > menuRect.x) { - ds = menuRect.width - oldMousePos.x - } else { - angle = Math.PI - angle - ds = oldMousePos.x - } - var above = submenuRect.y - menuRect.y - oldMousePos.y - var below = submenuRect.height - above - var minAngle = Math.atan2(above, ds) - var maxAngle = Math.atan2(below, ds) - // This tests that the current mouse position is in - // the triangle defined by the previous mouse position - // and the submenu's top-left and bottom-left corners. - if (minAngle < angle && angle < maxAngle) { - sloppyTimer.start() - return - } - } - - if (!currentItem || !currentItem.contains(Qt.point(pos.x - currentItem.x, pos.y - currentItem.y))) { - if (currentItem && !hoverArea.pressed - && currentItem.styleData.type === MenuItemType.Menu) { - currentItem.__closeSubMenu() - openedSubmenu = null - } - currentItem = list.itemAt(pos.x, pos.y) - if (currentItem) { - __menu.__currentIndex = currentItem.__menuItemIndex - if (currentItem.styleData.type === MenuItemType.Menu) { - showCurrentItemSubMenu(false) - } - } else { - __menu.__currentIndex = -1 - } - } - } - - function showCurrentItemSubMenu(immediately) { - if (!currentItem.__menuItem.__popupVisible) { - currentItem.__showSubMenu(immediately) - openedSubmenu = currentItem.__menuItem - } - } - - Timer { - id: sloppyTimer - interval: 1000 - - // Stop timer as soon as we hover one of the submenu items - property int currentIndex: openedSubmenu ? openedSubmenu.__currentIndex : -1 - onCurrentIndexChanged: if (currentIndex !== -1) stop() - - onTriggered: { - if (openedSubmenu && openedSubmenu.__currentIndex === -1) - updateCurrentItem(oldMousePos) - } - } - - Component { - id: emptyScrollerStyle - Style { - padding { left: 0; right: 0; top: 0; bottom: 0 } - property bool scrollToClickedPosition: false - property Component frame: Item { visible: false } - property Component corner: Item { visible: false } - property Component __scrollbar: Item { visible: false } - } - } - - ScrollView { - id: scrollView - anchors { - fill: parent - topMargin: upScrollerHeight - bottomMargin: downScrollerHeight - } - - style: scrollerStyle || emptyScrollerStyle - __wheelAreaScrollSpeed: itemHeight - - ListView { - id: list - model: itemsModel - delegate: menuItemDelegate - snapMode: ListView.SnapToItem - boundsBehavior: Flickable.StopAtBounds - highlightFollowsCurrentItem: true - highlightMoveDuration: 0 - } - } - - MouseArea { - id: hoverArea - anchors.left: scrollView.left - width: scrollView.width - scrollView.__verticalScrollBar.width - height: parent.height - - hoverEnabled: Settings.hoverEnabled - acceptedButtons: Qt.AllButtons - - onPositionChanged: updateCurrentItem({ "x": mouse.x, "y": mouse.y }) - onPressed: updateCurrentItem({ "x": mouse.x, "y": mouse.y }) - onReleased: { - if (currentItem && currentItem.__menuItem.enabled) { - if (currentItem.styleData.type === MenuItemType.Menu) { - showCurrentItemSubMenu(true) - } else { - content.triggered(currentItem) - } - } - } - onExited: { - if (currentItem && !currentItem.__menuItem.__popupVisible) { - currentItem = null - __menu.__currentIndex = -1 - } - } - - MenuContentScroller { - id: upScroller - direction: Qt.UpArrow - visible: shouldUseScrollers && !list.atYBeginning - function scrollABit() { list.contentY -= itemHeight } - } - - MenuContentScroller { - id: downScroller - direction: Qt.DownArrow - visible: shouldUseScrollers && !list.atYEnd - function scrollABit() { list.contentY += itemHeight } - } - } - - Timer { - interval: 1 - running: true - repeat: false - onTriggered: list.positionViewAtIndex(currentIndex, !scrollView.__style - ? ListView.Center : ListView.Beginning) - } - - Qml.Binding { - target: scrollView.__verticalScrollBar - property: "singleStep" - value: itemHeight - restoreMode: Binding.RestoreBinding - } -} diff --git a/bin/QtQuick/Controls/Private/ContentItem.qml b/bin/QtQuick/Controls/Private/ContentItem.qml deleted file mode 100644 index 2c5b37285..000000000 --- a/bin/QtQuick/Controls/Private/ContentItem.qml +++ /dev/null @@ -1,108 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Layouts 1.1 - -Item { - id: contentItem - property real minimumWidth: __calcMinimum('Width') - property real minimumHeight: __calcMinimum('Height') - property real maximumWidth: Number.POSITIVE_INFINITY - property real maximumHeight: Number.POSITIVE_INFINITY - implicitWidth: __calcImplicitWidth() - implicitHeight: __calcImplicitHeight() - - /*! \internal */ - property Item __layoutItem: contentItem.visibleChildren.length === 1 ? contentItem.visibleChildren[0] : null - /*! \internal */ - property real __marginsWidth: __layoutItem ? __layoutItem.anchors.leftMargin + __layoutItem.anchors.rightMargin : 0 - /*! \internal */ - property real __marginsHeight: __layoutItem ? __layoutItem.anchors.topMargin + __layoutItem.anchors.bottomMargin : 0 - - /*! \internal */ - property bool __noMinimumWidthGiven : false - /*! \internal */ - property bool __noMinimumHeightGiven : false - /*! \internal */ - property bool __noImplicitWidthGiven : false - /*! \internal */ - property bool __noImplicitHeightGiven : false - - function __calcImplicitWidth() { - if (__layoutItem && __layoutItem.anchors.fill) - return __calcImplicit('Width') - return contentItem.childrenRect.x + contentItem.childrenRect.width - } - - function __calcImplicitHeight() { - if (__layoutItem && __layoutItem.anchors.fill) - return __calcImplicit('Height') - return contentItem.childrenRect.y + contentItem.childrenRect.height - } - - function __calcImplicit(hw) { - var pref = __layoutItem.Layout['preferred' + hw] - if (pref < 0) { - pref = __layoutItem['implicit' + hw] - } - contentItem['__noImplicit' + hw + 'Given'] = (pref === 0 ? true : false) - pref += contentItem['__margins' + hw] - return pref - } - - function __calcMinimum(hw) { // hw is 'Width' or 'Height' - return (__layoutItem && __layoutItem.anchors.fill) ? __calcMinMax('minimum', hw) : 0 - } - - function __calcMaximum(hw) { // hw is 'Width' or 'Height' - return (__layoutItem && __layoutItem.anchors.fill) ? __calcMinMax('maximum', hw) : Number.POSITIVE_INFINITY - } - - function __calcMinMax(minMaxConstraint, hw) { - var attachedPropName = minMaxConstraint + hw - var extent = __layoutItem.Layout[attachedPropName] - - if (minMaxConstraint === 'minimum') - contentItem['__noMinimum' + hw + 'Given'] = (extent === 0 ? true : false) - - extent += contentItem['__margins' + hw] - return extent - } -} diff --git a/bin/QtQuick/Controls/Private/Control.qml b/bin/QtQuick/Controls/Private/Control.qml deleted file mode 100644 index 182a1e993..000000000 --- a/bin/QtQuick/Controls/Private/Control.qml +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls.Styles 1.1 - -/*! - \qmltype Control - \internal - \qmlabstract - \inqmlmodule QtQuick.Controls.Private -*/ -FocusScope { - id: root - - /*! \qmlproperty Component Control::style - - The style Component for this control. - \sa {Qt Quick Controls Styles QML Types} - - */ - property Component style - - /*! \internal */ - property QtObject __style: styleLoader.item - - /*! \internal */ - property Item __panel: panelLoader.item - - /*! \internal */ - property var styleHints - - implicitWidth: __panel ? __panel.implicitWidth: 0 - implicitHeight: __panel ? __panel.implicitHeight: 0 - baselineOffset: __panel ? __panel.baselineOffset: 0 - activeFocusOnTab: false - - /*! \internal */ - property alias __styleData: styleLoader.styleData - - Loader { - id: styleLoader - sourceComponent: style - property Item __control: root - property QtObject styleData: null - onStatusChanged: { - if (status === Loader.Error) - console.error("Failed to load Style for", root) - } - } - - Loader { - id: panelLoader - anchors.fill: parent - sourceComponent: __style ? __style.panel : null - onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", root) - } -} diff --git a/bin/QtQuick/Controls/Private/EditMenu.qml b/bin/QtQuick/Controls/Private/EditMenu.qml deleted file mode 100644 index fde124ea3..000000000 --- a/bin/QtQuick/Controls/Private/EditMenu.qml +++ /dev/null @@ -1,88 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Loader { - property Item control - property Item input - property Item cursorHandle - property Item selectionHandle - property Flickable flickable - property Component defaultMenu: item && item.defaultMenu ? item.defaultMenu : null - property QtObject menuInstance: null - property MouseArea mouseArea - property QtObject style: __style - - Connections { - target: control - function onMenuChanged() { - if (menuInstance !== null) { - menuInstance.destroy() - menuInstance = null - } - } - } - - function getMenuInstance() - { - // Lazy load menu when first requested - if (!menuInstance && control.menu) { - menuInstance = control.menu.createObject(input); - } - return menuInstance; - } - - function syncStyle() { - if (!style) - return; - - if (style.__editMenu) - sourceComponent = style.__editMenu; - else { - // todo: get ios/android/base menus from style as well - source = (Qt.resolvedUrl(Qt.platform.os === "ios" ? "" - : Qt.platform.os === "android" ? "" : "EditMenu_base.qml")); - } - } - onStyleChanged: syncStyle(); - Component.onCompleted: syncStyle(); -} diff --git a/bin/QtQuick/Controls/Private/EditMenu_base.qml b/bin/QtQuick/Controls/Private/EditMenu_base.qml deleted file mode 100644 index 346eba2da..000000000 --- a/bin/QtQuick/Controls/Private/EditMenu_base.qml +++ /dev/null @@ -1,173 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Item { - id: editMenuBase - anchors.fill: parent - - Component { - id: undoAction - Action { - text: qsTr("&Undo") - shortcut: StandardKey.Undo - iconName: "edit-undo" - enabled: input.canUndo - onTriggered: input.undo() - } - } - - Component { - id: redoAction - Action { - text: qsTr("&Redo") - shortcut: StandardKey.Redo - iconName: "edit-redo" - enabled: input.canRedo - onTriggered: input.redo() - } - } - - Component { - id: cutAction - Action { - text: qsTr("Cu&t") - shortcut: StandardKey.Cut - iconName: "edit-cut" - enabled: !input.readOnly && selectionStart !== selectionEnd - onTriggered: { - input.cut(); - input.select(input.cursorPosition, input.cursorPosition); - } - } - } - - Component { - id: copyAction - Action { - text: qsTr("&Copy") - shortcut: StandardKey.Copy - iconName: "edit-copy" - enabled: input.selectionStart !== input.selectionEnd - onTriggered: { - input.copy(); - input.select(input.cursorPosition, input.cursorPosition); - } - } - } - - Component { - id: pasteAction - Action { - text: qsTr("&Paste") - shortcut: StandardKey.Paste - iconName: "edit-paste" - enabled: input.canPaste - onTriggered: input.paste() - } - } - - Component { - id: deleteAction - Action { - text: qsTr("Delete") - shortcut: StandardKey.Delete - iconName: "edit-delete" - enabled: !input.readOnly && input.selectionStart !== input.selectionEnd - onTriggered: input.remove(input.selectionStart, input.selectionEnd) - } - } - - Component { - id: clearAction - Action { - text: qsTr("Clear") - shortcut: StandardKey.DeleteCompleteLine - iconName: "edit-clear" - enabled: !input.readOnly && input.length > 0 - onTriggered: input.remove(0, input.length) - } - } - - Component { - id: selectAllAction - Action { - text: qsTr("Select All") - shortcut: StandardKey.SelectAll - enabled: !(input.selectionStart === 0 && input.selectionEnd === input.length) - onTriggered: input.selectAll() - } - } - - property Component defaultMenu: Menu { - MenuItem { action: undoAction.createObject(editMenuBase) } - MenuItem { action: redoAction.createObject(editMenuBase) } - MenuSeparator {} - MenuItem { action: cutAction.createObject(editMenuBase) } - MenuItem { action: copyAction.createObject(editMenuBase) } - MenuItem { action: pasteAction.createObject(editMenuBase) } - MenuItem { action: deleteAction.createObject(editMenuBase) } - MenuItem { action: clearAction.createObject(editMenuBase) } - MenuSeparator {} - MenuItem { action: selectAllAction.createObject(editMenuBase) } - } - - Connections { - target: mouseArea - - function onClicked() { - if (input.selectionStart === input.selectionEnd) { - var cursorPos = input.positionAt(mouse.x, mouse.y) - input.moveHandles(cursorPos, cursorPos) - } - - input.activate() - - if (control.menu) { - var menu = getMenuInstance(); - menu.__dismissAndDestroy(); - var menuPos = mapToItem(null, mouse.x, mouse.y) - menu.__popup(Qt.rect(menuPos.x, menuPos.y, 0, 0), -1, MenuPrivate.EditMenu); - } - } - } -} diff --git a/bin/QtQuick/Controls/Private/FastGlow.qml b/bin/QtQuick/Controls/Private/FastGlow.qml deleted file mode 100644 index 1a8b7a81d..000000000 --- a/bin/QtQuick/Controls/Private/FastGlow.qml +++ /dev/null @@ -1,330 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.4 - -Item { - id: rootItem - property variant source - property real spread: 0.0 - property real blur: 0.0 - property color color: "white" - property bool transparentBorder: false - property bool cached: false - - SourceProxy { - id: sourceProxy - input: rootItem.source - } - - ShaderEffectSource { - id: cacheItem - anchors.fill: shaderItem - visible: rootItem.cached - smooth: true - sourceItem: shaderItem - live: true - hideSource: visible - } - - property string __internalBlurVertexShader: "qrc:/QtQuick/Controls/Shaders/blur.vert" - - property string __internalBlurFragmentShader: "qrc:/QtQuick/Controls/Shaders/blur.frag" - - ShaderEffect { - id: level0 - property variant source: sourceProxy.output - anchors.fill: parent - visible: false - smooth: true - } - - ShaderEffectSource { - id: level1 - width: Math.ceil(shaderItem.width / 32) * 32 - height: Math.ceil(shaderItem.height / 32) * 32 - sourceItem: level0 - hideSource: rootItem.visible - sourceRect: transparentBorder ? Qt.rect(-64, -64, shaderItem.width, shaderItem.height) : Qt.rect(0,0,0,0) - smooth: true - visible: false - } - - ShaderEffect { - id: effect1 - property variant source: level1 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level2 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level2 - width: level1.width / 2 - height: level1.height / 2 - sourceItem: effect1 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect2 - property variant source: level2 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level3 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level3 - width: level2.width / 2 - height: level2.height / 2 - sourceItem: effect2 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect3 - property variant source: level3 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level4 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level4 - width: level3.width / 2 - height: level3.height / 2 - sourceItem: effect3 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect4 - property variant source: level4 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level5 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level5 - width: level4.width / 2 - height: level4.height / 2 - sourceItem: effect4 - hideSource: rootItem.visible - visible: false - smooth: true - } - - ShaderEffect { - id: effect5 - property variant source: level5 - property real yStep: 1/height - property real xStep: 1/width - anchors.fill: level6 - visible: false - smooth: true - vertexShader: __internalBlurVertexShader - fragmentShader: __internalBlurFragmentShader - } - - ShaderEffectSource { - id: level6 - width: level5.width / 2 - height: level5.height / 2 - sourceItem: effect5 - hideSource: rootItem.visible - visible: false - smooth: true - } - - Item { - id: dummysource - width: 1 - height: 1 - visible: false - } - - ShaderEffectSource { - id: dummy - width: 1 - height: 1 - sourceItem: dummysource - visible: false - smooth: false - live: false - } - - ShaderEffect { - id: shaderItem - x: transparentBorder ? -64 : 0 - y: transparentBorder ? -64 : 0 - width: transparentBorder ? parent.width + 128 : parent.width - height: transparentBorder ? parent.height + 128 : parent.height - - property variant source1: level1 - property variant source2: level2 - property variant source3: level3 - property variant source4: level4 - property variant source5: level5 - property variant source6: level6 - property real lod: rootItem.blur - - property real weight1; - property real weight2; - property real weight3; - property real weight4; - property real weight5; - property real weight6; - - property real spread: 1.0 - (rootItem.spread * 0.98) - property alias color: rootItem.color - - function weight(v) { - if (v <= 0.0) - return 1 - if (v >= 0.5) - return 0 - - return 1.0 - v / 0.5 - } - - function calculateWeights() { - - var w1 = weight(Math.abs(lod - 0.100)) - var w2 = weight(Math.abs(lod - 0.300)) - var w3 = weight(Math.abs(lod - 0.500)) - var w4 = weight(Math.abs(lod - 0.700)) - var w5 = weight(Math.abs(lod - 0.900)) - var w6 = weight(Math.abs(lod - 1.100)) - - var sum = w1 + w2 + w3 + w4 + w5 + w6; - weight1 = w1 / sum; - weight2 = w2 / sum; - weight3 = w3 / sum; - weight4 = w4 / sum; - weight5 = w5 / sum; - weight6 = w6 / sum; - - upateSources() - } - - function upateSources() { - var sources = new Array(); - var weights = new Array(); - - if (weight1 > 0) { - sources.push(level1) - weights.push(weight1) - } - - if (weight2 > 0) { - sources.push(level2) - weights.push(weight2) - } - - if (weight3 > 0) { - sources.push(level3) - weights.push(weight3) - } - - if (weight4 > 0) { - sources.push(level4) - weights.push(weight4) - } - - if (weight5 > 0) { - sources.push(level5) - weights.push(weight5) - } - - if (weight6 > 0) { - sources.push(level6) - weights.push(weight6) - } - - for (var j = sources.length; j < 6; j++) { - sources.push(dummy) - weights.push(0.0) - } - - source1 = sources[0] - source2 = sources[1] - source3 = sources[2] - source4 = sources[3] - source5 = sources[4] - source6 = sources[5] - - weight1 = weights[0] - weight2 = weights[1] - weight3 = weights[2] - weight4 = weights[3] - weight5 = weights[4] - weight6 = weights[5] - } - - Component.onCompleted: calculateWeights() - - onLodChanged: calculateWeights() - - fragmentShader: "qrc:/QtQuick/Controls/Shaders/glow.frag" - } -} diff --git a/bin/QtQuick/Controls/Private/FocusFrame.qml b/bin/QtQuick/Controls/Private/FocusFrame.qml deleted file mode 100644 index 570df32b7..000000000 --- a/bin/QtQuick/Controls/Private/FocusFrame.qml +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype FocusFrame - \internal - \inqmlmodule QtQuick.Controls.Private -*/ -Item { - id: root - activeFocusOnTab: false - Accessible.role: Accessible.StatusBar - - anchors.topMargin: focusMargin - anchors.leftMargin: focusMargin - anchors.rightMargin: focusMargin - anchors.bottomMargin: focusMargin - - property int focusMargin: loader.item ? loader.item.margin : -3 - - Loader { - id: loader - z: 2 - anchors.fill: parent - sourceComponent: Settings.styleComponent(Settings.style, "FocusFrameStyle.qml", root) - } -} diff --git a/bin/QtQuick/Controls/Private/HoverButton.qml b/bin/QtQuick/Controls/Private/HoverButton.qml deleted file mode 100644 index bc7f91bb2..000000000 --- a/bin/QtQuick/Controls/Private/HoverButton.qml +++ /dev/null @@ -1,79 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Item { - id: button - property alias source: image.source - signal clicked - - Rectangle { - id: fillRect - anchors.fill: parent - color: "black" - opacity: mouse.pressed ? 0.07 : mouse.containsMouse ? 0.02 : 0.0 - } - - Rectangle { - border.color: gridColor - anchors.fill: parent - anchors.margins: -1 - color: "transparent" - opacity: fillRect.opacity * 10 - } - - Image { - id: image - width: Math.min(implicitWidth, parent.width * 0.4) - height: Math.min(implicitHeight, parent.height * 0.4) - anchors.centerIn: parent - fillMode: Image.PreserveAspectFit - opacity: 0.6 - } - - MouseArea { - id: mouse - anchors.fill: parent - onClicked: button.clicked() - hoverEnabled: Settings.hoverEnabled - } -} diff --git a/bin/QtQuick/Controls/Private/MenuContentItem.qml b/bin/QtQuick/Controls/Private/MenuContentItem.qml deleted file mode 100644 index 9fcb2f0f5..000000000 --- a/bin/QtQuick/Controls/Private/MenuContentItem.qml +++ /dev/null @@ -1,282 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Styles 1.1 -import QtQuick.Controls.Private 1.0 - -Loader { - id: menuFrameLoader - - property var __menu - - Accessible.role: Accessible.PopupMenu - - visible: status === Loader.Ready - width: content.width + (d.style ? d.style.padding.left + d.style.padding.right : 0) - height: content.height + (d.style ? d.style.padding.top + d.style.padding.bottom : 0) - - Loader { - id: styleLoader - active: !__menu.isNative - sourceComponent: __menu.style - property alias __control: menuFrameLoader - onStatusChanged: { - if (status === Loader.Error) - console.error("Failed to load Style for", __menu) - } - } - sourceComponent: d.style ? d.style.frame : undefined - - QtObject { - id: d - property var mnemonicsMap: ({}) - readonly property Style style: styleLoader.item - readonly property Component menuItemPanel: style ? style.menuItemPanel : null - - function canBeHovered(index) { - var item = content.menuItemAt(index) - if (item && item.visible && item.styleData.type !== MenuItemType.Separator && item.styleData.enabled) { - __menu.__currentIndex = index - return true - } - return false - } - - function triggerCurrent() { - var item = content.menuItemAt(__menu.__currentIndex) - if (item) - triggerAndDismiss(item) - } - - function triggerAndDismiss(item) { - if (!item) - return; - if (item.styleData.type === MenuItemType.Separator) - __menu.__dismissAndDestroy() - else if (item.styleData.type === MenuItemType.Item) - item.__menuItem.trigger() - } - } - - focus: true - - Keys.onPressed: { - var item = null - if (!(event.modifiers & Qt.AltModifier) - && (item = d.mnemonicsMap[event.text.toUpperCase()])) { - if (item.styleData.type === MenuItemType.Menu) { - __menu.__currentIndex = item.__menuItemIndex - item.__showSubMenu(true) - item.__menuItem.__currentIndex = 0 - } else { - d.triggerAndDismiss(item) - } - event.accepted = true - } else { - event.accepted = false - } - } - - Keys.onEscapePressed: __menu.__dismissAndDestroy() - - Keys.onDownPressed: { - if (__menu.__currentIndex < 0) - __menu.__currentIndex = -1 - - for (var i = __menu.__currentIndex + 1; - i < __menu.items.length && !d.canBeHovered(i); i++) - ; - event.accepted = true - } - - Keys.onUpPressed: { - for (var i = __menu.__currentIndex - 1; - i >= 0 && !d.canBeHovered(i); i--) - ; - event.accepted = true - } - - Keys.onLeftPressed: { - if ((event.accepted = __menu.__parentMenu.hasOwnProperty("title"))) - __menu.__closeAndDestroy() - } - - Keys.onRightPressed: { - var item = content.menuItemAt(__menu.__currentIndex) - if (item && item.styleData.type === MenuItemType.Menu - && !item.__menuItem.__popupVisible) { - item.__showSubMenu(true) - item.__menuItem.__currentIndex = 0 - event.accepted = true - } else { - event.accepted = false - } - } - - Keys.onSpacePressed: d.triggerCurrent() - Keys.onReturnPressed: d.triggerCurrent() - Keys.onEnterPressed: d.triggerCurrent() - - Qml.Binding { - // Make sure the styled frame is in the background - target: item - property: "z" - value: content.z - 1 - restoreMode: Binding.RestoreBinding - } - - ColumnMenuContent { - id: content - x: d.style ? d.style.padding.left : 0 - y: d.style ? d.style.padding.top : 0 - menuItemDelegate: menuItemComponent - scrollIndicatorStyle: d.style && d.style.scrollIndicator || null - scrollerStyle: d.style && d.style.__scrollerStyle - itemsModel: __menu.items - minWidth: __menu.__minimumWidth - maxHeight: d.style ? d.style.__maxPopupHeight : 0 - onTriggered: d.triggerAndDismiss(item) - } - - Component { - id: menuItemComponent - Loader { - id: menuItemLoader - - Accessible.role: opts.type === MenuItemType.Item || opts.type === MenuItemType.Menu ? - Accessible.MenuItem : Accessible.NoRole - Accessible.name: StyleHelpers.removeMnemonics(opts.text) - Accessible.checkable: opts.checkable - Accessible.checked: opts.checked - Accessible.onPressAction: { - if (opts.type === MenuItemType.Item) { - d.triggerAndDismiss(menuItemLoader) - } else if (opts.type === MenuItemType.Menu) { - __showSubMenu(true /*immediately*/) - } - } - - property QtObject styleData: QtObject { - id: opts - readonly property int index: __menuItemIndex - readonly property int type: __menuItem ? __menuItem.type : -1 - readonly property bool selected: type !== MenuItemType.Separator && __menu.__currentIndex === index - readonly property bool pressed: type !== MenuItemType.Separator && __menu.__currentIndex === index - && content.mousePressed // TODO Add key pressed condition once we get delayed menu closing - readonly property string text: type === MenuItemType.Menu ? __menuItem.title : - type !== MenuItemType.Separator ? __menuItem.text : "" - readonly property bool underlineMnemonic: __menu.__contentItem.altPressed - readonly property string shortcut: !!__menuItem && __menuItem["shortcut"] || "" - readonly property var iconSource: !!__menuItem && __menuItem["iconSource"] || undefined - readonly property bool enabled: type !== MenuItemType.Separator && !!__menuItem && __menuItem.enabled - readonly property bool checked: !!__menuItem && !!__menuItem["checked"] - readonly property bool checkable: !!__menuItem && !!__menuItem["checkable"] - readonly property bool exclusive: !!__menuItem && !!__menuItem["exclusiveGroup"] - readonly property int scrollerDirection: Qt.NoArrow - } - - readonly property var __menuItem: modelData - readonly property int __menuItemIndex: index - - sourceComponent: d.menuItemPanel - enabled: visible && opts.enabled - visible: !!__menuItem && __menuItem.visible - active: visible - - function __showSubMenu(immediately) { - if (!__menuItem.enabled) - return; - if (immediately) { - if (__menu.__currentIndex === __menuItemIndex) { - if (__menuItem.__usingDefaultStyle) - __menuItem.style = __menu.style - __menuItem.__popup(Qt.rect(menuFrameLoader.width - (d.style.submenuOverlap + d.style.padding.right), -d.style.padding.top, 0, 0), -1) - } - } else { - openMenuTimer.start() - } - } - - Timer { - id: openMenuTimer - interval: d.style.submenuPopupDelay - onTriggered: menuItemLoader.__showSubMenu(true) - } - - function __closeSubMenu() { - if (openMenuTimer.running) - openMenuTimer.stop() - else if (__menuItem.__popupVisible) - closeMenuTimer.start() - } - - Timer { - id: closeMenuTimer - interval: 1 - onTriggered: { - if (__menu.__currentIndex !== __menuItemIndex) - __menuItem.__closeAndDestroy() - } - } - - onLoaded: { - __menuItem.__visualItem = menuItemLoader - - if (content.width < item.implicitWidth) - content.width = item.implicitWidth - - var title = opts.text - var ampersandPos = title.indexOf("&") - if (ampersandPos !== -1) - d.mnemonicsMap[title[ampersandPos + 1].toUpperCase()] = menuItemLoader - } - - Qml.Binding { - target: menuItemLoader.item - property: "width" - property alias menuItem: menuItemLoader.item - value: menuItem ? Math.max(__menu.__minimumWidth, content.width) - 2 * menuItem.x : 0 - restoreMode: Binding.RestoreBinding - } - } - } -} diff --git a/bin/QtQuick/Controls/Private/MenuContentScroller.qml b/bin/QtQuick/Controls/Private/MenuContentScroller.qml deleted file mode 100644 index f33d2040e..000000000 --- a/bin/QtQuick/Controls/Private/MenuContentScroller.qml +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -MouseArea { - id: scrollIndicator - property int direction: 0 - - anchors { - top: direction === Qt.UpArrow ? parent.top : undefined - bottom: direction === Qt.DownArrow ? parent.bottom : undefined - } - - hoverEnabled: visible && Settings.hoverEnabled - height: scrollerLoader.height - width: parent.width - - Loader { - id: scrollerLoader - - width: parent.width - sourceComponent: scrollIndicatorStyle - // Extra property values for desktop style - property var __menuItem: null - property var styleData: { - "index": -1, - "type": MenuItemType.ScrollIndicator, - "text": "", - "selected": scrollIndicator.containsMouse, - "scrollerDirection": scrollIndicator.direction, - "checkable": false, - "checked": false, - "enabled": true - } - } - - Timer { - interval: 100 - repeat: true - triggeredOnStart: true - running: parent.containsMouse - onTriggered: scrollABit() - } -} diff --git a/bin/QtQuick/Controls/Private/MenuItemSubControls.qml b/bin/QtQuick/Controls/Private/MenuItemSubControls.qml deleted file mode 100644 index 818b95780..000000000 --- a/bin/QtQuick/Controls/Private/MenuItemSubControls.qml +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -QtObject { - property Component background: null - property Component label: null - property Component submenuIndicator: null - property Component shortcut: null - property Component checkmarkIndicator: null -} diff --git a/bin/QtQuick/Controls/Private/ModalPopupBehavior.qml b/bin/QtQuick/Controls/Private/ModalPopupBehavior.qml deleted file mode 100644 index c9a4b68fd..000000000 --- a/bin/QtQuick/Controls/Private/ModalPopupBehavior.qml +++ /dev/null @@ -1,134 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -// KNOWN ISSUES -// none - -/*! - \qmltype ModalPopupBehavior - \internal - \inqmlmodule QtQuick.Controls.Private -*/ -Item { - id: popupBehavior - - property bool showing: false - property bool whenAlso: true // modifier to the "showing" property - property bool consumeCancelClick: true - property int delay: 0 // delay before popout becomes visible - property int deallocationDelay: 3000 // 3 seconds - - property Component popupComponent - - property alias popup: popupLoader.item // read-only - property alias window: popupBehavior.root // read-only - - signal prepareToShow - signal prepareToHide - signal cancelledByClick - - // implementation - - anchors.fill: parent - - onShowingChanged: notifyChange() - onWhenAlsoChanged: notifyChange() - function notifyChange() { - if(showing && whenAlso) { - if(popupLoader.sourceComponent == undefined) { - popupLoader.sourceComponent = popupComponent; - } - } else { - mouseArea.enabled = false; // disable before opacity is changed in case it has fading behavior - if(Qt.isQtObject(popupLoader.item)) { - popupBehavior.prepareToHide(); - popupLoader.item.opacity = 0; - } - } - } - - property Item root: findRoot() - function findRoot() { - var p = parent; - while(p.parent != undefined) - p = p.parent; - - return p; - } - - MouseArea { - id: mouseArea - anchors.fill: parent - enabled: false // enabled only when popout is showing - onPressed: { - popupBehavior.showing = false; - mouse.accepted = consumeCancelClick; - cancelledByClick(); - } - } - - Loader { - id: popupLoader - } - - Timer { // visibility timer - running: Qt.isQtObject(popupLoader.item) && showing && whenAlso - interval: delay - onTriggered: { - popupBehavior.prepareToShow(); - mouseArea.enabled = true; - popup.opacity = 1; - } - } - - Timer { // deallocation timer - running: Qt.isQtObject(popupLoader.item) && popupLoader.item.opacity == 0 - interval: deallocationDelay - onTriggered: popupLoader.sourceComponent = undefined - } - - states: State { - name: "active" - when: Qt.isQtObject(popupLoader.item) && popupLoader.item.opacity > 0 - ParentChange { target: popupBehavior; parent: root } - } - } - diff --git a/bin/QtQuick/Controls/Private/ScrollBar.qml b/bin/QtQuick/Controls/Private/ScrollBar.qml deleted file mode 100644 index eea7a7379..000000000 --- a/bin/QtQuick/Controls/Private/ScrollBar.qml +++ /dev/null @@ -1,237 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ScrollBar - \internal - \inqmlmodule QtQuick.Controls.Private -*/ -Item { - id: scrollbar - - property bool isTransient: false - property bool active: false - property int orientation: Qt.Horizontal - property alias minimumValue: slider.minimumValue - property alias maximumValue: slider.maximumValue - property alias value: slider.value - property int singleStep: 20 - - activeFocusOnTab: false - - Accessible.role: Accessible.ScrollBar - implicitWidth: panelLoader.implicitWidth - implicitHeight: panelLoader.implicitHeight - - property bool upPressed - property bool downPressed - property bool pageUpPressed - property bool pageDownPressed - property bool handlePressed - - - property Item __panel: panelLoader.item - Loader { - id: panelLoader - anchors.fill: parent - sourceComponent: __style ? __style.__scrollbar : null - onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", root) - property alias __control: scrollbar - property QtObject __styleData: QtObject { - readonly property alias horizontal: internal.horizontal - readonly property alias upPressed: scrollbar.upPressed - readonly property alias downPressed: scrollbar.downPressed - readonly property alias handlePressed: scrollbar.handlePressed - } - } - - MouseArea { - id: internal - property bool horizontal: orientation === Qt.Horizontal - property int pageStep: internal.horizontal ? width : height - property bool scrollToClickposition: internal.scrollToClickPosition - anchors.fill: parent - cursorShape: __panel && __panel.visible ? Qt.ArrowCursor : Qt.IBeamCursor // forces a cursor change - - property bool autoincrement: false - property bool scrollToClickPosition: __style ? __style.scrollToClickedPosition : 0 - - // Update hover item - onEntered: if (!pressed) __panel.activeControl = __panel.hitTest(mouseX, mouseY) - onExited: if (!pressed) __panel.activeControl = "none" - onMouseXChanged: if (!pressed) __panel.activeControl = __panel.hitTest(mouseX, mouseY) - hoverEnabled: Settings.hoverEnabled - preventStealing: true - property var pressedX - property var pressedY - property int oldPosition - property int grooveSize - - Timer { - running: upPressed || downPressed || pageUpPressed || pageDownPressed - interval: 350 - onTriggered: internal.autoincrement = true - } - - Timer { - running: internal.autoincrement - interval: 60 - repeat: true - onTriggered: { - if (upPressed && internal.containsMouse) - internal.decrement(); - else if (downPressed && internal.containsMouse) - internal.increment(); - else if (pageUpPressed) - internal.decrementPage(); - else if (pageDownPressed) - internal.incrementPage(); - } - } - - onPositionChanged: { - if (handlePressed) { - if (!horizontal) - slider.position = oldPosition + (mouseY - pressedY) - else - slider.position = oldPosition + (mouseX - pressedX) - } - } - - onPressed: { - if (mouse.source !== Qt.MouseEventNotSynthesized) { - mouse.accepted = false - return - } - __panel.activeControl = __panel.hitTest(mouseX, mouseY) - scrollToClickposition = scrollToClickPosition - var handleRect = __panel.subControlRect("handle") - var grooveRect = __panel.subControlRect("groove") - grooveSize = horizontal ? grooveRect.width - handleRect.width: - grooveRect.height - handleRect.height; - if (__panel.activeControl === "handle") { - pressedX = mouseX; - pressedY = mouseY; - handlePressed = true; - oldPosition = slider.position; - } else if (__panel.activeControl === "up") { - decrement(); - upPressed = Qt.binding(function() {return containsMouse}); - } else if (__panel.activeControl === "down") { - increment(); - downPressed = Qt.binding(function() {return containsMouse}); - } else if (!scrollToClickposition){ - if (__panel.activeControl === "upPage") { - decrementPage(); - pageUpPressed = true; - } else if (__panel.activeControl === "downPage") { - incrementPage(); - pageDownPressed = true; - } - } else { // scroll to click position - slider.position = horizontal ? mouseX - handleRect.width/2 - grooveRect.x - : mouseY - handleRect.height/2 - grooveRect.y - pressedX = mouseX; - pressedY = mouseY; - handlePressed = true; - oldPosition = slider.position; - } - } - - onReleased: { - __panel.activeControl = __panel.hitTest(mouseX, mouseY); - autoincrement = false; - upPressed = false; - downPressed = false; - handlePressed = false; - pageUpPressed = false; - pageDownPressed = false; - } - - onWheel: { - var stepCount = -(wheel.angleDelta.x ? wheel.angleDelta.x : wheel.angleDelta.y) / 120 - if (stepCount != 0) { - if (wheel.modifiers & Qt.ControlModifier || wheel.modifiers & Qt.ShiftModifier) - incrementPage(stepCount) - else - increment(stepCount) - } - } - - function incrementPage(stepCount) { - value = boundValue(value + getSteps(pageStep, stepCount)) - } - - function decrementPage(stepCount) { - value = boundValue(value - getSteps(pageStep, stepCount)) - } - - function increment(stepCount) { - value = boundValue(value + getSteps(singleStep, stepCount)) - } - - function decrement(stepCount) { - value = boundValue(value - getSteps(singleStep, stepCount)) - } - - function boundValue(val) { - return Math.min(Math.max(val, minimumValue), maximumValue) - } - - function getSteps(step, count) { - if (count) - step *= count - return step - } - - RangeModel { - id: slider - minimumValue: 0.0 - maximumValue: 1.0 - value: 0 - stepSize: 0.0 - inverted: false - positionAtMaximum: internal.grooveSize - } - } -} diff --git a/bin/QtQuick/Controls/Private/ScrollViewHelper.qml b/bin/QtQuick/Controls/Private/ScrollViewHelper.qml deleted file mode 100644 index f5ef5b179..000000000 --- a/bin/QtQuick/Controls/Private/ScrollViewHelper.qml +++ /dev/null @@ -1,234 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ScrollViewHeader - \internal - \inqmlmodule QtQuick.Controls.Private -*/ -Item { - id: scrollHelper - - property alias horizontalScrollBar: hscrollbar - property alias verticalScrollBar: vscrollbar - property bool blockUpdates: false - property int availableHeight - property int availableWidth - property int contentHeight - property int contentWidth - property bool active - property int horizontalScrollBarPolicy: Qt.ScrollBarAsNeeded - property int verticalScrollBarPolicy: Qt.ScrollBarAsNeeded - - - property int leftMargin: outerFrame && root.__style ? root.__style.padding.left : 0 - property int rightMargin: outerFrame && root.__style ? root.__style.padding.right : 0 - property int topMargin: outerFrame && root.__style ? root.__style.padding.top : 0 - property int bottomMargin: outerFrame && root.__style ? root.__style.padding.bottom : 0 - - anchors.fill: parent - - Timer { - id: layoutTimer - interval: 0; - onTriggered: { - blockUpdates = true; - scrollHelper.contentWidth = flickableItem !== null ? flickableItem.contentWidth : 0 - scrollHelper.contentHeight = flickableItem !== null ? flickableItem.contentHeight : 0 - scrollHelper.availableWidth = viewport.width - scrollHelper.availableHeight = viewport.height - blockUpdates = false; - hscrollbar.valueChanged(); - vscrollbar.valueChanged(); - } - } - - Connections { - target: viewport - function onWidthChanged() { layoutTimer.running = true } - function onHeightChanged() { layoutTimer.running = true } - } - - Connections { - target: flickableItem - function onContentWidthChanged() { layoutTimer.running = true } - function onContentHeightChanged() { layoutTimer.running = true } - function onContentXChanged() { - hscrollbar.flash() - vscrollbar.flash() - } - function onContentYChanged() { - hscrollbar.flash() - vscrollbar.flash() - } - } - - Loader { - id: cornerFill - z: 1 - sourceComponent: __style ? __style.corner : null - anchors.right: parent.right - anchors.bottom: parent.bottom - anchors.bottomMargin: bottomMargin - anchors.rightMargin: rightMargin - width: visible ? vscrollbar.width : 0 - height: visible ? hscrollbar.height : 0 - visible: hscrollbar.visible && !hscrollbar.isTransient && vscrollbar.visible && !vscrollbar.isTransient - } - - ScrollBar { - id: hscrollbar - readonly property int scrollAmount: contentWidth - availableWidth - readonly property bool scrollable: scrollAmount > 0 - isTransient: !!__panel && !!__panel.isTransient - active: !!__panel && (__panel.sunken || __panel.activeControl !== "none") - enabled: !isTransient || __panel.visible - orientation: Qt.Horizontal - visible: horizontalScrollBarPolicy == Qt.ScrollBarAsNeeded ? scrollable : horizontalScrollBarPolicy == Qt.ScrollBarAlwaysOn - height: visible ? implicitHeight : 0 - z: 1 - maximumValue: scrollable ? scrollAmount : 0 - minimumValue: 0 - anchors.bottom: parent.bottom - anchors.left: parent.left - anchors.right: cornerFill.left - anchors.leftMargin: leftMargin - anchors.bottomMargin: bottomMargin - onScrollAmountChanged: { - var scrollableAmount = scrollable ? scrollAmount : 0 - if (flickableItem && (flickableItem.atXBeginning || flickableItem.atXEnd)) { - value = Math.min(scrollableAmount, flickableItem.contentX - flickableItem.originX); - } else if (value > scrollableAmount) { - value = scrollableAmount; - } - } - onValueChanged: { - if (flickableItem && !blockUpdates) { - flickableItem.contentX = value + flickableItem.originX - } - } - Qml.Binding { - target: hscrollbar.__panel - property: "raised" - value: vscrollbar.active || scrollHelper.active - when: hscrollbar.isTransient - restoreMode: Binding.RestoreBinding - } - Qml.Binding { - target: hscrollbar.__panel - property: "visible" - value: true - when: !hscrollbar.isTransient || scrollHelper.active - restoreMode: Binding.RestoreBinding - } - function flash() { - if (hscrollbar.isTransient) { - hscrollbar.__panel.on = true - hscrollbar.__panel.visible = true - hFlasher.start() - } - } - Timer { - id: hFlasher - interval: 10 - onTriggered: hscrollbar.__panel.on = false - } - } - - ScrollBar { - id: vscrollbar - readonly property int scrollAmount: contentHeight - availableHeight - readonly property bool scrollable: scrollAmount > 0 - isTransient: !!__panel && !!__panel.isTransient - active: !!__panel && (__panel.sunken || __panel.activeControl !== "none") - enabled: !isTransient || __panel.visible - orientation: Qt.Vertical - visible: verticalScrollBarPolicy === Qt.ScrollBarAsNeeded ? scrollable : verticalScrollBarPolicy === Qt.ScrollBarAlwaysOn - width: visible ? implicitWidth : 0 - z: 1 - anchors.bottom: cornerFill.top - maximumValue: scrollable ? scrollAmount + __viewTopMargin : 0 - minimumValue: 0 - anchors.right: parent.right - anchors.top: parent.top - anchors.topMargin: __scrollBarTopMargin + topMargin - anchors.rightMargin: rightMargin - onScrollAmountChanged: { - if (flickableItem && (flickableItem.atYBeginning || flickableItem.atYEnd)) { - value = flickableItem.contentY - flickableItem.originY - } - } - onValueChanged: { - if (flickableItem && !blockUpdates && enabled) { - flickableItem.contentY = value + flickableItem.originY - } - } - Qml.Binding { - target: vscrollbar.__panel - property: "raised" - value: hscrollbar.active || scrollHelper.active - when: vscrollbar.isTransient - restoreMode: Binding.RestoreBinding - } - Qml.Binding { - target: vscrollbar.__panel - property: "visible" - value: true - when: !vscrollbar.isTransient || scrollHelper.active - restoreMode: Binding.RestoreBinding - } - function flash() { - if (vscrollbar.isTransient) { - vscrollbar.__panel.on = true - vscrollbar.__panel.visible = true - vFlasher.start() - } - } - Timer { - id: vFlasher - interval: 10 - onTriggered: vscrollbar.__panel.on = false - } - } -} diff --git a/bin/QtQuick/Controls/Private/SourceProxy.qml b/bin/QtQuick/Controls/Private/SourceProxy.qml deleted file mode 100644 index 275c24d39..000000000 --- a/bin/QtQuick/Controls/Private/SourceProxy.qml +++ /dev/null @@ -1,136 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -Item { - id: rootItem - property variant input - property variant output - property variant sourceRect - visible: false - - Component.onCompleted: evaluateInput() - - onInputChanged: evaluateInput() - - onSourceRectChanged: evaluateInput() - - function evaluateInput() { - if (input == undefined) { - output = input - } - else if (sourceRect != undefined && sourceRect != Qt.rect(0, 0, 0, 0) && !isQQuickShaderEffectSource(input)) { - proxySource.sourceItem = input - output = proxySource - proxySource.sourceRect = sourceRect - } - else if (isQQuickItemLayerEnabled(input)) { - output = input - } - else if ((isQQuickImage(input) && !hasTileMode(input) && !hasChildren(input))) { - output = input - } - else if (isQQuickShaderEffectSource(input)) { - output = input - } - else { - proxySource.sourceItem = input - output = proxySource - proxySource.sourceRect = Qt.rect(0, 0, 0, 0) - } - } - - function isQQuickItemLayerEnabled(item) { - if (item.hasOwnProperty("layer")) { - var l = item["layer"] - if (l.hasOwnProperty("enabled") && l["enabled"].toString() == "true") - return true - } - return false - } - - function isQQuickImage(item) { - var imageProperties = [ "fillMode", "progress", "asynchronous", "sourceSize", "status", "smooth" ] - return hasProperties(item, imageProperties) - } - - function isQQuickShaderEffectSource(item) { - var shaderEffectSourceProperties = [ "hideSource", "format", "sourceItem", "mipmap", "wrapMode", "live", "recursive", "sourceRect" ] - return hasProperties(item, shaderEffectSourceProperties) - } - - function hasProperties(item, properties) { - var counter = 0 - for (var j = 0; j < properties.length; j++) { - if (item.hasOwnProperty(properties [j])) - counter++ - } - return properties.length == counter - } - - function hasChildren(item) { - if (item.hasOwnProperty("childrenRect")) { - if (item["childrenRect"].toString() != "QRectF(0, 0, 0, 0)") - return true - else - return false - } - return false - } - - function hasTileMode(item) { - if (item.hasOwnProperty("fillMode")) { - if (item["fillMode"].toString() != "0") - return true - else - return false - } - return false - } - - ShaderEffectSource { - id: proxySource - live: rootItem.input != rootItem.output - hideSource: false - smooth: true - visible: false - } -} - diff --git a/bin/QtQuick/Controls/Private/StackView.js b/bin/QtQuick/Controls/Private/StackView.js deleted file mode 100644 index b0b77e219..000000000 --- a/bin/QtQuick/Controls/Private/StackView.js +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -var stackView = []; - -function push(p) -{ - if (!p) - return - stackView.push(p) - __depth++ - return p -} - -function pop() -{ - if (stackView.length === 0) - return null - var p = stackView.pop() - __depth-- - return p -} - -function current() -{ - if (stackView.length === 0) - return null - return stackView[stackView.length-1] -} - diff --git a/bin/QtQuick/Controls/Private/StackViewSlideDelegate.qml b/bin/QtQuick/Controls/Private/StackViewSlideDelegate.qml deleted file mode 100644 index dcc14448e..000000000 --- a/bin/QtQuick/Controls/Private/StackViewSlideDelegate.qml +++ /dev/null @@ -1,141 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 - -/*! - \qmltype StackViewSlideTransition - \internal - \inqmlmodule QtQuick.Controls.Private -*/ -StackViewDelegate { - id: root - - property bool horizontal: true - - function getTransition(properties) - { - return root[horizontal ? "horizontalSlide" : "verticalSlide"][properties.name] - } - - function transitionFinished(properties) - { - properties.exitItem.x = 0 - properties.exitItem.y = 0 - } - - property QtObject horizontalSlide: QtObject { - property Component pushTransition: StackViewTransition { - PropertyAnimation { - target: enterItem - property: "x" - from: target.width - to: 0 - duration: 400 - easing.type: Easing.OutCubic - } - PropertyAnimation { - target: exitItem - property: "x" - from: 0 - to: -target.width - duration: 400 - easing.type: Easing.OutCubic - } - } - - property Component popTransition: StackViewTransition { - PropertyAnimation { - target: enterItem - property: "x" - from: -target.width - to: 0 - duration: 400 - easing.type: Easing.OutCubic - } - PropertyAnimation { - target: exitItem - property: "x" - from: 0 - to: target.width - duration: 400 - easing.type: Easing.OutCubic - } - } - property Component replaceTransition: pushTransition - } - - property QtObject verticalSlide: QtObject { - property Component pushTransition: StackViewTransition { - PropertyAnimation { - target: enterItem - property: "y" - from: target.height - to: 0 - duration: 300 - } - PropertyAnimation { - target: exitItem - property: "y" - from: 0 - to: -target.height - duration: 300 - } - } - - property Component popTransition: StackViewTransition { - PropertyAnimation { - target: enterItem - property: "y" - from: -target.height - to: 0 - duration: 300 - } - PropertyAnimation { - target: exitItem - property: "y" - from: 0 - to: target.height - duration: 300 - } - } - property Component replaceTransition: pushTransition - } -} diff --git a/bin/QtQuick/Controls/Private/Style.qml b/bin/QtQuick/Controls/Private/Style.qml deleted file mode 100644 index 805c9252f..000000000 --- a/bin/QtQuick/Controls/Private/Style.qml +++ /dev/null @@ -1,53 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype Style - \internal - \inqmlmodule QtQuick.Controls.Private -*/ - -AbstractStyle { - /*! The control this style is attached to. */ - readonly property Item control: __control -} diff --git a/bin/QtQuick/Controls/Private/SystemPaletteSingleton.qml b/bin/QtQuick/Controls/Private/SystemPaletteSingleton.qml deleted file mode 100644 index e4e82c552..000000000 --- a/bin/QtQuick/Controls/Private/SystemPaletteSingleton.qml +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -pragma Singleton -import QtQuick 2.2 - -QtObject { - property SystemPalette active: SystemPalette { colorGroup: SystemPalette.Active } - property SystemPalette disabled: SystemPalette { colorGroup: SystemPalette.Disabled } - - function alternateBase(enabled) { return enabled ? active.alternateBase : disabled.alternateBase } - function base(enabled) { return enabled ? active.base : disabled.base } - function button(enabled) { return enabled ? active.button : disabled.button } - function buttonText(enabled) { return enabled ? active.buttonText : disabled.buttonText } - function dark(enabled) { return enabled ? active.dark : disabled.dark } - function highlight(enabled) { return enabled ? active.highlight : disabled.highlight } - function highlightedText(enabled) { return enabled ? active.highlightedText : disabled.highlightedText } - function light(enabled) { return enabled ? active.light : disabled.light } - function mid(enabled) { return enabled ? active.mid : disabled.mid } - function midlight(enabled) { return enabled ? active.midlight : disabled.midlight } - function shadow(enabled) { return enabled ? active.shadow : disabled.shadow } - function text(enabled) { return enabled ? active.text : disabled.text } - function window(enabled) { return enabled ? active.window : disabled.window } - function windowText(enabled) { return enabled ? active.windowText : disabled.windowText } -} diff --git a/bin/QtQuick/Controls/Private/TabBar.qml b/bin/QtQuick/Controls/Private/TabBar.qml deleted file mode 100644 index 1186968dd..000000000 --- a/bin/QtQuick/Controls/Private/TabBar.qml +++ /dev/null @@ -1,331 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype TabBar - \internal - \inqmlmodule QtQuick.Controls.Private -*/ -FocusScope { - id: tabbar - height: Math.max(tabrow.height, Math.max(leftCorner.height, rightCorner.height)) - width: tabView.width - - activeFocusOnTab: true - - Keys.onRightPressed: { - if (tabView && tabView.currentIndex < tabView.count - 1) - tabView.currentIndex = tabView.currentIndex + 1 - } - Keys.onLeftPressed: { - if (tabView && tabView.currentIndex > 0) - tabView.currentIndex = tabView.currentIndex - 1 - } - - onTabViewChanged: parent = tabView - visible: tabView ? tabView.tabsVisible : true - - property var tabView - property var style - property var styleItem: tabView.__styleItem ? tabView.__styleItem : null - - property bool tabsMovable: styleItem ? styleItem.tabsMovable : false - - property int tabsAlignment: styleItem ? styleItem.tabsAlignment : Qt.AlignLeft - - property int tabOverlap: styleItem ? styleItem.tabOverlap : 0 - - property int elide: Text.ElideRight - - property real availableWidth: tabbar.width - leftCorner.width - rightCorner.width - - property var __selectedTabRect - - function tab(index) { - for (var i = 0; i < tabrow.children.length; ++i) { - if (tabrow.children[i].tabindex == index) { - return tabrow.children[i] - } - } - return null; - } - - /*! \internal */ - function __isAncestorOf(item, child) { - //TODO: maybe removed from 5.2 if the function was merged in qtdeclarative - if (child === item) - return false; - - while (child) { - child = child.parent; - if (child === item) - return true; - } - return false; - } - Loader { - id: background - anchors.fill: parent - sourceComponent: styleItem ? styleItem.tabBar : undefined - } - - ListView { - id: tabrow - objectName: "tabrow" - Accessible.role: Accessible.PageTabList - LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft - spacing: -tabOverlap - orientation: Qt.Horizontal - interactive: false - focus: true - clip: true - - // Note this will silence the binding loop warnings caused by QTBUG-35038 - // and should be removed when this issue is resolved. - property int contentWidthWorkaround: contentWidth > 0 ? contentWidth: 0 - width: Math.min(availableWidth, count ? contentWidthWorkaround : availableWidth) - height: currentItem ? currentItem.height : 0 - - highlightMoveDuration: 0 - - // We cannot bind directly to the currentIndex because the actual model is - // populated after the listview is completed, resulting in an invalid contentItem - currentIndex: tabView.currentIndex < model.count ? tabView.currentIndex : -1 - onCurrentIndexChanged: tabrow.positionViewAtIndex(currentIndex, ListView.Contain) - - moveDisplaced: Transition { - NumberAnimation { - property: "x" - duration: 125 - easing.type: Easing.OutQuad - } - } - - states: [ - State { - name: "left" - when: tabsAlignment === Qt.AlignLeft - AnchorChanges { target:tabrow ; anchors.left: parent.left } - PropertyChanges { target:tabrow ; anchors.leftMargin: leftCorner.width } - }, - State { - name: "center" - when: tabsAlignment === Qt.AlignHCenter - AnchorChanges { target:tabrow ; anchors.horizontalCenter: tabbar.horizontalCenter } - }, - State { - name: "right" - when: tabsAlignment === Qt.AlignRight - AnchorChanges { target:tabrow ; anchors.right: parent.right } - PropertyChanges { target:tabrow ; anchors.rightMargin: rightCorner.width } - } - ] - - model: tabView.__tabs - - delegate: MouseArea { - id: tabitem - objectName: "mousearea" - hoverEnabled: Settings.hoverEnabled - focus: true - enabled: modelData.enabled - - Qml.Binding { - target: tabbar - when: selected - property: "__selectedTabRect" - value: Qt.rect(x, y, width, height) - restoreMode: Binding.RestoreBinding - } - - drag.target: tabsMovable ? tabloader : null - drag.axis: Drag.XAxis - drag.minimumX: drag.active ? 0 : -Number.MAX_VALUE - drag.maximumX: tabrow.width - tabitem.width - - property int tabindex: index - property bool selected : tabView.currentIndex === index - property string title: modelData.title - property bool nextSelected: tabView.currentIndex === index + 1 - property bool previousSelected: tabView.currentIndex === index - 1 - - property bool keyPressed: false - property bool effectivePressed: pressed && containsMouse || keyPressed - - z: selected ? 1 : -index - implicitWidth: tabloader.implicitWidth - implicitHeight: tabloader.implicitHeight - - function changeTab() { - tabView.currentIndex = index; - var next = tabbar.nextItemInFocusChain(true); - if (__isAncestorOf(tabView.getTab(currentIndex), next)) - next.forceActiveFocus(); - } - - onClicked: { - if (tabrow.interactive) { - changeTab() - } - } - onPressed: { - if (!tabrow.interactive) { - changeTab() - } - } - - Keys.onPressed: { - if (event.key === Qt.Key_Space && !event.isAutoRepeat && !tabitem.pressed) - tabitem.keyPressed = true - } - Keys.onReleased: { - if (event.key === Qt.Key_Space && !event.isAutoRepeat && tabitem.keyPressed) - tabitem.keyPressed = false - } - onFocusChanged: if (!focus) tabitem.keyPressed = false - - Loader { - id: tabloader - - property Item control: tabView - property int index: tabindex - - property QtObject styleData: QtObject { - readonly property alias index: tabitem.tabindex - readonly property alias selected: tabitem.selected - readonly property alias title: tabitem.title - readonly property alias nextSelected: tabitem.nextSelected - readonly property alias previousSelected: tabitem.previousSelected - readonly property alias pressed: tabitem.effectivePressed - readonly property alias hovered: tabitem.containsMouse - readonly property alias enabled: tabitem.enabled - readonly property bool activeFocus: tabitem.activeFocus - readonly property real availableWidth: tabbar.availableWidth - readonly property real totalWidth: tabrow.contentWidth - } - - sourceComponent: loader.item ? loader.item.tab : null - - Drag.keys: "application/x-tabbartab" - Drag.active: tabitem.drag.active - Drag.source: tabitem - - property real __prevX: 0 - property real __dragX: 0 - onXChanged: { - if (Drag.active) { - // keep track for the snap back animation - __dragX = tabitem.mapFromItem(tabrow, tabloader.x, 0).x - - // when moving to the left, the hot spot is the left edge and vice versa - Drag.hotSpot.x = x < __prevX ? 0 : width - __prevX = x - } - } - - width: tabitem.width - state: Drag.active ? "drag" : "" - - transitions: [ - Transition { - to: "drag" - PropertyAction { target: tabloader; property: "parent"; value: tabrow } - }, - Transition { - from: "drag" - SequentialAnimation { - PropertyAction { target: tabloader; property: "parent"; value: tabitem } - NumberAnimation { - target: tabloader - duration: 50 - easing.type: Easing.OutQuad - property: "x" - from: tabloader.__dragX - to: 0 - } - } - } - ] - } - - Accessible.role: Accessible.PageTab - Accessible.name: modelData.title - } - } - - Loader { - id: leftCorner - anchors.verticalCenter: parent.verticalCenter - anchors.left: parent.left - sourceComponent: styleItem ? styleItem.leftCorner : undefined - width: item ? item.implicitWidth : 0 - height: item ? item.implicitHeight : 0 - } - - Loader { - id: rightCorner - anchors.verticalCenter: parent.verticalCenter - anchors.right: parent.right - sourceComponent: styleItem ? styleItem.rightCorner : undefined - width: item ? item.implicitWidth : 0 - height: item ? item.implicitHeight : 0 - } - - DropArea { - anchors.fill: tabrow - keys: "application/x-tabbartab" - onPositionChanged: { - var source = drag.source - var target = tabrow.itemAt(drag.x, drag.y) - if (source && target && source !== target) { - source = source.drag.target - target = target.drag.target - var center = target.parent.x + target.width / 2 - if ((source.index > target.index && source.x < center) - || (source.index < target.index && source.x + source.width > center)) - tabView.moveTab(source.index, target.index) - } - } - } -} diff --git a/bin/QtQuick/Controls/Private/TableViewItemDelegateLoader.qml b/bin/QtQuick/Controls/Private/TableViewItemDelegateLoader.qml deleted file mode 100644 index c5c6584a8..000000000 --- a/bin/QtQuick/Controls/Private/TableViewItemDelegateLoader.qml +++ /dev/null @@ -1,102 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -// -// W A R N I N G -// ------------- -// -// This file is not part of the Qt API. It exists purely as an -// implementation detail. This file may change from version to -// version without notice, or even be removed. -// -// We mean it. -// - -import QtQuick 2.5 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 - -/*! - \qmltype TableViewItemDelegateLoader - \internal - \qmlabstract - \inqmlmodule QtQuick.Controls.Private -*/ - -Loader { - id: itemDelegateLoader - - width: __column ? __column.width : 0 - height: parent ? parent.height : 0 - visible: __column ? __column.visible : false - - property bool isValid: false - sourceComponent: (__model === undefined || !isValid) ? null - : __column && __column.delegate ? __column.delegate : __itemDelegate - - // All these properties are internal - property int __index: index - property Item __rowItem: null - property var __model: __rowItem ? __rowItem.itemModel : undefined - property var __modelData: __rowItem ? __rowItem.itemModelData : undefined - property TableViewColumn __column: null - property Component __itemDelegate: null - property var __mouseArea: null - property var __style: null - - // These properties are exposed to the item delegate - readonly property var model: __model - readonly property var modelData: __modelData - - property QtObject styleData: QtObject { - readonly property int row: __rowItem ? __rowItem.rowIndex : -1 - readonly property int column: __index - readonly property int elideMode: __column ? __column.elideMode : Text.ElideLeft - readonly property int textAlignment: __column ? __column.horizontalAlignment : Text.AlignLeft - readonly property bool selected: __rowItem ? __rowItem.itemSelected : false - readonly property bool hasActiveFocus: __rowItem ? __rowItem.activeFocus : false - readonly property bool pressed: __mouseArea && row === __mouseArea.pressedRow && column === __mouseArea.pressedColumn - readonly property color textColor: __rowItem ? __rowItem.itemTextColor : "black" - readonly property string role: __column ? __column.role : "" - readonly property var value: model && model.hasOwnProperty(role) ? model[role] // Qml ListModel and QAbstractItemModel - : modelData && modelData.hasOwnProperty(role) ? modelData[role] // QObjectList / QObject - : modelData != undefined ? modelData : "" // Models without role - onRowChanged: if (row !== -1) itemDelegateLoader.isValid = true - } -} diff --git a/bin/QtQuick/Controls/Private/TableViewSelection.qml b/bin/QtQuick/Controls/Private/TableViewSelection.qml deleted file mode 100644 index e8af9dd99..000000000 --- a/bin/QtQuick/Controls/Private/TableViewSelection.qml +++ /dev/null @@ -1,196 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -QtObject { - - property int count: 0 - signal selectionChanged - - property bool __dirty: false - property var __ranges: [] - - function forEach (callback) { - if (!(callback instanceof Function)) { - console.warn("TableViewSelection.forEach: argument is not a function") - return; - } - __forEach(callback, -1) - } - - function contains(index) { - for (var i = 0 ; i < __ranges.length ; ++i) { - if (__ranges[i][0] <= index && index <= __ranges[i][1]) - return true; - else if (__ranges[i][0] > index) - return false; - } - return false; - } - - function clear() { - __ranges = [] - __dirty = true - count = 0 - selectionChanged() - } - - function selectAll() { select(0, rowCount - 1) } - function select(first, last) { __select(true, first, last) } - function deselect(first, last) { __select(false, first, last) } - - // --- private section --- - - function __printRanges() { - var out = "" - for (var i = 0 ; i < __ranges.length ; ++ i) - out += ("{" + __ranges[i][0] + "," + __ranges[i][1] + "} ") - print(out) - } - - function __count() { - var sum = 0 - for (var i = 0 ; i < __ranges.length ; ++i) { - sum += (1 + __ranges[i][1] - __ranges[i][0]) - } - return sum - } - - function __forEach (callback, startIndex) { - __dirty = false - var i, j - - for (i = 0 ; i < __ranges.length && !__dirty ; ++i) { - for (j = __ranges[i][0] ; !__dirty && j <= __ranges[i][1] ; ++j) { - if (j >= startIndex) - callback.call(this, j) - } - } - - // Restart iteration at last index if selection changed - if (__dirty) - return __forEach(callback, j) - } - - function __selectOne(index) { - __ranges = [[index, index]] - __dirty = true - count = 1 - selectionChanged(); - } - - function __select(select, first, last) { - - var i, range - var start = first - var stop = first - var startRangeIndex = -1 - var stopRangeIndex = -1 - var newRangePos = 0 - - if (first < 0 || last < 0 || first >= rowCount || last >=rowCount) { - console.warn("TableViewSelection: index out of range") - return - } - - if (last !== undefined) { - start = first <= last ? first : last - stop = first <= last ? last : first - } - - if (select) { - - // Find beginning and end ranges - for (i = 0 ; i < __ranges.length; ++ i) { - range = __ranges[i] - if (range[0] > stop + 1) continue; // above range - if (range[1] < start - 1) { // below range - newRangePos = i + 1 - continue; - } - if (startRangeIndex === -1) - startRangeIndex = i - stopRangeIndex = i - } - - if (startRangeIndex !== -1) - start = Math.min(__ranges[startRangeIndex][0], start) - if (stopRangeIndex !== -1) - stop = Math.max(__ranges[stopRangeIndex][1], stop) - - if (startRangeIndex === -1) - startRangeIndex = newRangePos - - __ranges.splice(Math.max(0, startRangeIndex), - 1 + stopRangeIndex - startRangeIndex, [start, stop]) - - } else { - - // Find beginning and end ranges - for (i = 0 ; i < __ranges.length; ++ i) { - range = __ranges[i] - if (range[1] < start) continue; // below range - if (range[0] > stop) continue; // above range - if (startRangeIndex === -1) - startRangeIndex = i - stopRangeIndex = i - } - - // Slice ranges accordingly - if (startRangeIndex >= 0 && stopRangeIndex >= 0) { - var startRange = __ranges[startRangeIndex] - var stopRange = __ranges[stopRangeIndex] - var length = 1 + stopRangeIndex - startRangeIndex - if (start <= startRange[0] && stop >= stopRange[1]) { //remove - __ranges.splice(startRangeIndex, length) - } else if (start - 1 < startRange[0] && stop <= stopRange[1]) { //cut front - __ranges.splice(startRangeIndex, length, [stop + 1, stopRange[1]]) - } else if (start - 1 < startRange[1] && stop >= stopRange[1]) { // cut back - __ranges.splice(startRangeIndex, length, [startRange[0], start - 1]) - } else { //split - __ranges.splice(startRangeIndex, length, [startRange[0], start - 1], [stop + 1, stopRange[1]]) - } - } - } - __dirty = true - count = __count() // forces a re-evaluation of indexes in the delegates - selectionChanged() - } -} diff --git a/bin/QtQuick/Controls/Private/TextHandle.qml b/bin/QtQuick/Controls/Private/TextHandle.qml deleted file mode 100644 index 45e97f71a..000000000 --- a/bin/QtQuick/Controls/Private/TextHandle.qml +++ /dev/null @@ -1,126 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Loader { - id: handle - - property Item editor - property int minimum: -1 - property int maximum: -1 - property int position: -1 - property alias delegate: handle.sourceComponent - - readonly property alias pressed: mouse.pressed - - readonly property real handleX: x + (item ? item.x : 0) - readonly property real handleY: y + (item ? item.y : 0) - readonly property real handleWidth: item ? item.width : 0 - readonly property real handleHeight: item ? item.height : 0 - - property Item control - property QtObject styleData: QtObject { - id: styleData - signal activated() - readonly property alias pressed: mouse.pressed - readonly property alias position: handle.position - readonly property bool hasSelection: editor.selectionStart !== editor.selectionEnd - readonly property real lineHeight: position !== -1 ? editor.positionToRectangle(position).height - : editor.cursorRectangle.height - } - - function activate() { - styleData.activated() - } - - MouseArea { - id: mouse - anchors.fill: item - enabled: item && item.visible - preventStealing: true - property real pressX - property point offset - property bool handleDragged: false - - onPressed: { - Qt.inputMethod.commit() - handleDragged = false - pressX = mouse.x - var handleRect = editor.positionToRectangle(handle.position) - var centerX = handleRect.x + (handleRect.width / 2) - var centerY = handleRect.y + (handleRect.height / 2) - var center = mapFromItem(editor, centerX, centerY) - offset = Qt.point(mouseX - center.x, mouseY - center.y) - } - onReleased: { - if (!handleDragged) { - // The user just clicked on the handle. In that - // case clear the selection. - var mousePos = editor.mapFromItem(item, mouse.x, mouse.y) - var editorPos = editor.positionAt(mousePos.x, mousePos.y) - editor.select(editorPos, editorPos) - } - } - onPositionChanged: { - handleDragged = true - var pt = mapToItem(editor, mouse.x - offset.x, mouse.y - offset.y) - - // limit vertically within mix/max coordinates or content bounds - var min = (minimum !== -1) ? minimum : 0 - var max = (maximum !== -1) ? maximum : editor.length - pt.y = Math.max(pt.y, editor.positionToRectangle(min).y) - pt.y = Math.min(pt.y, editor.positionToRectangle(max).y) - - var pos = editor.positionAt(pt.x, pt.y) - - // limit horizontally within min/max character positions - if (minimum !== -1) - pos = Math.max(pos, minimum) - pos = Math.max(pos, 0) - if (maximum !== -1) - pos = Math.min(pos, maximum) - pos = Math.min(pos, editor.length) - - handle.position = pos - } - } -} diff --git a/bin/QtQuick/Controls/Private/TextInputWithHandles.qml b/bin/QtQuick/Controls/Private/TextInputWithHandles.qml deleted file mode 100644 index ac78c2692..000000000 --- a/bin/QtQuick/Controls/Private/TextInputWithHandles.qml +++ /dev/null @@ -1,201 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Window 2.2 -import QtQuick.Controls.Private 1.0 - -TextInput { - id: input - - property Item control - property alias cursorHandle: cursorHandle.delegate - property alias selectionHandle: selectionHandle.delegate - - property bool blockRecursion: false - property bool hasSelection: selectionStart !== selectionEnd - readonly property int selectionPosition: selectionStart !== cursorPosition ? selectionStart : selectionEnd - readonly property alias containsMouse: mouseArea.containsMouse - property alias editMenu: editMenu - cursorDelegate: __style && __style.__cursorDelegate ? __style.__cursorDelegate : null - - selectByMouse: control.selectByMouse && (!Settings.isMobile || !cursorHandle.delegate || !selectionHandle.delegate) - - // force re-evaluation when selection moves: - // - cursorRectangle changes => content scrolled - // - contentWidth changes => text layout changed - property rect selectionRectangle: cursorRectangle.x && contentWidth ? positionToRectangle(selectionPosition) - : positionToRectangle(selectionPosition) - - onSelectionStartChanged: syncHandlesWithSelection() - onCursorPositionChanged: syncHandlesWithSelection() - - function syncHandlesWithSelection() - { - if (!blockRecursion && selectionHandle.delegate) { - blockRecursion = true - // We cannot use property selectionPosition since it gets updated after onSelectionStartChanged - cursorHandle.position = cursorPosition - selectionHandle.position = (selectionStart !== cursorPosition) ? selectionStart : selectionEnd - blockRecursion = false - } - } - - function activate() { - if (activeFocusOnPress) { - forceActiveFocus() - if (!readOnly) - Qt.inputMethod.show() - } - cursorHandle.activate() - selectionHandle.activate() - } - - function moveHandles(cursor, selection) { - blockRecursion = true - cursorPosition = cursor - if (selection === -1) { - selectWord() - selection = selectionStart - } - selectionHandle.position = selection - cursorHandle.position = cursorPosition - blockRecursion = false - } - - MouseArea { - id: mouseArea - anchors.fill: parent - hoverEnabled: Settings.hoverEnabled - cursorShape: Qt.IBeamCursor - acceptedButtons: (input.selectByMouse ? Qt.NoButton : Qt.LeftButton) | (control.menu ? Qt.RightButton : Qt.NoButton) - onClicked: { - if (editMenu.item) - return; - var pos = input.positionAt(mouse.x, mouse.y) - input.moveHandles(pos, pos) - input.activate() - } - onPressAndHold: { - if (editMenu.item) - return; - var pos = input.positionAt(mouse.x, mouse.y) - input.moveHandles(pos, control.selectByMouse ? -1 : pos) - input.activate() - } - } - - EditMenu { - id: editMenu - input: parent - mouseArea: mouseArea - control: parent.control - cursorHandle: cursorHandle - selectionHandle: selectionHandle - anchors.fill: parent - } - - ScenePosListener { - id: listener - item: input - enabled: input.activeFocus && Qt.platform.os !== "ios" && Settings.isMobile - } - - TextHandle { - id: selectionHandle - - editor: input - z: 1000001 // DefaultWindowDecoration+1 - parent: !input.activeFocus || Qt.platform.os === "ios" ? control : Window.contentItem // float (QTBUG-42538) - control: input.control - active: control.selectByMouse && Settings.isMobile - maximum: cursorHandle.position - 1 - - readonly property var mappedOrigin: editor.mapToItem(parent, 0,0) - - // Mention scenePos in the mappedPos binding to force re-evaluation if it changes - readonly property var mappedPos: listener.scenePos.x !== listener.scenePos.y !== Number.MAX_VALUE ? - editor.mapToItem(parent, editor.selectionRectangle.x, editor.selectionRectangle.y) : -1 - x: mappedPos.x - y: mappedPos.y - - visible: pressed || (input.hasSelection && handleX + handleWidth >= -1 && handleX - mappedOrigin.x <= control.width + 1) - - onPositionChanged: { - if (!input.blockRecursion) { - input.blockRecursion = true - input.select(selectionHandle.position, cursorHandle.position) - if (pressed) - input.ensureVisible(position) - input.blockRecursion = false - } - } - } - - TextHandle { - id: cursorHandle - - editor: input - z: 1000001 // DefaultWindowDecoration+1 - parent: !input.activeFocus || Qt.platform.os === "ios" ? control : Window.contentItem // float (QTBUG-42538) - control: input.control - active: control.selectByMouse && Settings.isMobile - minimum: input.hasSelection ? selectionHandle.position + 1 : -1 - - readonly property var mappedOrigin: editor.mapToItem(parent, 0,0) - - // Mention scenePos in the mappedPos binding to force re-evaluation if it changes - readonly property var mappedPos: listener.scenePos.x !== listener.scenePos.y !== Number.MAX_VALUE ? - editor.mapToItem(parent, editor.cursorRectangle.x, editor.cursorRectangle.y) : -1 - x: mappedPos.x - y: mappedPos.y - - visible: pressed || ((input.cursorVisible || input.hasSelection) && handleX + handleWidth >= -1 && handleX - mappedOrigin.x <= control.width + 1) - - onPositionChanged: { - if (!input.blockRecursion) { - input.blockRecursion = true - if (!input.hasSelection) - selectionHandle.position = cursorHandle.position - input.select(selectionHandle.position, cursorHandle.position) - input.blockRecursion = false - } - } - } -} diff --git a/bin/QtQuick/Controls/Private/TextSingleton.qml b/bin/QtQuick/Controls/Private/TextSingleton.qml deleted file mode 100644 index 83254698f..000000000 --- a/bin/QtQuick/Controls/Private/TextSingleton.qml +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -pragma Singleton -import QtQuick 2.2 -Text { -} diff --git a/bin/QtQuick/Controls/Private/ToolMenuButton.qml b/bin/QtQuick/Controls/Private/ToolMenuButton.qml deleted file mode 100644 index e6fba40c5..000000000 --- a/bin/QtQuick/Controls/Private/ToolMenuButton.qml +++ /dev/null @@ -1,127 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.4 -import QtQuick.Controls 1.3 -import QtQuick.Controls.Private 1.0 - -FocusScope { - id: button - - property Menu menu - readonly property bool pressed: behavior.containsPress || behavior.keyPressed - readonly property alias hovered: behavior.containsMouse - - property alias panel: loader.sourceComponent - property alias __panel: loader.item - - activeFocusOnTab: true - Accessible.role: Accessible.Button - implicitWidth: __panel ? __panel.implicitWidth : 0 - implicitHeight: __panel ? __panel.implicitHeight : 0 - - Loader { - id: loader - anchors.fill: parent - property QtObject styleData: QtObject { - readonly property alias pressed: button.pressed - readonly property alias hovered: button.hovered - readonly property alias activeFocus: button.activeFocus - } - onStatusChanged: if (status === Loader.Error) console.error("Failed to load Style for", button) - } - - Keys.onPressed: { - if (event.key === Qt.Key_Space && !event.isAutoRepeat && !behavior.keyPressed) - behavior.keyPressed = true - } - Keys.onReleased: { - if (event.key === Qt.Key_Space && !event.isAutoRepeat && behavior.keyPressed) - behavior.keyPressed = false - } - onFocusChanged: { - if (!focus) - behavior.keyPressed = false - } - onPressedChanged: { - if (!Settings.hasTouchScreen && !pressed && menu) - popupMenuTimer.start() - } - - MouseArea { - id: behavior - property bool keyPressed: false - - anchors.fill: parent - enabled: !keyPressed - hoverEnabled: Settings.hoverEnabled - - onReleased: { - if (Settings.hasTouchScreen && containsMouse && menu) - popupMenuTimer.start() - } - - Timer { - id: popupMenuTimer - interval: 10 - onTriggered: { - behavior.keyPressed = false - if (Qt.application.layoutDirection === Qt.RightToLeft) - menu.__popup(Qt.rect(button.width, button.height, 0, 0), 0) - else - menu.__popup(Qt.rect(0, 0, button.width, button.height), 0) - } - } - } - - Qml.Binding { - target: menu - property: "__minimumWidth" - value: button.width - restoreMode: Binding.RestoreBinding - } - - Qml.Binding { - target: menu - property: "__visualItem" - value: button - restoreMode: Binding.RestoreBinding - } -} diff --git a/bin/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qml b/bin/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qml deleted file mode 100644 index ed9566afa..000000000 --- a/bin/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qml +++ /dev/null @@ -1,109 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -// -// W A R N I N G -// ------------- -// -// This file is not part of the Qt API. It exists purely as an -// implementation detail. This file may change from version to -// version without notice, or even be removed. -// -// We mean it. -// - -import QtQuick 2.5 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype TreeViewItemDelegateLoader - \internal - \qmlabstract - \inqmlmodule QtQuick.Controls.Private -*/ - -TableViewItemDelegateLoader { - id: itemDelegateLoader - - /* \internal */ - readonly property int __itemIndentation: __style && __index === 0 - ? __style.__indentation * (styleData.depth + 1) : 0 - /* \internal */ - property TreeModelAdaptor __treeModel: null - - // Exposed to the item delegate - styleData: QtObject { - readonly property int row: __rowItem ? __rowItem.rowIndex : -1 - readonly property int column: __index - readonly property int elideMode: __column ? __column.elideMode : Text.ElideLeft - readonly property int textAlignment: __column ? __column.horizontalAlignment : Text.AlignLeft - readonly property bool selected: __rowItem ? __rowItem.itemSelected : false - readonly property bool hasActiveFocus: __rowItem ? __rowItem.activeFocus : false - readonly property bool pressed: __mouseArea && row === __mouseArea.pressedRow && column === __mouseArea.pressedColumn - readonly property color textColor: __rowItem ? __rowItem.itemTextColor : "black" - readonly property string role: __column ? __column.role : "" - readonly property var value: model && model.hasOwnProperty(role) ? model[role] : "" - readonly property var index: model ? model["_q_TreeView_ModelIndex"] : __treeModel.index(-1,-1) - readonly property int depth: model && column === 0 ? model["_q_TreeView_ItemDepth"] : 0 - readonly property bool hasChildren: model ? model["_q_TreeView_HasChildren"] : false - readonly property bool hasSibling: model ? model["_q_TreeView_HasSibling"] : false - readonly property bool isExpanded: model ? model["_q_TreeView_ItemExpanded"] : false - } - - onLoaded: { - item.x = Qt.binding(function() { return __itemIndentation}) - item.width = Qt.binding(function() { return width - __itemIndentation }) - } - - Loader { - id: branchDelegateLoader - active: __model !== undefined - && __index === 0 - && styleData.hasChildren - visible: itemDelegateLoader.width > __itemIndentation - sourceComponent: __style && __style.__branchDelegate || null - anchors.right: parent.item ? parent.item.left : undefined - anchors.rightMargin: __style.__indentation > width ? (__style.__indentation - width) / 2 : 0 - anchors.verticalCenter: parent.verticalCenter - property QtObject styleData: itemDelegateLoader.styleData - onLoaded: if (__rowItem) __rowItem.branchDecoration = item - } -} diff --git a/bin/QtQuick/Controls/Private/qmldir b/bin/QtQuick/Controls/Private/qmldir deleted file mode 100644 index 9fe84203b..000000000 --- a/bin/QtQuick/Controls/Private/qmldir +++ /dev/null @@ -1,37 +0,0 @@ -module QtQuick.Controls.Private -AbstractCheckable 1.0 AbstractCheckable.qml -CalendarHeaderModel 1.0 CalendarHeaderModel.qml -Control 1.0 Control.qml -CalendarUtils 1.0 CalendarUtils.js -FocusFrame 1.0 FocusFrame.qml -Margins 1.0 Margins.qml -BasicButton 1.0 BasicButton.qml -ScrollBar 1.0 ScrollBar.qml -ScrollViewHelper 1.0 ScrollViewHelper.qml -Style 1.0 Style.qml -MenuItemSubControls 1.0 MenuItemSubControls.qml -TabBar 1.0 TabBar.qml -StackViewSlideDelegate 1.0 StackViewSlideDelegate.qml -StyleHelpers 1.0 style.js -JSArray 1.0 StackView.js -TableViewSelection 1.0 TableViewSelection.qml -FastGlow 1.0 FastGlow.qml -SourceProxy 1.0 SourceProxy.qml -GroupBoxStyle 1.0 ../Styles/Base/GroupBoxStyle.qml -FocusFrameStyle 1.0 ../Styles/Base/FocusFrameStyle.qml -ToolButtonStyle 1.0 ../Styles/Base/ToolButtonStyle.qml -MenuContentItem 1.0 MenuContentItem.qml -MenuContentScroller 1.0 MenuContentScroller.qml -ColumnMenuContent 1.0 ColumnMenuContent.qml -ContentItem 1.0 ContentItem.qml -HoverButton 1.0 HoverButton.qml -singleton SystemPaletteSingleton 1.0 SystemPaletteSingleton.qml -singleton TextSingleton 1.0 TextSingleton.qml -TextHandle 1.0 TextHandle.qml -TextInputWithHandles 1.0 TextInputWithHandles.qml -EditMenu 1.0 EditMenu.qml -EditMenu_base 1.0 EditMenu_base.qml -ToolMenuButton 1.0 ToolMenuButton.qml -BasicTableView 1.0 BasicTableView.qml -TableViewItemDelegateLoader 1.0 TableViewItemDelegateLoader.qml -TreeViewItemDelegateLoader 1.0 TreeViewItemDelegateLoader.qml diff --git a/bin/QtQuick/Controls/Private/style.js b/bin/QtQuick/Controls/Private/style.js deleted file mode 100644 index 844fdbda6..000000000 --- a/bin/QtQuick/Controls/Private/style.js +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -.pragma library - -function underlineAmpersands(match, p1, p2, p3) { - if (p2 === "&") - return p1.concat(p2, p3) - return p1.concat("", p2, "", p3) -} - -function removeAmpersands(match, p1, p2, p3) { - return p1.concat(p2, p3) -} - -function replaceAmpersands(text, replaceFunction) { - return text.replace(/([^&]*)&(.)([^&]*)/g, replaceFunction) -} - -function stylizeMnemonics(text) { - return replaceAmpersands(text, underlineAmpersands) -} - -function removeMnemonics(text) { - return replaceAmpersands(text, removeAmpersands) -} diff --git a/bin/QtQuick/Controls/ProgressBar.qml b/bin/QtQuick/Controls/ProgressBar.qml deleted file mode 100644 index 9171f7d77..000000000 --- a/bin/QtQuick/Controls/ProgressBar.qml +++ /dev/null @@ -1,167 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ProgressBar - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief A progress indicator. - - \image progressbar.png - - The ProgressBar is used to give an indication of the progress of an operation. - \l value is updated regularly and must be between \l minimumValue and \l maximumValue. - - \code - Column { - ProgressBar { - value: 0.5 - } - ProgressBar { - indeterminate: true - } - } - \endcode - - You can create a custom appearance for a ProgressBar by - assigning a \l {ProgressBarStyle}. -*/ - -Control { - id: progressbar - - /*! This property holds the progress bar's current value. - Attempting to change the current value to one outside the minimum-maximum - range has no effect on the current value. - - The default value is \c{0}. - */ - property real value: 0 - - /*! This property is the progress bar's minimum value. - The \l value is clamped to this value. - The default value is \c{0}. - */ - property real minimumValue: 0 - - /*! This property is the progress bar's maximum value. - The \l value is clamped to this value. - If maximumValue is smaller than \l minimumValue, \l minimumValue will be enforced. - The default value is \c{1}. - */ - property real maximumValue: 1 - - /*! This property toggles indeterminate mode. - When the actual progress is unknown, use this option. - The progress bar will be animated as a busy indicator instead. - The default value is \c false. - */ - property bool indeterminate: false - - /*! \qmlproperty enumeration orientation - - This property holds the orientation of the progress bar. - - \list - \li Qt.Horizontal - Horizontal orientation. (Default) - \li Qt.Vertical - Vertical orientation. - \endlist - */ - property int orientation: Qt.Horizontal - - /*! \qmlproperty bool ProgressBar::hovered - - This property indicates whether the control is being hovered. - */ - readonly property alias hovered: hoverArea.containsMouse - - /*! \internal */ - style: Settings.styleComponent(Settings.style, "ProgressBarStyle.qml", progressbar) - - /*! \internal */ - property bool __initialized: false - /*! \internal */ - onMaximumValueChanged: setValue(value) - /*! \internal */ - onMinimumValueChanged: setValue(value) - /*! \internal */ - onValueChanged: if (__initialized) setValue(value) - /*! \internal */ - Component.onCompleted: { - __initialized = true; - setValue(value) - } - - activeFocusOnTab: false - - Accessible.role: Accessible.ProgressBar - Accessible.name: value - - implicitWidth:(__panel ? __panel.implicitWidth : 0) - implicitHeight: (__panel ? __panel.implicitHeight: 0) - - MouseArea { - id: hoverArea - anchors.fill: parent - hoverEnabled: Settings.hoverEnabled - } - - /*! \internal */ - function setValue(v) { - var newval = parseFloat(v) - if (!isNaN(newval)) { - // we give minimumValue priority over maximum if they are inconsistent - if (newval > maximumValue) { - if (maximumValue >= minimumValue) - newval = maximumValue; - else - newval = minimumValue - } else if (v < minimumValue) { - newval = minimumValue - } - if (value !== newval) - value = newval - } - } -} diff --git a/bin/QtQuick/Controls/RadioButton.qml b/bin/QtQuick/Controls/RadioButton.qml deleted file mode 100644 index cc191f5b8..000000000 --- a/bin/QtQuick/Controls/RadioButton.qml +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype RadioButton - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief A radio button with a text label. - - \image radiobutton.png - - A RadioButton is an option button that can be switched on (checked) or off - (unchecked). Radio buttons typically present the user with a "one of many" - choices. In a group of radio buttons, only one radio button can be - checked at a time; if the user selects another button, the previously - selected button is switched off. - - \qml - GroupBox { - title: "Tab Position" - - RowLayout { - ExclusiveGroup { id: tabPositionGroup } - RadioButton { - text: "Top" - checked: true - exclusiveGroup: tabPositionGroup - } - RadioButton { - text: "Bottom" - exclusiveGroup: tabPositionGroup - } - } - } - \endqml - - You can create a custom appearance for a RadioButton by - assigning a \l {RadioButtonStyle}. -*/ - -AbstractCheckable { - id: radioButton - - activeFocusOnTab: true - - Accessible.name: text - Accessible.role: Accessible.RadioButton - - /*! - The style that should be applied to the radio button. Custom style - components can be created with: - - \codeline Qt.createComponent("path/to/style.qml", radioButtonId); - */ - style: Settings.styleComponent(Settings.style, "RadioButtonStyle.qml", radioButton) - - __cycleStatesHandler: function() { checked = !checked; } -} diff --git a/bin/QtQuick/Controls/ScrollView.qml b/bin/QtQuick/Controls/ScrollView.qml deleted file mode 100644 index f79cfc8e7..000000000 --- a/bin/QtQuick/Controls/ScrollView.qml +++ /dev/null @@ -1,374 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Controls.Styles 1.1 - -/*! - \qmltype ScrollView - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup views - \ingroup controls - \brief Provides a scrolling view within another Item. - - \image scrollview.png - - A ScrollView can be used either to replace a \l Flickable or decorate an - existing \l Flickable. Depending on the platform, it will add scroll bars and - a content frame. - - Only one Item can be a direct child of the ScrollView and the child is implicitly anchored - to fill the scroll view. - - Example: - \code - ScrollView { - Image { source: "largeImage.png" } - } - \endcode - - In the previous example the Image item will implicitly get scroll behavior as if it was - used within a \l Flickable. The width and height of the child item will be used to - define the size of the content area. - - Example: - \code - ScrollView { - ListView { - ... - } - } - \endcode - - In this case the content size of the ScrollView will simply mirror that of its contained - \l flickableItem. - - You can create a custom appearance for a ScrollView by - assigning a \l {ScrollViewStyle}. -*/ - -FocusScope { - id: root - - implicitWidth: 240 - implicitHeight: 150 - - /*! - This property tells the ScrollView if it should render - a frame around its content. - - The default value is \c false. - */ - property bool frameVisible: false - - /*! \qmlproperty enumeration ScrollView::horizontalScrollBarPolicy - \since QtQuick.Controls 1.3 - - This property holds the policy for showing the horizontal scrollbar. - It can be any of the following values: - \list - \li Qt.ScrollBarAsNeeded - \li Qt.ScrollBarAlwaysOff - \li Qt.ScrollBarAlwaysOn - \endlist - - The default policy is \c Qt.ScrollBarAsNeeded. - */ - property alias horizontalScrollBarPolicy: scroller.horizontalScrollBarPolicy - - /*! \qmlproperty enumeration ScrollView::verticalScrollBarPolicy - \since QtQuick.Controls 1.3 - - This property holds the policy for showing the vertical scrollbar. - It can be any of the following values: - \list - \li Qt.ScrollBarAsNeeded - \li Qt.ScrollBarAlwaysOff - \li Qt.ScrollBarAlwaysOn - \endlist - - The default policy is \c Qt.ScrollBarAsNeeded. - */ - property alias verticalScrollBarPolicy: scroller.verticalScrollBarPolicy - - /*! - This property controls if there should be a highlight - around the frame when the ScrollView has input focus. - - The default value is \c false. - - \note This property is only applicable on some platforms, such - as Mac OS. - */ - property bool highlightOnFocus: false - - /*! - \qmlproperty Item ScrollView::viewport - - The viewport determines the current "window" on the contentItem. - In other words, it clips it and the size of the viewport tells you - how much of the content area is visible. - */ - property alias viewport: viewportItem - - /*! - \qmlproperty Item ScrollView::flickableItem - - The flickableItem of the ScrollView. If the contentItem provided - to the ScrollView is a Flickable, it will be the \l contentItem. - */ - readonly property alias flickableItem: internal.flickableItem - - /*! - The contentItem of the ScrollView. This is set by the user. - - Note that the definition of contentItem is somewhat different to that - of a Flickable, where the contentItem is implicitly created. - */ - default property Item contentItem - - /*! \internal */ - property alias __scroller: scroller - /*! \internal */ - property alias __verticalScrollbarOffset: scroller.verticalScrollbarOffset - /*! \internal */ - property alias __wheelAreaScrollSpeed: wheelArea.scrollSpeed - /*! \internal */ - property int __scrollBarTopMargin: 0 - /*! \internal */ - property int __viewTopMargin: 0 - /*! \internal */ - property alias __horizontalScrollBar: scroller.horizontalScrollBar - /*! \internal */ - property alias __verticalScrollBar: scroller.verticalScrollBar - /*! \qmlproperty Component ScrollView::style - - The style Component for this control. - \sa {Qt Quick Controls 1 Styles QML Types} - - */ - property Component style: Settings.styleComponent(Settings.style, "ScrollViewStyle.qml", root) - - /*! \internal */ - property Style __style: styleLoader.item - - activeFocusOnTab: false - - onContentItemChanged: { - - if (contentItem.hasOwnProperty("contentY") && // Check if flickable - contentItem.hasOwnProperty("contentHeight")) { - internal.flickableItem = contentItem // "Use content if it is a flickable - internal.flickableItem.parent = viewportItem - } else { - internal.flickableItem = flickableComponent.createObject(viewportItem) - contentItem.parent = internal.flickableItem.contentItem - } - internal.flickableItem.anchors.fill = viewportItem - if (!Settings.hasTouchScreen) - internal.flickableItem.interactive = false - } - - - children: Item { - id: internal - - property Flickable flickableItem - - Loader { - id: styleLoader - sourceComponent: style - onStatusChanged: { - if (status === Loader.Error) - console.error("Failed to load Style for", root) - } - property alias __control: root - } - - Qml.Binding { - target: flickableItem - property: "contentHeight" - when: contentItem !== flickableItem - value: contentItem ? contentItem.height : 0 - restoreMode: Binding.RestoreBinding - } - - Qml.Binding { - target: flickableItem - when: contentItem !== flickableItem - property: "contentWidth" - value: contentItem ? contentItem.width : 0 - restoreMode: Binding.RestoreBinding - } - - Connections { - target: flickableItem - - function onContentYChanged() { - scroller.blockUpdates = true - scroller.verticalScrollBar.value = flickableItem.contentY - flickableItem.originY - scroller.blockUpdates = false - } - - function onContentXChanged() { - scroller.blockUpdates = true - scroller.horizontalScrollBar.value = flickableItem.contentX - flickableItem.originX - scroller.blockUpdates = false - } - - } - - anchors.fill: parent - - Component { - id: flickableComponent - Flickable {} - } - - WheelArea { - id: wheelArea - parent: flickableItem - z: -1 - // ### Note this is needed due to broken mousewheel behavior in Flickable. - - anchors.fill: parent - - property int acceleration: 40 - property int flickThreshold: Settings.dragThreshold - property real speedThreshold: 3 - property real ignored: 0.001 // ## flick() does not work with 0 yVelocity - property int maxFlick: 400 - - property bool horizontalRecursionGuard: false - property bool verticalRecursionGuard: false - - horizontalMinimumValue: 0 - horizontalMaximumValue: flickableItem ? flickableItem.contentWidth - viewport.width : 0 - onHorizontalMaximumValueChanged: { - wheelArea.horizontalRecursionGuard = true - //if horizontalMaximumValue changed, horizontalValue may be actually synced with - wheelArea.horizontalValue = flickableItem.contentX - flickableItem.originX; - wheelArea.horizontalRecursionGuard = false - } - - verticalMinimumValue: 0 - verticalMaximumValue: flickableItem ? flickableItem.contentHeight - viewport.height + __viewTopMargin : 0 - onVerticalMaximumValueChanged: { - wheelArea.verticalRecursionGuard = true - //if verticalMaximumValue changed, verticalValue may be actually synced with - wheelArea.verticalValue = flickableItem.contentY - flickableItem.originY; - wheelArea.verticalRecursionGuard = false - } - - // The default scroll speed for typical angle-based mouse wheels. The value - // comes originally from QTextEdit, which sets 20px steps by default, as well as - // QQuickWheelArea. - // TODO: centralize somewhere, QPlatformTheme? - scrollSpeed: 20 * (__style && __style.__wheelScrollLines || 1) - - Connections { - target: flickableItem - - function onContentYChanged() { - wheelArea.verticalRecursionGuard = true - wheelArea.verticalValue = flickableItem.contentY - flickableItem.originY - wheelArea.verticalRecursionGuard = false - } - function onContentXChanged() { - wheelArea.horizontalRecursionGuard = true - wheelArea.horizontalValue = flickableItem.contentX - flickableItem.originX - wheelArea.horizontalRecursionGuard = false - } - } - - onVerticalValueChanged: { - if (!verticalRecursionGuard) { - var effectiveContentY = flickableItem.contentY - flickableItem.originY - if (effectiveContentY < flickThreshold && verticalDelta > speedThreshold) { - flickableItem.flick(ignored, Math.min(maxFlick, acceleration * verticalDelta)) - } else if (effectiveContentY > flickableItem.contentHeight - flickThreshold - viewport.height - && verticalDelta < -speedThreshold) { - flickableItem.flick(ignored, Math.max(-maxFlick, acceleration * verticalDelta)) - } else { - flickableItem.contentY = verticalValue + flickableItem.originY - } - } - } - - onHorizontalValueChanged: { - if (!horizontalRecursionGuard) - flickableItem.contentX = horizontalValue + flickableItem.originX - } - } - - ScrollViewHelper { - id: scroller - anchors.fill: parent - active: wheelArea.active - property bool outerFrame: !frameVisible || !(__style ? __style.__externalScrollBars : 0) - property int scrollBarSpacing: outerFrame ? 0 : (__style ? __style.__scrollBarSpacing : 0) - property int verticalScrollbarOffset: verticalScrollBar.visible && !verticalScrollBar.isTransient ? - verticalScrollBar.width + scrollBarSpacing : 0 - property int horizontalScrollbarOffset: horizontalScrollBar.visible && !horizontalScrollBar.isTransient ? - horizontalScrollBar.height + scrollBarSpacing : 0 - Loader { - id: frameLoader - sourceComponent: __style ? __style.frame : null - anchors.fill: parent - anchors.rightMargin: scroller.outerFrame ? 0 : scroller.verticalScrollbarOffset - anchors.bottomMargin: scroller.outerFrame ? 0 : scroller.horizontalScrollbarOffset - } - - Item { - id: viewportItem - anchors.fill: frameLoader - anchors.topMargin: frameVisible ? __style.padding.top : 0 - anchors.leftMargin: frameVisible ? __style.padding.left : 0 - anchors.rightMargin: (frameVisible ? __style.padding.right : 0) + (scroller.outerFrame ? scroller.verticalScrollbarOffset : 0) - anchors.bottomMargin: (frameVisible ? __style.padding.bottom : 0) + (scroller.outerFrame ? scroller.horizontalScrollbarOffset : 0) - clip: true - } - } - FocusFrame { visible: highlightOnFocus && root.activeFocus } - } -} diff --git a/bin/QtQuick/Controls/Slider.qml b/bin/QtQuick/Controls/Slider.qml deleted file mode 100644 index ff2f0c234..000000000 --- a/bin/QtQuick/Controls/Slider.qml +++ /dev/null @@ -1,347 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype Slider - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief Provides a vertical or horizontal slider control. - - \image slider.png - - The slider is the classic control for providing a bounded value. It lets - the user move a slider handle along a horizontal or vertical groove - and translates the handle's position into a value within the legal range. - - \code - Slider { - value: 0.5 - } - \endcode - - The slider value is by default in the range [0, 1]. If integer values are - needed, you can set the \l stepSize. - - You can create a custom appearance for a Slider by - assigning a \l {SliderStyle}. -*/ - -Control { - id: slider - - /*! - \qmlproperty enumeration Slider::orientation - - This property holds the layout orientation of the slider. - The default value is \c Qt.Horizontal. - */ - property int orientation: Qt.Horizontal - - /*! - \qmlproperty real Slider::minimumValue - - This property holds the minimum value of the slider. - The default value is \c{0.0}. - */ - property alias minimumValue: range.minimumValue - - /*! - \qmlproperty real Slider::maximumValue - - This property holds the maximum value of the slider. - The default value is \c{1.0}. - */ - property alias maximumValue: range.maximumValue - - /*! - \qmlproperty bool Slider::updateValueWhileDragging - - This property indicates whether the current \l value should be updated while - the user is moving the slider handle, or only when the button has been released. - This property could for instance be modified if changing the slider value would turn - out to be too time consuming. - - The default value is \c true. - */ - property bool updateValueWhileDragging: true - - /*! - \qmlproperty bool Slider::pressed - - This property indicates whether the slider handle is being pressed. - */ - readonly property alias pressed: mouseArea.pressed - - /*! - \qmlproperty bool Slider::hovered - - This property indicates whether the slider handle is being hovered. - */ - readonly property alias hovered: mouseArea.handleHovered - - /*! - \qmlproperty real Slider::stepSize - - This property indicates the slider step size. - - A value of 0 indicates that the value of the slider operates in a - continuous range between \l minimumValue and \l maximumValue. - - Any non 0 value indicates a discrete stepSize. The following example - will generate a slider with integer values in the range [0-5]. - - \qml - Slider { - maximumValue: 5.0 - stepSize: 1.0 - } - \endqml - - The default value is \c{0.0}. - */ - property alias stepSize: range.stepSize - - /*! - \qmlproperty real Slider::value - - This property holds the current value of the slider. - The default value is \c{0.0}. - */ - property alias value: range.value - - /*! - \qmlproperty bool Slider::activeFocusOnPress - - This property indicates whether the slider should receive active focus when - pressed. - */ - property bool activeFocusOnPress: false - - /*! - \qmlproperty bool Slider::tickmarksEnabled - - This property indicates whether the slider should display tickmarks - at step intervals. Tick mark spacing is calculated based on the - \l stepSize property. - - The default value is \c false. - - \note This property may be ignored on some platforms when using the native style (e.g. Android). - */ - property bool tickmarksEnabled: false - - /*! - \qmlproperty bool Slider::wheelEnabled - - This property determines whether the control handles wheel events. - The default value is \c true. - - \since QtQuick.Controls 1.6 - */ - property alias wheelEnabled: wheelarea.enabled - - /*! \internal */ - property bool __horizontal: orientation === Qt.Horizontal - - /*! \internal - The extra arguments positionAtMinimum and positionAtMaximum are there to force - re-evaluation of the handle position when the constraints change (QTBUG-41255), - and the same for range.minimumValue (QTBUG-51765) and range.maximumValue (QTBUG-63354). - */ - property real __handlePos: range.valueForPosition(__horizontal ? fakeHandle.x : fakeHandle.y, - range.positionAtMinimum, range.positionAtMaximum, range.minimumValue, range.maximumValue) - - activeFocusOnTab: true - - Accessible.role: Accessible.Slider - /*! \internal */ - function accessibleIncreaseAction() { - range.increaseSingleStep() - } - /*! \internal */ - function accessibleDecreaseAction() { - range.decreaseSingleStep() - } - - style: Settings.styleComponent(Settings.style, "SliderStyle.qml", slider) - - Keys.onRightPressed: if (__horizontal) range.increaseSingleStep() - Keys.onLeftPressed: if (__horizontal) range.decreaseSingleStep() - Keys.onUpPressed: if (!__horizontal) range.increaseSingleStep() - Keys.onDownPressed: if (!__horizontal) range.decreaseSingleStep() - - RangeModel { - id: range - minimumValue: 0.0 - maximumValue: 1.0 - value: 0 - stepSize: 0.0 - inverted: __horizontal ? false : true - - positionAtMinimum: 0 - positionAtMaximum: __horizontal ? slider.width - fakeHandle.width : slider.height - fakeHandle.height - } - - Item { - id: fakeHandle - anchors.verticalCenter: __horizontal ? parent.verticalCenter : undefined - anchors.horizontalCenter: !__horizontal ? parent.horizontalCenter : undefined - width: __panel.handleWidth - height: __panel.handleHeight - - function updatePos() { - if (updateValueWhileDragging && !mouseArea.drag.active) - range.position = __horizontal ? x : y - } - - onXChanged: updatePos(); - onYChanged: updatePos(); - } - - MouseArea { - id: mouseArea - - anchors.fill: parent - hoverEnabled: Settings.hoverEnabled - property int clickOffset: 0 - property real pressX: 0 - property real pressY: 0 - property bool handleHovered: false - - function clamp ( val ) { - return Math.max(range.positionAtMinimum, Math.min(range.positionAtMaximum, val)) - } - - function updateHandlePosition(mouse, force) { - var pos, overThreshold - if (__horizontal) { - pos = clamp (mouse.x + clickOffset - fakeHandle.width/2) - overThreshold = Math.abs(mouse.x - pressX) >= Settings.dragThreshold - if (overThreshold) - preventStealing = true - if (overThreshold || force) - fakeHandle.x = pos - } else if (!__horizontal) { - pos = clamp (mouse.y + clickOffset- fakeHandle.height/2) - overThreshold = Math.abs(mouse.y - pressY) >= Settings.dragThreshold - if (overThreshold) - preventStealing = true - if (overThreshold || force) - fakeHandle.y = pos - } - } - - onPositionChanged: { - if (pressed) - updateHandlePosition(mouse, !Settings.hasTouchScreen || preventStealing) - - var point = mouseArea.mapToItem(fakeHandle, mouse.x, mouse.y) - handleHovered = fakeHandle.contains(Qt.point(point.x, point.y)) - } - - onPressed: { - if (slider.activeFocusOnPress) - slider.forceActiveFocus(); - - if (handleHovered) { - var point = mouseArea.mapToItem(fakeHandle, mouse.x, mouse.y) - clickOffset = __horizontal ? fakeHandle.width/2 - point.x : fakeHandle.height/2 - point.y - } - pressX = mouse.x - pressY = mouse.y - updateHandlePosition(mouse, !Settings.hasTouchScreen) - } - - onReleased: { - updateHandlePosition(mouse, Settings.hasTouchScreen) - // If we don't update while dragging, this is the only - // moment that the range is updated. - if (!slider.updateValueWhileDragging) - range.position = __horizontal ? fakeHandle.x : fakeHandle.y; - clickOffset = 0 - preventStealing = false - } - - onExited: handleHovered = false - } - - - // During the drag, we simply ignore the position set from the range, this - // means that setting a value while dragging will not "interrupt" the - // dragging activity. - Qml.Binding { - when: !mouseArea.drag.active - target: fakeHandle - property: __horizontal ? "x" : "y" - value: range.position - restoreMode: Binding.RestoreBinding - } - - WheelArea { - id: wheelarea - anchors.fill: parent - verticalValue: slider.value - horizontalValue: slider.value - horizontalMinimumValue: slider.minimumValue - horizontalMaximumValue: slider.maximumValue - verticalMinimumValue: slider.minimumValue - verticalMaximumValue: slider.maximumValue - property real step: (slider.maximumValue - slider.minimumValue)/(range.positionAtMaximum - range.positionAtMinimum) - - onVerticalWheelMoved: { - if (verticalDelta !== 0) { - var delta = Math.abs(verticalDelta)*step > stepSize ? verticalDelta*step : verticalDelta/Math.abs(verticalDelta)*stepSize - range.position = range.positionForValue(value - delta * (inverted ? 1 : -1)) - } - } - - onHorizontalWheelMoved: { - if (horizontalDelta !== 0) { - var delta = Math.abs(horizontalDelta)*step > stepSize ? horizontalDelta*step : horizontalDelta/Math.abs(horizontalDelta)*stepSize - range.position = range.positionForValue(value + delta * (inverted ? 1 : -1)) - } - } - } -} diff --git a/bin/QtQuick/Controls/SpinBox.qml b/bin/QtQuick/Controls/SpinBox.qml deleted file mode 100644 index b7ec6a8f8..000000000 --- a/bin/QtQuick/Controls/SpinBox.qml +++ /dev/null @@ -1,397 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype SpinBox - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief Provides a spin box control. - - \image spinbox.png - - SpinBox allows the user to choose a value by clicking the up or down buttons, or by - pressing up or down on the keyboard. The user can also type the value in manually. - - By default the SpinBox provides discrete values in the range [0-99] with a \l stepSize of 1 and 0 \l decimals. - - \code - SpinBox { - id: spinbox - } - \endcode - - Note that if you require decimal values you will need to set the \l decimals to a non 0 value. - - \code - SpinBox { - id: spinbox - decimals: 2 - } - \endcode - -*/ - -Control { - id: spinbox - - /*! - \qmlproperty real SpinBox::value - - The value of this SpinBox, clamped to \l minimumValue and \l maximumValue. - - The default value is \c{0.0}. - */ - property alias value: validator.value - - /*! - \qmlproperty real SpinBox::minimumValue - - The minimum value of the SpinBox range. - The \l value is clamped to this value. - - The default value is \c{0.0}. - */ - property alias minimumValue: validator.minimumValue - - /*! - \qmlproperty real SpinBox::maximumValue - - The maximum value of the SpinBox range. - The \l value is clamped to this value. If maximumValue is smaller than - \l minimumValue, \l minimumValue will be enforced. - - The default value is \c{99}. - */ - property alias maximumValue: validator.maximumValue - - /*! \qmlproperty real SpinBox::stepSize - The amount by which the \l value is incremented/decremented when a - spin button is pressed. - - The default value is \c{1.0}. - */ - property alias stepSize: validator.stepSize - - /*! \qmlproperty string SpinBox::suffix - The suffix for the value. I.e "cm" */ - property alias suffix: validator.suffix - - /*! \qmlproperty string SpinBox::prefix - The prefix for the value. I.e "$" */ - property alias prefix: validator.prefix - - /*! \qmlproperty int SpinBox::decimals - This property indicates the amount of decimals. - Note that if you enter more decimals than specified, they will - be truncated to the specified amount of decimal places. - The default value is \c{0}. - */ - property alias decimals: validator.decimals - - /*! \qmlproperty font SpinBox::font - - This property indicates the current font used by the SpinBox. - */ - property alias font: input.font - - /*! - \qmlproperty int SpinBox::cursorPosition - \since QtQuick.Controls 1.5 - - This property holds the position of the cursor in the SpinBox. - */ - property alias cursorPosition: input.cursorPosition - - - /*! This property indicates whether the Spinbox should get active - focus when pressed. - The default value is \c true. - */ - property bool activeFocusOnPress: true - - /*! \qmlproperty enumeration horizontalAlignment - \since QtQuick.Controls 1.1 - - This property indicates how the content is horizontally aligned - within the text field. - - The supported values are: - \list - \li Qt.AlignLeft - \li Qt.AlignHCenter - \li Qt.AlignRight - \endlist - - The default value is style dependent. - */ - property int horizontalAlignment: __panel ? __panel.horizontalAlignment : Qt.AlignLeft - - /*! - \qmlproperty bool SpinBox::hovered - - This property indicates whether the control is being hovered. - */ - readonly property bool hovered: mouseArea.containsMouse || input.containsMouse - || mouseUp.containsMouse || mouseDown.containsMouse - - /*! - \qmlsignal SpinBox::editingFinished() - \since QtQuick.Controls 1.1 - - This signal is emitted when the Return or Enter key is pressed or - the control loses focus. - - The corresponding handler is \c onEditingFinished. - */ - signal editingFinished() - - /*! - \qmlproperty bool SpinBox::selectByMouse - \since QtQuick.Controls 1.3 - - This property determines if the user can select the text with the - mouse. - - The default value is \c true. - */ - property bool selectByMouse: true - - /*! - \qmlproperty bool SpinBox::inputMethodComposing - \since QtQuick.Controls 1.3 - - This property holds whether the SpinBox has partial text input from an input method. - - While it is composing an input method may rely on mouse or key events from the SpinBox - to edit or commit the partial text. This property can be used to determine when to disable - events handlers that may interfere with the correct operation of an input method. - */ - readonly property bool inputMethodComposing: !!input.inputMethodComposing - - /*! - \since QtQuick.Controls 1.3 - - This property contains the edit \l Menu for working - with text selection. Set it to \c null if no menu - is wanted. - */ - property Component menu: input.editMenu.defaultMenu - - style: Settings.styleComponent(Settings.style, "SpinBoxStyle.qml", spinbox) - - /*! \internal */ - function __increment() { - validator.increment() - if (activeFocus) - input.selectValue() - } - - /*! \internal */ - function __decrement() { - validator.decrement() - if (activeFocus) - input.selectValue() - } - - /*! \internal */ - property alias __text: input.text - - /*! \internal */ - property alias __baselineOffset: input.baselineOffset - - __styleData: QtObject { - readonly property bool upEnabled: value != maximumValue; - readonly property alias upHovered: mouseUp.containsMouse - readonly property alias upPressed: mouseUp.pressed - - readonly property bool downEnabled: value != minimumValue; - readonly property alias downPressed: mouseDown.pressed - readonly property alias downHovered: mouseDown.containsMouse - - readonly property int contentHeight: Math.max(input.implicitHeight, 16) - readonly property int contentWidth: Math.max(maxSizeHint.implicitWidth, minSizeHint.implicitWidth) - } - - Text { - id: maxSizeHint - text: prefix + maximumValue.toFixed(decimals) + suffix - font: input.font - visible: false - } - - Text { - id: minSizeHint - text: prefix + minimumValue.toFixed(decimals) + suffix - font: input.font - visible: false - } - - activeFocusOnTab: true - - onActiveFocusChanged: if (activeFocus) input.selectValue() - - Accessible.name: input.text - Accessible.role: Accessible.SpinBox - Accessible.editable: true - - MouseArea { - id: mouseArea - anchors.fill: parent - hoverEnabled: Settings.hoverEnabled - onPressed: if (activeFocusOnPress) input.forceActiveFocus() - onWheel: { - if (wheel.angleDelta.y > 0) - __increment(); - else - __decrement(); - } - } - - TextInputWithHandles { - id: input - clip: contentWidth > width - anchors.fill: parent - anchors.leftMargin: __style ? __style.padding.left : 0 - anchors.topMargin: __style ? __style.padding.top : 0 - anchors.rightMargin: __style ? __style.padding.right: 0 - anchors.bottomMargin: __style ? __style.padding.bottom: 0 - - control: spinbox - cursorHandle: __style ? __style.__cursorHandle : undefined - selectionHandle: __style ? __style.__selectionHandle : undefined - - focus: true - activeFocusOnPress: spinbox.activeFocusOnPress - - horizontalAlignment: spinbox.horizontalAlignment - verticalAlignment: __panel ? __panel.verticalAlignment : Qt.AlignVCenter - inputMethodHints: Qt.ImhFormattedNumbersOnly - - validator: SpinBoxValidator { - id: validator - property bool ready: false // Delay validation until all properties are ready - onTextChanged: if (ready) input.text = validator.text - Component.onCompleted: {input.text = validator.text ; ready = true} - } - onAccepted: { - input.text = validator.text - selectValue() - } - - Keys.forwardTo: spinbox - - onEditingFinished: spinbox.editingFinished() - - font: __panel ? __panel.font : TextSingleton.font - color: __panel ? __panel.foregroundColor : "black" - selectionColor: __panel ? __panel.selectionColor : "black" - selectedTextColor: __panel ? __panel.selectedTextColor : "black" - - opacity: parent.enabled ? 1 : 0.5 - renderType: __style ? __style.renderType : Text.NativeRendering - - function selectValue() { - select(prefix.length, text.length - suffix.length) - } - } - - // Spinbox increment button - - MouseArea { - id: mouseUp - objectName: "mouseUp" - hoverEnabled: Settings.hoverEnabled - - property var upRect: __panel ? __panel.upRect : null - - anchors.left: parent.left - anchors.top: parent.top - - anchors.leftMargin: upRect ? upRect.x : 0 - anchors.topMargin: upRect ? upRect.y : 0 - - width: upRect ? upRect.width : 0 - height: upRect ? upRect.height : 0 - - onClicked: __increment() - onPressed: if (!Settings.hasTouchScreen && activeFocusOnPress) input.forceActiveFocus() - - property bool autoincrement: false; - onReleased: autoincrement = false - onExited: autoincrement = false - Timer { running: mouseUp.pressed; interval: 350 ; onTriggered: mouseUp.autoincrement = true } - Timer { running: mouseUp.autoincrement && mouseUp.containsMouse; interval: 60 ; repeat: true ; onTriggered: __increment() } - } - - // Spinbox decrement button - - MouseArea { - id: mouseDown - objectName: "mouseDown" - hoverEnabled: Settings.hoverEnabled - - onClicked: __decrement() - onPressed: if (!Settings.hasTouchScreen && activeFocusOnPress) input.forceActiveFocus() - - property var downRect: __panel ? __panel.downRect : null - - anchors.left: parent.left - anchors.top: parent.top - - anchors.leftMargin: downRect ? downRect.x : 0 - anchors.topMargin: downRect ? downRect.y : 0 - - width: downRect ? downRect.width : 0 - height: downRect ? downRect.height : 0 - - property bool autoincrement: false; - onReleased: autoincrement = false - onExited: autoincrement = false - Timer { running: mouseDown.pressed; interval: 350 ; onTriggered: mouseDown.autoincrement = true } - Timer { running: mouseDown.autoincrement && mouseDown.containsMouse; interval: 60 ; repeat: true ; onTriggered: __decrement() } - } - - Keys.onUpPressed: __increment() - Keys.onDownPressed: __decrement() -} diff --git a/bin/QtQuick/Controls/SplitView.qml b/bin/QtQuick/Controls/SplitView.qml deleted file mode 100644 index 471e70a07..000000000 --- a/bin/QtQuick/Controls/SplitView.qml +++ /dev/null @@ -1,633 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Layouts 1.0 -import QtQuick.Controls.Private 1.0 as Private -import QtQuick.Window 2.1 - -/*! - \qmltype SplitView - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup views - \ingroup controls - \brief Lays out items with a draggable splitter between each item. - - \image splitview.png - - SplitView is a control that lays out items horizontally or - vertically with a draggable splitter between each item. - - There will always be one (and only one) item in the SplitView that has \l{Layout::fillWidth}{Layout.fillWidth} - set to \c true (or \l{Layout::fillHeight}{Layout.fillHeight}, if orientation is Qt.Vertical). This means that the - item will get all leftover space when other items have been laid out. - By default, the last visible child of the SplitView will have this set, but - it can be changed by explicitly setting fillWidth to \c true on another item. - - As the fillWidth item will automatically be resized to fit the extra space, explicit assignments - to its width and height properties will be ignored (but \l{Layout::minimumWidth}{Layout.minimumWidth} and - \l{Layout::maximumWidth}{Layout.maximumWidth} will still be respected). - The initial sizes of other items should be set via their width and height properties. - Any binding assignment to an item's width or height will be broken as soon as the user - drags that item's splitter handle. - - A handle can belong to the item either on the left or top side, or on the right or bottom side: - \list - \li If the fillWidth item is to the right: the handle belongs to the left item. - \li if the fillWidth item is on the left: the handle belongs to the right item. - \endlist - - This will again control which item gets resized when the user drags a handle, - and which handle gets hidden when an item is told to hide. - - SplitView supports setting attached Layout properties on child items, which - means that you can set the following attached properties for each child: - \list - \li \l{Layout::minimumWidth}{Layout.minimumWidth} - \li \l{Layout::minimumHeight}{Layout.minimumHeight} - \li \l{Layout::maximumWidth}{Layout.maximumWidth} - \li \l{Layout::maximumHeight}{Layout.maximumHeight} - \li \l{Layout::fillWidth}{Layout.fillWidth} (\c true for only one child) - \li \l{Layout::fillHeight}{Layout.fillHeight} (\c true for only one child) - \endlist - - \note import QtQuick.Layouts 1.0 in your QML file in order to use the Layout - attached properties inside SplitView. - - Example: - - To create a SplitView with three items, and let the center item get superfluous space, one - could do the following: - - \qml - SplitView { - anchors.fill: parent - orientation: Qt.Horizontal - - Rectangle { - width: 200 - Layout.maximumWidth: 400 - color: "lightblue" - Text { - text: "View 1" - anchors.centerIn: parent - } - } - Rectangle { - id: centerItem - Layout.minimumWidth: 50 - Layout.fillWidth: true - color: "lightgray" - Text { - text: "View 2" - anchors.centerIn: parent - } - } - Rectangle { - width: 200 - color: "lightgreen" - Text { - text: "View 3" - anchors.centerIn: parent - } - } - } - - \endqml -*/ - -Item { - id: root - - /*! - \qmlproperty enumeration SplitView::orientation - - This property holds the orientation of the SplitView. - The value can be either \c Qt.Horizontal or \c Qt.Vertical. - The default value is \c Qt.Horizontal. - */ - property int orientation: Qt.Horizontal - - /*! - This property holds the delegate that will be instantiated between each - child item. Inside the delegate the following properties are available: - - \table - \row \li readonly property bool styleData.index \li Specifies the index of the splitter handle. The handle - between the first and the second item will get index 0, - the next handle index 1 etc. - \row \li readonly property bool styleData.hovered \li The handle is being hovered. - \row \li readonly property bool styleData.pressed \li The handle is being pressed. - \row \li readonly property bool styleData.resizing \li The handle is being dragged. - \endtable - -*/ - property Component handleDelegate: Rectangle { - width: 1 - height: 1 - color: Qt.darker(pal.window, 1.5) - } - - /*! - This propery is \c true when the user is resizing any of the items by - dragging on the splitter handles. - */ - property bool resizing: false - - /*! \internal */ - default property alias __contents: contents.data - /*! \internal */ - property alias __items: splitterItems.children - /*! \internal */ - property alias __handles: splitterHandles.children - - clip: true - Component.onCompleted: d.init() - onWidthChanged: d.updateLayout() - onHeightChanged: d.updateLayout() - onOrientationChanged: d.changeOrientation() - - /*! \qmlmethod void SplitView::addItem(Item item) - Add an \a item to the end of the view. - \since QtQuick.Controls 1.3 */ - function addItem(item) { - d.updateLayoutGuard = true - d.addItem_impl(item) - d.calculateImplicitSize() - d.updateLayoutGuard = false - d.updateFillIndex() - } - - /*! \qmlmethod void SplitView::removeItem(Item item) - Remove \a item from the view. - \since QtQuick.Controls 1.4 */ - function removeItem(item) { - d.updateLayoutGuard = true - var result = d.removeItem_impl(item) - if (result !== null) { - d.calculateImplicitSize() - d.updateLayoutGuard = false - d.updateFillIndex() - } - else { - d.updateLayoutGuard = false - } - } - - SystemPalette { id: pal } - - QtObject { - id: d - - readonly property string leftMargin: horizontal ? "leftMargin" : "topMargin" - readonly property string topMargin: horizontal ? "topMargin" : "leftMargin" - readonly property string rightMargin: horizontal ? "rightMargin" : "bottomMargin" - - property bool horizontal: orientation == Qt.Horizontal - readonly property string minimum: horizontal ? "minimumWidth" : "minimumHeight" - readonly property string maximum: horizontal ? "maximumWidth" : "maximumHeight" - readonly property string otherMinimum: horizontal ? "minimumHeight" : "minimumWidth" - readonly property string otherMaximum: horizontal ? "maximumHeight" : "maximumWidth" - readonly property string offset: horizontal ? "x" : "y" - readonly property string otherOffset: horizontal ? "y" : "x" - readonly property string size: horizontal ? "width" : "height" - readonly property string otherSize: horizontal ? "height" : "width" - readonly property string implicitSize: horizontal ? "implicitWidth" : "implicitHeight" - readonly property string implicitOtherSize: horizontal ? "implicitHeight" : "implicitWidth" - - property int fillIndex: -1 - property bool updateLayoutGuard: true - - function extraMarginSize(item, other) { - if (typeof(other) === 'undefined') - other = false; - if (other === horizontal) - // vertical - return item.Layout.topMargin + item.Layout.bottomMargin - return item.Layout.leftMargin + item.Layout.rightMargin - } - - function addItem_impl(item) - { - // temporarily set fillIndex to new item - fillIndex = __items.length - if (splitterItems.children.length > 0) - handleLoader.createObject(splitterHandles, {"__handleIndex":splitterItems.children.length - 1}) - - item.parent = splitterItems - d.initItemConnections(item) - } - - function initItemConnections(item) - { - // should match disconnections in terminateItemConnections - item.widthChanged.connect(d.updateLayout) - item.heightChanged.connect(d.updateLayout) - item.Layout.maximumWidthChanged.connect(d.updateLayout) - item.Layout.minimumWidthChanged.connect(d.updateLayout) - item.Layout.maximumHeightChanged.connect(d.updateLayout) - item.Layout.minimumHeightChanged.connect(d.updateLayout) - item.Layout.leftMarginChanged.connect(d.updateLayout) - item.Layout.topMarginChanged.connect(d.updateLayout) - item.Layout.rightMarginChanged.connect(d.updateLayout) - item.Layout.bottomMarginChanged.connect(d.updateLayout) - item.visibleChanged.connect(d.updateFillIndex) - item.Layout.fillWidthChanged.connect(d.updateFillIndex) - item.Layout.fillHeightChanged.connect(d.updateFillIndex) - } - - function terminateItemConnections(item) - { - // should match connections in initItemConnections - item.widthChanged.disconnect(d.updateLayout) - item.heightChanged.disconnect(d.updateLayout) - item.Layout.maximumWidthChanged.disconnect(d.updateLayout) - item.Layout.minimumWidthChanged.disconnect(d.updateLayout) - item.Layout.maximumHeightChanged.disconnect(d.updateLayout) - item.Layout.minimumHeightChanged.disconnect(d.updateLayout) - item.visibleChanged.disconnect(d.updateFillIndex) - item.Layout.fillWidthChanged.disconnect(d.updateFillIndex) - item.Layout.fillHeightChanged.disconnect(d.updateFillIndex) - } - - function removeItem_impl(item) - { - var pos = itemPos(item) - - // Check pos range - if (pos < 0 || pos >= __items.length) - return null - - // Temporary unset the fillIndex - fillIndex = __items.length - 1 - - // Remove the handle at the left/right of the item that - // is going to be removed - var handlePos = -1 - var hasPrevious = pos > 0 - var hasNext = (pos + 1) < __items.length - - if (hasPrevious) - handlePos = pos-1 - else if (hasNext) - handlePos = pos - if (handlePos >= 0) { - var handle = __handles[handlePos] - handle.visible = false - handle.parent = null - handle.destroy() - for (var i = handlePos; i < __handles.length; ++i) - __handles[i].__handleIndex = i - } - - // Remove the item. - // Disconnect the item to be removed - terminateItemConnections(item) - item.parent = null - - return item - } - - function itemPos(item) - { - for (var i = 0; i < __items.length; ++i) - if (item === __items[i]) - return i - return -1 - } - - function init() - { - for (var i=0; i<__contents.length; ++i) { - var item = __contents[i]; - if (!item.hasOwnProperty("x")) - continue - addItem_impl(item) - i-- // item was removed from list - } - - d.calculateImplicitSize() - d.updateLayoutGuard = false - d.updateFillIndex() - } - - function updateFillIndex() - { - if (lastItem.visible !== root.visible) - return - var policy = (root.orientation === Qt.Horizontal) ? "fillWidth" : "fillHeight" - for (var i=0; i<__items.length-1; ++i) { - if (__items[i].Layout[policy] === true) - break; - } - - d.fillIndex = i - d.updateLayout() - } - - function changeOrientation() - { - if (__items.length == 0) - return; - d.updateLayoutGuard = true - - // Swap width/height for items and handles: - for (var i=0; i<__items.length; ++i) { - var item = __items[i] - var tmp = item.x - item.x = item.y - item.y = tmp - tmp = item.width - item.width = item.height - item.height = tmp - - var handle = __handles[i] - if (handle) { - tmp = handle.x - handle.x = handle.y - handle.y = handle.x - tmp = handle.width - handle.width = handle.height - handle.height = tmp - } - } - - // Change d.horizontal explicit, since the binding will change too late: - d.horizontal = orientation == Qt.Horizontal - d.updateLayoutGuard = false - d.updateFillIndex() - } - - function calculateImplicitSize() - { - var implicitSize = 0 - var implicitOtherSize = 0 - - for (var i=0; i<__items.length; ++i) { - var item = __items[i]; - implicitSize += clampedMinMax(item[d.size], item.Layout[minimum], item.Layout[maximum]) + extraMarginSize(item) - var os = clampedMinMax(item[otherSize], item.Layout[otherMinimum], item.Layout[otherMaximum]) + extraMarginSize(item, true) - implicitOtherSize = Math.max(implicitOtherSize, os) - - var handle = __handles[i] - if (handle) - implicitSize += handle[d.size] //### Can handles have margins?? - } - - root[d.implicitSize] = implicitSize - root[d.implicitOtherSize] = implicitOtherSize - } - - function clampedMinMax(value, minimum, maximum) - { - if (value < minimum) - value = minimum - if (value > maximum) - value = maximum - return value - } - - function accumulatedSize(firstIndex, lastIndex, includeFillItemMinimum) - { - // Go through items and handles, and - // calculate their accummulated width. - var w = 0 - for (var i=firstIndex; i __handleIndex) - visible: __items[__handleIndex + (resizeLeftItem ? 0 : 1)].visible - sourceComponent: handleDelegate - onWidthChanged: d.updateLayout() - onHeightChanged: d.updateLayout() - onXChanged: moveHandle() - onYChanged: moveHandle() - - MouseArea { - id: mouseArea - anchors.fill: parent - property real defaultMargin: Private.Settings.hasTouchScreen ? Screen.pixelDensity * 3.5 : 2 - anchors.leftMargin: (parent.width <= 1) ? -defaultMargin : 0 - anchors.rightMargin: (parent.width <= 1) ? -defaultMargin : 0 - anchors.topMargin: (parent.height <= 1) ? -defaultMargin : 0 - anchors.bottomMargin: (parent.height <= 1) ? -defaultMargin : 0 - hoverEnabled: Private.Settings.hoverEnabled - drag.threshold: 0 - drag.target: parent - drag.axis: root.orientation === Qt.Horizontal ? Drag.XAxis : Drag.YAxis - cursorShape: root.orientation === Qt.Horizontal ? Qt.SplitHCursor : Qt.SplitVCursor - } - - function moveHandle() { - // Moving the handle means resizing an item. Which one, - // left or right, depends on where the fillItem is. - // 'updateLayout' will be overridden in case new width violates max/min. - // 'updateLayout' will be triggered when an item changes width. - if (d.updateLayoutGuard) - return - - var leftHandle, leftItem, rightItem, rightHandle - var leftEdge, rightEdge, newWidth, leftStopX, rightStopX - var i - - if (resizeLeftItem) { - // Ensure that the handle is not crossing other handles. So - // find the first visible handle to the left to determine the left edge: - leftEdge = 0 - for (i=__handleIndex-1; i>=0; --i) { - leftHandle = __handles[i] - if (leftHandle.visible) { - leftEdge = leftHandle[d.offset] + leftHandle[d.size] - break; - } - } - - // Ensure: leftStopX >= itemHandle[d.offset] >= rightStopX - var min = d.accumulatedSize(__handleIndex+1, __items.length, true) - rightStopX = root[d.size] - min - itemHandle[d.size] - leftStopX = Math.max(leftEdge, itemHandle[d.offset]) - itemHandle[d.offset] = Math.min(rightStopX, Math.max(leftStopX, itemHandle[d.offset])) - - newWidth = itemHandle[d.offset] - leftEdge - leftItem = __items[__handleIndex] - // The next line will trigger 'updateLayout': - leftItem[d.size] = newWidth - } else { - // Resize item to the right. - // Ensure that the handle is not crossing other handles. So - // find the first visible handle to the right to determine the right edge: - rightEdge = root[d.size] - for (i=__handleIndex+1; i<__handles.length; ++i) { - rightHandle = __handles[i] - if (rightHandle.visible) { - rightEdge = rightHandle[d.offset] - break; - } - } - - // Ensure: leftStopX <= itemHandle[d.offset] <= rightStopX - min = d.accumulatedSize(0, __handleIndex+1, true) - leftStopX = min - itemHandle[d.size] - rightStopX = Math.min((rightEdge - itemHandle[d.size]), itemHandle[d.offset]) - itemHandle[d.offset] = Math.max(leftStopX, Math.min(itemHandle[d.offset], rightStopX)) - - newWidth = rightEdge - (itemHandle[d.offset] + itemHandle[d.size]) - rightItem = __items[__handleIndex+1] - // The next line will trigger 'updateLayout': - rightItem[d.size] = newWidth - } - } - } - } - - Item { - id: contents - visible: false - anchors.fill: parent - } - Item { - id: splitterItems - anchors.fill: parent - } - Item { - id: splitterHandles - anchors.fill: parent - } - - Item { - id: lastItem - onVisibleChanged: d.updateFillIndex() - } - - Component.onDestruction: { - for (var i=0; i [A, B, C, D] - "push" transition animation between C and D - \li pop() => [A, B] - "pop" transition animation between C and B - \li \l{push()}{push(D, replace)} => [A, B, D] - "replace" transition between C and D - \li \l{pop()}{pop(A)} => [A] - "pop" transition between C and A - \endlist - - \note When the stack is empty, a push() will not perform a - transition animation because there is nothing to transition from (typically during - application start-up). A pop() on a stack with depth 1 or 0 is a no-operation. - If all items need to be removed from the stack, a separate function clear() is - available. - - Calling push() returns the item that was pushed onto the stack. - Calling pop() returns the item that was popped off the stack. When pop() is - called in an unwind operation, the top-most item (the first item that was - popped, which will also be the one transitioning out) is returned. - - \section1 Deep Linking - \e{Deep linking} means launching an application into a particular state. For example, - a newspaper application could be launched into showing a particular article, - bypassing the front item (and possibly a section item) that would normally have - to be navigated through to get to the article concerned. In terms of StackView, deep - linking means the ability to modify the state of the stack, so much so that it is - possible to push a set of items to the top of the stack, or to completely reset - the stack to a given state. - - The API for deep linking in StackView is the same as for basic navigation. Pushing - an array instead of a single item, will involve that all the items in that array will - be pushed onto the stack. The transition animation, however, will be conducted as - if only the last item in the array was pushed onto the stack. The normal semantics - of push() apply for deep linking, meaning that push() adds whatever is pushed onto - the stack. Note also that only the last item of the array will be loaded. - The rest will be lazy-loaded as needed when entering the screen upon subsequent - calls to pop (or when requesting the item by using \a get). - - This gives us the following result, given the stack [A, B, C]: - - \list - \li \l{push()}{push([D, E, F])} => [A, B, C, D, E, F] - "push" transition animation between C and F - \li \l{push()}{push([D, E, F], replace)} => [A, B, D, E, F] - "replace" transition animation between C and F - \li clear(); \l{push()}{push([D, E, F])} => [D, E, F] - no transition animation (since the stack was empty) - \endlist - - \section1 Pushing items - - An item pushed onto the StackView can be either an Item, a URL, a string - containing a URL, or a Component. To push it, assign it to a property "item" - inside a property list, and pass it as an argument to \l{StackView::push}{push}: - - \code - stackView.push({item: yourItem}) - \endcode - - The list can contain several properties that control how the item should be pushed: - \list - \li \c item: this property is required, and holds the item to be pushed. - \li \c properties: a list of QML properties to be assigned to the item upon push. These - properties will be copied into the item at load time, or when the item will become - the current item (normally upon push). - \li \c immediate: set this property to \c true to skip transition effects. When pushing - an array, this property only needs to be set on the first element to make the - whole operation immediate. - \li \c replace: set this property to replace the current item on the stack. When pushing - an array, you only need to set this property on the first element to replace - as many elements on the stack as inside the array. - \li \c destroyOnPop: set this boolean to \c true if StackView needs to destroy the item when - it is popped off the stack. By default (if \a destroyOnPop is not specified), StackView - will destroy items pushed as components or URLs. Items not destroyed will be re-parented - back to the original parents they had before being pushed onto the stack and hidden. - If you need to set this property, do it with care, so that items are not leaked. - \endlist - - If the only argument needed is "item", the following short-hand notation can be applied: - - \code - stackView.push(yourItem) - \endcode - - You can push several items in one go by using an array of property lists. This is - more efficient than pushing items one by one, as StackView can then load only the - last item in the list. The rest will be loaded as they are about to become - the current item (which happens when the stack is popped). The following example shows how - to push an array of items: - - \code - stackView.push([{item: yourItem1}, {item: yourItem2}]) - \endcode - - If an inline item is pushed, the item is temporarily re-parented into the StackView. When the item - is later popped off, it gets re-parented back to its original owner again. - If, however, an item is pushed as a component or a URL, the actual item will be created as an - item from that component. This happens automatically when the item is about to become the current - item in the stack. Ownership of the item will then normally be taken by the StackView, which will - automatically destroy the item when it is later popped off. The component that declared the item, by - contrast, remains in the ownership of the application and is not destroyed by the stack. - This can be overridden by explicitly setting \c{destroyOnPop} in the list of arguments given to push. - - If the \c properties to be pushed are specified, they will be copied into the item at loading time - (in case of a component or URL), or when the item becomes the current item (in case of an inline - item). The following example shows how this can be done: - - \code - stackView.push({item: someItem, properties: {fgcolor: "red", bgcolor: "blue"}}) - \endcode - - - \note If an item is declared inside another item, and that parent gets destroyed, - (even if a component was used), that child item will also be destroyed. - This follows normal Qt parent-child destruction rules, but sometimes comes as a surprise - for developers. - - \section1 Lifecycle - An item's lifecycle in the StackView can have the following transitions: - \list 1 - \li instantiation - \li inactive - \li activating - \li active - \li deactivating - \li inactive - \li destruction - \endlist - - It can move any number of times between inactive and active. When an item is activated, - it's visible on the screen and is considered to be the current item. An item - in a StackView that is not visible is not activated, even if the item is currently the - top-most item in the stack. When the stack becomes visible, the item that is top-most gets - activated. Likewise if the stack is then hidden, the topmost item would be deactivated. - Popping the item off the top of the stack at this point would not result in further - deactivation since the item is not active. - - There is an attached \l{Stack::status}{Stack.status} property that tracks the lifecycle. This - property is an enumeration with the following values: \c Stack.Inactive, \c Stack.Activating, - \c Stack.Active and \c Stack.Deactivating. Combined with the normal \c Component.onComplete and - \c Component.onDestruction signals, the entire lifecycle is thus: - - \list - \li Created: Component.onCompleted() - \li Activating: Stack.onStatusChanged (Stack.status is Stack.Activating) - \li Acivated: Stack.onStatusChanged (Stack.status is Stack.Active) - \li Deactivating: Stack.onStatusChanged (Stack.status is Stack.Deactivating) - \li Deactivated: Stack.onStatusChanged (Stack.status is Stack.Inactive) - \li Destruction: Component.onDestruction() - \endlist - - \section1 Finding items - Sometimes it is necessary to search for an item, for example, in order to unwind the stack to - an item to which the application does not have a reference. This is facilitated using a - function find() in StackView. The find() function takes a callback function as its - only argument. The callback gets invoked for each item in the stack (starting at the top). - If the callback returns true, then it signals that a match has been found and the find() - function returns that item. If the callback fails to return true (no match is found), - then find() returns \c null. - - The code below searches for an item in the stack that has a name "order_id" and then unwinds to - that item. Note that since find() returns \c {null} if no item is found, and since pop unwinds to - the bottom of the stack if null is given as the target item, the code works well even in - case no matching item is found. - - \code - stackView.pop(stackView.find(function(item) { - return item.name == "order_id"; - })); - \endcode - - You can also get to an item in the stack using \l {get()}{get(index)}. You should use - this function if your item depends on another item in the stack, as the function will - ensure that the item at the given index gets loaded before it is returned. - - \code - previousItem = stackView.get(myItem.Stack.index - 1)); - \endcode - - \section1 Transitions - - A transition is performed whenever a item is pushed or popped, and consists of - two items: enterItem and exitItem. The StackView itself will never move items - around, but instead delegates the job to an external animation set provided - by the style or the application developer. How items should visually enter and leave the stack - (and the geometry they should end up with) is therefore completely controlled from the outside. - - When the transition starts, the StackView will search for a transition that - matches the operation executed. There are three transitions to choose - from: \l {StackViewDelegate::}{pushTransition}, \l {StackViewDelegate::}{popTransition}, - and \l {StackViewDelegate::}{replaceTransition}. Each implements how - \c enterItem should animate in, and \c exitItem out. The transitions are - collected inside a StackViewDelegate object assigned to - \l {StackView::delegate}{delegate}. By default, popTransition and - replaceTransition will be the same as pushTransition, unless you set them - to something else. - - A simple fade transition could be implemented as: - - \qml - StackView { - delegate: StackViewDelegate { - function transitionFinished(properties) - { - properties.exitItem.opacity = 1 - } - - pushTransition: StackViewTransition { - PropertyAnimation { - target: enterItem - property: "opacity" - from: 0 - to: 1 - } - PropertyAnimation { - target: exitItem - property: "opacity" - from: 1 - to: 0 - } - } - } - } - \endqml - - PushTransition needs to inherit from StackViewTransition, which is a ParallelAnimation that - contains the properties \c enterItem and \c exitItem. These items should be assigned to the - \c target property of animations within the transition. Since the same items instance can - be pushed several times to a StackView, you should always override - \l {StackViewDelegate::transitionFinished()}{StackViewDelegate.transitionFinished()}. - Implement this function to reset any properties animated on the exitItem so that later - transitions can expect the items to be in a default state. - - A more complex example could look like the following. Here, the items are lying on the side before - being rotated to an upright position: - - \qml - StackView { - delegate: StackViewDelegate { - function transitionFinished(properties) - { - properties.exitItem.x = 0 - properties.exitItem.rotation = 0 - } - - pushTransition: StackViewTransition { - SequentialAnimation { - ScriptAction { - script: enterItem.rotation = 90 - } - PropertyAnimation { - target: enterItem - property: "x" - from: enterItem.width - to: 0 - } - PropertyAnimation { - target: enterItem - property: "rotation" - from: 90 - to: 0 - } - } - PropertyAnimation { - target: exitItem - property: "x" - from: 0 - to: -exitItem.width - } - } - } - } - \endqml - - \section2 Advanced usage - - When the StackView needs a new transition, it first calls - \l {StackViewDelegate::getTransition()}{StackViewDelegate.getTransition()}. - The base implementation of this function just looks for a property named \c properties.name inside - itself (root), which is how it finds \c {property Component pushTransition} in the examples above. - - \code - function getTransition(properties) - { - return root[properties.name] - } - \endcode - - You can override this function for your delegate if you need extra logic to decide which - transition to return. You could for example introspect the items, and return different animations - depending on the their internal state. StackView will expect you to return a Component that - contains a StackViewTransition, or a StackViewTransition directly. The former is easier, as StackView will - then create the transition and later destroy it when it's done, while avoiding any side effects - caused by the transition being alive long after it has run. Returning a StackViewTransition directly - can be useful if you need to write some sort of transition caching for performance reasons. - As an optimization, you can also return \c null to signal that you just want to show/hide the items - immediately without creating or running any transitions. You can also override this function if - you need to alter the items in any way before the transition starts. - - \c properties contains the properties that will be assigned to the StackViewTransition before - it runs. In fact, you can add more properties to this object during the call - if you need to initialize additional properties of your custom StackViewTransition when the returned - component is instantiated. - - The following example shows how you can decide which animation to use at runtime: - - \qml - StackViewDelegate { - function getTransition(properties) - { - return (properties.enterItem.Stack.index % 2) ? horizontalTransition : verticalTransition - } - - function transitionFinished(properties) - { - properties.exitItem.x = 0 - properties.exitItem.y = 0 - } - - property Component horizontalTransition: StackViewTransition { - PropertyAnimation { - target: enterItem - property: "x" - from: target.width - to: 0 - duration: 300 - } - PropertyAnimation { - target: exitItem - property: "x" - from: 0 - to: target.width - duration: 300 - } - } - - property Component verticalTransition: StackViewTransition { - PropertyAnimation { - target: enterItem - property: "y" - from: target.height - to: 0 - duration: 300 - } - PropertyAnimation { - target: exitItem - property: "y" - from: 0 - to: target.height - duration: 300 - } - } - } - \endqml - - \section1 Supported Attached Properties - - Items in a StackView support these attached properties: - \list - \li \l{Stack::index}{Stack.index} - Contains the index of the item inside the StackView - \li \l{Stack::view}{Stack.view} - Contains the StackView the item is in - \li \l{Stack::status}{Stack.status} - Contains the status of the item - \endlist -*/ - -FocusScope { - id: root - - /*! \qmlproperty int StackView::depth - \readonly - The number of items currently pushed onto the stack. - */ - readonly property alias depth: root.__depth - - /*! \qmlproperty Item StackView::currentItem - \readonly - The currently top-most item in the stack. - */ - readonly property alias currentItem: root.__currentItem - - /*! The first item that should be shown when the StackView is created. - \a initialItem can take same value as the first argument to \l{StackView::push()} - {StackView.push()}. Note that this is just a convenience for writing - \c{Component.onCompleted: stackView.push(myInitialItem)} - - Examples: - - \list - \li initialItem: Qt.resolvedUrl("MyItem.qml") - \li initialItem: myItem - \li initialItem: {"item" : Qt.resolvedUrl("MyRectangle.qml"), "properties" : {"color" : "red"}} - \endlist - \sa push - */ - property var initialItem: null - - /*! \readonly - \a busy is \c true if a transition is running, and \c false otherwise. */ - readonly property bool busy: __currentTransition !== null - - /*! The transitions to use when pushing or popping items. - For better understanding on how to apply custom transitions, read \l{Transitions}. - \sa {Transitions} */ - property StackViewDelegate delegate: StackViewSlideDelegate {} - - /*! \qmlmethod Item StackView::push(Item item) - Pushes an \a item onto the stack. - - The function can also take a property list as argument - \c {Item StackView::push(jsobject dict)}, which - should contain one or more of the following properties: - \list - \li \a item: this property is required, and holds the item you want to push. - \li \e properties: a list of QML properties that should be assigned - to the item upon push. These properties will be copied into the item when it is - loaded (in case of a component or URL), or when it becomes the current item for the - first time (normally upon push). - \li \e immediate: set this property to \c true to skip transition effects. When pushing - an array, you only need to set this property on the first element to make the - whole operation immediate. - \li \e replace: set this property to replace the current item on the stack. When pushing - an array, you only need to set this property on the first element to replace - as many elements on the stack as inside the array. - \li \e destroyOnPop: set this property to specify if the item needs to be destroyed - when its popped off the stack. By default (if \e destroyOnPop is not specified), - StackView will destroy items pushed as components or URLs. Items - not destroyed will be re-parented to the original parents they had before being - pushed onto the stack, and hidden. If you need to set this property, do it with - care, so that items are not leaked. - \endlist - - You can also push an array of items (property lists) if you need to push several items - in one go. A transition will then only occur between the current item and the last - item in the list. Loading the other items will be deferred until needed. - - Examples: - \list - \li stackView.push({item:anItem}) - \li stackView.push({item:aURL, immediate: true, replace: true}) - \li stackView.push({item:aRectangle, properties:{color:"red"}}) - \li stackView.push({item:aComponent, properties:{color:"red"}}) - \li stackView.push({item:aComponent.createObject(), destroyOnPop:true}) - \li stackView.push([{item:anitem, immediate:true}, {item:aURL}]) - \endlist - - \note If the only argument needed is "item", you can apply the following short- - hand notation: \c{stackView.push(anItem)}. - - Returns the item that became current. - - \sa initialItem - \sa {Pushing items} - */ - function push(item) { - // Note: we support two different APIs in this function; The old meego API, and - // the new "property list" API. Hence the reason for hiding the fact that you - // can pass more arguments than shown in the signature: - if (__recursionGuard(true)) - return - var properties = arguments[1] - var immediate = arguments[2] - var replace = arguments[3] - var arrayPushed = (item instanceof Array) - var firstItem = arrayPushed ? item[0] : item - immediate = (immediate || JSArray.stackView.length === 0) - - if (firstItem && firstItem.item && firstItem.hasOwnProperty("x") === false) { - // Property list API used: - immediate = immediate || firstItem.immediate - replace = replace || firstItem.replace - } - - // Create, and push, a new javascript object, called "element", onto the stack. - // This element contains all the information necessary to construct the item, and - // will, after loaded, also contain the loaded item: - if (arrayPushed) { - if (item.length === 0) - return - var outElement = replace ? JSArray.pop() : JSArray.current() - for (var i=0; i 1 && item !== undefined && item !== inElement.item) { - // Pop from the top until we find 'item', and return the corresponding - // element. Skip all non-loaded items (except the first), since no one - // has any references to such items anyway: - while (__depth > 1 && !JSArray.current().loaded) - JSArray.pop() - inElement = JSArray.current() - while (__depth > 1 && item !== inElement.item) { - JSArray.pop() - __cleanup(inElement) - while (__depth > 1 && !JSArray.current().loaded) - JSArray.pop() - inElement = JSArray.current() - } - } - - var transition = { - inElement: inElement, - outElement: outElement, - immediate: immediate, - replace: false, - push: false - } - __performTransition(transition) - __recursionGuard(false) - return outElement.item; - } - - /*! \qmlmethod void StackView::clear() - Remove all items from the stack. No animations will be applied. */ - function clear() { - if (__recursionGuard(true)) - return - if (__currentTransition) - __currentTransition.animation.complete() - __currentItem = null - var count = __depth - for (var i=0; i=0; --i) { - var element = JSArray.stackView[i]; - if (onlySearchLoadedItems !== true) - __loadElement(element) - else if (!element.item) - continue - if (func(element.item)) - return element.item - } - return null; - } - - /*! \qmlmethod Item StackView::get(int index, bool dontLoad = false) - Returns the item at position \a index in - the stack. If \a dontLoad is true, the - item will not be forced to load (and \c null - will be returned if not yet loaded) */ - function get(index, dontLoad) - { - if (index < 0 || index >= JSArray.stackView.length) - return null - var element = JSArray.stackView[index] - if (dontLoad !== true) { - __loadElement(element) - return element.item - } else if (element.item) { - return element.item - } else { - return null - } - } - - /*! \qmlmethod void StackView::completeTransition() - Immediately completes any ongoing transition. - /sa Animation.complete - */ - function completeTransition() - { - if (__recursionGuard(true)) - return - if (__currentTransition) - __currentTransition.animation.complete() - __recursionGuard(false) - } - - /********* DEPRECATED API *********/ - - /*! \internal - \deprecated Use Push() instead */ - function replace(item, properties, immediate) { - push(item, properties, immediate, true) - } - - /********* PRIVATE API *********/ - - /*! \internal The currently top-most item on the stack. */ - property Item __currentItem: null - /*! \internal The number of items currently pushed onto the stack. */ - property int __depth: 0 - /*! \internal Stores the transition info while a transition is ongoing */ - property var __currentTransition: null - /*! \internal Stops the user from pushing items while preparing a transition */ - property bool __guard: false - - Component.onCompleted: { - if (initialItem) - push(initialItem) - } - - Component.onDestruction: { - if (__currentTransition) - __currentTransition.animation.complete() - __currentItem = null - } - - /*! \internal */ - function __recursionGuard(use) - { - if (use && __guard) { - console.warn("Warning: StackView: You cannot push/pop recursively!") - console.trace() - return true - } - __guard = use - } - - /*! \internal */ - function __loadElement(element) - { - if (element.loaded) { - if (!element.item) { - element.item = invalidItemReplacement.createObject(root) - element.item.text = "\nError: The item has been deleted outside StackView!" - } - return - } - if (!element.itemComponent) { - element.item = invalidItemReplacement.createObject(root) - element.item.text = "\nError: Invalid item (item was 'null'). " - + "This might indicate that the item was deleted outside StackView!" - return - } - - var comp = __resolveComponent(element.itemComponent, element) - - // Assign properties to item: - if (!element.properties) - element.properties = {} - - if (comp.hasOwnProperty("createObject")) { - if (comp.status === Component.Error) { - element.item = invalidItemReplacement.createObject(root) - element.item.text = "\nError: Could not load: " + comp.errorString() - } else { - element.item = comp.createObject(root, element.properties) - // Destroy items we create unless the user specified something else: - if (!element.hasOwnProperty("destroyOnPop")) - element.destroyOnPop = true - } - } else { - // comp is already an Item, so just re-parent it into the StackView: - element.item = comp - element.originalParent = parent - element.item.parent = root - for (var prop in element.properties) { - if (element.item.hasOwnProperty(prop)) - element.item[prop] = element.properties[prop]; - } - // Do not destroy items we didn't create, unless the user specified something else: - if (!element.hasOwnProperty("destroyOnPop")) - element.destroyOnPop = false - } - - element.item.Stack.__index = element.index - element.item.Stack.__view = root - // Let item fill all available space by default: - element.item.width = Qt.binding(function() { return root.width }) - element.item.height = Qt.binding(function() { return root.height }) - element.loaded = true - } - - /*! \internal */ - function __resolveComponent(unknownObjectType, element) - { - // We need this extra resolve function since we don't really - // know what kind of object the user pushed. So we try to - // figure it out by inspecting the object: - if (unknownObjectType.hasOwnProperty("createObject")) { - return unknownObjectType - } else if (typeof unknownObjectType == "string") { - return Qt.createComponent(unknownObjectType) - } else if (unknownObjectType.hasOwnProperty("x")) { - return unknownObjectType - } else if (unknownObjectType.hasOwnProperty("item")) { - // INVARIANT: user pushed a JS-object - element.properties = unknownObjectType.properties - if (!unknownObjectType.item) - unknownObjectType.item = invalidItemReplacement - if (unknownObjectType.hasOwnProperty("destroyOnPop")) - element.destroyOnPop = unknownObjectType.destroyOnPop - return __resolveComponent(unknownObjectType.item, element) - } else { - // We cannot determine the type, so assume its a URL: - return Qt.createComponent(unknownObjectType) - } - } - - /*! \internal */ - function __cleanup(element) { - // INVARIANT: element has been removed from JSArray. Destroy its - // item, or re-parent it back to the parent it had before it was pushed: - var item = element.item - if (element.destroyOnPop) { - item.destroy() - } else { - // Mark the item as no longer part of the StackView. It - // might reenter on pop if pushed several times: - item.visible = false - __setStatus(item, Stack.Inactive) - item.Stack.__view = null - item.Stack.__index = -1 - if (element.originalParent) - item.parent = element.originalParent - } - } - - /*! \internal */ - function __setStatus(item, status) { - item.Stack.__status = status - } - - /*! \internal */ - function __performTransition(transition) - { - // Animate item in "outElement" out, and item in "inElement" in. Set a guard to protect - // the user from pushing new items on signals that will fire while preparing for the transition - // (e.g Stack.onCompleted, Stack.onStatusChanged, Stack.onIndexChanged etc). Otherwise, we will enter - // this function several times, which causes the items to be updated half-way. - if (__currentTransition) - __currentTransition.animation.complete() - __loadElement(transition.inElement) - - transition.name = transition.replace ? "replaceTransition" : (transition.push ? "pushTransition" : "popTransition") - var enterItem = transition.inElement.item - transition.enterItem = enterItem - - // Since an item can be pushed several times, we need to update its properties: - enterItem.parent = root - enterItem.Stack.__view = root - enterItem.Stack.__index = transition.inElement.index - __currentItem = enterItem - - if (!transition.outElement) { - // A transition consists of two items, but we got just one. So just show the item: - enterItem.visible = true - __setStatus(enterItem, Stack.Activating) - __setStatus(enterItem, Stack.Active) - return - } - - var exitItem = transition.outElement.item - transition.exitItem = exitItem - if (enterItem === exitItem) - return - - if (root.delegate) { - transition.properties = { - "name":transition.name, - "enterItem":transition.enterItem, - "exitItem":transition.exitItem, - "immediate":transition.immediate } - var anim = root.delegate.getTransition(transition.properties) - if (anim.createObject) { - anim = anim.createObject(null, transition.properties) - anim.runningChanged.connect(function(){ if (anim.running === false) anim.destroy() }) - } - transition.animation = anim - } - - if (!transition.animation) { - console.warn("Warning: StackView: no", transition.name, "found!") - return - } - if (enterItem.anchors.fill || exitItem.anchors.fill) - console.warn("Warning: StackView: cannot transition an item that is anchored!") - - __currentTransition = transition - __setStatus(exitItem, Stack.Deactivating) - enterItem.visible = true - __setStatus(enterItem, Stack.Activating) - transition.animation.runningChanged.connect(animationFinished) - transition.animation.start() - // NB! For empty animations, "animationFinished" is already - // executed at this point, leaving __animation === null: - if (transition.immediate === true && transition.animation) - transition.animation.complete() - } - - /*! \internal */ - function animationFinished() - { - if (!__currentTransition || __currentTransition.animation.running) - return - - __currentTransition.animation.runningChanged.disconnect(animationFinished) - __currentTransition.exitItem.visible = false - __setStatus(__currentTransition.exitItem, Stack.Inactive); - __setStatus(__currentTransition.enterItem, Stack.Active); - __currentTransition.properties.animation = __currentTransition.animation - root.delegate.transitionFinished(__currentTransition.properties) - - if (!__currentTransition.push || __currentTransition.replace) - __cleanup(__currentTransition.outElement) - - __currentTransition = null - } - - /*! \internal */ - property Component invalidItemReplacement: Component { - Text { - width: parent.width - height: parent.height - wrapMode: Text.WrapAtWordBoundaryOrAnywhere - } - } -} diff --git a/bin/QtQuick/Controls/StackViewDelegate.qml b/bin/QtQuick/Controls/StackViewDelegate.qml deleted file mode 100644 index f85eb0ae0..000000000 --- a/bin/QtQuick/Controls/StackViewDelegate.qml +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -/*! - \qmltype StackViewDelegate - \inqmlmodule QtQuick.Controls - \ingroup controls - \since 5.1 - - \brief A delegate used by StackView for loading transitions. - - See the documentation for the \l {StackView} component. - -*/ -QtObject { - id: root - - /*! - \qmlmethod Transition StackViewDelegate::getTransition(properties) - - The base implementation of this function just looks for a property named - \a {properties}.name inside itself and returns it. - \sa {Transitions} - */ - function getTransition(properties) - { - return root[properties.name] - } - - /*! - \qmlmethod void StackViewDelegate::transitionFinished(properties) - - Handles the completion of a transition for \a properties. The base - implementation of this function is empty. - - \sa {Transitions} - */ - function transitionFinished(properties) - { - } - - /*! - \qmlproperty Component StackViewDelegate::pushTransition - - The transition used on push operation. - */ - property Component pushTransition: StackViewTransition {} - /*! - \qmlproperty Component StackViewDelegate::popTransition - - The transition used on pop operation. - Unless set, the popTransition is the same as pushTransition - */ - property Component popTransition: root["pushTransition"] - /*! - \qmlproperty Component StackViewDelegate::replaceTransition - - The transition used on replace operation. - Unless set, the replaceTransition is the same as pushTransition - */ - property Component replaceTransition: root["pushTransition"] -} diff --git a/bin/QtQuick/Controls/StackViewTransition.qml b/bin/QtQuick/Controls/StackViewTransition.qml deleted file mode 100644 index 9f4719e37..000000000 --- a/bin/QtQuick/Controls/StackViewTransition.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -ParallelAnimation { - id: root - /*! The name of the animation that is running. Can be one of the following: - \list - \li 'PushTransition' - \li 'PopTransition' - \li 'ReplaceTransition' - \endlist - */ - property string name - /*! The page that is transitioning in. */ - property Item enterItem - /*! The page that is transitioning out */ - property Item exitItem - /*! Set to \c true if the transition is told to - fast-forward directly to its end-state */ - property bool immediate -} diff --git a/bin/QtQuick/Controls/StatusBar.qml b/bin/QtQuick/Controls/StatusBar.qml deleted file mode 100644 index c1168d540..000000000 --- a/bin/QtQuick/Controls/StatusBar.qml +++ /dev/null @@ -1,154 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype StatusBar - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup applicationwindow - \ingroup controls - \brief Contains status information in your app. - - The common way of using StatusBar is in relation to \l ApplicationWindow. - - Note that the StatusBar does not provide a layout of its own, but requires - you to position its contents, for instance by creating a \l RowLayout. - - If only a single item is used within the StatusBar, it will resize to fit the implicitHeight - of its contained item. This makes it particularly suitable for use together with layouts. - Otherwise the height is platform dependent. - - \code - import QtQuick.Controls 1.2 - import QtQuick.Layouts 1.0 - - ApplicationWindow { - statusBar: StatusBar { - RowLayout { - anchors.fill: parent - Label { text: "Read Only" } - } - } - } - \endcode -*/ - -FocusScope { - id: statusbar - - activeFocusOnTab: false - Accessible.role: Accessible.StatusBar - - width: parent ? parent.width : implicitWidth - implicitWidth: container.leftMargin + container.rightMargin - + Math.max(container.layoutWidth, __panel ? __panel.implicitWidth : 0) - implicitHeight: container.topMargin + container.bottomMargin - + Math.max(container.layoutHeight, __panel ? __panel.implicitHeight : 0) - - /*! \qmlproperty Component StatusBar::style - - The style Component for this control. - \sa {StatusBarStyle} - - */ - property Component style: Settings.styleComponent(Settings.style, "StatusBarStyle.qml", statusbar) - - /*! \internal */ - property alias __style: styleLoader.item - - /*! \internal */ - property Item __panel: panelLoader.item - - /*! \internal */ - default property alias __content: container.data - - /*! - \qmlproperty Item StatusBar::contentItem - - This property holds the content Item of the status bar. - - Items declared as children of a StatusBar are automatically parented to the StatusBar's contentItem. - Items created dynamically need to be explicitly parented to the contentItem: - - \note The implicit size of the StatusBar is calculated based on the size of its content. If you want to anchor - items inside the status bar, you must specify an explicit width and height on the StatusBar itself. - */ - readonly property alias contentItem: container - - data: [ - Loader { - id: panelLoader - anchors.fill: parent - sourceComponent: styleLoader.item ? styleLoader.item.panel : null - onLoaded: item.z = -1 - Loader { - id: styleLoader - property alias __control: statusbar - sourceComponent: style - } - }, - Item { - id: container - z: 1 - focus: true - anchors.fill: parent - - anchors.topMargin: topMargin - anchors.leftMargin: leftMargin - anchors.rightMargin: rightMargin - anchors.bottomMargin: bottomMargin - - property int topMargin: __style ? __style.padding.top : 0 - property int bottomMargin: __style ? __style.padding.bottom : 0 - property int leftMargin: __style ? __style.padding.left : 0 - property int rightMargin: __style ? __style.padding.right : 0 - - property Item layoutItem: container.children.length === 1 ? container.children[0] : null - property real layoutWidth: layoutItem ? (layoutItem.implicitWidth || layoutItem.width) + - (layoutItem.anchors.fill ? layoutItem.anchors.leftMargin + - layoutItem.anchors.rightMargin : 0) : 0 - property real layoutHeight: layoutItem ? (layoutItem.implicitHeight || layoutItem.height) + - (layoutItem.anchors.fill ? layoutItem.anchors.topMargin + - layoutItem.anchors.bottomMargin : 0) : 0 - }] -} diff --git a/bin/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qml b/bin/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qml deleted file mode 100644 index 398567bbd..000000000 --- a/bin/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qml +++ /dev/null @@ -1,136 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ApplicationWindowStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.4 - \ingroup controlsstyling - \brief Provides custom styling for ApplicationWindow. - - You can create a custom window background by replacing the "background" - delegate of ApplicationWindowStyle with a custom design. - - Example: - \qml - ApplicationWindow { - style: ApplicationWindowStyle { - background: BorderImage { - source: "background.png" - border { left: 20; top: 20; right: 20; bottom: 20 } - } - } - } - \endqml -*/ -QtObject { - /*! The window attached to this style. */ - readonly property ApplicationWindow control: __control - - /*! A custom background for the window. - - \note The window might have a custom background color set. The custom - background color is automatically filled by the window. The background - delegate should respect the custom background color by either hiding - itself altogether when a custom background color is set, or by letting - the custom background color shine through. - - The following read-only property is available within the scope - of the background delegate: - \table - \row \li \b {styleData.hasColor} : bool \li Whether the window has a custom background color set. - \endtable - */ - property Component background: Rectangle { - visible: !styleData.hasColor - color: SystemPaletteSingleton.window(true) - } - - /*! \internal */ - property Component panel: Item { - readonly property alias contentArea: contentArea - readonly property alias menuBarArea: menuBarArea - readonly property alias toolBarArea: toolBarArea - readonly property alias statusBarArea: statusBarArea - - Loader { - anchors.fill: parent - sourceComponent: background - } - - Item { - id: contentArea - anchors.top: toolBarArea.bottom - anchors.left: parent.left - anchors.right: parent.right - anchors.bottom: statusBarArea.top - } - - Item { - id: toolBarArea - anchors.top: parent.menuBarArea.bottom - anchors.left: parent.left - anchors.right: parent.right - implicitHeight: childrenRect.height - height: visibleChildren.length > 0 ? implicitHeight: 0 - } - - Item { - id: menuBarArea - anchors.top: parent.top - anchors.left: parent.left - anchors.right: parent.right - implicitHeight: childrenRect.height - height: visibleChildren.length > 0 ? implicitHeight: 0 - } - - Item { - id: statusBarArea - anchors.bottom: parent.bottom - anchors.left: parent.left - anchors.right: parent.right - implicitHeight: childrenRect.height - height: visibleChildren.length > 0 ? implicitHeight: 0 - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qml b/bin/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qml deleted file mode 100644 index 334ee6652..000000000 --- a/bin/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qml +++ /dev/null @@ -1,164 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype BasicTableViewStyle - \internal - \inqmlmodule QtQuick.Controls.Styles - \inherits ScrollViewStyle - \qmlabstract -*/ - -ScrollViewStyle { - id: root - - /*! \qmlproperty BasicTableView BasicTableViewStyle::control - \internal */ - readonly property BasicTableView control: __control - - /*! \qmlproperty color BasicTableViewStyle::textColor - The text color. */ - property color textColor: SystemPaletteSingleton.text(control.enabled) - - /*! \qmlproperty color BasicTableViewStyle::backgroundColor - The background color. */ - property color backgroundColor: control.backgroundVisible ? SystemPaletteSingleton.base(control.enabled) : "transparent" - - /*! \qmlproperty color BasicTableViewStyle::alternateBackgroundColor - The alternate background color. */ - property color alternateBackgroundColor: "#f5f5f5" - - /*! \qmlproperty color BasicTableViewStyle::highlightedTextColor - The text highlight color, used within selections. */ - property color highlightedTextColor: "white" - - /*! \qmlproperty bool BasicTableViewStyle::activateItemOnSingleClick - Activates items on single click. - - Its default value is \c false. - */ - property bool activateItemOnSingleClick: false - - padding.top: control.headerVisible ? 0 : 1 - - /*! \qmlproperty Component BasicTableViewStyle::headerDelegate - \internal - - Different documentation for TableViewStyle and TreeViewStyle. - See qtquickcontrolsstyles-tableviewstyle.qdoc and qtquickcontrolsstyles-treeviewstyle.qdoc - */ - property Component headerDelegate: BorderImage { - height: Math.round(textItem.implicitHeight * 1.2) - source: "images/header.png" - border.left: 4 - border.bottom: 2 - border.top: 2 - Text { - id: textItem - anchors.fill: parent - verticalAlignment: Text.AlignVCenter - horizontalAlignment: styleData.textAlignment - anchors.leftMargin: horizontalAlignment === Text.AlignLeft ? 12 : 1 - anchors.rightMargin: horizontalAlignment === Text.AlignRight ? 8 : 1 - text: styleData.value - elide: Text.ElideRight - color: textColor - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - Rectangle { - width: 1 - height: parent.height - 2 - y: 1 - color: "#ccc" - } - } - - /*! \qmlproperty Component BasicTableViewStyle::rowDelegate - \internal - - Different documentation for TableViewStyle and TreeViewStyle. - See qtquickcontrolsstyles-tableviewstyle.qdoc and qtquickcontrolsstyles-treeviewstyle.qdoc - */ - property Component rowDelegate: Rectangle { - height: Math.round(TextSingleton.implicitHeight * 1.2) - property color selectedColor: control.activeFocus ? "#07c" : "#999" - color: styleData.selected ? selectedColor : - !styleData.alternate ? alternateBackgroundColor : backgroundColor - } - - /*! \qmlproperty Component BasicTableViewStyle::itemDelegate - \internal - - Different documentation for TableViewStyle and TreeViewStyle. - See qtquickcontrolsstyles-tableviewstyle.qdoc and qtquickcontrolsstyles-treeviewstyle.qdoc - */ - property Component itemDelegate: Item { - height: Math.max(16, label.implicitHeight) - property int implicitWidth: label.implicitWidth + 20 - - Text { - id: label - objectName: "label" - width: parent.width - x - (horizontalAlignment === Text.AlignRight ? 8 : 1) - x: (styleData.hasOwnProperty("depth") && styleData.column === 0) ? 0 : - horizontalAlignment === Text.AlignRight ? 1 : 8 - horizontalAlignment: styleData.textAlignment - anchors.verticalCenter: parent.verticalCenter - anchors.verticalCenterOffset: 1 - elide: styleData.elideMode - text: styleData.value !== undefined ? styleData.value.toString() : "" - color: styleData.textColor - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - } - - /*! \internal - Part of TreeViewStyle - */ - property Component __branchDelegate: null - - /*! \internal - Part of TreeViewStyle - */ - property int __indentation: 12 -} diff --git a/bin/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qml b/bin/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qml deleted file mode 100644 index da2a2aa5d..000000000 --- a/bin/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qml +++ /dev/null @@ -1,120 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype BusyIndicatorStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.2 - \ingroup controlsstyling - \brief Provides custom styling for BusyIndicatorStyle. - - You can create a busy indicator by replacing the "indicator" delegate - of the BusyIndicatorStyle with a custom design. - - Example: - \qml - BusyIndicator { - style: BusyIndicatorStyle { - indicator: Image { - visible: control.running - source: "spinner.png" - RotationAnimator on rotation { - running: control.running - loops: Animation.Infinite - duration: 2000 - from: 0 ; to: 360 - } - } - } - } - \endqml -*/ -Style { - id: indicatorstyle - - /*! The \l BusyIndicator this style is attached to. */ - readonly property BusyIndicator control: __control - - /*! This defines the appearance of the busy indicator. */ - property Component indicator: Item { - id: indicatorItem - - implicitWidth: 48 - implicitHeight: 48 - - opacity: control.running ? 1 : 0 - Behavior on opacity { OpacityAnimator { duration: 250 } } - - Image { - anchors.centerIn: parent - anchors.alignWhenCentered: true - width: Math.min(parent.width, parent.height) - height: width - source: width <= 32 ? "images/spinner_small.png" : - width >= 48 ? "images/spinner_large.png" : - "images/spinner_medium.png" - RotationAnimator on rotation { - duration: 800 - loops: Animation.Infinite - from: 0 - to: 360 - running: indicatorItem.visible && (control.running || indicatorItem.opacity > 0); - } - } - } - - /*! \internal */ - property Component panel: Item { - anchors.fill: parent - implicitWidth: indicatorLoader.implicitWidth - implicitHeight: indicatorLoader.implicitHeight - - Loader { - id: indicatorLoader - sourceComponent: indicator - anchors.centerIn: parent - width: Math.min(parent.width, parent.height) - height: width - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/ButtonStyle.qml b/bin/QtQuick/Controls/Styles/Base/ButtonStyle.qml deleted file mode 100644 index 5a3fa5511..000000000 --- a/bin/QtQuick/Controls/Styles/Base/ButtonStyle.qml +++ /dev/null @@ -1,175 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ButtonStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.1 - \ingroup controlsstyling - \brief Provides custom styling for Button. - - You can create a custom button by replacing the "background" delegate - of the ButtonStyle with a custom design. - - Example: - \qml - Button { - text: "A button" - style: ButtonStyle { - background: Rectangle { - implicitWidth: 100 - implicitHeight: 25 - border.width: control.activeFocus ? 2 : 1 - border.color: "#888" - radius: 4 - gradient: Gradient { - GradientStop { position: 0 ; color: control.pressed ? "#ccc" : "#eee" } - GradientStop { position: 1 ; color: control.pressed ? "#aaa" : "#ccc" } - } - } - } - } - \endqml - If you need a custom label, you can replace the label item. -*/ - -Style { - id: buttonstyle - - /*! The \l {QtQuick.Controls::}{Button} this style is attached to. */ - readonly property Button control: __control - - /*! The padding between the background and the label components. */ - padding { - top: 4 - left: 4 - right: 4 + (control.menu !== null ? Math.round(TextSingleton.implicitHeight * 0.5) : 0) - bottom: 4 - } - - /*! This defines the background of the button. */ - property Component background: Item { - property bool down: control.pressed || (control.checkable && control.checked) - implicitWidth: Math.round(TextSingleton.implicitHeight * 4.5) - implicitHeight: Math.max(25, Math.round(TextSingleton.implicitHeight * 1.2)) - Rectangle { - anchors.fill: parent - anchors.bottomMargin: down ? 0 : -1 - color: "#10000000" - radius: baserect.radius - } - Rectangle { - id: baserect - gradient: Gradient { - GradientStop {color: down ? "#aaa" : "#fefefe" ; position: 0} - GradientStop {color: down ? "#ccc" : "#e3e3e3" ; position: down ? 0.1: 1} - } - radius: TextSingleton.implicitHeight * 0.16 - anchors.fill: parent - border.color: control.activeFocus ? "#47b" : "#999" - Rectangle { - anchors.fill: parent - radius: parent.radius - color: control.activeFocus ? "#47b" : "white" - opacity: control.hovered || control.activeFocus ? 0.1 : 0 - Behavior on opacity {NumberAnimation{ duration: 100 }} - } - } - Image { - id: imageItem - visible: control.menu !== null - source: "images/arrow-down.png" - anchors.verticalCenter: parent.verticalCenter - anchors.right: parent.right - anchors.rightMargin: 4 - opacity: control.enabled ? 0.6 : 0.5 - } - } - - /*! This defines the label of the button. */ - property Component label: Item { - implicitWidth: row.implicitWidth - implicitHeight: row.implicitHeight - baselineOffset: row.y + text.y + text.baselineOffset - Row { - id: row - anchors.centerIn: parent - spacing: 2 - Image { - source: control.iconSource - anchors.verticalCenter: parent.verticalCenter - } - Text { - id: text - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - anchors.verticalCenter: parent.verticalCenter - text: StyleHelpers.stylizeMnemonics(control.text) - color: SystemPaletteSingleton.buttonText(control.enabled) - } - } - } - - /*! \internal */ - property Component panel: Item { - anchors.fill: parent - implicitWidth: Math.max(labelLoader.implicitWidth + padding.left + padding.right, backgroundLoader.implicitWidth) - implicitHeight: Math.max(labelLoader.implicitHeight + padding.top + padding.bottom, backgroundLoader.implicitHeight) - baselineOffset: labelLoader.item ? padding.top + labelLoader.item.baselineOffset : 0 - - Loader { - id: backgroundLoader - anchors.fill: parent - sourceComponent: background - } - - Loader { - id: labelLoader - sourceComponent: label - anchors.fill: parent - anchors.leftMargin: padding.left - anchors.topMargin: padding.top - anchors.rightMargin: padding.right - anchors.bottomMargin: padding.bottom - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/CalendarStyle.qml b/bin/QtQuick/Controls/Styles/Base/CalendarStyle.qml deleted file mode 100644 index bde2f2cce..000000000 --- a/bin/QtQuick/Controls/Styles/Base/CalendarStyle.qml +++ /dev/null @@ -1,703 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype CalendarStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.3 - \ingroup controlsstyling - \brief Provides custom styling for \l Calendar. - - \section2 Component Map - - \image calendarstyle-components-week-numbers.png - - The calendar has the following styleable components: - - \table - \row \li \image square-white.png - \li \l background - \li Fills the entire control. - \row \li \image square-yellow.png - \li \l navigationBar - \li - \row \li \image square-green.png - \li \l dayOfWeekDelegate - \li One instance per day of week. - \row \li \image square-red.png - \li \l weekNumberDelegate - \li One instance per week. - \row \li \image square-blue.png - \li \l dayDelegate - \li One instance per day of month. - \endtable - - \section2 Custom Style Example - \qml - Calendar { - anchors.centerIn: parent - - style: CalendarStyle { - gridVisible: false - dayDelegate: Rectangle { - gradient: Gradient { - GradientStop { - position: 0.00 - color: styleData.selected ? "#111" : (styleData.visibleMonth && styleData.valid ? "#444" : "#666"); - } - GradientStop { - position: 1.00 - color: styleData.selected ? "#444" : (styleData.visibleMonth && styleData.valid ? "#111" : "#666"); - } - GradientStop { - position: 1.00 - color: styleData.selected ? "#777" : (styleData.visibleMonth && styleData.valid ? "#111" : "#666"); - } - } - - Label { - text: styleData.date.getDate() - anchors.centerIn: parent - color: styleData.valid ? "white" : "grey" - } - - Rectangle { - width: parent.width - height: 1 - color: "#555" - anchors.bottom: parent.bottom - } - - Rectangle { - width: 1 - height: parent.height - color: "#555" - anchors.right: parent.right - } - } - } - } - \endqml -*/ - -Style { - id: calendarStyle - - /*! - The Calendar this style is attached to. - */ - readonly property Calendar control: __control - - /*! - The color of the grid lines. - */ - property color gridColor: "#d3d3d3" - - /*! - This property determines the visibility of the grid. - - The default value is \c true. - */ - property bool gridVisible: true - - /*! - \internal - - The width of each grid line. - */ - property real __gridLineWidth: 1 - - /*! \internal */ - property color __horizontalSeparatorColor: gridColor - - /*! \internal */ - property color __verticalSeparatorColor: gridColor - - function __cellRectAt(index) { - return CalendarUtils.cellRectAt(index, control.__panel.columns, control.__panel.rows, - control.__panel.availableWidth, control.__panel.availableHeight, gridVisible ? __gridLineWidth : 0); - } - - function __isValidDate(date) { - return date !== undefined - && date.getTime() >= control.minimumDate.getTime() - && date.getTime() <= control.maximumDate.getTime(); - } - - /*! - The background of the calendar. - - The implicit size of the calendar is calculated based on the implicit size of the background delegate. - */ - property Component background: Rectangle { - color: "#fff" - implicitWidth: Math.max(250, Math.round(TextSingleton.implicitHeight * 14)) - implicitHeight: Math.max(250, Math.round(TextSingleton.implicitHeight * 14)) - } - - /*! - The navigation bar of the calendar. - - Styles the bar at the top of the calendar that contains the - next month/previous month buttons and the selected date label. - - The properties provided to the delegate are: - \table - \row \li readonly property string \b styleData.title - \li The title of the calendar. - \endtable - */ - property Component navigationBar: Rectangle { - height: Math.round(TextSingleton.implicitHeight * 2.73) - color: "#f9f9f9" - - Rectangle { - color: Qt.rgba(1,1,1,0.6) - height: 1 - width: parent.width - } - - Rectangle { - anchors.bottom: parent.bottom - height: 1 - width: parent.width - color: "#ddd" - } - HoverButton { - id: previousMonth - width: parent.height - height: width - anchors.verticalCenter: parent.verticalCenter - anchors.left: parent.left - source: "images/leftanglearrow.png" - onClicked: control.showPreviousMonth() - } - Label { - id: dateText - text: styleData.title - elide: Text.ElideRight - horizontalAlignment: Text.AlignHCenter - font.pixelSize: TextSingleton.implicitHeight * 1.25 - anchors.verticalCenter: parent.verticalCenter - anchors.left: previousMonth.right - anchors.leftMargin: 2 - anchors.right: nextMonth.left - anchors.rightMargin: 2 - } - HoverButton { - id: nextMonth - width: parent.height - height: width - anchors.verticalCenter: parent.verticalCenter - anchors.right: parent.right - source: "images/rightanglearrow.png" - onClicked: control.showNextMonth() - } - } - - /*! - The delegate that styles each date in the calendar. - - The properties provided to each delegate are: - \table - \row \li readonly property date \b styleData.date - \li The date this delegate represents. - \row \li readonly property bool \b styleData.selected - \li \c true if this is the selected date. - \row \li readonly property int \b styleData.index - \li The index of this delegate. - \row \li readonly property bool \b styleData.valid - \li \c true if this date is greater than or equal to than \l {Calendar::minimumDate}{minimumDate} and - less than or equal to \l {Calendar::maximumDate}{maximumDate}. - \row \li readonly property bool \b styleData.today - \li \c true if this date is equal to today's date. - \row \li readonly property bool \b styleData.visibleMonth - \li \c true if the month in this date is the visible month. - \row \li readonly property bool \b styleData.hovered - \li \c true if the mouse is over this cell. - \note This property is \c true even when the mouse is hovered over an invalid date. - \row \li readonly property bool \b styleData.pressed - \li \c true if the mouse is pressed on this cell. - \note This property is \c true even when the mouse is pressed on an invalid date. - \endtable - */ - property Component dayDelegate: Rectangle { - anchors.fill: parent - anchors.leftMargin: (!addExtraMargin || control.weekNumbersVisible) && styleData.index % CalendarUtils.daysInAWeek === 0 ? 0 : -1 - anchors.rightMargin: !addExtraMargin && styleData.index % CalendarUtils.daysInAWeek === CalendarUtils.daysInAWeek - 1 ? 0 : -1 - anchors.bottomMargin: !addExtraMargin && styleData.index >= CalendarUtils.daysInAWeek * (CalendarUtils.weeksOnACalendarMonth - 1) ? 0 : -1 - anchors.topMargin: styleData.selected ? -1 : 0 - color: styleData.date !== undefined && styleData.selected ? selectedDateColor : "transparent" - - readonly property bool addExtraMargin: control.frameVisible && styleData.selected - readonly property color sameMonthDateTextColor: "#444" - readonly property color selectedDateColor: Qt.platform.os === "osx" ? "#3778d0" : SystemPaletteSingleton.highlight(control.enabled) - readonly property color selectedDateTextColor: "white" - readonly property color differentMonthDateTextColor: "#bbb" - readonly property color invalidDateColor: "#dddddd" - Label { - id: dayDelegateText - text: styleData.date.getDate() - anchors.centerIn: parent - horizontalAlignment: Text.AlignRight - font.pixelSize: Math.min(parent.height/3, parent.width/3) - color: { - var theColor = invalidDateColor; - if (styleData.valid) { - // Date is within the valid range. - theColor = styleData.visibleMonth ? sameMonthDateTextColor : differentMonthDateTextColor; - if (styleData.selected) - theColor = selectedDateTextColor; - } - theColor; - } - } - } - - /*! - The delegate that styles each weekday. - - The height of the weekday row is calculated based on the maximum implicit height of the delegates. - - The properties provided to each delegate are: - \table - \row \li readonly property int \b styleData.index - \li The index (0-6) of the delegate. - \row \li readonly property int \b styleData.dayOfWeek - \li The day of the week this delegate represents. Possible values: - \list - \li \c Locale.Sunday - \li \c Locale.Monday - \li \c Locale.Tuesday - \li \c Locale.Wednesday - \li \c Locale.Thursday - \li \c Locale.Friday - \li \c Locale.Saturday - \endlist - \endtable - */ - property Component dayOfWeekDelegate: Rectangle { - color: gridVisible ? "#fcfcfc" : "transparent" - implicitHeight: Math.round(TextSingleton.implicitHeight * 2.25) - Label { - text: control.locale.dayName(styleData.dayOfWeek, control.dayOfWeekFormat) - anchors.centerIn: parent - } - } - - /*! - The delegate that styles each week number. - - The width of the week number column is calculated based on the maximum implicit width of the delegates. - - The properties provided to each delegate are: - \table - \row \li readonly property int \b styleData.index - \li The index (0-5) of the delegate. - \row \li readonly property int \b styleData.weekNumber - \li The number of the week this delegate represents. - \endtable - */ - property Component weekNumberDelegate: Rectangle { - implicitWidth: Math.round(TextSingleton.implicitHeight * 2) - Label { - text: styleData.weekNumber - anchors.centerIn: parent - color: "#444" - } - } - - /*! \internal */ - property Component panel: Item { - id: panelItem - - implicitWidth: backgroundLoader.implicitWidth - implicitHeight: backgroundLoader.implicitHeight - - property alias navigationBarItem: navigationBarLoader.item - - property alias dayOfWeekHeaderRow: dayOfWeekHeaderRow - - readonly property int weeksToShow: 6 - readonly property int rows: weeksToShow - readonly property int columns: CalendarUtils.daysInAWeek - - // The combined available width and height to be shared amongst each cell. - readonly property real availableWidth: viewContainer.width - readonly property real availableHeight: viewContainer.height - - property int hoveredCellIndex: -1 - property int pressedCellIndex: -1 - property int pressCellIndex: -1 - property var pressDate: null - - Rectangle { - anchors.fill: parent - color: "transparent" - border.color: gridColor - visible: control.frameVisible - } - - Item { - id: container - anchors.fill: parent - anchors.margins: control.frameVisible ? 1 : 0 - - Loader { - id: backgroundLoader - anchors.fill: parent - sourceComponent: background - } - - Loader { - id: navigationBarLoader - anchors.left: parent.left - anchors.right: parent.right - anchors.top: parent.top - sourceComponent: navigationBar - active: control.navigationBarVisible - - property QtObject styleData: QtObject { - readonly property string title: control.locale.standaloneMonthName(control.visibleMonth) - + new Date(control.visibleYear, control.visibleMonth, 1).toLocaleDateString(control.locale, " yyyy") - } - } - - Row { - id: dayOfWeekHeaderRow - anchors.top: navigationBarLoader.bottom - anchors.left: parent.left - anchors.leftMargin: (control.weekNumbersVisible ? weekNumbersItem.width : 0) - anchors.right: parent.right - spacing: gridVisible ? __gridLineWidth : 0 - property alias __repeater: repeater - - Repeater { - id: repeater - model: CalendarHeaderModel { - locale: control.locale - } - Loader { - id: dayOfWeekDelegateLoader - sourceComponent: dayOfWeekDelegate - width: __cellRectAt(index).width - - readonly property int __index: index - readonly property var __dayOfWeek: dayOfWeek - - property QtObject styleData: QtObject { - readonly property alias index: dayOfWeekDelegateLoader.__index - readonly property alias dayOfWeek: dayOfWeekDelegateLoader.__dayOfWeek - } - } - } - } - - Rectangle { - id: topGridLine - color: __horizontalSeparatorColor - width: parent.width - height: __gridLineWidth - visible: gridVisible - anchors.top: dayOfWeekHeaderRow.bottom - } - - Row { - id: gridRow - width: weekNumbersItem.width + viewContainer.width - height: viewContainer.height - anchors.top: topGridLine.bottom - - Column { - id: weekNumbersItem - visible: control.weekNumbersVisible - height: viewContainer.height - spacing: gridVisible ? __gridLineWidth : 0 - Repeater { - id: weekNumberRepeater - model: panelItem.weeksToShow - - Loader { - id: weekNumberDelegateLoader - height: __cellRectAt(index * panelItem.columns).height - sourceComponent: weekNumberDelegate - - readonly property int __index: index - property int __weekNumber: control.__model.weekNumberAt(index) - - Connections { - target: control - - function onVisibleMonthChanged() { - __weekNumber = control.__model.weekNumberAt(index) - } - - function onVisibleYearChanged() { - __weekNumber = control.__model.weekNumberAt(index) - } - } - - Connections { - target: control.__model - function onCountChanged() { - __weekNumber = control.__model.weekNumberAt(index) - } - } - - property QtObject styleData: QtObject { - readonly property alias index: weekNumberDelegateLoader.__index - readonly property int weekNumber: weekNumberDelegateLoader.__weekNumber - } - } - } - } - - Rectangle { - id: separator - anchors.topMargin: - dayOfWeekHeaderRow.height - 1 - anchors.top: weekNumbersItem.top - anchors.bottom: weekNumbersItem.bottom - - width: __gridLineWidth - color: __verticalSeparatorColor - visible: control.weekNumbersVisible - } - - // Contains the grid lines and the grid itself. - Item { - id: viewContainer - width: container.width - (control.weekNumbersVisible ? weekNumbersItem.width + separator.width : 0) - height: container.height - navigationBarLoader.height - dayOfWeekHeaderRow.height - topGridLine.height - - Repeater { - id: verticalGridLineRepeater - model: panelItem.columns - 1 - delegate: Rectangle { - x: __cellRectAt(index + 1).x - __gridLineWidth - y: 0 - width: __gridLineWidth - height: viewContainer.height - color: gridColor - visible: gridVisible - } - } - - Repeater { - id: horizontalGridLineRepeater - model: panelItem.rows - 1 - delegate: Rectangle { - x: 0 - y: __cellRectAt((index + 1) * panelItem.columns).y - __gridLineWidth - width: viewContainer.width - height: __gridLineWidth - color: gridColor - visible: gridVisible - } - } - - MouseArea { - id: mouseArea - anchors.fill: parent - - hoverEnabled: Settings.hoverEnabled - - function cellIndexAt(mouseX, mouseY) { - var viewContainerPos = viewContainer.mapFromItem(mouseArea, mouseX, mouseY); - var child = viewContainer.childAt(viewContainerPos.x, viewContainerPos.y); - // In the tests, the mouseArea sometimes gets picked instead of the cells, - // probably because stuff is still loading. To be safe, we check for that here. - return child && child !== mouseArea ? child.__index : -1; - } - - onEntered: { - hoveredCellIndex = cellIndexAt(mouseX, mouseY); - if (hoveredCellIndex === undefined) { - hoveredCellIndex = cellIndexAt(mouseX, mouseY); - } - - var date = view.model.dateAt(hoveredCellIndex); - if (__isValidDate(date)) { - control.hovered(date); - } - } - - onExited: { - hoveredCellIndex = -1; - } - - onPositionChanged: { - var indexOfCell = cellIndexAt(mouse.x, mouse.y); - var previousHoveredCellIndex = hoveredCellIndex; - hoveredCellIndex = indexOfCell; - if (indexOfCell !== -1) { - var date = view.model.dateAt(indexOfCell); - if (__isValidDate(date)) { - if (hoveredCellIndex !== previousHoveredCellIndex) - control.hovered(date); - - // The date must be different for the pressed signal to be emitted. - if (pressed && date.getTime() !== control.selectedDate.getTime()) { - control.pressed(date); - - // You can't select dates in a different month while dragging. - if (date.getMonth() === control.selectedDate.getMonth()) { - control.selectedDate = date; - pressedCellIndex = indexOfCell; - } - } - } - } - } - - onPressed: { - pressCellIndex = cellIndexAt(mouse.x, mouse.y); - pressDate = null; - if (pressCellIndex !== -1) { - var date = view.model.dateAt(pressCellIndex); - pressedCellIndex = pressCellIndex; - pressDate = date; - if (__isValidDate(date)) { - control.selectedDate = date; - control.pressed(date); - } - } - } - - onReleased: { - var indexOfCell = cellIndexAt(mouse.x, mouse.y); - if (indexOfCell !== -1) { - // The cell index might be valid, but the date has to be too. We could let the - // selected date validation take care of this, but then the selected date would - // change to the earliest day if a day before the minimum date is clicked, for example. - var date = view.model.dateAt(indexOfCell); - if (__isValidDate(date)) { - control.released(date); - } - } - pressedCellIndex = -1; - } - - onClicked: { - var indexOfCell = cellIndexAt(mouse.x, mouse.y); - if (indexOfCell !== -1 && indexOfCell === pressCellIndex) { - if (__isValidDate(pressDate)) - control.clicked(pressDate); - } - } - - onDoubleClicked: { - var indexOfCell = cellIndexAt(mouse.x, mouse.y); - if (indexOfCell !== -1) { - var date = view.model.dateAt(indexOfCell); - if (__isValidDate(date)) - control.doubleClicked(date); - } - } - - onPressAndHold: { - var indexOfCell = cellIndexAt(mouse.x, mouse.y); - if (indexOfCell !== -1 && indexOfCell === pressCellIndex) { - var date = view.model.dateAt(indexOfCell); - if (__isValidDate(date)) - control.pressAndHold(date); - } - } - } - - Connections { - target: control - function onSelectedDateChanged() { view.selectedDateChanged() } - } - - Repeater { - id: view - - property int currentIndex: -1 - - model: control.__model - - Component.onCompleted: selectedDateChanged() - - function selectedDateChanged() { - if (model !== undefined && model.locale !== undefined) { - currentIndex = model.indexAt(control.selectedDate); - } - } - - delegate: Loader { - id: delegateLoader - - x: __cellRectAt(index).x - y: __cellRectAt(index).y - width: __cellRectAt(index).width - height: __cellRectAt(index).height - sourceComponent: dayDelegate - - readonly property int __index: index - readonly property date __date: date - // We rely on the fact that an invalid QDate will be converted to a Date - // whose year is -4713, which is always an invalid date since our - // earliest minimum date is the year 1. - readonly property bool valid: __isValidDate(date) - - property QtObject styleData: QtObject { - readonly property alias index: delegateLoader.__index - readonly property bool selected: control.selectedDate.getFullYear() === date.getFullYear() && - control.selectedDate.getMonth() === date.getMonth() && - control.selectedDate.getDate() === date.getDate() - readonly property alias date: delegateLoader.__date - readonly property bool valid: delegateLoader.valid - // TODO: this will not be correct if the app is running when a new day begins. - readonly property bool today: date.getTime() === new Date().setHours(0, 0, 0, 0) - readonly property bool visibleMonth: date.getMonth() === control.visibleMonth - readonly property bool hovered: panelItem.hoveredCellIndex == index - readonly property bool pressed: panelItem.pressedCellIndex == index - // todo: pressed property here, clicked and doubleClicked in the control itself - } - } - } - } - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/CheckBoxStyle.qml b/bin/QtQuick/Controls/Styles/Base/CheckBoxStyle.qml deleted file mode 100644 index a476a953a..000000000 --- a/bin/QtQuick/Controls/Styles/Base/CheckBoxStyle.qml +++ /dev/null @@ -1,193 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Layouts 1.1 -import QtQuick.Window 2.1 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype CheckBoxStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.1 - \ingroup controlsstyling - \brief Provides custom styling for CheckBox. - - Example: - \qml - CheckBox { - text: "Check Box" - style: CheckBoxStyle { - indicator: Rectangle { - implicitWidth: 16 - implicitHeight: 16 - radius: 3 - border.color: control.activeFocus ? "darkblue" : "gray" - border.width: 1 - Rectangle { - visible: control.checked - color: "#555" - border.color: "#333" - radius: 1 - anchors.margins: 4 - anchors.fill: parent - } - } - } - } - \endqml -*/ -Style { - id: checkboxStyle - - /*! The \l CheckBox this style is attached to. */ - readonly property CheckBox control: __control - - /*! This defines the text label. */ - property Component label: Item { - implicitWidth: text.implicitWidth + 2 - implicitHeight: text.implicitHeight - baselineOffset: text.baselineOffset - Rectangle { - anchors.fill: text - anchors.margins: -1 - anchors.leftMargin: -3 - anchors.rightMargin: -3 - visible: control.activeFocus - height: 6 - radius: 3 - color: "#224f9fef" - border.color: "#47b" - opacity: 0.6 - } - Text { - id: text - text: StyleHelpers.stylizeMnemonics(control.text) - anchors.centerIn: parent - color: SystemPaletteSingleton.text(control.enabled) - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - } - /*! The background under indicator and label. */ - property Component background - - /*! The spacing between indicator and label. */ - property int spacing: Math.round(TextSingleton.implicitHeight/4) - - /*! This defines the indicator button. */ - property Component indicator: Item { - implicitWidth: Math.round(TextSingleton.implicitHeight) - implicitHeight: implicitWidth - Rectangle { - anchors.fill: parent - anchors.bottomMargin: -1 - color: "#44ffffff" - radius: baserect.radius - } - Rectangle { - id: baserect - gradient: Gradient { - GradientStop {color: "#eee" ; position: 0} - GradientStop {color: control.pressed ? "#eee" : "#fff" ; position: 0.1} - GradientStop {color: "#fff" ; position: 1} - } - radius: TextSingleton.implicitHeight * 0.16 - anchors.fill: parent - border.color: control.activeFocus ? "#47b" : "#999" - } - - Image { - source: "images/check.png" - opacity: control.checkedState === Qt.Checked ? control.enabled ? 1 : 0.5 : 0 - anchors.centerIn: parent - anchors.verticalCenterOffset: 1 - Behavior on opacity {NumberAnimation {duration: 80}} - } - - Rectangle { - anchors.fill: parent - anchors.margins: Math.round(baserect.radius) - antialiasing: true - gradient: Gradient { - GradientStop {color: control.pressed ? "#555" : "#999" ; position: 0} - GradientStop {color: "#555" ; position: 1} - } - radius: baserect.radius - 1 - anchors.centerIn: parent - anchors.alignWhenCentered: true - border.color: "#222" - Behavior on opacity {NumberAnimation {duration: 80}} - opacity: control.checkedState === Qt.PartiallyChecked ? control.enabled ? 1 : 0.5 : 0 - } - } - - /*! \internal */ - property Component panel: Item { - implicitWidth: Math.max(backgroundLoader.implicitWidth, row.implicitWidth + padding.left + padding.right) - implicitHeight: Math.max(backgroundLoader.implicitHeight, labelLoader.implicitHeight + padding.top + padding.bottom,indicatorLoader.implicitHeight + padding.top + padding.bottom) - baselineOffset: labelLoader.item ? padding.top + labelLoader.item.baselineOffset : 0 - - Loader { - id: backgroundLoader - sourceComponent: background - anchors.fill: parent - } - RowLayout { - id: row - anchors.fill: parent - - anchors.leftMargin: padding.left - anchors.rightMargin: padding.right - anchors.topMargin: padding.top - anchors.bottomMargin: padding.bottom - - spacing: checkboxStyle.spacing - Loader { - id: indicatorLoader - sourceComponent: indicator - } - Loader { - id: labelLoader - Layout.fillWidth: true - sourceComponent: label - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/CircularButtonStyle.qml b/bin/QtQuick/Controls/Styles/Base/CircularButtonStyle.qml deleted file mode 100644 index b2324e0e1..000000000 --- a/bin/QtQuick/Controls/Styles/Base/CircularButtonStyle.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Extras.Private 1.0 - -ButtonStyle { - id: buttonStyle - - label: Text { - anchors.fill: parent - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - text: control.text - font.pixelSize: TextSingleton.font.pixelSize * 1.25 - color: control.pressed || control.checked ? __buttonHelper.textColorDown : __buttonHelper.textColorUp - styleColor: control.pressed || control.checked ? __buttonHelper.textRaisedColorDown : __buttonHelper.textRaisedColorUp - style: Text.Raised - wrapMode: Text.Wrap - fontSizeMode: Text.Fit - } - - /*! \internal */ - property alias __buttonHelper: buttonHelper - - CircularButtonStyleHelper { - id: buttonHelper - control: buttonStyle.control - } - - background: Item { - implicitWidth: __buttonHelper.implicitWidth - implicitHeight: __buttonHelper.implicitHeight - - Canvas { - id: backgroundCanvas - anchors.fill: parent - - Connections { - target: control - function onPressedChanged() { backgroundCanvas.requestPaint() } - } - - onPaint: { - var ctx = getContext("2d"); - __buttonHelper.paintBackground(ctx); - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qml b/bin/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qml deleted file mode 100644 index e40b8bb46..000000000 --- a/bin/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qml +++ /dev/null @@ -1,497 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtGraphicalEffects 1.0 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 - -/*! - \qmltype CircularGaugeStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.5 - \ingroup controlsstyling - \brief Provides custom styling for CircularGauge. - - You can create a custom circular gauge by replacing the following delegates: - \list - \li \l background - \li \l tickmark - \li \l minorTickmark - \li \l tickmarkLabel - \li \l needle - \li \l foreground - \endlist - - Below is an example that changes the needle to a basic orange \l Rectangle: - \code - CircularGauge { - style: CircularGaugeStyle { - needle: Rectangle { - y: outerRadius * 0.15 - implicitWidth: outerRadius * 0.03 - implicitHeight: outerRadius * 0.9 - antialiasing: true - color: Qt.rgba(0.66, 0.3, 0, 1) - } - } - } - \endcode - - The result: - \image circulargauge-needle-example-2.png CircularGaugeStyle example - - \section2 Direction - - \l minimumValueAngle and \l maximumValueAngle determine not only the - position of the tickmarks, labels and needle, but the direction in which - they are displayed around the gauge. For example, if \l minimumValueAngle - is greater than \l maximumValueAngle, the gauge will be anti-clockwise. - Below, there are two gauges: the top gauge has a \l minimumValueAngle of - \c -90 degrees and a \l maximumValueAngle of \c 90 degrees, and the bottom - gauge has the opposite. - - \image circulargauge-reversed.png Reversed CircularGauge - - \sa {Styling CircularGauge} -*/ - -Style { - id: circularGaugeStyle - - /*! - The \l CircularGauge that this style is attached to. - */ - readonly property CircularGauge control: __control - - /*! - The distance from the center of the gauge to the outer edge of the - gauge. - - This property is useful for determining the size of the various - components of the style, in order to ensure that they are scaled - proportionately when the gauge is resized. - */ - readonly property real outerRadius: Math.min(control.width, control.height) * 0.5 - - /*! - This property determines the angle at which the minimum value is - displayed on the gauge. - - The angle set affects the following components of the gauge: - \list - \li The angle of the needle - \li The position of the tickmarks and labels - \endlist - - The angle origin points north: - - \image circulargauge-angles.png - - There is no minimum or maximum angle for this property, but the default - style only supports angles whose absolute range is less than or equal - to \c 360 degrees. This is because ranges higher than \c 360 degrees - will cause the tickmarks and labels to overlap each other. - - The default value is \c -145. - */ - property real minimumValueAngle: -145 - - /*! - This property determines the angle at which the maximum value is - displayed on the gauge. - - The angle set affects the following components of the gauge: - \list - \li The angle of the needle - \li The position of the tickmarks and labels - \endlist - - The angle origin points north: - - \image circulargauge-angles.png - - There is no minimum or maximum angle for this property, but the default - style only supports angles whose absolute range is less than or equal - to \c 360 degrees. This is because ranges higher than \c 360 degrees - will cause the tickmarks and labels to overlap each other. - - The default value is \c 145. - */ - property real maximumValueAngle: 145 - - /*! - The range between \l minimumValueAngle and \l maximumValueAngle, in - degrees. This value will always be positive. - */ - readonly property real angleRange: control.__panel.circularTickmarkLabel.angleRange - - /*! - This property holds the rotation of the needle in degrees. - */ - property real needleRotation: { - var percentage = (control.value - control.minimumValue) / (control.maximumValue - control.minimumValue); - minimumValueAngle + percentage * angleRange; - } - - /*! - The interval at which tickmarks are displayed. - - For example, if this property is set to \c 10 (the default), - control.minimumValue to \c 0, and control.maximumValue to \c 100, - the tickmarks displayed will be 0, 10, 20, etc., to 100, - around the gauge. - */ - property real tickmarkStepSize: 10 - - /*! - The distance in pixels from the outside of the gauge (outerRadius) at - which the outermost point of the tickmark line is drawn. - */ - property real tickmarkInset: 0 - - - /*! - The amount of tickmarks displayed by the gauge, calculated from - \l tickmarkStepSize and the control's - \l {CircularGauge::minimumValue}{minimumValue} and - \l {CircularGauge::maximumValue}{maximumValue}. - - \sa minorTickmarkCount - */ - readonly property int tickmarkCount: control.__panel.circularTickmarkLabel.tickmarkCount - - /*! - The amount of minor tickmarks between each tickmark. - - The default value is \c 4. - - \sa tickmarkCount - */ - property int minorTickmarkCount: 4 - - /*! - The distance in pixels from the outside of the gauge (outerRadius) at - which the outermost point of the minor tickmark line is drawn. - */ - property real minorTickmarkInset: 0 - - /*! - The distance in pixels from the outside of the gauge (outerRadius) at - which the center of the value marker text is drawn. - */ - property real labelInset: __protectedScope.toPixels(0.19) - - /*! - The interval at which tickmark labels are displayed. - - For example, if this property is set to \c 10 (the default), - control.minimumValue to \c 0, and control.maximumValue to \c 100, the - tickmark labels displayed will be 0, 10, 20, etc., to 100, - around the gauge. - */ - property real labelStepSize: tickmarkStepSize - - /*! - The amount of tickmark labels displayed by the gauge, calculated from - \l labelStepSize and the control's - \l {CircularGauge::minimumValue}{minimumValue} and - \l {CircularGauge::maximumValue}{maximumValue}. - - \sa tickmarkCount, minorTickmarkCount - */ - readonly property int labelCount: control.__panel.circularTickmarkLabel.labelCount - - /*! \qmlmethod real CircularGaugeStyle::valueToAngle(real value) - Returns \a value as an angle in degrees. - - This function is useful for custom drawing or positioning of items in - the style's components. For example, it can be used to calculate the - angles at which to draw an arc around the gauge indicating the safe - area for the needle to be within. - - For example, if minimumValueAngle is set to \c 270 and - maximumValueAngle is set to \c 90, this function will return \c 270 - when passed minimumValue and \c 90 when passed maximumValue. - - \sa {Styling CircularGauge#styling-circulargauge-background}{ - Styling CircularGauge's background} - */ - function valueToAngle(value) { - return control.__panel.circularTickmarkLabel.valueToAngle(value); - } - - property QtObject __protectedScope: QtObject { - /*! - Converts a value expressed as a percentage of \l outerRadius to - a pixel value. - */ - function toPixels(percentageOfOuterRadius) { - return percentageOfOuterRadius * outerRadius; - } - } - - /*! - The background of the gauge. - - If set, the background determines the implicit size of the gauge. - - By default, there is no background defined. - - \sa {Styling CircularGauge#styling-circulargauge-background}{ - Styling CircularGauge's background} - */ - property Component background - - /*! - This component defines each individual tickmark. The position of each - tickmark is already set; only the - \l {Item::implicitWidth}{implicitWidth} and - \l {Item::implicitHeight}{implicitHeight} need to be specified. - - Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this tickmark. - \row \li \c {readonly property real} \b styleData.value - \li The value that this tickmark represents. - \endtable - - To illustrate what these properties refer to, we can use the following - example: - - \snippet circulargauge-tickmark-indices-values.qml tickmarks - - We've replaced the conventional \e line tickmarks with \l Text items - and have hidden the tickmarkLabel component in order to make the - association clearer: - - \image circulargauge-tickmark-indices-values.png Tickmarks - - The index property can be useful if you have another model that - contains images to display for each index, for example. - - The value property is useful for drawing lower and upper limits around - the gauge to indicate the recommended value ranges. For example, speeds - above 200 kilometers an hour in a car's speedometer could be indicated - as dangerous using this property. - - \sa {Styling CircularGauge#styling-circulargauge-tickmark}{ - Styling CircularGauge's tickmark} - */ - property Component tickmark: Rectangle { - implicitWidth: outerRadius * 0.02 - antialiasing: true - implicitHeight: outerRadius * 0.06 - color: "#c8c8c8" - } - - /*! - This component defines each individual minor tickmark. The position of - each minor tickmark is already set; only the - \l {Item::implicitWidth}{implicitWidth} and - \l {Item::implicitHeight}{implicitHeight} need to be specified. - - Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this tickmark. - \row \li \c {readonly property real} \b styleData.value - \li The value that this tickmark represents. - \endtable - - \sa {Styling CircularGauge#styling-circulargauge-minorTickmark}{ - Styling CircularGauge's minorTickmark} - */ - property Component minorTickmark: Rectangle { - implicitWidth: outerRadius * 0.01 - antialiasing: true - implicitHeight: outerRadius * 0.03 - color: "#c8c8c8" - } - - /*! - This defines the text of each tickmark label on the gauge. - - Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this label. - \row \li \c {readonly property real} \b styleData.value - \li The value that this label represents. - \endtable - - \sa {Styling CircularGauge#styling-circulargauge-tickmarkLabel}{ - Styling CircularGauge's tickmarkLabel} - */ - property Component tickmarkLabel: Text { - font.pixelSize: Math.max(6, __protectedScope.toPixels(0.12)) - text: styleData.value - color: "#c8c8c8" - antialiasing: true - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - } - - /*! - The needle that points to the gauge's current value. - - This component is drawn below the \l foreground component. - - The style expects the needle to be pointing up at a rotation of \c 0, - in order for the rotation to be correct. For example: - - \image circulargauge-needle.png CircularGauge's needle - - When defining your own needle component, the only properties that the - style requires you to set are the - \l {Item::implicitWidth}{implicitWidth} and - \l {Item::implicitHeight}{implicitHeight}. - - Optionally, you can set \l {Item::x}{x} and \l {Item::y}{y} to change - the needle's transform origin. Setting the \c x position can be useful - for needle images where the needle is not centered exactly - horizontally. Setting the \c y position allows you to make the base of - the needle hang over the center of the gauge. - - \sa {Styling CircularGauge#styling-circulargauge-needle}{ - Styling CircularGauge's needle} - */ - property Component needle: Item { - implicitWidth: __protectedScope.toPixels(0.08) - implicitHeight: 0.9 * outerRadius - - Image { - anchors.fill: parent - source: "images/needle.png" - } - } - - /*! - The foreground of the gauge. This component is drawn above all others. - - Like \l background, the foreground component fills the entire gauge. - - By default, the knob of the gauge is defined here. - - \sa {Styling CircularGauge#styling-circulargauge-foreground}{ - Styling CircularGauge's foreground} - */ - property Component foreground: Item { - Image { - source: "images/knob.png" - anchors.centerIn: parent - scale: { - var idealHeight = __protectedScope.toPixels(0.2); - var originalImageHeight = sourceSize.height; - idealHeight / originalImageHeight; - } - } - } - - /*! \internal */ - property Component panel: Item { - id: panelItem - implicitWidth: backgroundLoader.item ? backgroundLoader.implicitWidth : TextSingleton.implicitHeight * 16 - implicitHeight: backgroundLoader.item ? backgroundLoader.implicitHeight : TextSingleton.implicitHeight * 16 - - property alias background: backgroundLoader.item - property alias circularTickmarkLabel: circularTickmarkLabel_ - - Loader { - id: backgroundLoader - sourceComponent: circularGaugeStyle.background - width: outerRadius * 2 - height: outerRadius * 2 - anchors.centerIn: parent - } - - CircularTickmarkLabel { - id: circularTickmarkLabel_ - anchors.fill: backgroundLoader - - minimumValue: control.minimumValue - maximumValue: control.maximumValue - stepSize: control.stepSize - tickmarksVisible: control.tickmarksVisible - minimumValueAngle: circularGaugeStyle.minimumValueAngle - maximumValueAngle: circularGaugeStyle.maximumValueAngle - tickmarkStepSize: circularGaugeStyle.tickmarkStepSize - tickmarkInset: circularGaugeStyle.tickmarkInset - minorTickmarkCount: circularGaugeStyle.minorTickmarkCount - minorTickmarkInset: circularGaugeStyle.minorTickmarkInset - labelInset: circularGaugeStyle.labelInset - labelStepSize: circularGaugeStyle.labelStepSize - - style: CircularTickmarkLabelStyle { - tickmark: circularGaugeStyle.tickmark - minorTickmark: circularGaugeStyle.minorTickmark - tickmarkLabel: circularGaugeStyle.tickmarkLabel - } - } - - Loader { - id: needleLoader - sourceComponent: circularGaugeStyle.needle - transform: [ - Rotation { - angle: needleRotation - origin.x: needleLoader.width / 2 - origin.y: needleLoader.height - }, - Translate { - x: panelItem.width / 2 - needleLoader.width / 2 - y: panelItem.height / 2 - needleLoader.height - } - ] - } - - Loader { - id: foreground - sourceComponent: circularGaugeStyle.foreground - anchors.fill: backgroundLoader - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qml b/bin/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qml deleted file mode 100644 index 494a7f28c..000000000 --- a/bin/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qml +++ /dev/null @@ -1,309 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras.Private 1.0 -import QtQuick.Extras.Private.CppUtils 1.0 - -Style { - id: circularTickmarkLabelStyle - - /*! - The distance from the center of the control to the outer edge. - */ - readonly property real outerRadius: Math.min(control.width, control.height) * 0.5 - - property QtObject __protectedScope: QtObject { - /*! - Converts a value expressed as a percentage of \l outerRadius to - a pixel value. - */ - function toPixels(percentageOfOuterRadius) { - return percentageOfOuterRadius * outerRadius; - } - } - - /*! - This component defines each individual tickmark. The position of each - tickmark is already set; only the size needs to be specified. - */ - property Component tickmark: Rectangle { - width: outerRadius * 0.02 - antialiasing: true - height: outerRadius * 0.06 - color: "#c8c8c8" - } - - /*! - This component defines each individual minor tickmark. The position of - each minor tickmark is already set; only the size needs to be specified. - */ - property Component minorTickmark: Rectangle { - width: outerRadius * 0.01 - antialiasing: true - height: outerRadius * 0.03 - color: "#c8c8c8" - } - - /*! - This defines the text of each tickmark label on the gauge. - */ - property Component tickmarkLabel: Text { - font.pixelSize: Math.max(6, __protectedScope.toPixels(0.12)) - text: styleData.value - color: "#c8c8c8" - antialiasing: true - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - } - - /*! \internal */ - property Component panel: Item { - id: panelItem - implicitWidth: 250 - implicitHeight: 250 - - function rangeUsed(count, stepSize) { - return (((count - 1) * stepSize) / (control.maximumValue - control.minimumValue)) * control.angleRange; - } - - readonly property real tickmarkSectionSize: rangeUsed(control.tickmarkCount, control.tickmarkStepSize) / (control.tickmarkCount - 1) - readonly property real tickmarkSectionValue: (control.maximumValue - control.minimumValue) / (control.tickmarkCount - 1) - readonly property real minorTickmarkSectionSize: tickmarkSectionSize / (control.minorTickmarkCount + 1) - readonly property real minorTickmarkSectionValue: tickmarkSectionValue / (control.minorTickmarkCount + 1) - readonly property int totalMinorTickmarkCount: { - // The size of each section within two major tickmarks, expressed as a percentage. - var minorSectionPercentage = 1 / (control.minorTickmarkCount + 1); - // The amount of major tickmarks not able to be displayed; will be 0 if they all fit. - var tickmarksNotDisplayed = control.__tickmarkCount - control.tickmarkCount; - var count = control.minorTickmarkCount * (control.tickmarkCount - 1); - // We'll try to display as many minor tickmarks as we can to fill up the space. - count + tickmarksNotDisplayed / minorSectionPercentage; - } - readonly property real labelSectionSize: rangeUsed(control.labelCount, control.labelStepSize) / (control.labelCount - 1) - - function toPixels(percentageOfOuterRadius) { - return percentageOfOuterRadius * outerRadius; - } - - /*! - Returns the angle of \a marker (in the range 0 ... n - 1, where n - is the amount of markers) on the gauge where sections are of size - tickmarkSectionSize. - */ - function tickmarkAngleFromIndex(tickmarkIndex) { - return tickmarkIndex * tickmarkSectionSize + control.minimumValueAngle; - } - - function labelAngleFromIndex(labelIndex) { - return labelIndex * labelSectionSize + control.minimumValueAngle; - } - - function labelPosFromIndex(index, labelWidth, labelHeight) { - return MathUtils.centerAlongCircle(outerRadius, outerRadius, labelWidth, labelHeight, - MathUtils.degToRadOffset(labelAngleFromIndex(index)), - outerRadius - control.labelInset) - } - - function minorTickmarkAngleFromIndex(minorTickmarkIndex) { - var baseAngle = tickmarkAngleFromIndex(Math.floor(minorTickmarkIndex / control.minorTickmarkCount)); - // + minorTickmarkSectionSize because we don't want the first minor tickmark to start on top of its "parent" tickmark. - var relativeMinorAngle = (minorTickmarkIndex % control.minorTickmarkCount * minorTickmarkSectionSize) + minorTickmarkSectionSize; - return baseAngle + relativeMinorAngle; - } - - function tickmarkValueFromIndex(majorIndex) { - return (majorIndex * tickmarkSectionValue) + control.minimumValue; - } - - function tickmarkValueFromMinorIndex(minorIndex) { - var majorIndex = Math.floor(minorIndex / control.minorTickmarkCount); - var relativeMinorIndex = minorIndex % control.minorTickmarkCount; - return tickmarkValueFromIndex(majorIndex) + ((relativeMinorIndex * minorTickmarkSectionValue) + minorTickmarkSectionValue); - } - - Loader { - active: control.tickmarksVisible && tickmark != null - width: outerRadius * 2 - height: outerRadius * 2 - anchors.centerIn: parent - - sourceComponent: Repeater { - id: tickmarkRepeater - model: control.tickmarkCount - delegate: Loader { - id: tickmarkLoader - objectName: "tickmark" + styleData.index - x: tickmarkRepeater.width / 2 - y: tickmarkRepeater.height / 2 - - transform: [ - Translate { - y: -outerRadius + control.tickmarkInset - }, - Rotation { - angle: panelItem.tickmarkAngleFromIndex(styleData.index) - __tickmarkWidthAsAngle / 2 - } - ] - - sourceComponent: tickmark - - property int __index: index - property QtObject styleData: QtObject { - readonly property alias index: tickmarkLoader.__index - readonly property real value: tickmarkValueFromIndex(index) - } - - readonly property real __tickmarkWidthAsAngle: MathUtils.radToDeg((width / (MathUtils.pi2 * outerRadius)) * MathUtils.pi2) - } - } - } - Loader { - active: control.tickmarksVisible && minorTickmark != null - width: outerRadius * 2 - height: outerRadius * 2 - anchors.centerIn: parent - - sourceComponent: Repeater { - id: minorRepeater - anchors.fill: parent - model: totalMinorTickmarkCount - delegate: Loader { - id: minorTickmarkLoader - objectName: "minorTickmark" + styleData.index - x: minorRepeater.width / 2 - y: minorRepeater.height / 2 - transform: [ - Translate { - y: -outerRadius + control.minorTickmarkInset - }, - Rotation { - angle: panelItem.minorTickmarkAngleFromIndex(styleData.index) - __minorTickmarkWidthAsAngle / 2 - } - ] - - sourceComponent: minorTickmark - - property int __index: index - property QtObject styleData: QtObject { - readonly property alias index: minorTickmarkLoader.__index - readonly property real value: tickmarkValueFromMinorIndex(index) - } - - readonly property real __minorTickmarkWidthAsAngle: MathUtils.radToDeg((width / (MathUtils.pi2 * outerRadius)) * MathUtils.pi2) - } - } - } - Loader { - id: labelLoader - active: control.tickmarksVisible && tickmarkLabel != null - width: outerRadius * 2 - height: outerRadius * 2 - anchors.centerIn: parent - - sourceComponent: Item { - id: labelItem - width: outerRadius * 2 - height: outerRadius * 2 - anchors.centerIn: parent - - Connections { - target: control - function onMinimumValueChanged() { valueTextModel.update() } - function onMaximumValueChanged() { valueTextModel.update() } - function onTickmarkStepSizeChanged() { valueTextModel.update() } - function onLabelStepSizeChanged() { valueTextModel.update() } - } - - Repeater { - id: labelItemRepeater - - Component.onCompleted: valueTextModel.update(); - - model: ListModel { - id: valueTextModel - - function update() { - if (control.labelStepSize === 0) { - return; - } - - // Make bigger if it's too small and vice versa. - // +1 because we want to show 11 values, with, for example: 0, 10, 20... 100. - var difference = control.labelCount - count; - if (difference > 0) { - for (; difference > 0; --difference) { - append({ value: 0 }); - } - } else if (difference < 0) { - for (; difference < 0; ++difference) { - remove(count - 1); - } - } - - var index = 0; - for (var value = control.minimumValue; - value <= control.maximumValue && index < count; - value += control.labelStepSize, ++index) { - setProperty(index, "value", value); - } - } - } - delegate: Loader { - id: tickmarkLabelDelegateLoader - objectName: "labelDelegateLoader" + index - sourceComponent: tickmarkLabel - x: pos.x - y: pos.y - - readonly property point pos: panelItem.labelPosFromIndex(index, width, height); - - readonly property int __index: index - readonly property real __value: value - property QtObject styleData: QtObject { - readonly property var value: index != -1 ? tickmarkLabelDelegateLoader.__value : 0 - readonly property alias index: tickmarkLabelDelegateLoader.__index - } - } - } - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/ComboBoxStyle.qml b/bin/QtQuick/Controls/Styles/Base/ComboBoxStyle.qml deleted file mode 100644 index ea13696c0..000000000 --- a/bin/QtQuick/Controls/Styles/Base/ComboBoxStyle.qml +++ /dev/null @@ -1,328 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Window 2.1 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Styles 1.1 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ComboBoxStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.1 - \ingroup controlsstyling - \brief Provides custom styling for ComboBox. -*/ - -Style { - id: cbStyle - - /*! - \qmlproperty enumeration renderType - \since QtQuick.Controls.Styles 1.2 - - Override the default rendering type for the control. - - Supported render types are: - \list - \li Text.QtRendering - \li Text.NativeRendering - \endlist - - The default value is platform dependent. - - \sa Text::renderType - */ - property int renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - - /*! - \since QtQuick.Controls.Styles 1.3 - The font of the control. - */ - property font font - - /*! - \since QtQuick.Controls.Styles 1.3 - The text color. - */ - property color textColor: SystemPaletteSingleton.text(control.enabled) - - /*! - \since QtQuick.Controls.Styles 1.3 - The text highlight color, used behind selections. - */ - property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) - - /*! - \since QtQuick.Controls.Styles 1.3 - The highlighted text color, used in selections. - */ - property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) - - /*! The \l ComboBox this style is attached to. */ - readonly property ComboBox control: __control - - /*! The padding between the background and the label components. */ - padding { top: 4 ; left: 6 ; right: 6 ; bottom:4 } - - /*! The size of the drop down button when the combobox is editable. */ - property int dropDownButtonWidth: Math.round(TextSingleton.implicitHeight) - - /*! \internal Alias kept for backwards compatibility with a spelling mistake in 5.2.0) */ - property alias drowDownButtonWidth: cbStyle.dropDownButtonWidth - - /*! This defines the background of the button. */ - property Component background: Item { - implicitWidth: Math.round(TextSingleton.implicitHeight * 4.5) - implicitHeight: Math.max(25, Math.round(TextSingleton.implicitHeight * 1.2)) - Rectangle { - anchors.fill: parent - anchors.bottomMargin: control.pressed ? 0 : -1 - color: "#10000000" - radius: baserect.radius - } - Rectangle { - id: baserect - gradient: Gradient { - GradientStop {color: control.pressed ? "#bababa" : "#fefefe" ; position: 0} - GradientStop {color: control.pressed ? "#ccc" : "#e3e3e3" ; position: 1} - } - radius: TextSingleton.implicitHeight * 0.16 - anchors.fill: parent - border.color: control.activeFocus ? "#47b" : "#999" - Rectangle { - anchors.fill: parent - radius: parent.radius - color: control.activeFocus ? "#47b" : "white" - opacity: control.hovered || control.activeFocus ? 0.1 : 0 - Behavior on opacity {NumberAnimation{ duration: 100 }} - } - } - Image { - id: imageItem - visible: control.menu !== null - source: "images/arrow-down.png" - anchors.verticalCenter: parent.verticalCenter - anchors.right: parent.right - anchors.rightMargin: dropDownButtonWidth / 2 - opacity: control.enabled ? 0.6 : 0.3 - } - } - - /*! \internal */ - property Component __editor: Item { - implicitWidth: 100 - implicitHeight: Math.max(25, Math.round(TextSingleton.implicitHeight * 1.2)) - clip: true - Rectangle { - anchors.fill: parent - anchors.bottomMargin: 0 - color: "#44ffffff" - radius: baserect.radius - } - Rectangle { - id: baserect - anchors.rightMargin: -radius - anchors.bottomMargin: 1 - gradient: Gradient { - GradientStop {color: "#e0e0e0" ; position: 0} - GradientStop {color: "#fff" ; position: 0.1} - GradientStop {color: "#fff" ; position: 1} - } - radius: TextSingleton.implicitHeight * 0.16 - anchors.fill: parent - border.color: control.activeFocus ? "#47b" : "#999" - } - Rectangle { - color: "#aaa" - anchors.bottomMargin: 2 - anchors.topMargin: 1 - anchors.right: parent.right - anchors.top: parent.top - anchors.bottom: parent.bottom - width: 1 - } - } - - /*! This defines the label of the button. */ - property Component label: Item { - implicitWidth: textitem.implicitWidth + 20 - baselineOffset: textitem.y + textitem.baselineOffset - Text { - id: textitem - anchors.left: parent.left - anchors.right: parent.right - anchors.leftMargin: 4 - anchors.rightMargin: 10 - anchors.verticalCenter: parent.verticalCenter - text: control.currentText - renderType: cbStyle.renderType - font: cbStyle.font - color: cbStyle.textColor - elide: Text.ElideRight - } - } - - /*! \internal */ - property Component panel: Item { - property bool popup: false - property font font: cbStyle.font - property color textColor: cbStyle.textColor - property color selectionColor: cbStyle.selectionColor - property color selectedTextColor: cbStyle.selectedTextColor - property int dropDownButtonWidth: cbStyle.dropDownButtonWidth - anchors.centerIn: parent - anchors.fill: parent - implicitWidth: backgroundLoader.implicitWidth - implicitHeight: Math.max(labelLoader.implicitHeight + padding.top + padding.bottom, backgroundLoader.implicitHeight) - baselineOffset: labelLoader.item ? padding.top + labelLoader.item.baselineOffset: 0 - - Loader { - id: backgroundLoader - anchors.fill: parent - sourceComponent: background - - } - - Loader { - id: editorLoader - anchors.fill: parent - anchors.rightMargin: dropDownButtonWidth + padding.right - anchors.bottomMargin: -1 - sourceComponent: control.editable ? __editor : null - } - - Loader { - id: labelLoader - sourceComponent: label - visible: !control.editable - anchors.fill: parent - anchors.leftMargin: padding.left - anchors.topMargin: padding.top - anchors.rightMargin: padding.right - anchors.bottomMargin: padding.bottom - } - } - - /*! \internal */ - property Component __dropDownStyle: MenuStyle { - font: cbStyle.font - __labelColor: cbStyle.textColor - __selectedLabelColor: cbStyle.selectedTextColor - __selectedBackgroundColor: cbStyle.selectionColor - __maxPopupHeight: 600 - __menuItemType: "comboboxitem" - __scrollerStyle: ScrollViewStyle { } - } - - /*! \internal */ - property Component __popupStyle: Style { - property int __maxPopupHeight: 400 - property int submenuOverlap: 0 - property int submenuPopupDelay: 100 - - property Component frame: Rectangle { - id: popupFrame - border.color: "white" - Text { - text: "NOT IMPLEMENTED" - color: "red" - font { - pixelSize: 10 - bold: true - } - anchors.centerIn: parent - rotation: -Math.atan2(popupFrame.height, popupFrame.width) * 180 / Math.PI - } - } - - property Component menuItemPanel: Text { - text: styleData.text - } - - property Component __scrollerStyle: null - } - - /*! \internal - The cursor handle. - \since QtQuick.Controls.Styles 1.3 - - The parent of the handle is positioned to the top left corner of - the cursor position. The interactive area is determined by the - geometry of the handle delegate. - - The following signals and read-only properties are available within the scope - of the handle delegate: - \table - \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. - \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. - \row \li \b {styleData.position} : int \li The character position of the handle. - \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. - \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. - \endtable - */ - property Component __cursorHandle - - /*! \internal - The selection handle. - \since QtQuick.Controls.Styles 1.3 - - The parent of the handle is positioned to the top left corner of - the first selected character. The interactive area is determined - by the geometry of the handle delegate. - - The following signals and read-only properties are available within the scope - of the handle delegate: - \table - \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. - \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. - \row \li \b {styleData.position} : int \li The character position of the handle. - \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. - \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. - \endtable - */ - property Component __selectionHandle - - /*! \internal - The cursor delegate. - \since QtQuick.Controls.Styles 1.3 - */ - property Component __cursorDelegate -} diff --git a/bin/QtQuick/Controls/Styles/Base/CommonStyleHelper.qml b/bin/QtQuick/Controls/Styles/Base/CommonStyleHelper.qml deleted file mode 100644 index 5deeb3519..000000000 --- a/bin/QtQuick/Controls/Styles/Base/CommonStyleHelper.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -QtObject { - property Item control - - property color buttonColorUpTop: "#e3e3e3" - property color buttonColorUpBottom: "#b3b3b3" - property color buttonColorDownTop: "#d3d3d3" - property color buttonColorDownBottom: "#939393" - property color textColorUp: "#4e4e4e" - property color textColorDown: "#303030" - property color textRaisedColorUp: "#ffffff" - property color textRaisedColorDown: "#e3e3e3" - property color offColor: "#ff0000" - property color offColorShine: "#ff6666" - property color onColor: "#00cc00" - property color onColorShine: "#66ff66" - property color inactiveColor: "#1f1f1f" - property color inactiveColorShine: "#666666" -} diff --git a/bin/QtQuick/Controls/Styles/Base/DelayButtonStyle.qml b/bin/QtQuick/Controls/Styles/Base/DelayButtonStyle.qml deleted file mode 100644 index 00a1716a5..000000000 --- a/bin/QtQuick/Controls/Styles/Base/DelayButtonStyle.qml +++ /dev/null @@ -1,230 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtGraphicalEffects 1.0 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private.CppUtils 1.1 - -/*! - \qmltype DelayButtonStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.5 - \ingroup controlsstyling - \brief Provides custom styling for DelayButton. - - You can create a custom DelayButton by replacing the following delegates: - \list - \li \l foreground - \li \l {ButtonStyle::}{label} - \endlist -*/ - -CircularButtonStyle { - id: delayButtonStyle - - /*! - The \l DelayButton that this style is attached to. - */ - readonly property DelayButton control: __control - - /*! - The gradient of the progress bar around the button. - */ - property Gradient progressBarGradient: Gradient { - GradientStop { - position: 0 - color: "#ff6666" - } - GradientStop { - position: 1 - color: "#ff0000" - } - } - - /*! - The color of the drop shadow under the progress bar. - */ - property color progressBarDropShadowColor: "#ff6666" - - background: Item { - implicitWidth: __buttonHelper.implicitWidth - implicitHeight: __buttonHelper.implicitHeight - - Canvas { - id: backgroundCanvas - anchors.fill: parent - - Connections { - target: control - function onPressedChanged() { backgroundCanvas.requestPaint() } - function onCheckedChanged() { backgroundCanvas.requestPaint() } - } - - onPaint: { - var ctx = getContext("2d"); - __buttonHelper.paintBackground(ctx); - } - } - } - - /*! - The foreground of the button. - - The progress bar is drawn here. - */ - property Component foreground: Item { - id: foregroundItem - - state: "normal" - states: [ - State { - name: "normal" - - PropertyChanges { - target: foregroundItem - opacity: 1 - } - }, - State { - name: "activated" - } - ] - - transitions: [ - Transition { - from: "normal" - to: "activated" - SequentialAnimation { - loops: Animation.Infinite - - NumberAnimation { - target: foregroundItem - property: "opacity" - from: 0.8 - to: 0 - duration: 500 - easing.type: Easing.InOutSine - } - NumberAnimation { - target: foregroundItem - property: "opacity" - from: 0 - to: 0.8 - duration: 500 - easing.type: Easing.InOutSine - } - } - } - ] - - Connections { - target: control - function onActivated() { state = "activated" } - function onCheckedChanged() { if (!control.checked) state = "normal" } - } - - CircularProgressBar { - id: progressBar - visible: false - width: Math.min(parent.width, parent.height) + progressBarDropShadow.radius * 3 * 2 - height: width - anchors.centerIn: parent - antialiasing: true - barWidth: __buttonHelper.outerArcLineWidth - inset: progressBarDropShadow.radius * 3 - minimumValueAngle: -180 - maximumValueAngle: 180 - - progress: control.progress - - // TODO: Add gradient property if/when we drop support for building with 5.1. - function updateGradient() { - clearStops(); - for (var i = 0; i < progressBarGradient.stops.length; ++i) { - addStop(progressBarGradient.stops[i].position, progressBarGradient.stops[i].color); - } - } - - Component.onCompleted: updateGradient() - - Connections { - target: delayButtonStyle - function onProgressBarGradientChanged() { progressBar.updateGradient() } - } - } - - DropShadow { - id: progressBarDropShadow - anchors.fill: progressBar - // QTBUG-33747 -// cached: !control.pressed - color: progressBarDropShadowColor - source: progressBar - } - } - - panel: Item { - implicitWidth: backgroundLoader.implicitWidth - implicitHeight: backgroundLoader.implicitHeight - - Loader { - id: backgroundLoader - anchors.fill: parent - sourceComponent: background - } - - Loader { - id: foregroundLoader - anchors.fill: parent - sourceComponent: foreground - } - - Loader { - id: labelLoader - sourceComponent: label - anchors.fill: parent - anchors.leftMargin: padding.left - anchors.topMargin: padding.top - anchors.rightMargin: padding.right - anchors.bottomMargin: padding.bottom - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/DialStyle.qml b/bin/QtQuick/Controls/Styles/Base/DialStyle.qml deleted file mode 100644 index 95172455e..000000000 --- a/bin/QtQuick/Controls/Styles/Base/DialStyle.qml +++ /dev/null @@ -1,359 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 -import QtQuick.Extras.Private.CppUtils 1.0 - -/*! - \qmltype DialStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.5 - \ingroup controlsstyling - \brief Provides custom styling for Dial. - - You can create a custom dial by replacing the following delegates: - \list - \li \l background - \endlist -*/ - -Style { - id: dialStyle - - /*! - The \l Dial that this style is attached to. - */ - readonly property Dial control: __control - - /*! - The distance from the center of the dial to the outer edge of the dial. - - This property is useful for determining the size of the various - components of the style, in order to ensure that they are scaled - proportionately when the dial is resized. - */ - readonly property real outerRadius: Math.min(control.height, control.width) / 2 - - /*! - The distance in pixels from the outside of the dial (outerRadius) - to the center of the handle. - */ - property real handleInset: (__tickmarkRadius * 4) + ((__handleRadius * 2) * 0.55) - - /*! - The interval at which tickmarks are displayed. - - For example, if this property is set to \c 10, - control.minimumValue to \c 0, and control.maximumValue to \c 100, - the tickmarks displayed will be 0, 10, 20, etc., to 100, along - the circumference of the dial. - */ - property real tickmarkStepSize: 1 - - /*! - The distance in pixels from the outside of the dial (outerRadius) at - which the outermost point of the tickmark line is drawn. - */ - property real tickmarkInset: 0 - - - /*! - The amount of tickmarks displayed by the dial, calculated from - \l tickmarkStepSize and the control's - \l {Dial::minimumValue}{minimumValue} and - \l {Dial::maximumValue}{maximumValue}. - - \sa minorTickmarkCount - */ - readonly property int tickmarkCount: control.__panel.circularTickmarkLabel.tickmarkCount - - /*! - The amount of minor tickmarks between each tickmark. - - \sa tickmarkCount - */ - property int minorTickmarkCount: 0 - - /*! - The distance in pixels from the outside of the dial (outerRadius) at - which the outermost point of the minor tickmark line is drawn. - */ - property real minorTickmarkInset: 0 - - /*! - The distance in pixels from the outside of the dial (outerRadius) at - which the center of the value marker text is drawn. - */ - property real labelInset: 0 - - /*! - The interval at which tickmark labels are displayed. - - For example, if this property is set to \c 10 (the default), - control.minimumValue to \c 0, and control.maximumValue to \c 100, the - tickmark labels displayed will be 0, 10, 20, etc., to 100, - along the circumference of the dial. - */ - property real labelStepSize: tickmarkStepSize - - /*! - The amount of tickmark labels displayed by the dial, calculated from - \l labelStepSize and the control's - \l {Dial::minimumValue}{minimumValue} and - \l {Dial::maximumValue}{maximumValue}. - - \sa tickmarkCount, minorTickmarkCount - */ - readonly property int labelCount: control.__panel.circularTickmarkLabel.labelCount - - /*! \qmlmethod real DialStyle::valueToAngle(real value) - Returns \a value as an angle in degrees. - - This function is useful for custom drawing or positioning of items in - the style's components. For example, it can be used to calculate the - angles at which to draw an arc around the dial indicating the safe - range of values. - */ - function valueToAngle(value) { - return control.__panel.circularTickmarkLabel.valueToAngle(value); - } - - /*! \internal */ - readonly property real __tickmarkRadius: outerRadius * 0.06 - - /*! \internal */ - readonly property real __handleRadius: outerRadius * 0.15 - - /*! - \internal - - This property determines whether it is possible to change the value of - the dial simply by pressing/tapping. - - If \c false, the user must drag to rotate the dial and hence change the - value. - - This property is useful for touch devices, where it is easy to - accidentally tap while flicking, for example. - */ - property bool __dragToSet: Settings.hasTouchScreen && Settings.isMobile - - /*! - The background of the dial. - - The implicit size of the dial is taken from this component. - */ - property Component background: Item { - id: backgroundItem - implicitWidth: backgroundHelper.implicitWidth - implicitHeight: backgroundHelper.implicitHeight - - CircularButtonStyleHelper { - id: backgroundHelper - control: dialStyle.control - property color zeroMarkerColor: "#a8a8a8" - property color zeroMarkerColorTransparent: "transparent" - property real zeroMarkerLength: outerArcLineWidth * 1.25 - property real zeroMarkerWidth: outerArcLineWidth * 0.3 - - smallestAxis: Math.min(backgroundItem.width, backgroundItem.height) - __tickmarkRadius * 4 - } - - Canvas { - id: backgroundCanvas - anchors.fill: parent - - readonly property real xCenter: width / 2 - readonly property real yCenter: height / 2 - - onPaint: { - var ctx = getContext("2d"); - backgroundHelper.paintBackground(ctx); - } - } - } - - /*! - The handle of the dial. - - The handle is automatically positioned within the dial, based on the - \l handleInset and the implicit width and height of the handle itself. - */ - property Component handle: Canvas { - implicitWidth: __handleRadius * 2 - implicitHeight: __handleRadius * 2 - - HandleStyleHelper { - id: handleHelper - } - - onPaint: { - var ctx = getContext("2d"); - handleHelper.paintHandle(ctx, 1, 1, width - 2, height - 2); - } - } - - /*! - This component defines each individual tickmark. The position of each - tickmark is already set; only the - \l {Item::implicitWidth}{implicitWidth} and - \l {Item::implicitHeight}{implicitHeight} need to be specified. - - Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this tickmark. - \row \li \c {readonly property real} \b styleData.value - \li The value that this tickmark represents. - \endtable - */ - property Component tickmark: Rectangle { - implicitWidth: outerRadius * 0.015 + (styleData.index === 0 || styleData.index === tickmarkCount ? 1 : (styleData.index) / tickmarkCount) * __tickmarkRadius * 0.75 - implicitHeight: implicitWidth - radius: height / 2 - color: styleData.index === 0 ? "transparent" : Qt.rgba(0, 0, 0, 0.266) - antialiasing: true - border.width: styleData.index === 0 ? Math.max(1, outerRadius * 0.0075) : 0 - border.color: Qt.rgba(0, 0, 0, 0.266) - } - - /*! - This component defines each individual minor tickmark. The position of each - minor tickmark is already set; only the - \l {Item::implicitWidth}{implicitWidth} and - \l {Item::implicitHeight}{implicitHeight} need to be specified. - - Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this tickmark. - \row \li \c {readonly property real} \b styleData.value - \li The value that this tickmark represents. - \endtable - - By default, no minor tickmark is defined. - */ - property Component minorTickmark - - /*! - This defines the text of each tickmark label on the dial. - - Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this label. - \row \li \c {readonly property real} \b styleData.value - \li The value that this label represents. - \endtable - - By default, no label is defined. - */ - property Component tickmarkLabel - - /*! \internal */ - property Component panel: Item { - implicitWidth: backgroundLoader.implicitWidth - implicitHeight: backgroundLoader.implicitHeight - - property alias background: backgroundLoader.item - property alias circularTickmarkLabel: circularTickmarkLabel_ - - Loader { - id: backgroundLoader - sourceComponent: dialStyle.background - width: outerRadius * 2 - height: width - anchors.centerIn: parent - } - - Loader { - id: handleLoader - sourceComponent: dialStyle.handle - x: backgroundLoader.x + __pos.x - width / 2 - y: backgroundLoader.y + __pos.y - height / 2 - - readonly property point __pos: { - var radians = 0; - if (control.__wrap) { - radians = (control.value - control.minimumValue) / - (control.maximumValue - control.minimumValue) * - (MathUtils.pi2) + backgroundHelper.zeroAngle; - } else { - radians = -(Math.PI * 8 - (control.value - control.minimumValue) * 10 * - Math.PI / (control.maximumValue - control.minimumValue)) / 6; - } - - return MathUtils.centerAlongCircle(backgroundLoader.width / 2, backgroundLoader.height / 2, - 0, 0, radians, outerRadius - handleInset) - } - } - - CircularTickmarkLabel { - id: circularTickmarkLabel_ - anchors.fill: backgroundLoader - - minimumValue: control.minimumValue - maximumValue: control.maximumValue - stepSize: control.stepSize - tickmarksVisible: control.tickmarksVisible - minimumValueAngle: -150 - maximumValueAngle: 150 - tickmarkStepSize: dialStyle.tickmarkStepSize - tickmarkInset: dialStyle.tickmarkInset - minorTickmarkCount: dialStyle.minorTickmarkCount - minorTickmarkInset: dialStyle.minorTickmarkInset - labelInset: dialStyle.labelInset - labelStepSize: dialStyle.labelStepSize - - style: CircularTickmarkLabelStyle { - tickmark: dialStyle.tickmark - minorTickmark: dialStyle.minorTickmark - tickmarkLabel: dialStyle.tickmarkLabel - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/FocusFrameStyle.qml b/bin/QtQuick/Controls/Styles/Base/FocusFrameStyle.qml deleted file mode 100644 index 3db24796c..000000000 --- a/bin/QtQuick/Controls/Styles/Base/FocusFrameStyle.qml +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype FocusFrameStyle - \internal - \inqmlmodule QtQuick.Controls.Styles -*/ -Item { - property int margin: -3 -} diff --git a/bin/QtQuick/Controls/Styles/Base/GaugeStyle.qml b/bin/QtQuick/Controls/Styles/Base/GaugeStyle.qml deleted file mode 100644 index 4ad1f7efc..000000000 --- a/bin/QtQuick/Controls/Styles/Base/GaugeStyle.qml +++ /dev/null @@ -1,544 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 - -/*! - \qmltype GaugeStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.5 - \ingroup controlsstyling - \brief Provides custom styling for Gauge. - - You can create a custom gauge by replacing the following delegates: - \list - \li \l background - \li valueBar - \li tickmarkLabel - \endlist - - Below, you'll find an example of how to create a temperature gauge that - changes color as its value increases: - - \code - import QtQuick 2.2 - import QtQuick.Controls 1.4 - import QtQuick.Controls.Styles 1.4 - import QtQuick.Extras 1.4 - - Rectangle { - width: 80 - height: 200 - - Timer { - running: true - repeat: true - interval: 2000 - onTriggered: gauge.value = gauge.value == gauge.maximumValue ? 5 : gauge.maximumValue - } - - Gauge { - id: gauge - anchors.fill: parent - anchors.margins: 10 - - value: 5 - Behavior on value { - NumberAnimation { - duration: 1000 - } - } - - style: GaugeStyle { - valueBar: Rectangle { - implicitWidth: 16 - color: Qt.rgba(gauge.value / gauge.maximumValue, 0, 1 - gauge.value / gauge.maximumValue, 1) - } - } - } - } - \endcode - - \image gauge-temperature.png - The gauge displaying values at various points during the animation. - - \sa {Styling Gauge} -*/ - -Style { - id: gaugeStyle - - /*! - The \l Gauge that this style is attached to. - */ - readonly property Gauge control: __control - - /*! - This property holds the value displayed by the gauge as a position in - pixels. - - It is useful for custom styling. - */ - readonly property real valuePosition: control.__panel.valuePosition - - /*! - The background of the gauge, displayed behind the \l valueBar. - - By default, no background is defined. - */ - property Component background - - /*! - Each tickmark displayed by the gauge. - - To set the size of the tickmarks, specify an - \l {Item::implicitWidth}{implicitWidth} and - \l {Item::implicitHeight}{implicitHeight}. - - The widest tickmark will determine the space set aside for all - tickmarks. For this reason, the \c implicitWidth of each tickmark - should be greater than or equal to that of each minor tickmark. If you - need minor tickmarks to have greater widths than the major tickmarks, - set the larger width in a child item of the \l minorTickmark component. - - For layouting reasons, each tickmark should have the same - \c implicitHeight. If different heights are needed for individual - tickmarks, specify those heights in a child item of the component. - - In the example below, we decrease the height of the tickmarks: - - \code - tickmark: Item { - implicitWidth: 18 - implicitHeight: 1 - - Rectangle { - color: "#c8c8c8" - anchors.fill: parent - anchors.leftMargin: 3 - anchors.rightMargin: 3 - } - } - \endcode - - \image gauge-tickmark-example.png Gauge tickmark example - - Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this tickmark. - \row \li \c {readonly property real} \b styleData.value - \li The value that this tickmark represents. - \row \li \c {readonly property real} \b styleData.valuePosition - \li The value that this tickmark represents as a position in - pixels, with 0 being at the bottom of the gauge. - \endtable - - \sa minorTickmark - */ - property Component tickmark: Item { - implicitWidth: Math.round(TextSingleton.height * 1.1) - implicitHeight: Math.max(2, Math.round(TextSingleton.height * 0.1)) - - Rectangle { - color: "#c8c8c8" - anchors.fill: parent - anchors.leftMargin: Math.round(TextSingleton.implicitHeight * 0.2) - anchors.rightMargin: Math.round(TextSingleton.implicitHeight * 0.2) - } - } - - /*! - Each minor tickmark displayed by the gauge. - - To set the size of the minor tickmarks, specify an - \l {Item::implicitWidth}{implicitWidth} and - \l {Item::implicitHeight}{implicitHeight}. - - For layouting reasons, each minor tickmark should have the same - \c implicitHeight. If different heights are needed for individual - tickmarks, specify those heights in a child item of the component. - - In the example below, we decrease the width of the minor tickmarks: - - \code - minorTickmark: Item { - implicitWidth: 8 - implicitHeight: 1 - - Rectangle { - color: "#cccccc" - anchors.fill: parent - anchors.leftMargin: 2 - anchors.rightMargin: 4 - } - } - \endcode - - \image gauge-minorTickmark-example.png Gauge minorTickmark example - - Each instance of this component has access to the following property: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this minor tickmark. - \row \li \c {readonly property real} \b styleData.value - \li The value that this minor tickmark represents. - \row \li \c {readonly property real} \b styleData.valuePosition - \li The value that this minor tickmark represents as a - position in pixels, with 0 being at the bottom of the - gauge. - \endtable - - \sa tickmark - */ - property Component minorTickmark: Item { - implicitWidth: Math.round(TextSingleton.implicitHeight * 0.65) - implicitHeight: Math.max(1, Math.round(TextSingleton.implicitHeight * 0.05)) - - Rectangle { - color: "#c8c8c8" - anchors.fill: parent - anchors.leftMargin: control.__tickmarkAlignment === Qt.AlignBottom || control.__tickmarkAlignment === Qt.AlignRight - ? Math.max(3, Math.round(TextSingleton.implicitHeight * 0.2)) - : 0 - anchors.rightMargin: control.__tickmarkAlignment === Qt.AlignBottom || control.__tickmarkAlignment === Qt.AlignRight - ? 0 - : Math.max(3, Math.round(TextSingleton.implicitHeight * 0.2)) - } - } - - /*! - This defines the text of each tickmark label on the gauge. - - Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this label. - \row \li \c {readonly property real} \b styleData.value - \li The value that this label represents. - \endtable - */ - property Component tickmarkLabel: Text { - text: control.formatValue(styleData.value) - font: control.font - color: "#c8c8c8" - antialiasing: true - } - - /*! - The bar that represents the value of the gauge. - - To height of the value bar is automatically resized according to - \l {Gauge::value}{value}, and does not need to be specified. - - When a custom valueBar is defined, its - \l {Item::implicitWidth}{implicitWidth} property must be set. - */ - property Component valueBar: Rectangle { - color: "#00bbff" - implicitWidth: TextSingleton.implicitHeight - } - - /*! - The bar that represents the foreground of the gauge. - - This component is drawn above every other component. - */ - property Component foreground: Canvas { - readonly property real xCenter: width / 2 - readonly property real yCenter: height / 2 - property real shineLength: height * 0.95 - - onPaint: { - var ctx = getContext("2d"); - ctx.reset(); - - ctx.beginPath(); - ctx.rect(0, 0, width, height); - - var gradient = ctx.createLinearGradient(0, yCenter, width, yCenter); - - gradient.addColorStop(0, Qt.rgba(1, 1, 1, 0.08)); - gradient.addColorStop(1, Qt.rgba(1, 1, 1, 0.20)); - ctx.fillStyle = gradient; - ctx.fill(); - } - } - - /*! \internal */ - property Component panel: Item { - id: panelComponent - implicitWidth: control.orientation === Qt.Vertical ? tickmarkLabelBoundsWidth + rawBarWidth : TextSingleton.height * 14 - implicitHeight: control.orientation === Qt.Vertical ? TextSingleton.height * 14 : tickmarkLabelBoundsWidth + rawBarWidth - - readonly property int tickmarkCount: (control.maximumValue - control.minimumValue) / control.tickmarkStepSize + 1 - readonly property real tickmarkSpacing: (tickmarkLabelBounds.height - tickmarkWidth * tickmarkCount) / (tickmarkCount - 1) - - property real tickmarkLength: tickmarkColumn.width - // Can't deduce this from the column, so we set it from within the first tickmark delegate loader. - property real tickmarkWidth: 2 - - readonly property real tickmarkOffset: control.orientation === Qt.Vertical ? control.__hiddenText.height / 2 : control.__hiddenText.width / 2 - - readonly property real minorTickmarkStep: control.tickmarkStepSize / (control.minorTickmarkCount + 1); - - /*! - Returns the marker text that should be displayed based on - \a markerPos (\c 0 to \c 1.0). - */ - function markerTextFromPos(markerPos) { - return markerPos * (control.maximumValue - control.minimumValue) + control.minimumValue; - } - - readonly property real rawBarWidth: valueBarLoader.item.implicitWidth - readonly property real barLength: (control.orientation === Qt.Vertical ? control.height : control.width) - (tickmarkOffset * 2 - 2) - - readonly property real tickmarkLabelBoundsWidth: tickmarkLength + (control.orientation === Qt.Vertical ? control.__hiddenText.width : control.__hiddenText.height) - readonly property int valuePosition: valueBarLoader.height - - Item { - id: container - - width: control.orientation === Qt.Vertical ? parent.width : parent.height - height: control.orientation === Qt.Vertical ? parent.height : parent.width - rotation: control.orientation === Qt.Horizontal ? 90 : 0 - transformOrigin: Item.Center - anchors.centerIn: parent - - Item { - id: valueBarItem - - x: control.__tickmarkAlignment === Qt.AlignLeft || control.__tickmarkAlignment === Qt.AlignTop ? tickmarkLabelBounds.x + tickmarkLabelBounds.width : 0 - width: rawBarWidth - height: barLength - anchors.verticalCenter: parent.verticalCenter - - Loader { - id: backgroundLoader - sourceComponent: background - anchors.fill: parent - } - - Loader { - id: valueBarLoader - sourceComponent: valueBar - - readonly property real valueAsPercentage: (control.value - control.minimumValue) / (control.maximumValue - control.minimumValue) - - y: Math.round(parent.height - height) - height: Math.round(valueAsPercentage * parent.height) - } - } - Item { - id: tickmarkLabelBounds - - x: control.__tickmarkAlignment === Qt.AlignLeft || control.__tickmarkAlignment === Qt.AlignTop ? 0 : valueBarItem.width - width: tickmarkLabelBoundsWidth - height: barLength - anchors.verticalCenter: parent.verticalCenter - // We want our items to be laid out from bottom to top, but Column can't do that, so we flip - // the whole item containing the tickmarks and labels vertically. Then, we flip each tickmark - // and label back again. - transform: Rotation { - axis.x: 1 - axis.y: 0 - axis.z: 0 - origin.x: tickmarkLabelBounds.width / 2 - origin.y: tickmarkLabelBounds.height / 2 - angle: 180 - } - - Column { - id: tickmarkColumn - x: control.__tickmarkAlignment === Qt.AlignRight || control.__tickmarkAlignment === Qt.AlignBottom ? 0 : tickmarkLabelBounds.width - width - spacing: tickmarkSpacing - anchors.verticalCenter: parent.verticalCenter - - Repeater { - id: tickmarkRepeater - model: tickmarkCount - delegate: Loader { - id: tickmarkDelegateLoader - - sourceComponent: gaugeStyle.tickmark - transform: Rotation { - axis.x: 1 - axis.y: 0 - axis.z: 0 - origin.x: tickmarkDelegateLoader.width / 2 - origin.y: tickmarkDelegateLoader.height / 2 - angle: 180 - } - - onHeightChanged: { - if (index == 0) - tickmarkWidth = height; - } - - readonly property int __index: index - property QtObject styleData: QtObject { - readonly property alias index: tickmarkDelegateLoader.__index - readonly property real value: (index / (tickmarkCount - 1)) * (control.maximumValue - control.minimumValue) + control.minimumValue - readonly property int valuePosition: Math.round(tickmarkDelegateLoader.y) - } - } - } - } - - // Doesn't need to be in a column, since we assume that the major tickmarks will always be longer than us. - Repeater { - id: minorTickmarkRepeater - model: (tickmarkCount - 1) * control.minorTickmarkCount - delegate: Loader { - id: minorTickmarkDelegateLoader - - x: control.__tickmarkAlignment === Qt.AlignRight || control.__tickmarkAlignment === Qt.AlignBottom ? 0 : tickmarkLabelBounds.width - width - y: { - var tickmarkWidthOffset = Math.floor(index / control.minorTickmarkCount) * tickmarkWidth + tickmarkWidth; - var relativePosition = (index % control.minorTickmarkCount + 1) * (tickmarkSpacing / (control.minorTickmarkCount + 1)); - var clusterOffset = Math.floor(index / control.minorTickmarkCount) * tickmarkSpacing; - // We assume that each minorTickmark's height is the same. - return clusterOffset + tickmarkWidthOffset + relativePosition - height / 2; - } - - transform: Rotation { - axis.x: 1 - axis.y: 0 - axis.z: 0 - origin.x: minorTickmarkDelegateLoader.width / 2 - origin.y: minorTickmarkDelegateLoader.height / 2 - angle: 180 - } - - sourceComponent: gaugeStyle.minorTickmark - - readonly property int __index: index - property QtObject styleData: QtObject { - readonly property alias index: minorTickmarkDelegateLoader.__index - readonly property real value: { - var tickmarkIndex = Math.floor(index / control.minorTickmarkCount); - return index * minorTickmarkStep + minorTickmarkStep * tickmarkIndex + minorTickmarkStep + control.minimumValue; - } - readonly property int valuePosition: Math.round(minorTickmarkDelegateLoader.y) - } - } - } - - Item { - id: tickmarkLabelItem - x: control.__tickmarkAlignment === Qt.AlignRight || control.__tickmarkAlignment === Qt.AlignBottom - ? tickmarkLength - : tickmarkLabelBounds.width - tickmarkLength - width - width: control.__hiddenText.width - // Use the bar height instead of the container's, as the labels seem to be translated by 1 when we - // flip the control vertically, and this fixes that. - height: parent.height - anchors.verticalCenter: parent.verticalCenter - - Repeater { - id: tickmarkTextRepeater - model: tickmarkCount - delegate: Item { - x: { - if (control.orientation === Qt.Vertical) - return 0; - - // Align the text to the edge of the tickmarks. - return ((width - height) / 2) * (control.__tickmarkAlignment === Qt.AlignBottom ? -1 : 1); - } - y: index * labelDistance - height / 2 - - width: control.__hiddenText.width - height: control.__hiddenText.height - - transformOrigin: Item.Center - rotation: control.orientation === Qt.Vertical ? 0 : 90 - - readonly property real labelDistance: tickmarkLabelBounds.height / (tickmarkCount - 1) - - Loader { - id: tickmarkTextRepeaterDelegate - - x: { - if (control.orientation === Qt.Horizontal) { - return parent.width / 2 - width / 2; - } - - return control.__tickmarkAlignment === Qt.AlignRight || control.__tickmarkAlignment === Qt.AlignBottom - ? 0 - : parent.width - width; - } - - transform: Rotation { - axis.x: 1 - axis.y: 0 - axis.z: 0 - origin.x: tickmarkTextRepeaterDelegate.width / 2 - origin.y: tickmarkTextRepeaterDelegate.height / 2 - angle: 180 - } - - sourceComponent: tickmarkLabel - - readonly property int __index: index - property QtObject styleData: QtObject { - readonly property alias index: tickmarkTextRepeaterDelegate.__index - readonly property real value: markerTextFromPos(index / (tickmarkTextRepeater.count - 1)) - } - } - } - } - } - } - Loader { - id: foregroundLoader - sourceComponent: foreground - anchors.fill: valueBarItem - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/GroupBoxStyle.qml b/bin/QtQuick/Controls/Styles/Base/GroupBoxStyle.qml deleted file mode 100644 index 061a8069b..000000000 --- a/bin/QtQuick/Controls/Styles/Base/GroupBoxStyle.qml +++ /dev/null @@ -1,143 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype GroupBoxStyle - \internal - \inqmlmodule QtQuick.Controls.Styles - \ingroup controlsstyling - \since 5.1 -*/ -Style { - - /*! The \l GroupBox this style is attached to. */ - readonly property GroupBox control: __control - - /*! The margin from the content item to the groupbox. */ - padding { - top: (control.title.length > 0 || control.checkable ? TextSingleton.implicitHeight : 0) + 10 - left: 8 - right: 8 - bottom: 6 - } - - /*! The title text color. */ - property color textColor: SystemPaletteSingleton.text(control.enabled) - - /*! The check box. */ - property Component checkbox: Item { - implicitWidth: 18 - implicitHeight: 18 - BorderImage { - anchors.fill: parent - source: "images/editbox.png" - border.top: 6 - border.bottom: 6 - border.left: 6 - border.right: 6 - } - Rectangle { - height: 16 - width: 16 - antialiasing: true - visible: control.checked - color: "#666" - radius: 1 - anchors.margins: 4 - anchors.fill: parent - anchors.topMargin: 3 - anchors.bottomMargin: 5 - border.color: "#222" - opacity: control.enabled ? 1 : 0.5 - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: "transparent" - border.color: "#33ffffff" - } - } - BorderImage { - anchors.fill: parent - anchors.margins: -1 - source: "images/focusframe.png" - visible: control.activeFocus - border.left: 4 - border.right: 4 - border.top: 4 - border.bottom: 4 - } - } - - /*! The groupbox frame. */ - property Component panel: Item { - anchors.fill: parent - Loader { - id: checkboxloader - anchors.left: parent.left - sourceComponent: control.checkable ? checkbox : null - anchors.verticalCenter: label.verticalCenter - width: item ? item.implicitWidth : 0 - } - - Text { - id: label - anchors.top: parent.top - anchors.left: checkboxloader.right - anchors.margins: 4 - text: control.title - color: textColor - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - - BorderImage { - anchors.fill: parent - anchors.topMargin: padding.top - 7 - source: "images/groupbox.png" - border.left: 4 - border.right: 4 - border.top: 4 - border.bottom: 4 - visible: !control.flat - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/HandleStyle.qml b/bin/QtQuick/Controls/Styles/Base/HandleStyle.qml deleted file mode 100644 index 0713c9ff6..000000000 --- a/bin/QtQuick/Controls/Styles/Base/HandleStyle.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 - -Style { - id: handleStyle - property alias handleColorTop: __helper.handleColorTop - property alias handleColorBottom: __helper.handleColorBottom - property alias handleColorBottomStop: __helper.handleColorBottomStop - - HandleStyleHelper { - id: __helper - } - - property Component handle: Item { - implicitWidth: 50 - implicitHeight: 50 - - Canvas { - id: handleCanvas - anchors.fill: parent - - onPaint: { - var ctx = getContext("2d"); - __helper.paintHandle(ctx); - } - } - } - - property Component panel: Item { - Loader { - id: handleLoader - sourceComponent: handle - anchors.fill: parent - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/HandleStyleHelper.qml b/bin/QtQuick/Controls/Styles/Base/HandleStyleHelper.qml deleted file mode 100644 index 78059bfe8..000000000 --- a/bin/QtQuick/Controls/Styles/Base/HandleStyleHelper.qml +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -QtObject { - id: handleStyleHelper - - property color handleColorTop: "#969696" - property color handleColorBottom: Qt.rgba(0.9, 0.9, 0.9, 0.298) - property real handleColorBottomStop: 0.7 - - property color handleRingColorTop: "#b0b0b0" - property color handleRingColorBottom: "transparent" - - /*! - If \a ctx is the only argument, this is equivalent to calling - paintHandle(\c ctx, \c 0, \c 0, \c ctx.canvas.width, \c ctx.canvas.height). - */ - function paintHandle(ctx, handleX, handleY, handleWidth, handleHeight) { - ctx.reset(); - - if (handleWidth < 0) - return; - - if (arguments.length == 1) { - handleX = 0; - handleY = 0; - handleWidth = ctx.canvas.width; - handleHeight = ctx.canvas.height; - } - - ctx.beginPath(); - var gradient = ctx.createRadialGradient(handleX, handleY, 0, - handleX, handleY, handleWidth * 1.5); - gradient.addColorStop(0, handleColorTop); - gradient.addColorStop(handleColorBottomStop, handleColorBottom); - ctx.ellipse(handleX, handleY, handleWidth, handleHeight); - ctx.fillStyle = gradient; - ctx.fill(); - - /* Draw the ring gradient around the handle. */ - // Clip first, so we only draw inside the ring. - ctx.beginPath(); - ctx.ellipse(handleX, handleY, handleWidth, handleHeight); - ctx.ellipse(handleX + 2, handleY + 2, handleWidth - 4, handleHeight - 4); - ctx.clip(); - - ctx.beginPath(); - gradient = ctx.createLinearGradient(handleX + handleWidth / 2, handleY, - handleX + handleWidth / 2, handleY + handleHeight); - gradient.addColorStop(0, handleRingColorTop); - gradient.addColorStop(1, handleRingColorBottom); - ctx.ellipse(handleX, handleY, handleWidth, handleHeight); - ctx.fillStyle = gradient; - ctx.fill(); - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/MenuBarStyle.qml b/bin/QtQuick/Controls/Styles/Base/MenuBarStyle.qml deleted file mode 100644 index ade34b0a0..000000000 --- a/bin/QtQuick/Controls/Styles/Base/MenuBarStyle.qml +++ /dev/null @@ -1,131 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype MenuBarStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.3 - \ingroup controlsstyling - \brief Provides custom styling for MenuBar. - - \note Styling menu bars may not be supported on platforms using native menu bars - through their QPA plugin. -*/ - -Style { - id: root - - /*! - \qmlmethod string MenuBarStyle::formatMnemonic(string text, bool underline = false) - Returns a formatted string to render mnemonics for a given menu item \a text. - - The mnemonic character is prefixed by an ampersand in the original string. - - Passing \c true for \e underline will underline the mnemonic character (e.g., - \c formatMnemonic("&File", true) will return \c "File"). Passing \c false - for \a underline will return the plain text form (e.g., \c formatMnemonic("&File", false) - will return \c "File"). - - \sa Label - */ - function formatMnemonic(text, underline) { - return underline ? StyleHelpers.stylizeMnemonics(text) : StyleHelpers.removeMnemonics(text) - } - - /*! The background for the full menu bar. - - The background will be extended to the full containing window width. - Its height will always fit all of the menu bar items. The final size - will include the paddings. - */ - property Component background: Rectangle { - color: "#dcdcdc" - implicitHeight: 20 - } - - /*! The menu bar item. - - \target styleData properties - This item has to be configured using the \b styleData object which is in scope, - and contains the following read-only properties: - \table - \row \li \b {styleData.index} : int \li The index of the menu item in its menu. - \row \li \b {styleData.selected} : bool \li \c true if the menu item is selected. - \row \li \b {styleData.open} : bool \li \c true when the pull down menu is open. - \row \li \b {styleData.text} : string \li The menu bar item's text. - \row \li \b {styleData.underlineMnemonic} : bool \li When \c true, the style should underline the menu item's label mnemonic. - \endtable - - */ - property Component itemDelegate: Rectangle { - implicitWidth: text.width + 12 - implicitHeight: text.height + 4 - color: styleData.enabled && styleData.open ? "#49d" : "transparent" - - Text { - id: text - font: root.font - text: formatMnemonic(styleData.text, styleData.underlineMnemonic) - anchors.centerIn: parent - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - color: styleData.open ? "white" : SystemPaletteSingleton.windowText(control.enabled && styleData.enabled) - } - } - - /*! The style component for the menubar's own menus and their submenus. - - \sa {MenuStyle} - */ - property Component menuStyle: MenuStyle { - font: root.font - } - - /*! - \since QtQuick.Controls.Styles 1.3 - The font of the control. - */ - property font font - - /*! \internal */ - property bool __isNative: true -} diff --git a/bin/QtQuick/Controls/Styles/Base/MenuStyle.qml b/bin/QtQuick/Controls/Styles/Base/MenuStyle.qml deleted file mode 100644 index f40e0af7c..000000000 --- a/bin/QtQuick/Controls/Styles/Base/MenuStyle.qml +++ /dev/null @@ -1,477 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Window 2.1 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype MenuStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.3 - \ingroup controlsstyling - \brief Provides custom styling for Menu. - - \target styleData properties - The \b styleData object contains the following read-only properties: - \table - \row \li \b {styleData.index} : int \li The index of the menu item in its menu. - \row \li \b {styleData.type} : enumeration \li The type of menu item. See below for possible values. - \row \li \b {styleData.selected} : bool \li \c true if the menu item is selected. - \row \li \b {styleData.pressed} : bool \li \c true if the menu item is pressed. Available since 5.4. - \row \li \b {styleData.text} : string \li The menu item's text, or title if it's a submenu. - \row \li \b {styleData.underlineMnemonic} : bool \li Whether the style should underline the menu item's label mnemonic. - \row \li \b {styleData.shortcut} : string \li The text for the menu item's shortcut. - \row \li \b {styleData.iconSource} : url \li The source URL to the menu item's icon. Undefined if it has no icon. - \row \li \b {styleData.enabled} : bool \li \c true if the menu item is enabled. - \row \li \b {styleData.checkable} : bool \li \c true if the menu item is checkable. - \row \li \b {styleData.exclusive} : bool \li \c true if the menu item is checkable, and it's part of an \l ExclusiveGroup. - \row \li \b {styleData.checked} : bool \li \c true if the menu item is checkable and currently checked. - \row \li \b {styleData.scrollerDirection} : enumeration \li If the menu item is a scroller, its pointing direction. - Valid values are \c Qt.UpArrow, \c Qt.DownArrow, and \c Qt.NoArrow. - \endtable - - The valid values for \b {styleData.type} are: - \list - \li MenuItemType.Item - \li MenuItemType.Menu - \li MenuItemType.Separator - \li MenuItemType.ScrollIndicator - \endlist - - \note Styling menus may not be supported on platforms using native menus - through their QPA plugin. -*/ - -Style { - id: styleRoot - - padding { - top: 1 - bottom: 1 - left: 1 - right: 1 - } - - /*! The amount of pixels by which a submenu popup overlaps horizontally its parent menu. */ - property int submenuOverlap: 1 - - /*! The number of milliseconds to wait before opening a submenu. */ - property int submenuPopupDelay: 200 - - /*! - \qmlmethod string MenuStyle::formatMnemonic(string text, bool underline = false) - Returns a rich-text string to render mnemonics for a given menu item \a text. - - The mnemonic character is prefixed by an ampersand in the original string. - - Passing \c true for \a underline will underline the mnemonic character (e.g., - \c formatMnemonic("&Open...", true) will return \c "Open..."). Passing \c false - for \a underline will return the plain text form (e.g., \c formatMnemonic("&Open...", false) - will return \c "Open..."). - - \sa Label - */ - function formatMnemonic(text, underline) { - return underline ? StyleHelpers.stylizeMnemonics(text) : StyleHelpers.removeMnemonics(text) - } - - /*! The background frame for the menu popup. - - The \l Menu will resize the frame to its contents plus the padding. - */ - property Component frame: Rectangle { - color: styleRoot.__backgroundColor - border { width: 1; color: styleRoot.__borderColor } - } - - /*! \qmlproperty Object MenuStyle::itemDelegate - - The object containing the menu item subcontrol components. These subcontrols are used - for normal menu items only, i.e. not for separators or scroll indicators. - - The subcontrols are: - - \list - \li \b {itemDelegate.background} : Component - - The menu item background component. - - Its appearance generally changes with \l {styleData properties} {styleData.selected} - and \l {styleData properties} {styleData.enabled}. - - The default implementation shows only when the item is enabled and selected. It remains - invisible otherwise. - - \li \b {itemDelegate.label} : Component - - Component for the actual text label. - - The text itself is fetched from \l {styleData properties} {styleData.text}, and its appearance should depend - on \l {styleData properties} {styleData.enabled} and \l {styleData properties} {styleData.selected}. - - If \l {styleData properties} {styleData.underlineMnemonic} is true, the label should underline its mnemonic - character. \l formatMnemonic provides the default formatting. - - \li \b {itemDelegate.submenuIndicator} : Component - - It indicates that the current menu item is a submenu. - - Only used when \l {styleData properties} {styleData.type} equals \c MenuItemType.Menu. - - \li \b {itemDelegate.shortcut} : Component - - Displays the shortcut attached to the menu item. - - Only used when \l {styleData properties} {styleData.shortcut} is not empty. - - \li \b {itemDelegate.checkmarkIndicator} : Component - - Will be used when \l {styleData properties} {styleData.checkable} is \c true and its appearance - may depend on \l {styleData properties} {styleData.exclusive}, i.e., whether it will behave like a - checkbox or a radio button. Use \l {styleData properties} {styleData.checked} for the checked state. - \endlist - - \note This property cannot be overwritten although all of the subcontrol properties can. - */ - property alias itemDelegate: internalMenuItem - - MenuItemSubControls { - id: internalMenuItem - - background: Rectangle { - visible: styleData.selected && styleData.enabled - gradient: Gradient { - id: selectedGradient - GradientStop { color: Qt.lighter(__selectedBackgroundColor, 1.3); position: -0.2 } - GradientStop { color: __selectedBackgroundColor; position: 1.4 } - } - - border.width: 1 - border.color: Qt.darker(__selectedBackgroundColor, 1) - antialiasing: true - } - - label: Text { - text: formatMnemonic(styleData.text, styleData.underlineMnemonic) - color: __currentTextColor - font: styleRoot.font - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - - submenuIndicator: Text { - text: __mirrored ? "\u25c2" : "\u25b8" // BLACK LEFT/RIGHT-POINTING SMALL TRIANGLE - font: styleRoot.font - color: __currentTextColor - style: styleData.selected ? Text.Normal : Text.Raised - styleColor: Qt.lighter(color, 4) - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - - shortcut: Text { - text: styleData.shortcut - font { - bold: styleRoot.font.bold - capitalization: styleRoot.font.capitalization - family: styleRoot.font.family - italic: styleRoot.font.italic - letterSpacing: styleRoot.font.letterSpacing - pixelSize: styleRoot.font.pixelSize * 0.9 - strikeout: styleRoot.font.strikeout - underline: styleRoot.font.underline - weight: styleRoot.font.weight - wordSpacing: styleRoot.font.wordSpacing - } - color: __currentTextColor - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - - checkmarkIndicator: Loader { - sourceComponent: styleData.exclusive ? exclusiveCheckMark : nonExclusiveCheckMark - Component { - id: exclusiveCheckMark - Rectangle { - x: 1 - width: 10 - height: 10 - color: "white" - border.color: "gray" - antialiasing: true - radius: height/2 - - Rectangle { - anchors.centerIn: parent - visible: styleData.checked - width: 4 - height: 4 - color: "#666" - border.color: "#222" - antialiasing: true - radius: height/2 - } - } - } - - Component { - id: nonExclusiveCheckMark - BorderImage { - width: 12 - height: 12 - source: "images/editbox.png" - border.top: 6 - border.bottom: 6 - border.left: 6 - border.right: 6 - - Rectangle { - antialiasing: true - visible: styleData.checked - color: "#666" - radius: 1 - anchors.margins: 4 - anchors.fill: parent - border.color: "#222" - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: "transparent" - border.color: "#33ffffff" - } - } - } - } - } - } - - /*! Component for the separator menu item. - - Will be used when \l {styleData properties} {styleData.type} equals \c MenuItemType.Separator. - */ - property Component separator: Item { - implicitHeight: styleRoot.font.pixelSize / 2 - Rectangle { - width: parent.width - 2 - height: 1 - x: 1 - anchors.verticalCenter: parent.verticalCenter - color: "darkgray" - } - } - - /*! Component for the scroll indicator menu item. - - Will be used when \l {styleData properties} {styleData.type} equals \c MenuItemType.ScrollIndicator. - Its appearance should follow \l {styleData properties} {styleData.scrollerDirection}. - - This is the item added at the top and bottom of the menu popup when its contents won't fit the screen - to indicate more content is available in the direction of the arrow. - */ - property Component scrollIndicator: Image { - anchors.centerIn: parent - source: styleData.scrollerDirection === Qt.UpArrow ? "images/arrow-up.png" : "images/arrow-down.png" - } - - /*! - \since QtQuick.Controls.Styles 1.3 - The font of the control. - */ - property font font - - /*! \internal */ - property string __menuItemType: "menuitem" - - /*! \internal - The menu popup frame background color. - - This is set to be a uniform background. If you want a gradient or a pixmap, - you should override \l frame. - - \sa frame, borderColor - */ - property color __backgroundColor: "#dcdcdc" - - /*! \internal - The menu popup frame border color. - - The border width is set to 1 pixel. Override \l frame if you want a larger border. - - \sa frame, backgroundColor - */ - property color __borderColor: "darkgray" - - /*! \internal - The maximum height for a popup before it will show scrollers. - */ - property int __maxPopupHeight: 600 - - /*! \internal - The menu item background color when selected. - - This property is provided for convenience and only sets the color. - It does not change the style in any other way. - */ - property color __selectedBackgroundColor: "#49d" - - /*! \internal - The menu item label color. - - When set, keyboard shorcuts get the same color as the item's text. - - \sa selectedLabelColor, disabledLabelColor - */ - property color __labelColor: "#444" - - /*! \internal - The menu item label color when selected. - - \sa labelColor, selectedLabelColor - */ - property color __selectedLabelColor: "white" - - /*! \internal - The menu item label color when disabled. - - \sa labelColor, disabledLabelColor - */ - property color __disabledLabelColor: "gray" - - - /*! \internal */ - readonly property bool __mirrored: Qt.application.layoutDirection === Qt.RightToLeft - - /*! \internal - The margin between the frame and the menu item label's left side. - - Generally, this should be large enough to fit optional checkmarks on - the label's left side. - */ - property int __leftLabelMargin: 18 - - /*! \internal - The margin between the menu item label's right side and the frame. */ - property int __rightLabelMargin: 12 - - /*! \internal - The minimum spacing between the menu item label's text right side and any - element located on its right (submenu indicator or shortcut). - */ - property int __minRightLabelSpacing: 28 - - /*! \internal */ - property Component __scrollerStyle: null - - /*! \internal - The menu item contents itself. - - The default implementation uses \l MenuItemStyle. - */ - property Component menuItemPanel: Item { - id: panel - - property QtObject __styleData: styleData - /*! \internal - The current color of the text label. - - Use this if you're overriding e.g. \l shortcutIndicator to keep the color matched - with \l label, or to derive new colors from it. - */ - property color currentTextColor: !styleData.enabled ? __disabledLabelColor : - styleData.selected ? __selectedLabelColor : __labelColor - - implicitWidth: Math.max((parent ? parent.width : 0), - Math.round(__leftLabelMargin + labelLoader.width + __rightLabelMargin + - (rightIndicatorLoader.active ? __minRightLabelSpacing + rightIndicatorLoader.width : 0))) - implicitHeight: Math.round(styleData.type === MenuItemType.Separator ? separatorLoader.implicitHeight : - !!styleData.scrollerDirection ? styleRoot.font.pixelSize * 0.75 : labelLoader.height + 4) - - Loader { - property alias styleData: panel.__styleData - property alias __currentTextColor: panel.currentTextColor - anchors.fill: parent - sourceComponent: itemDelegate.background - } - - Loader { - id: separatorLoader - property alias styleData: panel.__styleData - property alias __currentTextColor: panel.currentTextColor - anchors.fill: parent - sourceComponent: separator - active: styleData.type === MenuItemType.Separator - } - - Loader { - property alias styleData: panel.__styleData - property alias __currentTextColor: panel.currentTextColor - x: __mirrored ? parent.width - width - 4 : 4 - anchors.verticalCenterOffset: -1 - anchors.verticalCenter: parent.verticalCenter - active: __menuItemType === "menuitem" && styleData.checkable - sourceComponent: itemDelegate.checkmarkIndicator - } - - Loader { - id: labelLoader - readonly property real offset: __menuItemType === "menuitem" ? __leftLabelMargin : 6 - property alias styleData: panel.__styleData - property alias __currentTextColor: panel.currentTextColor - x: __mirrored ? parent.width - width - offset : offset - y: 1 - active: styleData.type !== MenuItemType.Separator - sourceComponent: itemDelegate.label - baselineOffset: item ? item.baselineOffset : 0.0 - } - - Loader { - id: rightIndicatorLoader - property alias styleData: panel.__styleData - property alias __currentTextColor: panel.currentTextColor - active: styleData.type === MenuItemType.Menu || styleData.shortcut !== "" - sourceComponent: styleData.type === MenuItemType.Menu ? itemDelegate.submenuIndicator : itemDelegate.shortcut - LayoutMirroring.enabled: __mirrored - baselineOffset: item ? item.baselineOffset : 0.0 - anchors { - right: parent.right - rightMargin: 6 - baseline: !styleData.isSubmenu ? labelLoader.baseline : undefined - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/PieMenuStyle.qml b/bin/QtQuick/Controls/Styles/Base/PieMenuStyle.qml deleted file mode 100644 index ddeb4edde..000000000 --- a/bin/QtQuick/Controls/Styles/Base/PieMenuStyle.qml +++ /dev/null @@ -1,404 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtGraphicalEffects 1.0 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 -import QtQuick.Extras.Private.CppUtils 1.0 - -/*! - \qmltype PieMenuStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.5 - \ingroup controlsstyling - \brief Provides custom styling for PieMenu. - - PieMenuStyle is a style for PieMenu that draws each section of the menu as a - filled "slice". - - You can create a custom pie menu by replacing the following delegates: - \list - \li \l background - \li \l cancel - \li \l menuItem - \li \l title - \endlist - - To customize the appearance of each menuItem without having to define your - own, you can use the \l backgroundColor and \l selectionColor properties. - To customize the drop shadow, use the \l shadowColor, \l shadowRadius and - \l shadowSpread properties. - - Icons that are too large for the section that they are in will be scaled - down appropriately. - - To style individual sections of the menu, use the menuItem component: - \code - PieMenuStyle { - shadowRadius: 0 - - menuItem: Item { - id: item - rotation: -90 + sectionCenterAngle(styleData.index) - - Rectangle { - width: parent.height * 0.2 - height: width - color: "darkorange" - radius: width / 2 - anchors.right: parent.right - anchors.verticalCenter: parent.verticalCenter - - Text { - id: textItem - text: control.menuItems[styleData.index].text - anchors.centerIn: parent - color: control.currentIndex === styleData.index ? "red" : "white" - rotation: -item.rotation - } - } - } - } - \endcode - - \image piemenu-menuitem-example.png A custom PieMenu -*/ - -Style { - id: pieMenuStyle - - /*! - The \l PieMenu that this style is attached to. - */ - readonly property PieMenu control: __control - - /*! The background color. */ - property color backgroundColor: Qt.rgba(0.6, 0.6, 0.6, 0.66) - - /*! The selection color. */ - property color selectionColor: "#eee" - - /*! - The shadow color. - - \sa DropShadow - */ - property color shadowColor: Qt.rgba(0, 0, 0, 0.26) - - /*! - The shadow radius. - - \sa DropShadow - */ - property real shadowRadius: 10 - - /*! - The shadow spread. - - \sa DropShadow - */ - property real shadowSpread: 0.3 - - /*! - The distance from the center of the menu to the outer edge of the menu. - - \sa cancelRadius - */ - readonly property real radius: Math.min(control.width, control.height) * 0.5 - - /*! - The radius of the area that is used to cancel the menu. - - \sa radius - */ - property real cancelRadius: radius * 0.4 - - /*! - The angle (in degrees) at which the first menu item will be drawn. - - The absolute range formed by \a startAngle and \l endAngle must be - less than or equal to \c 360 degrees. - - Menu items are displayed clockwise when \a startAngle is less than - \l endAngle, otherwise they are displayed anti-clockwise. - - \sa endAngle - */ - property real startAngle: -90 - - /*! - The angle (in degrees) at which the last menu item will be drawn. - - The absolute range formed by \l startAngle and \a endAngle must be - less than or equal to \c 360 degrees. - - Menu items are displayed clockwise when \l startAngle is less than - \a endAngle, otherwise they are displayed anti-clockwise. - - \sa startAngle - */ - property real endAngle: 90 - - /*! - \qmlmethod real PieMenuStyle::sectionStartAngle(int itemIndex) - Returns the start of the section at \a itemIndex as an angle in degrees. - */ - function sectionStartAngle(itemIndex) { - return MathUtils.radToDegOffset(control.__protectedScope.sectionStartAngle(itemIndex)); - } - - /*! - \qmlmethod real PieMenuStyle::sectionCenterAngle(int itemIndex) - Returns the center of the section at \a itemIndex as an angle in - degrees. - */ - function sectionCenterAngle(itemIndex) { - return MathUtils.radToDegOffset(control.__protectedScope.sectionCenterAngle(itemIndex)); - } - - /*! - \qmlmethod real PieMenuStyle::sectionEndAngle(int itemIndex) - Returns the end of the section at \a itemIndex as an angle in degrees. - */ - function sectionEndAngle(itemIndex) { - return MathUtils.radToDegOffset(control.__protectedScope.sectionEndAngle(itemIndex)); - } - - /*! - \internal - - The distance in pixels from the center of each menu item's icon to the - center of the menu. A higher value means that the icons will be further - from the center of the menu. - */ - readonly property real __iconOffset: cancelRadius + ((radius - cancelRadius) / 2) - - /*! \internal */ - readonly property real __selectableRadius: radius - cancelRadius - - /*! \internal */ - property int __implicitWidth: Math.round(TextSingleton.implicitHeight * 12.5) - - /*! \internal */ - property int __implicitHeight: __implicitWidth - - /*! - The background of the menu. - - By default, there is no background defined. - */ - property Component background - - /*! - The cancel component of the menu. - - This is an area in the center of the menu that closes the menu when - clicked. - - By default, it is not visible. - */ - property Component cancel: null - - /*! - The component that displays the text of the currently selected menu - item, or the title if there is no current item. - - The current item's text is available via the \c styleData.text - property. - */ - property Component title: Text { - font.pointSize: 20 - text: styleData.text - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - color: "#ccc" - antialiasing: true - } - - /*! - This component defines each section of the pie menu. - - This component covers the width and height of the control. - - No mouse events are propagated to this component, which means that - controls like Button will not function when used within it. You can - check if the mouse is over this section by comparing - \c control.currentIndex to \c styleData.index. - - Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this menu item. - \row \li \c {readonly property bool} \b styleData.hovered - \li \c true if this menu item is under the mouse. - \row \li \c {readonly property bool} \b styleData.pressed - \li \c true if the mouse is pressed down on this menu item. - \endtable - */ - property Component menuItem: Item { - id: actionRootDelegateItem - - function drawRingSection(ctx, x, y, section, r, ringWidth, ringColor) { - ctx.fillStyle = ringColor; - - // Draw one section. - ctx.beginPath(); - ctx.moveTo(x,y); - - // Canvas draws 0 degrees at 3 o'clock, whereas we want it to draw it at 12. - var start = control.__protectedScope.sectionStartAngle(section); - var end = control.__protectedScope.sectionEndAngle(section); - ctx.arc(x, y, r, start, end, start > end); - ctx.fill(); - - // Either change this to the background color, or use the global composition. - ctx.fillStyle = "black"; - ctx.globalCompositeOperation = "destination-out"; - ctx.beginPath(); - ctx.moveTo(x, y); - ctx.arc(x, y, ringWidth, 0, Math.PI * 2); - ctx.closePath(); - ctx.fill(); - - // If using the global composition method, make sure to change it back to default. - ctx.globalCompositeOperation = "source-over"; - } - - Canvas { - id: actionCanvas - anchors.fill: parent - property color currentColor: control.currentIndex === styleData.index ? selectionColor : backgroundColor - - Connections { - target: pieMenuStyle - function onStartAngleChanged() { actionCanvas.requestPaint() } - function onEndAngleChanged() { actionCanvas.requestPaint() } - } - - Connections { - target: control - function onCurrentIndexChanged() { actionCanvas.requestPaint() } - } - - onPaint: { - var ctx = getContext("2d"); - ctx.reset(); - drawRingSection(ctx, width / 2, height / 2, styleData.index, radius, cancelRadius, currentColor); - } - } - - readonly property var __styleData: styleData - - PieMenuIcon { - control: pieMenuStyle.control - styleData: __styleData - } - } - - /*! \internal */ - property Component panel: Item { - implicitWidth: __implicitWidth - implicitHeight: __implicitHeight - - property alias titleItem: titleLoader.item - - Item { - id: itemgroup - anchors.fill: parent - visible: false - - Loader { - id: backgroundLoader - sourceComponent: background - anchors.fill: parent - } - - Loader { - id: cancelLoader - sourceComponent: cancel - anchors.centerIn: parent - } - - Repeater { - id: menuItemRepeater - model: control.__protectedScope.visibleItems - - delegate: Loader { - id: menuItemLoader - anchors.fill: parent - sourceComponent: menuItem - - readonly property int __index: index - property QtObject styleData: QtObject { - readonly property alias index: menuItemLoader.__index - readonly property bool hovered: control.currentIndex === index - readonly property bool pressed: control.__protectedScope.pressedIndex === index - } - } - } - } - DropShadow { - id: dropShadow - anchors.fill: itemgroup - spread: shadowSpread - samples: shadowRadius * 2 + 1 - transparentBorder: true - color: shadowColor - source: itemgroup - } - - Loader { - id: titleLoader - sourceComponent: title - x: parent.x + parent.width / 2 - width / 2 - y: -height - 10 - - property QtObject styleData: QtObject { - property string text: control.currentIndex !== -1 - ? control.__protectedScope.visibleItems[control.currentIndex].text - : control.title - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/ProgressBarStyle.qml b/bin/QtQuick/Controls/Styles/Base/ProgressBarStyle.qml deleted file mode 100644 index d51e056dc..000000000 --- a/bin/QtQuick/Controls/Styles/Base/ProgressBarStyle.qml +++ /dev/null @@ -1,261 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ProgressBarStyle - - \inqmlmodule QtQuick.Controls.Styles - \since 5.1 - \ingroup controlsstyling - \brief Provides custom styling for ProgressBar. - - Example: - \qml - ProgressBar { - value: slider.value - style: ProgressBarStyle { - background: Rectangle { - radius: 2 - color: "lightgray" - border.color: "gray" - border.width: 1 - implicitWidth: 200 - implicitHeight: 24 - } - progress: Rectangle { - color: "lightsteelblue" - border.color: "steelblue" - } - } - } - \endqml - - Note that the example above is somewhat simplified and will not animate - an indeterminate progress bar. The following snippet demonstrates - how you can incorporate a custom animation for the indeterminate - state as well. - - \code - progress: Rectangle { - border.color: "steelblue" - color: "lightsteelblue" - - // Indeterminate animation by animating alternating stripes: - Item { - anchors.fill: parent - anchors.margins: 1 - visible: control.indeterminate - clip: true - Row { - Repeater { - Rectangle { - color: index % 2 ? "steelblue" : "lightsteelblue" - width: 20 ; height: control.height - } - model: control.width / 20 + 2 - } - XAnimator on x { - from: 0 ; to: -40 - loops: Animation.Infinite - running: control.indeterminate - } - } - } - } - \endcode - - -*/ - -Style { - id: progressBarStyle - - /*! The \l ProgressBar this style is attached to. */ - readonly property ProgressBar control: __control - - /*! A value in the range [0-1] indicating the current progress. */ - readonly property real currentProgress: control.indeterminate ? 1.0 : - control.value / control.maximumValue - - /*! This property holds the visible contents of the progress bar - You can access the Slider through the \c control property. - - For convenience, you can also access the readonly property \c styleData.progress - which provides the current progress as a \c real in the range [0-1] - */ - padding { top: 0 ; left: 0 ; right: 0 ; bottom: 0 } - - /*! \qmlproperty Component ProgressBarStyle::progress - The progress component for this style. - */ - property Component progress: Item { - property color progressColor: "#49d" - anchors.fill: parent - clip: true - Rectangle { - id: base - anchors.fill: parent - radius: TextSingleton.implicitHeight * 0.16 - antialiasing: true - gradient: Gradient { - GradientStop {color: Qt.lighter(progressColor, 1.3) ; position: 0} - GradientStop {color: progressColor ; position: 1.4} - } - border.width: 1 - border.color: Qt.darker(progressColor, 1.2) - Rectangle { - color: "transparent" - radius: 1.5 - clip: true - antialiasing: true - anchors.fill: parent - anchors.margins: 1 - border.color: Qt.rgba(1,1,1,0.1) - Image { - visible: control.indeterminate - height: parent.height - NumberAnimation on x { - from: -39 - to: 0 - running: control.indeterminate - duration: 800 - loops: Animation.Infinite - } - fillMode: Image.Tile - width: parent.width + 25 - source: "images/progress-indeterminate.png" - } - } - } - Rectangle { - height: parent.height - 2 - width: 1 - y: 1 - anchors.right: parent.right - anchors.rightMargin: 1 - color: Qt.rgba(1,1,1,0.1) - visible: splitter.visible - } - Rectangle { - id: splitter - height: parent.height - 2 - width: 1 - y: 1 - anchors.right: parent.right - color: Qt.darker(progressColor, 1.2) - property int offset: currentProgress * control.width - visible: offset > base.radius && offset < control.width - base.radius + 1 - } - } - - /*! \qmlproperty Component ProgressBarStyle::background - The background component for this style. - - \note The implicitWidth and implicitHeight of the background component - must be set. - */ - property Component background: Item { - implicitWidth: 200 - implicitHeight: Math.max(17, Math.round(TextSingleton.implicitHeight * 0.7)) - Rectangle { - anchors.fill: parent - anchors.bottomMargin: control.pressed ? 0 : -1 - color: "#44ffffff" - radius: baserect.radius - } - Rectangle { - id: baserect - gradient: Gradient { - GradientStop {color: "#eee" ; position: 0} - GradientStop {color: "#fff" ; position: 0.1} - GradientStop {color: "#fff" ; position: 1} - } - radius: TextSingleton.implicitHeight * 0.16 - anchors.fill: parent - border.color: control.activeFocus ? "#47b" : "#999" - Rectangle { - anchors.fill: parent - radius: parent.radius - color: control.activeFocus ? "#47b" : "white" - opacity: control.hovered || control.activeFocus ? 0.1 : 0 - Behavior on opacity {NumberAnimation{ duration: 100 }} - } - } - } - - /*! \qmlproperty Component ProgressBarStyle::panel - The panel component for this style. - */ - property Component panel: Item{ - property bool horizontal: control.orientation == Qt.Horizontal - implicitWidth: horizontal ? backgroundLoader.implicitWidth : backgroundLoader.implicitHeight - implicitHeight: horizontal ? backgroundLoader.implicitHeight : backgroundLoader.implicitWidth - - Item { - width: horizontal ? parent.width : parent.height - height: !horizontal ? parent.width : parent.height - y: horizontal ? 0 : width - rotation: horizontal ? 0 : -90 - transformOrigin: Item.TopLeft - - Loader { - id: backgroundLoader - anchors.fill: parent - sourceComponent: background - } - - Loader { - sourceComponent: progressBarStyle.progress - anchors.topMargin: padding.top - anchors.leftMargin: padding.left - anchors.rightMargin: padding.right - anchors.bottomMargin: padding.bottom - - anchors.top: parent.top - anchors.left: parent.left - anchors.bottom: parent.bottom - width: currentProgress * (parent.width - padding.left - padding.right) - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/RadioButtonStyle.qml b/bin/QtQuick/Controls/Styles/Base/RadioButtonStyle.qml deleted file mode 100644 index 6e3a2dc47..000000000 --- a/bin/QtQuick/Controls/Styles/Base/RadioButtonStyle.qml +++ /dev/null @@ -1,172 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype RadioButtonStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.1 - \ingroup controlsstyling - \brief Provides custom styling for RadioButton. - - Example: - \qml - RadioButton { - text: "Radio Button" - style: RadioButtonStyle { - indicator: Rectangle { - implicitWidth: 16 - implicitHeight: 16 - radius: 9 - border.color: control.activeFocus ? "darkblue" : "gray" - border.width: 1 - Rectangle { - anchors.fill: parent - visible: control.checked - color: "#555" - radius: 9 - anchors.margins: 4 - } - } - } - } - \endqml -*/ - -Style { - id: radiobuttonStyle - - /*! The \l RadioButton this style is attached to. */ - readonly property RadioButton control: __control - - /*! This defines the text label. */ - property Component label: Item { - implicitWidth: text.implicitWidth + 2 - implicitHeight: text.implicitHeight - baselineOffset: text.y + text.baselineOffset - Rectangle { - anchors.fill: text - anchors.margins: -1 - anchors.leftMargin: -3 - anchors.rightMargin: -3 - visible: control.activeFocus - height: 6 - radius: 3 - color: "#224f9fef" - border.color: "#47b" - opacity: 0.6 - } - Text { - id: text - text: StyleHelpers.stylizeMnemonics(control.text) - anchors.centerIn: parent - color: SystemPaletteSingleton.text(control.enabled) - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - } - - /*! The background under indicator and label. */ - property Component background - - /*! The spacing between indicator and label. */ - property int spacing: Math.round(TextSingleton.implicitHeight/4) - - /*! This defines the indicator button. */ - property Component indicator: Rectangle { - width: Math.round(TextSingleton.implicitHeight) - height: width - gradient: Gradient { - GradientStop {color: "#eee" ; position: 0} - GradientStop {color: control.pressed ? "#eee" : "#fff" ; position: 0.4} - GradientStop {color: "#fff" ; position: 1} - } - border.color: control.activeFocus ? "#16c" : "gray" - antialiasing: true - radius: height/2 - Rectangle { - anchors.centerIn: parent - width: Math.round(parent.width * 0.5) - height: width - gradient: Gradient { - GradientStop {color: "#999" ; position: 0} - GradientStop {color: "#555" ; position: 1} - } - border.color: "#222" - antialiasing: true - radius: height/2 - Behavior on opacity {NumberAnimation {duration: 80}} - opacity: control.checked ? control.enabled ? 1 : 0.5 : 0 - } - } - - /*! \internal */ - property Component panel: Item { - implicitWidth: Math.max(backgroundLoader.implicitWidth, row.implicitWidth + padding.left + padding.right) - implicitHeight: Math.max(backgroundLoader.implicitHeight, labelLoader.implicitHeight + padding.top + padding.bottom,indicatorLoader.implicitHeight + padding.top + padding.bottom) - baselineOffset: labelLoader.item ? padding.top + labelLoader.item.baselineOffset : 0 - - Loader { - id:backgroundLoader - sourceComponent: background - anchors.fill: parent - } - Row { - id: row - anchors.fill: parent - - anchors.leftMargin: padding.left - anchors.rightMargin: padding.right - anchors.topMargin: padding.top - anchors.bottomMargin: padding.bottom - - spacing: radiobuttonStyle.spacing - Loader { - id: indicatorLoader - sourceComponent: indicator - } - Loader { - id: labelLoader - sourceComponent: label - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/ScrollViewStyle.qml b/bin/QtQuick/Controls/Styles/Base/ScrollViewStyle.qml deleted file mode 100644 index dd41bb77c..000000000 --- a/bin/QtQuick/Controls/Styles/Base/ScrollViewStyle.qml +++ /dev/null @@ -1,406 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ScrollViewStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.1 - \ingroup viewsstyling - \ingroup controlsstyling - \brief Provides custom styling for ScrollView. -*/ -Style { - id: root - - /*! The \l ScrollView this style is attached to. */ - readonly property ScrollView control: __control - - /*! This property controls the frame border padding of the scrollView. */ - padding {left: 1; top: 1; right: 1; bottom: 1} - - /*! This Component paints the corner area between scroll bars */ - property Component corner: Rectangle { color: "#ccc" } - - /*! This component determines if the flickable should reposition itself at the - mouse location when clicked. */ - property bool scrollToClickedPosition: true - - /*! This property holds whether the scroll bars are transient. Transient scroll bars - appear when the content is scrolled and disappear when they are no longer needed. - - The default value is platform dependent. */ - property bool transientScrollBars: Settings.isMobile && Settings.hasTouchScreen - - /*! This Component paints the frame around scroll bars. */ - property Component frame: Rectangle { - color: control["backgroundVisible"] ? "white": "transparent" - border.color: "#999" - border.width: 1 - radius: 1 - visible: control.frameVisible - } - - /*! This is the minimum extent of the scroll bar handle. - - The default value is \c 30. - */ - - property int minimumHandleLength: 30 - - /*! This property controls the edge overlap - between the handle and the increment/decrement buttons. - - The default value is \c 30. - */ - - property int handleOverlap: 1 - - /*! This component controls the appearance of the - scroll bar background. - - You can access the following state properties: - - \table - \row \li property bool \b styleData.hovered - \row \li property bool \b styleData.horizontal - \endtable - */ - - property Component scrollBarBackground: Item { - property bool sticky: false - property bool hovered: styleData.hovered - implicitWidth: Math.round(TextSingleton.implicitHeight) - implicitHeight: Math.round(TextSingleton.implicitHeight) - clip: true - opacity: transientScrollBars ? 0.5 : 1.0 - visible: !Settings.hasTouchScreen && (!transientScrollBars || sticky) - Rectangle { - anchors.fill: parent - color: "#ddd" - border.color: "#aaa" - anchors.rightMargin: styleData.horizontal ? -2 : -1 - anchors.leftMargin: styleData.horizontal ? -2 : 0 - anchors.topMargin: styleData.horizontal ? 0 : -2 - anchors.bottomMargin: styleData.horizontal ? -1 : -2 - } - onHoveredChanged: if (hovered) sticky = true - onVisibleChanged: if (!visible) sticky = false - } - - /*! This component controls the appearance of the - scroll bar handle. - - You can access the following state properties: - - \table - \row \li property bool \b styleData.hovered - \row \li property bool \b styleData.pressed - \row \li property bool \b styleData.horizontal - \endtable - */ - - property Component handle: Item { - property bool sticky: false - property bool hovered: __activeControl !== "none" - implicitWidth: Math.round(TextSingleton.implicitHeight) + 1 - implicitHeight: Math.round(TextSingleton.implicitHeight) + 1 - BorderImage { - id: img - opacity: styleData.pressed && !transientScrollBars ? 0.5 : styleData.hovered ? 1 : 0.8 - source: "images/scrollbar-handle-" + (transientScrollBars ? "transient" : styleData.horizontal ? "horizontal" : "vertical") + ".png" - border.left: transientScrollBars ? 5 : 2 - border.top: transientScrollBars ? 5 : 2 - border.right: transientScrollBars ? 5 : 2 - border.bottom: transientScrollBars ? 5 : 2 - anchors.top: !styleData.horizontal ? parent.top : undefined - anchors.margins: transientScrollBars ? 2 : 0 - anchors.bottom: parent.bottom - anchors.right: parent.right - anchors.left: styleData.horizontal ? parent.left : undefined - width: !styleData.horizontal && transientScrollBars ? sticky ? 13 : 10 : parent.width - height: styleData.horizontal && transientScrollBars ? sticky ? 13 : 10 : parent.height - Behavior on width { enabled: !styleData.horizontal && transientScrollBars; NumberAnimation { duration: 100 } } - Behavior on height { enabled: styleData.horizontal && transientScrollBars; NumberAnimation { duration: 100 } } - } - onHoveredChanged: if (hovered) sticky = true - onVisibleChanged: if (!visible) sticky = false - } - - /*! This component controls the appearance of the - scroll bar increment button. - - You can access the following state properties: - - \table - \row \li property bool \b styleData.hovered - \row \li property bool \b styleData.pressed - \row \li property bool \b styleData.horizontal - \endtable - */ - property Component incrementControl: Rectangle { - visible: !transientScrollBars - implicitWidth: transientScrollBars ? 0 : Math.round(TextSingleton.implicitHeight) - implicitHeight: transientScrollBars ? 0 : Math.round(TextSingleton.implicitHeight) - Rectangle { - anchors.fill: parent - anchors.bottomMargin: -1 - anchors.rightMargin: -1 - border.color: "#aaa" - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: "transparent" - border.color: "#44ffffff" - } - Image { - source: styleData.horizontal ? "images/arrow-right.png" : "images/arrow-down.png" - anchors.centerIn: parent - opacity: control.enabled ? 0.6 : 0.5 - } - gradient: Gradient { - GradientStop {color: styleData.pressed ? "lightgray" : "white" ; position: 0} - GradientStop {color: styleData.pressed ? "lightgray" : "lightgray" ; position: 1} - } - } - } - - /*! This component controls the appearance of the - scroll bar decrement button. - - You can access the following state properties: - - \table - \row \li property bool \b styleData.hovered - \row \li property bool \b styleData.pressed - \row \li property bool \b styleData.horizontal - \endtable - */ - property Component decrementControl: Rectangle { - visible: !transientScrollBars - implicitWidth: transientScrollBars ? 0 : Math.round(TextSingleton.implicitHeight) - implicitHeight: transientScrollBars ? 0 : Math.round(TextSingleton.implicitHeight) - Rectangle { - anchors.fill: parent - anchors.topMargin: styleData.horizontal ? 0 : -1 - anchors.leftMargin: styleData.horizontal ? -1 : 0 - anchors.bottomMargin: styleData.horizontal ? -1 : 0 - anchors.rightMargin: styleData.horizontal ? 0 : -1 - color: "lightgray" - Rectangle { - anchors.fill: parent - anchors.margins: 1 - color: "transparent" - border.color: "#44ffffff" - } - Image { - source: styleData.horizontal ? "images/arrow-left.png" : "images/arrow-up.png" - anchors.centerIn: parent - anchors.verticalCenterOffset: styleData.horizontal ? 0 : -1 - anchors.horizontalCenterOffset: styleData.horizontal ? -1 : 0 - opacity: control.enabled ? 0.6 : 0.5 - } - gradient: Gradient { - GradientStop {color: styleData.pressed ? "lightgray" : "white" ; position: 0} - GradientStop {color: styleData.pressed ? "lightgray" : "lightgray" ; position: 1} - } - border.color: "#aaa" - } - } - - /*! \internal */ - property Component __scrollbar: Item { - id: panel - property string activeControl: "none" - property bool scrollToClickPosition: true - property bool isTransient: transientScrollBars - - property bool on: false - property bool raised: false - property bool sunken: __styleData.upPressed | __styleData.downPressed | __styleData.handlePressed - - states: State { - name: "out" - when: isTransient - && (!__stickyScrollbars || !flickableItem.moving) - && panel.activeControl === "none" - && !panel.on - && !panel.raised - PropertyChanges { target: panel; opacity: 0 } - } - - transitions: Transition { - to: "out" - SequentialAnimation { - PauseAnimation { duration: root.__scrollBarFadeDelay } - NumberAnimation { properties: "opacity"; duration: root.__scrollBarFadeDuration } - PropertyAction { target: panel; property: "visible"; value: false } - } - } - - implicitWidth: __styleData.horizontal ? 200 : bg.implicitWidth - implicitHeight: __styleData.horizontal ? bg.implicitHeight : 200 - - function pixelMetric(arg) { - if (arg === "scrollbarExtent") - return (__styleData.horizontal ? bg.height : bg.width); - return 0; - } - - function styleHint(arg) { - return false; - } - - function hitTest(argX, argY) { - if (itemIsHit(handleControl, argX, argY)) - return "handle" - else if (itemIsHit(incrementLoader, argX, argY)) - return "up"; - else if (itemIsHit(decrementLoader, argX, argY)) - return "down"; - else if (itemIsHit(bg, argX, argY)) { - if (__styleData.horizontal && argX < handleControl.x || !__styleData.horizontal && argY < handleControl.y) - return "upPage" - else - return "downPage" - } - - return "none"; - } - - function subControlRect(arg) { - if (arg === "handle") { - return Qt.rect(handleControl.x, handleControl.y, handleControl.width, handleControl.height); - } else if (arg === "groove") { - if (__styleData.horizontal) { - return Qt.rect(incrementLoader.width - handleOverlap, - 0, - __control.width - (incrementLoader.width + decrementLoader.width - handleOverlap * 2), - __control.height); - } else { - return Qt.rect(0, - incrementLoader.height - handleOverlap, - __control.width, - __control.height - (incrementLoader.height + decrementLoader.height - handleOverlap * 2)); - } - } - return Qt.rect(0,0,0,0); - } - - function itemIsHit(argItem, argX, argY) { - var pos = argItem.mapFromItem(__control, argX, argY); - return (pos.x >= 0 && pos.x <= argItem.width && pos.y >= 0 && pos.y <= argItem.height); - } - - Loader { - id: incrementLoader - anchors.top: parent.top - anchors.left: parent.left - sourceComponent: decrementControl - property QtObject styleData: QtObject { - readonly property bool hovered: activeControl === "up" - readonly property bool pressed: __styleData.upPressed - readonly property bool horizontal: __styleData.horizontal - } - } - - Loader { - id: bg - anchors.top: __styleData.horizontal ? undefined : incrementLoader.bottom - anchors.bottom: __styleData.horizontal ? undefined : decrementLoader.top - anchors.left: __styleData.horizontal ? incrementLoader.right : undefined - anchors.right: __styleData.horizontal ? decrementLoader.left : undefined - sourceComponent: scrollBarBackground - property QtObject styleData: QtObject { - readonly property bool horizontal: __styleData.horizontal - readonly property bool hovered: activeControl !== "none" - } - } - - Loader { - id: decrementLoader - anchors.bottom: __styleData.horizontal ? undefined : parent.bottom - anchors.right: __styleData.horizontal ? parent.right : undefined - sourceComponent: incrementControl - property QtObject styleData: QtObject { - readonly property bool hovered: activeControl === "down" - readonly property bool pressed: __styleData.downPressed - readonly property bool horizontal: __styleData.horizontal - } - } - - property var flickableItem: control.flickableItem - property int extent: Math.max(minimumHandleLength, __styleData.horizontal ? - Math.min(1, ((flickableItem && flickableItem.contentWidth > 0.0) ? flickableItem.width/flickableItem.contentWidth : 1)) * bg.width : - Math.min(1, ((flickableItem && flickableItem.contentHeight > 0.0) ? flickableItem.height/flickableItem.contentHeight : 1)) * bg.height) - readonly property real range: __control.maximumValue - __control.minimumValue - readonly property real begin: __control.value - __control.minimumValue - - Loader { - id: handleControl - height: __styleData.horizontal ? implicitHeight : extent - width: __styleData.horizontal ? extent : implicitWidth - anchors.top: bg.top - anchors.left: bg.left - anchors.topMargin: __styleData.horizontal || range === 0 ? 0 : Math.floor(-handleOverlap + (2 * begin * (bg.height + (2 * handleOverlap) - extent) + range) / (2 * range)) - anchors.leftMargin: __styleData.horizontal && range !== 0 ? Math.floor(-handleOverlap + (2 * begin * (bg.width + (2 * handleOverlap) - extent) + range) / (2 * range)) : 0 - sourceComponent: handle - property QtObject styleData: QtObject { - readonly property bool hovered: activeControl === "handle" - readonly property bool pressed: __styleData.handlePressed - readonly property bool horizontal: __styleData.horizontal - } - readonly property alias __activeControl: panel.activeControl - } - } - - /*! \internal */ - property bool __externalScrollBars: false - /*! \internal */ - property int __scrollBarSpacing: 4 - /*! \internal */ - property int __scrollBarFadeDelay: 450 - /*! \internal */ - property int __scrollBarFadeDuration: 200 - /*! \internal */ - property bool __stickyScrollbars: false -} diff --git a/bin/QtQuick/Controls/Styles/Base/SliderStyle.qml b/bin/QtQuick/Controls/Styles/Base/SliderStyle.qml deleted file mode 100644 index ca5030642..000000000 --- a/bin/QtQuick/Controls/Styles/Base/SliderStyle.qml +++ /dev/null @@ -1,232 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype SliderStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.1 - \ingroup controlsstyling - \brief Provides custom styling for Slider. - - The slider style allows you to create a custom appearance for - a \l Slider control. - - The implicit size of the slider is calculated based on the - maximum implicit size of the \c background and \c handle - delegates combined. - - Example: - \qml - Slider { - anchors.centerIn: parent - style: SliderStyle { - groove: Rectangle { - implicitWidth: 200 - implicitHeight: 8 - color: "gray" - radius: 8 - } - handle: Rectangle { - anchors.centerIn: parent - color: control.pressed ? "white" : "lightgray" - border.color: "gray" - border.width: 2 - implicitWidth: 34 - implicitHeight: 34 - radius: 12 - } - } - } - \endqml -*/ -Style { - id: styleitem - - /*! The \l Slider this style is attached to. */ - readonly property Slider control: __control - - padding { top: 0 ; left: 0 ; right: 0 ; bottom: 0 } - - /*! This property holds the item for the slider handle. - You can access the slider through the \c control property - */ - property Component handle: Item{ - implicitWidth: implicitHeight - implicitHeight: TextSingleton.implicitHeight * 1.2 - - FastGlow { - source: handle - anchors.fill: parent - anchors.bottomMargin: -1 - anchors.topMargin: 1 - smooth: true - color: "#11000000" - spread: 0.8 - transparentBorder: true - blur: 0.1 - - } - Rectangle { - id: handle - anchors.fill: parent - - radius: width/2 - gradient: Gradient { - GradientStop { color: control.pressed ? "#e0e0e0" : "#fff" ; position: 1 } - GradientStop { color: "#eee" ; position: 0 } - } - Rectangle { - anchors.fill: parent - anchors.margins: 1 - radius: width/2 - border.color: "#99ffffff" - color: control.activeFocus ? "#224f7fbf" : "transparent" - } - border.color: control.activeFocus ? "#47b" : "#777" - } - - } - /*! This property holds the background groove of the slider. - - You can access the handle position through the \c styleData.handlePosition property. - */ - property Component groove: Item { - property color fillColor: "#49d" - anchors.verticalCenter: parent.verticalCenter - implicitWidth: Math.round(TextSingleton.implicitHeight * 4.5) - implicitHeight: Math.max(6, Math.round(TextSingleton.implicitHeight * 0.3)) - Rectangle { - radius: height/2 - anchors.fill: parent - border.width: 1 - border.color: "#888" - gradient: Gradient { - GradientStop { color: "#bbb" ; position: 0 } - GradientStop { color: "#ccc" ; position: 0.6 } - GradientStop { color: "#ccc" ; position: 1 } - } - } - Item { - clip: true - width: styleData.handlePosition - height: parent.height - Rectangle { - anchors.fill: parent - border.color: Qt.darker(fillColor, 1.2) - radius: height/2 - gradient: Gradient { - GradientStop {color: Qt.lighter(fillColor, 1.3) ; position: 0} - GradientStop {color: fillColor ; position: 1.4} - } - } - } - } - - /*! This property holds the tick mark labels. - \since QtQuick.Controls.Styles 1.1 - - Every tickmark that should be drawn must be defined within this - component, so it is common to use a \l Repeater, for example. - - You can access the handle width through the \c styleData.handleWidth property. - */ - property Component tickmarks: Repeater { - id: repeater - model: control.stepSize > 0 ? 1 + (control.maximumValue - control.minimumValue) / control.stepSize : 0 - Rectangle { - color: "#777" - width: 1 ; height: 3 - y: repeater.height - x: styleData.handleWidth / 2 + index * ((repeater.width - styleData.handleWidth) / (repeater.count-1)) - } - } - - /*! This property holds the slider style panel. - - Note that it is generally not recommended to override this. - */ - property Component panel: Item { - id: root - property int handleWidth: handleLoader.width - property int handleHeight: handleLoader.height - - property bool horizontal : control.orientation === Qt.Horizontal - property int horizontalSize: grooveLoader.implicitWidth + padding.left + padding.right - property int verticalSize: Math.max(handleLoader.implicitHeight, grooveLoader.implicitHeight) + padding.top + padding.bottom - - implicitWidth: horizontal ? horizontalSize : verticalSize - implicitHeight: horizontal ? verticalSize : horizontalSize - - y: horizontal ? 0 : height - rotation: horizontal ? 0 : -90 - transformOrigin: Item.TopLeft - - Item { - - anchors.fill: parent - - Loader { - id: grooveLoader - property QtObject styleData: QtObject { - readonly property int handlePosition: handleLoader.x + handleLoader.width/2 - } - x: padding.left - sourceComponent: groove - width: (horizontal ? parent.width : parent.height) - padding.left - padding.right - y: Math.round(padding.top + (Math.round(horizontal ? parent.height : parent.width - padding.top - padding.bottom) - grooveLoader.item.height)/2) - } - Loader { - id: tickMarkLoader - anchors.fill: parent - sourceComponent: control.tickmarksEnabled ? tickmarks : null - property QtObject styleData: QtObject { readonly property int handleWidth: control.__panel.handleWidth } - } - Loader { - id: handleLoader - sourceComponent: handle - anchors.verticalCenter: grooveLoader.verticalCenter - x: Math.round((control.__handlePos - control.minimumValue) / (control.maximumValue - control.minimumValue) * ((horizontal ? root.width : root.height) - item.width)) - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/SpinBoxStyle.qml b/bin/QtQuick/Controls/Styles/Base/SpinBoxStyle.qml deleted file mode 100644 index bc57ef6e2..000000000 --- a/bin/QtQuick/Controls/Styles/Base/SpinBoxStyle.qml +++ /dev/null @@ -1,258 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype SpinBoxStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.2 - \ingroup controlsstyling - \brief Provides custom styling for SpinBox. - - Example: - \qml - SpinBox { - style: SpinBoxStyle{ - background: Rectangle { - implicitWidth: 100 - implicitHeight: 20 - border.color: "gray" - radius: 2 - } - } - } - \endqml -*/ - -Style { - id: spinboxStyle - - /*! The \l SpinBox this style is attached to. */ - readonly property SpinBox control: __control - - /*! The content margins of the text field. */ - padding { top: 1 ; left: Math.round(styleData.contentHeight/2) ; right: Math.max(22, Math.round(styleData.contentHeight)) ; bottom: 0 } - /*! \qmlproperty enumeration horizontalAlignment - - This property defines the default text aligment. - - The supported values are: - \list - \li Qt.AlignLeft - \li Qt.AlignHCenter - \li Qt.AlignRight - \endlist - - The default value is Qt.AlignRight - */ - property int horizontalAlignment: Qt.AlignRight - - /*! The text color. */ - property color textColor: SystemPaletteSingleton.text(control.enabled) - - /*! The text highlight color, used behind selections. */ - property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) - - /*! The highlighted text color, used in selections. */ - property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) - - /*! - \qmlproperty enumeration renderType - - Override the default rendering type for the control. - - Supported render types are: - \list - \li Text.QtRendering - \li Text.NativeRendering - \endlist - - The default value is platform dependent. - - \sa Text::renderType - */ - property int renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - - /*! - \since QtQuick.Controls.Styles 1.3 - The font of the control. - */ - property font font - - /*! The button used to increment the value. */ - property Component incrementControl: Item { - implicitWidth: padding.right - Image { - source: "images/arrow-up.png" - anchors.centerIn: parent - anchors.verticalCenterOffset: 1 - opacity: control.enabled ? (styleData.upPressed ? 1 : 0.6) : 0.5 - } - } - - /*! The button used to decrement the value. */ - property Component decrementControl: Item { - implicitWidth: padding.right - Image { - source: "images/arrow-down.png" - anchors.centerIn: parent - anchors.verticalCenterOffset: -2 - opacity: control.enabled ? (styleData.downPressed ? 1 : 0.6) : 0.5 - } - } - - /*! The background of the SpinBox. */ - property Component background: Item { - implicitHeight: Math.max(25, Math.round(styleData.contentHeight * 1.2)) - implicitWidth: styleData.contentWidth + padding.left + padding.right - baselineOffset: control.__baselineOffset - Rectangle { - anchors.fill: parent - anchors.bottomMargin: -1 - color: "#44ffffff" - radius: baserect.radius - } - Rectangle { - id: baserect - gradient: Gradient { - GradientStop {color: "#eee" ; position: 0} - GradientStop {color: "#fff" ; position: 0.1} - GradientStop {color: "#fff" ; position: 1} - } - radius: control.font.pixelSize * 0.16 - anchors.fill: parent - border.color: control.activeFocus ? "#47b" : "#999" - } - } - - /*! \internal */ - property Component panel: Item { - id: styleitem - implicitWidth: backgroundLoader.implicitWidth - implicitHeight: backgroundLoader.implicitHeight - baselineOffset: backgroundLoader.item ? backgroundLoader.item.baselineOffset : 0 - - property font font: spinboxStyle.font - - property color foregroundColor: spinboxStyle.textColor - property color selectionColor: spinboxStyle.selectionColor - property color selectedTextColor: spinboxStyle.selectedTextColor - - property var margins: spinboxStyle.padding - - property rect upRect: Qt.rect(width - incrementControlLoader.implicitWidth, 0, incrementControlLoader.implicitWidth, height / 2 + 1) - property rect downRect: Qt.rect(width - decrementControlLoader.implicitWidth, height / 2, decrementControlLoader.implicitWidth, height / 2) - - property int horizontalAlignment: spinboxStyle.horizontalAlignment - property int verticalAlignment: Qt.AlignVCenter - - Loader { - id: backgroundLoader - anchors.fill: parent - sourceComponent: background - } - - Loader { - id: incrementControlLoader - x: upRect.x - y: upRect.y - width: upRect.width - height: upRect.height - sourceComponent: incrementControl - } - - Loader { - id: decrementControlLoader - x: downRect.x - y: downRect.y - width: downRect.width - height: downRect.height - sourceComponent: decrementControl - } - } - - /*! \internal - The cursor handle. - \since QtQuick.Controls.Styles 1.3 - - The parent of the handle is positioned to the top left corner of - the cursor position. The interactive area is determined by the - geometry of the handle delegate. - - The following signals and read-only properties are available within the scope - of the handle delegate: - \table - \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. - \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. - \row \li \b {styleData.position} : int \li The character position of the handle. - \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. - \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. - \endtable - */ - property Component __cursorHandle - - /*! \internal - The selection handle. - \since QtQuick.Controls.Styles 1.3 - - The parent of the handle is positioned to the top left corner of - the first selected character. The interactive area is determined - by the geometry of the handle delegate. - - The following signals and read-only properties are available within the scope - of the handle delegate: - \table - \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. - \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. - \row \li \b {styleData.position} : int \li The character position of the handle. - \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. - \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. - \endtable - */ - property Component __selectionHandle - - /*! \internal - The cursor delegate. - \since QtQuick.Controls.Styles 1.3 - */ - property Component __cursorDelegate -} diff --git a/bin/QtQuick/Controls/Styles/Base/StatusBarStyle.qml b/bin/QtQuick/Controls/Styles/Base/StatusBarStyle.qml deleted file mode 100644 index 8b620424f..000000000 --- a/bin/QtQuick/Controls/Styles/Base/StatusBarStyle.qml +++ /dev/null @@ -1,115 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype StatusBarStyle - \inqmlmodule QtQuick.Controls.Styles - \ingroup controlsstyling - \since 5.2 - \brief Provides custom styling for StatusBar. - - The status bar can be defined by overriding the background component and - setting the content padding. - - Example: - \qml - StatusBar { - style: StatusBarStyle { - padding { - left: 8 - right: 8 - top: 3 - bottom: 3 - } - background: Rectangle { - implicitHeight: 16 - implicitWidth: 200 - gradient: Gradient{ - GradientStop{color: "#eee" ; position: 0} - GradientStop{color: "#ccc" ; position: 1} - } - Rectangle { - anchors.top: parent.top - width: parent.width - height: 1 - color: "#999" - } - } - } - } - \endqml -*/ - -Style { - - /*! The content padding inside the status bar. */ - padding { - left: 3 - right: 3 - top: 3 - bottom: 2 - } - - /*! This defines the background of the status bar. */ - property Component background: Rectangle { - implicitHeight: 16 - implicitWidth: 200 - - gradient: Gradient{ - GradientStop{color: "#eee" ; position: 0} - GradientStop{color: "#ccc" ; position: 1} - } - - Rectangle { - anchors.top: parent.top - width: parent.width - height: 1 - color: "#999" - } - } - - /*! This defines the panel of the status bar. */ - property Component panel: Loader { - sourceComponent: background - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qml b/bin/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qml deleted file mode 100644 index ae9f2110d..000000000 --- a/bin/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qml +++ /dev/null @@ -1,232 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtGraphicalEffects 1.0 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 - -/*! - \qmltype StatusIndicatorStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.5 - \ingroup controlsstyling - \brief Provides custom styling for StatusIndicatorStyle. - - You can create a custom status indicator by defining the \l indicator - component. -*/ - -Style { - id: pieMenuStyle - - /*! - The \l StatusIndicator that this style is attached to. - */ - readonly property StatusIndicator control: __control - - /*! - The color that instances of - \l [QtQuickExtras]{StatusIndicator} will have. - The \l [QtQuickExtras]{StatusIndicator::}{color} - property in \l [QtQuickExtras]{StatusIndicator} - will override this property when set. - */ - property color color: "red" - - /*! - This defines the indicator in both its on and off status. - */ - property Component indicator: Item { - readonly property real shineStep: 0.05 - readonly property real smallestAxis: Math.min(control.width, control.height) - readonly property real outerRecessPercentage: 0.11 - readonly property color offColor: Qt.rgba(0.13, 0.13, 0.13) - readonly property color baseColor: control.active ? control.color : offColor - - implicitWidth: TextSingleton.implicitHeight * 2 - implicitHeight: implicitWidth - - Canvas { - id: backgroundCanvas - width: Math.min(parent.width, parent.height) - // height: width --- QTBUG-42878 - height: Math.min(parent.width, parent.height) - anchors.centerIn: parent - - Connections { - target: control - function onActiveChanged() { backgroundCanvas.requestPaint() } - function onColorChanged() { backgroundCanvas.requestPaint() } - } - - onPaint: { - var ctx = getContext("2d"); - ctx.reset(); - - // Draw the semi-transparent background. - ctx.beginPath(); - var gradient = ctx.createLinearGradient(width / 2, 0, width / 2, height * 0.75); - gradient.addColorStop(0.0, Qt.rgba(0, 0, 0, control.active ? 0.1 : 0.25)); - gradient.addColorStop(1.0, control.active ? Qt.rgba(0, 0, 0, 0.1) : Qt.rgba(0.74, 0.74, 0.74, 0.25)); - - ctx.fillStyle = gradient; - ctx.ellipse(0, 0, width, height); - ctx.fill(); - } - } - - Item { - id: shadowGuard - anchors.fill: backgroundCanvas - anchors.margins: -shadow.radius - - Canvas { - id: colorCanvas - anchors.fill: parent - anchors.margins: shadow.radius - - Connections { - target: control - function onActiveChanged() { colorCanvas.requestPaint() } - function onColorChanged() { colorCanvas.requestPaint() } - } - - onPaint: { - var ctx = getContext("2d"); - ctx.reset(); - - // Draw the actual color within the circle. - ctx.beginPath(); - ctx.fillStyle = baseColor; - var recess = smallestAxis * outerRecessPercentage; - ctx.ellipse(recess, recess, width - recess * 2, height - recess * 2); - ctx.fill(); - } - } - } - - DropShadow { - id: shadow - source: shadowGuard - color: control.color - cached: true - anchors.fill: shadowGuard - visible: control.active - } - - Canvas { - id: foregroundCanvas - anchors.fill: backgroundCanvas - - Connections { - target: control - function onActiveChanged() { foregroundCanvas.requestPaint() } - function onColorChanged() { foregroundCanvas.requestPaint() } - } - - onPaint: { - var ctx = getContext("2d"); - ctx.reset(); - - // Draw the first shine. - ctx.beginPath(); - ctx.fillStyle = Qt.rgba(1, 1, 1, 0.03); - var recessPercentage = outerRecessPercentage + shineStep * 0.65; - var recess = smallestAxis * recessPercentage; - ctx.ellipse(recess, recess, width - recess * 2, height - recess * 2); - ctx.fill(); - - // Draw the second, inner shine. - ctx.beginPath(); - ctx.fillStyle = Qt.rgba(1, 1, 1, 0.06); - recessPercentage += shineStep; - recess = smallestAxis * recessPercentage; - ctx.ellipse(recess, recess, width - recess * 2, height - recess * 2); - ctx.fill(); - - // Now draw the final arced shine that goes over the first and second shines. - // First, clip the entire shine area. - ctx.beginPath(); - recessPercentage -= shineStep; - recess = smallestAxis * recessPercentage; - ctx.ellipse(recess, recess, width - recess * 2, height - recess * 2); - ctx.clip(); - - if (!control.active) { - // Then, clip the bottom area out of the shine. - ctx.ellipse(recess, height * 0.425, width - recess * 2, height - recess * 2); - ctx.clip(); - } - - ctx.beginPath(); - var gradient; - if (!control.active) { - // Draw the shine arc. - gradient = ctx.createLinearGradient(width / 2, height * 0.2, width / 2, height * 0.65); - gradient.addColorStop(0.0, Qt.rgba(1, 1, 1, 0.05)); - gradient.addColorStop(1.0, "transparent"); - } else { - // Draw the radial shine. - gradient = ctx.createRadialGradient(width / 2, height / 2, 0, width / 2, height / 2, width * 0.5 /* (same as height) */); - gradient.addColorStop(0.0, Qt.lighter(baseColor, 1.4)); - gradient.addColorStop(1.0, "transparent"); - } - - ctx.fillStyle = gradient; - ctx.ellipse(recess, recess, width - recess * 2, height - recess * 2); - ctx.fill(); - } - } - } - - /*! \internal */ - property Component panel: Item { - implicitWidth: indicatorLoader.implicitWidth - implicitHeight: indicatorLoader.implicitHeight - - Loader { - id: indicatorLoader - width: Math.max(1, parent.width) - height: Math.max(1, parent.height) - anchors.centerIn: parent - sourceComponent: indicator - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/SwitchStyle.qml b/bin/QtQuick/Controls/Styles/Base/SwitchStyle.qml deleted file mode 100644 index 39db036b6..000000000 --- a/bin/QtQuick/Controls/Styles/Base/SwitchStyle.qml +++ /dev/null @@ -1,169 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype SwitchStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.2 - \ingroup controlsstyling - \brief Provides custom styling for Switch. - - Example: - \qml - Switch { - style: SwitchStyle { - groove: Rectangle { - implicitWidth: 100 - implicitHeight: 20 - radius: 9 - border.color: control.activeFocus ? "darkblue" : "gray" - border.width: 1 - } - } - } - \endqml -*/ -Style { - id: switchstyle - - /*! The content padding. */ - padding { - top: 0 - left: 0 - right: 0 - bottom: 0 - } - - /*! This defines the switch handle. */ - property Component handle: Rectangle { - opacity: control.enabled ? 1.0 : 0.5 - implicitWidth: Math.round((parent.parent.width - padding.left - padding.right)/2) - implicitHeight: control.height - padding.top - padding.bottom - - border.color: control.activeFocus ? Qt.darker(highlight, 2) : Qt.darker(button, 2) - property color bg: control.activeFocus ? Qt.darker(highlight, 1.2) : button - property color highlight: SystemPaletteSingleton.highlight(control.enabled) - property color button: SystemPaletteSingleton.button(control.enabled) - gradient: Gradient { - GradientStop {color: Qt.lighter(bg, 1.4) ; position: 0} - GradientStop {color: bg ; position: 1} - } - - radius: 2 - } - - /*! This property holds the background groove of the switch. */ - property Component groove: Rectangle { - property color shadow: control.checked ? Qt.darker(highlight, 1.2): "#999" - property color bg: control.checked ? highlight:"#bbb" - property color highlight: SystemPaletteSingleton.highlight(control.enabled) - - implicitWidth: Math.round(implicitHeight * 3) - implicitHeight: Math.max(16, Math.round(TextSingleton.implicitHeight)) - - border.color: "gray" - color: "red" - - radius: 2 - Behavior on shadow {ColorAnimation{ duration: 80 }} - Behavior on bg {ColorAnimation{ duration: 80 }} - gradient: Gradient { - GradientStop {color: shadow; position: 0} - GradientStop {color: bg ; position: 0.2} - GradientStop {color: bg ; position: 1} - } - Rectangle { - color: "#44ffffff" - height: 1 - anchors.bottom: parent.bottom - anchors.bottomMargin: -1 - width: parent.width - 2 - x: 1 - } - } - - /*! \internal */ - property Component panel: Item { - - implicitWidth: Math.round(grooveLoader.width + padding.left + padding.right) - implicitHeight: grooveLoader.implicitHeight + padding.top + padding.bottom - - property var __handle: handleLoader - property int min: padding.left - property int max: grooveLoader.width - handleLoader.width - padding.right - - Loader { - id: grooveLoader - y: padding.top - x: padding.left - - sourceComponent: groove - anchors.verticalCenter: parent.verticalCenter - - - Loader { - id: handleLoader - - z:1 - - x: control.checked ? max : min - - anchors.top: grooveLoader.top - anchors.bottom: grooveLoader.bottom - anchors.topMargin: padding.top - anchors.bottomMargin: padding.bottom - - Behavior on x { - id: behavior - enabled: handleLoader.status === Loader.Ready - NumberAnimation { - duration: 150 - easing.type: Easing.OutCubic - } - } - - sourceComponent: handle - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/TabViewStyle.qml b/bin/QtQuick/Controls/Styles/Base/TabViewStyle.qml deleted file mode 100644 index 2d7d2d913..000000000 --- a/bin/QtQuick/Controls/Styles/Base/TabViewStyle.qml +++ /dev/null @@ -1,194 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype TabViewStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.1 - \ingroup viewsstyling - \ingroup controlsstyling - \brief Provides custom styling for TabView. - -\qml - TabView { - id: frame - anchors.fill: parent - anchors.margins: 4 - Tab { title: "Tab 1" } - Tab { title: "Tab 2" } - Tab { title: "Tab 3" } - - style: TabViewStyle { - frameOverlap: 1 - tab: Rectangle { - color: styleData.selected ? "steelblue" :"lightsteelblue" - border.color: "steelblue" - implicitWidth: Math.max(text.width + 4, 80) - implicitHeight: 20 - radius: 2 - Text { - id: text - anchors.centerIn: parent - text: styleData.title - color: styleData.selected ? "white" : "black" - } - } - frame: Rectangle { color: "steelblue" } - } - } -\endqml - -*/ - -Style { - - /*! The \l ScrollView this style is attached to. */ - readonly property TabView control: __control - - /*! This property holds whether the user can move the tabs. - Tabs are not movable by default. */ - property bool tabsMovable: false - - /*! This property holds the horizontal alignment of - the tab buttons. Supported values are: - \list - \li Qt.AlignLeft (default) - \li Qt.AlignHCenter - \li Qt.AlignRight - \endlist - */ - property int tabsAlignment: Qt.AlignLeft - - /*! This property holds the amount of overlap there are between - individual tab buttons. */ - property int tabOverlap: 1 - - /*! This property holds the amount of overlap there are between - individual tab buttons and the frame. */ - property int frameOverlap: 2 - - /*! This defines the tab frame. */ - property Component frame: Rectangle { - color: "#dcdcdc" - border.color: "#aaa" - - Rectangle { - anchors.fill: parent - color: "transparent" - border.color: "#66ffffff" - anchors.margins: 1 - } - } - - /*! This defines the tab. You can access the tab state through the - \c styleData property, with the following properties: - - \table - \row \li readonly property int \b styleData.index \li This is the current tab index. - \row \li readonly property bool \b styleData.selected \li This is the active tab. - \row \li readonly property string \b styleData.title \li Tab title text. - \row \li readonly property bool \b styleData.nextSelected \li The next tab is selected. - \row \li readonly property bool \b styleData.previousSelected \li The previous tab is selected. - \row \li readonly property bool \b styleData.pressed \li The tab is being pressed. (since QtQuick.Controls.Styles 1.3) - \row \li readonly property bool \b styleData.hovered \li The tab is being hovered. - \row \li readonly property bool \b styleData.enabled \li The tab is enabled. (since QtQuick.Controls.Styles 1.2) - \row \li readonly property bool \b styleData.activeFocus \li The tab button has keyboard focus. - \row \li readonly property bool \b styleData.availableWidth \li The available width for the tabs. - \row \li readonly property bool \b styleData.totalWidth \li The total width of the tabs. (since QtQuick.Controls.Styles 1.2) - \endtable - */ - property Component tab: Item { - scale: control.tabPosition === Qt.TopEdge ? 1 : -1 - - property int totalOverlap: tabOverlap * (control.count - 1) - property real maxTabWidth: control.count > 0 ? (styleData.availableWidth + totalOverlap) / control.count : 0 - - implicitWidth: Math.round(Math.min(maxTabWidth, textitem.implicitWidth + 20)) - implicitHeight: Math.round(textitem.implicitHeight + 10) - - Item { - anchors.fill: parent - anchors.bottomMargin: styleData.selected ? 0 : 2 - BorderImage { - anchors.fill: parent - source: styleData.selected ? "images/tab_selected.png" : "images/tab.png" - border.top: 6 - border.bottom: 6 - border.left: 6 - border.right: 6 - anchors.topMargin: styleData.selected ? 0 : 1 - } - } - Text { - id: textitem - anchors.fill: parent - anchors.leftMargin: 4 - anchors.rightMargin: 4 - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - text: styleData.title - elide: Text.ElideMiddle - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - scale: control.tabPosition === Qt.TopEdge ? 1 : -1 - color: SystemPaletteSingleton.text(styleData.enabled) - Rectangle { - anchors.centerIn: parent - width: textitem.paintedWidth + 6 - height: textitem.paintedHeight + 4 - visible: (styleData.activeFocus && styleData.selected) - radius: 3 - color: "#224f9fef" - border.color: "#47b" - } - } - } - - /*! This defines the left corner. */ - property Component leftCorner: null - - /*! This defines the right corner. */ - property Component rightCorner: null - - /*! This defines the tab bar background. */ - property Component tabBar: null -} diff --git a/bin/QtQuick/Controls/Styles/Base/TableViewStyle.qml b/bin/QtQuick/Controls/Styles/Base/TableViewStyle.qml deleted file mode 100644 index f7a6bfa1a..000000000 --- a/bin/QtQuick/Controls/Styles/Base/TableViewStyle.qml +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 1.4 - -BasicTableViewStyle { - id: root - - readonly property TableView control: __control -} diff --git a/bin/QtQuick/Controls/Styles/Base/TextAreaStyle.qml b/bin/QtQuick/Controls/Styles/Base/TextAreaStyle.qml deleted file mode 100644 index 8c08e211d..000000000 --- a/bin/QtQuick/Controls/Styles/Base/TextAreaStyle.qml +++ /dev/null @@ -1,158 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype TextAreaStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.2 - \ingroup controlsstyling - \brief Provides custom styling for TextArea. - - Example: - \qml - TextArea { - style: TextAreaStyle { - textColor: "#333" - selectionColor: "steelblue" - selectedTextColor: "#eee" - backgroundColor: "#eee" - } - } - \endqml -*/ - -ScrollViewStyle { - id: style - - /*! The \l TextArea this style is attached to. */ - readonly property TextArea control: __control - - /*! The current font. */ - property font font - - /*! The text color. */ - property color textColor: SystemPaletteSingleton.text(control.enabled) - - /*! The text highlight color, used behind selections. */ - property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) - - /*! The highlighted text color, used in selections. */ - property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) - - /*! The background color. */ - property color backgroundColor: control.backgroundVisible ? SystemPaletteSingleton.base(control.enabled) : "transparent" - - /*! - \qmlproperty enumeration renderType - - Override the default rendering type for the control. - - Supported render types are: - \list - \li Text.QtRendering - \li Text.NativeRendering - \endlist - - The default value is platform dependent. - - \sa Text::renderType - */ - property int renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - - /*! The default margin, in pixels, around the text in the TextArea. - \since QtQuick.Controls.Styles 1.3 - \sa TextArea::textMargin */ - property real textMargin: 4 - - /*! \internal - The cursor handle. - \since QtQuick.Controls.Styles 1.3 - - The parent of the handle is positioned to the top left corner of - the cursor position. The interactive area is determined by the - geometry of the handle delegate. - - The following signals and read-only properties are available within the scope - of the handle delegate: - \table - \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. - \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. - \row \li \b {styleData.position} : int \li The character position of the handle. - \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. - \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. - \endtable - */ - property Component __cursorHandle - - /*! \internal - The selection handle. - \since QtQuick.Controls.Styles 1.3 - - The parent of the handle is positioned to the top left corner of - the first selected character. The interactive area is determined - by the geometry of the handle delegate. - - The following signals and read-only properties are available within the scope - of the handle delegate: - \table - \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. - \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. - \row \li \b {styleData.position} : int \li The character position of the handle. - \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. - \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. - \endtable - */ - property Component __selectionHandle - - /*! \internal - The cursor delegate. - \since QtQuick.Controls.Styles 1.3 - */ - property Component __cursorDelegate - - /*! \internal - The delegate for the cut/copy/paste menu. - \since QtQuick.Controls.Styles 1.4 - */ - property Component __editMenu -} diff --git a/bin/QtQuick/Controls/Styles/Base/TextFieldStyle.qml b/bin/QtQuick/Controls/Styles/Base/TextFieldStyle.qml deleted file mode 100644 index 338b7af09..000000000 --- a/bin/QtQuick/Controls/Styles/Base/TextFieldStyle.qml +++ /dev/null @@ -1,221 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype TextFieldStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.1 - \ingroup controlsstyling - \brief Provides custom styling for TextField. - - Example: - \qml - TextField { - style: TextFieldStyle { - textColor: "black" - background: Rectangle { - radius: 2 - implicitWidth: 100 - implicitHeight: 24 - border.color: "#333" - border.width: 1 - } - } - } - \endqml -*/ - -Style { - id: style - - /*! The \l TextField this style is attached to. */ - readonly property TextField control: __control - - /*! The content margins of the text field. */ - padding { top: 4 ; left: Math.round(control.__contentHeight/3) ; right: control.__contentHeight/3 ; bottom: 4 } - - /*! The current font. */ - property font font - - /*! The text color. */ - property color textColor: SystemPaletteSingleton.text(control.enabled) - - /*! The text highlight color, used behind selections. */ - property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) - - /*! The highlighted text color, used in selections. */ - property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) - - /*! - \qmlproperty string passwordCharacter - \since QtQuick.Controls.Styles 1.4 - - The password character that is displayed when echoMode - on the TextField is set to TextInput.Password or - TextInput.PasswordEchoOnEdit. - */ - property string passwordCharacter: Qt.styleHints.passwordMaskCharacter - - /*! - \qmlproperty enumeration renderType - \since QtQuick.Controls.Styles 1.1 - - Override the default rendering type for the control. - - Supported render types are: - \list - \li Text.QtRendering - \li Text.NativeRendering - \endlist - - The default value is platform dependent. - - \sa Text::renderType - */ - property int renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - - /*! The placeholder text color, used when the text field is empty. - \since QtQuick.Controls.Styles 1.1 - */ - property color placeholderTextColor: Qt.rgba(0, 0, 0, 0.5) - - /*! The background of the text field. */ - property Component background: Item { - Rectangle { - anchors.fill: parent - anchors.bottomMargin: -1 - color: "#44ffffff" - radius: baserect.radius - } - Rectangle { - id: baserect - gradient: Gradient { - GradientStop {color: "#e0e0e0" ; position: 0} - GradientStop {color: "#fff" ; position: 0.1} - GradientStop {color: "#fff" ; position: 1} - } - radius: control.__contentHeight * 0.16 - anchors.fill: parent - border.color: control.activeFocus ? "#47b" : "#999" - } - } - - /*! \internal */ - property Component panel: Item { - anchors.fill: parent - - property int topMargin: padding.top - property int leftMargin: padding.left - property int rightMargin: padding.right - property int bottomMargin: padding.bottom - - property color textColor: style.textColor - property color selectionColor: style.selectionColor - property color selectedTextColor: style.selectedTextColor - - implicitWidth: backgroundLoader.implicitWidth || Math.round(control.__contentHeight * 8) - implicitHeight: backgroundLoader.implicitHeight || Math.max(25, Math.round(control.__contentHeight * 1.2)) - baselineOffset: padding.top + control.__baselineOffset - - property color placeholderTextColor: style.placeholderTextColor - property font font: style.font - - Loader { - id: backgroundLoader - sourceComponent: background - anchors.fill: parent - } - } - - /*! \internal - The cursor handle. - \since QtQuick.Controls.Styles 1.3 - - The parent of the handle is positioned to the top left corner of - the cursor position. The interactive area is determined by the - geometry of the handle delegate. - - The following signals and read-only properties are available within the scope - of the handle delegate: - \table - \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. - \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. - \row \li \b {styleData.position} : int \li The character position of the handle. - \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. - \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. - \endtable - */ - property Component __cursorHandle - - /*! \internal - The selection handle. - \since QtQuick.Controls.Styles 1.3 - - The parent of the handle is positioned to the top left corner of - the first selected character. The interactive area is determined - by the geometry of the handle delegate. - - The following signals and read-only properties are available within the scope - of the handle delegate: - \table - \row \li \b {styleData.activated()} [signal] \li Emitted when the handle is activated ie. the editor is clicked. - \row \li \b {styleData.pressed} : bool \li Whether the handle is pressed. - \row \li \b {styleData.position} : int \li The character position of the handle. - \row \li \b {styleData.lineHeight} : real \li The height of the line the handle is on. - \row \li \b {styleData.hasSelection} : bool \li Whether the editor has selected text. - \endtable - */ - property Component __selectionHandle - - /*! \internal - The cursor delegate. - \since QtQuick.Controls.Styles 1.3 - */ - property Component __cursorDelegate - - /*! \internal - The delegate for the cut/copy/paste menu. - \since QtQuick.Controls.Styles 1.4 - */ - property Component __editMenu -} diff --git a/bin/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qml b/bin/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qml deleted file mode 100644 index 2c47b4bf6..000000000 --- a/bin/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qml +++ /dev/null @@ -1,290 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtGraphicalEffects 1.0 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 -import QtQuick.Extras.Private.CppUtils 1.0 - -/*! - \qmltype ToggleButtonStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.5 - \ingroup controlsstyling - \brief Provides custom styling for ToggleButton. - - You can create a custom toggle button by replacing the same delegates that - \l {ButtonStyle} provides. -*/ - -CircularButtonStyle { - id: circularButtonStyle - - /*! - The \l ToggleButton that this style is attached to. - */ - readonly property ToggleButton control: __control - - /*! - The gradient that is displayed on the inactive state indicator. The - inactive state indicator will be the checked gradient when the button - is unchecked, and the unchecked gradient when the button is checked. - - \sa checkedGradient, uncheckedGradient - */ - property Gradient inactiveGradient: Gradient { - GradientStop { - position: 0 - color: commonStyleHelper.inactiveColor - } - GradientStop { - position: 1 - color: commonStyleHelper.inactiveColorShine - } - } - - /*! - The gradient that is displayed on the checked state indicator. - - \sa uncheckedGradient, inactiveGradient - */ - property Gradient checkedGradient: Gradient { - GradientStop { - position: 0 - color: commonStyleHelper.onColor - } - GradientStop { - position: 1 - color: commonStyleHelper.onColorShine - } - } - - /*! - The gradient that is displayed on the unchecked state indicator. - - \sa checkedGradient, inactiveGradient - */ - property Gradient uncheckedGradient: Gradient { - GradientStop { - position: 0 - color: commonStyleHelper.offColor - } - GradientStop { - position: 1 - color: commonStyleHelper.offColorShine - } - } - - /*! - The color that is used for the drop shadow below the checked state - indicator. - - \sa uncheckedDropShadowColor - */ - property color checkedDropShadowColor: commonStyleHelper.onColor - - /*! - The color that is used for the drop shadow below the checked state - indicator. - - \sa checkedDropShadowColor - */ - property color uncheckedDropShadowColor: commonStyleHelper.offColor - - CommonStyleHelper { - id: commonStyleHelper - } - - background: Item { - implicitWidth: __buttonHelper.implicitWidth - implicitHeight: __buttonHelper.implicitHeight - - Connections { - target: control - function onPressedChanged() { - backgroundCanvas.requestPaint(); - } - - function onCheckedChanged() { - uncheckedCanvas.requestPaint(); - checkedCanvas.requestPaint(); - } - } - - Connections { - target: circularButtonStyle - - function onCheckedGradientChanged() { checkedCanvas.requestPaint() } - function onCheckedDropShadowColorChanged() { checkedCanvas.requestPaint() } - function onUncheckedGradientChanged() { uncheckedCanvas.requestPaint() } - function onUncheckedDropShadowColorChanged() { uncheckedCanvas.requestPaint() } - function onInactiveGradientChanged() { - checkedCanvas.requestPaint(); - uncheckedCanvas.requestPaint(); - } - } - - Connections { - target: circularButtonStyle.checkedGradient - function onUpdated() { checkedCanvas.requestPaint() } - } - - Connections { - target: circularButtonStyle.uncheckedGradient - function onUpdated() { uncheckedCanvas.requestPaint() } - } - - Connections { - target: circularButtonStyle.inactiveGradient - function onUpdated() { - uncheckedCanvas.requestPaint(); - checkedCanvas.requestPaint(); - } - } - - Canvas { - id: backgroundCanvas - anchors.fill: parent - - onPaint: { - var ctx = getContext("2d"); - __buttonHelper.paintBackground(ctx); - } - } - - Canvas { - id: uncheckedCanvas - anchors.fill: parent - anchors.margins: -(__buttonHelper.radius * 3) - visible: control.checked - - readonly property real xCenter: width / 2 - readonly property real yCenter: height / 2 - - onPaint: { - var ctx = getContext("2d"); - ctx.reset(); - - /* Draw unchecked indicator */ - ctx.beginPath(); - ctx.lineWidth = __buttonHelper.outerArcLineWidth - __buttonHelper.innerArcLineWidth; - ctx.arc(xCenter, yCenter, __buttonHelper.outerArcRadius + __buttonHelper.innerArcLineWidth / 2, - MathUtils.degToRad(180), MathUtils.degToRad(270), false); - var gradient = ctx.createLinearGradient(xCenter, yCenter + __buttonHelper.radius, - xCenter, yCenter - __buttonHelper.radius); - var relevantGradient = control.checked ? inactiveGradient : uncheckedGradient; - for (var i = 0; i < relevantGradient.stops.length; ++i) { - gradient.addColorStop(relevantGradient.stops[i].position, relevantGradient.stops[i].color); - } - ctx.strokeStyle = gradient; - ctx.stroke(); - } - } - - Canvas { - id: checkedCanvas - anchors.fill: parent - anchors.margins: -(__buttonHelper.radius * 3) - visible: !control.checked - - readonly property real xCenter: width / 2 - readonly property real yCenter: height / 2 - - onPaint: { - var ctx = getContext("2d"); - ctx.reset(); - - /* Draw checked indicator */ - ctx.beginPath(); - ctx.lineWidth = __buttonHelper.outerArcLineWidth - __buttonHelper.innerArcLineWidth; - ctx.arc(xCenter, yCenter, __buttonHelper.outerArcRadius + __buttonHelper.innerArcLineWidth / 2, - MathUtils.degToRad(270), MathUtils.degToRad(0), false); - var gradient = ctx.createLinearGradient(xCenter, yCenter + __buttonHelper.radius, - xCenter, yCenter - __buttonHelper.radius); - var relevantGradient = control.checked ? checkedGradient : inactiveGradient; - for (var i = 0; i < relevantGradient.stops.length; ++i) { - gradient.addColorStop(relevantGradient.stops[i].position, relevantGradient.stops[i].color); - } - ctx.strokeStyle = gradient; - ctx.stroke(); - } - } - - DropShadow { - id: uncheckedDropShadow - anchors.fill: uncheckedCanvas - cached: true - color: uncheckedDropShadowColor - source: uncheckedCanvas - visible: !control.checked - } - - DropShadow { - id: checkedDropShadow - anchors.fill: checkedCanvas - cached: true - color: checkedDropShadowColor - source: checkedCanvas - visible: control.checked - } - } - - panel: Item { - implicitWidth: backgroundLoader.implicitWidth - implicitHeight: backgroundLoader.implicitHeight - - Loader { - id: backgroundLoader - anchors.fill: parent - sourceComponent: background - } - - Loader { - id: labelLoader - sourceComponent: label - anchors.fill: parent - anchors.leftMargin: padding.left - anchors.topMargin: padding.top - anchors.rightMargin: padding.right - anchors.bottomMargin: padding.bottom - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/ToolBarStyle.qml b/bin/QtQuick/Controls/Styles/Base/ToolBarStyle.qml deleted file mode 100644 index 8c34efa91..000000000 --- a/bin/QtQuick/Controls/Styles/Base/ToolBarStyle.qml +++ /dev/null @@ -1,126 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ToolBarStyle - \inqmlmodule QtQuick.Controls.Styles - \ingroup controlsstyling - \since 5.2 - \brief Provides custom styling for ToolBar. - - The tool bar can be defined by overriding the background component and - setting the content padding. - - Example: - \qml - ToolBar { - style: ToolBarStyle { - padding { - left: 8 - right: 8 - top: 3 - bottom: 3 - } - background: Rectangle { - implicitWidth: 100 - implicitHeight: 40 - border.color: "#999" - gradient: Gradient { - GradientStop { position: 0 ; color: "#fff" } - GradientStop { position: 1 ; color: "#eee" } - } - } - } - } - \endqml -*/ - -Style { - - /*! The content padding inside the tool bar. */ - padding { - left: 6 - right: 6 - top: 3 - bottom: 3 - } - - /*! This defines the background of the tool bar. */ - property Component background: Item { - implicitHeight: 40 - implicitWidth: 200 - Rectangle { - anchors.fill: parent - gradient: Gradient{ - GradientStop{color: "#eee" ; position: 0} - GradientStop{color: "#ccc" ; position: 1} - } - Rectangle { - anchors.bottom: parent.bottom - width: parent.width - height: 1 - color: "#999" - } - } - } - - /*! This defines the menu button appearance on platforms - that have a unified tool bar and menu bar. - - \since QtQuick.Controls.Styles 1.3 - - The following read-only properties are available within the scope - of the menu button delegate: - \table - \row \li \b {styleData.pressed} : bool \li Whether the button is pressed. - \row \li \b {styleData.hovered} : bool \li Whether the button is hovered. - \row \li \b {styleData.activeFocus} : bool \li Whether the button has active focus. - \endtable - */ - property Component menuButton: null - - /*! This defines the panel of the tool bar. */ - property Component panel: Loader { - sourceComponent: background - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/ToolButtonStyle.qml b/bin/QtQuick/Controls/Styles/Base/ToolButtonStyle.qml deleted file mode 100644 index 9387188c9..000000000 --- a/bin/QtQuick/Controls/Styles/Base/ToolButtonStyle.qml +++ /dev/null @@ -1,111 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ToolButtonStyle - \internal - \ingroup controlsstyling - \inqmlmodule QtQuick.Controls.Styles -*/ -Style { - readonly property ToolButton control: __control - property Component panel: Item { - id: styleitem - implicitWidth: (hasIcon ? icon.width : Math.max(label.implicitWidth + frame.border.left + frame.border.right, 36)) - + (arrow.visible ? 10 : 0) - implicitHeight: hasIcon ? icon.height : Math.max(label.implicitHeight, 36) - - readonly property bool hasIcon: icon.status === Image.Ready || icon.status === Image.Loading - - Rectangle { - anchors.fill: parent - visible: control.pressed || (control.checkable && control.checked) - color: "lightgray" - radius:4 - border.color: "#aaa" - } - Item { - anchors.left: parent.left - anchors.right: arrow.left - anchors.top: parent.top - anchors.bottom: parent.bottom - clip: true - Text { - id: label - visible: !hasIcon - anchors.centerIn: parent - text: StyleHelpers.stylizeMnemonics(control.text) - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - Image { - id: icon - anchors.centerIn: parent - source: control.iconSource - } - } - - BorderImage { - id: frame - anchors.fill: parent - anchors.margins: -1 - anchors.topMargin: -2 - anchors.rightMargin: 0 - source: "images/focusframe.png" - visible: control.activeFocus - border.left: 4 - border.right: 4 - border.top: 4 - border.bottom: 4 - } - - Image { - id: arrow - visible: control.menu !== null - source: visible ? "images/arrow-down.png" : "" - anchors.verticalCenter: parent.verticalCenter - anchors.right: parent.right - anchors.rightMargin: visible ? 3 : 0 - opacity: control.enabled ? 0.7 : 0.5 - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/TreeViewStyle.qml b/bin/QtQuick/Controls/Styles/Base/TreeViewStyle.qml deleted file mode 100644 index 72825ccc1..000000000 --- a/bin/QtQuick/Controls/Styles/Base/TreeViewStyle.qml +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Private 1.0 - -BasicTableViewStyle { - id: root - - readonly property TreeView control: __control - - property int indentation: 16 - - property Component branchDelegate: Item { - width: indentation - height: 16 - Text { - visible: styleData.column === 0 && styleData.hasChildren - text: styleData.isExpanded ? "\u25bc" : "\u25b6" - color: !control.activeFocus || styleData.selected ? styleData.textColor : "#666" - font.pointSize: 10 - renderType: Text.NativeRendering - style: Text.PlainText - anchors.centerIn: parent - anchors.verticalCenterOffset: 2 - } - } - - __branchDelegate: branchDelegate - __indentation: indentation -} diff --git a/bin/QtQuick/Controls/Styles/Base/TumblerStyle.qml b/bin/QtQuick/Controls/Styles/Base/TumblerStyle.qml deleted file mode 100644 index c70aea6c8..000000000 --- a/bin/QtQuick/Controls/Styles/Base/TumblerStyle.qml +++ /dev/null @@ -1,334 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtGraphicalEffects 1.0 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 - -/*! - \qmltype TumblerStyle - \inqmlmodule QtQuick.Controls.Styles - \since 5.5 - \ingroup controlsstyling - \brief Provides custom styling for Tumbler. - - You can create a custom tumbler by replacing the following delegates: - \list - \li \l background - \li \l foreground - \li \l separator - \li \l delegate - \li \l highlight - \li \l frame - \endlist -*/ - -Style { - id: tumblerStyle - - padding.left: __padding - padding.right: __padding - padding.top: __padding - padding.bottom: __padding - - /*! - The \l Tumbler that this style is attached to. - */ - readonly property Tumbler control: __control - - /*! - \obsolete - - This property holds the spacing between each delegate. - - This property has no effect. - */ - property real spacing: 0 - - /*! - This property holds the amount of items visible in each column. - - This value should be an odd number. - */ - property int visibleItemCount: 3 - - /*! - \internal - - TODO: how do we handle differing padding values? - */ - readonly property real __padding: Math.max(6, Math.round(TextSingleton.implicitHeight * 0.4)) - /*! \internal */ - property real __delegateHeight: 0 - /*! \internal */ - property real __separatorWidth: 0 - - /*! - The background of the tumbler. - */ - property Component background: Rectangle { - gradient: Gradient { - GradientStop { position: 0.00; color: "#acacac" } - GradientStop { position: 0.12; color: "#d5d5d5" } - GradientStop { position: 0.24; color: "#e8e8e8" } - GradientStop { position: 0.39; color: "#ffffff" } - GradientStop { position: 0.61; color: "#ffffff" } - GradientStop { position: 0.76; color: "#e8e8e8" } - GradientStop { position: 0.88; color: "#d5d5d5" } - GradientStop { position: 1.00; color: "#acacac" } - } - } - - /*! - The foreground of the tumbler. - */ - property Component foreground: Item { - clip: true - - Rectangle { - id: rect - anchors.fill: parent - // Go one pixel larger than our parent so that we can hide our one pixel frame - // that the shadow is created from. - anchors.margins: -1 - color: "transparent" - border.color: "black" - visible: false - } - - DropShadow { - anchors.fill: rect - source: rect - samples: 15 - spread: 0.45 - cached: true - } - } - - /*! - The separator between each column. - - The \l {Item::}{implicitWidth} property must be set, and should be the - same value for each separator. - */ - property Component separator: Canvas { - implicitWidth: Math.max(10, Math.round(TextSingleton.implicitHeight * 0.4)) - - onPaint: { - var ctx = getContext("2d"); - ctx.reset(); - - ctx.fillStyle = "#11000000"; - ctx.fillRect(0, 0, width, height); - ctx.fillStyle = "#11000000"; - ctx.fillRect(width * 0.2, 0, width * 0.6, height); - ctx.fillStyle = "#66000000"; - ctx.fillRect(width * 0.4, 0, width * 0.2, height); - } - } - - /*! - The foreground of each column. - - In terms of stacking order, this component is displayed above the - delegate and highlight components, but below the foreground component. - - \table - \row \li \c {readonly property int} \b styleData.column - \li The index of the column that contains this item. - \row \li \c {readonly property bool} \b styleData.activeFocus - \li \c true if the column that contains this item has active focus. - - \endtable - - Delegates for items in specific columns can be defined using - TumblerColumn's \l {TumblerColumn::columnForeground}{columnForeground} - property, which will be used instead of this component. - */ - property Component columnForeground - - /*! - The frame around the tumbler. - - The \l {Item::}{implicitWidth} property must be set, and should be the - same value for each separator. - */ - property Component frame: Canvas { - onPaint: { - // workaround for QTBUG-40792 - var ctx = getContext("2d"); - ctx.reset(); - - var cornerRadius = Math.max(2, Math.round(TextSingleton.implicitHeight * 0.2)); - var outerLineWidth = Math.max(1, Math.round(TextSingleton.implicitHeight * 0.05)); - var innerLineWidth = __padding - outerLineWidth; - - ctx.save(); - ctx.lineWidth = outerLineWidth; - ctx.beginPath(); - ctx.roundedRect(0, 0, width, height, cornerRadius, cornerRadius); - ctx.roundedRect(outerLineWidth, outerLineWidth, width - outerLineWidth * 2, height - outerLineWidth * 2, - cornerRadius - outerLineWidth, cornerRadius - outerLineWidth); - ctx.clip(); - - ctx.beginPath(); - ctx.rect(0, 0, width, height); - var gradient = ctx.createLinearGradient(width / 2, 0, width / 2, height); - gradient.addColorStop(0, "#33b3b3b3"); - gradient.addColorStop(1, "#4ce6e6e6"); - ctx.fillStyle = gradient; - ctx.fill(); - ctx.restore(); - - // The inner stroke must account for its corner radius. - cornerRadius -= outerLineWidth; - - ctx.save(); - ctx.lineWidth = innerLineWidth; - ctx.beginPath(); - ctx.roundedRect(outerLineWidth, outerLineWidth, width - outerLineWidth * 2, height - outerLineWidth * 2, - cornerRadius, cornerRadius); - ctx.roundedRect(outerLineWidth + innerLineWidth, outerLineWidth + innerLineWidth, - width - outerLineWidth * 2 - innerLineWidth * 2, height - outerLineWidth * 2 - innerLineWidth * 2, - cornerRadius - innerLineWidth, cornerRadius - innerLineWidth); - ctx.clip(); - - ctx.beginPath(); - ctx.rect(0, 0, width, height); - gradient = ctx.createLinearGradient(width / 2, 0, width / 2, height); - gradient.addColorStop(0, "#4c666666"); - gradient.addColorStop(1, "#40cccccc"); - ctx.fillStyle = gradient; - ctx.fill(); - ctx.restore(); - } - } - - /*! - The delegate provides a template defining each item instantiated in the - column. Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this delegate in the model. - \row \li \c {readonly property int} \b styleData.column - \li The index of the column that contains this item. - \row \li \c {readonly property real} \b styleData.value - \li The value for this delegate from the model. - \row \li \c {readonly property bool} \b styleData.current - \li \c true if this delegate is the current item. - \row \li \c {readonly property real} \b styleData.displacement - \li \c A value from \c {-visibleItemCount / 2} to - \c {visibleItemCount / 2} which represents how far away - this item is from being the current item, with \c 0 being - completely current. - - For example, the item below will be 40% opaque when - it is not the current item, and transition to 100% - opacity when it becomes the current item: - - \code - delegate: Text { - text: styleData.value - opacity: 0.4 + Math.max(0, 1 - Math.abs(styleData.displacement)) * 0.6 - } - \endcode - \row \li \c {readonly property bool} \b styleData.activeFocus - \li \c true if the column that contains this item has active focus. - - \endtable - - Properties of the model are also available depending upon the type of - \l {qml-data-models}{Data Model}. - - Delegates for items in specific columns can be defined using - TumblerColumn's \l {TumblerColumn::delegate}{delegate} property, which - will be used instead of this delegate. - - The \l {Item::}{implicitHeight} property must be set, and it must be - the same for each delegate. - */ - property Component delegate: Item { - implicitHeight: (control.height - padding.top - padding.bottom) / tumblerStyle.visibleItemCount - - Text { - id: label - text: styleData.value - color: "#666666" - opacity: 0.4 + Math.max(0, 1 - Math.abs(styleData.displacement)) * 0.6 - font.pixelSize: Math.round(TextSingleton.font.pixelSize * 1.25) - anchors.centerIn: parent - } - } - - /*! - The delegate for the highlight of each column. - - Delegates for the highlight of specific columns can be defined using - TumblerColumn's \l {TumblerColumn::highlight}{highlight} property, - which will be used instead of this delegate. - - Each instance of this component has access to the following properties: - - \table - \row \li \c {readonly property int} \b styleData.index - \li The index of this column in the tumbler. - \row \li \c {readonly property int} \b styleData.columnIndex - \li The index of the column that contains this highlight. - \row \li \c {readonly property bool} \b styleData.activeFocus - \li \c true if the column that contains this highlight has active focus. - \endtable - */ - property Component highlight - - /*! \internal */ - property Component panel: Item { - implicitWidth: { - var w = (__separatorWidth * (control.columnCount - 1)) + tumblerStyle.padding.left + tumblerStyle.padding.right; - for (var i = 0; i < control.columnCount; ++i) - w += control.getColumn(i).width; - return w; - } - implicitHeight: TextSingleton.implicitHeight * 10 + tumblerStyle.padding.top + tumblerStyle.padding.bottom - } -} diff --git a/bin/QtQuick/Controls/Styles/Base/images/arrow-down.png b/bin/QtQuick/Controls/Styles/Base/images/arrow-down.png deleted file mode 100644 index dadd4f817..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/arrow-down.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/arrow-down@2x.png b/bin/QtQuick/Controls/Styles/Base/images/arrow-down@2x.png deleted file mode 100644 index 2829fd196..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/arrow-down@2x.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/arrow-left.png b/bin/QtQuick/Controls/Styles/Base/images/arrow-left.png deleted file mode 100644 index 7693fc72f..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/arrow-left.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/arrow-left@2x.png b/bin/QtQuick/Controls/Styles/Base/images/arrow-left@2x.png deleted file mode 100644 index 0005b3e70..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/arrow-left@2x.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/arrow-right.png b/bin/QtQuick/Controls/Styles/Base/images/arrow-right.png deleted file mode 100644 index b5cb2b270..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/arrow-right.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/arrow-right@2x.png b/bin/QtQuick/Controls/Styles/Base/images/arrow-right@2x.png deleted file mode 100644 index 21b36f7bb..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/arrow-right@2x.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/arrow-up.png b/bin/QtQuick/Controls/Styles/Base/images/arrow-up.png deleted file mode 100644 index d8a8247c7..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/arrow-up.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/arrow-up@2x.png b/bin/QtQuick/Controls/Styles/Base/images/arrow-up@2x.png deleted file mode 100644 index 1bd44d52f..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/arrow-up@2x.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/button.png b/bin/QtQuick/Controls/Styles/Base/images/button.png deleted file mode 100644 index 3793f3ef4..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/button.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/button_down.png b/bin/QtQuick/Controls/Styles/Base/images/button_down.png deleted file mode 100644 index 7b016fa9f..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/button_down.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/check.png b/bin/QtQuick/Controls/Styles/Base/images/check.png deleted file mode 100644 index ad1df9572..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/check.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/check@2x.png b/bin/QtQuick/Controls/Styles/Base/images/check@2x.png deleted file mode 100644 index 3eb4ae77d..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/check@2x.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/editbox.png b/bin/QtQuick/Controls/Styles/Base/images/editbox.png deleted file mode 100644 index f0e6ee436..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/editbox.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/focusframe.png b/bin/QtQuick/Controls/Styles/Base/images/focusframe.png deleted file mode 100644 index aad56612d..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/focusframe.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/groupbox.png b/bin/QtQuick/Controls/Styles/Base/images/groupbox.png deleted file mode 100644 index 680e926a1..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/groupbox.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/header.png b/bin/QtQuick/Controls/Styles/Base/images/header.png deleted file mode 100644 index aaf8f99ed..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/header.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/knob.png b/bin/QtQuick/Controls/Styles/Base/images/knob.png deleted file mode 100644 index 9a948fd8c..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/knob.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/leftanglearrow.png b/bin/QtQuick/Controls/Styles/Base/images/leftanglearrow.png deleted file mode 100644 index 1e479a3d8..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/leftanglearrow.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/needle.png b/bin/QtQuick/Controls/Styles/Base/images/needle.png deleted file mode 100644 index 316dad71b..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/needle.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/progress-indeterminate.png b/bin/QtQuick/Controls/Styles/Base/images/progress-indeterminate.png deleted file mode 100644 index 2ff41b451..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/progress-indeterminate.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/rightanglearrow.png b/bin/QtQuick/Controls/Styles/Base/images/rightanglearrow.png deleted file mode 100644 index 52f1a2414..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/rightanglearrow.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-horizontal.png b/bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-horizontal.png deleted file mode 100644 index 67f582d8f..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-horizontal.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-transient.png b/bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-transient.png deleted file mode 100644 index 34e7dd6a8..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-transient.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-vertical.png b/bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-vertical.png deleted file mode 100644 index 280dac507..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-vertical.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/slider-groove.png b/bin/QtQuick/Controls/Styles/Base/images/slider-groove.png deleted file mode 100644 index a9d059b7c..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/slider-groove.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/slider-handle.png b/bin/QtQuick/Controls/Styles/Base/images/slider-handle.png deleted file mode 100644 index 0d4ee9c51..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/slider-handle.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/spinner_large.png b/bin/QtQuick/Controls/Styles/Base/images/spinner_large.png deleted file mode 100644 index 8e6a77385..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/spinner_large.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/spinner_medium.png b/bin/QtQuick/Controls/Styles/Base/images/spinner_medium.png deleted file mode 100644 index 48a24d588..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/spinner_medium.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/spinner_small.png b/bin/QtQuick/Controls/Styles/Base/images/spinner_small.png deleted file mode 100644 index c3e86dc6b..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/spinner_small.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/tab.png b/bin/QtQuick/Controls/Styles/Base/images/tab.png deleted file mode 100644 index ce116cc6a..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/tab.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Base/images/tab_selected.png b/bin/QtQuick/Controls/Styles/Base/images/tab_selected.png deleted file mode 100644 index e0cb16a6a..000000000 Binary files a/bin/QtQuick/Controls/Styles/Base/images/tab_selected.png and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qml deleted file mode 100644 index 455cafb98..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qml +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick.Controls.Styles 1.3 - -ApplicationWindowStyle { } diff --git a/bin/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qml deleted file mode 100644 index b73729d76..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qml +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick.Controls.Styles 1.1 - -BusyIndicatorStyle { } diff --git a/bin/QtQuick/Controls/Styles/Desktop/ButtonStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/ButtonStyle.qml deleted file mode 100644 index 21fc28b35..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/ButtonStyle.qml +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Style { - property Component panel: StyleItem { - id: styleitem - elementType: "button" - sunken: control.pressed || (control.checkable && control.checked) - raised: !(control.pressed || (control.checkable && control.checked)) - hover: control.hovered - text: control.iconSource === "" ? "" : control.text - hasFocus: control.activeFocus - hints: control.styleHints - // If no icon, let the style do the drawing - activeControl: control.isDefault ? "default" : "f" - - properties: { - "icon": control.__iconAction.__icon, - "menu": control.menu - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/CalendarStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/CalendarStyle.qml deleted file mode 100644 index ec22f7755..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/CalendarStyle.qml +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick.Controls.Styles 1.1 - -CalendarStyle {} diff --git a/bin/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qml deleted file mode 100644 index 7ed686995..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qml +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Style { - property Component panel: Item { - anchors.fill: parent - - implicitWidth: styleitem.implicitWidth - implicitHeight: styleitem.implicitHeight - baselineOffset: styleitem.baselineOffset - StyleItem { - id: styleitem - elementType: "checkbox" - sunken: control.pressed - on: control.checked || control.pressed - hover: control.hovered - enabled: control.enabled - hasFocus: control.activeFocus && styleitem.style == "mac" - hints: control.styleHints - properties: {"partiallyChecked": (control.checkedState === Qt.PartiallyChecked) } - contentHeight: textitem.implicitHeight - contentWidth: Math.ceil(textitem.implicitWidth) + 4 - property int indicatorWidth: pixelMetric("indicatorwidth") + (macStyle ? 2 : 4) - property bool macStyle: (style === "mac") - - Text { - id: textitem - text: control.text - anchors.left: parent.left - anchors.leftMargin: parent.indicatorWidth - anchors.verticalCenter: parent.verticalCenter - anchors.verticalCenterOffset: parent.macStyle ? 1 : 0 - anchors.right: parent.right - renderType: Text.NativeRendering - elide: Text.ElideRight - enabled: control.enabled - color: SystemPaletteSingleton.windowText(control.enabled) - StyleItem { - elementType: "focusrect" - anchors.margins: -1 - anchors.leftMargin: -2 - anchors.top: parent.top - anchors.left: parent.left - anchors.bottom: parent.bottom - width: textitem.implicitWidth + 3 - visible: control.activeFocus - } - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qml deleted file mode 100644 index cd5ce47db..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qml +++ /dev/null @@ -1,127 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Window 2.1 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import "." as Desktop - -Style { - readonly property ComboBox control: __control - property int renderType: Text.NativeRendering - padding { top: 4 ; left: 6 ; right: 6 ; bottom:4 } - property Component panel: Item { - property bool popup: !!styleItem.styleHint("comboboxpopup") - property color textColor: SystemPaletteSingleton.text(control.enabled) - property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) - property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) - property int dropDownButtonWidth: 24 - - implicitWidth: 125 - implicitHeight: styleItem.implicitHeight - baselineOffset: styleItem.baselineOffset - anchors.fill: parent - StyleItem { - id: styleItem - - height: parent.height - width: parent.width - elementType: "combobox" - sunken: control.pressed - raised: !sunken - hover: control.hovered - enabled: control.enabled - // The style makes sure the text rendering won't overlap the decoration. - // In that case, 35 pixels margin in this case looks good enough. Worst - // case, the ellipsis will be truncated (2nd worst, not visible at all). - text: elidedText(control.currentText, Text.ElideRight, parent.width - 35) - hasFocus: control.activeFocus - // contentHeight as in QComboBox - contentHeight: Math.max(Math.ceil(textHeight("")), 14) + 2 - - hints: control.styleHints - properties: { - "popup": control.__popup, - "editable" : control.editable - } - } - } - - property Component __popupStyle: MenuStyle { - __menuItemType: "comboboxitem" - } - - property Component __dropDownStyle: Style { - id: dropDownStyleRoot - property int __maxPopupHeight: 600 - property int submenuOverlap: 0 - property int submenuPopupDelay: 0 - - property Component frame: StyleItem { - elementType: "frame" - Component.onCompleted: { - var defaultFrameWidth = pixelMetric("defaultframewidth") - dropDownStyleRoot.padding.left = defaultFrameWidth - dropDownStyleRoot.padding.right = defaultFrameWidth - dropDownStyleRoot.padding.top = defaultFrameWidth - dropDownStyleRoot.padding.bottom = defaultFrameWidth - } - } - - property Component menuItemPanel: StyleItem { - elementType: "itemrow" - selected: styleData.selected - - implicitWidth: textItem.implicitWidth - implicitHeight: textItem.implicitHeight - - StyleItem { - id: textItem - elementType: "item" - contentWidth: textWidth(text) - contentHeight: textHeight(text) - text: styleData.text - selected: parent ? parent.selected : false - } - } - - property Component __scrollerStyle: Desktop.ScrollViewStyle { } - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qml deleted file mode 100644 index 59f52e604..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qml +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype FocusFrameStyle - \internal - \inqmlmodule QtQuick.Controls.Styles -*/ -StyleItem { - property int margin: -3 - anchors.fill: parent - elementType: "focusframe" -} - - diff --git a/bin/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml deleted file mode 100644 index b31289336..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - - -Style { - readonly property GroupBox control: __control - - property var __style: StyleItem { id: style } - property int titleHeight: 18 - - Component.onCompleted: { - var stylename = __style.style - if (stylename.indexOf("windows") > -1) - titleHeight = 9 - } - - padding { - top: Math.round(Settings.dpiScaleFactor * (control.title.length > 0 || control.checkable ? titleHeight : 0) + (style.style == "mac" ? 9 : 6)) - left: Math.round(Settings.dpiScaleFactor * 8) - right: Math.round(Settings.dpiScaleFactor * 8) - bottom: Math.round(Settings.dpiScaleFactor * 7 + (style.style.indexOf("windows") > -1 ? 2 : 0)) - } - - property Component panel: StyleItem { - anchors.fill: parent - id: styleitem - elementType: "groupbox" - text: control.title - on: control.checked - hasFocus: control.__checkbox.activeFocus - activeControl: control.checkable ? "checkbox" : "" - properties: { "checkable" : control.checkable , "sunken" : !control.flat} - border {top: 32 ; bottom: 8} - Accessible.role: Accessible.Grouping - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qml deleted file mode 100644 index 8e517c8ab..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qml +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import "." as Desktop - -Style { - id: styleRoot - - property Component background: StyleItem { - elementType: "menubar" - - Component.onCompleted: { - styleRoot.padding.left = pixelMetric("menubarhmargin") + pixelMetric("menubarpanelwidth") - styleRoot.padding.right = pixelMetric("menubarhmargin") + pixelMetric("menubarpanelwidth") - styleRoot.padding.top = pixelMetric("menubarvmargin") + pixelMetric("menubarpanelwidth") - styleRoot.padding.bottom = pixelMetric("menubarvmargin") + pixelMetric("menubarpanelwidth") - } - } - - property Component itemDelegate: StyleItem { - elementType: "menubaritem" - - text: styleData.text - property string plainText: StyleHelpers.removeMnemonics(text) - contentWidth: textWidth(plainText) - contentHeight: textHeight(plainText) - width: implicitWidth - - enabled: styleData.enabled - sunken: styleData.open - selected: (parent && styleData.selected) || sunken - - hints: { "showUnderlined": styleData.underlineMnemonic } - } - - property Component menuStyle: Desktop.MenuStyle { } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/MenuStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/MenuStyle.qml deleted file mode 100644 index 282860ae9..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/MenuStyle.qml +++ /dev/null @@ -1,117 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Window 2.1 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Style { - id: styleRoot - - property string __menuItemType: "menuitem" - - property int submenuOverlap: 0 - property int submenuPopupDelay: 0 - property int __maxPopupHeight: 0 - - property Component frame: StyleItem { - elementType: "menu" - - Rectangle { - visible: anchors.margins > 0 - anchors { - fill: parent - margins: pixelMetric("menupanelwidth") - } - color: SystemPaletteSingleton.window(control.enabled) - } - - Component.onCompleted: { - var menuHMargin = pixelMetric("menuhmargin") - var menuVMargin = pixelMetric("menuvmargin") - var menuPanelWidth = pixelMetric("menupanelwidth") - styleRoot.padding.left = menuHMargin + menuPanelWidth - styleRoot.padding.right = menuHMargin + menuPanelWidth - styleRoot.padding.top = menuVMargin + menuPanelWidth - styleRoot.padding.bottom = menuVMargin + menuPanelWidth - styleRoot.submenuOverlap = 2 * menuPanelWidth - styleRoot.submenuPopupDelay = styleHint("submenupopupdelay") - } - - // ### The Screen attached property can only be set on an Item, - // ### and will get its values only when put on a Window. - readonly property int desktopAvailableHeight: Screen.desktopAvailableHeight - Qml.Binding { - target: styleRoot - property: "__maxPopupHeight" - value: desktopAvailableHeight * 0.99 - restoreMode: Binding.RestoreBinding - } - } - - property Component menuItemPanel: StyleItem { - elementType: __menuItemType - - text: styleData.text - property string textAndShorcut: text + (styleData.shortcut ? "\t" + styleData.shortcut : "") - contentWidth: textWidth(textAndShorcut) - contentHeight: textHeight(textAndShorcut) - - enabled: styleData.enabled - selected: styleData.selected - on: styleData.checkable && styleData.checked - - hints: { "showUnderlined": styleData.underlineMnemonic } - - properties: { - "checkable": styleData.checkable, - "exclusive": styleData.exclusive, - "shortcut": styleData.shortcut, - "type": styleData.type, - "scrollerDirection": styleData.scrollerDirection, - "icon": !!__menuItem && __menuItem.__icon - } - } - - property Component scrollIndicator: menuItemPanel - - property Component __scrollerStyle: null -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qml deleted file mode 100644 index aa44b1ae0..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qml +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Style { - property Component panel: StyleItem { - anchors.fill: parent - elementType: "progressbar" - // XXX: since desktop uses int instead of real, the progressbar - // range [0..1] must be stretched to a good precision - property int factor : 1000 - property int decimals: 3 - value: indeterminate ? 0 : control.value.toFixed(decimals) * factor // does indeterminate value need to be 1 on windows? - minimum: indeterminate ? 0 : control.minimumValue.toFixed(decimals) * factor - maximum: indeterminate ? 0 : control.maximumValue.toFixed(decimals) * factor - enabled: control.enabled - horizontal: control.orientation === Qt.Horizontal - hints: control.styleHints - contentWidth: horizontal ? 200 : 23 - contentHeight: horizontal ? 23 : 200 - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qml deleted file mode 100644 index c2173878e..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qml +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Style { - readonly property RadioButton control: __control - property Component panel: Item { - anchors.fill: parent - - implicitWidth: styleitem.implicitWidth - implicitHeight: styleitem.implicitHeight - baselineOffset: styleitem.baselineOffset - - StyleItem { - id: styleitem - elementType: "radiobutton" - anchors.verticalCenter: parent.verticalCenter - anchors.verticalCenterOffset: macStyle ? -1 : 0 - sunken: control.pressed - on: control.checked || control.pressed - hover: control.hovered - enabled: control.enabled - hasFocus: control.activeFocus && styleitem.style == "mac" - hints: control.styleHints - contentHeight: textitem.implicitHeight - contentWidth: Math.ceil(textitem.implicitWidth) + 4 - property int indicatorWidth: pixelMetric("indicatorwidth") + (macStyle ? 2 : 4) - property bool macStyle: (style === "mac") - - Text { - id: textitem - text: control.text - anchors.left: parent.left - anchors.leftMargin: parent.indicatorWidth - anchors.verticalCenter: parent.verticalCenter - anchors.verticalCenterOffset: parent.macStyle ? 2 : 0 - anchors.right: parent.right - renderType: Text.NativeRendering - elide: Text.ElideRight - enabled: control.enabled - color: SystemPaletteSingleton.windowText(control.enabled) - StyleItem { - elementType: "focusrect" - anchors.margins: -1 - anchors.leftMargin: -2 - anchors.top: parent.top - anchors.left: parent.left - anchors.bottom: parent.bottom - width: textitem.implicitWidth + 3 - visible: control.activeFocus - } - } - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qml b/bin/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qml deleted file mode 100644 index 5fd6e3222..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qml +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -pragma Singleton -import QtQuick.Controls.Private 1.0 -StyleItem { - elementType: "itemrow" -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qml deleted file mode 100644 index d8677384a..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qml +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Style { - id: root - - padding { - property int frameWidth: __styleitem.pixelMetric("defaultframewidth") - left: frameWidth - top: frameWidth - bottom: frameWidth - right: frameWidth - } - - property StyleItem __styleitem: StyleItem { elementType: "frame" } - - property Component frame: StyleItem { - id: styleitem - elementType: "frame" - sunken: true - visible: control.frameVisible - textureHeight: 64 - textureWidth: 64 - border { - top: 16 - left: 16 - right: 16 - bottom: 16 - } - } - - property Component corner: StyleItem { elementType: "scrollareacorner" } - - readonly property bool __externalScrollBars: __styleitem.styleHint("externalScrollBars") - readonly property int __scrollBarSpacing: __styleitem.pixelMetric("scrollbarspacing") - readonly property bool scrollToClickedPosition: __styleitem.styleHint("scrollToClickPosition") !== 0 - property bool transientScrollBars: false - - readonly property int __wheelScrollLines: __styleitem.styleHint("wheelScrollLines") - - property Component __scrollbar: StyleItem { - anchors.fill:parent - elementType: "scrollbar" - hover: activeControl != "none" - activeControl: "none" - sunken: __styleData.upPressed | __styleData.downPressed | __styleData.handlePressed - minimum: __control.minimumValue - maximum: __control.maximumValue - value: __control.value - horizontal: __styleData.horizontal - enabled: __control.enabled - - implicitWidth: horizontal ? 200 : pixelMetric("scrollbarExtent") - implicitHeight: horizontal ? pixelMetric("scrollbarExtent") : 200 - - onIsTransientChanged: root.transientScrollBars = isTransient - } - -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/SliderStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/SliderStyle.qml deleted file mode 100644 index bba9d54d9..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/SliderStyle.qml +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Style { - readonly property Item control: __control - property Component panel: StyleItem { - elementType: "slider" - sunken: control.pressed - implicitWidth: 200 - contentHeight: horizontal ? 22 : 200 - contentWidth: horizontal ? 200 : 22 - - maximum: control.maximumValue*100 - minimum: control.minimumValue*100 - step: control.stepSize*100 - value: control.__handlePos*100 - horizontal: control.orientation === Qt.Horizontal - enabled: control.enabled - hasFocus: control.activeFocus - hover: control.hovered - hints: control.styleHints - activeControl: control.tickmarksEnabled ? "ticks" : "" - property int handleWidth: 15 - property int handleHeight: 15 - } - padding { top: 0 ; left: 0 ; right: 0 ; bottom: 0 } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qml deleted file mode 100644 index 50e13ab44..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qml +++ /dev/null @@ -1,128 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Style { - readonly property SpinBox control: __control - - padding { - top: control.__panel ? control.__panel.topPadding + (styleitem.style === "mac" ? 2 : 0) : 0 - left: control.__panel ? control.__panel.leftPadding : 0 - right: control.__panel ? control.__panel.rightPadding : 0 - bottom: control.__panel ? control.__panel.bottomPadding : 0 - } - StyleItem {id: styleitem ; visible: false} - - property int renderType: Text.NativeRendering - - property Component panel: Item { - id: style - - property rect upRect - property rect downRect - - property int horizontalAlignment: Qt.platform.os === "osx" ? Qt.AlignRight : Qt.AlignLeft - property int verticalAlignment: Qt.AlignVCenter - - property alias font: styleitem.font - - property color foregroundColor: SystemPaletteSingleton.text(control.enabled) - property color backgroundColor: SystemPaletteSingleton.base(control.enabled) - property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) - property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) - - property int topPadding: edit.anchors.topMargin - property int leftPadding: 3 + edit.anchors.leftMargin - property int rightPadding: 3 + edit.anchors.rightMargin - property int bottomPadding: edit.anchors.bottomMargin - - width: 100 - height: styleitem.implicitHeight - - implicitWidth: 2 + styleitem.implicitWidth - implicitHeight: styleitem.implicitHeight - baselineOffset: styleitem.baselineOffset - - Item { - id: edit - anchors.fill: parent - FocusFrame { - anchors.fill: parent - focusMargin:-6 - visible: spinbox.activeFocus && styleitem.styleHint("focuswidget") - } - } - - function updateRect() { - style.upRect = styleitem.subControlRect("up"); - style.downRect = styleitem.subControlRect("down"); - var inputRect = styleitem.subControlRect("edit"); - edit.anchors.topMargin = inputRect.y - edit.anchors.leftMargin = inputRect.x - edit.anchors.rightMargin = style.width - inputRect.width - edit.anchors.leftMargin - edit.anchors.bottomMargin = style.height - inputRect.height - edit.anchors.topMargin - } - - Component.onCompleted: updateRect() - onWidthChanged: updateRect() - onHeightChanged: updateRect() - - StyleItem { - id: styleitem - elementType: "spinbox" - anchors.fill: parent - sunken: (styleData.downEnabled && styleData.downPressed) || (styleData.upEnabled && styleData.upPressed) - hover: control.hovered - hints: control.styleHints - hasFocus: control.activeFocus - enabled: control.enabled - value: (styleData.upPressed ? 1 : 0) | - (styleData.downPressed ? 1<<1 : 0) | - (styleData.upEnabled ? (1<<2) : 0) | - (styleData.downEnabled ? (1<<3) : 0) - contentWidth: styleData.contentWidth - contentHeight: styleData.contentHeight - textureHeight: implicitHeight - border {top: 6 ; bottom: 6} - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qml deleted file mode 100644 index 744cff354..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype StatusBarStyle - \internal - \inqmlmodule QtQuick.Controls.Styles -*/ -Style { - - padding.left: 4 - padding.right: 4 - padding.top: 3 - padding.bottom: 2 - - property Component panel: StyleItem { - implicitHeight: 16 - implicitWidth: 200 - anchors.fill: parent - elementType: "statusbar" - textureWidth: 64 - border {left: 16 ; right: 16} - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/SwitchStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/SwitchStyle.qml deleted file mode 100644 index 719b63316..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/SwitchStyle.qml +++ /dev/null @@ -1,46 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Controls.Styles 1.1 - -SwitchStyle { -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/TabViewStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/TabViewStyle.qml deleted file mode 100644 index c571e2207..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/TabViewStyle.qml +++ /dev/null @@ -1,116 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Controls.Styles 1.1 -Style { - id: root - - property bool tabsMovable: false - property int tabsAlignment: __barstyle.styleHint("tabbaralignment") === "center" ? Qt.AlignHCenter : Qt.AlignLeft; - property int tabOverlap: __barstyle.pixelMetric("taboverlap"); - property int frameOverlap: __barstyle.pixelMetric("tabbaseoverlap"); - - property StyleItem __barstyle: StyleItem { - elementType: "tab" - properties: { "tabposition" : (control.tabPosition === Qt.TopEdge ? "Top" : "Bottom") } - visible: false - } - - property Component frame: StyleItem { - id: styleitem - anchors.fill: parent - anchors.topMargin: 1//stack.baseOverlap - z: style == "oxygen" ? 1 : 0 - elementType: "tabframe" - value: tabbarItem && tabsVisible && tabbarItem.tab(currentIndex) ? tabbarItem.tab(currentIndex).x : 0 - minimum: tabbarItem && tabsVisible && tabbarItem.tab(currentIndex) ? tabbarItem.tab(currentIndex).width : 0 - maximum: tabbarItem && tabsVisible ? tabbarItem.width : width - properties: { "selectedTabRect" : tabbarItem.__selectedTabRect, "orientation" : control.tabPosition } - hints: control.styleHints - Component.onCompleted: { - stack.frameWidth = styleitem.pixelMetric("defaultframewidth"); - stack.style = style; - } - border{ - top: 16 - bottom: 16 - } - textureHeight: 64 - } - - property Component tab: Item { - id: item - property string tabpos: control.count === 1 ? "only" : index === 0 ? "beginning" : index === control.count - 1 ? "end" : "middle" - property string selectedpos: styleData.nextSelected ? "next" : styleData.previousSelected ? "previous" : "" - property string orientation: control.tabPosition === Qt.TopEdge ? "Top" : "Bottom" - property int tabHSpace: __barstyle.pixelMetric("tabhspace"); - property int tabVSpace: __barstyle.pixelMetric("tabvspace"); - property int totalOverlap: tabOverlap * (control.count - 1) - property real maxTabWidth: control.count > 0 ? (control.width + totalOverlap) / control.count : 0 - implicitWidth: Math.min(maxTabWidth, Math.max(50, styleitem.textWidth(styleData.title)) + tabHSpace + 2) - implicitHeight: Math.max(styleitem.font.pixelSize + tabVSpace + 6, 0) - - StyleItem { - id: styleitem - - elementType: "tab" - paintMargins: style === "mac" ? 0 : 2 - - anchors.fill: parent - anchors.topMargin: style === "mac" ? 2 : 0 - anchors.rightMargin: -paintMargins - anchors.bottomMargin: -1 - anchors.leftMargin: -paintMargins + (style === "mac" && selected ? -1 : 0) - properties: { "hasFrame" : true, "orientation": orientation, "tabpos": tabpos, "selectedpos": selectedpos } - hints: control.styleHints - - enabled: styleData.enabled - selected: styleData.selected - text: elidedText(styleData.title, tabbarItem.elide, item.width - item.tabHSpace) - hover: styleData.hovered - hasFocus: tabbarItem.activeFocus && selected - } - } - - property Component leftCorner: null - property Component rightCorner: null -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/TableViewStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/TableViewStyle.qml deleted file mode 100644 index 6c008b30b..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/TableViewStyle.qml +++ /dev/null @@ -1,116 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import "." - -ScrollViewStyle { - id: root - - readonly property BasicTableView control: __control - property int __indentation: 8 - property bool activateItemOnSingleClick: __styleitem.styleHint("activateItemOnSingleClick") - property color textColor: __styleitem.textColor - property color backgroundColor: SystemPaletteSingleton.base(control.enabled) - property color highlightedTextColor: __styleitem.highlightedTextColor - - property StyleItem __styleitem: StyleItem{ - property color textColor: styleHint("textColor") - property color highlightedTextColor: styleHint("highlightedTextColor") - elementType: "item" - visible: false - active: control.activeFocus - onActiveChanged: { - highlightedTextColor = styleHint("highlightedTextColor") - textColor = styleHint("textColor") - } - } - - property Component headerDelegate: StyleItem { - elementType: "header" - activeControl: itemSort - raised: true - sunken: styleData.pressed - text: styleData.value - hover: styleData.containsMouse - hints: control.styleHints - properties: {"headerpos": headerPosition, "textalignment": styleData.textAlignment} - property string itemSort: (control.sortIndicatorVisible && styleData.column === control.sortIndicatorColumn) ? (control.sortIndicatorOrder == Qt.AscendingOrder ? "up" : "down") : ""; - property string headerPosition: !styleData.resizable && control.columnCount === 1 ? "only" : - !styleData.resizable && styleData.column === control.columnCount-1 ? "end" : - styleData.column === 0 ? "beginning" : "" - } - - property Component rowDelegate: BorderImage { - visible: styleData.selected || styleData.alternate - source: "image://__tablerow/" + (styleData.alternate ? "alternate_" : "") - + (styleData.selected ? "selected_" : "") - + (control.activeFocus ? "active" : "") - height: Math.max(16, RowItemSingleton.implicitHeight) - border.left: 4 ; border.right: 4 - } - - property Component itemDelegate: Item { - height: Math.max(16, label.implicitHeight) - property int implicitWidth: label.implicitWidth + 16 - - Text { - id: label - objectName: "label" - width: parent.width - font: __styleitem.font - anchors.left: parent.left - anchors.right: parent.right - anchors.leftMargin: styleData.hasOwnProperty("depth") && styleData.column === 0 ? 0 : - horizontalAlignment === Text.AlignRight ? 1 : 8 - anchors.rightMargin: (styleData.hasOwnProperty("depth") && styleData.column === 0) - || horizontalAlignment !== Text.AlignRight ? 1 : 8 - horizontalAlignment: styleData.textAlignment - anchors.verticalCenter: parent.verticalCenter - elide: styleData.elideMode - text: styleData.value !== undefined ? styleData.value : "" - color: styleData.textColor - renderType: Text.NativeRendering - } - } - - property Component __branchDelegate: null -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qml deleted file mode 100644 index 8a39f8ab4..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -ScrollViewStyle { - property font font: __styleitem.font - property color textColor: SystemPaletteSingleton.text(control.enabled) - property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) - property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) - property color backgroundColor: control.backgroundVisible ? SystemPaletteSingleton.base(control.enabled) : "transparent" - - property StyleItem __styleitem: StyleItem{ - elementType: "edit" - visible: false - active: control.activeFocus - } - - property int renderType: Text.NativeRendering - property real textMargin: 4 -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qml deleted file mode 100644 index fd58d3446..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qml +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Style { - property int renderType: Text.NativeRendering - - property Component panel: StyleItem { - id: textfieldstyle - elementType: "edit" - anchors.fill: parent - - sunken: true - hasFocus: control.activeFocus - hover: hovered - hints: control.styleHints - - property color textColor: SystemPaletteSingleton.text(control.enabled) - property color placeholderTextColor: "darkGray" - property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) - property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) - - - property bool rounded: !!hints["rounded"] - property int topMargin: style === "mac" ? 3 : 2 - property int leftMargin: rounded ? 12 : 4 - property int rightMargin: leftMargin - property int bottomMargin: 2 - - contentWidth: 100 - // Form QLineEdit::sizeHint - contentHeight: Math.max(control.__contentHeight, 16) - - FocusFrame { - anchors.fill: parent - visible: textfield.activeFocus && textfieldstyle.styleHint("focuswidget") && !rounded - } - textureHeight: implicitHeight - textureWidth: 32 - border {top: 8 ; bottom: 8 ; left: 8 ; right: 8} - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qml deleted file mode 100644 index fe1840ab8..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qml +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype StatusBarStyle - \internal - \inqmlmodule QtQuick.Controls.Styles -*/ -Style { - - padding.left: 6 - padding.right: 6 - padding.top: 1 - padding.bottom: style.style === "mac" ? 1 : style.style === "fusion" ? 3 : 2 - - StyleItem { id: style ; visible: false} - - property Component panel: StyleItem { - id: toolbar - anchors.fill: parent - elementType: "toolbar" - textureWidth: 64 - border {left: 16 ; right: 16} - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qml deleted file mode 100644 index a4e15465a..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -Style { - property Component panel: StyleItem { - id: styleitem - - anchors.fill: parent - elementType: "toolbutton" - on: control.checkable && control.checked - sunken: control.pressed - raised: !(control.checkable && control.checked) && control.hovered - hover: control.hovered - hasFocus: control.activeFocus - hints: control.styleHints - text: control.text - - properties: { - "icon": control.__iconAction.__icon, - "position": control.__position, - "menu" : control.menu !== null - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qml b/bin/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qml deleted file mode 100644 index 3ec6073af..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qml +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Private 1.0 -import "." as Desktop - -Desktop.TableViewStyle { - id: root - - __indentation: 12 - - __branchDelegate: StyleItem { - id: si - elementType: "itembranchindicator" - properties: { - "hasChildren": styleData.hasChildren, - "hasSibling": styleData.hasSibling && !styleData.isExpanded - } - on: styleData.isExpanded - selected: styleData.selected - hasFocus: __styleitem.active - - Component.onCompleted: { - root.__indentation = si.pixelMetric("treeviewindentation") - implicitWidth = root.__indentation - implicitHeight = implicitWidth - var rect = si.subControlRect("dummy"); - width = rect.width - height = rect.height - } - } -} diff --git a/bin/QtQuick/Controls/Styles/Desktop/qmldir b/bin/QtQuick/Controls/Styles/Desktop/qmldir deleted file mode 100644 index 1b6918713..000000000 --- a/bin/QtQuick/Controls/Styles/Desktop/qmldir +++ /dev/null @@ -1,2 +0,0 @@ -singleton RowItemSingleton 1.0 RowItemSingleton.qml -designersupported diff --git a/bin/QtQuick/Controls/Styles/Flat/qmldir b/bin/QtQuick/Controls/Styles/Flat/qmldir deleted file mode 100644 index 2fe49220e..000000000 --- a/bin/QtQuick/Controls/Styles/Flat/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module QtQuick.Controls.Styles.Flat -plugin qtquickextrasflatplugin -classname QtQuickExtrasStylesPlugin -depends QtQml 2.14 diff --git a/bin/QtQuick/Controls/Styles/Flat/qtquickextrasflatplugin.dll b/bin/QtQuick/Controls/Styles/Flat/qtquickextrasflatplugin.dll deleted file mode 100644 index ae446507a..000000000 Binary files a/bin/QtQuick/Controls/Styles/Flat/qtquickextrasflatplugin.dll and /dev/null differ diff --git a/bin/QtQuick/Controls/Styles/qmldir b/bin/QtQuick/Controls/Styles/qmldir deleted file mode 100644 index 4b2f9844d..000000000 --- a/bin/QtQuick/Controls/Styles/qmldir +++ /dev/null @@ -1,38 +0,0 @@ -module QtQuick.Controls.Styles -ApplicationWindowStyle 1.3 Base/ApplicationWindowStyle.qml -ButtonStyle 1.0 Base/ButtonStyle.qml -BusyIndicatorStyle 1.1 Base/BusyIndicatorStyle.qml -CalendarStyle 1.1 Base/CalendarStyle.qml -CheckBoxStyle 1.0 Base/CheckBoxStyle.qml -ComboBoxStyle 1.0 Base/ComboBoxStyle.qml -MenuStyle 1.2 Base/MenuStyle.qml -MenuBarStyle 1.2 Base/MenuBarStyle.qml -ProgressBarStyle 1.0 Base/ProgressBarStyle.qml -RadioButtonStyle 1.0 Base/RadioButtonStyle.qml -ScrollViewStyle 1.0 Base/ScrollViewStyle.qml -SliderStyle 1.0 Base/SliderStyle.qml -SpinBoxStyle 1.1 Base/SpinBoxStyle.qml -SwitchStyle 1.1 Base/SwitchStyle.qml -TabViewStyle 1.0 Base/TabViewStyle.qml -TableViewStyle 1.0 Base/TableViewStyle.qml -TreeViewStyle 1.4 Base/TreeViewStyle.qml -TextAreaStyle 1.1 Base/TextAreaStyle.qml -TextFieldStyle 1.0 Base/TextFieldStyle.qml -ToolBarStyle 1.0 Base/ToolBarStyle.qml -StatusBarStyle 1.0 Base/StatusBarStyle.qml - -CircularGaugeStyle 1.0 Base/CircularGaugeStyle.qml -CircularButtonStyle 1.0 Base/CircularButtonStyle.qml -CircularTickmarkLabelStyle 1.0 Base/CircularTickmarkLabelStyle.qml -CommonStyleHelper 1.0 Base/CommonStyleHelper.qml -DelayButtonStyle 1.0 Base/DelayButtonStyle.qml -DialStyle 1.1 Base/DialStyle.qml -GaugeStyle 1.0 Base/GaugeStyle.qml -HandleStyle 1.0 Base/HandleStyle.qml -HandleStyleHelper 1.0 Base/HandleStyleHelper.qml -PieMenuStyle 1.3 Base/PieMenuStyle.qml -StatusIndicatorStyle 1.1 Base/StatusIndicatorStyle.qml -ToggleButtonStyle 1.0 Base/ToggleButtonStyle.qml -TumblerStyle 1.2 Base/TumblerStyle.qml - -designersupported diff --git a/bin/QtQuick/Controls/Switch.qml b/bin/QtQuick/Controls/Switch.qml deleted file mode 100644 index b33f7d00b..000000000 --- a/bin/QtQuick/Controls/Switch.qml +++ /dev/null @@ -1,166 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype Switch - \inqmlmodule QtQuick.Controls - \since 5.2 - \ingroup controls - \brief A switch. - - \image switch.png - \caption On and Off states of a Switch. - - A Switch is a toggle button that can be switched on (checked) or off - (unchecked). Switches are typically used to represent features in an - application that can be enabled or disabled without affecting others. - - On mobile platforms, switches are commonly used to enable or disable - features. - - \qml - Column { - Switch { checked: true } - Switch { checked: false } - } - \endqml - - You can create a custom appearance for a Switch by - assigning a \l {SwitchStyle}. -*/ - -Control { - id: root - - /*! - This property is \c true if the control is checked. - The default value is \c false. - */ - property bool checked: false - - /*! - \qmlproperty bool Switch::pressed - \since QtQuick.Controls 1.3 - - This property is \c true when the control is pressed. - */ - readonly property alias pressed: internal.pressed - - /*! - This property is \c true if the control takes the focus when it is - pressed; \l{QQuickItem::forceActiveFocus()}{forceActiveFocus()} will be - called on the control. - */ - property bool activeFocusOnPress: false - - /*! - This property stores the ExclusiveGroup that the control belongs to. - */ - property ExclusiveGroup exclusiveGroup: null - - /*! - \since QtQuick.Controls 1.3 - - This signal is emitted when the control is clicked. - */ - signal clicked - - Keys.onPressed: { - if (event.key === Qt.Key_Space && !event.isAutoRepeat) - checked = !checked; - } - - /*! \internal */ - onExclusiveGroupChanged: { - if (exclusiveGroup) - exclusiveGroup.bindCheckable(root) - } - - MouseArea { - id: internal - - property Item handle: __panel.__handle - property int min: __panel.min - property int max: __panel.max - focus: true - anchors.fill: parent - drag.threshold: 0 - drag.target: handle - drag.axis: Drag.XAxis - drag.minimumX: min - drag.maximumX: max - - onPressed: { - if (activeFocusOnPress) - root.forceActiveFocus() - } - - onReleased: { - if (drag.active) { - checked = (handle.x < max/2) ? false : true; - internal.handle.x = checked ? internal.max : internal.min - } else { - checked = (handle.x === max) ? false : true - } - } - - onClicked: root.clicked() - } - - onCheckedChanged: { - if (internal.handle) - internal.handle.x = checked ? internal.max : internal.min - } - - activeFocusOnTab: true - Accessible.role: Accessible.CheckBox - Accessible.name: "switch" - - /*! - The style that should be applied to the switch. Custom style - components can be created with: - - \codeline Qt.createComponent("path/to/style.qml", switchId); - */ - style: Settings.styleComponent(Settings.style, "SwitchStyle.qml", root) -} diff --git a/bin/QtQuick/Controls/Tab.qml b/bin/QtQuick/Controls/Tab.qml deleted file mode 100644 index 657d389c1..000000000 --- a/bin/QtQuick/Controls/Tab.qml +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -/*! - \qmltype Tab - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup viewaddons - \ingroup controls - \brief Tab represents the content of a tab in a TabView. - - A Tab item inherits from Loader and provides a similar - API. - - Tabs are lazily loaded; only tabs that have been made current (for example, - by clicking on them) will have valid content. You can force loading of tabs - by setting the active property to \c true: - - \code - Tab { - active: true - } - \endcode - - \sa TabView -*/ - -Loader { - id: tab - anchors.fill: parent - - /*! This property holds the title of the tab. */ - property string title - - /*! \internal */ - property bool __inserted: false - - Accessible.role: Accessible.LayeredPane - active: false - visible: false - - activeFocusOnTab: false - - onVisibleChanged: if (visible) active = true - - /*! \internal */ - default property alias component: tab.sourceComponent -} diff --git a/bin/QtQuick/Controls/TabView.qml b/bin/QtQuick/Controls/TabView.qml deleted file mode 100644 index 2579636fb..000000000 --- a/bin/QtQuick/Controls/TabView.qml +++ /dev/null @@ -1,329 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype TabView - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup views - \ingroup controls - \brief A control that allows the user to select one of multiple stacked items. - - \image tabview.png - - TabView provides tab-based navigation model for your application. - For example, the following snippet uses tabs to present rectangles of - different color on each tab page: - - \qml - TabView { - Tab { - title: "Red" - Rectangle { color: "red" } - } - Tab { - title: "Blue" - Rectangle { color: "blue" } - } - Tab { - title: "Green" - Rectangle { color: "green" } - } - } - \endqml - - \note You can create a custom appearance for a TabView by - assigning a \l {TabViewStyle}. - - \l Tab represents the content of a tab in a TabView. -*/ - -FocusScope { - id: root - - implicitWidth: 240 - implicitHeight: 150 - - /*! The current tab index */ - property int currentIndex: 0 - - /*! The current tab count */ - readonly property int count: __tabs.count - - /*! The visibility of the tab frame around contents */ - property bool frameVisible: true - - /*! The visibility of the tab bar */ - property bool tabsVisible: true - - /*! - \qmlproperty enumeration TabView::tabPosition - - \list - \li Qt.TopEdge (default) - \li Qt.BottomEdge - \endlist - */ - property int tabPosition: Qt.TopEdge - - /*! - \qmlproperty Item TabView::contentItem - \since QtQuick.Controls 1.3 - - This property holds the content item of the tab view. - - Tabs declared as children of a TabView are automatically parented to the TabView's contentItem. - */ - readonly property alias contentItem: stack - - /*! \internal */ - default property alias data: stack.data - - /*! - \qmlmethod Tab TabView::addTab(string title, Component component) - - Adds a new tab with the given \a title and an optional \a component. - - Returns the newly added tab. - */ - function addTab(title, component) { - return insertTab(__tabs.count, title, component) - } - - /*! - \qmlmethod Tab TabView::insertTab(int index, string title, Component component) - - Inserts a new tab at \a index, with the given \a title and - an optional \a component. - - Returns the newly added tab. - */ - function insertTab(index, title, component) { - var tab = tabcomp.createObject() - tab.sourceComponent = component - tab.title = title - // insert at appropriate index first, then set the parent to - // avoid onChildrenChanged appending it to the end of the list - __tabs.insert(index, {tab: tab}) - tab.__inserted = true - tab.parent = stack - __didInsertIndex(index) - __setOpacities() - return tab - } - - /*! \qmlmethod void TabView::removeTab(int index) - Removes and destroys a tab at the given \a index. */ - function removeTab(index) { - var tab = __tabs.get(index).tab - __willRemoveIndex(index) - __tabs.remove(index, 1) - tab.destroy() - __setOpacities() - } - - /*! \qmlmethod void TabView::moveTab(int from, int to) - Moves a tab \a from index \a to another. */ - function moveTab(from, to) { - __tabs.move(from, to, 1) - - if (currentIndex == from) { - currentIndex = to - } else { - var start = Math.min(from, to) - var end = Math.max(from, to) - if (currentIndex >= start && currentIndex <= end) { - if (from < to) - --currentIndex - else - ++currentIndex - } - } - } - - /*! \qmlmethod Tab TabView::getTab(int index) - Returns the \l Tab item at \a index. */ - function getTab(index) { - var data = __tabs.get(index) - return data && data.tab - } - - /*! \internal */ - property ListModel __tabs: ListModel { } - - /*! \internal */ - property Component style: Settings.styleComponent(Settings.style, "TabViewStyle.qml", root) - - /*! \internal */ - property var __styleItem: loader.item - - onCurrentIndexChanged: __setOpacities() - - /*! \internal */ - function __willRemoveIndex(index) { - // Make sure currentIndex will points to the same tab after the removal. - // Also activate the next index if the current index is being removed, - // except when it's both the current and last index. - if (count > 1 && (currentIndex > index || currentIndex == count -1)) - --currentIndex - } - function __didInsertIndex(index) { - // Make sure currentIndex points to the same tab as before the insertion. - if (count > 1 && currentIndex >= index) - currentIndex++ - } - - function __setOpacities() { - for (var i = 0; i < __tabs.count; ++i) { - var child = __tabs.get(i).tab - child.visible = (i == currentIndex ? true : false) - } - } - - activeFocusOnTab: false - - Component { - id: tabcomp - Tab {} - } - - TabBar { - id: tabbarItem - objectName: "tabbar" - tabView: root - style: loader.item - anchors.top: parent.top - anchors.left: root.left - anchors.right: root.right - } - - Loader { - id: loader - z: tabbarItem.z - 1 - sourceComponent: style - property var __control: root - } - - Loader { - id: frameLoader - z: tabbarItem.z - 1 - - anchors.fill: parent - anchors.topMargin: tabPosition === Qt.TopEdge && tabbarItem && tabsVisible ? Math.max(0, tabbarItem.height - baseOverlap) : 0 - anchors.bottomMargin: tabPosition === Qt.BottomEdge && tabbarItem && tabsVisible ? Math.max(0, tabbarItem.height -baseOverlap) : 0 - sourceComponent: frameVisible && loader.item ? loader.item.frame : null - - property int baseOverlap: __styleItem ? __styleItem.frameOverlap : 0 - - Item { - id: stack - - anchors.fill: parent - anchors.margins: (frameVisible ? frameWidth : 0) - anchors.topMargin: anchors.margins + (style =="mac" ? 6 : 0) - anchors.bottomMargin: anchors.margins - - property int frameWidth - property string style - property bool completed: false - - Component.onCompleted: { - addTabs(stack.children) - completed = true - } - - onChildrenChanged: { - if (completed) - stack.addTabs(stack.children) - } - - function addTabs(tabs) { - var tabAdded = false - for (var i = 0 ; i < tabs.length ; ++i) { - var tab = tabs[i] - if (!tab.__inserted && tab.Accessible.role === Accessible.LayeredPane) { - tab.__inserted = true - // reparent tabs created dynamically by createObject(tabView) - tab.parent = stack - // a dynamically added tab should also get automatically removed when destructed - if (completed) - tab.Component.onDestruction.connect(stack.onDynamicTabDestroyed.bind(tab)) - __tabs.append({tab: tab}) - tabAdded = true - } - } - if (tabAdded) - __setOpacities() - } - - function onDynamicTabDestroyed() { - for (var i = 0; i < __tabs.count; ++i) { - if (__tabs.get(i).tab === this) { - __willRemoveIndex(i) - __tabs.remove(i, 1) - __setOpacities() - break - } - } - } - } - onLoaded: { item.z = -1 } - } - - onChildrenChanged: stack.addTabs(root.children) - - states: [ - State { - name: "Bottom" - when: tabPosition === Qt.BottomEdge && tabbarItem != undefined - PropertyChanges { - target: tabbarItem - anchors.topMargin: -frameLoader.baseOverlap - } - AnchorChanges { - target: tabbarItem - anchors.top: frameLoader.bottom - } - } - ] -} diff --git a/bin/QtQuick/Controls/TableView.qml b/bin/QtQuick/Controls/TableView.qml deleted file mode 100644 index 835dd17b4..000000000 --- a/bin/QtQuick/Controls/TableView.qml +++ /dev/null @@ -1,326 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.3 -import QtQuick.Controls.Private 1.0 -import QtQuick.Controls.Styles 1.1 -import QtQuick.Window 2.1 - -BasicTableView { - id: root - - property var model - - readonly property int rowCount: __listView.count - property alias currentRow: root.__currentRow - - signal activated(int row) - signal clicked(int row) - signal doubleClicked(int row) - signal pressAndHold(int row) - - function positionViewAtRow(row, mode) { - __listView.positionViewAtIndex(row, mode) - } - - function rowAt(x, y) { - var obj = root.mapToItem(__listView.contentItem, x, y) - return __listView.indexAt(obj.x, obj.y) - } - - readonly property alias selection: selectionObject - - style: Settings.styleComponent(Settings.style, "TableViewStyle.qml", root) - - Accessible.role: Accessible.Table - - // Internal stuff. Do not look - - onModelChanged: { - selection.clear() - currentRow = -1; - } - - onCurrentRowChanged: { - if (currentRow !== -1 && selection.count === 0) - selection.__selectOne(currentRow) - } - __viewTypeName: "TableView" - __model: model - - __itemDelegateLoader: TableViewItemDelegateLoader { - __style: root.__style - __itemDelegate: root.itemDelegate - __mouseArea: mousearea - } - - __mouseArea: MouseArea { - id: mousearea - - parent: __listView - width: __listView.width - height: __listView.height - z: -1 - propagateComposedEvents: true - focus: true - - property bool autoincrement: false - property bool autodecrement: false - property int previousRow: 0 - property int clickedRow: -1 - property int dragRow: -1 - property int firstKeyRow: -1 - property int pressedRow: -1 - property int pressedColumn: -1 - - TableViewSelection { - id: selectionObject - } - - function selected(rowIndex) { - if (dragRow > -1 && (rowIndex >= clickedRow && rowIndex <= dragRow - || rowIndex <= clickedRow && rowIndex >= dragRow)) - return selection.contains(clickedRow) - - return selection.count && selection.contains(rowIndex) - } - - onReleased: { - pressedRow = -1 - pressedColumn = -1 - autoincrement = false - autodecrement = false - var clickIndex = __listView.indexAt(0, mouseY + __listView.contentY) - if (clickIndex > -1) { - if (Settings.hasTouchScreen) { - __listView.currentIndex = clickIndex - mouseSelect(clickIndex, mouse.modifiers) - } - previousRow = clickIndex - } - - if (mousearea.dragRow >= 0) { - selection.__select(selection.contains(mousearea.clickedRow), mousearea.clickedRow, mousearea.dragRow) - mousearea.dragRow = -1 - } - } - - function decrementCurrentIndex() { - __listView.decrementCurrentIndexBlocking(); - - var newIndex = __listView.indexAt(0, __listView.contentY) - if (newIndex !== -1) { - if (selectionMode > SelectionMode.SingleSelection) - mousearea.dragRow = newIndex - else if (selectionMode === SelectionMode.SingleSelection) - selection.__selectOne(newIndex) - } - } - - function incrementCurrentIndex() { - __listView.incrementCurrentIndexBlocking(); - - var newIndex = Math.max(0, __listView.indexAt(0, __listView.height + __listView.contentY)) - if (newIndex !== -1) { - if (selectionMode > SelectionMode.SingleSelection) - mousearea.dragRow = newIndex - else if (selectionMode === SelectionMode.SingleSelection) - selection.__selectOne(newIndex) - } - } - - // Handle vertical scrolling whem dragging mouse outside boundraries - Timer { - running: mousearea.autoincrement && __verticalScrollBar.visible - repeat: true - interval: 20 - onTriggered: mousearea.incrementCurrentIndex() - } - - Timer { - running: mousearea.autodecrement && __verticalScrollBar.visible - repeat: true - interval: 20 - onTriggered: mousearea.decrementCurrentIndex() - } - - onPositionChanged: { - if (mouseY > __listView.height && pressed) { - if (autoincrement) return; - autodecrement = false; - autoincrement = true; - } else if (mouseY < 0 && pressed) { - if (autodecrement) return; - autoincrement = false; - autodecrement = true; - } else { - autoincrement = false; - autodecrement = false; - } - - if (pressed && containsMouse) { - pressedRow = model ? Math.max(0, __listView.indexAt(0, mouseY + __listView.contentY)) : -1 - pressedColumn = model ? __listView.columnAt(mouseX) : -1 - if (!Settings.hasTouchScreen) { - if (pressedRow >= 0 && pressedRow !== currentRow) { - __listView.currentIndex = pressedRow; - if (selectionMode === SelectionMode.SingleSelection) { - selection.__selectOne(pressedRow) - } else if (selectionMode > 1) { - dragRow = pressedRow - } - } - } - } - } - - onClicked: { - var clickIndex = __listView.indexAt(0, mouseY + __listView.contentY) - if (clickIndex > -1) { - if (root.__activateItemOnSingleClick) - root.activated(clickIndex) - root.clicked(clickIndex) - } - } - - onPressed: { - pressedRow = model ? __listView.indexAt(0, mouseY + __listView.contentY) : -1 - pressedColumn = model ? __listView.columnAt(mouseX) : -1 - __listView.forceActiveFocus() - if (pressedRow > -1 && !Settings.hasTouchScreen) { - __listView.currentIndex = pressedRow - mouseSelect(pressedRow, mouse.modifiers) - mousearea.clickedRow = pressedRow - } - } - - onExited: { - mousearea.pressedRow = -1 - mousearea.pressedColumn = -1 - } - - onCanceled: { - mousearea.pressedRow = -1 - mousearea.pressedColumn = -1 - } - - function mouseSelect(index, modifiers) { - if (selectionMode) { - if (modifiers & Qt.ShiftModifier && (selectionMode === SelectionMode.ExtendedSelection)) { - selection.select(previousRow, index) - } else if (selectionMode === SelectionMode.MultiSelection || - (selectionMode === SelectionMode.ExtendedSelection && modifiers & Qt.ControlModifier)) { - selection.__select(!selection.contains(index) , index) - } else { - selection.__selectOne(index) - } - } - } - - onDoubleClicked: { - var clickIndex = __listView.indexAt(0, mouseY + __listView.contentY) - if (clickIndex > -1) { - if (!root.__activateItemOnSingleClick) - root.activated(clickIndex) - root.doubleClicked(clickIndex) - } - } - - onPressAndHold: { - var pressIndex = __listView.indexAt(0, mouseY + __listView.contentY) - if (pressIndex > -1) - root.pressAndHold(pressIndex) - } - - // Note: with boolean preventStealing we are keeping the flickable from - // eating our mouse press events - preventStealing: !Settings.hasTouchScreen - - function keySelect(shiftPressed, row) { - if (row < 0 || row > rowCount - 1) - return - if (shiftPressed && (selectionMode >= SelectionMode.ExtendedSelection)) { - selection.__ranges = new Array() - selection.select(mousearea.firstKeyRow, row) - } else { - selection.__selectOne(row) - } - } - - Keys.forwardTo: [root] - - Keys.onUpPressed: { - event.accepted = __listView.decrementCurrentIndexBlocking() - if (selectionMode) - keySelect(event.modifiers & Qt.ShiftModifier, currentRow) - } - - Keys.onDownPressed: { - event.accepted = __listView.incrementCurrentIndexBlocking() - if (selectionMode) - keySelect(event.modifiers & Qt.ShiftModifier, currentRow) - } - - Keys.onPressed: { - __listView.scrollIfNeeded(event.key) - - if (event.key === Qt.Key_Shift) { - firstKeyRow = currentRow - } - - if (event.key === Qt.Key_A && event.modifiers & Qt.ControlModifier) { - if (selectionMode > 1) - selection.selectAll() - } - } - - Keys.onReleased: { - if (event.key === Qt.Key_Shift) - firstKeyRow = -1 - } - - Keys.onReturnPressed: { - if (currentRow > -1) - root.activated(currentRow); - else - event.accepted = false - } - } -} diff --git a/bin/QtQuick/Controls/TableViewColumn.qml b/bin/QtQuick/Controls/TableViewColumn.qml deleted file mode 100644 index 9fa05b3d9..000000000 --- a/bin/QtQuick/Controls/TableViewColumn.qml +++ /dev/null @@ -1,173 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -/*! - \qmltype TableViewColumn - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup viewitems - \ingroup controls - \brief Used to define columns in a \l TableView or in a \l TreeView. - - \image tableview.png - - TableViewColumn represents a column within a TableView or a TreeView. It provides - properties to decide how the data in that column is presented. - - \qml - TableView { - TableViewColumn { role: "title"; title: "Title"; width: 100 } - TableViewColumn { role: "author"; title: "Author"; width: 200 } - model: libraryModel - } - \endqml - - \sa TableView, TreeView -*/ - -QtObject { - - /*! \internal */ - property Item __view: null - - /*! \internal */ - property int __index: -1 - - /*! The title text of the column. */ - property string title - - /*! The model \c role of the column. */ - property string role - - /*! The current width of the column. - The default value depends on platform. If only one - column is defined, the width expands to the viewport. - */ - property int width: (__view && __view.columnCount === 1) ? __view.viewport.width : 160 - - /*! The visible status of the column. */ - property bool visible: true - - /*! Determines if the column should be resizable. - \since QtQuick.Controls 1.1 */ - property bool resizable: true - - /*! Determines if the column should be movable. - The default value is \c true. - \note A non-movable column may get indirectly moved if adjacent columns are movable. - \since QtQuick.Controls 1.1 */ - property bool movable: true - - /*! \qmlproperty enumeration TableViewColumn::elideMode - The text elide mode of the column. - Allowed values are: - \list - \li Text.ElideNone - \li Text.ElideLeft - \li Text.ElideMiddle - \li Text.ElideRight - the default - \endlist - \sa {Text::elide}{elide} */ - property int elideMode: Text.ElideRight - - /*! \qmlproperty enumeration TableViewColumn::horizontalAlignment - The horizontal text alignment of the column. - Allowed values are: - \list - \li Text.AlignLeft - the default - \li Text.AlignRight - \li Text.AlignHCenter - \li Text.AlignJustify - \endlist - \sa {Text::horizontalAlignment}{horizontalAlignment} */ - property int horizontalAlignment: Text.AlignLeft - - /*! The delegate of the column. This can be used to set the itemDelagate - of a \l TableView or \l TreeView for a specific column. - - In the delegate you have access to the following special properties: - \list - \li styleData.selected - if the item is currently selected - \li styleData.value - the value or text for this item - \li styleData.textColor - the default text color for an item - \li styleData.row - the index of the row - \li styleData.column - the index of the column - \li styleData.elideMode - the elide mode of the column - \li styleData.textAlignment - the horizontal text alignment of the column - \endlist - */ - property Component delegate - - property int accessibleRole: Accessible.ColumnHeader - - /*! \qmlmethod void TableViewColumn::resizeToContents() - Resizes the column so that the implicitWidth of the contents on every row will fit. - \since QtQuick.Controls 1.2 */ - function resizeToContents() { - var minWidth = 0 - var listdata = __view.__listView.children[0] - for (var i = 0; __index === -1 && i < __view.__columns.length; ++i) { - if (__view.__columns[i] === this) - __index = i - } - // ### HACK We don't have direct access to the instantiated item, - // so we go spelunking. Each 'item' variable check is annotated - // with the expected object it should point to in BasicTableView. - for (var row = 0 ; row < listdata.children.length ; ++row) { - var item = listdata.children[row] ? listdata.children[row].rowItem : undefined - if (item) { // FocusScope { id: rowitem } - item = item.children[1] - if (item) { // Row { id: itemrow } - item = item.children[__index] - if (item) { // Repeater.delegate a.k.a. __view.__itemDelegateLoader - var indent = __view.__isTreeView && __index === 0 ? item.__itemIndentation : 0 - item = item.item - if (item && item.hasOwnProperty("implicitWidth")) { - minWidth = Math.max(minWidth, item.implicitWidth + indent) - } - } - } - } - } - if (minWidth) - width = minWidth - } -} diff --git a/bin/QtQuick/Controls/TextArea.qml b/bin/QtQuick/Controls/TextArea.qml deleted file mode 100644 index d289780e9..000000000 --- a/bin/QtQuick/Controls/TextArea.qml +++ /dev/null @@ -1,978 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -/*! - \qmltype TextArea - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief Displays multiple lines of editable formatted text. - - \image textarea.png - - It can display both plain and rich text. For example: - - \qml - TextArea { - width: 240 - text: - "Lorem ipsum dolor sit amet, consectetur adipisicing elit, " + - "sed do eiusmod tempor incididunt ut labore et dolore magna " + - "aliqua. Ut enim ad minim veniam, quis nostrud exercitation " + - "ullamco laboris nisi ut aliquip ex ea commodo cosnsequat. "; - } - \endqml - - Clipboard support is provided by the cut(), copy(), and paste() functions, and the selection can - be handled in a traditional "mouse" mechanism by setting selectByMouse, or handled completely - from QML by manipulating selectionStart and selectionEnd, or using selectAll() or selectWord(). - - You can translate between cursor positions (characters from the start of the document) and pixel - points using positionAt() and positionToRectangle(). - - You can create a custom appearance for a TextArea by - assigning a \l {TextAreaStyle}. - - \sa TextField, TextEdit -*/ - -ScrollView { - id: area - - /*! - \qmlproperty bool TextArea::activeFocusOnPress - - Whether the TextEdit should gain active focus on a mouse press. By default this is - set to true. - */ - property alias activeFocusOnPress: edit.activeFocusOnPress - - /*! - \qmlproperty url TextArea::baseUrl - - This property specifies a base URL which is used to resolve relative URLs - within the text. - - The default value is the url of the QML file instantiating the TextArea item. - */ - property alias baseUrl: edit.baseUrl - - /*! - \qmlproperty bool TextArea::canPaste - - Returns true if the TextArea is writable and the content of the clipboard is - suitable for pasting into the TextArea. - */ - readonly property alias canPaste: edit.canPaste - - /*! - \qmlproperty bool TextArea::canRedo - - Returns true if the TextArea is writable and there are \l {undo}{undone} - operations that can be redone. - */ - readonly property alias canRedo: edit.canRedo - - /*! - \qmlproperty bool TextArea::canUndo - - Returns true if the TextArea is writable and there are previous operations - that can be undone. - */ - readonly property alias canUndo: edit.canUndo - - /*! - \qmlproperty color TextArea::textColor - - The text color. - - \qml - TextArea { textColor: "orange" } - \endqml - */ - property alias textColor: edit.color - - /*! - \qmlproperty int TextArea::cursorPosition - The position of the cursor in the TextArea. - */ - property alias cursorPosition: edit.cursorPosition - - /*! - \qmlproperty rect TextArea::cursorRectangle - \since QtQuick.Controls 1.3 - - The rectangle where the text cursor is rendered within the text area. - */ - readonly property alias cursorRectangle: edit.cursorRectangle - - /*! \qmlproperty font TextArea::font - - The font of the TextArea. - */ - property alias font: edit.font - - /*! - \qmlproperty enumeration TextArea::horizontalAlignment - - Sets the alignment of the text within the TextArea item's width. - - By default, the horizontal text alignment follows the natural alignment of the text, - for example, text that is read from left to right will be aligned to the left. - - The valid values for \c horizontalAlignment are: - \list - \li TextEdit.AlignLeft (Default) - \li TextEdit.AlignRight - \li TextEdit.AlignHCenter - \endlist - - When using the attached property LayoutMirroring::enabled to mirror application - layouts, the horizontal alignment of text will also be mirrored. However, the property - \c horizontalAlignment will remain unchanged. To query the effective horizontal alignment - of TextArea, use the read-only property \c effectiveHorizontalAlignment. - */ - property alias horizontalAlignment: edit.horizontalAlignment - - /*! - \qmlproperty enumeration TextArea::effectiveHorizontalAlignment - - Gets the effective horizontal alignment of the text within the TextArea item's width. - - To set/get the default horizontal alignment of TextArea, use the property \c horizontalAlignment. - - */ - readonly property alias effectiveHorizontalAlignment: edit.effectiveHorizontalAlignment - - /*! - \qmlproperty enumeration TextArea::verticalAlignment - - Sets the alignment of the text within the TextArea item's height. - - The valid values for \c verticalAlignment are: - \list - \li TextEdit.AlignTop - \li TextEdit.AlignBottom - \li TextEdit.AlignVCenter (Default) - \endlist - */ - property alias verticalAlignment: edit.verticalAlignment - - /*! - \qmlproperty bool TextArea::inputMethodComposing - \since QtQuick.Controls 1.3 - - This property holds whether the TextArea has partial text input from an input method. - - While it is composing an input method may rely on mouse or key events from the TextArea - to edit or commit the partial text. This property can be used to determine when to disable - events handlers that may interfere with the correct operation of an input method. - */ - readonly property bool inputMethodComposing: !!edit.inputMethodComposing - - /*! - \qmlproperty enumeration TextArea::inputMethodHints - - Provides hints to the input method about the expected content of the text edit, and how it - should operate. - - The value is a bit-wise combination of flags or Qt.ImhNone if no hints are set. - - The default value is \c Qt.ImhNone. - - Flags that alter behavior are: - - \list - \li Qt.ImhHiddenText - Characters should be hidden, as is typically used when entering passwords. - \li Qt.ImhSensitiveData - Typed text should not be stored by the active input method - in any persistent storage like predictive user dictionary. - \li Qt.ImhNoAutoUppercase - The input method should not try to automatically switch to upper case - when a sentence ends. - \li Qt.ImhPreferNumbers - Numbers are preferred (but not required). - \li Qt.ImhPreferUppercase - Upper case letters are preferred (but not required). - \li Qt.ImhPreferLowercase - Lower case letters are preferred (but not required). - \li Qt.ImhNoPredictiveText - Do not use predictive text (i.e. dictionary lookup) while typing. - - \li Qt.ImhDate - The text editor functions as a date field. - \li Qt.ImhTime - The text editor functions as a time field. - \endlist - - Flags that restrict input (exclusive flags) are: - - \list - \li Qt.ImhDigitsOnly - Only digits are allowed. - \li Qt.ImhFormattedNumbersOnly - Only number input is allowed. This includes decimal point and minus sign. - \li Qt.ImhUppercaseOnly - Only upper case letter input is allowed. - \li Qt.ImhLowercaseOnly - Only lower case letter input is allowed. - \li Qt.ImhDialableCharactersOnly - Only characters suitable for phone dialing are allowed. - \li Qt.ImhEmailCharactersOnly - Only characters suitable for email addresses are allowed. - \li Qt.ImhUrlCharactersOnly - Only characters suitable for URLs are allowed. - \endlist - - Masks: - - \list - \li Qt.ImhExclusiveInputMask - This mask yields nonzero if any of the exclusive flags are used. - \endlist - */ - property alias inputMethodHints: edit.inputMethodHints - - /*! - \qmlproperty int TextArea::length - - Returns the total number of plain text characters in the TextArea item. - - As this number doesn't include any formatting markup, it may not be the same as the - length of the string returned by the \l text property. - - This property can be faster than querying the length the \l text property as it doesn't - require any copying or conversion of the TextArea's internal string data. - */ - readonly property alias length: edit.length - - /*! - \qmlproperty int TextArea::lineCount - - Returns the total number of lines in the TextArea item. - */ - readonly property alias lineCount: edit.lineCount - - /*! - \qmlproperty bool TextArea::readOnly - - Whether the user can interact with the TextArea item. - - The difference from a disabled text field is that it will appear - to be active, and text can be selected and copied. - - If this property is set to \c true, the text cannot be edited by user interaction. - - By default this property is \c false. - */ - property alias readOnly: edit.readOnly - Accessible.readOnly: readOnly - - /*! - \qmlproperty string TextArea::selectedText - - This read-only property provides the text currently selected in the - text edit. - */ - readonly property alias selectedText: edit.selectedText - - /*! - \qmlproperty int TextArea::selectionEnd - - The cursor position after the last character in the current selection. - - This property is read-only. To change the selection, use select(start,end), - selectAll(), or selectWord(). - - \sa selectionStart, cursorPosition, selectedText - */ - readonly property alias selectionEnd: edit.selectionEnd - - /*! - \qmlproperty int TextArea::selectionStart - - The cursor position before the first character in the current selection. - - This property is read-only. To change the selection, use select(start,end), - selectAll(), or selectWord(). - - \sa selectionEnd, cursorPosition, selectedText - */ - readonly property alias selectionStart: edit.selectionStart - - /*! - \qmlproperty bool TextArea::tabChangesFocus - - This property holds whether Tab changes focus, or is accepted as input. - - Defaults to \c false. - */ - property bool tabChangesFocus: false - - /*! - \qmlproperty string TextArea::text - - The text to display. If the text format is AutoText the text edit will - automatically determine whether the text should be treated as - rich text. This determination is made using Qt::mightBeRichText(). - */ - property alias text: edit.text - - /*! - \qmlproperty enumeration TextArea::textFormat - - The way the text property should be displayed. - - \list - \li TextEdit.AutoText - \li TextEdit.PlainText - \li TextEdit.RichText - \endlist - - The default is TextEdit.PlainText. If the text format is TextEdit.AutoText the text edit - will automatically determine whether the text should be treated as - rich text. This determination is made using Qt::mightBeRichText(). - */ - property alias textFormat: edit.textFormat - - /*! - \qmlproperty enumeration TextArea::wrapMode - - Set this property to wrap the text to the TextArea item's width. - - \list - \li TextEdit.NoWrap (default) - no wrapping will be performed. - \li TextEdit.WordWrap - wrapping is done on word boundaries only. - \li TextEdit.WrapAnywhere - wrapping is done at any point on a line, even if it occurs in the middle of a word. - \li TextEdit.Wrap - if possible, wrapping occurs at a word boundary; otherwise it will occur at the appropriate point on the line, even in the middle of a word. - \endlist - */ - property alias wrapMode: edit.wrapMode - - /*! - \qmlproperty bool TextArea::selectByMouse - - This property determines if the user can select the text with the - mouse. - - The default value is \c true. - */ - property bool selectByMouse: true - - /*! - \qmlproperty bool TextArea::selectByKeyboard - - This property determines if the user can select the text with the - keyboard. - - If set to \c true, the user can use the keyboard to select the text - even if the editor is read-only. If set to \c false, the user cannot - use the keyboard to select the text even if the editor is editable. - - The default value is \c true when the editor is editable, - and \c false when read-only. - - \sa readOnly - */ - property alias selectByKeyboard: edit.selectByKeyboard - - /*! - \qmlsignal TextArea::linkActivated(string link) - - This signal is emitted when the user clicks on a link embedded in the text. - The link must be in rich text or HTML format and the - \e link string provides access to the particular link. - - The corresponding handler is \c onLinkActivated. - */ - signal linkActivated(string link) - - /*! - \qmlsignal TextArea::linkHovered(string link) - \since QtQuick.Controls 1.1 - - This signal is emitted when the user hovers a link embedded in the text. - The link must be in rich text or HTML format and the - \e link string provides access to the particular link. - - \sa hoveredLink - - The corresponding handler is \c onLinkHovered. - */ - signal linkHovered(string link) - - /*! - \qmlsignal TextArea::editingFinished() - \since QtQuick.Controls 1.5 - - This signal is emitted when the text area loses focus. - - The corresponding handler is \c onEditingFinished. - */ - signal editingFinished() - - /*! - \qmlproperty string TextArea::hoveredLink - \since QtQuick.Controls 1.1 - - This property contains the link string when user hovers a link - embedded in the text. The link must be in rich text or HTML format - and the link string provides access to the particular link. - */ - readonly property alias hoveredLink: edit.hoveredLink - - /*! - \since QtQuick.Controls 1.3 - - This property contains the edit \l Menu for working - with text selection. Set it to \c null if no menu - is wanted. - - \sa Menu - */ - property Component menu: editMenu.defaultMenu - - /*! - \qmlmethod void TextArea::append(string text) - - Appends a string \a text as a new line to the end of the text area. - */ - function append (string) { - edit.append(string) - __verticalScrollBar.value = __verticalScrollBar.maximumValue - } - - /*! - \qmlmethod void TextArea::copy() - - Copies the currently selected text to the system clipboard. - */ - function copy() { - edit.copy(); - } - - /*! - \qmlmethod void TextArea::cut() - - Moves the currently selected text to the system clipboard. - */ - function cut() { - edit.cut(); - } - - /*! - \qmlmethod void TextArea::deselect() - - Removes active text selection. - */ - function deselect() { - edit.deselect(); - } - - /*! - \qmlmethod string TextArea::getFormattedText(int start, int end) - - Returns the section of text that is between the \a start and \a end positions. - - The returned text will be formatted according to the \l textFormat property. - */ - function getFormattedText(start, end) { - return edit.getFormattedText(start, end); - } - - /*! - \qmlmethod string TextArea::getText(int start, int end) - - Returns the section of text that is between the \a start and \a end positions. - - The returned text does not include any rich text formatting. - */ - function getText(start, end) { - return edit.getText(start, end); - } - - /*! - \qmlmethod void TextArea::insert(int position, string text) - - Inserts \a text into the TextArea at \a position. - */ - function insert(position, text) { - edit.insert(position, text); - } - - /*! - \qmlmethod bool TextArea::isRightToLeft(int start, int end) - - Returns true if the natural reading direction of the editor text - found between positions \a start and \a end is right to left. - */ - function isRightToLeft(start, end) { - return edit.isRightToLeft(start, end); - } - - /*! - \qmlmethod void TextArea::moveCursorSelection(int position, SelectionMode mode = TextEdit.SelectCharacters) - - Moves the cursor to \a position and updates the selection according to the optional \a mode - parameter. (To only move the cursor, set the \l cursorPosition property.) - - When this method is called it additionally sets either the - selectionStart or the selectionEnd (whichever was at the previous cursor position) - to the specified position. This allows you to easily extend and contract the selected - text range. - - The selection mode specifies whether the selection is updated on a per character or a per word - basis. If not specified the selection mode will default to TextEdit.SelectCharacters. - - \list - \li TextEdit.SelectCharacters - Sets either the selectionStart or selectionEnd (whichever was at - the previous cursor position) to the specified position. - \li TextEdit.SelectWords - Sets the selectionStart and selectionEnd to include all - words between the specified position and the previous cursor position. Words partially in the - range are included. - \endlist - - For example, take this sequence of calls: - - \code - cursorPosition = 5 - moveCursorSelection(9, TextEdit.SelectCharacters) - moveCursorSelection(7, TextEdit.SelectCharacters) - \endcode - - This moves the cursor to the 5th position, extends the selection end from 5 to 9, - and then retracts the selection end from 9 to 7, leaving the text from the 5th - position to the 7th position selected (the 6th and 7th characters). - - The same sequence with TextEdit.SelectWords will extend the selection start to a word boundary - before or on the 5th position, and extend the selection end to a word boundary on or past the 9th position. - */ - function moveCursorSelection(position, mode) { - edit.moveCursorSelection(position, mode); - } - - /*! - \qmlmethod void TextArea::paste() - - Replaces the currently selected text by the contents of the system clipboard. - */ - function paste() { - edit.paste(); - } - - /*! - \qmlmethod int TextArea::positionAt(int x, int y) - - Returns the text position closest to pixel position (\a x, \a y). - - Position 0 is before the first character, position 1 is after the first character - but before the second, and so on until position \l {text}.length, which is after all characters. - */ - function positionAt(x, y) { - return edit.positionAt(x, y); - } - - /*! - \qmlmethod rectangle TextArea::positionToRectangle(position) - - Returns the rectangle at the given \a position in the text. The x, y, - and height properties correspond to the cursor that would describe - that position. - */ - function positionToRectangle(position) { - return edit.positionToRectangle(position); - } - - /*! - \qmlmethod void TextArea::redo() - - Redoes the last operation if redo is \l {canRedo}{available}. - */ - function redo() { - edit.redo(); - } - - /*! - \qmlmethod string TextArea::remove(int start, int end) - - Removes the section of text that is between the \a start and \a end positions from the TextArea. - */ - function remove(start, end) { - return edit.remove(start, end); - } - - /*! - \qmlmethod void TextArea::select(int start, int end) - - Causes the text from \a start to \a end to be selected. - - If either start or end is out of range, the selection is not changed. - - After calling this, selectionStart will become the lesser - and selectionEnd will become the greater (regardless of the order passed - to this method). - - \sa selectionStart, selectionEnd - */ - function select(start, end) { - edit.select(start, end); - } - - /*! - \qmlmethod void TextArea::selectAll() - - Causes all text to be selected. - */ - function selectAll() { - edit.selectAll(); - } - - /*! - \qmlmethod void TextArea::selectWord() - - Causes the word closest to the current cursor position to be selected. - */ - function selectWord() { - edit.selectWord(); - } - - /*! - \qmlmethod void TextArea::undo() - - Undoes the last operation if undo is \l {canUndo}{available}. Deselects any - current selection, and updates the selection start to the current cursor - position. - */ - function undo() { - edit.undo(); - } - - /*! \qmlproperty bool TextArea::backgroundVisible - - This property determines if the background should be filled or not. - - The default value is \c true. - */ - property alias backgroundVisible: colorRect.visible - - /*! \internal */ - default property alias data: area.data - - /*! \qmlproperty real TextArea::textMargin - \since QtQuick.Controls 1.1 - - The margin, in pixels, around the text in the TextArea. - */ - property alias textMargin: edit.textMargin - - /*! \qmlproperty real TextArea::contentWidth - \since QtQuick.Controls 1.3 - - The width of the text content. - */ - readonly property alias contentWidth: edit.contentWidth - - /*! \qmlproperty real TextArea::contentHeight - \since QtQuick.Controls 1.3 - - The height of the text content. - */ - readonly property alias contentHeight: edit.contentHeight - - frameVisible: true - - activeFocusOnTab: true - - Accessible.role: Accessible.EditableText - - style: Settings.styleComponent(Settings.style, "TextAreaStyle.qml", area) - - /*! - \qmlproperty TextDocument TextArea::textDocument - - This property exposes the \l QQuickTextDocument of this TextArea. - \sa TextEdit::textDocument - */ - property alias textDocument: edit.textDocument - - Flickable { - id: flickable - - interactive: !edit.selectByMouse - anchors.fill: parent - - TextEdit { - id: edit - focus: true - cursorDelegate: __style && __style.__cursorDelegate ? __style.__cursorDelegate : null - persistentSelection: true - - Rectangle { - id: colorRect - parent: viewport - anchors.fill: parent - color: __style ? __style.backgroundColor : "white" - z: -1 - } - - property int layoutRecursionDepth: 0 - - function doLayout() { - // scrollbars affect the document/viewport size and vice versa, so we - // must allow the layout loop to recurse twice until the sizes stabilize - if (layoutRecursionDepth <= 2) { - layoutRecursionDepth++ - - if (wrapMode == TextEdit.NoWrap) { - __horizontalScrollBar.visible = edit.contentWidth > viewport.width - edit.width = Math.max(viewport.width, edit.contentWidth) - } else { - __horizontalScrollBar.visible = false - edit.width = viewport.width - } - edit.height = Math.max(viewport.height, edit.contentHeight) - - flickable.contentWidth = edit.contentWidth - flickable.contentHeight = edit.contentHeight - - layoutRecursionDepth-- - } - } - - Connections { - target: area.viewport - function onWidthChanged() { edit.doLayout() } - function onHeightChanged() { edit.doLayout() } - } - onContentWidthChanged: edit.doLayout() - onContentHeightChanged: edit.doLayout() - onWrapModeChanged: edit.doLayout() - - renderType: __style ? __style.renderType : Text.NativeRendering - font: __style ? __style.font : TextSingleton.font - color: __style ? __style.textColor : "darkgray" - selectionColor: __style ? __style.selectionColor : "darkred" - selectedTextColor: __style ? __style.selectedTextColor : "white" - wrapMode: TextEdit.WordWrap - textMargin: __style && __style.textMargin !== undefined ? __style.textMargin : 4 - - selectByMouse: area.selectByMouse && Qt.platform.os != "ios" && (!Settings.isMobile || !cursorHandle.delegate || !selectionHandle.delegate) - readOnly: false - - Keys.forwardTo: area - - KeyNavigation.priority: KeyNavigation.BeforeItem - KeyNavigation.tab: area.tabChangesFocus ? area.KeyNavigation.tab : null - KeyNavigation.backtab: area.tabChangesFocus ? area.KeyNavigation.backtab : null - - property bool blockRecursion: false - property bool hasSelection: selectionStart !== selectionEnd - readonly property int selectionPosition: selectionStart !== cursorPosition ? selectionStart : selectionEnd - - // force re-evaluation when contentWidth changes => text layout changes => selection moves - property rect selectionRectangle: contentWidth ? positionToRectangle(selectionPosition) - : positionToRectangle(selectionPosition) - - onSelectionStartChanged: syncHandlesWithSelection() - onCursorPositionChanged: syncHandlesWithSelection() - - function syncHandlesWithSelection() - { - if (!blockRecursion && selectionHandle.delegate) { - blockRecursion = true - // We cannot use property selectionPosition since it gets updated after onSelectionStartChanged - cursorHandle.position = cursorPosition - selectionHandle.position = (selectionStart !== cursorPosition) ? selectionStart : selectionEnd - blockRecursion = false - } - ensureVisible(cursorRectangle) - } - - function ensureVisible(rect) { - if (rect.y >= flickableItem.contentY + viewport.height - rect.height - textMargin) { - // moving down - flickableItem.contentY = rect.y - viewport.height + rect.height + textMargin - } else if (rect.y < flickableItem.contentY) { - // moving up - flickableItem.contentY = rect.y - textMargin - } - - if (rect.x >= flickableItem.contentX + viewport.width - textMargin) { - // moving right - flickableItem.contentX = rect.x - viewport.width + textMargin - } else if (rect.x < flickableItem.contentX) { - // moving left - flickableItem.contentX = rect.x - textMargin - } - } - - onLinkActivated: area.linkActivated(link) - onLinkHovered: area.linkHovered(link) - onEditingFinished: area.editingFinished() - - function activate() { - if (activeFocusOnPress) { - forceActiveFocus() - if (!readOnly) - Qt.inputMethod.show() - } - cursorHandle.activate() - selectionHandle.activate() - } - - function moveHandles(cursor, selection) { - blockRecursion = true - cursorPosition = cursor - if (selection === -1) { - selectWord() - selection = selectionStart - } - selectionHandle.position = selection - cursorHandle.position = cursorPosition - blockRecursion = false - } - - MouseArea { - id: mouseArea - anchors.fill: parent - cursorShape: edit.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor - acceptedButtons: (edit.selectByMouse ? Qt.NoButton : Qt.LeftButton) | (area.menu ? Qt.RightButton : Qt.NoButton) - onClicked: { - if (editMenu.item) - return; - var pos = edit.positionAt(mouse.x, mouse.y) - edit.moveHandles(pos, pos) - edit.activate() - } - onPressAndHold: { - if (editMenu.item) - return; - var pos = edit.positionAt(mouse.x, mouse.y) - edit.moveHandles(pos, area.selectByMouse ? -1 : pos) - edit.activate() - } - } - - EditMenu { - id: editMenu - control: area - input: edit - mouseArea: mouseArea - cursorHandle: cursorHandle - selectionHandle: selectionHandle - flickable: flickable - anchors.fill: parent - } - - ScenePosListener { - id: listener - item: edit - enabled: edit.activeFocus && Qt.platform.os !== "ios" && Settings.isMobile - } - - TextHandle { - id: selectionHandle - - editor: edit - control: area - z: 1000001 // DefaultWindowDecoration+1 - parent: !edit.activeFocus || Qt.platform.os === "ios" ? editor : Window.contentItem // float (QTBUG-42538) - active: area.selectByMouse && Settings.isMobile - delegate: __style.__selectionHandle - maximum: cursorHandle.position - 1 - - // Mention scenePos, contentX and contentY in the mappedPos binding to force re-evaluation if they change - property var mappedPos: listener.scenePos.x !== listener.scenePos.y !== flickableItem.contentX !== flickableItem.contentY !== Number.MAX_VALUE ? - editor.mapToItem(parent, editor.selectionRectangle.x, editor.selectionRectangle.y) : -1 - x: mappedPos.x - y: mappedPos.y - - property var posInViewport: flickableItem.contentX !== flickableItem.contentY !== Number.MAX_VALUE ? - viewport.mapFromItem(parent, handleX, handleY) : -1 - visible: pressed || (edit.hasSelection - && posInViewport.y + handleHeight >= -1 - && posInViewport.y <= viewport.height + 1 - && posInViewport.x + handleWidth >= -1 - && posInViewport.x <= viewport.width + 1) - - onPositionChanged: { - if (!edit.blockRecursion) { - edit.blockRecursion = true - edit.select(selectionHandle.position, cursorHandle.position) - if (pressed) - edit.ensureVisible(edit.selectionRectangle) - edit.blockRecursion = false - } - } - } - - TextHandle { - id: cursorHandle - - editor: edit - control: area - z: 1000001 // DefaultWindowDecoration+1 - parent: !edit.activeFocus || Qt.platform.os === "ios" ? editor : Window.contentItem // float (QTBUG-42538) - active: area.selectByMouse && Settings.isMobile - delegate: __style.__cursorHandle - minimum: edit.hasSelection ? selectionHandle.position + 1 : -1 - - // Mention scenePos, contentX and contentY in the mappedPos binding to force re-evaluation if they change - property var mappedPos: listener.scenePos.x !== listener.scenePos.y !== flickableItem.contentX !== flickableItem.contentY !== Number.MAX_VALUE ? - editor.mapToItem(parent, editor.cursorRectangle.x, editor.cursorRectangle.y) : -1 - x: mappedPos.x - y: mappedPos.y - - property var posInViewport: flickableItem.contentX !== flickableItem.contentY !== Number.MAX_VALUE ? - viewport.mapFromItem(parent, handleX, handleY) : -1 - visible: pressed || ((edit.cursorVisible || edit.hasSelection) - && posInViewport.y + handleHeight >= -1 - && posInViewport.y <= viewport.height + 1 - && posInViewport.x + handleWidth >= -1 - && posInViewport.x <= viewport.width + 1) - - onPositionChanged: { - if (!edit.blockRecursion) { - edit.blockRecursion = true - if (!edit.hasSelection) - selectionHandle.position = cursorHandle.position - edit.select(selectionHandle.position, cursorHandle.position) - edit.blockRecursion = false - } - } - } - } - } - - Keys.onPressed: { - if (event.key == Qt.Key_PageUp) { - __verticalScrollBar.value -= area.height - } else if (event.key == Qt.Key_PageDown) - __verticalScrollBar.value += area.height - } - -} diff --git a/bin/QtQuick/Controls/TextField.qml b/bin/QtQuick/Controls/TextField.qml deleted file mode 100644 index d0d1d5cc1..000000000 --- a/bin/QtQuick/Controls/TextField.qml +++ /dev/null @@ -1,672 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype TextField - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief Displays a single line of editable plain text. - - \image textfield.png - - TextField is used to accept a line of text input. Input constraints can be - placed on a TextField item (for example, through a \l validator or \l - inputMask). Setting \l echoMode to an appropriate value enables - TextField to be used for a password input field. - - \qml - TextField { - placeholderText: qsTr("Enter name") - } - \endqml - - You can create a custom appearance for a TextField by - assigning a \l {TextFieldStyle}. - - \sa TextArea, TextInput -*/ - -Control { - id: textfield - - /*! - \qmlproperty bool TextField::acceptableInput - - Returns \c true if the text field contains acceptable - text. - - If a validator or input mask was set, this property will return \c - true if the current text satisfies the validator or mask as - a final string (not as an intermediate string). - - The default value is \c true. - - \sa validator, inputMask, accepted - - */ - readonly property alias acceptableInput: textInput.acceptableInput // read only - - /*! - \qmlproperty bool TextField::activeFocusOnPress - - This property is set to \c true if the TextField should gain active - focus on a mouse press. - - The default value is \c true. - */ - property alias activeFocusOnPress: textInput.activeFocusOnPress - - /*! - \qmlproperty bool TextField::canPaste - - Returns \c true if the TextField is writable and the content of the - clipboard is suitable for pasting into the TextField. - */ - readonly property alias canPaste: textInput.canPaste - - /*! - \qmlproperty bool TextField::canRedo - - Returns \c true if the TextField is writable and there are \l - {undo}{undone} operations that can be redone. - */ - readonly property alias canRedo: textInput.canRedo - - /*! - \qmlproperty bool TextField::canUndo - - Returns \c true if the TextField is writable and there are previous - operations that can be undone. - */ - readonly property alias canUndo: textInput.canUndo - - /*! - \qmlproperty color TextField::textColor - - This property holds the text color. - */ - property alias textColor: textInput.color - - /*! - \qmlproperty int TextField::cursorPosition - - This property holds the position of the cursor in the TextField. - */ - property alias cursorPosition: textInput.cursorPosition - - /*! - \qmlproperty rect TextField::cursorRectangle - \since QtQuick.Controls 1.3 - - The rectangle where the text cursor is rendered within the text field. - */ - readonly property alias cursorRectangle: textInput.cursorRectangle - - /*! - \qmlproperty string TextField::displayText - - This property holds the text displayed in the TextField. - - If \l echoMode is set to TextInput::Normal, this holds the - same value as the TextField::text property. Otherwise, - this property holds the text visible to the user, while - the \l text property holds the actual entered text. - */ - readonly property alias displayText: textInput.displayText - - /*! - \qmlproperty enumeration TextField::echoMode - - Specifies how the text should be displayed in the - TextField. - - The possible modes are: - \list - \li TextInput.Normal - Displays the text as it is. (Default) - \li TextInput.Password - Displays asterisks instead of characters. - \li TextInput.NoEcho - Displays nothing. - \li TextInput.PasswordEchoOnEdit - Displays characters as they are - entered while editing, otherwise displays asterisks. - \endlist - */ - property alias echoMode: textInput.echoMode - Accessible.passwordEdit: echoMode == TextInput.Password || echoMode === TextInput.PasswordEchoOnEdit - - /*! - \qmlproperty font TextField::font - - Sets the font of the TextField. - */ - property alias font: textInput.font - - /*! - \qmlproperty enumeration TextField::horizontalAlignment - - Sets the alignment of the text within the TextField item's width. - - By default, the horizontal text alignment follows the natural alignment - of the text, for example text that is read from left to right will be - aligned to the left. - - The possible alignment values are: - \list - \li TextInput.AlignLeft - \li TextInput.AlignRight - \li TextInput.AlignHCenter - \endlist - - When using the attached property, LayoutMirroring::enabled, to mirror - application layouts, the horizontal alignment of text will also be - mirrored. However, the property \c horizontalAlignment will remain - unchanged. To query the effective horizontal alignment of TextField, use - the read-only property \c effectiveHorizontalAlignment. - */ - property alias horizontalAlignment: textInput.horizontalAlignment - - /*! - \qmlproperty enumeration TextField::effectiveHorizontalAlignment - - Gets the effective horizontal alignment of the text within the TextField - item's width. - - \l horizontalAlignment contains the default horizontal alignment. - - \sa horizontalAlignment - - */ - readonly property alias effectiveHorizontalAlignment: textInput.effectiveHorizontalAlignment - - /*! - \qmlproperty enumeration TextField::verticalAlignment - - Sets the alignment of the text within the TextField item's height. - - The possible alignment values are: - \list - \li TextInput.AlignTop - \li TextInput.AlignBottom - \li TextInput.AlignVCenter (default). - \endlist - */ - property alias verticalAlignment: textInput.verticalAlignment - - /*! - \qmlproperty string TextField::inputMask - - Sets an input mask on the TextField, restricting the allowable text - inputs. See QLineEdit::inputMask for further details, as the exact same - mask strings are used by TextField. - - \sa acceptableInput, validator - */ - property alias inputMask: textInput.inputMask - - /*! - \qmlproperty bool TextField::inputMethodComposing - \since QtQuick.Controls 1.3 - - This property holds whether the TextField has partial text input from an input method. - - While it is composing an input method may rely on mouse or key events from the TextField - to edit or commit the partial text. This property can be used to determine when to disable - events handlers that may interfere with the correct operation of an input method. - */ - readonly property bool inputMethodComposing: !!textInput.inputMethodComposing - - /*! - \qmlproperty enumeration TextField::inputMethodHints - - Provides hints to the input method about the expected content of the - text field and how it should operate. - - The value is a bit-wise combination of flags, or \c Qt.ImhNone if no - hints are set. - - The default value is \c Qt.ImhNone. - - Flags that alter behavior are: - - \list - \li Qt.ImhHiddenText - Characters should be hidden, as is typically used when entering passwords. - This is automatically set when setting echoMode to \c TextInput.Password. - \li Qt.ImhSensitiveData - Typed text should not be stored by the active input method - in any persistent storage like predictive user dictionary. - \li Qt.ImhNoAutoUppercase - The input method should not try to automatically switch to upper case - when a sentence ends. - \li Qt.ImhPreferNumbers - Numbers are preferred (but not required). - \li Qt.ImhPreferUppercase - Uppercase letters are preferred (but not required). - \li Qt.ImhPreferLowercase - Lowercase letters are preferred (but not required). - \li Qt.ImhNoPredictiveText - Do not use predictive text (for example, dictionary lookup) while typing. - - \li Qt.ImhDate - The text editor functions as a date field. - \li Qt.ImhTime - The text editor functions as a time field. - \li Qt.ImhMultiLine - The text editor doesn't close software input keyboard when Return or Enter key is pressed (since QtQuick.Controls 1.3). - \endlist - - Flags that restrict input (exclusive flags) are: - - \list - \li Qt.ImhDigitsOnly - Only digits are allowed. - \li Qt.ImhFormattedNumbersOnly - Only number input is allowed. This includes decimal point and minus sign. - \li Qt.ImhUppercaseOnly - Only uppercase letter input is allowed. - \li Qt.ImhLowercaseOnly - Only lowercase letter input is allowed. - \li Qt.ImhDialableCharactersOnly - Only characters suitable for phone dialing are allowed. - \li Qt.ImhEmailCharactersOnly - Only characters suitable for email addresses are allowed. - \li Qt.ImhUrlCharactersOnly - Only characters suitable for URLs are allowed. - \endlist - - Masks: - \list - \li Qt.ImhExclusiveInputMask - This mask yields nonzero if any of the exclusive flags are used. - \endlist - */ - property alias inputMethodHints: textInput.inputMethodHints - - /*! - \qmlproperty int TextField::length - - Returns the total number of characters in the TextField item. - - If the TextField has an input mask, the length will include mask - characters and may differ from the length of the string returned by the - \l text property. - - This property can be faster than querying the length of the \l text - property as it doesn't require any copying or conversion of the - TextField's internal string data. - */ - readonly property alias length: textInput.length - - /*! - \qmlproperty int TextField::maximumLength - - This property holds the maximum permitted length of the text in the - TextField. - - If the text is too long, it is truncated at the limit. - */ - property alias maximumLength: textInput.maximumLength - - /*! - \qmlproperty string TextField::placeholderText - - This property contains the text that is shown in the text field when the - text field is empty. - */ - property alias placeholderText: placeholderTextComponent.text - - /*! - \qmlproperty bool TextField::readOnly - - Sets whether user input can modify the contents of the TextField. Read- - only is different from a disabled text field in that the text field will - appear to be active and text can still be selected and copied. - - If readOnly is set to \c true, then user input will not affect the text. - Any bindings or attempts to set the text property will still - work, however. - */ - property alias readOnly: textInput.readOnly - Accessible.readOnly: readOnly - - /*! - \qmlproperty bool TextField::selectByMouse - \since QtQuick.Controls 1.3 - - This property determines if the user can select the text with the - mouse. - - The default value is \c true. - */ - property bool selectByMouse: true - - /*! - \qmlproperty string TextField::selectedText - - Provides the text currently selected in the text input. - - It is equivalent to the following snippet, but is faster and easier - to use. - - \code - myTextField.text.toString().substring(myTextField.selectionStart, myTextField.selectionEnd); - \endcode - */ - readonly property alias selectedText: textInput.selectedText - - /*! - \qmlproperty int TextField::selectionEnd - - The cursor position after the last character in the current selection. - - This property is read-only. To change the selection, use - select(start,end), selectAll(), or selectWord(). - - \sa selectionStart, cursorPosition, selectedText - */ - readonly property alias selectionEnd: textInput.selectionEnd - - /*! - \qmlproperty int TextField::selectionStart - - The cursor position before the first character in the current selection. - - This property is read-only. To change the selection, use select(start,end), - selectAll(), or selectWord(). - - \sa selectionEnd, cursorPosition, selectedText - */ - readonly property alias selectionStart: textInput.selectionStart - - /*! - \qmlproperty string TextField::text - - This property contains the text in the TextField. - */ - property alias text: textInput.text - - /*! - \qmlproperty Validator TextField::validator - - Allows you to set a validator on the TextField. When a validator is set, - the TextField will only accept input which leaves the text property in - an intermediate state. The accepted signal will only be sent - if the text is in an acceptable state when enter is pressed. - - Currently supported validators are \l[QtQuick]{IntValidator}, - \l[QtQuick]{DoubleValidator}, and \l[QtQuick]{RegExpValidator}. An - example of using validators is shown below, which allows input of - integers between 11 and 31 into the text input: - - \code - import QtQuick 2.2 - import QtQuick.Controls 1.2 - - TextField { - validator: IntValidator {bottom: 11; top: 31;} - focus: true - } - \endcode - - \sa acceptableInput, inputMask, accepted - */ - property alias validator: textInput.validator - - /*! - \since QtQuick.Controls 1.3 - - This property contains the edit \l Menu for working - with text selection. Set it to \c null if no menu - is wanted. - */ - property Component menu: textInput.editMenu.defaultMenu - - /*! - \qmlsignal TextField::accepted() - - This signal is emitted when the Return or Enter key is pressed. - Note that if there is a \l validator or \l inputMask set on the text - field, the signal will only be emitted if the input is in an acceptable - state. - - The corresponding handler is \c onAccepted. - */ - signal accepted() - - /*! - \qmlsignal TextField::editingFinished() - \since QtQuick.Controls 1.1 - - This signal is emitted when the Return or Enter key is pressed or - the text field loses focus. Note that if there is a validator or - inputMask set on the text field and enter/return is pressed, this - signal will only be emitted if the input follows - the inputMask and the validator returns an acceptable state. - - The corresponding handler is \c onEditingFinished. - */ - signal editingFinished() - - /*! - \qmlmethod void TextField::copy() - - Copies the currently selected text to the system clipboard. - */ - function copy() { - textInput.copy() - } - - /*! - \qmlmethod void TextField::cut() - - Moves the currently selected text to the system clipboard. - */ - function cut() { - textInput.cut() - } - - /*! - \qmlmethod void TextField::deselect() - - Removes active text selection. - */ - function deselect() { - textInput.deselect(); - } - - /*! - \qmlmethod string TextField::getText(int start, int end) - - Removes the section of text that is between the \a start and \a end - positions from the TextField. - */ - function getText(start, end) { - return textInput.getText(start, end); - } - - /*! - \qmlmethod void TextField::insert(int position, string text) - - Inserts \a text into the TextField at \a position. - */ - function insert(position, text) { - textInput.insert(position, text); - } - - /*! - \qmlmethod bool TextField::isRightToLeft(int start, int end) - - Returns \c true if the natural reading direction of the editor text - found between positions \a start and \a end is right to left. - */ - function isRightToLeft(start, end) { - return textInput.isRightToLeft(start, end); - } - - /*! - \qmlmethod void TextField::paste() - - Replaces the currently selected text by the contents of the system - clipboard. - */ - function paste() { - textInput.paste() - } - - /*! - \qmlmethod void TextField::redo() - - Performs the last operation if redo is \l {canRedo}{available}. - */ - function redo() { - textInput.redo(); - } - - /*! - \qmlmethod void TextField::remove(int start, int end) - \since QtQuick.Controls 1.4 - - Removes the section of text that is between the \a start and \a end positions. - */ - function remove(start, end) { - textInput.remove(start, end) - } - - /*! - \qmlmethod void TextField::select(int start, int end) - - Causes the text from \a start to \a end to be selected. - - If either start or end is out of range, the selection is not changed. - - After calling select, selectionStart will become the lesser - and selectionEnd will become the greater (regardless of the order passed - to this method). - - \sa selectionStart, selectionEnd - */ - function select(start, end) { - textInput.select(start, end) - } - - /*! - \qmlmethod void TextField::selectAll() - - Causes all text to be selected. - */ - function selectAll() { - textInput.selectAll() - } - - /*! - \qmlmethod void TextField::selectWord() - - Causes the word closest to the current cursor position to be selected. - */ - function selectWord() { - textInput.selectWord() - } - - /*! - \qmlmethod void TextField::undo() - - Reverts the last operation if undo is \l {canUndo}{available}. undo() - deselects any current selection and updates the selection start to the - current cursor position. - */ - function undo() { - textInput.undo(); - } - - /*! \qmlproperty bool TextField::hovered - - This property holds whether the control is being hovered. - */ - readonly property alias hovered: textInput.containsMouse - - /*! \internal */ - property alias __contentHeight: textInput.contentHeight - - /*! \internal */ - property alias __contentWidth: textInput.contentWidth - - /*! \internal */ - property alias __baselineOffset: textInput.baselineOffset - - style: Settings.styleComponent(Settings.style, "TextFieldStyle.qml", textInput) - - activeFocusOnTab: true - - Accessible.name: text - Accessible.role: Accessible.EditableText - Accessible.description: placeholderText - - Text { - id: placeholderTextComponent - anchors.fill: textInput - font: textInput.font - horizontalAlignment: textInput.horizontalAlignment - verticalAlignment: textInput.verticalAlignment - opacity: !textInput.displayText && (!textInput.activeFocus || textInput.horizontalAlignment !== Qt.AlignHCenter) ? 1.0 : 0.0 - color: __panel ? __panel.placeholderTextColor : "darkgray" - clip: contentWidth > width; - elide: Text.ElideRight - renderType: __style ? __style.renderType : Text.NativeRendering - } - - TextInputWithHandles { - id: textInput - focus: true - passwordCharacter: __style && __style.passwordCharacter !== undefined ? __style.passwordCharacter - : Qt.styleHints.passwordMaskCharacter - selectionColor: __panel ? __panel.selectionColor : "darkred" - selectedTextColor: __panel ? __panel.selectedTextColor : "white" - - control: textfield - cursorHandle: __style ? __style.__cursorHandle : undefined - selectionHandle: __style ? __style.__selectionHandle : undefined - - font: __panel ? __panel.font : TextSingleton.font - anchors.leftMargin: __panel ? __panel.leftMargin : 0 - anchors.topMargin: __panel ? __panel.topMargin : 0 - anchors.rightMargin: __panel ? __panel.rightMargin : 0 - anchors.bottomMargin: __panel ? __panel.bottomMargin : 0 - - anchors.fill: parent - verticalAlignment: Text.AlignVCenter - - color: __panel ? __panel.textColor : "darkgray" - clip: contentWidth > width - - renderType: __style ? __style.renderType : Text.NativeRendering - - Keys.forwardTo: textfield - - EnterKey.type: control.EnterKey.type - - onAccepted: textfield.accepted() - - onEditingFinished: textfield.editingFinished() - } -} diff --git a/bin/QtQuick/Controls/ToolBar.qml b/bin/QtQuick/Controls/ToolBar.qml deleted file mode 100644 index 2e8a8fa31..000000000 --- a/bin/QtQuick/Controls/ToolBar.qml +++ /dev/null @@ -1,182 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ToolBar - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup applicationwindow - \ingroup controls - \brief Contains ToolButton and related controls. - - \image toolbar.png - - The common way of using ToolBar is in relation to \l ApplicationWindow. It - provides styling and is generally designed to work well with ToolButton as - well as other controls. - - Note that the ToolBar does not provide a layout of its own, but requires - you to position its contents, for instance by creating a \l RowLayout. - - If only a single item is used within the ToolBar, it will resize to fit the implicitHeight - of its contained item. This makes it particularly suitable for use together with layouts. - Otherwise the height is platform dependent. - - \code - ApplicationWindow { - ... - toolBar:ToolBar { - RowLayout { - anchors.fill: parent - ToolButton { - iconSource: "new.png" - } - ToolButton { - iconSource: "open.png" - } - ToolButton { - iconSource: "save-as.png" - } - Item { Layout.fillWidth: true } - CheckBox { - text: "Enabled" - checked: true - Layout.alignment: Qt.AlignRight - } - } - } - } - \endcode -*/ - -FocusScope { - id: toolbar - - activeFocusOnTab: false - Accessible.role: Accessible.ToolBar - LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft - LayoutMirroring.childrenInherit: true - - width: parent ? parent.width : implicitWidth - implicitWidth: container.leftMargin + container.rightMargin - + Math.max(container.layoutWidth, __panel ? __panel.implicitWidth : 0) - implicitHeight: container.topMargin + container.bottomMargin - + Math.max(container.layoutHeight, __panel ? __panel.implicitHeight : 0) - - /*! \internal */ - property Component style: Settings.styleComponent(Settings.style, "ToolBarStyle.qml", toolbar) - - /*! \internal */ - property alias __style: styleLoader.item - - /*! \internal */ - property Item __panel: panelLoader.item - - /*! \internal */ - default property alias __content: container.data - - /*! \internal */ - property var __menu - - /*! - \qmlproperty Item ToolBar::contentItem - - This property holds the content Item of the tool bar. - - Items declared as children of a ToolBar are automatically parented to the ToolBar's contentItem. - Items created dynamically need to be explicitly parented to the contentItem: - - \note The implicit size of the ToolBar is calculated based on the size of its content. If you want to anchor - items inside the tool bar, you must specify an explicit width and height on the ToolBar itself. - */ - readonly property alias contentItem: container - - data: [ - Loader { - id: panelLoader - anchors.fill: parent - sourceComponent: styleLoader.item ? styleLoader.item.panel : null - onLoaded: item.z = -1 - Loader { - id: styleLoader - property alias __control: toolbar - sourceComponent: style - } - }, - Item { - id: container - z: 1 - focus: true - anchors.fill: parent - - anchors.topMargin: topMargin - anchors.leftMargin: leftMargin - anchors.rightMargin: rightMargin + (buttonLoader.active ? buttonLoader.width + rightMargin : 0) - anchors.bottomMargin: bottomMargin - - property int topMargin: __style ? __style.padding.top : 0 - property int bottomMargin: __style ? __style.padding.bottom : 0 - property int leftMargin: __style ? __style.padding.left : 0 - property int rightMargin: __style ? __style.padding.right : 0 - - property Item layoutItem: container.children.length === 1 ? container.children[0] : null - property real layoutWidth: layoutItem ? (layoutItem.implicitWidth || layoutItem.width) + - (layoutItem.anchors.fill ? layoutItem.anchors.leftMargin + - layoutItem.anchors.rightMargin : 0) : 0 - property real layoutHeight: layoutItem ? (layoutItem.implicitHeight || layoutItem.height) + - (layoutItem.anchors.fill ? layoutItem.anchors.topMargin + - layoutItem.anchors.bottomMargin : 0) : 0 - }, - Loader { - id: buttonLoader - anchors.right: parent.right - anchors.rightMargin: container.rightMargin - anchors.verticalCenter: parent.verticalCenter - sourceComponent: ToolMenuButton { - menu: toolbar.__menu - panel: toolbar.__style.menuButton || null - } - active: !!__menu && __menu.items.length > 0 && !!__style.menuButton - } - ] -} diff --git a/bin/QtQuick/Controls/ToolButton.qml b/bin/QtQuick/Controls/ToolButton.qml deleted file mode 100644 index 1d5e474f2..000000000 --- a/bin/QtQuick/Controls/ToolButton.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ToolButton - \inqmlmodule QtQuick.Controls - \since 5.1 - \ingroup controls - \brief Provides a button type that is typically used within a ToolBar. - - \image toolbar.png - - ToolButton is functionally similar to \l {QtQuick.Controls::}{Button}, but - can provide a look that is more suitable within a \l ToolBar. - - \code - ApplicationWindow { - ... - toolBar: ToolBar { - RowLayout { - ToolButton { - iconSource: "new.png" - } - ToolButton { - iconSource: "open.png" - } - ToolButton { - iconSource: "save-as.png" - } - Item { Layout.fillWidth: true } - CheckBox { - text: "Enabled" - checked: true - } - } - } - } - \endcode - - You can create a custom appearance for a ToolButton by - assigning a \l {ButtonStyle}. -*/ - -Button { - id: button - style: Settings.styleComponent(Settings.style, "ToolButtonStyle.qml", button) -} diff --git a/bin/QtQuick/Controls/TreeView.qml b/bin/QtQuick/Controls/TreeView.qml deleted file mode 100644 index 2bedb9e64..000000000 --- a/bin/QtQuick/Controls/TreeView.qml +++ /dev/null @@ -1,421 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Controls module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.4 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Controls.Styles 1.2 -import QtQml.Models 2.2 - -BasicTableView { - id: root - - property var model: null - property alias rootIndex: modelAdaptor.rootIndex - - readonly property var currentIndex: modelAdaptor.updateCount, modelAdaptor.mapRowToModelIndex(__currentRow) - property ItemSelectionModel selection: null - - signal activated(var index) - signal clicked(var index) - signal doubleClicked(var index) - signal pressAndHold(var index) - signal expanded(var index) - signal collapsed(var index) - - function isExpanded(index) { - if (index.valid && index.model !== model) { - console.warn("TreeView.isExpanded: model and index mismatch") - return false - } - return modelAdaptor.isExpanded(index) - } - - function collapse(index) { - if (index.valid && index.model !== model) - console.warn("TreeView.collapse: model and index mismatch") - else - modelAdaptor.collapse(index) - } - - function expand(index) { - if (index.valid && index.model !== model) - console.warn("TreeView.expand: model and index mismatch") - else - modelAdaptor.expand(index) - } - - function indexAt(x, y) { - var obj = root.mapToItem(__listView.contentItem, x, y) - return modelAdaptor.mapRowToModelIndex(__listView.indexAt(obj.x, obj.y)) - } - - style: Settings.styleComponent(Settings.style, "TreeViewStyle.qml", root) - - // Internal stuff. Do not look - - __viewTypeName: "TreeView" - - __model: TreeModelAdaptor { - id: modelAdaptor - model: root.model - - // Hack to force re-evaluation of the currentIndex binding - property int updateCount: 0 - onModelReset: updateCount++ - onRowsInserted: updateCount++ - onRowsRemoved: updateCount++ - - onExpanded: root.expanded(index) - onCollapsed: root.collapsed(index) - } - - __itemDelegateLoader: TreeViewItemDelegateLoader { - __style: root.__style - __itemDelegate: root.itemDelegate - __mouseArea: mouseArea - __treeModel: modelAdaptor - } - - onSelectionModeChanged: if (!!selection) selection.clear() - - __mouseArea: MouseArea { - id: mouseArea - - parent: __listView - width: __listView.width - height: __listView.height - z: -1 - propagateComposedEvents: true - focus: true - // If there is not a touchscreen, keep the flickable from eating our mouse drags. - // If there is a touchscreen, flicking is possible, but selection can be done only by tapping, not by dragging. - preventStealing: !Settings.hasTouchScreen - - property var clickedIndex: undefined - property var pressedIndex: undefined - property bool selectOnRelease: false - property int pressedColumn: -1 - readonly property alias currentRow: root.__currentRow - readonly property alias currentIndex: root.currentIndex - - // Handle vertical scrolling whem dragging mouse outside boundaries - property int autoScroll: 0 // 0 -> do nothing; 1 -> increment; 2 -> decrement - property bool shiftPressed: false // forward shift key state to the autoscroll timer - - Timer { - running: mouseArea.autoScroll !== 0 && __verticalScrollBar.visible - interval: 20 - repeat: true - onTriggered: { - var oldPressedIndex = mouseArea.pressedIndex - var row - if (mouseArea.autoScroll === 1) { - __listView.incrementCurrentIndexBlocking(); - row = __listView.indexAt(0, __listView.height + __listView.contentY) - if (row === -1) - row = __listView.count - 1 - } else { - __listView.decrementCurrentIndexBlocking(); - row = __listView.indexAt(0, __listView.contentY) - } - - var index = modelAdaptor.mapRowToModelIndex(row) - if (index !== oldPressedIndex) { - mouseArea.pressedIndex = index - var modifiers = mouseArea.shiftPressed ? Qt.ShiftModifier : Qt.NoModifier - mouseArea.mouseSelect(index, modifiers, true /* drag */) - } - } - } - - function mouseSelect(modelIndex, modifiers, drag) { - if (!selection) { - maybeWarnAboutSelectionMode() - return - } - - if (selectionMode) { - selection.setCurrentIndex(modelIndex, ItemSelectionModel.NoUpdate) - if (selectionMode === SelectionMode.SingleSelection) { - selection.select(modelIndex, ItemSelectionModel.ClearAndSelect) - } else { - var selectRowRange = (drag && (selectionMode === SelectionMode.MultiSelection - || (selectionMode === SelectionMode.ExtendedSelection - && modifiers & Qt.ControlModifier))) - || modifiers & Qt.ShiftModifier - var itemSelection = !selectRowRange || clickedIndex === modelIndex ? modelIndex - : modelAdaptor.selectionForRowRange(clickedIndex, modelIndex) - - if (selectionMode === SelectionMode.MultiSelection - || selectionMode === SelectionMode.ExtendedSelection && modifiers & Qt.ControlModifier) { - if (drag) - selection.select(itemSelection, ItemSelectionModel.ToggleCurrent) - else - selection.select(modelIndex, ItemSelectionModel.Toggle) - } else if (modifiers & Qt.ShiftModifier) { - selection.select(itemSelection, ItemSelectionModel.SelectCurrent) - } else { - clickedIndex = modelIndex // Needed only when drag is true - selection.select(modelIndex, ItemSelectionModel.ClearAndSelect) - } - } - } - } - - function keySelect(keyModifiers) { - if (selectionMode) { - if (!keyModifiers) - clickedIndex = currentIndex - if (!(keyModifiers & Qt.ControlModifier)) - mouseSelect(currentIndex, keyModifiers, keyModifiers & Qt.ShiftModifier) - } - } - - function selected(row) { - if (selectionMode === SelectionMode.NoSelection) - return false - - var modelIndex = null - if (!!selection) { - modelIndex = modelAdaptor.mapRowToModelIndex(row) - if (modelIndex.valid) { - if (selectionMode === SelectionMode.SingleSelection) - return selection.currentIndex === modelIndex - return selection.hasSelection && selection.isSelected(modelIndex) - } else { - return false - } - } - - return row === currentRow - && (selectionMode === SelectionMode.SingleSelection - || (selectionMode > SelectionMode.SingleSelection && !selection)) - } - - function branchDecorationContains(x, y) { - var clickedItem = __listView.itemAt(0, y + __listView.contentY) - if (!(clickedItem && clickedItem.rowItem)) - return false - var branchDecoration = clickedItem.rowItem.branchDecoration - if (!branchDecoration) - return false - var pos = mapToItem(branchDecoration, x, y) - return branchDecoration.contains(Qt.point(pos.x, pos.y)) - } - - function maybeWarnAboutSelectionMode() { - if (selectionMode > SelectionMode.SingleSelection) - console.warn("TreeView: Non-single selection is not supported without an ItemSelectionModel.") - } - - onPressed: { - var pressedRow = __listView.indexAt(0, mouseY + __listView.contentY) - pressedIndex = modelAdaptor.mapRowToModelIndex(pressedRow) - pressedColumn = __listView.columnAt(mouseX) - selectOnRelease = false - __listView.forceActiveFocus() - if (pressedRow === -1 - || Settings.hasTouchScreen - || branchDecorationContains(mouse.x, mouse.y)) { - return - } - if (selectionMode === SelectionMode.ExtendedSelection - && selection.isSelected(pressedIndex)) { - selectOnRelease = true - return - } - __listView.currentIndex = pressedRow - if (!clickedIndex) - clickedIndex = pressedIndex - mouseSelect(pressedIndex, mouse.modifiers, false) - if (!mouse.modifiers) - clickedIndex = pressedIndex - } - - onReleased: { - if (selectOnRelease) { - var releasedRow = __listView.indexAt(0, mouseY + __listView.contentY) - var releasedIndex = modelAdaptor.mapRowToModelIndex(releasedRow) - if (releasedRow >= 0 && releasedIndex === pressedIndex) - mouseSelect(pressedIndex, mouse.modifiers, false) - } - pressedIndex = undefined - pressedColumn = -1 - autoScroll = 0 - selectOnRelease = false - } - - onPositionChanged: { - // NOTE: Testing for pressed is not technically needed, at least - // until we decide to support tooltips or some other hover feature - if (mouseY > __listView.height && pressed) { - if (autoScroll === 1) return; - autoScroll = 1 - } else if (mouseY < 0 && pressed) { - if (autoScroll === 2) return; - autoScroll = 2 - } else { - autoScroll = 0 - } - - if (pressed && containsMouse) { - var oldPressedIndex = pressedIndex - var pressedRow = __listView.indexAt(0, mouseY + __listView.contentY) - pressedIndex = modelAdaptor.mapRowToModelIndex(pressedRow) - pressedColumn = __listView.columnAt(mouseX) - if (pressedRow > -1 && oldPressedIndex !== pressedIndex) { - __listView.currentIndex = pressedRow - mouseSelect(pressedIndex, mouse.modifiers, true /* drag */) - } - } - } - - onExited: { - pressedIndex = undefined - pressedColumn = -1 - selectOnRelease = false - } - - onCanceled: { - pressedIndex = undefined - pressedColumn = -1 - autoScroll = 0 - selectOnRelease = false - } - - onClicked: { - var clickIndex = __listView.indexAt(0, mouseY + __listView.contentY) - if (clickIndex > -1) { - var modelIndex = modelAdaptor.mapRowToModelIndex(clickIndex) - if (branchDecorationContains(mouse.x, mouse.y)) { - if (modelAdaptor.isExpanded(modelIndex)) - modelAdaptor.collapse(modelIndex) - else - modelAdaptor.expand(modelIndex) - } else { - if (Settings.hasTouchScreen) { - // compensate for the fact that onPressed didn't select on press: do it here instead - pressedIndex = modelAdaptor.mapRowToModelIndex(clickIndex) - pressedColumn = __listView.columnAt(mouseX) - selectOnRelease = false - __listView.forceActiveFocus() - __listView.currentIndex = clickIndex - if (!clickedIndex) - clickedIndex = pressedIndex - mouseSelect(pressedIndex, mouse.modifiers, false) - if (!mouse.modifiers) - clickedIndex = pressedIndex - } - if (root.__activateItemOnSingleClick && !mouse.modifiers) - root.activated(modelIndex) - } - root.clicked(modelIndex) - } - } - - onDoubleClicked: { - var clickIndex = __listView.indexAt(0, mouseY + __listView.contentY) - if (clickIndex > -1) { - var modelIndex = modelAdaptor.mapRowToModelIndex(clickIndex) - if (!root.__activateItemOnSingleClick) - root.activated(modelIndex) - root.doubleClicked(modelIndex) - } - } - - onPressAndHold: { - var pressIndex = __listView.indexAt(0, mouseY + __listView.contentY) - if (pressIndex > -1) { - var modelIndex = modelAdaptor.mapRowToModelIndex(pressIndex) - root.pressAndHold(modelIndex) - } - } - - Keys.forwardTo: [root] - - Keys.onUpPressed: { - event.accepted = __listView.decrementCurrentIndexBlocking() - keySelect(event.modifiers) - } - - Keys.onDownPressed: { - event.accepted = __listView.incrementCurrentIndexBlocking() - keySelect(event.modifiers) - } - - Keys.onRightPressed: { - if (root.currentIndex.valid) - root.expand(currentIndex) - else - event.accepted = false - } - - Keys.onLeftPressed: { - if (root.currentIndex.valid) - root.collapse(currentIndex) - else - event.accepted = false - } - - Keys.onReturnPressed: { - if (root.currentIndex.valid) - root.activated(currentIndex) - else - event.accepted = false - } - - Keys.onPressed: { - __listView.scrollIfNeeded(event.key) - - if (event.key === Qt.Key_A && event.modifiers & Qt.ControlModifier - && !!selection && selectionMode > SelectionMode.SingleSelection) { - var sel = modelAdaptor.selectionForRowRange(0, __listView.count - 1) - selection.select(sel, ItemSelectionModel.SelectCurrent) - } else if (event.key === Qt.Key_Shift) { - shiftPressed = true - } - } - - Keys.onReleased: { - if (event.key === Qt.Key_Shift) - shiftPressed = false - } - } -} diff --git a/bin/QtQuick/Controls/plugins.qmltypes b/bin/QtQuick/Controls/plugins.qmltypes deleted file mode 100644 index 0242497c1..000000000 --- a/bin/QtQuick/Controls/plugins.qmltypes +++ /dev/null @@ -1,3439 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable QtQuick.Controls 1.5' - -Module { - dependencies: [ - "QtGraphicalEffects 1.12", - "QtQml 2.14", - "QtQml.Models 2.2", - "QtQuick 2.9", - "QtQuick.Controls.Styles 1.4", - "QtQuick.Extras 1.4", - "QtQuick.Layouts 1.1", - "QtQuick.Window 2.2" - ] - Component { - name: "QAbstractItemModel" - prototype: "QObject" - exports: ["QtQuick.Controls.Private/AbstractItemModel 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "LayoutChangeHint" - values: { - "NoLayoutChangeHint": 0, - "VerticalSortHint": 1, - "HorizontalSortHint": 2 - } - } - Enum { - name: "CheckIndexOption" - values: { - "NoOption": 0, - "IndexIsValid": 1, - "DoNotUseParent": 2, - "ParentIsInvalid": 4 - } - } - Signal { - name: "dataChanged" - Parameter { name: "topLeft"; type: "QModelIndex" } - Parameter { name: "bottomRight"; type: "QModelIndex" } - Parameter { name: "roles"; type: "QVector" } - } - Signal { - name: "dataChanged" - Parameter { name: "topLeft"; type: "QModelIndex" } - Parameter { name: "bottomRight"; type: "QModelIndex" } - } - Signal { - name: "headerDataChanged" - Parameter { name: "orientation"; type: "Qt::Orientation" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "layoutChanged" - Parameter { name: "parents"; type: "QList" } - Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } - } - Signal { - name: "layoutChanged" - Parameter { name: "parents"; type: "QList" } - } - Signal { name: "layoutChanged" } - Signal { - name: "layoutAboutToBeChanged" - Parameter { name: "parents"; type: "QList" } - Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } - } - Signal { - name: "layoutAboutToBeChanged" - Parameter { name: "parents"; type: "QList" } - } - Signal { name: "layoutAboutToBeChanged" } - Signal { - name: "rowsAboutToBeInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsAboutToBeInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { name: "modelAboutToBeReset" } - Signal { name: "modelReset" } - Signal { - name: "rowsAboutToBeMoved" - Parameter { name: "sourceParent"; type: "QModelIndex" } - Parameter { name: "sourceStart"; type: "int" } - Parameter { name: "sourceEnd"; type: "int" } - Parameter { name: "destinationParent"; type: "QModelIndex" } - Parameter { name: "destinationRow"; type: "int" } - } - Signal { - name: "rowsMoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - Parameter { name: "destination"; type: "QModelIndex" } - Parameter { name: "row"; type: "int" } - } - Signal { - name: "columnsAboutToBeMoved" - Parameter { name: "sourceParent"; type: "QModelIndex" } - Parameter { name: "sourceStart"; type: "int" } - Parameter { name: "sourceEnd"; type: "int" } - Parameter { name: "destinationParent"; type: "QModelIndex" } - Parameter { name: "destinationColumn"; type: "int" } - } - Signal { - name: "columnsMoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - Parameter { name: "destination"; type: "QModelIndex" } - Parameter { name: "column"; type: "int" } - } - Method { name: "submit"; type: "bool" } - Method { name: "revert" } - Method { - name: "hasIndex" - type: "bool" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "hasIndex" - type: "bool" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - } - Method { - name: "index" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "index" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - } - Method { - name: "parent" - type: "QModelIndex" - Parameter { name: "child"; type: "QModelIndex" } - } - Method { - name: "sibling" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "idx"; type: "QModelIndex" } - } - Method { - name: "rowCount" - type: "int" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "rowCount"; type: "int" } - Method { - name: "columnCount" - type: "int" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "columnCount"; type: "int" } - Method { - name: "hasChildren" - type: "bool" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "hasChildren"; type: "bool" } - Method { - name: "data" - type: "QVariant" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "data" - type: "QVariant" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "setData" - type: "bool" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "setData" - type: "bool" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "value"; type: "QVariant" } - } - Method { - name: "headerData" - type: "QVariant" - Parameter { name: "section"; type: "int" } - Parameter { name: "orientation"; type: "Qt::Orientation" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "headerData" - type: "QVariant" - Parameter { name: "section"; type: "int" } - Parameter { name: "orientation"; type: "Qt::Orientation" } - } - Method { - name: "fetchMore" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "canFetchMore" - type: "bool" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "flags" - type: "Qt::ItemFlags" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "hits"; type: "int" } - Parameter { name: "flags"; type: "Qt::MatchFlags" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "hits"; type: "int" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - } - } - Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } - Component { - name: "QQuickAbstractStyle1" - defaultProperty: "data" - prototype: "QObject" - exports: ["QtQuick.Controls.Private/AbstractStyle 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "padding"; type: "QQuickPadding1"; isReadonly: true; isPointer: true } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - } - Component { - name: "QQuickAction1" - prototype: "QObject" - exports: ["QtQuick.Controls/Action 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "text"; type: "string" } - Property { name: "iconSource"; type: "QUrl" } - Property { name: "iconName"; type: "string" } - Property { name: "__icon"; type: "QVariant"; isReadonly: true } - Property { name: "tooltip"; type: "string" } - Property { name: "enabled"; type: "bool" } - Property { name: "checkable"; type: "bool" } - Property { name: "checked"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } - Property { name: "shortcut"; type: "QVariant" } - Signal { - name: "triggered" - Parameter { name: "source"; type: "QObject"; isPointer: true } - } - Signal { name: "triggered" } - Signal { - name: "toggled" - Parameter { name: "checked"; type: "bool" } - } - Signal { - name: "shortcutChanged" - Parameter { name: "shortcut"; type: "QVariant" } - } - Signal { name: "iconChanged" } - Signal { - name: "tooltipChanged" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "trigger" - Parameter { name: "source"; type: "QObject"; isPointer: true } - } - Method { name: "trigger" } - } - Component { - name: "QQuickCalendarModel1" - prototype: "QAbstractListModel" - exports: ["QtQuick.Controls.Private/CalendarModel 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "visibleDate"; type: "QDate" } - Property { name: "locale"; type: "QLocale" } - Property { name: "count"; type: "int"; isReadonly: true } - Signal { - name: "visibleDateChanged" - Parameter { name: "visibleDate"; type: "QDate" } - } - Signal { - name: "localeChanged" - Parameter { name: "locale"; type: "QLocale" } - } - Signal { - name: "countChanged" - Parameter { name: "count"; type: "int" } - } - Method { - name: "dateAt" - type: "QDateTime" - Parameter { name: "index"; type: "int" } - } - Method { - name: "indexAt" - type: "int" - Parameter { name: "visibleDate"; type: "QDate" } - } - Method { - name: "weekNumberAt" - type: "int" - Parameter { name: "row"; type: "int" } - } - } - Component { - name: "QQuickControlSettings1" - prototype: "QObject" - exports: ["QtQuick.Controls.Private/Settings 1.0"] - isCreatable: false - isSingleton: true - exportMetaObjectRevisions: [0] - Property { name: "style"; type: "QUrl"; isReadonly: true } - Property { name: "styleName"; type: "string" } - Property { name: "stylePath"; type: "string" } - Property { name: "dpiScaleFactor"; type: "double"; isReadonly: true } - Property { name: "dragThreshold"; type: "double"; isReadonly: true } - Property { name: "hasTouchScreen"; type: "bool"; isReadonly: true } - Property { name: "isMobile"; type: "bool"; isReadonly: true } - Property { name: "hoverEnabled"; type: "bool"; isReadonly: true } - Method { - name: "styleComponent" - type: "QQmlComponent*" - Parameter { name: "styleDirUrl"; type: "QUrl" } - Parameter { name: "controlStyleName"; type: "string" } - Parameter { name: "control"; type: "QObject"; isPointer: true } - } - } - Component { - name: "QQuickControlsPrivate1" - prototype: "QObject" - exports: ["QtQuick.Controls.Private/Controls 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - attachedType: "QQuickControlsPrivate1Attached" - } - Component { - name: "QQuickControlsPrivate1Attached" - prototype: "QObject" - Property { name: "window"; type: "QQuickWindow"; isReadonly: true; isPointer: true } - } - Component { - name: "QQuickExclusiveGroup1" - defaultProperty: "__actions" - prototype: "QObject" - exports: ["QtQuick.Controls/ExclusiveGroup 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "current"; type: "QObject"; isPointer: true } - Property { name: "__actions"; type: "QQuickAction1"; isList: true; isReadonly: true } - Method { - name: "bindCheckable" - Parameter { name: "o"; type: "QObject"; isPointer: true } - } - Method { - name: "unbindCheckable" - Parameter { name: "o"; type: "QObject"; isPointer: true } - } - } - Component { - name: "QQuickMenu1" - defaultProperty: "items" - prototype: "QQuickMenuText1" - exports: ["QtQuick.Controls.Private/MenuPrivate 1.0"] - exportMetaObjectRevisions: [0] - Enum { - name: "MenuType" - values: { - "DefaultMenu": 0, - "EditMenu": 1 - } - } - Property { name: "title"; type: "string" } - Property { name: "items"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "__selectedIndex"; type: "int" } - Property { name: "__popupVisible"; type: "bool"; isReadonly: true } - Property { name: "__contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__minimumWidth"; type: "int" } - Property { name: "__font"; type: "QFont" } - Property { name: "__xOffset"; type: "double" } - Property { name: "__yOffset"; type: "double" } - Property { name: "__action"; type: "QQuickAction1"; isReadonly: true; isPointer: true } - Property { name: "__popupGeometry"; type: "QRect"; isReadonly: true } - Property { name: "__isProxy"; type: "bool" } - Signal { name: "aboutToShow" } - Signal { name: "aboutToHide" } - Signal { name: "popupVisibleChanged" } - Signal { name: "__menuPopupDestroyed" } - Signal { name: "menuContentItemChanged" } - Signal { name: "minimumWidthChanged" } - Signal { name: "__proxyChanged" } - Method { name: "__dismissMenu" } - Method { name: "__closeAndDestroy" } - Method { name: "__dismissAndDestroy" } - Method { name: "popup" } - Method { - name: "addItem" - type: "QQuickMenuItem1*" - Parameter { type: "string" } - } - Method { - name: "insertItem" - type: "QQuickMenuItem1*" - Parameter { type: "int" } - Parameter { type: "string" } - } - Method { name: "addSeparator" } - Method { - name: "insertSeparator" - Parameter { type: "int" } - } - Method { - name: "insertItem" - Parameter { type: "int" } - Parameter { type: "QQuickMenuBase1"; isPointer: true } - } - Method { - name: "removeItem" - Parameter { type: "QQuickMenuBase1"; isPointer: true } - } - Method { name: "clear" } - Method { - name: "__popup" - Parameter { name: "targetRect"; type: "QRectF" } - Parameter { name: "atItemIndex"; type: "int" } - Parameter { name: "menuType"; type: "MenuType" } - } - Method { - name: "__popup" - Parameter { name: "targetRect"; type: "QRectF" } - Parameter { name: "atItemIndex"; type: "int" } - } - Method { - name: "__popup" - Parameter { name: "targetRect"; type: "QRectF" } - } - } - Component { - name: "QQuickMenuBar1" - defaultProperty: "menus" - prototype: "QObject" - exports: ["QtQuick.Controls.Private/MenuBarPrivate 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "menus"; type: "QQuickMenu1"; isList: true; isReadonly: true } - Property { name: "__contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__parentWindow"; type: "QQuickWindow"; isPointer: true } - Property { name: "__isNative"; type: "bool" } - Signal { name: "nativeChanged" } - Signal { name: "contentItemChanged" } - } - Component { - name: "QQuickMenuBase1" - prototype: "QObject" - exports: ["QtQuick.Controls/MenuBase 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "visible"; type: "bool" } - Property { name: "type"; type: "QQuickMenuItemType1::MenuItemType"; isReadonly: true } - Property { name: "__parentMenu"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "__isNative"; type: "bool"; isReadonly: true } - Property { name: "__visualItem"; type: "QQuickItem"; isPointer: true } - } - Component { - name: "QQuickMenuItem1" - prototype: "QQuickMenuText1" - exports: ["QtQuick.Controls/MenuItem 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "text"; type: "string" } - Property { name: "checkable"; type: "bool" } - Property { name: "checked"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } - Property { name: "shortcut"; type: "QVariant" } - Property { name: "action"; type: "QQuickAction1"; isPointer: true } - Signal { name: "triggered" } - Signal { - name: "toggled" - Parameter { name: "checked"; type: "bool" } - } - Method { name: "trigger" } - } - Component { - name: "QQuickMenuItemType1" - exports: ["QtQuick.Controls/MenuItemType 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "MenuItemType" - values: { - "Separator": 0, - "Item": 1, - "Menu": 2, - "ScrollIndicator": 3 - } - } - } - Component { - name: "QQuickMenuSeparator1" - prototype: "QQuickMenuBase1" - exports: ["QtQuick.Controls/MenuSeparator 1.0"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickMenuText1" - prototype: "QQuickMenuBase1" - Property { name: "enabled"; type: "bool" } - Property { name: "iconSource"; type: "QUrl" } - Property { name: "iconName"; type: "string" } - Property { name: "__icon"; type: "QVariant"; isReadonly: true } - Signal { name: "__textChanged" } - } - Component { - name: "QQuickPadding1" - prototype: "QObject" - exports: ["QtQuick.Controls.Private/Padding 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "left"; type: "int" } - Property { name: "top"; type: "int" } - Property { name: "right"; type: "int" } - Property { name: "bottom"; type: "int" } - Method { - name: "setLeft" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setTop" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setRight" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setBottom" - Parameter { name: "arg"; type: "int" } - } - } - Component { - name: "QQuickPopupWindow1" - defaultProperty: "popupContentItem" - prototype: "QQuickWindow" - exports: ["QtQuick.Controls.Private/PopupWindow 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "popupContentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "parentItem"; type: "QQuickItem"; isPointer: true } - Signal { name: "popupDismissed" } - Signal { name: "geometryChanged" } - Method { name: "show" } - Method { name: "dismissPopup" } - } - Component { - name: "QQuickRangeModel1" - prototype: "QObject" - exports: ["QtQuick.Controls.Private/RangeModel 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "value"; type: "double" } - Property { name: "minimumValue"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "stepSize"; type: "double" } - Property { name: "position"; type: "double" } - Property { name: "positionAtMinimum"; type: "double" } - Property { name: "positionAtMaximum"; type: "double" } - Property { name: "inverted"; type: "bool" } - Signal { - name: "valueChanged" - Parameter { name: "value"; type: "double" } - } - Signal { - name: "positionChanged" - Parameter { name: "position"; type: "double" } - } - Signal { - name: "stepSizeChanged" - Parameter { name: "stepSize"; type: "double" } - } - Signal { - name: "invertedChanged" - Parameter { name: "inverted"; type: "bool" } - } - Signal { - name: "minimumChanged" - Parameter { name: "min"; type: "double" } - } - Signal { - name: "maximumChanged" - Parameter { name: "max"; type: "double" } - } - Signal { - name: "positionAtMinimumChanged" - Parameter { name: "min"; type: "double" } - } - Signal { - name: "positionAtMaximumChanged" - Parameter { name: "max"; type: "double" } - } - Method { name: "toMinimum" } - Method { name: "toMaximum" } - Method { - name: "setValue" - Parameter { name: "value"; type: "double" } - } - Method { - name: "setPosition" - Parameter { name: "position"; type: "double" } - } - Method { name: "increaseSingleStep" } - Method { name: "decreaseSingleStep" } - Method { - name: "valueForPosition" - type: "double" - Parameter { name: "position"; type: "double" } - } - Method { - name: "positionForValue" - type: "double" - Parameter { name: "value"; type: "double" } - } - } - Component { - name: "QQuickRangedDate1" - prototype: "QObject" - exports: ["QtQuick.Controls.Private/RangedDate 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "date"; type: "QDateTime" } - Property { name: "minimumDate"; type: "QDateTime" } - Property { name: "maximumDate"; type: "QDateTime" } - } - Component { - name: "QQuickRootItem" - defaultProperty: "data" - prototype: "QQuickItem" - Method { - name: "setWidth" - Parameter { name: "w"; type: "int" } - } - Method { - name: "setHeight" - Parameter { name: "h"; type: "int" } - } - } - Component { - name: "QQuickScenePosListener1" - prototype: "QObject" - exports: ["QtQuick.Controls.Private/ScenePosListener 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "item"; type: "QQuickItem"; isPointer: true } - Property { name: "scenePos"; type: "QPointF"; isReadonly: true } - Property { name: "enabled"; type: "bool" } - } - Component { - name: "QQuickSelectionMode1" - exports: ["QtQuick.Controls/SelectionMode 1.1"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "SelectionMode" - values: { - "NoSelection": 0, - "SingleSelection": 1, - "ExtendedSelection": 2, - "MultiSelection": 3, - "ContiguousSelection": 4 - } - } - } - Component { - name: "QQuickSpinBoxValidator1" - prototype: "QValidator" - exports: ["QtQuick.Controls.Private/SpinBoxValidator 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "text"; type: "string"; isReadonly: true } - Property { name: "value"; type: "double" } - Property { name: "minimumValue"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "decimals"; type: "int" } - Property { name: "stepSize"; type: "double" } - Property { name: "prefix"; type: "string" } - Property { name: "suffix"; type: "string" } - Method { name: "increment" } - Method { name: "decrement" } - } - Component { - name: "QQuickStack1" - prototype: "QObject" - exports: ["QtQuick.Controls/Stack 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "Status" - values: { - "Inactive": 0, - "Deactivating": 1, - "Activating": 2, - "Active": 3 - } - } - Property { name: "index"; type: "int"; isReadonly: true } - Property { name: "__index"; type: "int" } - Property { name: "status"; type: "Status"; isReadonly: true } - Property { name: "__status"; type: "Status" } - Property { name: "view"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "__view"; type: "QQuickItem"; isPointer: true } - } - Component { - name: "QQuickStyleItem1" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.Private/StyleItem 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "border"; type: "QQuickPadding1"; isReadonly: true; isPointer: true } - Property { name: "sunken"; type: "bool" } - Property { name: "raised"; type: "bool" } - Property { name: "active"; type: "bool" } - Property { name: "selected"; type: "bool" } - Property { name: "hasFocus"; type: "bool" } - Property { name: "on"; type: "bool" } - Property { name: "hover"; type: "bool" } - Property { name: "horizontal"; type: "bool" } - Property { name: "isTransient"; type: "bool" } - Property { name: "elementType"; type: "string" } - Property { name: "text"; type: "string" } - Property { name: "activeControl"; type: "string" } - Property { name: "style"; type: "string"; isReadonly: true } - Property { name: "hints"; type: "QVariantMap" } - Property { name: "properties"; type: "QVariantMap" } - Property { name: "font"; type: "QFont"; isReadonly: true } - Property { name: "minimum"; type: "int" } - Property { name: "maximum"; type: "int" } - Property { name: "value"; type: "int" } - Property { name: "step"; type: "int" } - Property { name: "paintMargins"; type: "int" } - Property { name: "contentWidth"; type: "int" } - Property { name: "contentHeight"; type: "int" } - Property { name: "textureWidth"; type: "int" } - Property { name: "textureHeight"; type: "int" } - Signal { name: "transientChanged" } - Signal { name: "infoChanged" } - Signal { name: "hintChanged" } - Signal { - name: "contentWidthChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "contentHeightChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "textureWidthChanged" - Parameter { name: "w"; type: "int" } - } - Signal { - name: "textureHeightChanged" - Parameter { name: "h"; type: "int" } - } - Method { - name: "pixelMetric" - type: "int" - Parameter { type: "string" } - } - Method { - name: "styleHint" - type: "QVariant" - Parameter { type: "string" } - } - Method { name: "updateSizeHint" } - Method { name: "updateRect" } - Method { name: "updateBaselineOffset" } - Method { name: "updateItem" } - Method { - name: "hitTest" - type: "string" - Parameter { name: "x"; type: "int" } - Parameter { name: "y"; type: "int" } - } - Method { - name: "subControlRect" - type: "QRectF" - Parameter { name: "subcontrolString"; type: "string" } - } - Method { - name: "elidedText" - type: "string" - Parameter { name: "text"; type: "string" } - Parameter { name: "elideMode"; type: "int" } - Parameter { name: "width"; type: "int" } - } - Method { - name: "hasThemeIcon" - type: "bool" - Parameter { type: "string" } - } - Method { - name: "textWidth" - type: "double" - Parameter { type: "string" } - } - Method { - name: "textHeight" - type: "double" - Parameter { type: "string" } - } - } - Component { - name: "QQuickTooltip1" - prototype: "QObject" - exports: ["QtQuick.Controls.Private/Tooltip 1.0"] - isCreatable: false - isSingleton: true - exportMetaObjectRevisions: [0] - Method { - name: "showText" - Parameter { name: "item"; type: "QQuickItem"; isPointer: true } - Parameter { name: "pos"; type: "QPointF" } - Parameter { name: "text"; type: "string" } - } - Method { name: "hideText" } - } - Component { - name: "QQuickTreeModelAdaptor1" - prototype: "QAbstractListModel" - exports: ["QtQuick.Controls.Private/TreeModelAdaptor 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } - Property { name: "rootIndex"; type: "QModelIndex" } - Signal { - name: "modelChanged" - Parameter { name: "model"; type: "QAbstractItemModel"; isPointer: true } - } - Signal { - name: "expanded" - Parameter { name: "index"; type: "QModelIndex" } - } - Signal { - name: "collapsed" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "expand" - Parameter { type: "QModelIndex" } - } - Method { - name: "collapse" - Parameter { type: "QModelIndex" } - } - Method { - name: "setModel" - Parameter { name: "model"; type: "QAbstractItemModel"; isPointer: true } - } - Method { - name: "mapRowToModelIndex" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - } - Method { - name: "selectionForRowRange" - type: "QItemSelection" - Parameter { name: "fromIndex"; type: "QModelIndex" } - Parameter { name: "toIndex"; type: "QModelIndex" } - } - Method { - name: "isExpanded" - type: "bool" - Parameter { type: "QModelIndex" } - } - } - Component { - name: "QQuickWheelArea1" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Controls.Private/WheelArea 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "verticalDelta"; type: "double" } - Property { name: "horizontalDelta"; type: "double" } - Property { name: "horizontalMinimumValue"; type: "double" } - Property { name: "horizontalMaximumValue"; type: "double" } - Property { name: "verticalMinimumValue"; type: "double" } - Property { name: "verticalMaximumValue"; type: "double" } - Property { name: "horizontalValue"; type: "double" } - Property { name: "verticalValue"; type: "double" } - Property { name: "scrollSpeed"; type: "double" } - Property { name: "active"; type: "bool" } - Property { name: "inverted"; type: "bool"; isReadonly: true } - Signal { name: "verticalWheelMoved" } - Signal { name: "horizontalWheelMoved" } - } - Component { - prototype: "QQuickWindowQmlImpl" - name: "QtQuick.Controls/ApplicationWindow 1.0" - exports: ["QtQuick.Controls/ApplicationWindow 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "menuBar"; type: "MenuBar_QMLTYPE_4"; isPointer: true } - Property { name: "toolBar"; type: "QQuickItem"; isPointer: true } - Property { name: "statusBar"; type: "QQuickItem"; isPointer: true } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__topBottomMargins"; type: "double" } - Property { name: "__qwindowsize_max"; type: "double"; isReadonly: true } - Property { name: "__width"; type: "double" } - Property { name: "__height"; type: "double" } - Property { name: "contentItem"; type: "ContentItem_QMLTYPE_2"; isReadonly: true; isPointer: true } - Property { name: "__style"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "__panel"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - } - Component { - prototype: "QObject" - name: "QtQuick.Controls.Styles/ApplicationWindowStyle 1.3" - exports: ["QtQuick.Controls.Styles/ApplicationWindowStyle 1.3"] - exportMetaObjectRevisions: [3] - isComposite: true - Property { - name: "control" - type: "ApplicationWindow_QMLTYPE_14" - isReadonly: true - isPointer: true - } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/BusyIndicator 1.1" - exports: ["QtQuick.Controls/BusyIndicator 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { name: "running"; type: "bool" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/BusyIndicatorStyle 1.1" - exports: ["QtQuick.Controls.Styles/BusyIndicatorStyle 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "BusyIndicator_QMLTYPE_21"; isReadonly: true; isPointer: true } - Property { name: "indicator"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/Button 1.0" - exports: ["QtQuick.Controls/Button 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "isDefault"; type: "bool" } - Property { name: "menu"; type: "Menu_QMLTYPE_55"; isPointer: true } - Property { name: "checkable"; type: "bool" } - Property { name: "checked"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } - Property { name: "action"; type: "QQuickAction1"; isPointer: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "text"; type: "string" } - Property { name: "tooltip"; type: "string" } - Property { name: "iconSource"; type: "QUrl" } - Property { name: "iconName"; type: "string" } - Property { name: "__position"; type: "string" } - Property { name: "__iconOverriden"; type: "bool"; isReadonly: true } - Property { name: "__action"; type: "QQuickAction1"; isPointer: true } - Property { name: "__iconAction"; type: "QQuickAction1"; isReadonly: true; isPointer: true } - Property { name: "__behavior"; type: "QVariant" } - Property { name: "__effectivePressed"; type: "bool" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Signal { name: "clicked" } - Method { name: "accessiblePressAction"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/ButtonStyle 1.0" - exports: ["QtQuick.Controls.Styles/ButtonStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "Button_QMLTYPE_60"; isReadonly: true; isPointer: true } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "label"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/Calendar 1.2" - exports: ["QtQuick.Controls/Calendar 1.2"] - exportMetaObjectRevisions: [2] - isComposite: true - defaultProperty: "data" - Property { name: "visibleMonth"; type: "int" } - Property { name: "visibleYear"; type: "int" } - Property { name: "frameVisible"; type: "bool" } - Property { name: "weekNumbersVisible"; type: "bool" } - Property { name: "navigationBarVisible"; type: "bool" } - Property { name: "dayOfWeekFormat"; type: "int" } - Property { name: "locale"; type: "QVariant" } - Property { name: "__model"; type: "QQuickCalendarModel1"; isPointer: true } - Property { name: "selectedDate"; type: "QDateTime" } - Property { name: "minimumDate"; type: "QDateTime" } - Property { name: "maximumDate"; type: "QDateTime" } - Property { name: "__locale"; type: "QVariant" } - Signal { - name: "hovered" - Parameter { name: "date"; type: "QDateTime" } - } - Signal { - name: "pressed" - Parameter { name: "date"; type: "QDateTime" } - } - Signal { - name: "released" - Parameter { name: "date"; type: "QDateTime" } - } - Signal { - name: "clicked" - Parameter { name: "date"; type: "QDateTime" } - } - Signal { - name: "doubleClicked" - Parameter { name: "date"; type: "QDateTime" } - } - Signal { - name: "pressAndHold" - Parameter { name: "date"; type: "QDateTime" } - } - Method { name: "showPreviousMonth"; type: "QVariant" } - Method { name: "showNextMonth"; type: "QVariant" } - Method { name: "showPreviousYear"; type: "QVariant" } - Method { name: "showNextYear"; type: "QVariant" } - Method { name: "__selectPreviousMonth"; type: "QVariant" } - Method { name: "__selectNextMonth"; type: "QVariant" } - Method { name: "__selectPreviousWeek"; type: "QVariant" } - Method { name: "__selectNextWeek"; type: "QVariant" } - Method { name: "__selectFirstDayOfMonth"; type: "QVariant" } - Method { name: "__selectLastDayOfMonth"; type: "QVariant" } - Method { name: "__selectPreviousDay"; type: "QVariant" } - Method { name: "__selectNextDay"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/Calendar 1.6" - exports: ["QtQuick.Controls/Calendar 1.6"] - exportMetaObjectRevisions: [6] - isComposite: true - defaultProperty: "data" - Property { name: "visibleMonth"; type: "int" } - Property { name: "visibleYear"; type: "int" } - Property { name: "frameVisible"; type: "bool" } - Property { name: "weekNumbersVisible"; type: "bool" } - Property { name: "navigationBarVisible"; type: "bool" } - Property { name: "dayOfWeekFormat"; type: "int" } - Property { name: "locale"; type: "QVariant" } - Property { name: "__model"; type: "QQuickCalendarModel1"; isPointer: true } - Property { name: "selectedDate"; type: "QDateTime" } - Property { name: "minimumDate"; type: "QDateTime" } - Property { name: "maximumDate"; type: "QDateTime" } - Property { name: "__locale"; type: "QVariant" } - Signal { - name: "hovered" - Parameter { name: "date"; type: "QDateTime" } - } - Signal { - name: "pressed" - Parameter { name: "date"; type: "QDateTime" } - } - Signal { - name: "released" - Parameter { name: "date"; type: "QDateTime" } - } - Signal { - name: "clicked" - Parameter { name: "date"; type: "QDateTime" } - } - Signal { - name: "doubleClicked" - Parameter { name: "date"; type: "QDateTime" } - } - Signal { - name: "pressAndHold" - Parameter { name: "date"; type: "QDateTime" } - } - Method { name: "showPreviousMonth"; type: "QVariant" } - Method { name: "showNextMonth"; type: "QVariant" } - Method { name: "showPreviousYear"; type: "QVariant" } - Method { name: "showNextYear"; type: "QVariant" } - Method { name: "__selectPreviousMonth"; type: "QVariant" } - Method { name: "__selectNextMonth"; type: "QVariant" } - Method { name: "__selectPreviousWeek"; type: "QVariant" } - Method { name: "__selectNextWeek"; type: "QVariant" } - Method { name: "__selectFirstDayOfMonth"; type: "QVariant" } - Method { name: "__selectLastDayOfMonth"; type: "QVariant" } - Method { name: "__selectPreviousDay"; type: "QVariant" } - Method { name: "__selectNextDay"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/CalendarStyle 1.1" - exports: ["QtQuick.Controls.Styles/CalendarStyle 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "Calendar_QMLTYPE_65"; isReadonly: true; isPointer: true } - Property { name: "gridColor"; type: "QColor" } - Property { name: "gridVisible"; type: "bool" } - Property { name: "__gridLineWidth"; type: "double" } - Property { name: "__horizontalSeparatorColor"; type: "QColor" } - Property { name: "__verticalSeparatorColor"; type: "QColor" } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "navigationBar"; type: "QQmlComponent"; isPointer: true } - Property { name: "dayDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "dayOfWeekDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "weekNumberDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Method { - name: "__cellRectAt" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "__isValidDate" - type: "QVariant" - Parameter { name: "date"; type: "QVariant" } - } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/CheckBox 1.0" - exports: ["QtQuick.Controls/CheckBox 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "checkedState"; type: "int" } - Property { name: "partiallyCheckedEnabled"; type: "bool" } - Property { name: "__ignoreChecked"; type: "bool" } - Property { name: "__ignoreCheckedState"; type: "bool" } - Method { name: "__cycleCheckBoxStates"; type: "QVariant" } - Property { name: "checked"; type: "bool" } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } - Property { name: "text"; type: "string" } - Property { name: "tooltip"; type: "string" } - Property { name: "__cycleStatesHandler"; type: "QVariant" } - Property { name: "pressed"; type: "bool" } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Signal { name: "clicked" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/CheckBoxStyle 1.0" - exports: ["QtQuick.Controls.Styles/CheckBoxStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "CheckBox_QMLTYPE_88"; isReadonly: true; isPointer: true } - Property { name: "label"; type: "QQmlComponent"; isPointer: true } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "spacing"; type: "int" } - Property { name: "indicator"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/CircularButtonStyle 1.0" - exports: ["QtQuick.Controls.Styles/CircularButtonStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { - name: "__buttonHelper" - type: "CircularButtonStyleHelper_QMLTYPE_93" - isReadonly: true - isPointer: true - } - Property { name: "control"; type: "Button_QMLTYPE_60"; isReadonly: true; isPointer: true } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "label"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/CircularGaugeStyle 1.0" - exports: ["QtQuick.Controls.Styles/CircularGaugeStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "CircularGauge_QMLTYPE_97"; isReadonly: true; isPointer: true } - Property { name: "outerRadius"; type: "double"; isReadonly: true } - Property { name: "minimumValueAngle"; type: "double" } - Property { name: "maximumValueAngle"; type: "double" } - Property { name: "angleRange"; type: "double"; isReadonly: true } - Property { name: "needleRotation"; type: "double" } - Property { name: "tickmarkStepSize"; type: "double" } - Property { name: "tickmarkInset"; type: "double" } - Property { name: "tickmarkCount"; type: "int"; isReadonly: true } - Property { name: "minorTickmarkCount"; type: "int" } - Property { name: "minorTickmarkInset"; type: "double" } - Property { name: "labelInset"; type: "double" } - Property { name: "labelStepSize"; type: "double" } - Property { name: "labelCount"; type: "int"; isReadonly: true } - Property { name: "__protectedScope"; type: "QObject"; isPointer: true } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "tickmark"; type: "QQmlComponent"; isPointer: true } - Property { name: "minorTickmark"; type: "QQmlComponent"; isPointer: true } - Property { name: "tickmarkLabel"; type: "QQmlComponent"; isPointer: true } - Property { name: "needle"; type: "QQmlComponent"; isPointer: true } - Property { name: "foreground"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Method { - name: "valueToAngle" - type: "QVariant" - Parameter { name: "value"; type: "QVariant" } - } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/CircularTickmarkLabelStyle 1.0" - exports: ["QtQuick.Controls.Styles/CircularTickmarkLabelStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "outerRadius"; type: "double"; isReadonly: true } - Property { name: "__protectedScope"; type: "QObject"; isPointer: true } - Property { name: "tickmark"; type: "QQmlComponent"; isPointer: true } - Property { name: "minorTickmark"; type: "QQmlComponent"; isPointer: true } - Property { name: "tickmarkLabel"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/ComboBox 1.0" - exports: ["QtQuick.Controls/ComboBox 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "textRole"; type: "string" } - Property { name: "editable"; type: "bool" } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Property { name: "menu"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectByMouse"; type: "bool" } - Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } - Property { name: "__popup"; type: "QVariant" } - Property { name: "model"; type: "QVariant" } - Property { name: "currentIndex"; type: "int" } - Property { name: "currentText"; type: "string"; isReadonly: true } - Property { name: "editText"; type: "string" } - Property { name: "inputMethodHints"; type: "int" } - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "validator"; type: "QValidator"; isPointer: true } - Property { name: "acceptableInput"; type: "bool"; isReadonly: true } - Signal { name: "accepted" } - Signal { - name: "activated" - Parameter { name: "index"; type: "int" } - } - Method { - name: "textAt" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "find" - type: "QVariant" - Parameter { name: "text"; type: "QVariant" } - } - Method { name: "selectAll"; type: "QVariant" } - Method { name: "__selectPrevItem"; type: "QVariant" } - Method { name: "__selectNextItem"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/ComboBoxStyle 1.0" - exports: ["QtQuick.Controls.Styles/ComboBoxStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "renderType"; type: "int" } - Property { name: "font"; type: "QFont" } - Property { name: "textColor"; type: "QColor" } - Property { name: "selectionColor"; type: "QColor" } - Property { name: "selectedTextColor"; type: "QColor" } - Property { name: "control"; type: "ComboBox_QMLTYPE_120"; isReadonly: true; isPointer: true } - Property { name: "dropDownButtonWidth"; type: "int" } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "__editor"; type: "QQmlComponent"; isPointer: true } - Property { name: "label"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Property { name: "__dropDownStyle"; type: "QQmlComponent"; isPointer: true } - Property { name: "__popupStyle"; type: "QQmlComponent"; isPointer: true } - Property { name: "__cursorHandle"; type: "QQmlComponent"; isPointer: true } - Property { name: "__selectionHandle"; type: "QQmlComponent"; isPointer: true } - Property { name: "__cursorDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "drowDownButtonWidth"; type: "int" } - } - Component { - prototype: "QObject" - name: "QtQuick.Controls.Styles/CommonStyleHelper 1.0" - exports: ["QtQuick.Controls.Styles/CommonStyleHelper 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "buttonColorUpTop"; type: "QColor" } - Property { name: "buttonColorUpBottom"; type: "QColor" } - Property { name: "buttonColorDownTop"; type: "QColor" } - Property { name: "buttonColorDownBottom"; type: "QColor" } - Property { name: "textColorUp"; type: "QColor" } - Property { name: "textColorDown"; type: "QColor" } - Property { name: "textRaisedColorUp"; type: "QColor" } - Property { name: "textRaisedColorDown"; type: "QColor" } - Property { name: "offColor"; type: "QColor" } - Property { name: "offColorShine"; type: "QColor" } - Property { name: "onColor"; type: "QColor" } - Property { name: "onColorShine"; type: "QColor" } - Property { name: "inactiveColor"; type: "QColor" } - Property { name: "inactiveColorShine"; type: "QColor" } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/DelayButtonStyle 1.0" - exports: ["QtQuick.Controls.Styles/DelayButtonStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "DelayButton_QMLTYPE_159"; isReadonly: true; isPointer: true } - Property { name: "progressBarGradient"; type: "QQuickGradient"; isPointer: true } - Property { name: "progressBarDropShadowColor"; type: "QColor" } - Property { name: "foreground"; type: "QQmlComponent"; isPointer: true } - Property { - name: "__buttonHelper" - type: "CircularButtonStyleHelper_QMLTYPE_93" - isReadonly: true - isPointer: true - } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "label"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/DialStyle 1.1" - exports: ["QtQuick.Controls.Styles/DialStyle 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "Dial_QMLTYPE_165"; isReadonly: true; isPointer: true } - Property { name: "outerRadius"; type: "double"; isReadonly: true } - Property { name: "handleInset"; type: "double" } - Property { name: "tickmarkStepSize"; type: "double" } - Property { name: "tickmarkInset"; type: "double" } - Property { name: "tickmarkCount"; type: "int"; isReadonly: true } - Property { name: "minorTickmarkCount"; type: "int" } - Property { name: "minorTickmarkInset"; type: "double" } - Property { name: "labelInset"; type: "double" } - Property { name: "labelStepSize"; type: "double" } - Property { name: "labelCount"; type: "int"; isReadonly: true } - Property { name: "__tickmarkRadius"; type: "double"; isReadonly: true } - Property { name: "__handleRadius"; type: "double"; isReadonly: true } - Property { name: "__dragToSet"; type: "bool" } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "handle"; type: "QQmlComponent"; isPointer: true } - Property { name: "tickmark"; type: "QQmlComponent"; isPointer: true } - Property { name: "minorTickmark"; type: "QQmlComponent"; isPointer: true } - Property { name: "tickmarkLabel"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Method { - name: "valueToAngle" - type: "QVariant" - Parameter { name: "value"; type: "QVariant" } - } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/GaugeStyle 1.0" - exports: ["QtQuick.Controls.Styles/GaugeStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "Gauge_QMLTYPE_173"; isReadonly: true; isPointer: true } - Property { name: "valuePosition"; type: "double"; isReadonly: true } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "tickmark"; type: "QQmlComponent"; isPointer: true } - Property { name: "minorTickmark"; type: "QQmlComponent"; isPointer: true } - Property { name: "tickmarkLabel"; type: "QQmlComponent"; isPointer: true } - Property { name: "valueBar"; type: "QQmlComponent"; isPointer: true } - Property { name: "foreground"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/GroupBox 1.0" - exports: ["QtQuick.Controls/GroupBox 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "__content" - Property { name: "title"; type: "string" } - Property { name: "flat"; type: "bool" } - Property { name: "checkable"; type: "bool" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "checked"; type: "bool" } - Property { name: "__content"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "__checkbox"; type: "CheckBox_QMLTYPE_88"; isReadonly: true; isPointer: true } - Property { name: "__style"; type: "QObject"; isReadonly: true; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/HandleStyle 1.0" - exports: ["QtQuick.Controls.Styles/HandleStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "handle"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Property { name: "handleColorTop"; type: "QColor" } - Property { name: "handleColorBottom"; type: "QColor" } - Property { name: "handleColorBottomStop"; type: "double" } - Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } - } - Component { - prototype: "QObject" - name: "QtQuick.Controls.Styles/HandleStyleHelper 1.0" - exports: ["QtQuick.Controls.Styles/HandleStyleHelper 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - Property { name: "handleColorTop"; type: "QColor" } - Property { name: "handleColorBottom"; type: "QColor" } - Property { name: "handleColorBottomStop"; type: "double" } - Property { name: "handleRingColorTop"; type: "QColor" } - Property { name: "handleRingColorBottom"; type: "QColor" } - Method { - name: "paintHandle" - type: "QVariant" - Parameter { name: "ctx"; type: "QVariant" } - Parameter { name: "handleX"; type: "QVariant" } - Parameter { name: "handleY"; type: "QVariant" } - Parameter { name: "handleWidth"; type: "QVariant" } - Parameter { name: "handleHeight"; type: "QVariant" } - } - } - Component { - prototype: "QQuickText" - name: "QtQuick.Controls/Label 1.0" - exports: ["QtQuick.Controls/Label 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - } - Component { - prototype: "QQuickMenu1" - name: "QtQuick.Controls/Menu 1.0" - exports: ["QtQuick.Controls/Menu 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "items" - Property { name: "__selfComponent"; type: "QQmlComponent"; isPointer: true } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__usingDefaultStyle"; type: "bool" } - Property { name: "__parentContentItem"; type: "QVariant" } - Property { name: "__currentIndex"; type: "int" } - Method { - name: "addMenu" - type: "QVariant" - Parameter { name: "title"; type: "QVariant" } - } - Method { - name: "insertMenu" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - Parameter { name: "title"; type: "QVariant" } - } - } - Component { - prototype: "QQuickMenuBar1" - name: "QtQuick.Controls/MenuBar 1.0" - exports: ["QtQuick.Controls/MenuBar 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "menus" - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__menuBarComponent"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/MenuBarStyle 1.2" - exports: ["QtQuick.Controls.Styles/MenuBarStyle 1.2"] - exportMetaObjectRevisions: [2] - isComposite: true - defaultProperty: "data" - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "menuStyle"; type: "QQmlComponent"; isPointer: true } - Property { name: "font"; type: "QFont" } - Property { name: "__isNative"; type: "bool" } - Method { - name: "formatMnemonic" - type: "QVariant" - Parameter { name: "text"; type: "QVariant" } - Parameter { name: "underline"; type: "QVariant" } - } - Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/MenuStyle 1.2" - exports: ["QtQuick.Controls.Styles/MenuStyle 1.2"] - exportMetaObjectRevisions: [2] - isComposite: true - defaultProperty: "data" - Property { name: "submenuOverlap"; type: "int" } - Property { name: "submenuPopupDelay"; type: "int" } - Property { name: "frame"; type: "QQmlComponent"; isPointer: true } - Property { name: "separator"; type: "QQmlComponent"; isPointer: true } - Property { name: "scrollIndicator"; type: "QQmlComponent"; isPointer: true } - Property { name: "font"; type: "QFont" } - Property { name: "__menuItemType"; type: "string" } - Property { name: "__backgroundColor"; type: "QColor" } - Property { name: "__borderColor"; type: "QColor" } - Property { name: "__maxPopupHeight"; type: "int" } - Property { name: "__selectedBackgroundColor"; type: "QColor" } - Property { name: "__labelColor"; type: "QColor" } - Property { name: "__selectedLabelColor"; type: "QColor" } - Property { name: "__disabledLabelColor"; type: "QColor" } - Property { name: "__mirrored"; type: "bool"; isReadonly: true } - Property { name: "__leftLabelMargin"; type: "int" } - Property { name: "__rightLabelMargin"; type: "int" } - Property { name: "__minRightLabelSpacing"; type: "int" } - Property { name: "__scrollerStyle"; type: "QQmlComponent"; isPointer: true } - Property { name: "menuItemPanel"; type: "QQmlComponent"; isPointer: true } - Property { - name: "itemDelegate" - type: "MenuItemSubControls_QMLTYPE_125" - isReadonly: true - isPointer: true - } - Method { - name: "formatMnemonic" - type: "QVariant" - Parameter { name: "text"; type: "QVariant" } - Parameter { name: "underline"; type: "QVariant" } - } - Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/PieMenuStyle 1.3" - exports: ["QtQuick.Controls.Styles/PieMenuStyle 1.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "PieMenu_QMLTYPE_192"; isReadonly: true; isPointer: true } - Property { name: "backgroundColor"; type: "QColor" } - Property { name: "selectionColor"; type: "QColor" } - Property { name: "shadowColor"; type: "QColor" } - Property { name: "shadowRadius"; type: "double" } - Property { name: "shadowSpread"; type: "double" } - Property { name: "radius"; type: "double"; isReadonly: true } - Property { name: "cancelRadius"; type: "double" } - Property { name: "startAngle"; type: "double" } - Property { name: "endAngle"; type: "double" } - Property { name: "__iconOffset"; type: "double"; isReadonly: true } - Property { name: "__selectableRadius"; type: "double"; isReadonly: true } - Property { name: "__implicitWidth"; type: "int" } - Property { name: "__implicitHeight"; type: "int" } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "cancel"; type: "QQmlComponent"; isPointer: true } - Property { name: "title"; type: "QQmlComponent"; isPointer: true } - Property { name: "menuItem"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Method { - name: "sectionStartAngle" - type: "QVariant" - Parameter { name: "itemIndex"; type: "QVariant" } - } - Method { - name: "sectionCenterAngle" - type: "QVariant" - Parameter { name: "itemIndex"; type: "QVariant" } - } - Method { - name: "sectionEndAngle" - type: "QVariant" - Parameter { name: "itemIndex"; type: "QVariant" } - } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/ProgressBar 1.0" - exports: ["QtQuick.Controls/ProgressBar 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "value"; type: "double" } - Property { name: "minimumValue"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "indeterminate"; type: "bool" } - Property { name: "orientation"; type: "int" } - Property { name: "__initialized"; type: "bool" } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Method { - name: "setValue" - type: "QVariant" - Parameter { name: "v"; type: "QVariant" } - } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/ProgressBarStyle 1.0" - exports: ["QtQuick.Controls.Styles/ProgressBarStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "ProgressBar_QMLTYPE_207"; isReadonly: true; isPointer: true } - Property { name: "currentProgress"; type: "double"; isReadonly: true } - Property { name: "progress"; type: "QQmlComponent"; isPointer: true } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/RadioButton 1.0" - exports: ["QtQuick.Controls/RadioButton 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "checked"; type: "bool" } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } - Property { name: "text"; type: "string" } - Property { name: "tooltip"; type: "string" } - Property { name: "__cycleStatesHandler"; type: "QVariant" } - Property { name: "pressed"; type: "bool" } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Signal { name: "clicked" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/RadioButtonStyle 1.0" - exports: ["QtQuick.Controls.Styles/RadioButtonStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "RadioButton_QMLTYPE_214"; isReadonly: true; isPointer: true } - Property { name: "label"; type: "QQmlComponent"; isPointer: true } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "spacing"; type: "int" } - Property { name: "indicator"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/ScrollView 1.0" - exports: ["QtQuick.Controls/ScrollView 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentItem" - Property { name: "frameVisible"; type: "bool" } - Property { name: "highlightOnFocus"; type: "bool" } - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__scrollBarTopMargin"; type: "int" } - Property { name: "__viewTopMargin"; type: "int" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } - Property { name: "horizontalScrollBarPolicy"; type: "int" } - Property { name: "verticalScrollBarPolicy"; type: "int" } - Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } - Property { - name: "__scroller" - type: "ScrollViewHelper_QMLTYPE_32" - isReadonly: true - isPointer: true - } - Property { name: "__verticalScrollbarOffset"; type: "int" } - Property { name: "__wheelAreaScrollSpeed"; type: "double" } - Property { - name: "__horizontalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - Property { - name: "__verticalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/ScrollViewStyle 1.0" - exports: ["QtQuick.Controls.Styles/ScrollViewStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "ScrollView_QMLTYPE_37"; isReadonly: true; isPointer: true } - Property { name: "corner"; type: "QQmlComponent"; isPointer: true } - Property { name: "scrollToClickedPosition"; type: "bool" } - Property { name: "transientScrollBars"; type: "bool" } - Property { name: "frame"; type: "QQmlComponent"; isPointer: true } - Property { name: "minimumHandleLength"; type: "int" } - Property { name: "handleOverlap"; type: "int" } - Property { name: "scrollBarBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "handle"; type: "QQmlComponent"; isPointer: true } - Property { name: "incrementControl"; type: "QQmlComponent"; isPointer: true } - Property { name: "decrementControl"; type: "QQmlComponent"; isPointer: true } - Property { name: "__scrollbar"; type: "QQmlComponent"; isPointer: true } - Property { name: "__externalScrollBars"; type: "bool" } - Property { name: "__scrollBarSpacing"; type: "int" } - Property { name: "__scrollBarFadeDelay"; type: "int" } - Property { name: "__scrollBarFadeDuration"; type: "int" } - Property { name: "__stickyScrollbars"; type: "bool" } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/Slider 1.0" - exports: ["QtQuick.Controls/Slider 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "orientation"; type: "int" } - Property { name: "updateValueWhileDragging"; type: "bool" } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "tickmarksEnabled"; type: "bool" } - Property { name: "__horizontal"; type: "bool" } - Property { name: "__handlePos"; type: "double" } - Property { name: "minimumValue"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Property { name: "stepSize"; type: "double" } - Property { name: "value"; type: "double" } - Property { name: "wheelEnabled"; type: "bool" } - Method { name: "accessibleIncreaseAction"; type: "QVariant" } - Method { name: "accessibleDecreaseAction"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/Slider 1.6" - exports: ["QtQuick.Controls/Slider 1.6"] - exportMetaObjectRevisions: [6] - isComposite: true - defaultProperty: "data" - Property { name: "orientation"; type: "int" } - Property { name: "updateValueWhileDragging"; type: "bool" } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "tickmarksEnabled"; type: "bool" } - Property { name: "__horizontal"; type: "bool" } - Property { name: "__handlePos"; type: "double" } - Property { name: "minimumValue"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Property { name: "stepSize"; type: "double" } - Property { name: "value"; type: "double" } - Property { name: "wheelEnabled"; type: "bool" } - Method { name: "accessibleIncreaseAction"; type: "QVariant" } - Method { name: "accessibleDecreaseAction"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/SliderStyle 1.0" - exports: ["QtQuick.Controls.Styles/SliderStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "Slider_QMLTYPE_218"; isReadonly: true; isPointer: true } - Property { name: "handle"; type: "QQmlComponent"; isPointer: true } - Property { name: "groove"; type: "QQmlComponent"; isPointer: true } - Property { name: "tickmarks"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/SpinBox 1.0" - exports: ["QtQuick.Controls/SpinBox 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "horizontalAlignment"; type: "int" } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Property { name: "selectByMouse"; type: "bool" } - Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } - Property { name: "menu"; type: "QQmlComponent"; isPointer: true } - Property { name: "value"; type: "double" } - Property { name: "minimumValue"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "stepSize"; type: "double" } - Property { name: "suffix"; type: "string" } - Property { name: "prefix"; type: "string" } - Property { name: "decimals"; type: "int" } - Property { name: "font"; type: "QFont" } - Property { name: "cursorPosition"; type: "int" } - Property { name: "__text"; type: "string" } - Property { name: "__baselineOffset"; type: "double" } - Signal { name: "editingFinished" } - Method { name: "__increment"; type: "QVariant" } - Method { name: "__decrement"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/SpinBoxStyle 1.1" - exports: ["QtQuick.Controls.Styles/SpinBoxStyle 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "SpinBox_QMLTYPE_238"; isReadonly: true; isPointer: true } - Property { name: "horizontalAlignment"; type: "int" } - Property { name: "textColor"; type: "QColor" } - Property { name: "selectionColor"; type: "QColor" } - Property { name: "selectedTextColor"; type: "QColor" } - Property { name: "renderType"; type: "int" } - Property { name: "font"; type: "QFont" } - Property { name: "incrementControl"; type: "QQmlComponent"; isPointer: true } - Property { name: "decrementControl"; type: "QQmlComponent"; isPointer: true } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Property { name: "__cursorHandle"; type: "QQmlComponent"; isPointer: true } - Property { name: "__selectionHandle"; type: "QQmlComponent"; isPointer: true } - Property { name: "__cursorDelegate"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickItem" - name: "QtQuick.Controls/SplitView 1.0" - exports: ["QtQuick.Controls/SplitView 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "__contents" - Property { name: "orientation"; type: "int" } - Property { name: "handleDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "resizing"; type: "bool" } - Property { name: "__contents"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "__items"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "__handles"; type: "QQuickItem"; isList: true; isReadonly: true } - Method { - name: "addItem" - type: "QVariant" - Parameter { name: "item"; type: "QVariant" } - } - Method { - name: "removeItem" - type: "QVariant" - Parameter { name: "item"; type: "QVariant" } - } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/StackView 1.0" - exports: ["QtQuick.Controls/StackView 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "initialItem"; type: "QVariant" } - Property { name: "busy"; type: "bool"; isReadonly: true } - Property { name: "delegate"; type: "StackViewDelegate_QMLTYPE_252"; isPointer: true } - Property { name: "__currentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__depth"; type: "int" } - Property { name: "__currentTransition"; type: "QVariant" } - Property { name: "__guard"; type: "bool" } - Property { name: "invalidItemReplacement"; type: "QQmlComponent"; isPointer: true } - Property { name: "depth"; type: "int"; isReadonly: true } - Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Method { - name: "push" - type: "QVariant" - Parameter { name: "item"; type: "QVariant" } - } - Method { - name: "pop" - type: "QVariant" - Parameter { name: "item"; type: "QVariant" } - } - Method { name: "clear"; type: "QVariant" } - Method { - name: "find" - type: "QVariant" - Parameter { name: "func"; type: "QVariant" } - Parameter { name: "onlySearchLoadedItems"; type: "QVariant" } - } - Method { - name: "get" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - Parameter { name: "dontLoad"; type: "QVariant" } - } - Method { name: "completeTransition"; type: "QVariant" } - Method { - name: "replace" - type: "QVariant" - Parameter { name: "item"; type: "QVariant" } - Parameter { name: "properties"; type: "QVariant" } - Parameter { name: "immediate"; type: "QVariant" } - } - Method { - name: "__recursionGuard" - type: "QVariant" - Parameter { name: "use"; type: "QVariant" } - } - Method { - name: "__loadElement" - type: "QVariant" - Parameter { name: "element"; type: "QVariant" } - } - Method { - name: "__resolveComponent" - type: "QVariant" - Parameter { name: "unknownObjectType"; type: "QVariant" } - Parameter { name: "element"; type: "QVariant" } - } - Method { - name: "__cleanup" - type: "QVariant" - Parameter { name: "element"; type: "QVariant" } - } - Method { - name: "__setStatus" - type: "QVariant" - Parameter { name: "item"; type: "QVariant" } - Parameter { name: "status"; type: "QVariant" } - } - Method { - name: "__performTransition" - type: "QVariant" - Parameter { name: "transition"; type: "QVariant" } - } - Method { name: "animationFinished"; type: "QVariant" } - } - Component { - prototype: "QObject" - name: "QtQuick.Controls/StackViewDelegate 1.0" - exports: ["QtQuick.Controls/StackViewDelegate 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - Property { name: "pushTransition"; type: "QQmlComponent"; isPointer: true } - Property { name: "popTransition"; type: "QQmlComponent"; isPointer: true } - Property { name: "replaceTransition"; type: "QQmlComponent"; isPointer: true } - Method { - name: "getTransition" - type: "QVariant" - Parameter { name: "properties"; type: "QVariant" } - } - Method { - name: "transitionFinished" - type: "QVariant" - Parameter { name: "properties"; type: "QVariant" } - } - } - Component { - prototype: "QQuickParallelAnimation" - name: "QtQuick.Controls/StackViewTransition 1.0" - exports: ["QtQuick.Controls/StackViewTransition 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "animations" - Property { name: "name"; type: "string" } - Property { name: "enterItem"; type: "QQuickItem"; isPointer: true } - Property { name: "exitItem"; type: "QQuickItem"; isPointer: true } - Property { name: "immediate"; type: "bool" } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/StatusBar 1.0" - exports: ["QtQuick.Controls/StatusBar 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "__content" - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "__style"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "__content"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/StatusBarStyle 1.0" - exports: ["QtQuick.Controls.Styles/StatusBarStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/StatusIndicatorStyle 1.1" - exports: ["QtQuick.Controls.Styles/StatusIndicatorStyle 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { - name: "control" - type: "StatusIndicator_QMLTYPE_261" - isReadonly: true - isPointer: true - } - Property { name: "color"; type: "QColor" } - Property { name: "indicator"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/Switch 1.1" - exports: ["QtQuick.Controls/Switch 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { name: "checked"; type: "bool" } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Signal { name: "clicked" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/SwitchStyle 1.1" - exports: ["QtQuick.Controls.Styles/SwitchStyle 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { name: "handle"; type: "QQmlComponent"; isPointer: true } - Property { name: "groove"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } - } - Component { - prototype: "QQuickLoader" - name: "QtQuick.Controls/Tab 1.0" - exports: ["QtQuick.Controls/Tab 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "component" - Property { name: "title"; type: "string" } - Property { name: "__inserted"; type: "bool" } - Property { name: "component"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/TabView 1.0" - exports: ["QtQuick.Controls/TabView 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "currentIndex"; type: "int" } - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "frameVisible"; type: "bool" } - Property { name: "tabsVisible"; type: "bool" } - Property { name: "tabPosition"; type: "int" } - Property { name: "__tabs"; type: "QQmlListModel"; isPointer: true } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__styleItem"; type: "QVariant" } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Method { - name: "addTab" - type: "QVariant" - Parameter { name: "title"; type: "QVariant" } - Parameter { name: "component"; type: "QVariant" } - } - Method { - name: "insertTab" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - Parameter { name: "title"; type: "QVariant" } - Parameter { name: "component"; type: "QVariant" } - } - Method { - name: "removeTab" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "moveTab" - type: "QVariant" - Parameter { name: "from"; type: "QVariant" } - Parameter { name: "to"; type: "QVariant" } - } - Method { - name: "getTab" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "__willRemoveIndex" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "__didInsertIndex" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { name: "__setOpacities"; type: "QVariant" } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/TabViewStyle 1.0" - exports: ["QtQuick.Controls.Styles/TabViewStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "TabView_QMLTYPE_280"; isReadonly: true; isPointer: true } - Property { name: "tabsMovable"; type: "bool" } - Property { name: "tabsAlignment"; type: "int" } - Property { name: "tabOverlap"; type: "int" } - Property { name: "frameOverlap"; type: "int" } - Property { name: "frame"; type: "QQmlComponent"; isPointer: true } - Property { name: "tab"; type: "QQmlComponent"; isPointer: true } - Property { name: "leftCorner"; type: "QQmlComponent"; isPointer: true } - Property { name: "rightCorner"; type: "QQmlComponent"; isPointer: true } - Property { name: "tabBar"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/TableView 1.0" - exports: ["QtQuick.Controls/TableView 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "__columns" - Property { name: "model"; type: "QVariant" } - Property { name: "rowCount"; type: "int"; isReadonly: true } - Property { name: "currentRow"; type: "int" } - Property { - name: "selection" - type: "TableViewSelection_QMLTYPE_308" - isReadonly: true - isPointer: true - } - Signal { - name: "activated" - Parameter { name: "row"; type: "int" } - } - Signal { - name: "clicked" - Parameter { name: "row"; type: "int" } - } - Signal { - name: "doubleClicked" - Parameter { name: "row"; type: "int" } - } - Signal { - name: "pressAndHold" - Parameter { name: "row"; type: "int" } - } - Method { - name: "positionViewAtRow" - type: "QVariant" - Parameter { name: "row"; type: "QVariant" } - Parameter { name: "mode"; type: "QVariant" } - } - Method { - name: "rowAt" - type: "QVariant" - Parameter { name: "x"; type: "QVariant" } - Parameter { name: "y"; type: "QVariant" } - } - Property { name: "alternatingRowColors"; type: "bool" } - Property { name: "headerVisible"; type: "bool" } - Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "rowDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "headerDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "sortIndicatorColumn"; type: "int" } - Property { name: "sortIndicatorVisible"; type: "bool" } - Property { name: "sortIndicatorOrder"; type: "int" } - Property { name: "selectionMode"; type: "int" } - Property { name: "__viewTypeName"; type: "string" } - Property { name: "__isTreeView"; type: "bool"; isReadonly: true } - Property { name: "__itemDelegateLoader"; type: "QQmlComponent"; isPointer: true } - Property { name: "__model"; type: "QVariant" } - Property { name: "__activateItemOnSingleClick"; type: "bool" } - Property { name: "__mouseArea"; type: "QQuickItem"; isPointer: true } - Property { name: "backgroundVisible"; type: "bool" } - Property { name: "contentHeader"; type: "QQmlComponent"; isPointer: true } - Property { name: "contentFooter"; type: "QQmlComponent"; isPointer: true } - Property { name: "columnCount"; type: "int"; isReadonly: true } - Property { name: "section"; type: "QQuickViewSection"; isReadonly: true; isPointer: true } - Property { name: "__columns"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "__currentRowItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "__currentRow"; type: "int" } - Property { name: "__listView"; type: "QQuickListView"; isReadonly: true; isPointer: true } - Method { - name: "addColumn" - type: "QVariant" - Parameter { name: "column"; type: "QVariant" } - } - Method { - name: "insertColumn" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - Parameter { name: "column"; type: "QVariant" } - } - Method { - name: "removeColumn" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "moveColumn" - type: "QVariant" - Parameter { name: "from"; type: "QVariant" } - Parameter { name: "to"; type: "QVariant" } - } - Method { - name: "getColumn" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { name: "resizeColumnsToContents"; type: "QVariant" } - Property { name: "frameVisible"; type: "bool" } - Property { name: "highlightOnFocus"; type: "bool" } - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__scrollBarTopMargin"; type: "int" } - Property { name: "__viewTopMargin"; type: "int" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } - Property { name: "horizontalScrollBarPolicy"; type: "int" } - Property { name: "verticalScrollBarPolicy"; type: "int" } - Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } - Property { - name: "__scroller" - type: "ScrollViewHelper_QMLTYPE_32" - isReadonly: true - isPointer: true - } - Property { name: "__verticalScrollbarOffset"; type: "int" } - Property { name: "__wheelAreaScrollSpeed"; type: "double" } - Property { - name: "__horizontalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - Property { - name: "__verticalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - } - Component { - prototype: "QObject" - name: "QtQuick.Controls/TableViewColumn 1.0" - exports: ["QtQuick.Controls/TableViewColumn 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - Property { name: "__view"; type: "QQuickItem"; isPointer: true } - Property { name: "__index"; type: "int" } - Property { name: "title"; type: "string" } - Property { name: "role"; type: "string" } - Property { name: "width"; type: "int" } - Property { name: "visible"; type: "bool" } - Property { name: "resizable"; type: "bool" } - Property { name: "movable"; type: "bool" } - Property { name: "elideMode"; type: "int" } - Property { name: "horizontalAlignment"; type: "int" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Method { name: "resizeToContents"; type: "QVariant" } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/TableViewStyle 1.0" - exports: ["QtQuick.Controls.Styles/TableViewStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "TableView_QMLTYPE_312"; isReadonly: true; isPointer: true } - Property { name: "textColor"; type: "QColor" } - Property { name: "backgroundColor"; type: "QColor" } - Property { name: "alternateBackgroundColor"; type: "QColor" } - Property { name: "highlightedTextColor"; type: "QColor" } - Property { name: "activateItemOnSingleClick"; type: "bool" } - Property { name: "headerDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "rowDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "__branchDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "__indentation"; type: "int" } - Property { name: "corner"; type: "QQmlComponent"; isPointer: true } - Property { name: "scrollToClickedPosition"; type: "bool" } - Property { name: "transientScrollBars"; type: "bool" } - Property { name: "frame"; type: "QQmlComponent"; isPointer: true } - Property { name: "minimumHandleLength"; type: "int" } - Property { name: "handleOverlap"; type: "int" } - Property { name: "scrollBarBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "handle"; type: "QQmlComponent"; isPointer: true } - Property { name: "incrementControl"; type: "QQmlComponent"; isPointer: true } - Property { name: "decrementControl"; type: "QQmlComponent"; isPointer: true } - Property { name: "__scrollbar"; type: "QQmlComponent"; isPointer: true } - Property { name: "__externalScrollBars"; type: "bool" } - Property { name: "__scrollBarSpacing"; type: "int" } - Property { name: "__scrollBarFadeDelay"; type: "int" } - Property { name: "__scrollBarFadeDuration"; type: "int" } - Property { name: "__stickyScrollbars"; type: "bool" } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/TextArea 1.0" - exports: ["QtQuick.Controls/TextArea 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } - Property { name: "tabChangesFocus"; type: "bool" } - Property { name: "selectByMouse"; type: "bool" } - Property { name: "menu"; type: "QQmlComponent"; isPointer: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "baseUrl"; type: "QUrl" } - Property { name: "canPaste"; type: "bool"; isReadonly: true } - Property { name: "canRedo"; type: "bool"; isReadonly: true } - Property { name: "canUndo"; type: "bool"; isReadonly: true } - Property { name: "textColor"; type: "QColor" } - Property { name: "cursorPosition"; type: "int" } - Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } - Property { name: "font"; type: "QFont" } - Property { name: "horizontalAlignment"; type: "int" } - Property { name: "effectiveHorizontalAlignment"; type: "int"; isReadonly: true } - Property { name: "verticalAlignment"; type: "int" } - Property { name: "inputMethodHints"; type: "int" } - Property { name: "length"; type: "int"; isReadonly: true } - Property { name: "lineCount"; type: "int"; isReadonly: true } - Property { name: "readOnly"; type: "bool" } - Property { name: "selectedText"; type: "string"; isReadonly: true } - Property { name: "selectionEnd"; type: "int"; isReadonly: true } - Property { name: "selectionStart"; type: "int"; isReadonly: true } - Property { name: "text"; type: "string" } - Property { name: "textFormat"; type: "int" } - Property { name: "wrapMode"; type: "int" } - Property { name: "selectByKeyboard"; type: "bool" } - Property { name: "hoveredLink"; type: "string"; isReadonly: true } - Property { name: "backgroundVisible"; type: "bool" } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "textMargin"; type: "double" } - Property { name: "contentWidth"; type: "double"; isReadonly: true } - Property { name: "contentHeight"; type: "double"; isReadonly: true } - Property { name: "textDocument"; type: "QQuickTextDocument"; isReadonly: true; isPointer: true } - Signal { - name: "linkActivated" - Parameter { name: "link"; type: "string" } - } - Signal { - name: "linkHovered" - Parameter { name: "link"; type: "string" } - } - Signal { name: "editingFinished" } - Method { - name: "append" - type: "QVariant" - Parameter { name: "string"; type: "QVariant" } - } - Method { name: "copy"; type: "QVariant" } - Method { name: "cut"; type: "QVariant" } - Method { name: "deselect"; type: "QVariant" } - Method { - name: "getFormattedText" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "getText" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "insert" - type: "QVariant" - Parameter { name: "position"; type: "QVariant" } - Parameter { name: "text"; type: "QVariant" } - } - Method { - name: "isRightToLeft" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "moveCursorSelection" - type: "QVariant" - Parameter { name: "position"; type: "QVariant" } - Parameter { name: "mode"; type: "QVariant" } - } - Method { name: "paste"; type: "QVariant" } - Method { - name: "positionAt" - type: "QVariant" - Parameter { name: "x"; type: "QVariant" } - Parameter { name: "y"; type: "QVariant" } - } - Method { - name: "positionToRectangle" - type: "QVariant" - Parameter { name: "position"; type: "QVariant" } - } - Method { name: "redo"; type: "QVariant" } - Method { - name: "remove" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "select" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { name: "selectAll"; type: "QVariant" } - Method { name: "selectWord"; type: "QVariant" } - Method { name: "undo"; type: "QVariant" } - Property { name: "frameVisible"; type: "bool" } - Property { name: "highlightOnFocus"; type: "bool" } - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__scrollBarTopMargin"; type: "int" } - Property { name: "__viewTopMargin"; type: "int" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } - Property { name: "horizontalScrollBarPolicy"; type: "int" } - Property { name: "verticalScrollBarPolicy"; type: "int" } - Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } - Property { - name: "__scroller" - type: "ScrollViewHelper_QMLTYPE_32" - isReadonly: true - isPointer: true - } - Property { name: "__verticalScrollbarOffset"; type: "int" } - Property { name: "__wheelAreaScrollSpeed"; type: "double" } - Property { - name: "__horizontalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - Property { - name: "__verticalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/TextArea 1.3" - exports: ["QtQuick.Controls/TextArea 1.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "data" - Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } - Property { name: "tabChangesFocus"; type: "bool" } - Property { name: "selectByMouse"; type: "bool" } - Property { name: "menu"; type: "QQmlComponent"; isPointer: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "baseUrl"; type: "QUrl" } - Property { name: "canPaste"; type: "bool"; isReadonly: true } - Property { name: "canRedo"; type: "bool"; isReadonly: true } - Property { name: "canUndo"; type: "bool"; isReadonly: true } - Property { name: "textColor"; type: "QColor" } - Property { name: "cursorPosition"; type: "int" } - Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } - Property { name: "font"; type: "QFont" } - Property { name: "horizontalAlignment"; type: "int" } - Property { name: "effectiveHorizontalAlignment"; type: "int"; isReadonly: true } - Property { name: "verticalAlignment"; type: "int" } - Property { name: "inputMethodHints"; type: "int" } - Property { name: "length"; type: "int"; isReadonly: true } - Property { name: "lineCount"; type: "int"; isReadonly: true } - Property { name: "readOnly"; type: "bool" } - Property { name: "selectedText"; type: "string"; isReadonly: true } - Property { name: "selectionEnd"; type: "int"; isReadonly: true } - Property { name: "selectionStart"; type: "int"; isReadonly: true } - Property { name: "text"; type: "string" } - Property { name: "textFormat"; type: "int" } - Property { name: "wrapMode"; type: "int" } - Property { name: "selectByKeyboard"; type: "bool" } - Property { name: "hoveredLink"; type: "string"; isReadonly: true } - Property { name: "backgroundVisible"; type: "bool" } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "textMargin"; type: "double" } - Property { name: "contentWidth"; type: "double"; isReadonly: true } - Property { name: "contentHeight"; type: "double"; isReadonly: true } - Property { name: "textDocument"; type: "QQuickTextDocument"; isReadonly: true; isPointer: true } - Signal { - name: "linkActivated" - Parameter { name: "link"; type: "string" } - } - Signal { - name: "linkHovered" - Parameter { name: "link"; type: "string" } - } - Signal { name: "editingFinished" } - Method { - name: "append" - type: "QVariant" - Parameter { name: "string"; type: "QVariant" } - } - Method { name: "copy"; type: "QVariant" } - Method { name: "cut"; type: "QVariant" } - Method { name: "deselect"; type: "QVariant" } - Method { - name: "getFormattedText" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "getText" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "insert" - type: "QVariant" - Parameter { name: "position"; type: "QVariant" } - Parameter { name: "text"; type: "QVariant" } - } - Method { - name: "isRightToLeft" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "moveCursorSelection" - type: "QVariant" - Parameter { name: "position"; type: "QVariant" } - Parameter { name: "mode"; type: "QVariant" } - } - Method { name: "paste"; type: "QVariant" } - Method { - name: "positionAt" - type: "QVariant" - Parameter { name: "x"; type: "QVariant" } - Parameter { name: "y"; type: "QVariant" } - } - Method { - name: "positionToRectangle" - type: "QVariant" - Parameter { name: "position"; type: "QVariant" } - } - Method { name: "redo"; type: "QVariant" } - Method { - name: "remove" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "select" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { name: "selectAll"; type: "QVariant" } - Method { name: "selectWord"; type: "QVariant" } - Method { name: "undo"; type: "QVariant" } - Property { name: "frameVisible"; type: "bool" } - Property { name: "highlightOnFocus"; type: "bool" } - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__scrollBarTopMargin"; type: "int" } - Property { name: "__viewTopMargin"; type: "int" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } - Property { name: "horizontalScrollBarPolicy"; type: "int" } - Property { name: "verticalScrollBarPolicy"; type: "int" } - Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } - Property { - name: "__scroller" - type: "ScrollViewHelper_QMLTYPE_32" - isReadonly: true - isPointer: true - } - Property { name: "__verticalScrollbarOffset"; type: "int" } - Property { name: "__wheelAreaScrollSpeed"; type: "double" } - Property { - name: "__horizontalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - Property { - name: "__verticalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/TextArea 1.5" - exports: ["QtQuick.Controls/TextArea 1.5"] - exportMetaObjectRevisions: [5] - isComposite: true - defaultProperty: "data" - Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } - Property { name: "tabChangesFocus"; type: "bool" } - Property { name: "selectByMouse"; type: "bool" } - Property { name: "menu"; type: "QQmlComponent"; isPointer: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "baseUrl"; type: "QUrl" } - Property { name: "canPaste"; type: "bool"; isReadonly: true } - Property { name: "canRedo"; type: "bool"; isReadonly: true } - Property { name: "canUndo"; type: "bool"; isReadonly: true } - Property { name: "textColor"; type: "QColor" } - Property { name: "cursorPosition"; type: "int" } - Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } - Property { name: "font"; type: "QFont" } - Property { name: "horizontalAlignment"; type: "int" } - Property { name: "effectiveHorizontalAlignment"; type: "int"; isReadonly: true } - Property { name: "verticalAlignment"; type: "int" } - Property { name: "inputMethodHints"; type: "int" } - Property { name: "length"; type: "int"; isReadonly: true } - Property { name: "lineCount"; type: "int"; isReadonly: true } - Property { name: "readOnly"; type: "bool" } - Property { name: "selectedText"; type: "string"; isReadonly: true } - Property { name: "selectionEnd"; type: "int"; isReadonly: true } - Property { name: "selectionStart"; type: "int"; isReadonly: true } - Property { name: "text"; type: "string" } - Property { name: "textFormat"; type: "int" } - Property { name: "wrapMode"; type: "int" } - Property { name: "selectByKeyboard"; type: "bool" } - Property { name: "hoveredLink"; type: "string"; isReadonly: true } - Property { name: "backgroundVisible"; type: "bool" } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "textMargin"; type: "double" } - Property { name: "contentWidth"; type: "double"; isReadonly: true } - Property { name: "contentHeight"; type: "double"; isReadonly: true } - Property { name: "textDocument"; type: "QQuickTextDocument"; isReadonly: true; isPointer: true } - Signal { - name: "linkActivated" - Parameter { name: "link"; type: "string" } - } - Signal { - name: "linkHovered" - Parameter { name: "link"; type: "string" } - } - Signal { name: "editingFinished" } - Method { - name: "append" - type: "QVariant" - Parameter { name: "string"; type: "QVariant" } - } - Method { name: "copy"; type: "QVariant" } - Method { name: "cut"; type: "QVariant" } - Method { name: "deselect"; type: "QVariant" } - Method { - name: "getFormattedText" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "getText" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "insert" - type: "QVariant" - Parameter { name: "position"; type: "QVariant" } - Parameter { name: "text"; type: "QVariant" } - } - Method { - name: "isRightToLeft" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "moveCursorSelection" - type: "QVariant" - Parameter { name: "position"; type: "QVariant" } - Parameter { name: "mode"; type: "QVariant" } - } - Method { name: "paste"; type: "QVariant" } - Method { - name: "positionAt" - type: "QVariant" - Parameter { name: "x"; type: "QVariant" } - Parameter { name: "y"; type: "QVariant" } - } - Method { - name: "positionToRectangle" - type: "QVariant" - Parameter { name: "position"; type: "QVariant" } - } - Method { name: "redo"; type: "QVariant" } - Method { - name: "remove" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "select" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { name: "selectAll"; type: "QVariant" } - Method { name: "selectWord"; type: "QVariant" } - Method { name: "undo"; type: "QVariant" } - Property { name: "frameVisible"; type: "bool" } - Property { name: "highlightOnFocus"; type: "bool" } - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__scrollBarTopMargin"; type: "int" } - Property { name: "__viewTopMargin"; type: "int" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } - Property { name: "horizontalScrollBarPolicy"; type: "int" } - Property { name: "verticalScrollBarPolicy"; type: "int" } - Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } - Property { - name: "__scroller" - type: "ScrollViewHelper_QMLTYPE_32" - isReadonly: true - isPointer: true - } - Property { name: "__verticalScrollbarOffset"; type: "int" } - Property { name: "__wheelAreaScrollSpeed"; type: "double" } - Property { - name: "__horizontalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - Property { - name: "__verticalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/TextAreaStyle 1.1" - exports: ["QtQuick.Controls.Styles/TextAreaStyle 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "TextArea_QMLTYPE_318"; isReadonly: true; isPointer: true } - Property { name: "font"; type: "QFont" } - Property { name: "textColor"; type: "QColor" } - Property { name: "selectionColor"; type: "QColor" } - Property { name: "selectedTextColor"; type: "QColor" } - Property { name: "backgroundColor"; type: "QColor" } - Property { name: "renderType"; type: "int" } - Property { name: "textMargin"; type: "double" } - Property { name: "__cursorHandle"; type: "QQmlComponent"; isPointer: true } - Property { name: "__selectionHandle"; type: "QQmlComponent"; isPointer: true } - Property { name: "__cursorDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "__editMenu"; type: "QQmlComponent"; isPointer: true } - Property { name: "corner"; type: "QQmlComponent"; isPointer: true } - Property { name: "scrollToClickedPosition"; type: "bool" } - Property { name: "transientScrollBars"; type: "bool" } - Property { name: "frame"; type: "QQmlComponent"; isPointer: true } - Property { name: "minimumHandleLength"; type: "int" } - Property { name: "handleOverlap"; type: "int" } - Property { name: "scrollBarBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "handle"; type: "QQmlComponent"; isPointer: true } - Property { name: "incrementControl"; type: "QQmlComponent"; isPointer: true } - Property { name: "decrementControl"; type: "QQmlComponent"; isPointer: true } - Property { name: "__scrollbar"; type: "QQmlComponent"; isPointer: true } - Property { name: "__externalScrollBars"; type: "bool" } - Property { name: "__scrollBarSpacing"; type: "int" } - Property { name: "__scrollBarFadeDelay"; type: "int" } - Property { name: "__scrollBarFadeDuration"; type: "int" } - Property { name: "__stickyScrollbars"; type: "bool" } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/TextField 1.0" - exports: ["QtQuick.Controls/TextField 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } - Property { name: "selectByMouse"; type: "bool" } - Property { name: "menu"; type: "QQmlComponent"; isPointer: true } - Property { name: "acceptableInput"; type: "bool"; isReadonly: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "canPaste"; type: "bool"; isReadonly: true } - Property { name: "canRedo"; type: "bool"; isReadonly: true } - Property { name: "canUndo"; type: "bool"; isReadonly: true } - Property { name: "textColor"; type: "QColor" } - Property { name: "cursorPosition"; type: "int" } - Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } - Property { name: "displayText"; type: "string"; isReadonly: true } - Property { name: "echoMode"; type: "int" } - Property { name: "font"; type: "QFont" } - Property { name: "horizontalAlignment"; type: "int" } - Property { name: "effectiveHorizontalAlignment"; type: "int"; isReadonly: true } - Property { name: "verticalAlignment"; type: "int" } - Property { name: "inputMask"; type: "string" } - Property { name: "inputMethodHints"; type: "int" } - Property { name: "length"; type: "int"; isReadonly: true } - Property { name: "maximumLength"; type: "int" } - Property { name: "placeholderText"; type: "string" } - Property { name: "readOnly"; type: "bool" } - Property { name: "selectedText"; type: "string"; isReadonly: true } - Property { name: "selectionEnd"; type: "int"; isReadonly: true } - Property { name: "selectionStart"; type: "int"; isReadonly: true } - Property { name: "text"; type: "string" } - Property { name: "validator"; type: "QValidator"; isPointer: true } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Property { name: "__contentHeight"; type: "double"; isReadonly: true } - Property { name: "__contentWidth"; type: "double"; isReadonly: true } - Property { name: "__baselineOffset"; type: "double" } - Signal { name: "accepted" } - Signal { name: "editingFinished" } - Method { name: "copy"; type: "QVariant" } - Method { name: "cut"; type: "QVariant" } - Method { name: "deselect"; type: "QVariant" } - Method { - name: "getText" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "insert" - type: "QVariant" - Parameter { name: "position"; type: "QVariant" } - Parameter { name: "text"; type: "QVariant" } - } - Method { - name: "isRightToLeft" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { name: "paste"; type: "QVariant" } - Method { name: "redo"; type: "QVariant" } - Method { - name: "remove" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { - name: "select" - type: "QVariant" - Parameter { name: "start"; type: "QVariant" } - Parameter { name: "end"; type: "QVariant" } - } - Method { name: "selectAll"; type: "QVariant" } - Method { name: "selectWord"; type: "QVariant" } - Method { name: "undo"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/TextFieldStyle 1.0" - exports: ["QtQuick.Controls.Styles/TextFieldStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "TextField_QMLTYPE_324"; isReadonly: true; isPointer: true } - Property { name: "font"; type: "QFont" } - Property { name: "textColor"; type: "QColor" } - Property { name: "selectionColor"; type: "QColor" } - Property { name: "selectedTextColor"; type: "QColor" } - Property { name: "passwordCharacter"; type: "string" } - Property { name: "renderType"; type: "int" } - Property { name: "placeholderTextColor"; type: "QColor" } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Property { name: "__cursorHandle"; type: "QQmlComponent"; isPointer: true } - Property { name: "__selectionHandle"; type: "QQmlComponent"; isPointer: true } - Property { name: "__cursorDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "__editMenu"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/ToggleButtonStyle 1.0" - exports: ["QtQuick.Controls.Styles/ToggleButtonStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "ToggleButton_QMLTYPE_327"; isReadonly: true; isPointer: true } - Property { name: "inactiveGradient"; type: "QQuickGradient"; isPointer: true } - Property { name: "checkedGradient"; type: "QQuickGradient"; isPointer: true } - Property { name: "uncheckedGradient"; type: "QQuickGradient"; isPointer: true } - Property { name: "checkedDropShadowColor"; type: "QColor" } - Property { name: "uncheckedDropShadowColor"; type: "QColor" } - Property { - name: "__buttonHelper" - type: "CircularButtonStyleHelper_QMLTYPE_93" - isReadonly: true - isPointer: true - } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "label"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/ToolBar 1.0" - exports: ["QtQuick.Controls/ToolBar 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "__content" - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "__menu"; type: "QVariant" } - Property { name: "__style"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "__content"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/ToolBarStyle 1.0" - exports: ["QtQuick.Controls.Styles/ToolBarStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "menuButton"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - Property { name: "control"; type: "QQuickItem"; isReadonly: true; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/ToolButton 1.0" - exports: ["QtQuick.Controls/ToolButton 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "isDefault"; type: "bool" } - Property { name: "menu"; type: "Menu_QMLTYPE_55"; isPointer: true } - Property { name: "checkable"; type: "bool" } - Property { name: "checked"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } - Property { name: "action"; type: "QQuickAction1"; isPointer: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "text"; type: "string" } - Property { name: "tooltip"; type: "string" } - Property { name: "iconSource"; type: "QUrl" } - Property { name: "iconName"; type: "string" } - Property { name: "__position"; type: "string" } - Property { name: "__iconOverriden"; type: "bool"; isReadonly: true } - Property { name: "__action"; type: "QQuickAction1"; isPointer: true } - Property { name: "__iconAction"; type: "QQuickAction1"; isReadonly: true; isPointer: true } - Property { name: "__behavior"; type: "QVariant" } - Property { name: "__effectivePressed"; type: "bool" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Signal { name: "clicked" } - Method { name: "accessiblePressAction"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/TreeView 1.4" - exports: ["QtQuick.Controls/TreeView 1.4"] - exportMetaObjectRevisions: [4] - isComposite: true - defaultProperty: "__columns" - Property { name: "model"; type: "QVariant" } - Property { name: "currentIndex"; type: "QVariant"; isReadonly: true } - Property { name: "selection"; type: "QItemSelectionModel"; isPointer: true } - Property { name: "rootIndex"; type: "QModelIndex" } - Signal { - name: "activated" - Parameter { name: "index"; type: "QVariant" } - } - Signal { - name: "clicked" - Parameter { name: "index"; type: "QVariant" } - } - Signal { - name: "doubleClicked" - Parameter { name: "index"; type: "QVariant" } - } - Signal { - name: "pressAndHold" - Parameter { name: "index"; type: "QVariant" } - } - Signal { - name: "expanded" - Parameter { name: "index"; type: "QVariant" } - } - Signal { - name: "collapsed" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "isExpanded" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "collapse" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "expand" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "indexAt" - type: "QVariant" - Parameter { name: "x"; type: "QVariant" } - Parameter { name: "y"; type: "QVariant" } - } - Property { name: "alternatingRowColors"; type: "bool" } - Property { name: "headerVisible"; type: "bool" } - Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "rowDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "headerDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "sortIndicatorColumn"; type: "int" } - Property { name: "sortIndicatorVisible"; type: "bool" } - Property { name: "sortIndicatorOrder"; type: "int" } - Property { name: "selectionMode"; type: "int" } - Property { name: "__viewTypeName"; type: "string" } - Property { name: "__isTreeView"; type: "bool"; isReadonly: true } - Property { name: "__itemDelegateLoader"; type: "QQmlComponent"; isPointer: true } - Property { name: "__model"; type: "QVariant" } - Property { name: "__activateItemOnSingleClick"; type: "bool" } - Property { name: "__mouseArea"; type: "QQuickItem"; isPointer: true } - Property { name: "backgroundVisible"; type: "bool" } - Property { name: "contentHeader"; type: "QQmlComponent"; isPointer: true } - Property { name: "contentFooter"; type: "QQmlComponent"; isPointer: true } - Property { name: "columnCount"; type: "int"; isReadonly: true } - Property { name: "section"; type: "QQuickViewSection"; isReadonly: true; isPointer: true } - Property { name: "__columns"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "__currentRowItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "__currentRow"; type: "int" } - Property { name: "__listView"; type: "QQuickListView"; isReadonly: true; isPointer: true } - Method { - name: "addColumn" - type: "QVariant" - Parameter { name: "column"; type: "QVariant" } - } - Method { - name: "insertColumn" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - Parameter { name: "column"; type: "QVariant" } - } - Method { - name: "removeColumn" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "moveColumn" - type: "QVariant" - Parameter { name: "from"; type: "QVariant" } - Parameter { name: "to"; type: "QVariant" } - } - Method { - name: "getColumn" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { name: "resizeColumnsToContents"; type: "QVariant" } - Property { name: "frameVisible"; type: "bool" } - Property { name: "highlightOnFocus"; type: "bool" } - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__scrollBarTopMargin"; type: "int" } - Property { name: "__viewTopMargin"; type: "int" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } - Property { name: "horizontalScrollBarPolicy"; type: "int" } - Property { name: "verticalScrollBarPolicy"; type: "int" } - Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } - Property { - name: "__scroller" - type: "ScrollViewHelper_QMLTYPE_32" - isReadonly: true - isPointer: true - } - Property { name: "__verticalScrollbarOffset"; type: "int" } - Property { name: "__wheelAreaScrollSpeed"; type: "double" } - Property { - name: "__horizontalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - Property { - name: "__verticalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Controls/TreeView 1.5" - exports: ["QtQuick.Controls/TreeView 1.5"] - exportMetaObjectRevisions: [5] - isComposite: true - defaultProperty: "__columns" - Property { name: "model"; type: "QVariant" } - Property { name: "currentIndex"; type: "QVariant"; isReadonly: true } - Property { name: "selection"; type: "QItemSelectionModel"; isPointer: true } - Property { name: "rootIndex"; type: "QModelIndex" } - Signal { - name: "activated" - Parameter { name: "index"; type: "QVariant" } - } - Signal { - name: "clicked" - Parameter { name: "index"; type: "QVariant" } - } - Signal { - name: "doubleClicked" - Parameter { name: "index"; type: "QVariant" } - } - Signal { - name: "pressAndHold" - Parameter { name: "index"; type: "QVariant" } - } - Signal { - name: "expanded" - Parameter { name: "index"; type: "QVariant" } - } - Signal { - name: "collapsed" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "isExpanded" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "collapse" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "expand" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "indexAt" - type: "QVariant" - Parameter { name: "x"; type: "QVariant" } - Parameter { name: "y"; type: "QVariant" } - } - Property { name: "alternatingRowColors"; type: "bool" } - Property { name: "headerVisible"; type: "bool" } - Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "rowDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "headerDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "sortIndicatorColumn"; type: "int" } - Property { name: "sortIndicatorVisible"; type: "bool" } - Property { name: "sortIndicatorOrder"; type: "int" } - Property { name: "selectionMode"; type: "int" } - Property { name: "__viewTypeName"; type: "string" } - Property { name: "__isTreeView"; type: "bool"; isReadonly: true } - Property { name: "__itemDelegateLoader"; type: "QQmlComponent"; isPointer: true } - Property { name: "__model"; type: "QVariant" } - Property { name: "__activateItemOnSingleClick"; type: "bool" } - Property { name: "__mouseArea"; type: "QQuickItem"; isPointer: true } - Property { name: "backgroundVisible"; type: "bool" } - Property { name: "contentHeader"; type: "QQmlComponent"; isPointer: true } - Property { name: "contentFooter"; type: "QQmlComponent"; isPointer: true } - Property { name: "columnCount"; type: "int"; isReadonly: true } - Property { name: "section"; type: "QQuickViewSection"; isReadonly: true; isPointer: true } - Property { name: "__columns"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "__currentRowItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "__currentRow"; type: "int" } - Property { name: "__listView"; type: "QQuickListView"; isReadonly: true; isPointer: true } - Method { - name: "addColumn" - type: "QVariant" - Parameter { name: "column"; type: "QVariant" } - } - Method { - name: "insertColumn" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - Parameter { name: "column"; type: "QVariant" } - } - Method { - name: "removeColumn" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "moveColumn" - type: "QVariant" - Parameter { name: "from"; type: "QVariant" } - Parameter { name: "to"; type: "QVariant" } - } - Method { - name: "getColumn" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { name: "resizeColumnsToContents"; type: "QVariant" } - Property { name: "frameVisible"; type: "bool" } - Property { name: "highlightOnFocus"; type: "bool" } - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__scrollBarTopMargin"; type: "int" } - Property { name: "__viewTopMargin"; type: "int" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "Style_QMLTYPE_3"; isPointer: true } - Property { name: "horizontalScrollBarPolicy"; type: "int" } - Property { name: "verticalScrollBarPolicy"; type: "int" } - Property { name: "viewport"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "flickableItem"; type: "QQuickFlickable"; isReadonly: true; isPointer: true } - Property { - name: "__scroller" - type: "ScrollViewHelper_QMLTYPE_32" - isReadonly: true - isPointer: true - } - Property { name: "__verticalScrollbarOffset"; type: "int" } - Property { name: "__wheelAreaScrollSpeed"; type: "double" } - Property { - name: "__horizontalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - Property { - name: "__verticalScrollBar" - type: "ScrollBar_QMLTYPE_28" - isReadonly: true - isPointer: true - } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/TreeViewStyle 1.4" - exports: ["QtQuick.Controls.Styles/TreeViewStyle 1.4"] - exportMetaObjectRevisions: [4] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "TreeView_QMLTYPE_350"; isReadonly: true; isPointer: true } - Property { name: "indentation"; type: "int" } - Property { name: "branchDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "textColor"; type: "QColor" } - Property { name: "backgroundColor"; type: "QColor" } - Property { name: "alternateBackgroundColor"; type: "QColor" } - Property { name: "highlightedTextColor"; type: "QColor" } - Property { name: "activateItemOnSingleClick"; type: "bool" } - Property { name: "headerDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "rowDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "itemDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "__branchDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "__indentation"; type: "int" } - Property { name: "corner"; type: "QQmlComponent"; isPointer: true } - Property { name: "scrollToClickedPosition"; type: "bool" } - Property { name: "transientScrollBars"; type: "bool" } - Property { name: "frame"; type: "QQmlComponent"; isPointer: true } - Property { name: "minimumHandleLength"; type: "int" } - Property { name: "handleOverlap"; type: "int" } - Property { name: "scrollBarBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "handle"; type: "QQmlComponent"; isPointer: true } - Property { name: "incrementControl"; type: "QQmlComponent"; isPointer: true } - Property { name: "decrementControl"; type: "QQmlComponent"; isPointer: true } - Property { name: "__scrollbar"; type: "QQmlComponent"; isPointer: true } - Property { name: "__externalScrollBars"; type: "bool" } - Property { name: "__scrollBarSpacing"; type: "int" } - Property { name: "__scrollBarFadeDelay"; type: "int" } - Property { name: "__scrollBarFadeDuration"; type: "int" } - Property { name: "__stickyScrollbars"; type: "bool" } - } - Component { - prototype: "QQuickAbstractStyle1" - name: "QtQuick.Controls.Styles/TumblerStyle 1.2" - exports: ["QtQuick.Controls.Styles/TumblerStyle 1.2"] - exportMetaObjectRevisions: [2] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "Tumbler_QMLTYPE_353"; isReadonly: true; isPointer: true } - Property { name: "spacing"; type: "double" } - Property { name: "visibleItemCount"; type: "int" } - Property { name: "__padding"; type: "double"; isReadonly: true } - Property { name: "__delegateHeight"; type: "double" } - Property { name: "__separatorWidth"; type: "double" } - Property { name: "background"; type: "QQmlComponent"; isPointer: true } - Property { name: "foreground"; type: "QQmlComponent"; isPointer: true } - Property { name: "separator"; type: "QQmlComponent"; isPointer: true } - Property { name: "columnForeground"; type: "QQmlComponent"; isPointer: true } - Property { name: "frame"; type: "QQmlComponent"; isPointer: true } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "highlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "panel"; type: "QQmlComponent"; isPointer: true } - } -} diff --git a/bin/QtQuick/Controls/qmldir b/bin/QtQuick/Controls/qmldir deleted file mode 100644 index 6641de865..000000000 --- a/bin/QtQuick/Controls/qmldir +++ /dev/null @@ -1,8 +0,0 @@ -module QtQuick.Controls -plugin qtquickcontrolsplugin -classname QtQuickControls1Plugin -typeinfo plugins.qmltypes -designersupported -depends QtQuick.Window 2.2 -depends QtQuick.Layouts 1.0 -depends QtQml 2.14 diff --git a/bin/QtQuick/Controls/qtquickcontrolsplugin.dll b/bin/QtQuick/Controls/qtquickcontrolsplugin.dll deleted file mode 100644 index 314f895fb..000000000 Binary files a/bin/QtQuick/Controls/qtquickcontrolsplugin.dll and /dev/null differ diff --git a/bin/QtQuick/Dialogs/DefaultColorDialog.qml b/bin/QtQuick/Dialogs/DefaultColorDialog.qml deleted file mode 100644 index f8c8e2204..000000000 --- a/bin/QtQuick/Dialogs/DefaultColorDialog.qml +++ /dev/null @@ -1,405 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.4 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Dialogs 1.0 -import QtQuick.Window 2.1 -import "qml" - -AbstractColorDialog { - id: root - property bool __valueSet: true // guard to prevent binding loops - function __setControlsFromColor() { - __valueSet = false - hueSlider.value = root.currentHue - saturationSlider.value = root.currentSaturation - lightnessSlider.value = root.currentLightness - alphaSlider.value = root.currentAlpha - crosshairs.x = root.currentLightness * paletteMap.width - crosshairs.y = (1.0 - root.currentSaturation) * paletteMap.height - __valueSet = true - } - onCurrentColorChanged: __setControlsFromColor() - - Rectangle { - id: content - implicitHeight: Math.min(root.__maximumDimension, Screen.pixelDensity * (usePaletteMap ? 120 : 50)) - implicitWidth: Math.min(root.__maximumDimension, usePaletteMap ? Screen.pixelDensity * (usePaletteMap ? 100 : 50) : implicitHeight * 1.5) - color: palette.window - focus: root.visible - property real bottomMinHeight: sliders.height + buttonRow.height + outerSpacing * 3 - property real spacing: 8 - property real outerSpacing: 12 - property bool usePaletteMap: true - - Keys.onPressed: { - event.accepted = true - switch (event.key) { - case Qt.Key_Return: - case Qt.Key_Select: - accept() - break - case Qt.Key_Escape: - case Qt.Key_Back: - reject() - break - case Qt.Key_C: - if (event.modifiers & Qt.ControlModifier) - colorField.copyAll() - break - case Qt.Key_V: - if (event.modifiers & Qt.ControlModifier) { - colorField.paste() - root.currentColor = colorField.text - } - break - default: - // do nothing - event.accepted = false - break - } - } - - SystemPalette { id: palette } - - Item { - id: paletteFrame - visible: content.usePaletteMap - anchors { - top: parent.top - left: parent.left - right: parent.right - margins: content.outerSpacing - } - height: Math.min(content.height - content.bottomMinHeight, content.width - content.outerSpacing * 2) - - Image { - id: paletteMap - x: (parent.width - width) / 2 - width: height - onWidthChanged: root.__setControlsFromColor() - height: parent.height - source: "images/checkers.png" - fillMode: Image.Tile - - // note we smoothscale the shader from a smaller version to improve performance - ShaderEffect { - id: map - width: 64 - height: 64 - opacity: alphaSlider.value - scale: paletteMap.width / width; - layer.enabled: true - layer.smooth: true - anchors.centerIn: parent - property real hue: hueSlider.value - - fragmentShader: content.OpenGLInfo.profile === OpenGLInfo.CoreProfile ? "#version 150 - in vec2 qt_TexCoord0; - uniform float qt_Opacity; - uniform float hue; - out vec4 fragColor; - - float hueToIntensity(float v1, float v2, float h) { - h = fract(h); - if (h < 1.0 / 6.0) - return v1 + (v2 - v1) * 6.0 * h; - else if (h < 1.0 / 2.0) - return v2; - else if (h < 2.0 / 3.0) - return v1 + (v2 - v1) * 6.0 * (2.0 / 3.0 - h); - - return v1; - } - - vec3 HSLtoRGB(vec3 color) { - float h = color.x; - float l = color.z; - float s = color.y; - - if (s < 1.0 / 256.0) - return vec3(l, l, l); - - float v1; - float v2; - if (l < 0.5) - v2 = l * (1.0 + s); - else - v2 = (l + s) - (s * l); - - v1 = 2.0 * l - v2; - - float d = 1.0 / 3.0; - float r = hueToIntensity(v1, v2, h + d); - float g = hueToIntensity(v1, v2, h); - float b = hueToIntensity(v1, v2, h - d); - return vec3(r, g, b); - } - - void main() { - vec4 c = vec4(1.0); - c.rgb = HSLtoRGB(vec3(hue, 1.0 - qt_TexCoord0.t, qt_TexCoord0.s)); - fragColor = c * qt_Opacity; - } - " : " - varying mediump vec2 qt_TexCoord0; - uniform highp float qt_Opacity; - uniform highp float hue; - - highp float hueToIntensity(highp float v1, highp float v2, highp float h) { - h = fract(h); - if (h < 1.0 / 6.0) - return v1 + (v2 - v1) * 6.0 * h; - else if (h < 1.0 / 2.0) - return v2; - else if (h < 2.0 / 3.0) - return v1 + (v2 - v1) * 6.0 * (2.0 / 3.0 - h); - - return v1; - } - - highp vec3 HSLtoRGB(highp vec3 color) { - highp float h = color.x; - highp float l = color.z; - highp float s = color.y; - - if (s < 1.0 / 256.0) - return vec3(l, l, l); - - highp float v1; - highp float v2; - if (l < 0.5) - v2 = l * (1.0 + s); - else - v2 = (l + s) - (s * l); - - v1 = 2.0 * l - v2; - - highp float d = 1.0 / 3.0; - highp float r = hueToIntensity(v1, v2, h + d); - highp float g = hueToIntensity(v1, v2, h); - highp float b = hueToIntensity(v1, v2, h - d); - return vec3(r, g, b); - } - - void main() { - lowp vec4 c = vec4(1.0); - c.rgb = HSLtoRGB(vec3(hue, 1.0 - qt_TexCoord0.t, qt_TexCoord0.s)); - gl_FragColor = c * qt_Opacity; - } - " - } - - MouseArea { - id: mapMouseArea - anchors.fill: parent - onPositionChanged: { - if (pressed && containsMouse) { - var xx = Math.max(0, Math.min(mouse.x, parent.width)) - var yy = Math.max(0, Math.min(mouse.y, parent.height)) - saturationSlider.value = 1.0 - yy / parent.height - lightnessSlider.value = xx / parent.width - // TODO if we constrain the movement here, can avoid the containsMouse test - crosshairs.x = mouse.x - crosshairs.radius - crosshairs.y = mouse.y - crosshairs.radius - } - } - onPressed: positionChanged(mouse) - } - - Image { - id: crosshairs - property int radius: width / 2 // truncated to int - source: "images/crosshairs.png" - } - - BorderImage { - anchors.fill: parent - anchors.margins: -1 - anchors.leftMargin: -2 - source: "images/sunken_frame.png" - border.left: 8 - border.right: 8 - border.top: 8 - border.bottom: 8 - } - } - } - - Column { - id: sliders - anchors { - top: paletteFrame.bottom - left: parent.left - right: parent.right - margins: content.outerSpacing - } - - ColorSlider { - id: hueSlider - value: 0.5 - onValueChanged: if (__valueSet) root.currentColor = Qt.hsla(hueSlider.value, saturationSlider.value, lightnessSlider.value, alphaSlider.value) - text: qsTr("Hue") - trackDelegate: Rectangle { - rotation: -90 - transformOrigin: Item.TopLeft - gradient: Gradient { - GradientStop {position: 0.000; color: Qt.rgba(1, 0, 0, 1)} - GradientStop {position: 0.167; color: Qt.rgba(1, 1, 0, 1)} - GradientStop {position: 0.333; color: Qt.rgba(0, 1, 0, 1)} - GradientStop {position: 0.500; color: Qt.rgba(0, 1, 1, 1)} - GradientStop {position: 0.667; color: Qt.rgba(0, 0, 1, 1)} - GradientStop {position: 0.833; color: Qt.rgba(1, 0, 1, 1)} - GradientStop {position: 1.000; color: Qt.rgba(1, 0, 0, 1)} - } - } - } - - ColorSlider { - id: saturationSlider - visible: !content.usePaletteMap - value: 0.5 - onValueChanged: if (__valueSet) root.currentColor = Qt.hsla(hueSlider.value, saturationSlider.value, lightnessSlider.value, alphaSlider.value) - text: qsTr("Saturation") - trackDelegate: Rectangle { - rotation: -90 - transformOrigin: Item.TopLeft - gradient: Gradient { - GradientStop { position: 0; color: Qt.hsla(hueSlider.value, 0.0, lightnessSlider.value, 1.0) } - GradientStop { position: 1; color: Qt.hsla(hueSlider.value, 1.0, lightnessSlider.value, 1.0) } - } - } - } - - ColorSlider { - id: lightnessSlider - visible: !content.usePaletteMap - value: 0.5 - onValueChanged: if (__valueSet) root.currentColor = Qt.hsla(hueSlider.value, saturationSlider.value, lightnessSlider.value, alphaSlider.value) - text: qsTr("Luminosity") - trackDelegate: Rectangle { - rotation: -90 - transformOrigin: Item.TopLeft - gradient: Gradient { - GradientStop { position: 0; color: "black" } - GradientStop { position: 0.5; color: Qt.hsla(hueSlider.value, saturationSlider.value, 0.5, 1.0) } - GradientStop { position: 1; color: "white" } - } - } - } - - ColorSlider { - id: alphaSlider - minimum: 0.0 - maximum: 1.0 - value: 1.0 - onValueChanged: if (__valueSet) root.currentColor = Qt.hsla(hueSlider.value, saturationSlider.value, lightnessSlider.value, alphaSlider.value) - text: qsTr("Alpha") - visible: root.showAlphaChannel - trackDelegate: Item { - rotation: -90 - transformOrigin: Item.TopLeft - Image { - anchors {fill: parent} - source: "images/checkers.png" - fillMode: Image.TileVertically - } - Rectangle { - anchors.fill: parent - gradient: Gradient { - GradientStop { position: 0; color: "transparent" } - GradientStop { position: 1; color: Qt.hsla(hueSlider.value, - saturationSlider.value, - lightnessSlider.value, 1.0) } - } } - } - } - } - - Item { - id: buttonRow - height: Math.max(buttonsOnly.height, copyIcon.height) - width: parent.width - anchors { - left: parent.left - right: parent.right - bottom: content.bottom - margins: content.outerSpacing - } - Row { - spacing: content.spacing - height: visible ? parent.height : 0 - visible: !Settings.isMobile - TextField { - id: colorField - text: root.currentColor.toString() - anchors.verticalCenter: parent.verticalCenter - onAccepted: root.currentColor = text - Component.onCompleted: width = implicitWidth + 10 - } - Image { - id: copyIcon - anchors.verticalCenter: parent.verticalCenter - source: "images/copy.png" - MouseArea { - anchors.fill: parent - onClicked: colorField.copyAll() - } - } - } - Row { - id: buttonsOnly - spacing: content.spacing - anchors.right: parent.right - Button { - id: cancelButton - text: qsTr("Cancel") - onClicked: root.reject() - } - Button { - id: okButton - text: qsTr("OK") - onClicked: root.accept() - } - } - } - } -} diff --git a/bin/QtQuick/Dialogs/DefaultDialogWrapper.qml b/bin/QtQuick/Dialogs/DefaultDialogWrapper.qml deleted file mode 100644 index 3ca030c4c..000000000 --- a/bin/QtQuick/Dialogs/DefaultDialogWrapper.qml +++ /dev/null @@ -1,207 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Dialogs 1.2 -import QtQuick.Layouts 1.1 -import QtQuick.Window 2.1 -import "qml" - -AbstractDialog { - id: root - default property alias data: defaultContentItem.data - - signal actionChosen(var action) - - onVisibilityChanged: if (visible && contentItem) contentItem.forceActiveFocus() - - Rectangle { - id: content - property real spacing: 6 - property real outerSpacing: 12 - property real buttonsRowImplicitHeight: 0 - property real buttonsRowImplicitWidth: Screen.pixelDensity * 50 - property bool buttonsInSingleRow: defaultContentItem.width >= buttonsRowImplicitWidth - property real minimumHeight: implicitHeight - property real minimumWidth: implicitWidth - implicitHeight: defaultContentItem.implicitHeight + spacing + outerSpacing * 2 + Math.max(buttonsRight.implicitHeight, buttonsRowImplicitHeight) - implicitWidth: Math.min(root.__maximumDimension, Math.max( - defaultContentItem.implicitWidth, buttonsRowImplicitWidth, Screen.pixelDensity * 50) + outerSpacing * 2) - color: palette.window - Keys.onPressed: { - event.accepted = handleKey(event.key) - } - - SystemPalette { id: palette } - - Item { - id: defaultContentItem - anchors { - left: parent.left - right: parent.right - top: parent.top - bottom: buttonsLeft.implicitHeight ? buttonsLeft.top : buttonsRight.top - margins: content.outerSpacing - bottomMargin: buttonsLeft.implicitHeight + buttonsRight.implicitHeight > 0 ? content.spacing : 0 - } - implicitHeight: children.length === 1 ? children[0].implicitHeight - : (children.length ? childrenRect.height : 0) - implicitWidth: children.length === 1 ? children[0].implicitWidth - : (children.length ? childrenRect.width : 0) - } - - Flow { - id: buttonsLeft - spacing: content.spacing - anchors { - left: parent.left - bottom: content.buttonsInSingleRow ? parent.bottom : buttonsRight.top - margins: content.outerSpacing - } - - Repeater { - id: buttonsLeftRepeater - Button { - text: (buttonsLeftRepeater.model && buttonsLeftRepeater.model[index] ? buttonsLeftRepeater.model[index].text : index) - onClicked: content.handleButton(buttonsLeftRepeater.model[index].standardButton) - } - } - - Button { - id: moreButton - text: qsTr("Show Details...") - visible: false - } - } - - Flow { - id: buttonsRight - spacing: content.spacing - layoutDirection: Qt.RightToLeft - anchors { - left: parent.left - right: parent.right - bottom: parent.bottom - margins: content.outerSpacing - } - - Repeater { - id: buttonsRightRepeater - // TODO maybe: insert gaps if the button requires it (destructive buttons only) - Button { - text: (buttonsRightRepeater.model && buttonsRightRepeater.model[index] ? buttonsRightRepeater.model[index].text : index) - onClicked: content.handleButton(buttonsRightRepeater.model[index].standardButton) - } - } - } - - function handleButton(button) { - var action = { - "button": button, - "key": 0, - "accepted": true, - } - root.actionChosen(action) - if (action.accepted) { - click(button) - } - } - - function handleKey(key) { - var button = 0 - switch (key) { - case Qt.Key_Escape: - case Qt.Key_Back: - button = StandardButton.Cancel - break - case Qt.Key_Enter: - case Qt.Key_Return: - button = StandardButton.Ok - break - default: - return false - } - var action = { - "button": button, - "key": key, - "accepted": true, - } - root.actionChosen(action) - if (action.accepted) { - switch (button) { - case StandardButton.Cancel: - reject() - break - case StandardButton.Ok: - accept() - break - } - } - return true - } - } - function setupButtons() { - buttonsLeftRepeater.model = root.__standardButtonsLeftModel() - buttonsRightRepeater.model = root.__standardButtonsRightModel() - if (buttonsRightRepeater.model && buttonsRightRepeater.model.length > 0) - content.buttonsRowImplicitHeight = buttonsRight.visibleChildren[0].implicitHeight - if (buttonsLeftRepeater.count + buttonsRightRepeater.count < 1) - return; - var calcWidth = 0; - - function calculateForButton(i, b) { - var buttonWidth = b.implicitWidth; - if (buttonWidth > 0) { - if (i > 0) - buttonWidth += content.spacing - calcWidth += buttonWidth - } - } - - for (var i = 0; i < buttonsRight.visibleChildren.length; ++i) - calculateForButton(i, buttonsRight.visibleChildren[i]) - content.minimumWidth = Math.max(calcWidth + content.outerSpacing * 2, content.implicitWidth) - for (i = 0; i < buttonsLeft.visibleChildren.length; ++i) - calculateForButton(i, buttonsLeft.visibleChildren[i]) - content.buttonsRowImplicitWidth = calcWidth + content.spacing - } - onStandardButtonsChanged: setupButtons() - Component.onCompleted: setupButtons() -} diff --git a/bin/QtQuick/Dialogs/DefaultFileDialog.qml b/bin/QtQuick/Dialogs/DefaultFileDialog.qml deleted file mode 100644 index ea2fa42d0..000000000 --- a/bin/QtQuick/Dialogs/DefaultFileDialog.qml +++ /dev/null @@ -1,488 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 as ControlsPrivate -import QtQuick.Dialogs 1.1 -import QtQuick.Dialogs.Private 1.1 -import QtQuick.Layouts 1.1 -import QtQuick.Window 2.1 -import Qt.labs.folderlistmodel 2.1 -import Qt.labs.settings 1.0 -import "qml" - -AbstractFileDialog { - id: root - - property Component modelComponent: Component { - FolderListModel { - showFiles: !root.selectFolder - nameFilters: root.selectedNameFilterExtensions - sortField: (view.sortIndicatorColumn === 0 ? FolderListModel.Name : - (view.sortIndicatorColumn === 1 ? FolderListModel.Type : - (view.sortIndicatorColumn === 2 ? FolderListModel.Size : FolderListModel.LastModified))) - sortReversed: view.sortIndicatorOrder === Qt.DescendingOrder - } - } - - onVisibleChanged: { - if (visible) { - // If the TableView doesn't have a model yet, create it asynchronously to avoid a UI freeze - if (!view.model) { - var incubator = modelComponent.incubateObject(null, { }) - function init(model) { - view.model = model - model.nameFilters = root.selectedNameFilterExtensions - root.folder = model.folder - } - - if (incubator.status === Component.Ready) { - init(incubator.object) - } else { - incubator.onStatusChanged = function(status) { - if (status === Component.Ready) - init(incubator.object) - } - } - } - - view.needsWidthAdjustment = true - view.selection.clear() - view.focus = true - } - } - - Component.onCompleted: { - filterField.currentIndex = root.selectedNameFilterIndex - root.favoriteFolders = settings.favoriteFolders - } - - Component.onDestruction: { - settings.favoriteFolders = root.favoriteFolders - } - - property Settings settings: Settings { - category: "QQControlsFileDialog" - property alias width: root.width - property alias height: root.height - property alias sidebarWidth: sidebar.width - property alias sidebarSplit: shortcutsScroll.height - property alias sidebarVisible: root.sidebarVisible - property variant favoriteFolders: [] - } - - property bool showFocusHighlight: false - property SystemPalette palette: SystemPalette { } - property var favoriteFolders: [] - - function dirDown(path) { - view.selection.clear() - root.folder = root.pathToUrl(path) - } - function dirUp() { - view.selection.clear() - if (view.model.parentFolder != "") - root.folder = view.model.parentFolder - } - function acceptSelection() { - // transfer the view's selections to QQuickFileDialog - clearSelection() - if (selectFolder && view.selection.count === 0) - addSelection(folder) - else { - view.selection.forEach(function(idx) { - if (view.model.isFolder(idx)) { - if (selectFolder) - addSelection(view.model.get(idx, "fileURL")) - } else { - if (!selectFolder) - addSelection(view.model.get(idx, "fileURL")) - } - }) - } - accept() - } - - property Action dirUpAction: Action { - text: "\ue810" - shortcut: "Ctrl+U" - onTriggered: dirUp() - tooltip: qsTr("Go up to the folder containing this one") - } - - Rectangle { - id: window - implicitWidth: Math.min(root.__maximumDimension, Math.max(Screen.pixelDensity * 100, splitter.implicitWidth)) - implicitHeight: Math.min(root.__maximumDimension, Screen.pixelDensity * 80) - color: root.palette.window - - Qml.Binding { - target: view.model - property: "folder" - value: root.folder - restoreMode: Binding.RestoreBinding - } - Qml.Binding { - target: currentPathField - property: "text" - value: root.urlToPath(root.folder) - restoreMode: Binding.RestoreBinding - } - Keys.onPressed: { - event.accepted = true - switch (event.key) { - case Qt.Key_Back: - case Qt.Key_Escape: - reject() - break - default: - event.accepted = false - break - } - } - Keys.forwardTo: [view.flickableItem] - - SplitView { - id: splitter - x: 0 - width: parent.width - anchors.top: titleBar.bottom - anchors.bottom: bottomBar.top - - Column { - id: sidebar - Component.onCompleted: if (width < 1) width = sidebarSplitter.maxShortcutWidth - height: parent.height - width: 0 // initial width only; settings and onCompleted will override it - visible: root.sidebarVisible - SplitView { - id: sidebarSplitter - orientation: Qt.Vertical - property real rowHeight: 10 - property real maxShortcutWidth: 80 - width: parent.width - height: parent.height - favoritesButtons.height - - ScrollView { - id: shortcutsScroll - Component.onCompleted: { - if (height < 1) - height = sidebarSplitter.rowHeight * 4.65 - Layout.minimumHeight = sidebarSplitter.rowHeight * 2.65 - } - height: 0 // initial width only; settings and onCompleted will override it - ListView { - id: shortcutsView - model: __shortcuts.length - anchors.bottomMargin: ControlsPrivate.Settings.hasTouchScreen ? Screen.pixelDensity * 3.5 : anchors.margins - implicitHeight: model.count * sidebarSplitter.rowHeight - delegate: Item { - id: shortcutItem - width: sidebarSplitter.width - height: shortcutLabel.implicitHeight * 1.5 - Text { - id: shortcutLabel - text: __shortcuts[index].name - anchors { - verticalCenter: parent.verticalCenter - left: parent.left - right: parent.right - margins: 4 - } - elide: Text.ElideLeft - renderType: ControlsPrivate.Settings.isMobile ? Text.QtRendering : Text.NativeRendering - Component.onCompleted: { - sidebarSplitter.rowHeight = parent.height - if (implicitWidth * 1.2 > sidebarSplitter.maxShortcutWidth) - sidebarSplitter.maxShortcutWidth = implicitWidth * 1.2 - } - } - MouseArea { - anchors.fill: parent - onClicked: root.folder = __shortcuts[index].url - } - } - } - } - - ScrollView { - Layout.minimumHeight: sidebarSplitter.rowHeight * 2.5 - ListView { - id: favorites - model: root.favoriteFolders - anchors.topMargin: ControlsPrivate.Settings.hasTouchScreen ? Screen.pixelDensity * 3.5 : anchors.margins - delegate: Item { - width: favorites.width - height: folderLabel.implicitHeight * 1.5 - Text { - id: folderLabel - text: root.favoriteFolders[index] - anchors { - verticalCenter: parent.verticalCenter - left: parent.left - right: parent.right - margins: 4 - } - elide: Text.ElideLeft - renderType: ControlsPrivate.Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - Menu { - id: favoriteCtxMenu - title: root.favoriteFolders[index] - MenuItem { - text: qsTr("Remove favorite") - onTriggered: { - root.favoriteFolders.splice(index, 1) - favorites.model = root.favoriteFolders - } - } - } - MouseArea { - id: favoriteArea - anchors.fill: parent - acceptedButtons: Qt.LeftButton | Qt.RightButton - hoverEnabled: true - onClicked: { - if (mouse.button == Qt.LeftButton) - root.folder = root.favoriteFolders[index] - else if (mouse.button == Qt.RightButton) - favoriteCtxMenu.popup() - } - onExited: ControlsPrivate.Tooltip.hideText() - onCanceled: ControlsPrivate.Tooltip.hideText() - Timer { - interval: 1000 - running: favoriteArea.containsMouse && !favoriteArea.pressed && folderLabel.truncated - onTriggered: ControlsPrivate.Tooltip.showText(favoriteArea, - Qt.point(favoriteArea.mouseX, favoriteArea.mouseY), urlToPath(root.favoriteFolders[index])) - } - } - } - } - } - } - - Row { - id: favoritesButtons - height: plusButton.height + 1 - anchors.right: parent.right - anchors.rightMargin: 6 - layoutDirection: Qt.RightToLeft - Button { - id: plusButton - style: IconButtonStyle { } - text: "\ue83e" - tooltip: qsTr("Add the current directory as a favorite") - width: height - onClicked: { - root.favoriteFolders.push(root.folder) - favorites.model = root.favoriteFolders - } - } - } - } - - TableView { - id: view - sortIndicatorVisible: true - Layout.fillWidth: true - Layout.minimumWidth: 40 - property bool needsWidthAdjustment: true - selectionMode: root.selectMultiple ? - (ControlsPrivate.Settings.hasTouchScreen ? SelectionMode.MultiSelection : SelectionMode.ExtendedSelection) : - SelectionMode.SingleSelection - onRowCountChanged: if (needsWidthAdjustment && rowCount > 0) { - resizeColumnsToContents() - needsWidthAdjustment = false - } - model: null - - onActivated: if (view.focus) { - if (view.selection.count > 0 && view.model.isFolder(row)) { - dirDown(view.model.get(row, "filePath")) - } else { - root.acceptSelection() - } - } - onClicked: currentPathField.text = view.model.get(row, "filePath") - - - TableViewColumn { - id: fileNameColumn - role: "fileName" - title: qsTr("Filename") - delegate: Item { - implicitWidth: pathText.implicitWidth + pathText.anchors.leftMargin + pathText.anchors.rightMargin - IconGlyph { - id: fileIcon - x: 4 - height: parent.height - 2 - unicode: view.model.isFolder(styleData.row) ? "\ue804" : "\ue802" - } - Text { - id: pathText - text: styleData.value - anchors { - left: parent.left - right: parent.right - leftMargin: fileIcon.width + 6 - rightMargin: 4 - verticalCenter: parent.verticalCenter - } - color: styleData.textColor - elide: Text.ElideRight - renderType: ControlsPrivate.Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - } - } - TableViewColumn { - role: "fileSuffix" - title: qsTr("Type", "file type (extension)") - // TODO should not need to create a whole new component just to customize the text value - // something like textFormat: function(text) { return view.model.get(styleData.row, "fileIsDir") ? "folder" : text } - delegate: Item { - implicitWidth: sizeText.implicitWidth + sizeText.anchors.leftMargin + sizeText.anchors.rightMargin - Text { - id: sizeText - text: view.model.get(styleData.row, "fileIsDir") ? "folder" : styleData.value - anchors { - left: parent.left - right: parent.right - leftMargin: 4 - rightMargin: 4 - verticalCenter: parent.verticalCenter - } - color: styleData.textColor - elide: Text.ElideRight - renderType: ControlsPrivate.Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - } - } - TableViewColumn { - role: "fileSize" - title: qsTr("Size", "file size") - horizontalAlignment: Text.AlignRight - } - TableViewColumn { id: modifiedColumn; role: "fileModified" ; title: qsTr("Modified", "last-modified time") } - TableViewColumn { id: accessedColumn; role: "fileAccessed" ; title: qsTr("Accessed", "last-accessed time") } - } - } - - ToolBar { - id: titleBar - RowLayout { - anchors.fill: parent - ToolButton { - action: dirUpAction - style: IconButtonStyle { } - Layout.maximumWidth: height * 1.5 - } - TextField { - id: currentPathField - Layout.fillWidth: true - function doAccept() { - root.clearSelection() - if (root.addSelection(root.pathToUrl(text))) - root.accept() - else - root.folder = root.pathFolder(text) - } - onAccepted: doAccept() - } - } - } - Item { - id: bottomBar - width: parent.width - height: buttonRow.height + buttonRow.spacing * 2 - anchors.bottom: parent.bottom - - Row { - id: buttonRow - anchors.right: parent.right - anchors.rightMargin: spacing - anchors.verticalCenter: parent.verticalCenter - spacing: 4 - Button { - id: toggleSidebarButton - checkable: true - style: IconButtonStyle { } - text: "\u25E7" - height: cancelButton.height - width: height - checked: root.sidebarVisible - onClicked: { - root.sidebarVisible = !root.sidebarVisible - } - } - ComboBox { - id: filterField - model: root.nameFilters - visible: !selectFolder - width: bottomBar.width - toggleSidebarButton.width - cancelButton.width - okButton.width - parent.spacing * 6 - anchors.verticalCenter: parent.verticalCenter - onCurrentTextChanged: { - root.selectNameFilter(currentText) - if (view.model) - view.model.nameFilters = root.selectedNameFilterExtensions - } - } - Button { - id: cancelButton - text: qsTr("Cancel") - onClicked: root.reject() - } - Button { - id: okButton - text: root.selectFolder ? qsTr("Choose") : (selectExisting ? qsTr("Open") : qsTr("Save")) - onClicked: { - if (view.model.isFolder(view.currentRow) && !selectFolder) - dirDown(view.model.get(view.currentRow, "filePath")) - else if (!(root.selectExisting)) - currentPathField.doAccept() - else - root.acceptSelection() - } - } - } - } - } -} diff --git a/bin/QtQuick/Dialogs/DefaultFontDialog.qml b/bin/QtQuick/Dialogs/DefaultFontDialog.qml deleted file mode 100644 index a307f46f1..000000000 --- a/bin/QtQuick/Dialogs/DefaultFontDialog.qml +++ /dev/null @@ -1,442 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Controls.Styles 1.0 -import QtQuick.Dialogs 1.1 -import QtQuick.Dialogs.Private 1.1 -import QtQuick.Layouts 1.1 -import QtQuick.Window 2.1 -import "qml" - -AbstractFontDialog { - id: root - - property alias font: content.externalFont - property alias currentFont: content.font - property bool isAndroid: Qt.platform.os === "android" - - Screen.onPrimaryOrientationChanged: { - if (isAndroid) - setWidthsToMatchAndroid() - } - - Component.onCompleted: { - if (isAndroid) - setWidthsToMatchAndroid() - } - - function setWidthsToMatchAndroid() { - fontListView.Layout.maximumWidth = content.width - weightListView.width - pointSizeSpinBox.width - content.outerSpacing - wsComboBox.Layout.maximumWidth = (content.width / 2) - content.outerSpacing - } - - Rectangle { - id: content - SystemPalette { id: palette } - - implicitWidth: root.isAndroid ? Math.min(Screen.width, Screen.height) * (9 / 10) : Math.min(root.__maximumDimension, Screen.pixelDensity * 100) - implicitHeight: (Screen.primaryOrientation === Qt.PortraitOrientation || Screen.primaryOrientation === Qt.InvertedPortraitOrientation) - ? Math.max(root.__maximumDimension, Screen.pixelDensity * 60) - : Math.min(root.__maximumDimension, Screen.pixelDensity * 60) - property real spacing: 6 - property real outerSpacing: 12 - color: palette.window - - property font font: Qt.font({ family: "Helvetica", pointSize: 24, weight: Font.Normal }) - property font externalFont - property string writingSystem - property string writingSystemSample - property var pointSizes - - onExternalFontChanged: { - if (Component.status != Component.Ready) - return - - if (content.font != content.externalFont) { - font = externalFont - wsComboBox.reset() - fontListView.reset() - weightListView.reset() - } - } - - Component.onCompleted: externalFontChanged() - - onWritingSystemSampleChanged: { sample.text = writingSystemSample; } - - Keys.onPressed: { - event.accepted = true - switch (event.key) { - case Qt.Key_Return: - case Qt.Key_Select: - updateUponAccepted() - break - case Qt.Key_Escape: - case Qt.Key_Back: - reject() - break - default: - // do nothing - event.accepted = false - break - } - } - - function updateUponAccepted() { - root.font = content.font - root.accept() - } - - ColumnLayout { - id: mainLayout - anchors { fill: parent; margins: content.outerSpacing } - spacing: content.spacing - - GridLayout { - columnSpacing: content.spacing; rowSpacing: content.spacing - columns: 3 - - Label { id: fontNameLabel; horizontalAlignment: Text.AlignLeft; Layout.fillWidth: true; text: qsTr("Font"); font.bold: true } - Label { id: weightLabel; horizontalAlignment: Text.AlignLeft; text: qsTr("Weight"); font.bold: true } - Label { id: sizeLabel; horizontalAlignment: Text.AlignLeft; text: qsTr("Size"); font.bold: true } - TableView { - id: fontListView - focus: true - Layout.fillWidth: true - Layout.fillHeight: true - Layout.preferredWidth: fontColumn.width - headerVisible: false - function reset() { - fontModel.findIndex() - content.pointSizes = fontModel.pointSizes() - fontModel.findPointSizesIndex() - } - TableViewColumn{ id: fontColumn; role: "family"; title: qsTr("Font Family") } - itemDelegate: Text { - width: parent.width - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignLeft - elide: styleData.elideMode - text: styleData.value - } - model: FontListModel { - id: fontModel - scalableFonts: root.scalableFonts - nonScalableFonts: root.nonScalableFonts - monospacedFonts: root.monospacedFonts - proportionalFonts: root.proportionalFonts - Component.onCompleted: fontListView.reset() - onModelReset: { findIndex(); } - function findIndex() { - fontListView.selection.clear() - if (fontModel.count <= 0 || fontListView.rowCount <= 0) - return - - var currentRow = 0 - if (content.font.family != "") { - for (var i = 0; i < fontModel.count; ++i) { - if (content.font.family == fontModel.get(i).family) { - currentRow = i - break - } - } - } - content.font.family = fontModel.get(currentRow).family - fontListView.selection.select(currentRow) - fontListView.positionViewAtRow(currentRow, ListView.Contain) - fontListView.clicked(currentRow) - } - function findPointSizesIndex() { - pointSizesListView.selection.clear() - if (content.pointSizes.length <= 0 || pointSizesListView.rowCount <= 0) - return - - var currentRow = -1 - for (var i = 0; i < content.pointSizes.length; ++i) { - if (content.font.pointSize == content.pointSizes[i]) { - currentRow = i - break - } - } - if (currentRow != -1) { - content.font.pointSize = content.pointSizes[currentRow] - pointSizesListView.selection.select(currentRow) - pointSizesListView.positionViewAtRow(currentRow, ListView.Contain) - pointSizesListView.clicked(currentRow) - } - } - } - function select(row) { - if (row == -1) - return - currentRow = row - content.font.family = fontModel.get(row).family - positionViewAtRow(row, ListView.Contain) - } - onClicked: select(row) - onCurrentRowChanged: select(currentRow) - } - TableView { - id: weightListView - implicitWidth: (Component.status == Component.Ready) ? (weightColumn.width + content.outerSpacing) : (root.isAndroid ? 180 : 100) - Layout.fillHeight: true - Component.onCompleted: resizeColumnsToContents(); - headerVisible: false - function reset() { - weightModel.findIndex() - } - TableViewColumn { id: weightColumn; role: "name"; title: qsTr("Weight") } - itemDelegate: Text { - width: parent.width - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignLeft - elide: styleData.elideMode - text: styleData.value - } - model: ListModel { - id: weightModel - ListElement { name: qsTr("Thin"); weight: Font.Thin } - ListElement { name: qsTr("ExtraLight"); weight: Font.ExtraLight } - ListElement { name: qsTr("Light"); weight: Font.Light } - ListElement { name: qsTr("Normal"); weight: Font.Normal } - ListElement { name: qsTr("Medium"); weight: Font.Medium } - ListElement { name: qsTr("DemiBold"); weight: Font.DemiBold } - ListElement { name: qsTr("Bold"); weight: Font.Bold } - ListElement { name: qsTr("ExtraBold"); weight: Font.ExtraBold } - ListElement { name: qsTr("Black"); weight: Font.Black } - Component.onCompleted: weightListView.reset() - function findIndex() { - var currentRow = 1 - for (var i = 0; i < weightModel.count; ++i) { - if (content.font.weight == weightModel.get(i).weight) { - currentRow = i - break - } - } - content.font.weight = weightModel.get(currentRow).family - weightListView.selection.select(currentRow) - weightListView.positionViewAtRow(currentRow, ListView.Contain) - weightListView.clicked(currentRow) - } - } - function select(row) { - if (row == -1) - return - currentRow = row - content.font.weight = weightModel.get(row).weight - positionViewAtRow(row, ListView.Contain) - } - onClicked: select(row) - onCurrentRowChanged: select(currentRow) - } - ColumnLayout { - SpinBox { - id: pointSizeSpinBox; - implicitWidth: (Component.status == Component.Ready) ? (psColumn.width + content.outerSpacing) : (root.isAndroid ? 130 : 80) - value: content.font.pointSize - decimals: 0 - minimumValue: 1 - maximumValue: 512 - onValueChanged: { - content.font.pointSize = Number(value); - updatePointSizesIndex(); - } - function updatePointSizesIndex() { - pointSizesListView.selection.clear() - if (content.pointSizes.length <= 0 || pointSizesListView.rowCount <= 0) - return - var currentRow = -1 - for (var i = 0; i < content.pointSizes.length; ++i) { - if (content.font.pointSize == content.pointSizes[i]) { - currentRow = i - break - } - } - if (currentRow < 0) - return - content.font.pointSize = content.pointSizes[currentRow] - pointSizesListView.selection.select(currentRow) - pointSizesListView.positionViewAtRow(currentRow, ListView.Contain) - pointSizesListView.clicked(currentRow) - } - } - TableView { - id: pointSizesListView - Layout.fillHeight: true - headerVisible: false - implicitWidth: (Component.status == Component.Ready) ? (psColumn.width + content.outerSpacing) : (root.isAndroid ? 130 : 80) - Component.onCompleted: resizeColumnsToContents(); - TableViewColumn{ id: psColumn; role: ""; title: qsTr("Size") } - itemDelegate: Text { - width: parent.width - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignLeft - elide: styleData.elideMode - text: styleData.value - } - model: content.pointSizes - property bool guard: false - function select(row) { - if (row == -1 || !guard) - return - currentRow = row - content.font.pointSize = content.pointSizes[row] - pointSizeSpinBox.value = content.pointSizes[row] - positionViewAtRow(row, ListView.Contain) - } - onClicked: select(row) - onCurrentRowChanged: { - select(currentRow) - if (!guard) - guard = true - } - } - } - } - - RowLayout { - spacing: content.spacing - Layout.fillHeight: false - ColumnLayout { - spacing: content.spacing - Layout.rowSpan: 3 - Label { text: qsTr("Style"); font.bold: true } - CheckBox { - id: italicCheckBox - text: qsTr("Italic") - checked: content.font.italic - onClicked: { content.font.italic = italicCheckBox.checked } - } - CheckBox { - id: underlineCheckBox - text: qsTr("Underline") - checked: content.font.underline - onClicked: { content.font.underline = underlineCheckBox.checked } - } - CheckBox { - id: overlineCheckBox - text: qsTr("Overline") - checked: content.font.overline - onClicked: { content.font.overline = overlineCheckBox.checked } - } - CheckBox { - id: strikeoutCheckBox - text: qsTr("Strikeout") - checked: content.font.strikeout - onClicked: { content.font.strikeout = strikeoutCheckBox.checked } - } - Item { Layout.fillHeight: true; } //spacer - Label { text: qsTr("Writing System"); font.bold: true } - } - - ColumnLayout { - Layout.rowSpan: 3 - spacing: content.spacing - Layout.columnSpan: 2 - Layout.fillWidth: true - Layout.fillHeight: true - Label { id: sampleLabel; text: qsTr("Sample"); font.bold: true } - - Rectangle { - clip: true - Layout.fillWidth: true - Layout.fillHeight: true - implicitWidth: Math.min(360, sample.implicitWidth + parent.spacing) - implicitHeight: Math.min(240, sample.implicitHeight + parent.spacing) - color: "white" - border.color: "#999" - TextInput { - id: sample - activeFocusOnTab: true - Accessible.name: text - Accessible.role: Accessible.EditableText - anchors.centerIn: parent - font: content.font - onFocusChanged: if (!focus && sample.text == "") sample.text = content.writingSystemSample - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - } - } - } - - RowLayout { - id: buttonRow - Layout.columnSpan: 3 - spacing: content.spacing - ComboBox { - id: wsComboBox - function reset() { - if (wsModel.count > 0) { - currentIndex = 0 - } - } - textRole: "name" - model: WritingSystemListModel { - id: wsModel - Component.onCompleted: wsComboBox.reset() - } - onCurrentIndexChanged: { - if (currentIndex == -1) - return - - content.writingSystem = wsModel.get(currentIndex).name - fontModel.writingSystem = content.writingSystem - content.writingSystemSample = wsModel.get(currentIndex).sample - fontListView.reset() - } - } - Item { Layout.fillWidth: true; } //spacer - Button { - text: qsTr("Cancel") - onClicked: root.reject() - } - Button { - text: qsTr("OK") - onClicked: { - content.updateUponAccepted() - } - } - } - } - } -} - diff --git a/bin/QtQuick/Dialogs/DefaultMessageDialog.qml b/bin/QtQuick/Dialogs/DefaultMessageDialog.qml deleted file mode 100644 index d2f2a0789..000000000 --- a/bin/QtQuick/Dialogs/DefaultMessageDialog.qml +++ /dev/null @@ -1,320 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Dialogs 1.1 -import QtQuick.Window 2.1 -import "qml" - -AbstractMessageDialog { - id: root - - Rectangle { - id: content - property real spacing: 6 - property real outerSpacing: 12 - property real buttonsRowImplicitWidth: Screen.pixelDensity * 50 - implicitHeight: contentColumn.implicitHeight + outerSpacing * 2 - onImplicitHeightChanged: root.height = implicitHeight - implicitWidth: Math.min(root.__maximumDimension, Math.max( - mainText.implicitWidth, buttonsRowImplicitWidth) + outerSpacing * 2); - onImplicitWidthChanged: root.width = implicitWidth - color: palette.window - focus: root.visible - Keys.onPressed: { - event.accepted = true - if (event.modifiers === Qt.ControlModifier) - switch (event.key) { - case Qt.Key_A: - detailedText.selectAll() - break - case Qt.Key_C: - detailedText.copy() - break - case Qt.Key_Period: - if (Qt.platform.os === "osx") - reject() - break - } else switch (event.key) { - case Qt.Key_Escape: - case Qt.Key_Back: - reject() - break - case Qt.Key_Enter: - case Qt.Key_Return: - accept() - break - } - } - - Column { - id: contentColumn - spacing: content.spacing - x: content.outerSpacing - y: content.outerSpacing - width: content.width - content.outerSpacing * 2 - - SystemPalette { id: palette } - - Item { - width: parent.width - height: Math.max(icon.height, mainText.height + informativeText.height + content.spacing) - Image { - id: icon - source: root.standardIconSource - } - - Text { - id: mainText - anchors { - left: icon.right - leftMargin: content.spacing - right: parent.right - } - text: root.text - font.weight: Font.Bold - wrapMode: Text.WordWrap - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - - Text { - id: informativeText - anchors { - left: icon.right - right: parent.right - top: mainText.bottom - leftMargin: content.spacing - topMargin: content.spacing - } - text: root.informativeText - wrapMode: Text.WordWrap - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - } - - - Flow { - id: buttons - spacing: content.spacing - layoutDirection: Qt.RightToLeft - width: parent.width + content.outerSpacing - x: -content.outerSpacing - Button { - id: okButton - text: qsTr("OK") - onClicked: root.click(StandardButton.Ok) - visible: root.standardButtons & StandardButton.Ok - } - Button { - id: openButton - text: qsTr("Open") - onClicked: root.click(StandardButton.Open) - visible: root.standardButtons & StandardButton.Open - } - Button { - id: saveButton - text: qsTr("Save") - onClicked: root.click(StandardButton.Save) - visible: root.standardButtons & StandardButton.Save - } - Button { - id: saveAllButton - text: qsTr("Save All") - onClicked: root.click(StandardButton.SaveAll) - visible: root.standardButtons & StandardButton.SaveAll - } - Button { - id: retryButton - text: qsTr("Retry") - onClicked: root.click(StandardButton.Retry) - visible: root.standardButtons & StandardButton.Retry - } - Button { - id: ignoreButton - text: qsTr("Ignore") - onClicked: root.click(StandardButton.Ignore) - visible: root.standardButtons & StandardButton.Ignore - } - Button { - id: applyButton - text: qsTr("Apply") - onClicked: root.click(StandardButton.Apply) - visible: root.standardButtons & StandardButton.Apply - } - Button { - id: yesButton - text: qsTr("Yes") - onClicked: root.click(StandardButton.Yes) - visible: root.standardButtons & StandardButton.Yes - } - Button { - id: yesAllButton - text: qsTr("Yes to All") - onClicked: root.click(StandardButton.YesToAll) - visible: root.standardButtons & StandardButton.YesToAll - } - Button { - id: noButton - text: qsTr("No") - onClicked: root.click(StandardButton.No) - visible: root.standardButtons & StandardButton.No - } - Button { - id: noAllButton - text: qsTr("No to All") - onClicked: root.click(StandardButton.NoToAll) - visible: root.standardButtons & StandardButton.NoToAll - } - Button { - id: discardButton - text: qsTr("Discard") - onClicked: root.click(StandardButton.Discard) - visible: root.standardButtons & StandardButton.Discard - } - Button { - id: resetButton - text: qsTr("Reset") - onClicked: root.click(StandardButton.Reset) - visible: root.standardButtons & StandardButton.Reset - } - Button { - id: restoreDefaultsButton - text: qsTr("Restore Defaults") - onClicked: root.click(StandardButton.RestoreDefaults) - visible: root.standardButtons & StandardButton.RestoreDefaults - } - Button { - id: cancelButton - text: qsTr("Cancel") - onClicked: root.click(StandardButton.Cancel) - visible: root.standardButtons & StandardButton.Cancel - } - Button { - id: abortButton - text: qsTr("Abort") - onClicked: root.click(StandardButton.Abort) - visible: root.standardButtons & StandardButton.Abort - } - Button { - id: closeButton - text: qsTr("Close") - onClicked: root.click(StandardButton.Close) - visible: root.standardButtons & StandardButton.Close - } - Button { - id: moreButton - text: qsTr("Show Details...") - onClicked: content.state = (content.state === "" ? "expanded" : "") - visible: root.detailedText.length > 0 - } - Button { - id: helpButton - text: qsTr("Help") - onClicked: root.click(StandardButton.Help) - visible: root.standardButtons & StandardButton.Help - } - onVisibleChildrenChanged: calculateImplicitWidth() - } - } - - Item { - id: details - width: parent.width - implicitHeight: detailedText.implicitHeight + content.spacing - height: 0 - clip: true - - anchors { - left: parent.left - right: parent.right - top: contentColumn.bottom - topMargin: content.spacing - leftMargin: content.outerSpacing - rightMargin: content.outerSpacing - } - - Flickable { - id: flickable - contentHeight: detailedText.height - anchors.fill: parent - anchors.topMargin: content.spacing - anchors.bottomMargin: content.outerSpacing - TextEdit { - id: detailedText - text: root.detailedText - width: details.width - wrapMode: Text.WordWrap - readOnly: true - selectByMouse: true - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - } - } - - states: [ - State { - name: "expanded" - PropertyChanges { - target: details - height: content.height - contentColumn.height - content.spacing - content.outerSpacing - } - PropertyChanges { - target: content - implicitHeight: contentColumn.implicitHeight + content.spacing * 2 + - detailedText.implicitHeight + content.outerSpacing * 2 - } - PropertyChanges { - target: moreButton - text: qsTr("Hide Details") - } - } - ] - } - function calculateImplicitWidth() { - if (buttons.visibleChildren.length < 2) - return; - var calcWidth = 0; - for (var i = 0; i < buttons.visibleChildren.length; ++i) - calcWidth += Math.max(100, buttons.visibleChildren[i].implicitWidth) + content.spacing - content.buttonsRowImplicitWidth = content.outerSpacing + calcWidth - } - Component.onCompleted: calculateImplicitWidth() -} diff --git a/bin/QtQuick/Dialogs/Private/dialogsprivateplugin.dll b/bin/QtQuick/Dialogs/Private/dialogsprivateplugin.dll deleted file mode 100644 index 8d56a3f87..000000000 Binary files a/bin/QtQuick/Dialogs/Private/dialogsprivateplugin.dll and /dev/null differ diff --git a/bin/QtQuick/Dialogs/Private/plugins.qmltypes b/bin/QtQuick/Dialogs/Private/plugins.qmltypes deleted file mode 100644 index f508d501b..000000000 --- a/bin/QtQuick/Dialogs/Private/plugins.qmltypes +++ /dev/null @@ -1,334 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable QtQuick.Dialogs.Private 1.1' - -Module { - dependencies: ["QtQuick 2.0"] - Component { - name: "QAbstractItemModel" - prototype: "QObject" - Enum { - name: "LayoutChangeHint" - values: { - "NoLayoutChangeHint": 0, - "VerticalSortHint": 1, - "HorizontalSortHint": 2 - } - } - Enum { - name: "CheckIndexOption" - values: { - "NoOption": 0, - "IndexIsValid": 1, - "DoNotUseParent": 2, - "ParentIsInvalid": 4 - } - } - Signal { - name: "dataChanged" - Parameter { name: "topLeft"; type: "QModelIndex" } - Parameter { name: "bottomRight"; type: "QModelIndex" } - Parameter { name: "roles"; type: "QVector" } - } - Signal { - name: "dataChanged" - Parameter { name: "topLeft"; type: "QModelIndex" } - Parameter { name: "bottomRight"; type: "QModelIndex" } - } - Signal { - name: "headerDataChanged" - Parameter { name: "orientation"; type: "Qt::Orientation" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "layoutChanged" - Parameter { name: "parents"; type: "QList" } - Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } - } - Signal { - name: "layoutChanged" - Parameter { name: "parents"; type: "QList" } - } - Signal { name: "layoutChanged" } - Signal { - name: "layoutAboutToBeChanged" - Parameter { name: "parents"; type: "QList" } - Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } - } - Signal { - name: "layoutAboutToBeChanged" - Parameter { name: "parents"; type: "QList" } - } - Signal { name: "layoutAboutToBeChanged" } - Signal { - name: "rowsAboutToBeInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsAboutToBeInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { name: "modelAboutToBeReset" } - Signal { name: "modelReset" } - Signal { - name: "rowsAboutToBeMoved" - Parameter { name: "sourceParent"; type: "QModelIndex" } - Parameter { name: "sourceStart"; type: "int" } - Parameter { name: "sourceEnd"; type: "int" } - Parameter { name: "destinationParent"; type: "QModelIndex" } - Parameter { name: "destinationRow"; type: "int" } - } - Signal { - name: "rowsMoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - Parameter { name: "destination"; type: "QModelIndex" } - Parameter { name: "row"; type: "int" } - } - Signal { - name: "columnsAboutToBeMoved" - Parameter { name: "sourceParent"; type: "QModelIndex" } - Parameter { name: "sourceStart"; type: "int" } - Parameter { name: "sourceEnd"; type: "int" } - Parameter { name: "destinationParent"; type: "QModelIndex" } - Parameter { name: "destinationColumn"; type: "int" } - } - Signal { - name: "columnsMoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - Parameter { name: "destination"; type: "QModelIndex" } - Parameter { name: "column"; type: "int" } - } - Method { name: "submit"; type: "bool" } - Method { name: "revert" } - Method { - name: "hasIndex" - type: "bool" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "hasIndex" - type: "bool" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - } - Method { - name: "index" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "index" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - } - Method { - name: "parent" - type: "QModelIndex" - Parameter { name: "child"; type: "QModelIndex" } - } - Method { - name: "sibling" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "idx"; type: "QModelIndex" } - } - Method { - name: "rowCount" - type: "int" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "rowCount"; type: "int" } - Method { - name: "columnCount" - type: "int" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "columnCount"; type: "int" } - Method { - name: "hasChildren" - type: "bool" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "hasChildren"; type: "bool" } - Method { - name: "data" - type: "QVariant" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "data" - type: "QVariant" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "setData" - type: "bool" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "setData" - type: "bool" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "value"; type: "QVariant" } - } - Method { - name: "headerData" - type: "QVariant" - Parameter { name: "section"; type: "int" } - Parameter { name: "orientation"; type: "Qt::Orientation" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "headerData" - type: "QVariant" - Parameter { name: "section"; type: "int" } - Parameter { name: "orientation"; type: "Qt::Orientation" } - } - Method { - name: "fetchMore" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "canFetchMore" - type: "bool" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "flags" - type: "Qt::ItemFlags" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "hits"; type: "int" } - Parameter { name: "flags"; type: "Qt::MatchFlags" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "hits"; type: "int" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - } - } - Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } - Component { - name: "QQuickFontListModel" - prototype: "QAbstractListModel" - exports: ["QtQuick.Dialogs.Private/FontListModel 1.1"] - exportMetaObjectRevisions: [0] - Property { name: "writingSystem"; type: "string" } - Property { name: "scalableFonts"; type: "bool" } - Property { name: "nonScalableFonts"; type: "bool" } - Property { name: "monospacedFonts"; type: "bool" } - Property { name: "proportionalFonts"; type: "bool" } - Property { name: "count"; type: "int"; isReadonly: true } - Signal { name: "rowCountChanged" } - Method { - name: "setScalableFonts" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setNonScalableFonts" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setMonospacedFonts" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setProportionalFonts" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "get" - type: "QJSValue" - Parameter { name: "index"; type: "int" } - } - Method { name: "pointSizes"; type: "QJSValue" } - } - Component { - name: "QQuickWritingSystemListModel" - prototype: "QAbstractListModel" - exports: ["QtQuick.Dialogs.Private/WritingSystemListModel 1.1"] - exportMetaObjectRevisions: [0] - Property { name: "writingSystems"; type: "QStringList"; isReadonly: true } - Property { name: "count"; type: "int"; isReadonly: true } - Signal { name: "rowCountChanged" } - Method { - name: "get" - type: "QJSValue" - Parameter { name: "index"; type: "int" } - } - } -} diff --git a/bin/QtQuick/Dialogs/Private/qmldir b/bin/QtQuick/Dialogs/Private/qmldir deleted file mode 100644 index 562d59e32..000000000 --- a/bin/QtQuick/Dialogs/Private/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module QtQuick.Dialogs.Private -plugin dialogsprivateplugin -classname QtQuick2DialogsPrivatePlugin -typeinfo plugins.qmltypes diff --git a/bin/QtQuick/Dialogs/WidgetColorDialog.qml b/bin/QtQuick/Dialogs/WidgetColorDialog.qml deleted file mode 100644 index 891b371d9..000000000 --- a/bin/QtQuick/Dialogs/WidgetColorDialog.qml +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.PrivateWidgets 1.0 - -QtColorDialog { } diff --git a/bin/QtQuick/Dialogs/WidgetFileDialog.qml b/bin/QtQuick/Dialogs/WidgetFileDialog.qml deleted file mode 100644 index f888431ac..000000000 --- a/bin/QtQuick/Dialogs/WidgetFileDialog.qml +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.PrivateWidgets 1.0 - -QtFileDialog { } diff --git a/bin/QtQuick/Dialogs/WidgetFontDialog.qml b/bin/QtQuick/Dialogs/WidgetFontDialog.qml deleted file mode 100644 index e1a10e57a..000000000 --- a/bin/QtQuick/Dialogs/WidgetFontDialog.qml +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.PrivateWidgets 1.1 - -QtFontDialog { } diff --git a/bin/QtQuick/Dialogs/WidgetMessageDialog.qml b/bin/QtQuick/Dialogs/WidgetMessageDialog.qml deleted file mode 100644 index 52e8f1c13..000000000 --- a/bin/QtQuick/Dialogs/WidgetMessageDialog.qml +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.PrivateWidgets 1.1 - -QtMessageDialog { } diff --git a/bin/QtQuick/Dialogs/dialogplugin.dll b/bin/QtQuick/Dialogs/dialogplugin.dll deleted file mode 100644 index 307e2a075..000000000 Binary files a/bin/QtQuick/Dialogs/dialogplugin.dll and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/checkers.png b/bin/QtQuick/Dialogs/images/checkers.png deleted file mode 100644 index 72cb9f035..000000000 Binary files a/bin/QtQuick/Dialogs/images/checkers.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/checkmark.png b/bin/QtQuick/Dialogs/images/checkmark.png deleted file mode 100644 index 821aafccd..000000000 Binary files a/bin/QtQuick/Dialogs/images/checkmark.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/copy.png b/bin/QtQuick/Dialogs/images/copy.png deleted file mode 100644 index 2aeb28288..000000000 Binary files a/bin/QtQuick/Dialogs/images/copy.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/critical.png b/bin/QtQuick/Dialogs/images/critical.png deleted file mode 100644 index dc9c5aebf..000000000 Binary files a/bin/QtQuick/Dialogs/images/critical.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/crosshairs.png b/bin/QtQuick/Dialogs/images/crosshairs.png deleted file mode 100644 index 9a61946ec..000000000 Binary files a/bin/QtQuick/Dialogs/images/crosshairs.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/information.png b/bin/QtQuick/Dialogs/images/information.png deleted file mode 100644 index 0a2eb87d1..000000000 Binary files a/bin/QtQuick/Dialogs/images/information.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/question.png b/bin/QtQuick/Dialogs/images/question.png deleted file mode 100644 index 2dd92fd79..000000000 Binary files a/bin/QtQuick/Dialogs/images/question.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/slider_handle.png b/bin/QtQuick/Dialogs/images/slider_handle.png deleted file mode 100644 index e3b965439..000000000 Binary files a/bin/QtQuick/Dialogs/images/slider_handle.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/sunken_frame.png b/bin/QtQuick/Dialogs/images/sunken_frame.png deleted file mode 100644 index 178c3092d..000000000 Binary files a/bin/QtQuick/Dialogs/images/sunken_frame.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/warning.png b/bin/QtQuick/Dialogs/images/warning.png deleted file mode 100644 index cba78f6be..000000000 Binary files a/bin/QtQuick/Dialogs/images/warning.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/images/window_border.png b/bin/QtQuick/Dialogs/images/window_border.png deleted file mode 100644 index 23c011d0f..000000000 Binary files a/bin/QtQuick/Dialogs/images/window_border.png and /dev/null differ diff --git a/bin/QtQuick/Dialogs/plugins.qmltypes b/bin/QtQuick/Dialogs/plugins.qmltypes deleted file mode 100644 index 559bb48ad..000000000 --- a/bin/QtQuick/Dialogs/plugins.qmltypes +++ /dev/null @@ -1,484 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable QtQuick.Dialogs 1.3' - -Module { - dependencies: [ - "Qt.labs.folderlistmodel 2.1", - "Qt.labs.settings 1.0", - "QtGraphicalEffects 1.12", - "QtQml 2.14", - "QtQml.Models 2.2", - "QtQuick 2.9", - "QtQuick.Controls 1.5", - "QtQuick.Controls.Styles 1.4", - "QtQuick.Extras 1.4", - "QtQuick.Layouts 1.1", - "QtQuick.Window 2.2" - ] - Component { - name: "QQuickAbstractColorDialog" - prototype: "QQuickAbstractDialog" - Property { name: "showAlphaChannel"; type: "bool" } - Property { name: "color"; type: "QColor" } - Property { name: "currentColor"; type: "QColor" } - Property { name: "currentHue"; type: "double"; isReadonly: true } - Property { name: "currentSaturation"; type: "double"; isReadonly: true } - Property { name: "currentLightness"; type: "double"; isReadonly: true } - Property { name: "currentAlpha"; type: "double"; isReadonly: true } - Signal { name: "selectionAccepted" } - Method { - name: "setVisible" - Parameter { name: "v"; type: "bool" } - } - Method { - name: "setModality" - Parameter { name: "m"; type: "Qt::WindowModality" } - } - Method { - name: "setTitle" - Parameter { name: "t"; type: "string" } - } - Method { - name: "setColor" - Parameter { name: "arg"; type: "QColor" } - } - Method { - name: "setCurrentColor" - Parameter { name: "currentColor"; type: "QColor" } - } - Method { - name: "setShowAlphaChannel" - Parameter { name: "arg"; type: "bool" } - } - } - Component { - name: "QQuickAbstractDialog" - prototype: "QObject" - Enum { - name: "StandardButton" - values: { - "NoButton": 0, - "Ok": 1024, - "Save": 2048, - "SaveAll": 4096, - "Open": 8192, - "Yes": 16384, - "YesToAll": 32768, - "No": 65536, - "NoToAll": 131072, - "Abort": 262144, - "Retry": 524288, - "Ignore": 1048576, - "Close": 2097152, - "Cancel": 4194304, - "Discard": 8388608, - "Help": 16777216, - "Apply": 33554432, - "Reset": 67108864, - "RestoreDefaults": 134217728, - "NButtons": 134217729 - } - } - Enum { - name: "StandardButtons" - values: { - "NoButton": 0, - "Ok": 1024, - "Save": 2048, - "SaveAll": 4096, - "Open": 8192, - "Yes": 16384, - "YesToAll": 32768, - "No": 65536, - "NoToAll": 131072, - "Abort": 262144, - "Retry": 524288, - "Ignore": 1048576, - "Close": 2097152, - "Cancel": 4194304, - "Discard": 8388608, - "Help": 16777216, - "Apply": 33554432, - "Reset": 67108864, - "RestoreDefaults": 134217728, - "NButtons": 134217729 - } - } - Property { name: "visible"; type: "bool" } - Property { name: "modality"; type: "Qt::WindowModality" } - Property { name: "title"; type: "string" } - Property { name: "isWindow"; type: "bool"; isReadonly: true } - Property { name: "x"; type: "int" } - Property { name: "y"; type: "int" } - Property { name: "width"; type: "int" } - Property { name: "height"; type: "int" } - Property { name: "__maximumDimension"; type: "int"; isReadonly: true } - Signal { name: "visibilityChanged" } - Signal { name: "geometryChanged" } - Signal { name: "accepted" } - Signal { name: "rejected" } - Method { name: "open" } - Method { name: "close" } - Method { - name: "setX" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setY" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setWidth" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setHeight" - Parameter { name: "arg"; type: "int" } - } - } - Component { - name: "QQuickAbstractFileDialog" - prototype: "QQuickAbstractDialog" - Property { name: "selectExisting"; type: "bool" } - Property { name: "selectMultiple"; type: "bool" } - Property { name: "selectFolder"; type: "bool" } - Property { name: "folder"; type: "QUrl" } - Property { name: "nameFilters"; type: "QStringList" } - Property { name: "selectedNameFilter"; type: "string" } - Property { name: "selectedNameFilterExtensions"; type: "QStringList"; isReadonly: true } - Property { name: "selectedNameFilterIndex"; type: "int" } - Property { name: "fileUrl"; type: "QUrl"; isReadonly: true } - Property { name: "fileUrls"; type: "QList"; isReadonly: true } - Property { name: "sidebarVisible"; type: "bool" } - Property { name: "defaultSuffix"; type: "string" } - Property { name: "shortcuts"; type: "QJSValue"; isReadonly: true } - Property { name: "__shortcuts"; type: "QJSValue"; isReadonly: true } - Signal { name: "filterSelected" } - Signal { name: "fileModeChanged" } - Signal { name: "selectionAccepted" } - Method { - name: "setVisible" - Parameter { name: "v"; type: "bool" } - } - Method { - name: "setTitle" - Parameter { name: "t"; type: "string" } - } - Method { - name: "setSelectExisting" - Parameter { name: "s"; type: "bool" } - } - Method { - name: "setSelectMultiple" - Parameter { name: "s"; type: "bool" } - } - Method { - name: "setSelectFolder" - Parameter { name: "s"; type: "bool" } - } - Method { - name: "setFolder" - Parameter { name: "f"; type: "QUrl" } - } - Method { - name: "setNameFilters" - Parameter { name: "f"; type: "QStringList" } - } - Method { - name: "selectNameFilter" - Parameter { name: "f"; type: "string" } - } - Method { - name: "setSelectedNameFilterIndex" - Parameter { name: "idx"; type: "int" } - } - Method { - name: "setSidebarVisible" - Parameter { name: "s"; type: "bool" } - } - Method { - name: "setDefaultSuffix" - Parameter { name: "suffix"; type: "string" } - } - } - Component { - name: "QQuickAbstractFontDialog" - prototype: "QQuickAbstractDialog" - Property { name: "scalableFonts"; type: "bool" } - Property { name: "nonScalableFonts"; type: "bool" } - Property { name: "monospacedFonts"; type: "bool" } - Property { name: "proportionalFonts"; type: "bool" } - Property { name: "font"; type: "QFont" } - Property { name: "currentFont"; type: "QFont" } - Signal { name: "selectionAccepted" } - Method { - name: "setVisible" - Parameter { name: "v"; type: "bool" } - } - Method { - name: "setModality" - Parameter { name: "m"; type: "Qt::WindowModality" } - } - Method { - name: "setTitle" - Parameter { name: "t"; type: "string" } - } - Method { - name: "setFont" - Parameter { name: "arg"; type: "QFont" } - } - Method { - name: "setCurrentFont" - Parameter { name: "arg"; type: "QFont" } - } - Method { - name: "setScalableFonts" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setNonScalableFonts" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setMonospacedFonts" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setProportionalFonts" - Parameter { name: "arg"; type: "bool" } - } - } - Component { - name: "QQuickAbstractMessageDialog" - prototype: "QQuickAbstractDialog" - Enum { - name: "Icon" - values: { - "NoIcon": 0, - "Information": 1, - "Warning": 2, - "Critical": 3, - "Question": 4 - } - } - Property { name: "text"; type: "string" } - Property { name: "informativeText"; type: "string" } - Property { name: "detailedText"; type: "string" } - Property { name: "icon"; type: "Icon" } - Property { name: "standardIconSource"; type: "QUrl"; isReadonly: true } - Property { name: "standardButtons"; type: "QQuickAbstractDialog::StandardButtons" } - Property { - name: "clickedButton" - type: "QQuickAbstractDialog::StandardButton" - isReadonly: true - } - Signal { name: "buttonClicked" } - Signal { name: "discard" } - Signal { name: "help" } - Signal { name: "yes" } - Signal { name: "no" } - Signal { name: "apply" } - Signal { name: "reset" } - Method { - name: "setVisible" - Parameter { name: "v"; type: "bool" } - } - Method { - name: "setTitle" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setText" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setInformativeText" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setDetailedText" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setIcon" - Parameter { name: "icon"; type: "Icon" } - } - Method { - name: "setStandardButtons" - Parameter { name: "buttons"; type: "StandardButtons" } - } - Method { - name: "click" - Parameter { name: "button"; type: "QQuickAbstractDialog::StandardButton" } - } - } - Component { - name: "QQuickColorDialog" - defaultProperty: "contentItem" - prototype: "QQuickAbstractColorDialog" - exports: ["QtQuick.Dialogs/AbstractColorDialog 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - } - Component { - name: "QQuickDialog1" - defaultProperty: "contentItem" - prototype: "QQuickAbstractDialog" - exports: ["QtQuick.Dialogs/AbstractDialog 1.2"] - exportMetaObjectRevisions: [0] - Property { name: "title"; type: "string" } - Property { name: "standardButtons"; type: "QQuickAbstractDialog::StandardButtons" } - Property { - name: "clickedButton" - type: "QQuickAbstractDialog::StandardButton" - isReadonly: true - } - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Signal { name: "buttonClicked" } - Signal { name: "discard" } - Signal { name: "help" } - Signal { name: "yes" } - Signal { name: "no" } - Signal { name: "apply" } - Signal { name: "reset" } - Method { - name: "setTitle" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setStandardButtons" - Parameter { name: "buttons"; type: "StandardButtons" } - } - Method { - name: "click" - Parameter { name: "button"; type: "QQuickAbstractDialog::StandardButton" } - } - Method { name: "__standardButtonsLeftModel"; type: "QJSValue" } - Method { name: "__standardButtonsRightModel"; type: "QJSValue" } - } - Component { - name: "QQuickFileDialog" - defaultProperty: "contentItem" - prototype: "QQuickAbstractFileDialog" - exports: ["QtQuick.Dialogs/AbstractFileDialog 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Method { name: "clearSelection" } - Method { - name: "addSelection" - type: "bool" - Parameter { name: "path"; type: "QUrl" } - } - } - Component { - name: "QQuickFontDialog" - defaultProperty: "contentItem" - prototype: "QQuickAbstractFontDialog" - exports: ["QtQuick.Dialogs/AbstractFontDialog 1.1"] - exportMetaObjectRevisions: [0] - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - } - Component { - name: "QQuickMessageDialog" - defaultProperty: "contentItem" - prototype: "QQuickAbstractMessageDialog" - exports: ["QtQuick.Dialogs/AbstractMessageDialog 1.1"] - exportMetaObjectRevisions: [0] - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - } - Component { - name: "QQuickStandardButton" - exports: ["QtQuick.Dialogs/StandardButton 1.1"] - isCreatable: false - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickStandardIcon" - exports: ["QtQuick.Dialogs/StandardIcon 1.1"] - isCreatable: false - exportMetaObjectRevisions: [0] - } - Component { - prototype: "QQuickColorDialog" - name: "QtQuick.Dialogs/ColorDialog 1.0" - exports: ["QtQuick.Dialogs/ColorDialog 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentItem" - Property { name: "__valueSet"; type: "bool" } - Method { name: "__setControlsFromColor"; type: "QVariant" } - } - Component { - prototype: "QQuickDialog1" - name: "QtQuick.Dialogs/Dialog 1.2" - exports: ["QtQuick.Dialogs/Dialog 1.2"] - exportMetaObjectRevisions: [2] - isComposite: true - defaultProperty: "data" - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Signal { - name: "actionChosen" - Parameter { name: "action"; type: "QVariant" } - } - Method { name: "setupButtons"; type: "QVariant" } - } - Component { - prototype: "QQuickDialog1" - name: "QtQuick.Dialogs/Dialog 1.3" - exports: ["QtQuick.Dialogs/Dialog 1.3"] - exportMetaObjectRevisions: [3] - isComposite: true - defaultProperty: "data" - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Signal { - name: "actionChosen" - Parameter { name: "action"; type: "QVariant" } - } - Method { name: "setupButtons"; type: "QVariant" } - } - Component { - prototype: "QQuickFileDialog" - name: "QtQuick.Dialogs/FileDialog 1.0" - exports: ["QtQuick.Dialogs/FileDialog 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "contentItem" - Property { name: "modelComponent"; type: "QQmlComponent"; isPointer: true } - Property { name: "settings"; type: "QQmlSettings"; isPointer: true } - Property { name: "showFocusHighlight"; type: "bool" } - Property { name: "palette"; type: "QQuickSystemPalette"; isPointer: true } - Property { name: "favoriteFolders"; type: "QVariant" } - Property { name: "dirUpAction"; type: "QQuickAction1"; isPointer: true } - Method { - name: "dirDown" - type: "QVariant" - Parameter { name: "path"; type: "QVariant" } - } - Method { name: "dirUp"; type: "QVariant" } - Method { name: "acceptSelection"; type: "QVariant" } - } - Component { - prototype: "QQuickFontDialog" - name: "QtQuick.Dialogs/FontDialog 1.1" - exports: ["QtQuick.Dialogs/FontDialog 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "contentItem" - Property { name: "font"; type: "QFont" } - Property { name: "currentFont"; type: "QFont" } - } - Component { - prototype: "QQuickMessageDialog" - name: "QtQuick.Dialogs/MessageDialog 1.1" - exports: ["QtQuick.Dialogs/MessageDialog 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "contentItem" - Method { name: "calculateImplicitWidth"; type: "QVariant" } - } -} diff --git a/bin/QtQuick/Dialogs/qml/ColorSlider.qml b/bin/QtQuick/Dialogs/qml/ColorSlider.qml deleted file mode 100644 index 8322910f8..000000000 --- a/bin/QtQuick/Dialogs/qml/ColorSlider.qml +++ /dev/null @@ -1,139 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls.Private 1.0 - -Item { - id: colorSlider - - property real value: 1 - property real maximum: 1 - property real minimum: 0 - property string text: "" - property bool pressed: mouseArea.pressed - property bool integer: false - property Component trackDelegate - property string handleSource: "../images/slider_handle.png" - - width: parent.width - height: handle.height + textText.implicitHeight - - function updatePos() { - if (maximum > minimum) { - var pos = (track.width - 10) * (value - minimum) / (maximum - minimum) + 5; - return Math.min(Math.max(pos, 5), track.width - 5) - 10; - } else { - return 5; - } - } - - SystemPalette { id: palette } - - Column { - id: column - width: parent.width - spacing: 12 - Text { - id: textText - anchors.horizontalCenter: parent.horizontalCenter - text: colorSlider.text - anchors.left: parent.left - color: palette.windowText - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - } - - Item { - id: track - height: 8 - anchors.left: parent.left - anchors.right: parent.right - - Loader { - sourceComponent: trackDelegate - width: parent.height - height: parent.width - y: width - } - - BorderImage { - source: "../images/sunken_frame.png" - border.left: 8 - border.right: 8 - border.top:8 - border.bottom: 8 - anchors.fill: track - anchors.margins: -1 - anchors.topMargin: -2 - anchors.leftMargin: -2 - } - - Image { - id: handle - anchors.verticalCenter: parent.verticalCenter - smooth: true - source: "../images/slider_handle.png" - x: updatePos() - 8 - z: 1 - } - - MouseArea { - id: mouseArea - anchors {left: parent.left; right: parent.right; verticalCenter: parent.verticalCenter} - height: handle.height - width: handle.width - preventStealing: true - - onPressed: { - var handleX = Math.max(0, Math.min(mouseX, mouseArea.width)) - var realValue = (maximum - minimum) * handleX / mouseArea.width + minimum; - value = colorSlider.integer ? Math.round(realValue) : realValue; - } - - onPositionChanged: { - if (pressed) { - var handleX = Math.max(0, Math.min(mouseX, mouseArea.width)) - var realValue = (maximum - minimum) * handleX / mouseArea.width + minimum; - value = colorSlider.integer ? Math.round(realValue) : realValue; - } - } - } - } - } -} diff --git a/bin/QtQuick/Dialogs/qml/DefaultWindowDecoration.qml b/bin/QtQuick/Dialogs/qml/DefaultWindowDecoration.qml deleted file mode 100644 index ceb8b215d..000000000 --- a/bin/QtQuick/Dialogs/qml/DefaultWindowDecoration.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -Rectangle { - color: "#80000000" - anchors.fill: parent - z: 1000000 - property alias content: borderImage.content - property bool dismissOnOuterClick: true - signal dismissed - MouseArea { - anchors.fill: parent - onClicked: if (dismissOnOuterClick) dismissed() - BorderImage { - id: borderImage - property Item content - - MouseArea { anchors.fill: parent } - - width: content ? content.width + 15 : 0 - height: content ? content.height + 15 : 0 - onWidthChanged: if (content) content.x = 5 - onHeightChanged: if (content) content.y = 5 - border { left: 10; top: 10; right: 10; bottom: 10 } - clip: true - source: "../images/window_border.png" - anchors.centerIn: parent - onContentChanged: if (content) content.parent = borderImage - } - } -} diff --git a/bin/QtQuick/Dialogs/qml/IconButtonStyle.qml b/bin/QtQuick/Dialogs/qml/IconButtonStyle.qml deleted file mode 100644 index a09debeb5..000000000 --- a/bin/QtQuick/Dialogs/qml/IconButtonStyle.qml +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.2 -import QtQuick.Controls.Private 1.0 -import QtQuick.Controls.Styles 1.1 - -ButtonStyle { - FontLoader { id: iconFont; source: "icons.ttf" } - - label: Text { - id: text - font.family: iconFont.name - font.pointSize: TextSingleton.font.pointSize * 1.5 - renderType: Settings.isMobile ? Text.QtRendering : Text.NativeRendering - text: control.text - color: SystemPaletteSingleton.buttonText(control.enabled) - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - } -} diff --git a/bin/QtQuick/Dialogs/qml/IconGlyph.qml b/bin/QtQuick/Dialogs/qml/IconGlyph.qml deleted file mode 100644 index 728ce7e19..000000000 --- a/bin/QtQuick/Dialogs/qml/IconGlyph.qml +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Dialogs module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 - -Text { - id: icon - width: height - verticalAlignment: Text.AlignVCenter - font.family: iconFont.name - property alias unicode: icon.text - FontLoader { id: iconFont; source: "icons.ttf"; onNameChanged: console.log("custom font" + name) } -} diff --git a/bin/QtQuick/Dialogs/qml/icons.ttf b/bin/QtQuick/Dialogs/qml/icons.ttf deleted file mode 100644 index 54289ca98..000000000 Binary files a/bin/QtQuick/Dialogs/qml/icons.ttf and /dev/null differ diff --git a/bin/QtQuick/Dialogs/qml/qmldir b/bin/QtQuick/Dialogs/qml/qmldir deleted file mode 100644 index b130eec8a..000000000 --- a/bin/QtQuick/Dialogs/qml/qmldir +++ /dev/null @@ -1,3 +0,0 @@ -ColorSlider 1.0 ColorSlider.qml -IconButtonStyle 1.0 IconButtonStyle.qml -IconGlyph 1.0 IconGlyph.qml diff --git a/bin/QtQuick/Dialogs/qmldir b/bin/QtQuick/Dialogs/qmldir deleted file mode 100644 index 88df140ee..000000000 --- a/bin/QtQuick/Dialogs/qmldir +++ /dev/null @@ -1,10 +0,0 @@ -module QtQuick.Dialogs -plugin dialogplugin -classname QtQuick2DialogsPlugin -typeinfo plugins.qmltypes -depends Qt.labs.folderlistmodel 1.0 -depends Qt.labs.settings 1.0 -depends QtQuick.Dialogs.Private 1.0 -depends QtQuick.Controls 1.3 -depends QtQuick.PrivateWidgets 1.1 -depends QtQml 2.14 diff --git a/bin/QtQuick/Extras/CircularGauge.qml b/bin/QtQuick/Extras/CircularGauge.qml deleted file mode 100644 index d42e17d5b..000000000 --- a/bin/QtQuick/Extras/CircularGauge.qml +++ /dev/null @@ -1,160 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -// Workaround for QTBUG-37751; we need this import for RangeModel, although we shouldn't. -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras.Private 1.0 - -/*! - \qmltype CircularGauge - \inqmlmodule QtQuick.Extras - \since 5.5 - \ingroup extras - \ingroup extras-non-interactive - \brief A gauge that displays a value within a range along an arc. - - \image circulargauge.png CircularGauge - - The CircularGauge is similar to traditional mechanical gauges that use a - needle to display a value from some input, such as the speed of a vehicle or - air pressure, for example. - - The minimum and maximum values displayable by the gauge can be set with the - \l minimumValue and \l maximumValue properties. The angle at which these - values are displayed can be set with the - \l {CircularGaugeStyle::}{minimumValueAngle} and - \l {CircularGaugeStyle::}{maximumValueAngle} properties of - \l {CircularGaugeStyle}. - - Example: - \code - CircularGauge { - value: accelerating ? maximumValue : 0 - anchors.centerIn: parent - - property bool accelerating: false - - Keys.onSpacePressed: accelerating = true - Keys.onReleased: { - if (event.key === Qt.Key_Space) { - accelerating = false; - event.accepted = true; - } - } - - Component.onCompleted: forceActiveFocus() - - Behavior on value { - NumberAnimation { - duration: 1000 - } - } - } - \endcode - - You can create a custom appearance for a CircularGauge by assigning a - \l {CircularGaugeStyle}. -*/ - -Control { - id: circularGauge - - style: Settings.styleComponent(Settings.style, "CircularGaugeStyle.qml", circularGauge) - - /*! - \qmlproperty real CircularGauge::minimumValue - - This property holds the smallest value displayed by the gauge. - */ - property alias minimumValue: range.minimumValue - - /*! - \qmlproperty real CircularGauge::maximumValue - - This property holds the largest value displayed by the gauge. - */ - property alias maximumValue: range.maximumValue - - /*! - This property holds the current value displayed by the gauge, which will - always be between \l minimumValue and \l maximumValue, inclusive. - */ - property alias value: range.value - - /*! - \qmlproperty real CircularGauge::stepSize - - This property holds the size of the value increments that the needle - displays. - - For example, when stepSize is \c 10 and value is \c 0, adding \c 5 to - \l value will have no visible effect on the needle, although \l value - will still be incremented. Adding an extra \c 5 to \l value will then - cause the needle to point to \c 10. - */ - property alias stepSize: range.stepSize - - /*! - This property determines whether or not the gauge displays tickmarks, - minor tickmarks, and labels. - - For more fine-grained control over what is displayed, the following - style components of - \l CircularGaugeStyle can be - used: - - \list - \li \l {CircularGaugeStyle::}{tickmark} - \li \l {CircularGaugeStyle::}{minorTickmark} - \li \l {CircularGaugeStyle::}{tickmarkLabel} - \endlist - */ - property bool tickmarksVisible: true - - RangeModel { - id: range - minimumValue: 0 - maximumValue: 100 - stepSize: 0 - value: minimumValue - } -} diff --git a/bin/QtQuick/Extras/DelayButton.qml b/bin/QtQuick/Extras/DelayButton.qml deleted file mode 100644 index 9a0c3a255..000000000 --- a/bin/QtQuick/Extras/DelayButton.qml +++ /dev/null @@ -1,161 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype DelayButton - \inherits QtQuickControls::Button - \inqmlmodule QtQuick.Extras - \since 5.5 - \ingroup extras - \ingroup extras-interactive - \brief A checkable button that triggers an action when held in long enough. - - \image delaybutton.png A DelayButton - - The DelayButton is a checkable button that incorporates a delay before - the button becomes checked and the \l activated signal is emitted. This - delay prevents accidental presses. - - The current progress is expressed as a decimal value between \c 0.0 and - \c 1.0. The time it takes for \l activated to be emitted is measured in - milliseconds, and can be set with the \l delay property. - - The progress is indicated by a progress indicator around the button. When - the indicator reaches completion, it flashes. - - \image delaybutton-progress.png A DelayButton being held down - A DelayButton being held down - \image delaybutton-activated.png A DelayButton after being activated - A DelayButton after being activated - - You can create a custom appearance for a DelayButton by assigning a - \l {DelayButtonStyle}. -*/ - -Button { - id: root - - style: Settings.styleComponent(Settings.style, "DelayButtonStyle.qml", root) - - /*! - \qmlproperty real DelayButton::progress - - This property holds the current progress as displayed by the progress - indicator, in the range \c 0.0 - \c 1.0. - */ - readonly property alias progress: root.__progress - - /*! - This property holds the time it takes (in milliseconds) for \l progress - to reach \c 1.0 and emit \l activated. - - The default value is \c 3000 ms. - */ - property int delay: 3000 - - /*! - This signal is emitted when \l progress reaches \c 1.0 and the button - becomes checked. - */ - signal activated - - - /*! \internal */ - property real __progress: 0.0 - - Behavior on __progress { - id: progressBehavior - - NumberAnimation { - id: numberAnimation - } - } - - Qml.Binding { - // Force checkable to false to get full control over the checked -property - target: root - property: "checkable" - value: false - restoreMode: Binding.RestoreBinding - } - - onProgressChanged: { - if (__progress === 1.0) { - checked = true; - activated(); - } - } - - onCheckedChanged: { - if (checked) { - if (__progress < 1) { - // Programmatically activated the button; don't animate. - progressBehavior.enabled = false; - __progress = 1; - progressBehavior.enabled = true; - } - } else { - // Unchecked the button after it was flashing; it should instantly stop - // flashing (with no reversed progress bar). - progressBehavior.enabled = false; - __progress = 0; - progressBehavior.enabled = true; - } - } - - onPressedChanged: { - if (checked) { - if (pressed) { - // Pressed the button to stop the activation. - checked = false; - } - } else { - var effectiveDelay = pressed ? delay : delay * 0.3; - // Not active. Either the button is being held down or let go. - numberAnimation.duration = Math.max(0, (pressed ? 1 - __progress : __progress) * effectiveDelay); - __progress = pressed ? 1 : 0; - } - } -} diff --git a/bin/QtQuick/Extras/Dial.qml b/bin/QtQuick/Extras/Dial.qml deleted file mode 100644 index 688f13d9d..000000000 --- a/bin/QtQuick/Extras/Dial.qml +++ /dev/null @@ -1,229 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 - -/*! - \qmltype Dial - \inqmlmodule QtQuick.Extras - \since 5.5 - \ingroup extras - \ingroup extras-interactive - \brief A circular dial that is rotated to set a value. - - \image dial.png A Dial - - The Dial is similar to a traditional dial knob that is found on devices - such as stereos or industrial equipment. It allows the user to specify a - value within a range. - - Like CircularGauge, Dial can display tickmarks to give an indication of - the current value. When a suitable stepSize is combined with - \l {DialStyle::}{tickmarkStepSize}, - the dial "snaps" to each tickmark. - - You can create a custom appearance for a Dial by assigning a - \l {DialStyle}. -*/ - -Control { - id: dial - - activeFocusOnTab: true - style: Settings.styleComponent(Settings.style, "DialStyle.qml", dial) - - /*! - \qmlproperty real Dial::value - - The angle of the handle along the dial, in the range of - \c 0.0 to \c 1.0. - - The default value is \c{0.0}. - */ - property alias value: range.value - - /*! - \qmlproperty real Dial::minimumValue - - The smallest value allowed by the dial. - - The default value is \c{0.0}. - - \sa value, maximumValue - */ - property alias minimumValue: range.minimumValue - - /*! - \qmlproperty real Dial::maximumValue - - The largest value allowed by the dial. - - The default value is \c{1.0}. - - \sa value, minimumValue - */ - property alias maximumValue: range.maximumValue - - /*! - \qmlproperty real Dial::hovered - - This property holds whether the button is being hovered. - */ - readonly property alias hovered: mouseArea.containsMouse - - /*! - \qmlproperty real Dial::stepSize - - The default value is \c{0.0}. - */ - property alias stepSize: range.stepSize - - /*! - \internal - Determines whether the dial can be freely rotated past the zero marker. - - The default value is \c false. - */ - property bool __wrap: false - - /*! - This property specifies whether the dial should gain active focus when - pressed. - - The default value is \c false. - - \sa pressed - */ - property bool activeFocusOnPress: false - - /*! - \qmlproperty bool Dial::pressed - - Returns \c true if the dial is pressed. - - \sa activeFocusOnPress - */ - readonly property alias pressed: mouseArea.pressed - - /*! - This property determines whether or not the dial displays tickmarks, - minor tickmarks, and labels. - - For more fine-grained control over what is displayed, the following - style components of - \l {DialStyle} can be used: - - \list - \li \l {DialStyle::}{tickmark} - \li \l {DialStyle::}{minorTickmark} - \li \l {DialStyle::}{tickmarkLabel} - \endlist - - The default value is \c true. - */ - property bool tickmarksVisible: true - - Keys.onLeftPressed: value -= stepSize - Keys.onDownPressed: value -= stepSize - Keys.onRightPressed: value += stepSize - Keys.onUpPressed: value += stepSize - Keys.onPressed: { - if (event.key === Qt.Key_Home) { - value = minimumValue; - event.accepted = true; - } else if (event.key === Qt.Key_End) { - value = maximumValue; - event.accepted = true; - } - } - - RangeModel { - id: range - minimumValue: 0.0 - maximumValue: 1.0 - stepSize: 0 - value: 0 - } - - MouseArea { - id: mouseArea - hoverEnabled: true - parent: __panel.background.parent - anchors.fill: parent - - onPositionChanged: { - if (pressed) { - value = valueFromPoint(mouseX, mouseY); - } - } - onPressed: { - if (!__style.__dragToSet) - value = valueFromPoint(mouseX, mouseY); - - if (activeFocusOnPress) - dial.forceActiveFocus(); - } - - function bound(val) { return Math.max(minimumValue, Math.min(maximumValue, val)); } - - function valueFromPoint(x, y) - { - var yy = height / 2.0 - y; - var xx = x - width / 2.0; - var angle = (xx || yy) ? Math.atan2(yy, xx) : 0; - - if (angle < Math.PI/ -2) - angle = angle + Math.PI * 2; - - var range = maximumValue - minimumValue; - var value; - if (__wrap) - value = (minimumValue + range * (Math.PI * 3 / 2 - angle) / (2 * Math.PI)); - else - value = (minimumValue + range * (Math.PI * 4 / 3 - angle) / (Math.PI * 10 / 6)); - - return bound(value) - } - } -} diff --git a/bin/QtQuick/Extras/Gauge.qml b/bin/QtQuick/Extras/Gauge.qml deleted file mode 100644 index 276cc1257..000000000 --- a/bin/QtQuick/Extras/Gauge.qml +++ /dev/null @@ -1,210 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 - -/*! - \qmltype Gauge - \inqmlmodule QtQuick.Extras - \since 5.5 - \ingroup extras - \ingroup extras-non-interactive - \brief A straight gauge that displays a value within a range. - - \image gauge.png Gauge - - The Gauge control displays a value within some range along a horizontal or - vertical axis. It can be thought of as an extension of ProgressBar, - providing tickmarks and labels to provide a visual measurement of the - progress. - - The minimum and maximum values displayable by the gauge can be set with the - \l minimumValue and \l maximumValue properties. - - Example: - \code - Gauge { - minimumValue: 0 - value: 50 - maximumValue: 100 - anchors.centerIn: parent - } - \endcode - - You can create a custom appearance for a Gauge by assigning a - \l {GaugeStyle}. -*/ - -Control { - id: gauge - - style: Settings.styleComponent(Settings.style, "GaugeStyle.qml", gauge) - - /*! - This property holds the smallest value displayed by the gauge. - - The default value is \c 0. - */ - property alias minimumValue: range.minimumValue - - /*! - This property holds the value displayed by the gauge. - - The default value is \c 0. - */ - property alias value: range.value - - /*! - This property holds the largest value displayed by the gauge. - - The default value is \c 100. - */ - property alias maximumValue: range.maximumValue - - /*! - This property determines the orientation of the gauge. - - The default value is \c Qt.Vertical. - */ - property int orientation: Qt.Vertical - - /*! - This property determines the alignment of each tickmark within the - gauge. When \l orientation is \c Qt.Vertical, the valid values are: - - \list - \li Qt.AlignLeft - \li Qt.AlignRight - \endlist - - Any other value will cause \c Qt.AlignLeft to be used, which is also the - default value for this orientation. - - When \l orientation is \c Qt.Horizontal, the valid values are: - - \list - \li Qt.AlignTop - \li Qt.AlignBottom - \endlist - - Any other value will cause \c Qt.AlignBottom to be used, which is also - the default value for this orientation. - */ - property int tickmarkAlignment: orientation == Qt.Vertical ? Qt.AlignLeft : Qt.AlignBottom - property int __tickmarkAlignment: { - if (orientation == Qt.Vertical) { - return (tickmarkAlignment == Qt.AlignLeft || tickmarkAlignment == Qt.AlignRight) ? tickmarkAlignment : Qt.AlignLeft; - } - - return (tickmarkAlignment == Qt.AlignTop || tickmarkAlignment == Qt.AlignBottom) ? tickmarkAlignment : Qt.AlignBottom; - } - - /*! - \internal - - TODO: finish this - - This property determines whether or not the tickmarks and their labels - are drawn inside (over) the gauge. The value of this property affects - \l tickmarkAlignment. - */ - property bool __tickmarksInside: false - - /*! - This property determines the rate at which tickmarks are drawn on the - gauge. The lower the value, the more often tickmarks are drawn. - - The default value is \c 10. - */ - property real tickmarkStepSize: 10 - - /*! - This property determines the amount of minor tickmarks drawn between - each regular tickmark. - - The default value is \c 4. - */ - property int minorTickmarkCount: 4 - - /*! - \qmlproperty font Gauge::font - - The font to use for the tickmark text. - */ - property alias font: hiddenText.font - - /*! - This property accepts a function that formats the given \a value for - display in - \l {GaugeStyle::}{tickmarkLabel}. - - For example, to provide a custom format that displays all values with 3 - decimal places: - - \code - formatValue: function(value) { - return value.toFixed(3); - } - \endcode - - The default function does no formatting. - */ - property var formatValue: function(value) { - return value; - } - - property alias __hiddenText: hiddenText - Text { - id: hiddenText - text: formatValue(maximumValue) - visible: false - } - - RangeModel { - id: range - minimumValue: 0 - value: 0 - maximumValue: 100 - } -} diff --git a/bin/QtQuick/Extras/PieMenu.qml b/bin/QtQuick/Extras/PieMenu.qml deleted file mode 100644 index cfaaecbe7..000000000 --- a/bin/QtQuick/Extras/PieMenu.qml +++ /dev/null @@ -1,738 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 -import QtQuick.Extras.Private.CppUtils 1.0 as CppUtils - -/*! - \qmltype PieMenu - \inqmlmodule QtQuick.Extras - \since 5.5 - \ingroup extras - \ingroup extras-interactive - \brief A popup menu that displays several menu items along an arc. - - \image piemenu.png A PieMenu - - The PieMenu provides a radial context menu as an alternative to a - traditional menu. All of the items in a PieMenu are an equal distance - from the center of the control. - - \section2 Populating the Menu - - To create a menu, define at least one MenuItem as a child of it: - \code - PieMenu { - id: pieMenu - - MenuItem { - text: "Action 1" - onTriggered: print("Action 1") - } - MenuItem { - text: "Action 2" - onTriggered: print("Action 2") - } - MenuItem { - text: "Action 3" - onTriggered: print("Action 3") - } - } - \endcode - - By default, only the currently selected item's text is displayed above the - menu. To provide text that is always visible when there is no current item, - set the \l title property. - - \section2 Displaying the Menu - - The typical use case for a menu is to open at the point of the mouse - cursor after a right click occurs. To do that, define a MouseArea that - covers the region upon which clicks should open the menu. When the - MouseArea is right-clicked, call the popup() function: - \code - MouseArea { - anchors.fill: parent - acceptedButtons: Qt.RightButton - - onClicked: pieMenu.popup(mouseX, mouseY) - } - \endcode - - If the menu is opened in a position where some of its menu items would be - outside of \l boundingItem, it is automatically moved to a position where - they will not be hidden. By default, the boundingItem is set to the parent - of the menu. It can also be set to \c null to prevent this behavior. - - PieMenu can be displayed at any position on the screen. With a traditional - context menu, the menu would be positioned with its top left corner at the - position of the right click, but since PieMenu is radial, we position it - centered over the position of the right click. - - To create a PieMenu that opens after a long press and selects items upon - releasing, you can combine ActivationMode.ActivateOnRelease with a - MouseArea using a Timer: - \code - MouseArea { - id: touchArea - anchors.fill: parent - - Timer { - id: pressAndHoldTimer - interval: 300 - onTriggered: pieMenu.popup(touchArea.mouseX, touchArea.mouseY); - } - - onPressed: pressAndHoldTimer.start() - onReleased: pressAndHoldTimer.stop(); - } - - PieMenu { - id: pieMenu - - triggerMode: TriggerMode.TriggerOnRelease - - MenuItem { - text: "Action 1" - onTriggered: print("Action 1") - } - MenuItem { - text: "Action 2" - onTriggered: print("Action 2") - } - MenuItem { - text: "Action 3" - onTriggered: print("Action 3") - } - } - \endcode - - You can hide individual menu items by setting their visible property to - \c false. Hiding items does not affect the - \l {PieMenuStyle::}{startAngle} or - \l {PieMenuStyle::}{endAngle}; the - remaining items will grow to consume the available space. - - You can create a custom appearance for a PieMenu by assigning a \l {PieMenuStyle} -*/ - -Control { - id: pieMenu - visible: false - - style: Settings.styleComponent(Settings.style, "PieMenuStyle.qml", pieMenu) - - /*! - This property reflects the angle (in radians) created by the imaginary - line from the center of the menu to the position of the cursor. - - Its value is undefined when the menu is not visible. - */ - readonly property real selectionAngle: { - var centerX = width / 2; - var centerY = height / 2; - var targetX = __protectedScope.selectionPos.x; - var targetY = __protectedScope.selectionPos.y; - - var xDistance = centerX - targetX; - var yDistance = centerY - targetY; - - var angleToTarget = Math.atan2(xDistance, yDistance) * -1; - angleToTarget; - } - - /*! - \qmlproperty enumeration PieMenu::activationMode - - This property determines the method for selecting items in the menu. - - \list - \li An activationMode of \a ActivationMode.ActivateOnPress means that menu - items will only be selected when a mouse press event occurs over them. - - \li An activationMode of \a ActivationMode.ActivateOnRelease means that menu - items will only be selected when a mouse release event occurs over them. - This means that the user must keep the mouse button down after opening - the menu and release the mouse over the item they wish to select. - - \li An activationMode of \a ActivationMode.ActivateOnClick means that menu - items will only be selected when the user clicks once over them. - \endlist - - \warning Changing the activationMode while the menu is visible will - result in undefined behavior. - - \deprecated Use triggerMode instead. - */ - property alias activationMode: pieMenu.triggerMode - - /*! - \qmlproperty enumeration PieMenu::triggerMode - - This property determines the method for selecting items in the menu. - - \list - \li A triggerMode of \a TriggerMode.TriggerOnPress means that menu - items will only be selected when a mouse press event occurs over them. - - \li A triggerMode of \a TriggerMode.TriggerOnRelease means that menu - items will only be selected when a mouse release event occurs over them. - This means that the user must keep the mouse button down after opening - the menu and release the mouse over the item they wish to select. - - \li A triggerMode of \a TriggerMode.TriggerOnClick means that menu - items will only be selected when the user clicks once over them. - \endlist - - \warning Changing the triggerMode while the menu is visible will - result in undefined behavior. - */ - property int triggerMode: TriggerMode.TriggerOnClick - - /*! - \qmlproperty list menuItems - - The list of menu items displayed by this menu. - - You can assign menu items by declaring them as children of PieMenu: - \code - PieMenu { - MenuItem { - text: "Action 1" - onTriggered: function() { print("Action 1"); } - } - MenuItem { - text: "Action 2" - onTriggered: function() { print("Action 2"); } - } - MenuItem { - text: "Action 3" - onTriggered: function() { print("Action 3"); } - } - } - \endcode - */ - default property alias menuItems: defaultPropertyHack.menuItems - - QtObject { - // Can't specify a list as a default property (QTBUG-10822) - id: defaultPropertyHack - property list menuItems - } - - /*! - \qmlproperty int PieMenu::currentIndex - - The index of the the menu item that is currently under the mouse, - or \c -1 if there is no such item. - */ - readonly property alias currentIndex: protectedScope.currentIndex - - /*! - \qmlproperty int PieMenu::currentItem - - The menu item that is currently under the mouse, or \c null if there is - no such item. - */ - readonly property alias currentItem: protectedScope.currentItem - - /*! - This property defines the text that is shown above the menu when - there is no current menu item (currentIndex is \c -1). - - The default value is \c "" (an empty string). - */ - property string title: "" - - /*! - The item which the menu must stay within. - - A typical use case for PieMenu involves: - - \list - \li A MouseArea that determines the clickable area within which the - menu can be opened. - \li The bounds that the menu must not go outside of. - \endlist - - Although they sound similar, they have different purposes. Consider the - example below: - - \image piemenu-boundingItem-example.png Canvas boundingItem example - - The user can only open the menu within the inner rectangle. In this - case, they've opened the menu on the edge of the MouseArea, but there - would not be enough room to display the entire menu centered at the - cursor position, so it was moved to the left. - - If for some reason we didn't want this restriction, we can set - boundingItem to \c null: - - \image piemenu-boundingItem-null-example.png Canvas null boundingItem example - - By default, the menu's \l {Item::}{parent} is the boundingItem. - */ - property Item boundingItem: parent - - /*! - \qmlmethod void popup(real x, real y) - - Opens the menu at coordinates \a x, \a y. - */ - function popup(x, y) { - if (x !== undefined) - pieMenu.x = x - pieMenu.width / 2; - if (y !== undefined) - pieMenu.y = y - pieMenu.height / 2; - - pieMenu.visible = true; - } - - /*! - \qmlmethod void addItem(string text) - - Adds a \a text item to the end of the menu items. - - Equivalent to passing calling \c insertItem(menuItems.length, text). - - Returns the newly added item. - */ - function addItem(text) { - return insertItem(menuItems.length, text); - } - - /*! - \qmlmethod void insertItem(int before, string text) - - Inserts a MenuItem with \a text before the index at \a before. - - To insert an item at the end, pass \c menuItems.length. - - Returns the newly inserted item, or \c null if \a before is invalid. - */ - function insertItem(before, text) { - if (before < 0 || before > menuItems.length) { - return null; - } - - var newItems = __protectedScope.copyItemsToJsArray(); - var newItem = Qt.createQmlObject("import QtQuick.Controls 1.1; MenuItem {}", pieMenu, ""); - newItem.text = text; - newItems.splice(before, 0, newItem); - - menuItems = newItems; - return newItem; - } - - /*! - \qmlmethod void removeItem(item) - - Removes \a item from the menu. - */ - function removeItem(item) { - for (var i = 0; i < menuItems.length; ++i) { - if (menuItems[i] === item) { - var newItems = __protectedScope.copyItemsToJsArray(); - - newItems.splice(i, 1); - menuItems = newItems; - break; - } - } - } - - MouseArea { - id: mouseArea - anchors.fill: parent - hoverEnabled: !Settings.hasTouchScreen && triggerMode !== TriggerMode.TriggerOnRelease - acceptedButtons: Qt.LeftButton | Qt.RightButton - onContainsMouseChanged: if (!containsMouse) __protectedScope.currentIndex = -1 - objectName: "PieMenu internal MouseArea" - - // The mouse thief also updates the selectionPos, so we can't bind to - // this mouseArea's mouseX/mouseY. - onPositionChanged: { - __protectedScope.selectionPos = Qt.point(mouseX, mouseY) - } - } - - /*! \internal */ - property alias __mouseThief: mouseThief - - CppUtils.MouseThief { - id: mouseThief - - onPressed: { - __protectedScope.selectionPos = Qt.point(mouseX, mouseY); - if (__protectedScope.handleEvent(ActivationMode.ActivateOnPress)) { - mouseThief.acceptCurrentEvent(); - // We handled the press event, so we can reset this now. - mouseThief.receivedPressEvent = false; - } - } - onReleased: { - __protectedScope.selectionPos = Qt.point(mouseX, mouseY); - if (__protectedScope.handleEvent(ActivationMode.ActivateOnRelease)) { - mouseThief.acceptCurrentEvent(); - // We handled the press event, so we can reset this now. - mouseThief.receivedPressEvent = false; - } - __protectedScope.pressedIndex = -1; - } - onClicked: { - __protectedScope.selectionPos = Qt.point(mouseX, mouseY); - if (__protectedScope.handleEvent(ActivationMode.ActivateOnClick)) { - mouseThief.acceptCurrentEvent(); - } - - // Clicked is the last stage in a click event (press, release, click), - // so we can safely set this to false now. - mouseThief.receivedPressEvent = false; - } - onTouchUpdate: __protectedScope.selectionPos = Qt.point(mouseX, mouseY) - } - - onVisibleChanged: { - // parent check is for when it's created without a parent, - // which we do in the tests, for example. - if (parent) { - if (visible) { - if (boundingItem) - __protectedScope.moveWithinBounds(); - - // We need to grab the mouse so that we can detect released() - // (which is only emitted after pressed(), which our MouseArea can't - // emit as it didn't have focus until we were made visible). - mouseThief.grabMouse(mouseArea); - } else { - mouseThief.ungrabMouse(); - __protectedScope.selectionPos = Qt.point(width / 2, height / 2); - } - } - } - onSelectionAngleChanged: __protectedScope.checkForCurrentItem() - - /*! \internal */ - property QtObject __protectedScope: QtObject { - id: protectedScope - - property int currentIndex: -1 - property MenuItem currentItem: currentIndex != -1 ? visibleItems[currentIndex] : null - property point selectionPos: Qt.point(width / 2, height / 2) - property int pressedIndex: -1 - readonly property var localRect: mapFromItem(mouseArea, mouseArea.mouseX, mouseArea.mouseY) - readonly property var visibleItems: { - var items = []; - for (var i = 0; i < menuItems.length; ++i) { - if (menuItems[i].visible) { - items.push(menuItems[i]); - } - } - return items; - } - - onSelectionPosChanged: __protectedScope.checkForCurrentItem() - - // Can't bind directly, because the menu sets this to (0, 0) on closing. - onLocalRectChanged: { - if (visible) - selectionPos = Qt.point(localRect.x, localRect.y); - } - - function copyItemsToJsArray() { - var newItems = []; - for (var j = 0; j < menuItems.length; ++j) { - newItems.push(menuItems[j]); - } - return newItems; - } - - /*! - Returns \c true if the mouse is over the section at \a itemIndex. - */ - function isMouseOver(itemIndex) { - if (__style == null) - return false; - - // Our mouse angle's origin is north naturally, but the section angles need to be - // altered to have their origin north, so we need to remove the alteration here in order to compare properly. - // For example, section 0 will start at -1.57, whereas we want it to start at 0. - var sectionStart = __protectedScope.sectionStartAngle(itemIndex) + Math.PI / 2; - var sectionEnd = __protectedScope.sectionEndAngle(itemIndex) + Math.PI / 2; - - var selAngle = selectionAngle; - var isWithinOurAngle = false; - - if (sectionStart > CppUtils.MathUtils.pi2) { - sectionStart %= CppUtils.MathUtils.pi2; - } else if (sectionStart < -CppUtils.MathUtils.pi2) { - sectionStart %= -CppUtils.MathUtils.pi2; - } - - if (sectionEnd > CppUtils.MathUtils.pi2) { - sectionEnd %= CppUtils.MathUtils.pi2; - } else if (sectionEnd < -CppUtils.MathUtils.pi2) { - sectionEnd %= -CppUtils.MathUtils.pi2; - } - - // If the section crosses the -180 => 180 wrap-around point (from atan2), - // temporarily rotate the section so it doesn't. - if (sectionStart > Math.PI) { - var difference = sectionStart - Math.PI; - selAngle -= difference; - sectionStart -= difference; - sectionEnd -= difference; - } else if (sectionStart < -Math.PI) { - difference = Math.abs(sectionStart - (-Math.PI)); - selAngle += difference; - sectionStart += difference; - sectionEnd += difference; - } - - if (sectionEnd > Math.PI) { - difference = sectionEnd - Math.PI; - selAngle -= difference; - sectionStart -= difference; - sectionEnd -= difference; - } else if (sectionEnd < -Math.PI) { - difference = Math.abs(sectionEnd - (-Math.PI)); - selAngle += difference; - sectionStart += difference; - sectionEnd += difference; - } - - // If we moved the mouse past -180 or 180, we need to move it back within, - // without changing its actual direction. - if (selAngle > Math.PI) { - selAngle = selAngle - CppUtils.MathUtils.pi2; - } else if (selAngle < -Math.PI) { - selAngle += CppUtils.MathUtils.pi2; - } - - if (sectionStart > sectionEnd) { - isWithinOurAngle = selAngle >= sectionEnd && selAngle < sectionStart; - } else { - isWithinOurAngle = selAngle >= sectionStart && selAngle < sectionEnd; - } - - var x1 = width / 2; - var y1 = height / 2; - var x2 = __protectedScope.selectionPos.x; - var y2 = __protectedScope.selectionPos.y; - var distanceFromCenter = Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2); - var cancelRadiusSquared = __style.cancelRadius * __style.cancelRadius; - var styleRadiusSquared = __style.radius * __style.radius; - var isWithinOurRadius = distanceFromCenter >= cancelRadiusSquared - && distanceFromCenter < styleRadiusSquared; - return isWithinOurAngle && isWithinOurRadius; - } - - readonly property real arcRange: endAngleRadians - startAngleRadians - - /*! - The size of one section in radians. - */ - readonly property real sectionSize: arcRange / visibleItems.length - readonly property real startAngleRadians: CppUtils.MathUtils.degToRadOffset(__style.startAngle) - readonly property real endAngleRadians: CppUtils.MathUtils.degToRadOffset(__style.endAngle) - - readonly property real circumferenceOfFullRange: 2 * Math.PI * __style.radius - readonly property real percentageOfFullRange: (arcRange / (Math.PI * 2)) - readonly property real circumferenceOfSection: (sectionSize / arcRange) * (percentageOfFullRange * circumferenceOfFullRange) - - function sectionStartAngle(section) { - var start = startAngleRadians + section * sectionSize; - return start; - } - - function sectionCenterAngle(section) { - return (sectionStartAngle(section) + sectionEndAngle(section)) / 2; - } - - function sectionEndAngle(section) { - var end = startAngleRadians + section * sectionSize + sectionSize; - return end; - } - - function handleEvent(eventType) { - if (!visible) - return false; - - checkForCurrentItem(); - - if (eventType === TriggerMode.TriggerOnPress) - pressedIndex = currentIndex; - - if (eventType === TriggerMode.TriggerOnPress && triggerMode === TriggerMode.TriggerOnClick) { - // We *MUST* accept press events if we plan on also accepting the release - // (aka click, since we create that ourselves) event. If we don't, the - // external mouse area gets the press event but not the release event, - // and won't open until a release event is received, which means until the - // user taps twice on the external mouse area. - // Usually, we accept the current event in the onX MouseThief event handlers above, - // but there we set receivedPressEvent to false if this function says it handled - // the event, which we don't want, since TriggerOnClick is expecting to have - // received a press event. So, we ensure that receivedPressEvent stays true - // by saying we didn't handle the event, even though we actually do. - mouseThief.acceptCurrentEvent(); - return false; - } - - if (triggerMode === eventType) { - if (eventType === TriggerMode.TriggerOnClick && !mouseThief.receivedPressEvent) { - // When the trigger mode is TriggerOnClick, we can't - // act on a click event if we didn't receive the press. - return false; - } - - // Setting visible to false resets the selectionPos to the center - // of the menu, which in turn causes the currentItem check to be re-evaluated, - // which sees that there's no current item because the selectionPos is centered. - // To avoid all of that, we store these variables before setting visible to false. - var currentItemBeforeClosing = currentItem; - var selectionPosBeforeClosing = selectionPos; - var currentIndexBeforeClosing = currentIndex; - - // If the cursor was over an item; trigger it. If it wasn't, - // close our menu regardless. We do this first so that it's - // possible to keep the menu open by setting visible to true in onTriggered. - visible = false; - - if (currentItemBeforeClosing) { - currentItemBeforeClosing.trigger(); - } - - if (visible && !Settings.hasTouchScreen && !Settings.isMobile) { - // The user kept the menu open in onTriggered, so restore the hover stuff. - selectionPos = selectionPosBeforeClosing; - currentIndex = currentIndexBeforeClosing; - } - - // If the trigger mode and event are Release, we should ensure - // that we received a press event beforehand. If we didn't, we shouldn't steal - // the event in MouseThief's event filter. - return mouseThief.receivedPressEvent; - } - return false; - } - - function checkForCurrentItem() { - // Use a temporary varibable because setting currentIndex to -1 here - // will trigger onCurrentIndexChanged. - if (!!visibleItems) { - var hoveredIndex = -1; - for (var i = 0; i < visibleItems.length; ++i) { - if (isMouseOver(i)) { - hoveredIndex = i; - break; - } - } - currentIndex = hoveredIndex; - } - } - - function simplifyAngle(angle) { - var simplified = angle % 360; - if (simplified < 0) - simplified += 360; - return simplified; - } - - function isWithinBottomEdge() { - var start = simplifyAngle(pieMenu.__style.startAngle); - var end = simplifyAngle(pieMenu.__style.endAngle); - return start >= 270 && end <= 90 && ((start < 360 && end <= 360) || (start >= 0 && end > 0)); - } - - function isWithinTopEdge() { - var start = simplifyAngle(pieMenu.__style.startAngle); - var end = simplifyAngle(pieMenu.__style.endAngle); - return start >= 90 && start < 270 && end > 90 && end <= 270; - } - - function isWithinLeftEdge() { - var start = simplifyAngle(pieMenu.__style.startAngle); - var end = simplifyAngle(pieMenu.__style.endAngle); - return (start === 360 || start >= 0) && start < 180 && end > 0 && end <= 180; - } - - function isWithinRightEdge() { - var start = simplifyAngle(pieMenu.__style.startAngle); - var end = simplifyAngle(pieMenu.__style.endAngle); - return start >= 180 && start < 360 && end > 180 && (end === 360 || end === 0); - } - - /*! - Moves the menu if it would open with parts outside of \a rootParent. - */ - function moveWithinBounds() { - // Find the bounding rect of the bounding item in the parent's referential. - var topLeft = boundingItem.mapToItem(pieMenu.parent, 0, 0); - var topRight = boundingItem.mapToItem(pieMenu.parent, boundingItem.width, 0); - var bottomLeft = boundingItem.mapToItem(pieMenu.parent, 0, boundingItem.height); - var bottomRight = boundingItem.mapToItem(pieMenu.parent, boundingItem.width, boundingItem.height); - - // If the boundingItem is rotated, normalize the bounding rect. - topLeft.x = Math.min(topLeft.x, topRight.x, bottomLeft.x, bottomRight.x); - topLeft.y = Math.min(topLeft.y, topRight.y, bottomLeft.y, bottomRight.y); - bottomRight.x = Math.max(topLeft.x, topRight.x, bottomLeft.x, bottomRight.x); - bottomRight.y = Math.max(topLeft.y, topRight.y, bottomLeft.y, bottomRight.y); - - if (pieMenu.x < topLeft.x && !isWithinLeftEdge()) { - // The width and height of the menu is always that of a full circle, - // so the menu is not always outside an edge when it's outside the edge - - // it depends on the start and end angles. - pieMenu.x = topLeft.x; - } else if (pieMenu.x + pieMenu.width > bottomRight.x && !isWithinRightEdge()) { - pieMenu.x = bottomRight.x - pieMenu.width; - } - - if (pieMenu.y < topLeft.y && !isWithinTopEdge()) { - pieMenu.y = topLeft.y; - } else if (pieMenu.y + pieMenu.height > bottomRight.y && !isWithinBottomEdge()) { - pieMenu.y = bottomRight.y - pieMenu.height; - } - } - } -} diff --git a/bin/QtQuick/Extras/Private/CircularButton.qml b/bin/QtQuick/Extras/Private/CircularButton.qml deleted file mode 100644 index 6a147ebf0..000000000 --- a/bin/QtQuick/Extras/Private/CircularButton.qml +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 - -/*! - \internal -*/ -Button { - id: button - style: Settings.styleComponent(Settings.style, "CircularButtonStyle.qml", button) -} diff --git a/bin/QtQuick/Extras/Private/CircularButtonStyleHelper.qml b/bin/QtQuick/Extras/Private/CircularButtonStyleHelper.qml deleted file mode 100644 index 713d727fd..000000000 --- a/bin/QtQuick/Extras/Private/CircularButtonStyleHelper.qml +++ /dev/null @@ -1,136 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 - -QtObject { - id: circularButtonStyleHelper - - property Item control - - property color buttonColorUpTop: "#e3e3e3" - property color buttonColorUpBottom: "#b3b3b3" - property color buttonColorDownTop: "#d3d3d3" - property color buttonColorDownBottom: "#939393" - property color outerArcColorTop: "#9c9c9c" - property color outerArcColorBottom: Qt.rgba(0.941, 0.941, 0.941, 0.29) - property color innerArcColorTop: "#e3e3e3" - property color innerArcColorBottom: "#acacac" - property real innerArcColorBottomStop: 0.4 - property color shineColor: Qt.rgba(1, 1, 1, 0.29) - property real smallestAxis: control ? Math.min(control.width, control.height) : 0 - property real outerArcLineWidth: smallestAxis * 0.04 - property real innerArcLineWidth: Math.max(1, outerArcLineWidth * 0.1) - property real shineArcLineWidth: Math.max(1, outerArcLineWidth * 0.1) - property real implicitWidth: Math.round(TextSingleton.implicitHeight * 8) - property real implicitHeight: Math.round(TextSingleton.implicitHeight * 8) - - property color textColorUp: "#4e4e4e" - property color textColorDown: "#303030" - property color textRaisedColorUp: "#ffffff" - property color textRaisedColorDown: "#e3e3e3" - - property real radius: (smallestAxis * 0.5) - outerArcLineWidth - innerArcLineWidth - property real halfRadius: radius / 2 - property real outerArcRadius: innerArcRadius + outerArcLineWidth / 2 - property real innerArcRadius: radius + innerArcLineWidth / 2 - property real shineArcRadius: outerArcRadius + outerArcLineWidth / 2 - shineArcLineWidth / 2 - property real zeroAngle: Math.PI * 0.5 - - property color buttonColorTop: control && control.pressed ? buttonColorDownTop : buttonColorUpTop - property color buttonColorBottom: control && control.pressed ? buttonColorDownBottom : buttonColorUpBottom - - function toPixels(percentageOfSmallestAxis) { - return percentageOfSmallestAxis * smallestAxis; - } - - function paintBackground(ctx) { - ctx.reset(); - - if (outerArcRadius < 0 || radius < 0) - return; - - var xCenter = ctx.canvas.width / 2; - var yCenter = ctx.canvas.height / 2; - - /* Draw outer arc */ - ctx.beginPath(); - ctx.lineWidth = outerArcLineWidth; - ctx.arc(xCenter, yCenter, outerArcRadius, 0, Math.PI * 2, false); - var gradient = ctx.createRadialGradient(xCenter, yCenter - halfRadius, - 0, xCenter, yCenter - halfRadius, radius * 1.5); - gradient.addColorStop(0, outerArcColorTop); - gradient.addColorStop(1, outerArcColorBottom); - ctx.strokeStyle = gradient; - ctx.stroke(); - - /* Draw the shine along the bottom */ - ctx.beginPath(); - ctx.lineWidth = shineArcLineWidth; - ctx.arc(xCenter, yCenter, shineArcRadius, 0, Math.PI, false); - gradient = ctx.createLinearGradient(xCenter, yCenter + radius, xCenter, yCenter); - gradient.addColorStop(0, shineColor); - gradient.addColorStop(0.5, "rgba(255, 255, 255, 0)"); - ctx.strokeStyle = gradient; - ctx.stroke(); - - /* Draw inner arc */ - ctx.beginPath(); - ctx.lineWidth = innerArcLineWidth + 1; - ctx.arc(xCenter, yCenter, innerArcRadius, 0, Math.PI * 2, false); - gradient = ctx.createLinearGradient(xCenter, yCenter - halfRadius, - xCenter, yCenter + halfRadius); - gradient.addColorStop(0, innerArcColorTop); - gradient.addColorStop(innerArcColorBottomStop, innerArcColorBottom); - ctx.strokeStyle = gradient; - ctx.stroke(); - - /* Draw the button's body */ - ctx.beginPath(); - ctx.ellipse(xCenter - radius, yCenter - radius, radius * 2, radius * 2); - gradient = ctx.createRadialGradient(xCenter, yCenter + radius * 0.85, 0, - xCenter, yCenter + radius * 0.85, radius * (0.85 * 2)); - gradient.addColorStop(1, buttonColorTop); - gradient.addColorStop(0, buttonColorBottom); - ctx.fillStyle = gradient; - ctx.fill(); - } -} diff --git a/bin/QtQuick/Extras/Private/CircularTickmarkLabel.qml b/bin/QtQuick/Extras/Private/CircularTickmarkLabel.qml deleted file mode 100644 index 997a784b8..000000000 --- a/bin/QtQuick/Extras/Private/CircularTickmarkLabel.qml +++ /dev/null @@ -1,145 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -// Workaround for QTBUG-37751; we need this import for RangeModel, although we shouldn't. -import QtQuick.Controls 1.1 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 - -Control { - id: label - style: Settings.styleComponent(Settings.style, "CircularTickmarkLabelStyle.qml", label) - - property alias minimumValue: range.minimumValue - - property alias maximumValue: range.maximumValue - - property alias stepSize: range.stepSize - - RangeModel { - id: range - minimumValue: 0 - maximumValue: 100 - stepSize: 0 - // Not used. - value: minimumValue - } - - /*! - This property determines the angle at which the first tickmark is drawn. - */ - property real minimumValueAngle: -145 - - /*! - This property determines the angle at which the last tickmark is drawn. - */ - property real maximumValueAngle: 145 - - /*! - The range between \l minimumValueAngle and \l maximumValueAngle, in - degrees. - */ - readonly property real angleRange: maximumValueAngle - minimumValueAngle - - /*! - The interval at which tickmarks are displayed. - */ - property real tickmarkStepSize: 10 - - /*! - The distance in pixels from the outside of the control (outerRadius) at - which the outermost point of the tickmark line is drawn. - */ - property real tickmarkInset: 0.0 - - /*! - The amount of tickmarks displayed. - */ - readonly property int tickmarkCount: __tickmarkCount - - /*! - The amount of minor tickmarks between each tickmark. - */ - property int minorTickmarkCount: 4 - - /*! - The distance in pixels from the outside of the control (outerRadius) at - which the outermost point of the minor tickmark line is drawn. - */ - property real minorTickmarkInset: 0.0 - - /*! - The distance in pixels from the outside of the control (outerRadius) at - which the center of the value marker text is drawn. - */ - property real labelInset: __style.__protectedScope.toPixels(0.19) - - /*! - The interval at which tickmark labels are displayed. - */ - property real labelStepSize: tickmarkStepSize - - /*! - The amount of tickmark labels displayed. - */ - readonly property int labelCount: (maximumValue - minimumValue) / labelStepSize + 1 - - /*! \internal */ - readonly property real __tickmarkCount: tickmarkStepSize > 0 ? (maximumValue - minimumValue) / tickmarkStepSize + 1 : 0 - - /*! - This property determines whether or not the control displays tickmarks, - minor tickmarks, and labels. - */ - property bool tickmarksVisible: true - - /*! - Returns \a value as an angle in degrees. - - For example, if minimumValueAngle is set to \c 270 and maximumValueAngle - is set to \c 90, this function will return \c 270 when passed - minimumValue and \c 90 when passed maximumValue. - */ - function valueToAngle(value) { - var normalised = (value - minimumValue) / (maximumValue - minimumValue); - return (maximumValueAngle - minimumValueAngle) * normalised + minimumValueAngle; - } -} diff --git a/bin/QtQuick/Extras/Private/Handle.qml b/bin/QtQuick/Extras/Private/Handle.qml deleted file mode 100644 index 6c3fdaa60..000000000 --- a/bin/QtQuick/Extras/Private/Handle.qml +++ /dev/null @@ -1,123 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtGraphicalEffects 1.0 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras.Private 1.1 -import QtQuick.Extras.Private.CppUtils 1.0 - -Control { - id: root - x: handleArea.centerOfHandle.x - width / 2 - y: handleArea.centerOfHandle.y - height / 2 - - style: Settings.styleComponent(Settings.style, "HandleStyle.qml", root) - - /*! - The angle of the handle along the circumference of \l rotationRadius in - radians, scaled to be in the range of 0.0 to 1.0. - */ - property alias value: range.value - - RangeModel { - id: range - minimumValue: 0.0 - maximumValue: 1.0 - stepSize: 0 - value: minimumValue - } - - /*! - The angle in radians where the dial starts. - */ - property real zeroAngle: 0 - - /*! - The radius of the rotation of this handle. - */ - property real rotationRadius: 50 - - /*! - The center of the dial. This is the origin point for the handle's - rotation. - */ - property real dialXCenter: 0 - property real dialYCenter: 0 - - /*! - This property holds the amount of extra room added to each side of - the handle to make it easier to drag on touch devices. - */ - property real allowance: Math.max(width, height) * 1.5 - - /* - The function used to determine the handle's value from the position of - the mouse. - - Can be set to provide custom value calculation. It expects these - parameters: \c mouseX, \c mouseY, \c xCenter, \c yCenter, \c zeroAngle - */ - property var valueFromMouse: handleArea.valueFromMouse - - property alias handleArea: handleArea - - MouseArea { - id: handleArea - // Respond to value changes by calculating the new center of the handle. - property point centerOfHandle: MathUtils.centerAlongCircle(dialXCenter, dialYCenter, - 0, 0, MathUtils.valueToAngle(value, 1, zeroAngle), rotationRadius); - - anchors.fill: parent - anchors.margins: -allowance - - onPositionChanged: { - // Whenever the handle is moved with the mouse, update the value. - value = root.valueFromMouse(mouse.x + centerOfHandle.x - allowance, - mouse.y + centerOfHandle.y - allowance, dialXCenter, dialYCenter, zeroAngle); - } - - // A helper function for onPositionChanged. - function valueFromMouse(mouseX, mouseY, xCenter, yCenter, zeroAngle) { - return MathUtils.angleToValue( - MathUtils.halfPi - Math.atan2(mouseX - xCenter, mouseY - yCenter), 1, zeroAngle); - } - } -} diff --git a/bin/QtQuick/Extras/Private/PieMenuIcon.qml b/bin/QtQuick/Extras/Private/PieMenuIcon.qml deleted file mode 100644 index 7cb57e027..000000000 --- a/bin/QtQuick/Extras/Private/PieMenuIcon.qml +++ /dev/null @@ -1,102 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.3 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 -import QtQuick.Extras.Private.CppUtils 1.0 - -Loader { - id: iconLoader - active: iconSource != "" - - property PieMenu control: null - property QtObject styleData: null - - readonly property string iconSource: styleData && styleData.index < control.__protectedScope.visibleItems.length - ? control.__protectedScope.visibleItems[styleData.index].iconSource - : "" - - sourceComponent: Image { - id: iconImage - source: iconSource - x: pos.x - y: pos.y - scale: scaleFactor - - readonly property point pos: MathUtils.centerAlongCircle( - iconLoader.parent.width / 2, iconLoader.parent.height / 2, width, height, - MathUtils.degToRadOffset(sectionCenterAngle(styleData.index)), control.__style.__iconOffset) - - /* - The icons should scale with the menu at some point, so that they - stay within the bounds of each section. We down-scale the image by - whichever of the following amounts are larger: - - a) The amount by which the largest dimension's diagonal size exceeds - the "selectable" radius. The selectable radius is the distance in pixels - between lines A and B in the incredibly visually appealing image below: - - __________ - - B - - / \ - / ____ \ - | / A \ | - --------| |-------- - - b) The amount by which the diagonal exceeds the circumference of - one section. - */ - readonly property real scaleFactor: { - var largestDimension = Math.max(iconImage.sourceSize.width, iconImage.sourceSize.height) * Math.sqrt(2); - // TODO: add padding - var radiusDifference = largestDimension - control.__style.__selectableRadius; - var circumferenceDifference = largestDimension - Math.abs(control.__protectedScope.circumferenceOfSection); - if (circumferenceDifference > 0 || radiusDifference > 0) { - // We need to down-scale. - if (radiusDifference > circumferenceDifference) { - return control.__style.__selectableRadius / largestDimension; - } else { - return Math.abs(control.__protectedScope.circumferenceOfSection) / largestDimension; - } - } - return 1; - } - } -} diff --git a/bin/QtQuick/Extras/Private/TextSingleton.qml b/bin/QtQuick/Extras/Private/TextSingleton.qml deleted file mode 100644 index 78e9003d2..000000000 --- a/bin/QtQuick/Extras/Private/TextSingleton.qml +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -pragma Singleton -import QtQuick 2.1 - -Text { -} diff --git a/bin/QtQuick/Extras/Private/qmldir b/bin/QtQuick/Extras/Private/qmldir deleted file mode 100644 index 3b115bba6..000000000 --- a/bin/QtQuick/Extras/Private/qmldir +++ /dev/null @@ -1 +0,0 @@ -module QtQuick.Extras.Private diff --git a/bin/QtQuick/Extras/StatusIndicator.qml b/bin/QtQuick/Extras/StatusIndicator.qml deleted file mode 100644 index aee171c40..000000000 --- a/bin/QtQuick/Extras/StatusIndicator.qml +++ /dev/null @@ -1,119 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 - -/*! - \qmltype StatusIndicator - \inqmlmodule QtQuick.Extras - \since 5.5 - \ingroup extras - \ingroup extras-non-interactive - \brief An indicator that displays active or inactive states. - - \image statusindicator-active.png A StatusIndicator in the active state - A StatusIndicator in the active state. - \image statusindicator-inactive.png A StatusIndicator in the inactive state - A StatusIndicator in the inactive state. - - The StatusIndicator displays active or inactive states. By using different - colors via the \l color property, StatusIndicator can provide extra - context to these states. For example: - - \table - \row - \li QML - \li Result - \row - \li - \code - import QtQuick 2.2 - import QtQuick.Extras 1.4 - - Rectangle { - width: 100 - height: 100 - color: "#cccccc" - - StatusIndicator { - anchors.centerIn: parent - color: "green" - } - } - \endcode - \li \image statusindicator-green.png "Green StatusIndicator" - \endtable - - You can create a custom appearance for a StatusIndicator by assigning a - \l {StatusIndicatorStyle}. -*/ - -Control { - id: statusIndicator - - style: Settings.styleComponent(Settings.style, "StatusIndicatorStyle.qml", statusIndicator) - - /*! - This property specifies whether the indicator is active or inactive. - - The default value is \c false (off). - - \deprecated Use active instead. - */ - property alias on: statusIndicator.active - - /*! - This property specifies whether the indicator is active or inactive. - - The default value is \c false (inactive). - */ - property bool active: false - - /*! - This property specifies the color of the indicator when it is active. - - The default value is \c "red". - */ - property color color: __style.color -} diff --git a/bin/QtQuick/Extras/ToggleButton.qml b/bin/QtQuick/Extras/ToggleButton.qml deleted file mode 100644 index 9a6674132..000000000 --- a/bin/QtQuick/Extras/ToggleButton.qml +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype ToggleButton - \inqmlmodule QtQuick.Extras - \since 5.5 - \ingroup extras - \ingroup extras-interactive - \brief A push button that toggles between two states. - - \image togglebutton-unchecked.png An unchecked ToggleButton - An unchecked ToggleButton. - \image togglebutton-checked.png A checked ToggleButton - A checked ToggleButton. - - The ToggleButton is a simple extension of Qt Quick Controls' Button, using - the checked property to toggle between two states: \e checked and - \e unchecked. It enhances the visibility of a checkable button's state by - placing color-coded indicators around the button. - - You can create a custom appearance for a ToggleButton by assigning a - \l {ToggleButtonStyle}. -*/ - -Button { - id: button - checkable: true - style: Settings.styleComponent(Settings.style, "ToggleButtonStyle.qml", button) -} diff --git a/bin/QtQuick/Extras/Tumbler.qml b/bin/QtQuick/Extras/Tumbler.qml deleted file mode 100644 index 355d676b8..000000000 --- a/bin/QtQuick/Extras/Tumbler.qml +++ /dev/null @@ -1,478 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQml 2.14 as Qml -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Styles 1.4 -import QtQuick.Controls.Private 1.0 -import QtQuick.Extras 1.4 -import QtQuick.Extras.Private 1.0 -import QtQuick.Layouts 1.0 - -/*! - \qmltype Tumbler - \inqmlmodule QtQuick.Extras - \since 5.5 - \ingroup extras - \ingroup extras-interactive - \brief A control that can have several spinnable wheels, each with items - that can be selected. - - \image tumbler.png A Tumbler - - \note Tumbler requires Qt 5.5.0 or later. - - The Tumbler control is used with one or more TumblerColumn items, which - define the content of each column: - - \code - Tumbler { - TumblerColumn { - model: 5 - } - TumblerColumn { - model: [0, 1, 2, 3, 4] - } - TumblerColumn { - model: ["A", "B", "C", "D", "E"] - } - } - \endcode - - You can also use a traditional model with roles: - - \code - Rectangle { - width: 220 - height: 350 - color: "#494d53" - - ListModel { - id: listModel - - ListElement { - foo: "A" - bar: "B" - baz: "C" - } - ListElement { - foo: "A" - bar: "B" - baz: "C" - } - ListElement { - foo: "A" - bar: "B" - baz: "C" - } - } - - Tumbler { - anchors.centerIn: parent - - TumblerColumn { - model: listModel - role: "foo" - } - TumblerColumn { - model: listModel - role: "bar" - } - TumblerColumn { - model: listModel - role: "baz" - } - } - } - \endcode - - \section1 Limitations - - For technical reasons, the model count must be equal to or greater than - \l {TumblerStyle::}{visibleItemCount} - plus one. The - \l {TumblerStyle::}{visibleItemCount} - must also be an odd number. - - You can create a custom appearance for a Tumbler by assigning a - \l {TumblerStyle}. To style - individual columns, use the \l {TumblerColumn::delegate}{delegate} and - \l {TumblerColumn::highlight}{highlight} properties of TumblerColumn. -*/ - -Control { - id: tumbler - - /* - \qmlproperty Component Tumbler::style - - The style Component for this control. - */ - style: Settings.styleComponent(Settings.style, "TumblerStyle.qml", tumbler) - - ListModel { - id: columnModel - } - - /*! - \qmlproperty int Tumbler::columnCount - - The number of columns in the Tumbler. - */ - readonly property alias columnCount: columnModel.count - - /*! \internal */ - function __isValidColumnIndex(index) { - return index >= 0 && index < columnCount/* && columnRepeater.children.length === columnCount*/; - } - - /*! \internal */ - function __isValidColumnAndItemIndex(columnIndex, itemIndex) { - return __isValidColumnIndex(columnIndex) && itemIndex >= 0 && itemIndex < __viewAt(columnIndex).count; - } - - /*! - \qmlmethod int Tumbler::currentIndexAt(int columnIndex) - Returns the current index of the column at \a columnIndex, or \c null - if \a columnIndex is invalid. - */ - function currentIndexAt(columnIndex) { - if (!__isValidColumnIndex(columnIndex)) - return -1; - - return columnModel.get(columnIndex).columnObject.currentIndex; - } - - /*! - \qmlmethod void Tumbler::setCurrentIndexAt(int columnIndex, int itemIndex, int interval) - Sets the current index of the column at \a columnIndex to \a itemIndex. The animation - length can be set with \a interval, which defaults to \c 0. - - Does nothing if \a columnIndex or \a itemIndex are invalid. - */ - function setCurrentIndexAt(columnIndex, itemIndex, interval) { - if (!__isValidColumnAndItemIndex(columnIndex, itemIndex)) - return; - - var view = columnRepeater.itemAt(columnIndex).view; - if (view.currentIndex !== itemIndex) { - view.highlightMoveDuration = typeof interval !== 'undefined' ? interval : 0; - view.currentIndex = itemIndex; - view.highlightMoveDuration = Qt.binding(function(){ return __highlightMoveDuration; }); - } - } - - /*! - \qmlmethod TumblerColumn Tumbler::getColumn(int columnIndex) - Returns the column at \a columnIndex or \c null if the index is - invalid. - */ - function getColumn(columnIndex) { - if (!__isValidColumnIndex(columnIndex)) - return null; - - return columnModel.get(columnIndex).columnObject; - } - - /*! - \qmlmethod TumblerColumn Tumbler::addColumn(TumblerColumn column) - Adds a \a column and returns the added column. - - The \a column argument can be an instance of TumblerColumn, - or a \l Component. The component has to contain a TumblerColumn. - Otherwise \c null is returned. - */ - function addColumn(column) { - return insertColumn(columnCount, column); - } - - /*! - \qmlmethod TumblerColumn Tumbler::insertColumn(int index, TumblerColumn column) - Inserts a \a column at the given \a index and returns the inserted column. - - The \a column argument can be an instance of TumblerColumn, - or a \l Component. The component has to contain a TumblerColumn. - Otherwise, \c null is returned. - */ - function insertColumn(index, column) { - var object = column; - if (typeof column["createObject"] === "function") { - object = column.createObject(root); - } else if (object.__tumbler) { - console.warn("Tumbler::insertColumn(): you cannot add a column to multiple Tumblers") - return null; - } - if (index >= 0 && index <= columnCount && object.accessibleRole === Accessible.ColumnHeader) { - object.__tumbler = tumbler; - object.__index = index; - columnModel.insert(index, { columnObject: object }); - return object; - } - - if (object !== column) - object.destroy(); - console.warn("Tumbler::insertColumn(): invalid argument"); - return null; - } - - /* - Try making one selection bar by invisible highlight item hack, so that bars go across separators - */ - - Component.onCompleted: { - for (var i = 0; i < data.length; ++i) { - var column = data[i]; - if (column.accessibleRole === Accessible.ColumnHeader) - addColumn(column); - } - } - - /*! \internal */ - readonly property alias __columnRow: columnRow - /*! \internal */ - property int __highlightMoveDuration: 300 - - /*! \internal */ - function __viewAt(index) { - if (!__isValidColumnIndex(index)) - return null; - - return columnRepeater.itemAt(index).view; - } - - /*! \internal */ - readonly property alias __movementDelayTimer: movementDelayTimer - - // When the up/down arrow keys are held down on a PathView, - // the movement of the items is limited to the highlightMoveDuration, - // but there is no built-in guard against trying to move the items at - // the speed of the auto-repeat key presses. This results in sluggish - // movement, so we enforce a delay with a timer to avoid this. - Timer { - id: movementDelayTimer - interval: __highlightMoveDuration - } - - Loader { - id: backgroundLoader - sourceComponent: __style.background - anchors.fill: columnRow - } - - Loader { - id: frameLoader - sourceComponent: __style.frame - anchors.fill: columnRow - anchors.leftMargin: -__style.padding.left - anchors.rightMargin: -__style.padding.right - anchors.topMargin: -__style.padding.top - anchors.bottomMargin: -__style.padding.bottom - } - - Row { - id: columnRow - x: __style.padding.left - y: __style.padding.top - - Repeater { - id: columnRepeater - model: columnModel - delegate: Item { - id: columnItem - width: columnPathView.width + separatorDelegateLoader.width - height: columnPathView.height - - readonly property int __columnIndex: index - // For index-related functions and tests. - readonly property alias view: columnPathView - readonly property alias separator: separatorDelegateLoader.item - - PathView { - id: columnPathView - width: columnObject.width - height: tumbler.height - tumbler.__style.padding.top - tumbler.__style.padding.bottom - visible: columnObject.visible - clip: true - - Qml.Binding { - target: columnObject - property: "__currentIndex" - value: columnPathView.currentIndex - restoreMode: Binding.RestoreBinding - } - - // We add one here so that the delegate's don't just appear in the view instantly, - // but rather come from the top/bottom. To account for this adjustment elsewhere, - // we extend the path height by half an item's height at the top and bottom. - pathItemCount: tumbler.__style.visibleItemCount + 1 - preferredHighlightBegin: 0.5 - preferredHighlightEnd: 0.5 - highlightMoveDuration: tumbler.__highlightMoveDuration - highlight: Loader { - id: highlightLoader - objectName: "highlightLoader" - sourceComponent: columnObject.highlight ? columnObject.highlight : __style.highlight - width: columnPathView.width - - readonly property int __index: index - - property QtObject styleData: QtObject { - readonly property alias index: highlightLoader.__index - readonly property int column: columnItem.__columnIndex - readonly property bool activeFocus: columnPathView.activeFocus - } - } - dragMargin: width / 2 - - activeFocusOnTab: true - Keys.onDownPressed: { - if (!movementDelayTimer.running) { - columnPathView.incrementCurrentIndex(); - movementDelayTimer.start(); - } - } - Keys.onUpPressed: { - if (!movementDelayTimer.running) { - columnPathView.decrementCurrentIndex(); - movementDelayTimer.start(); - } - } - - path: Path { - startX: columnPathView.width / 2 - startY: -tumbler.__style.__delegateHeight / 2 - PathLine { - x: columnPathView.width / 2 - y: columnPathView.pathItemCount * tumbler.__style.__delegateHeight - tumbler.__style.__delegateHeight / 2 - } - } - - model: columnObject.model - - delegate: Item { - id: delegateRootItem - property var itemModel: model - - implicitWidth: itemDelegateLoader.width - implicitHeight: itemDelegateLoader.height - - Loader { - id: itemDelegateLoader - sourceComponent: columnObject.delegate ? columnObject.delegate : __style.delegate - width: columnObject.width - - onHeightChanged: tumbler.__style.__delegateHeight = height; - - property var model: itemModel - - readonly property var __modelData: modelData - readonly property int __columnDelegateIndex: index - property QtObject styleData: QtObject { - readonly property var modelData: itemDelegateLoader.__modelData - readonly property alias index: itemDelegateLoader.__columnDelegateIndex - readonly property int column: columnItem.__columnIndex - readonly property bool activeFocus: columnPathView.activeFocus - readonly property real displacement: { - var count = delegateRootItem.PathView.view.count; - var offset = delegateRootItem.PathView.view.offset; - - var d = count - index - offset; - var halfVisibleItems = Math.floor(tumbler.__style.visibleItemCount / 2) + 1; - if (d > halfVisibleItems) - d -= count; - else if (d < -halfVisibleItems) - d += count; - return d; - } - readonly property bool current: delegateRootItem.PathView.isCurrentItem - readonly property string role: columnObject.role - readonly property var value: (itemModel && itemModel.hasOwnProperty(role)) - ? itemModel[role] // Qml ListModel and QAbstractItemModel - : modelData && modelData.hasOwnProperty(role) - ? modelData[role] // QObjectList/QObject - : modelData != undefined ? modelData : "" // Models without role - } - } - } - } - - Loader { - anchors.fill: columnPathView - sourceComponent: columnObject.columnForeground ? columnObject.columnForeground : __style.columnForeground - - property QtObject styleData: QtObject { - readonly property int column: columnItem.__columnIndex - readonly property bool activeFocus: columnPathView.activeFocus - } - } - - Loader { - id: separatorDelegateLoader - objectName: "separatorDelegateLoader" - sourceComponent: __style.separator - // Don't need a separator after the last delegate. - active: __columnIndex < tumbler.columnCount - 1 - anchors.left: columnPathView.right - anchors.top: parent.top - anchors.bottom: parent.bottom - visible: columnObject.visible - - // Use the width of the first separator to help us - // determine the default separator width. - onWidthChanged: { - if (__columnIndex == 0) { - tumbler.__style.__separatorWidth = width; - } - } - - property QtObject styleData: QtObject { - readonly property int index: __columnIndex - } - } - } - } - } - - Loader { - id: foregroundLoader - sourceComponent: __style.foreground - anchors.fill: backgroundLoader - } -} diff --git a/bin/QtQuick/Extras/TumblerColumn.qml b/bin/QtQuick/Extras/TumblerColumn.qml deleted file mode 100644 index f630a228a..000000000 --- a/bin/QtQuick/Extras/TumblerColumn.qml +++ /dev/null @@ -1,171 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Quick Extras module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.2 -import QtQuick.Controls 1.4 -import QtQuick.Controls.Private 1.0 - -/*! - \qmltype TumblerColumn - \inqmlmodule QtQuick.Extras - \since 5.5 - \ingroup extras - \brief A column within a tumbler. - - TumblerColumn represents a column within a tumbler, providing the interface - to define the items and width of each column. - - \code - Tumbler { - TumblerColumn { - model: [1, 2, 3] - } - - TumblerColumn { - model: ["A", "B", "C"] - visible: false - } - } - \endcode - - You can create a custom appearance for a Tumbler by assigning a - \l {TumblerStyle}. -*/ - -QtObject { - id: tumblerColumn - - /*! \internal */ - property Item __tumbler: null - - /*! - \internal - - The index of this column within the tumbler. - */ - property int __index: -1 - - /*! - \internal - - The index of the current item, if the PathView has items instantiated, - or the last current index if it doesn't. - */ - property int __currentIndex: -1 - - property int accessibleRole: Accessible.ColumnHeader - - /*! - \qmlproperty int TumblerColumn::currentIndex - - This read-only property holds the index of the current item for this - column. If the model count is reduced, the current index will be - reduced to the new count minus one. - - \sa {Tumbler::currentIndexAt}, {Tumbler::setCurrentIndexAt} - */ - readonly property alias currentIndex: tumblerColumn.__currentIndex - - /*! - This property holds the model that provides data for this column. - */ - property var model: null - - /*! - This property holds the model role of this column. - */ - property string role: "" - - /*! - The item delegate for this column. - - If set, this delegate will be used to display items in this column, - instead of the - \l {TumblerStyle::}{delegate} - property in \l {TumblerStyle}. - - The \l {Item::implicitHeight}{implicitHeight} property must be set, - and it must be the same for each delegate. - */ - property Component delegate - - /*! - The highlight delegate for this column. - - If set, this highlight will be used to display the highlight in this - column, instead of the - \l {TumblerStyle::}{highlight} - property in \l {TumblerStyle}. - */ - property Component highlight - - /*! - The foreground of this column. - - If set, this component will be used to display the foreground in this - column, instead of the - \l {TumblerStyle::}{columnForeground} - property in \l {TumblerStyle}. - */ - property Component columnForeground - - /*! - This property holds the visibility of this column. - */ - property bool visible: true - - /*! - This read-only property indicates whether the item has active focus. - - See Item's \l {Item::activeFocus}{activeFocus} property for more - information. - */ - readonly property bool activeFocus: { - if (__tumbler === null) - return null; - - var view = __tumbler.__viewAt(__index); - return view && view.activeFocus ? true : false; - } - - /*! - This property holds the width of this column. - */ - property real width: TextSingleton.implicitHeight * 4 -} diff --git a/bin/QtQuick/Extras/plugins.qmltypes b/bin/QtQuick/Extras/plugins.qmltypes deleted file mode 100644 index f16f0b5cf..000000000 --- a/bin/QtQuick/Extras/plugins.qmltypes +++ /dev/null @@ -1,657 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable QtQuick.Extras 1.4' - -Module { - dependencies: [ - "QtGraphicalEffects 1.12", - "QtQml 2.14", - "QtQml.Models 2.2", - "QtQuick 2.9", - "QtQuick.Controls 1.5", - "QtQuick.Controls.Styles 1.4", - "QtQuick.Layouts 1.1", - "QtQuick.Window 2.2" - ] - Component { - name: "QQuickActivationMode" - exports: ["QtQuick.Extras/ActivationMode 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "ActivationMode" - values: { - "ActivateOnPress": 0, - "ActivateOnRelease": 1, - "ActivateOnClick": 2 - } - } - } - Component { - name: "QQuickCircularProgressBar" - defaultProperty: "data" - prototype: "QQuickPaintedItem" - exports: ["QtQuick.Extras.Private.CppUtils/CircularProgressBar 1.1"] - exportMetaObjectRevisions: [0] - Property { name: "progress"; type: "double" } - Property { name: "barWidth"; type: "double" } - Property { name: "inset"; type: "double" } - Property { name: "minimumValueAngle"; type: "double" } - Property { name: "maximumValueAngle"; type: "double" } - Property { name: "backgroundColor"; type: "QColor" } - Signal { - name: "progressChanged" - Parameter { name: "progress"; type: "double" } - } - Signal { - name: "barWidthChanged" - Parameter { name: "barWidth"; type: "double" } - } - Signal { - name: "insetChanged" - Parameter { name: "inset"; type: "double" } - } - Signal { - name: "minimumValueAngleChanged" - Parameter { name: "minimumValueAngle"; type: "double" } - } - Signal { - name: "maximumValueAngleChanged" - Parameter { name: "maximumValueAngle"; type: "double" } - } - Signal { - name: "backgroundColorChanged" - Parameter { name: "backgroundColor"; type: "QColor" } - } - Method { name: "clearStops" } - Method { - name: "addStop" - Parameter { name: "position"; type: "double" } - Parameter { name: "color"; type: "QColor" } - } - Method { name: "redraw" } - } - Component { - name: "QQuickFlatProgressBar" - defaultProperty: "data" - prototype: "QQuickPaintedItem" - exports: ["QtQuick.Extras.Private.CppUtils/FlatProgressBar 1.1"] - exportMetaObjectRevisions: [0] - Property { name: "stripeOffset"; type: "double" } - Property { name: "progress"; type: "double" } - Property { name: "indeterminate"; type: "bool" } - Signal { - name: "stripeOffsetChanged" - Parameter { name: "stripeOffset"; type: "double" } - } - Signal { - name: "progressChanged" - Parameter { name: "progress"; type: "double" } - } - Signal { - name: "indeterminateChanged" - Parameter { name: "indeterminate"; type: "bool" } - } - Method { name: "repaint" } - Method { name: "restartAnimation" } - Method { name: "onVisibleChanged" } - Method { name: "onWidthChanged" } - Method { name: "onHeightChanged" } - } - Component { - name: "QQuickMathUtils" - prototype: "QObject" - exports: ["QtQuick.Extras.Private.CppUtils/MathUtils 1.0"] - isCreatable: false - isSingleton: true - exportMetaObjectRevisions: [0] - Property { name: "pi2"; type: "double"; isReadonly: true } - Method { - name: "degToRad" - type: "double" - Parameter { name: "degrees"; type: "double" } - } - Method { - name: "degToRadOffset" - type: "double" - Parameter { name: "degrees"; type: "double" } - } - Method { - name: "radToDeg" - type: "double" - Parameter { name: "radians"; type: "double" } - } - Method { - name: "radToDegOffset" - type: "double" - Parameter { name: "radians"; type: "double" } - } - Method { - name: "centerAlongCircle" - type: "QPointF" - Parameter { name: "xCenter"; type: "double" } - Parameter { name: "yCenter"; type: "double" } - Parameter { name: "width"; type: "double" } - Parameter { name: "height"; type: "double" } - Parameter { name: "angleOnCircle"; type: "double" } - Parameter { name: "distanceAlongRadius"; type: "double" } - } - Method { - name: "roundEven" - type: "double" - Parameter { name: "number"; type: "double" } - } - } - Component { - name: "QQuickMouseThief" - prototype: "QObject" - exports: ["QtQuick.Extras.Private.CppUtils/MouseThief 1.0"] - exportMetaObjectRevisions: [0] - Property { name: "receivedPressEvent"; type: "bool" } - Signal { - name: "pressed" - Parameter { name: "mouseX"; type: "int" } - Parameter { name: "mouseY"; type: "int" } - } - Signal { - name: "released" - Parameter { name: "mouseX"; type: "int" } - Parameter { name: "mouseY"; type: "int" } - } - Signal { - name: "clicked" - Parameter { name: "mouseX"; type: "int" } - Parameter { name: "mouseY"; type: "int" } - } - Signal { - name: "touchUpdate" - Parameter { name: "mouseX"; type: "int" } - Parameter { name: "mouseY"; type: "int" } - } - Signal { name: "handledEventChanged" } - Method { - name: "grabMouse" - Parameter { name: "item"; type: "QQuickItem"; isPointer: true } - } - Method { name: "ungrabMouse" } - Method { name: "acceptCurrentEvent" } - } - Component { - name: "QQuickPicture" - defaultProperty: "data" - prototype: "QQuickPaintedItem" - exports: ["QtQuick.Extras/Picture 1.4"] - exportMetaObjectRevisions: [0] - Property { name: "source"; type: "QUrl" } - Property { name: "color"; type: "QColor" } - } - Component { - name: "QQuickTriggerMode" - exports: ["QtQuick.Extras/TriggerMode 1.3"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "TriggerMode" - values: { - "TriggerOnPress": 0, - "TriggerOnRelease": 1, - "TriggerOnClick": 2 - } - } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras.Private/CircularButton 1.0" - exports: ["QtQuick.Extras.Private/CircularButton 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "isDefault"; type: "bool" } - Property { name: "menu"; type: "Menu_QMLTYPE_38"; isPointer: true } - Property { name: "checkable"; type: "bool" } - Property { name: "checked"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } - Property { name: "action"; type: "QQuickAction1"; isPointer: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "text"; type: "string" } - Property { name: "tooltip"; type: "string" } - Property { name: "iconSource"; type: "QUrl" } - Property { name: "iconName"; type: "string" } - Property { name: "__position"; type: "string" } - Property { name: "__iconOverriden"; type: "bool"; isReadonly: true } - Property { name: "__action"; type: "QQuickAction1"; isPointer: true } - Property { name: "__iconAction"; type: "QQuickAction1"; isReadonly: true; isPointer: true } - Property { name: "__behavior"; type: "QVariant" } - Property { name: "__effectivePressed"; type: "bool" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Signal { name: "clicked" } - Method { name: "accessiblePressAction"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QObject" - name: "QtQuick.Extras.Private/CircularButtonStyleHelper 1.0" - exports: ["QtQuick.Extras.Private/CircularButtonStyleHelper 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "buttonColorUpTop"; type: "QColor" } - Property { name: "buttonColorUpBottom"; type: "QColor" } - Property { name: "buttonColorDownTop"; type: "QColor" } - Property { name: "buttonColorDownBottom"; type: "QColor" } - Property { name: "outerArcColorTop"; type: "QColor" } - Property { name: "outerArcColorBottom"; type: "QColor" } - Property { name: "innerArcColorTop"; type: "QColor" } - Property { name: "innerArcColorBottom"; type: "QColor" } - Property { name: "innerArcColorBottomStop"; type: "double" } - Property { name: "shineColor"; type: "QColor" } - Property { name: "smallestAxis"; type: "double" } - Property { name: "outerArcLineWidth"; type: "double" } - Property { name: "innerArcLineWidth"; type: "double" } - Property { name: "shineArcLineWidth"; type: "double" } - Property { name: "implicitWidth"; type: "double" } - Property { name: "implicitHeight"; type: "double" } - Property { name: "textColorUp"; type: "QColor" } - Property { name: "textColorDown"; type: "QColor" } - Property { name: "textRaisedColorUp"; type: "QColor" } - Property { name: "textRaisedColorDown"; type: "QColor" } - Property { name: "radius"; type: "double" } - Property { name: "halfRadius"; type: "double" } - Property { name: "outerArcRadius"; type: "double" } - Property { name: "innerArcRadius"; type: "double" } - Property { name: "shineArcRadius"; type: "double" } - Property { name: "zeroAngle"; type: "double" } - Property { name: "buttonColorTop"; type: "QColor" } - Property { name: "buttonColorBottom"; type: "QColor" } - Method { - name: "toPixels" - type: "QVariant" - Parameter { name: "percentageOfSmallestAxis"; type: "QVariant" } - } - Method { - name: "paintBackground" - type: "QVariant" - Parameter { name: "ctx"; type: "QVariant" } - } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras/CircularGauge 1.0" - exports: ["QtQuick.Extras/CircularGauge 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "tickmarksVisible"; type: "bool" } - Property { name: "minimumValue"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "value"; type: "double" } - Property { name: "stepSize"; type: "double" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras.Private/CircularTickmarkLabel 1.0" - exports: ["QtQuick.Extras.Private/CircularTickmarkLabel 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "minimumValueAngle"; type: "double" } - Property { name: "maximumValueAngle"; type: "double" } - Property { name: "angleRange"; type: "double"; isReadonly: true } - Property { name: "tickmarkStepSize"; type: "double" } - Property { name: "tickmarkInset"; type: "double" } - Property { name: "tickmarkCount"; type: "int"; isReadonly: true } - Property { name: "minorTickmarkCount"; type: "int" } - Property { name: "minorTickmarkInset"; type: "double" } - Property { name: "labelInset"; type: "double" } - Property { name: "labelStepSize"; type: "double" } - Property { name: "labelCount"; type: "int"; isReadonly: true } - Property { name: "__tickmarkCount"; type: "double"; isReadonly: true } - Property { name: "tickmarksVisible"; type: "bool" } - Property { name: "minimumValue"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "stepSize"; type: "double" } - Method { - name: "valueToAngle" - type: "QVariant" - Parameter { name: "value"; type: "QVariant" } - } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras/DelayButton 1.0" - exports: ["QtQuick.Extras/DelayButton 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "delay"; type: "int" } - Property { name: "__progress"; type: "double" } - Property { name: "progress"; type: "double"; isReadonly: true } - Signal { name: "activated" } - Property { name: "isDefault"; type: "bool" } - Property { name: "menu"; type: "Menu_QMLTYPE_38"; isPointer: true } - Property { name: "checkable"; type: "bool" } - Property { name: "checked"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } - Property { name: "action"; type: "QQuickAction1"; isPointer: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "text"; type: "string" } - Property { name: "tooltip"; type: "string" } - Property { name: "iconSource"; type: "QUrl" } - Property { name: "iconName"; type: "string" } - Property { name: "__position"; type: "string" } - Property { name: "__iconOverriden"; type: "bool"; isReadonly: true } - Property { name: "__action"; type: "QQuickAction1"; isPointer: true } - Property { name: "__iconAction"; type: "QQuickAction1"; isReadonly: true; isPointer: true } - Property { name: "__behavior"; type: "QVariant" } - Property { name: "__effectivePressed"; type: "bool" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Signal { name: "clicked" } - Method { name: "accessiblePressAction"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras/Dial 1.0" - exports: ["QtQuick.Extras/Dial 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "__wrap"; type: "bool" } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "tickmarksVisible"; type: "bool" } - Property { name: "value"; type: "double" } - Property { name: "minimumValue"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Property { name: "stepSize"; type: "double" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras/Dial 1.1" - exports: ["QtQuick.Extras/Dial 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { name: "__wrap"; type: "bool" } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "tickmarksVisible"; type: "bool" } - Property { name: "value"; type: "double" } - Property { name: "minimumValue"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Property { name: "stepSize"; type: "double" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras/Gauge 1.0" - exports: ["QtQuick.Extras/Gauge 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "orientation"; type: "int" } - Property { name: "tickmarkAlignment"; type: "int" } - Property { name: "__tickmarkAlignment"; type: "int" } - Property { name: "__tickmarksInside"; type: "bool" } - Property { name: "tickmarkStepSize"; type: "double" } - Property { name: "minorTickmarkCount"; type: "int" } - Property { name: "formatValue"; type: "QVariant" } - Property { name: "minimumValue"; type: "double" } - Property { name: "value"; type: "double" } - Property { name: "maximumValue"; type: "double" } - Property { name: "font"; type: "QFont" } - Property { name: "__hiddenText"; type: "QQuickText"; isReadonly: true; isPointer: true } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras/PieMenu 1.0" - exports: ["QtQuick.Extras/PieMenu 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "menuItems" - Property { name: "selectionAngle"; type: "double"; isReadonly: true } - Property { name: "triggerMode"; type: "int" } - Property { name: "title"; type: "string" } - Property { name: "boundingItem"; type: "QQuickItem"; isPointer: true } - Property { name: "__protectedScope"; type: "QObject"; isPointer: true } - Property { name: "activationMode"; type: "int" } - Property { name: "menuItems"; type: "QQuickMenuItem1"; isList: true; isReadonly: true } - Property { name: "currentIndex"; type: "int"; isReadonly: true } - Property { name: "currentItem"; type: "QQuickMenuItem1"; isReadonly: true; isPointer: true } - Property { name: "__mouseThief"; type: "QQuickMouseThief"; isReadonly: true; isPointer: true } - Method { - name: "popup" - type: "QVariant" - Parameter { name: "x"; type: "QVariant" } - Parameter { name: "y"; type: "QVariant" } - } - Method { - name: "addItem" - type: "QVariant" - Parameter { name: "text"; type: "QVariant" } - } - Method { - name: "insertItem" - type: "QVariant" - Parameter { name: "before"; type: "QVariant" } - Parameter { name: "text"; type: "QVariant" } - } - Method { - name: "removeItem" - type: "QVariant" - Parameter { name: "item"; type: "QVariant" } - } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickLoader" - name: "QtQuick.Extras.Private/PieMenuIcon 1.0" - exports: ["QtQuick.Extras.Private/PieMenuIcon 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "PieMenu_QMLTYPE_98"; isPointer: true } - Property { name: "styleData"; type: "QObject"; isPointer: true } - Property { name: "iconSource"; type: "string"; isReadonly: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras/StatusIndicator 1.0" - exports: ["QtQuick.Extras/StatusIndicator 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "active"; type: "bool" } - Property { name: "color"; type: "QColor" } - Property { name: "on"; type: "bool" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras/StatusIndicator 1.1" - exports: ["QtQuick.Extras/StatusIndicator 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - defaultProperty: "data" - Property { name: "active"; type: "bool" } - Property { name: "color"; type: "QColor" } - Property { name: "on"; type: "bool" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickText" - name: "QtQuick.Extras.Private/TextSingleton 1.0" - exports: ["QtQuick.Extras.Private/TextSingleton 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - isCreatable: false - isSingleton: true - defaultProperty: "data" - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras/ToggleButton 1.0" - exports: ["QtQuick.Extras/ToggleButton 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "isDefault"; type: "bool" } - Property { name: "menu"; type: "Menu_QMLTYPE_38"; isPointer: true } - Property { name: "checkable"; type: "bool" } - Property { name: "checked"; type: "bool" } - Property { name: "exclusiveGroup"; type: "QQuickExclusiveGroup1"; isPointer: true } - Property { name: "action"; type: "QQuickAction1"; isPointer: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "text"; type: "string" } - Property { name: "tooltip"; type: "string" } - Property { name: "iconSource"; type: "QUrl" } - Property { name: "iconName"; type: "string" } - Property { name: "__position"; type: "string" } - Property { name: "__iconOverriden"; type: "bool"; isReadonly: true } - Property { name: "__action"; type: "QQuickAction1"; isPointer: true } - Property { name: "__iconAction"; type: "QQuickAction1"; isReadonly: true; isPointer: true } - Property { name: "__behavior"; type: "QVariant" } - Property { name: "__effectivePressed"; type: "bool" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Signal { name: "clicked" } - Method { name: "accessiblePressAction"; type: "QVariant" } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QQuickFocusScope" - name: "QtQuick.Extras/Tumbler 1.2" - exports: ["QtQuick.Extras/Tumbler 1.2"] - exportMetaObjectRevisions: [2] - isComposite: true - defaultProperty: "data" - Property { name: "__highlightMoveDuration"; type: "int" } - Property { name: "columnCount"; type: "int"; isReadonly: true } - Property { name: "__columnRow"; type: "QQuickRow"; isReadonly: true; isPointer: true } - Property { name: "__movementDelayTimer"; type: "QQmlTimer"; isReadonly: true; isPointer: true } - Method { - name: "__isValidColumnIndex" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Method { - name: "__isValidColumnAndItemIndex" - type: "QVariant" - Parameter { name: "columnIndex"; type: "QVariant" } - Parameter { name: "itemIndex"; type: "QVariant" } - } - Method { - name: "currentIndexAt" - type: "QVariant" - Parameter { name: "columnIndex"; type: "QVariant" } - } - Method { - name: "setCurrentIndexAt" - type: "QVariant" - Parameter { name: "columnIndex"; type: "QVariant" } - Parameter { name: "itemIndex"; type: "QVariant" } - Parameter { name: "interval"; type: "QVariant" } - } - Method { - name: "getColumn" - type: "QVariant" - Parameter { name: "columnIndex"; type: "QVariant" } - } - Method { - name: "addColumn" - type: "QVariant" - Parameter { name: "column"; type: "QVariant" } - } - Method { - name: "insertColumn" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - Parameter { name: "column"; type: "QVariant" } - } - Method { - name: "__viewAt" - type: "QVariant" - Parameter { name: "index"; type: "QVariant" } - } - Property { name: "style"; type: "QQmlComponent"; isPointer: true } - Property { name: "__style"; type: "QObject"; isPointer: true } - Property { name: "__panel"; type: "QQuickItem"; isPointer: true } - Property { name: "styleHints"; type: "QVariant" } - Property { name: "__styleData"; type: "QObject"; isPointer: true } - } - Component { - prototype: "QObject" - name: "QtQuick.Extras/TumblerColumn 1.2" - exports: ["QtQuick.Extras/TumblerColumn 1.2"] - exportMetaObjectRevisions: [2] - isComposite: true - Property { name: "__tumbler"; type: "QQuickItem"; isPointer: true } - Property { name: "__index"; type: "int" } - Property { name: "__currentIndex"; type: "int" } - Property { name: "model"; type: "QVariant" } - Property { name: "role"; type: "string" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "highlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "columnForeground"; type: "QQmlComponent"; isPointer: true } - Property { name: "visible"; type: "bool" } - Property { name: "activeFocus"; type: "bool"; isReadonly: true } - Property { name: "width"; type: "double" } - Property { name: "currentIndex"; type: "int"; isReadonly: true } - } -} diff --git a/bin/QtQuick/Extras/qmldir b/bin/QtQuick/Extras/qmldir deleted file mode 100644 index 0cac6a550..000000000 --- a/bin/QtQuick/Extras/qmldir +++ /dev/null @@ -1,7 +0,0 @@ -module QtQuick.Extras -plugin qtquickextrasplugin -classname QtQuickExtrasPlugin -#typeinfo plugins.qmltypes - -depends QtGraphicalEffects 1.0 -depends QtQml 2.14 diff --git a/bin/QtQuick/Extras/qtquickextrasplugin.dll b/bin/QtQuick/Extras/qtquickextrasplugin.dll deleted file mode 100644 index 29dd081b3..000000000 Binary files a/bin/QtQuick/Extras/qtquickextrasplugin.dll and /dev/null differ diff --git a/bin/QtQuick/Layouts/plugins.qmltypes b/bin/QtQuick/Layouts/plugins.qmltypes deleted file mode 100644 index 6889083cc..000000000 --- a/bin/QtQuick/Layouts/plugins.qmltypes +++ /dev/null @@ -1,129 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by qmltyperegistrar. - -Module { - dependencies: ["QtQuick 2.0"] - Component { - file: "qquicklinearlayout_p.h" - name: "QQuickColumnLayout" - prototype: "QQuickLinearLayout" - exports: [ - "QtQuick.Layouts/ColumnLayout 1.0", - "QtQuick.Layouts/ColumnLayout 1.1", - "QtQuick.Layouts/ColumnLayout 1.11", - "QtQuick.Layouts/ColumnLayout 1.4", - "QtQuick.Layouts/ColumnLayout 1.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - } - Component { - file: "qquicklinearlayout_p.h" - name: "QQuickGridLayout" - prototype: "QQuickGridLayoutBase" - exports: [ - "QtQuick.Layouts/GridLayout 1.0", - "QtQuick.Layouts/GridLayout 1.1", - "QtQuick.Layouts/GridLayout 1.11", - "QtQuick.Layouts/GridLayout 1.4", - "QtQuick.Layouts/GridLayout 1.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - Enum { - name: "Flow" - values: ["LeftToRight", "TopToBottom"] - } - Property { name: "columnSpacing"; type: "double" } - Property { name: "rowSpacing"; type: "double" } - Property { name: "columns"; type: "int" } - Property { name: "rows"; type: "int" } - Property { name: "flow"; type: "Flow" } - } - Component { - file: "qquicklinearlayout_p.h" - name: "QQuickGridLayoutBase" - prototype: "QQuickLayout" - Property { name: "layoutDirection"; revision: 1; type: "Qt::LayoutDirection" } - Signal { name: "layoutDirectionChanged"; revision: 1 } - } - Component { - file: "qquicklayout_p.h" - name: "QQuickLayout" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick.Layouts/Layout 1.0", - "QtQuick.Layouts/Layout 1.1", - "QtQuick.Layouts/Layout 1.11", - "QtQuick.Layouts/Layout 1.4", - "QtQuick.Layouts/Layout 1.7" - ] - isCreatable: false - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - attachedType: "QQuickLayoutAttached" - Method { name: "invalidateSenderItem" } - Method { name: "_q_dumpLayoutTree" } - } - Component { - name: "QQuickLayoutAttached" - Property { name: "minimumWidth"; type: "double" } - Property { name: "minimumHeight"; type: "double" } - Property { name: "preferredWidth"; type: "double" } - Property { name: "preferredHeight"; type: "double" } - Property { name: "maximumWidth"; type: "double" } - Property { name: "maximumHeight"; type: "double" } - Property { name: "fillHeight"; type: "bool" } - Property { name: "fillWidth"; type: "bool" } - Property { name: "row"; type: "int" } - Property { name: "column"; type: "int" } - Property { name: "rowSpan"; type: "int" } - Property { name: "columnSpan"; type: "int" } - Property { name: "alignment"; type: "Qt::Alignment" } - Property { name: "margins"; type: "double" } - Property { name: "leftMargin"; type: "double" } - Property { name: "topMargin"; type: "double" } - Property { name: "rightMargin"; type: "double" } - Property { name: "bottomMargin"; type: "double" } - } - Component { - file: "qquicklinearlayout_p.h" - name: "QQuickLinearLayout" - prototype: "QQuickGridLayoutBase" - Property { name: "spacing"; type: "double" } - } - Component { - file: "qquicklinearlayout_p.h" - name: "QQuickRowLayout" - prototype: "QQuickLinearLayout" - exports: [ - "QtQuick.Layouts/RowLayout 1.0", - "QtQuick.Layouts/RowLayout 1.1", - "QtQuick.Layouts/RowLayout 1.11", - "QtQuick.Layouts/RowLayout 1.4", - "QtQuick.Layouts/RowLayout 1.7" - ] - exportMetaObjectRevisions: [0, 1, 11, 4, 7] - } - Component { - file: "qquickstacklayout_p.h" - name: "QQuickStackLayout" - prototype: "QQuickLayout" - exports: [ - "QtQuick.Layouts/StackLayout 1.11", - "QtQuick.Layouts/StackLayout 1.3", - "QtQuick.Layouts/StackLayout 1.4", - "QtQuick.Layouts/StackLayout 1.7" - ] - exportMetaObjectRevisions: [11, 3, 4, 7] - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "currentIndex"; type: "int" } - Method { - name: "itemAt" - type: "QQuickItem*" - Parameter { name: "index"; type: "int" } - } - } -} diff --git a/bin/QtQuick/Layouts/qmldir b/bin/QtQuick/Layouts/qmldir deleted file mode 100644 index 00f85f7d6..000000000 --- a/bin/QtQuick/Layouts/qmldir +++ /dev/null @@ -1,5 +0,0 @@ -module QtQuick.Layouts -plugin qquicklayoutsplugin -classname QtQuickLayoutsPlugin -typeinfo plugins.qmltypes -designersupported diff --git a/bin/QtQuick/Layouts/qquicklayoutsplugin.dll b/bin/QtQuick/Layouts/qquicklayoutsplugin.dll deleted file mode 100644 index 1fcddfb6f..000000000 Binary files a/bin/QtQuick/Layouts/qquicklayoutsplugin.dll and /dev/null differ diff --git a/bin/QtQuick/LegacyControls/Qt5LegacyControls.dll b/bin/QtQuick/LegacyControls/Qt5LegacyControls.dll new file mode 100644 index 000000000..b1af67a2a Binary files /dev/null and b/bin/QtQuick/LegacyControls/Qt5LegacyControls.dll differ diff --git a/bin/QtQuick/LegacyControls/qmldir b/bin/QtQuick/LegacyControls/qmldir new file mode 100644 index 000000000..d83b56e5a --- /dev/null +++ b/bin/QtQuick/LegacyControls/qmldir @@ -0,0 +1,29 @@ +module QtQuick.LegacyControls +linktarget Qt5LegacyControls +optional plugin Qt5LegacyControls +classname QtQuick_LegacyControlsPlugin +typeinfo Qt5LegacyControls.qmltypes +import QtQml +import QtQuick +import QtQuick.Layouts +import QtQuick.Window +prefer :/qt/qml/QtQuick/LegacyControls/ +BasicTableView 1.0 BasicTableView.qml +BasicTableViewStyle 1.0 BasicTableViewStyle.qml +CalendarHeaderModel 1.0 CalendarHeaderModel.qml +CalendarOld 1.0 CalendarOld.qml +CalendarStyle 1.0 CalendarStyle.qml +FocusFrame 1.0 FocusFrame.qml +FocusFrameStyle 1.0 FocusFrameStyle.qml +ScrollBarOld 1.0 ScrollBarOld.qml +ScrollViewHelper 1.0 ScrollViewHelper.qml +ScrollViewOld 1.0 ScrollViewOld.qml +ScrollViewStyle 1.0 ScrollViewStyle.qml +Style 1.0 Style.qml +TableViewColumn 1.0 TableViewColumn.qml +TableViewItemDelegateLoader 1.0 TableViewItemDelegateLoader.qml +TableViewOld 1.0 TableViewOld.qml +TableViewSelection 1.0 TableViewSelection.qml +TableViewStyle 1.0 TableViewStyle.qml +singleton TextSingleton 1.0 TextSingleton.qml + diff --git a/bin/QtQuick/PrivateWidgets/plugins.qmltypes b/bin/QtQuick/PrivateWidgets/plugins.qmltypes deleted file mode 100644 index 5e70b3ba4..000000000 --- a/bin/QtQuick/PrivateWidgets/plugins.qmltypes +++ /dev/null @@ -1,328 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable QtQuick.PrivateWidgets 1.1' - -Module { - dependencies: ["QtQuick 2.0"] - Component { - name: "QQuickAbstractColorDialog" - prototype: "QQuickAbstractDialog" - Property { name: "showAlphaChannel"; type: "bool" } - Property { name: "color"; type: "QColor" } - Property { name: "currentColor"; type: "QColor" } - Property { name: "currentHue"; type: "double"; isReadonly: true } - Property { name: "currentSaturation"; type: "double"; isReadonly: true } - Property { name: "currentLightness"; type: "double"; isReadonly: true } - Property { name: "currentAlpha"; type: "double"; isReadonly: true } - Signal { name: "selectionAccepted" } - Method { - name: "setVisible" - Parameter { name: "v"; type: "bool" } - } - Method { - name: "setModality" - Parameter { name: "m"; type: "Qt::WindowModality" } - } - Method { - name: "setTitle" - Parameter { name: "t"; type: "string" } - } - Method { - name: "setColor" - Parameter { name: "arg"; type: "QColor" } - } - Method { - name: "setCurrentColor" - Parameter { name: "currentColor"; type: "QColor" } - } - Method { - name: "setShowAlphaChannel" - Parameter { name: "arg"; type: "bool" } - } - } - Component { - name: "QQuickAbstractDialog" - prototype: "QObject" - Enum { - name: "StandardButton" - values: { - "NoButton": 0, - "Ok": 1024, - "Save": 2048, - "SaveAll": 4096, - "Open": 8192, - "Yes": 16384, - "YesToAll": 32768, - "No": 65536, - "NoToAll": 131072, - "Abort": 262144, - "Retry": 524288, - "Ignore": 1048576, - "Close": 2097152, - "Cancel": 4194304, - "Discard": 8388608, - "Help": 16777216, - "Apply": 33554432, - "Reset": 67108864, - "RestoreDefaults": 134217728, - "NButtons": 134217729 - } - } - Enum { - name: "StandardButtons" - values: { - "NoButton": 0, - "Ok": 1024, - "Save": 2048, - "SaveAll": 4096, - "Open": 8192, - "Yes": 16384, - "YesToAll": 32768, - "No": 65536, - "NoToAll": 131072, - "Abort": 262144, - "Retry": 524288, - "Ignore": 1048576, - "Close": 2097152, - "Cancel": 4194304, - "Discard": 8388608, - "Help": 16777216, - "Apply": 33554432, - "Reset": 67108864, - "RestoreDefaults": 134217728, - "NButtons": 134217729 - } - } - Property { name: "visible"; type: "bool" } - Property { name: "modality"; type: "Qt::WindowModality" } - Property { name: "title"; type: "string" } - Property { name: "isWindow"; type: "bool"; isReadonly: true } - Property { name: "x"; type: "int" } - Property { name: "y"; type: "int" } - Property { name: "width"; type: "int" } - Property { name: "height"; type: "int" } - Property { name: "__maximumDimension"; type: "int"; isReadonly: true } - Signal { name: "visibilityChanged" } - Signal { name: "geometryChanged" } - Signal { name: "accepted" } - Signal { name: "rejected" } - Method { name: "open" } - Method { name: "close" } - Method { - name: "setX" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setY" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setWidth" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setHeight" - Parameter { name: "arg"; type: "int" } - } - } - Component { - name: "QQuickAbstractFileDialog" - prototype: "QQuickAbstractDialog" - Property { name: "selectExisting"; type: "bool" } - Property { name: "selectMultiple"; type: "bool" } - Property { name: "selectFolder"; type: "bool" } - Property { name: "folder"; type: "QUrl" } - Property { name: "nameFilters"; type: "QStringList" } - Property { name: "selectedNameFilter"; type: "string" } - Property { name: "selectedNameFilterExtensions"; type: "QStringList"; isReadonly: true } - Property { name: "selectedNameFilterIndex"; type: "int" } - Property { name: "fileUrl"; type: "QUrl"; isReadonly: true } - Property { name: "fileUrls"; type: "QList"; isReadonly: true } - Property { name: "sidebarVisible"; type: "bool" } - Property { name: "defaultSuffix"; type: "string" } - Property { name: "shortcuts"; type: "QJSValue"; isReadonly: true } - Property { name: "__shortcuts"; type: "QJSValue"; isReadonly: true } - Signal { name: "filterSelected" } - Signal { name: "fileModeChanged" } - Signal { name: "selectionAccepted" } - Method { - name: "setVisible" - Parameter { name: "v"; type: "bool" } - } - Method { - name: "setTitle" - Parameter { name: "t"; type: "string" } - } - Method { - name: "setSelectExisting" - Parameter { name: "s"; type: "bool" } - } - Method { - name: "setSelectMultiple" - Parameter { name: "s"; type: "bool" } - } - Method { - name: "setSelectFolder" - Parameter { name: "s"; type: "bool" } - } - Method { - name: "setFolder" - Parameter { name: "f"; type: "QUrl" } - } - Method { - name: "setNameFilters" - Parameter { name: "f"; type: "QStringList" } - } - Method { - name: "selectNameFilter" - Parameter { name: "f"; type: "string" } - } - Method { - name: "setSelectedNameFilterIndex" - Parameter { name: "idx"; type: "int" } - } - Method { - name: "setSidebarVisible" - Parameter { name: "s"; type: "bool" } - } - Method { - name: "setDefaultSuffix" - Parameter { name: "suffix"; type: "string" } - } - } - Component { - name: "QQuickAbstractFontDialog" - prototype: "QQuickAbstractDialog" - Property { name: "scalableFonts"; type: "bool" } - Property { name: "nonScalableFonts"; type: "bool" } - Property { name: "monospacedFonts"; type: "bool" } - Property { name: "proportionalFonts"; type: "bool" } - Property { name: "font"; type: "QFont" } - Property { name: "currentFont"; type: "QFont" } - Signal { name: "selectionAccepted" } - Method { - name: "setVisible" - Parameter { name: "v"; type: "bool" } - } - Method { - name: "setModality" - Parameter { name: "m"; type: "Qt::WindowModality" } - } - Method { - name: "setTitle" - Parameter { name: "t"; type: "string" } - } - Method { - name: "setFont" - Parameter { name: "arg"; type: "QFont" } - } - Method { - name: "setCurrentFont" - Parameter { name: "arg"; type: "QFont" } - } - Method { - name: "setScalableFonts" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setNonScalableFonts" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setMonospacedFonts" - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "setProportionalFonts" - Parameter { name: "arg"; type: "bool" } - } - } - Component { - name: "QQuickAbstractMessageDialog" - prototype: "QQuickAbstractDialog" - exports: ["QtQuick.PrivateWidgets/QtMessageDialog 1.1"] - exportMetaObjectRevisions: [0] - Enum { - name: "Icon" - values: { - "NoIcon": 0, - "Information": 1, - "Warning": 2, - "Critical": 3, - "Question": 4 - } - } - Property { name: "text"; type: "string" } - Property { name: "informativeText"; type: "string" } - Property { name: "detailedText"; type: "string" } - Property { name: "icon"; type: "Icon" } - Property { name: "standardIconSource"; type: "QUrl"; isReadonly: true } - Property { name: "standardButtons"; type: "QQuickAbstractDialog::StandardButtons" } - Property { - name: "clickedButton" - type: "QQuickAbstractDialog::StandardButton" - isReadonly: true - } - Signal { name: "buttonClicked" } - Signal { name: "discard" } - Signal { name: "help" } - Signal { name: "yes" } - Signal { name: "no" } - Signal { name: "apply" } - Signal { name: "reset" } - Method { - name: "setVisible" - Parameter { name: "v"; type: "bool" } - } - Method { - name: "setTitle" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setText" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setInformativeText" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setDetailedText" - Parameter { name: "arg"; type: "string" } - } - Method { - name: "setIcon" - Parameter { name: "icon"; type: "Icon" } - } - Method { - name: "setStandardButtons" - Parameter { name: "buttons"; type: "StandardButtons" } - } - Method { - name: "click" - Parameter { name: "button"; type: "QQuickAbstractDialog::StandardButton" } - } - } - Component { - name: "QQuickQColorDialog" - prototype: "QQuickAbstractColorDialog" - exports: ["QtQuick.PrivateWidgets/QtColorDialog 1.0"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickQFileDialog" - prototype: "QQuickAbstractFileDialog" - exports: ["QtQuick.PrivateWidgets/QtFileDialog 1.0"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickQFontDialog" - prototype: "QQuickAbstractFontDialog" - exports: ["QtQuick.PrivateWidgets/QtFontDialog 1.1"] - exportMetaObjectRevisions: [0] - } -} diff --git a/bin/QtQuick/PrivateWidgets/qmldir b/bin/QtQuick/PrivateWidgets/qmldir deleted file mode 100644 index da63c98e6..000000000 --- a/bin/QtQuick/PrivateWidgets/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module QtQuick.PrivateWidgets -plugin widgetsplugin -classname QtQuick2PrivateWidgetsPlugin -typeinfo plugins.qmltypes diff --git a/bin/QtQuick/PrivateWidgets/widgetsplugin.dll b/bin/QtQuick/PrivateWidgets/widgetsplugin.dll deleted file mode 100644 index 317e2b03c..000000000 Binary files a/bin/QtQuick/PrivateWidgets/widgetsplugin.dll and /dev/null differ diff --git a/bin/QtQuick/Templates.2/plugins.qmltypes b/bin/QtQuick/Templates.2/plugins.qmltypes deleted file mode 100644 index 42c04c801..000000000 --- a/bin/QtQuick/Templates.2/plugins.qmltypes +++ /dev/null @@ -1,3122 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Templates 2.15' - -Module { - dependencies: ["QtQuick 2.9", "QtQuick.Window 2.2"] - Component { - name: "QQuickAbstractButton" - defaultProperty: "data" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/AbstractButton 2.0", - "QtQuick.Templates/AbstractButton 2.2", - "QtQuick.Templates/AbstractButton 2.3", - "QtQuick.Templates/AbstractButton 2.4", - "QtQuick.Templates/AbstractButton 2.5" - ] - exportMetaObjectRevisions: [0, 2, 3, 4, 5] - Enum { - name: "Display" - values: { - "IconOnly": 0, - "TextOnly": 1, - "TextBesideIcon": 2, - "TextUnderIcon": 3 - } - } - Property { name: "text"; type: "string" } - Property { name: "down"; type: "bool" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "checked"; type: "bool" } - Property { name: "checkable"; type: "bool" } - Property { name: "autoExclusive"; type: "bool" } - Property { name: "autoRepeat"; type: "bool" } - Property { name: "indicator"; type: "QQuickItem"; isPointer: true } - Property { name: "icon"; revision: 3; type: "QQuickIcon" } - Property { name: "display"; revision: 3; type: "Display" } - Property { name: "action"; revision: 3; type: "QQuickAction"; isPointer: true } - Property { name: "autoRepeatDelay"; revision: 4; type: "int" } - Property { name: "autoRepeatInterval"; revision: 4; type: "int" } - Property { name: "pressX"; revision: 4; type: "double"; isReadonly: true } - Property { name: "pressY"; revision: 4; type: "double"; isReadonly: true } - Property { name: "implicitIndicatorWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitIndicatorHeight"; revision: 5; type: "double"; isReadonly: true } - Signal { name: "pressed" } - Signal { name: "released" } - Signal { name: "canceled" } - Signal { name: "clicked" } - Signal { name: "pressAndHold" } - Signal { name: "doubleClicked" } - Signal { name: "toggled"; revision: 2 } - Signal { name: "iconChanged"; revision: 3 } - Signal { name: "displayChanged"; revision: 3 } - Signal { name: "actionChanged"; revision: 3 } - Signal { name: "autoRepeatDelayChanged"; revision: 4 } - Signal { name: "autoRepeatIntervalChanged"; revision: 4 } - Signal { name: "pressXChanged"; revision: 4 } - Signal { name: "pressYChanged"; revision: 4 } - Signal { name: "implicitIndicatorWidthChanged"; revision: 5 } - Signal { name: "implicitIndicatorHeightChanged"; revision: 5 } - Method { name: "toggle" } - } - Component { - name: "QQuickAction" - prototype: "QObject" - exports: ["QtQuick.Templates/Action 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "text"; type: "string" } - Property { name: "icon"; type: "QQuickIcon" } - Property { name: "enabled"; type: "bool" } - Property { name: "checked"; type: "bool" } - Property { name: "checkable"; type: "bool" } - Property { name: "shortcut"; type: "QVariant" } - Signal { - name: "textChanged" - Parameter { name: "text"; type: "string" } - } - Signal { - name: "iconChanged" - Parameter { name: "icon"; type: "QQuickIcon" } - } - Signal { - name: "enabledChanged" - Parameter { name: "enabled"; type: "bool" } - } - Signal { - name: "checkedChanged" - Parameter { name: "checked"; type: "bool" } - } - Signal { - name: "checkableChanged" - Parameter { name: "checkable"; type: "bool" } - } - Signal { - name: "shortcutChanged" - Parameter { name: "shortcut"; type: "QKeySequence" } - } - Signal { - name: "toggled" - Parameter { name: "source"; type: "QObject"; isPointer: true } - } - Signal { name: "toggled" } - Signal { - name: "triggered" - Parameter { name: "source"; type: "QObject"; isPointer: true } - } - Signal { name: "triggered" } - Method { - name: "toggle" - Parameter { name: "source"; type: "QObject"; isPointer: true } - } - Method { name: "toggle" } - Method { - name: "trigger" - Parameter { name: "source"; type: "QObject"; isPointer: true } - } - Method { name: "trigger" } - } - Component { - name: "QQuickActionGroup" - defaultProperty: "actions" - prototype: "QObject" - exports: ["QtQuick.Templates/ActionGroup 2.3"] - exportMetaObjectRevisions: [0] - attachedType: "QQuickActionGroupAttached" - Property { name: "checkedAction"; type: "QQuickAction"; isPointer: true } - Property { name: "actions"; type: "QQuickAction"; isList: true; isReadonly: true } - Property { name: "exclusive"; type: "bool" } - Property { name: "enabled"; type: "bool" } - Signal { - name: "triggered" - Parameter { name: "action"; type: "QQuickAction"; isPointer: true } - } - Method { - name: "addAction" - Parameter { name: "action"; type: "QQuickAction"; isPointer: true } - } - Method { - name: "removeAction" - Parameter { name: "action"; type: "QQuickAction"; isPointer: true } - } - } - Component { - name: "QQuickActionGroupAttached" - prototype: "QObject" - Property { name: "group"; type: "QQuickActionGroup"; isPointer: true } - } - Component { - name: "QQuickApplicationWindow" - defaultProperty: "contentData" - prototype: "QQuickWindowQmlImpl" - exports: [ - "QtQuick.Templates/ApplicationWindow 2.0", - "QtQuick.Templates/ApplicationWindow 2.3" - ] - exportMetaObjectRevisions: [0, 3] - attachedType: "QQuickApplicationWindowAttached" - Property { name: "background"; type: "QQuickItem"; isPointer: true } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "activeFocusControl"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "header"; type: "QQuickItem"; isPointer: true } - Property { name: "footer"; type: "QQuickItem"; isPointer: true } - Property { name: "overlay"; type: "QQuickOverlay"; isReadonly: true; isPointer: true } - Property { name: "font"; type: "QFont" } - Property { name: "locale"; type: "QLocale" } - Property { name: "palette"; revision: 3; type: "QPalette" } - Property { name: "menuBar"; revision: 3; type: "QQuickItem"; isPointer: true } - Signal { name: "paletteChanged"; revision: 3 } - Signal { name: "menuBarChanged"; revision: 3 } - } - Component { - name: "QQuickApplicationWindowAttached" - prototype: "QObject" - Property { name: "window"; type: "QQuickApplicationWindow"; isReadonly: true; isPointer: true } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "activeFocusControl"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "header"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "footer"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "overlay"; type: "QQuickOverlay"; isReadonly: true; isPointer: true } - Property { name: "menuBar"; type: "QQuickItem"; isReadonly: true; isPointer: true } - } - Component { - name: "QQuickBusyIndicator" - defaultProperty: "data" - prototype: "QQuickControl" - exports: ["QtQuick.Templates/BusyIndicator 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "running"; type: "bool" } - } - Component { - name: "QQuickButton" - defaultProperty: "data" - prototype: "QQuickAbstractButton" - exports: ["QtQuick.Templates/Button 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "highlighted"; type: "bool" } - Property { name: "flat"; type: "bool" } - } - Component { - name: "QQuickButtonGroup" - prototype: "QObject" - exports: [ - "QtQuick.Templates/ButtonGroup 2.0", - "QtQuick.Templates/ButtonGroup 2.1", - "QtQuick.Templates/ButtonGroup 2.3", - "QtQuick.Templates/ButtonGroup 2.4" - ] - exportMetaObjectRevisions: [0, 1, 3, 4] - attachedType: "QQuickButtonGroupAttached" - Property { name: "checkedButton"; type: "QQuickAbstractButton"; isPointer: true } - Property { name: "buttons"; type: "QQuickAbstractButton"; isList: true; isReadonly: true } - Property { name: "exclusive"; revision: 3; type: "bool" } - Property { name: "checkState"; revision: 4; type: "Qt::CheckState" } - Signal { - name: "clicked" - revision: 1 - Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } - } - Signal { name: "exclusiveChanged"; revision: 3 } - Signal { name: "checkStateChanged"; revision: 4 } - Method { - name: "addButton" - Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } - } - Method { - name: "removeButton" - Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } - } - } - Component { - name: "QQuickButtonGroupAttached" - prototype: "QObject" - Property { name: "group"; type: "QQuickButtonGroup"; isPointer: true } - } - Component { - name: "QQuickCheckBox" - defaultProperty: "data" - prototype: "QQuickAbstractButton" - exports: [ - "QtQuick.Templates/CheckBox 2.0", - "QtQuick.Templates/CheckBox 2.4" - ] - exportMetaObjectRevisions: [0, 4] - Property { name: "tristate"; type: "bool" } - Property { name: "checkState"; type: "Qt::CheckState" } - Property { name: "nextCheckState"; revision: 4; type: "QJSValue" } - Signal { name: "nextCheckStateChanged"; revision: 4 } - } - Component { - name: "QQuickCheckDelegate" - defaultProperty: "data" - prototype: "QQuickItemDelegate" - exports: [ - "QtQuick.Templates/CheckDelegate 2.0", - "QtQuick.Templates/CheckDelegate 2.4" - ] - exportMetaObjectRevisions: [0, 4] - Property { name: "tristate"; type: "bool" } - Property { name: "checkState"; type: "Qt::CheckState" } - Property { name: "nextCheckState"; revision: 4; type: "QJSValue" } - Signal { name: "nextCheckStateChanged"; revision: 4 } - } - Component { - name: "QQuickComboBox" - defaultProperty: "data" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/ComboBox 2.0", - "QtQuick.Templates/ComboBox 2.1", - "QtQuick.Templates/ComboBox 2.14", - "QtQuick.Templates/ComboBox 2.15", - "QtQuick.Templates/ComboBox 2.2", - "QtQuick.Templates/ComboBox 2.5" - ] - exportMetaObjectRevisions: [0, 1, 14, 15, 2, 5] - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "model"; type: "QVariant" } - Property { name: "delegateModel"; type: "QQmlInstanceModel"; isReadonly: true; isPointer: true } - Property { name: "pressed"; type: "bool" } - Property { name: "highlightedIndex"; type: "int"; isReadonly: true } - Property { name: "currentIndex"; type: "int" } - Property { name: "currentText"; type: "string"; isReadonly: true } - Property { name: "displayText"; type: "string" } - Property { name: "textRole"; type: "string" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "indicator"; type: "QQuickItem"; isPointer: true } - Property { name: "popup"; type: "QQuickPopup"; isPointer: true } - Property { name: "flat"; revision: 1; type: "bool" } - Property { name: "down"; revision: 2; type: "bool" } - Property { name: "editable"; revision: 2; type: "bool" } - Property { name: "editText"; revision: 2; type: "string" } - Property { name: "validator"; revision: 2; type: "QValidator"; isPointer: true } - Property { name: "inputMethodHints"; revision: 2; type: "Qt::InputMethodHints" } - Property { name: "inputMethodComposing"; revision: 2; type: "bool"; isReadonly: true } - Property { name: "acceptableInput"; revision: 2; type: "bool"; isReadonly: true } - Property { name: "implicitIndicatorWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitIndicatorHeight"; revision: 5; type: "double"; isReadonly: true } - Property { name: "currentValue"; revision: 14; type: "QVariant"; isReadonly: true } - Property { name: "valueRole"; revision: 14; type: "string" } - Property { name: "selectTextByMouse"; revision: 15; type: "bool" } - Signal { - name: "activated" - Parameter { name: "index"; type: "int" } - } - Signal { - name: "highlighted" - Parameter { name: "index"; type: "int" } - } - Signal { name: "flatChanged"; revision: 1 } - Signal { name: "accepted"; revision: 2 } - Signal { name: "downChanged"; revision: 2 } - Signal { name: "editableChanged"; revision: 2 } - Signal { name: "editTextChanged"; revision: 2 } - Signal { name: "validatorChanged"; revision: 2 } - Signal { name: "inputMethodHintsChanged"; revision: 2 } - Signal { name: "inputMethodComposingChanged"; revision: 2 } - Signal { name: "acceptableInputChanged"; revision: 2 } - Signal { name: "implicitIndicatorWidthChanged"; revision: 5 } - Signal { name: "implicitIndicatorHeightChanged"; revision: 5 } - Signal { name: "valueRoleChanged"; revision: 14 } - Signal { name: "currentValueChanged"; revision: 14 } - Signal { name: "selectTextByMouseChanged"; revision: 15 } - Method { name: "incrementCurrentIndex" } - Method { name: "decrementCurrentIndex" } - Method { name: "selectAll"; revision: 2 } - Method { - name: "textAt" - type: "string" - Parameter { name: "index"; type: "int" } - } - Method { - name: "find" - type: "int" - Parameter { name: "text"; type: "string" } - Parameter { name: "flags"; type: "Qt::MatchFlags" } - } - Method { - name: "find" - type: "int" - Parameter { name: "text"; type: "string" } - } - Method { - name: "valueAt" - revision: 14 - type: "QVariant" - Parameter { name: "index"; type: "int" } - } - Method { - name: "indexOfValue" - revision: 14 - type: "int" - Parameter { name: "value"; type: "QVariant" } - } - } - Component { - name: "QQuickContainer" - defaultProperty: "contentData" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/Container 2.0", - "QtQuick.Templates/Container 2.1", - "QtQuick.Templates/Container 2.3", - "QtQuick.Templates/Container 2.5" - ] - exportMetaObjectRevisions: [0, 1, 3, 5] - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "contentModel"; type: "QVariant"; isReadonly: true } - Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "contentChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "currentIndex"; type: "int" } - Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "contentWidth"; revision: 5; type: "double" } - Property { name: "contentHeight"; revision: 5; type: "double" } - Signal { name: "contentWidthChanged"; revision: 5 } - Signal { name: "contentHeightChanged"; revision: 5 } - Method { - name: "setCurrentIndex" - Parameter { name: "index"; type: "int" } - } - Method { name: "incrementCurrentIndex"; revision: 1 } - Method { name: "decrementCurrentIndex"; revision: 1 } - Method { - name: "itemAt" - type: "QQuickItem*" - Parameter { name: "index"; type: "int" } - } - Method { - name: "addItem" - Parameter { name: "item"; type: "QQuickItem"; isPointer: true } - } - Method { - name: "insertItem" - Parameter { name: "index"; type: "int" } - Parameter { name: "item"; type: "QQuickItem"; isPointer: true } - } - Method { - name: "moveItem" - Parameter { name: "from"; type: "int" } - Parameter { name: "to"; type: "int" } - } - Method { - name: "removeItem" - Parameter { name: "item"; type: "QVariant" } - } - Method { - name: "takeItem" - revision: 3 - type: "QQuickItem*" - Parameter { name: "index"; type: "int" } - } - } - Component { name: "QQuickContentItem"; defaultProperty: "data"; prototype: "QQuickItem" } - Component { - name: "QQuickControl" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtQuick.Templates/Control 2.0", - "QtQuick.Templates/Control 2.3", - "QtQuick.Templates/Control 2.5" - ] - exportMetaObjectRevisions: [0, 3, 5] - Property { name: "font"; type: "QFont" } - Property { name: "availableWidth"; type: "double"; isReadonly: true } - Property { name: "availableHeight"; type: "double"; isReadonly: true } - Property { name: "padding"; type: "double" } - Property { name: "topPadding"; type: "double" } - Property { name: "leftPadding"; type: "double" } - Property { name: "rightPadding"; type: "double" } - Property { name: "bottomPadding"; type: "double" } - Property { name: "spacing"; type: "double" } - Property { name: "locale"; type: "QLocale" } - Property { name: "mirrored"; type: "bool"; isReadonly: true } - Property { name: "focusPolicy"; type: "Qt::FocusPolicy" } - Property { name: "focusReason"; type: "Qt::FocusReason" } - Property { name: "visualFocus"; type: "bool"; isReadonly: true } - Property { name: "hovered"; type: "bool"; isReadonly: true } - Property { name: "hoverEnabled"; type: "bool" } - Property { name: "wheelEnabled"; type: "bool" } - Property { name: "background"; type: "QQuickItem"; isPointer: true } - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "baselineOffset"; type: "double" } - Property { name: "palette"; revision: 3; type: "QPalette" } - Property { name: "horizontalPadding"; revision: 5; type: "double" } - Property { name: "verticalPadding"; revision: 5; type: "double" } - Property { name: "implicitContentWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitContentHeight"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } - Property { name: "topInset"; revision: 5; type: "double" } - Property { name: "leftInset"; revision: 5; type: "double" } - Property { name: "rightInset"; revision: 5; type: "double" } - Property { name: "bottomInset"; revision: 5; type: "double" } - Signal { name: "paletteChanged"; revision: 3 } - Signal { name: "horizontalPaddingChanged"; revision: 5 } - Signal { name: "verticalPaddingChanged"; revision: 5 } - Signal { name: "implicitContentWidthChanged"; revision: 5 } - Signal { name: "implicitContentHeightChanged"; revision: 5 } - Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } - Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } - Signal { name: "topInsetChanged"; revision: 5 } - Signal { name: "leftInsetChanged"; revision: 5 } - Signal { name: "rightInsetChanged"; revision: 5 } - Signal { name: "bottomInsetChanged"; revision: 5 } - } - Component { - name: "QQuickDelayButton" - defaultProperty: "data" - prototype: "QQuickAbstractButton" - exports: ["QtQuick.Templates/DelayButton 2.2"] - exportMetaObjectRevisions: [0] - Property { name: "delay"; type: "int" } - Property { name: "progress"; type: "double" } - Property { name: "transition"; type: "QQuickTransition"; isPointer: true } - Signal { name: "activated" } - } - Component { - name: "QQuickDial" - defaultProperty: "data" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/Dial 2.0", - "QtQuick.Templates/Dial 2.2", - "QtQuick.Templates/Dial 2.5" - ] - exportMetaObjectRevisions: [0, 2, 5] - Enum { - name: "SnapMode" - values: { - "NoSnap": 0, - "SnapAlways": 1, - "SnapOnRelease": 2 - } - } - Enum { - name: "InputMode" - values: { - "Circular": 0, - "Horizontal": 1, - "Vertical": 2 - } - } - Property { name: "from"; type: "double" } - Property { name: "to"; type: "double" } - Property { name: "value"; type: "double" } - Property { name: "position"; type: "double"; isReadonly: true } - Property { name: "angle"; type: "double"; isReadonly: true } - Property { name: "stepSize"; type: "double" } - Property { name: "snapMode"; type: "SnapMode" } - Property { name: "wrap"; type: "bool" } - Property { name: "pressed"; type: "bool"; isReadonly: true } - Property { name: "handle"; type: "QQuickItem"; isPointer: true } - Property { name: "live"; revision: 2; type: "bool" } - Property { name: "inputMode"; revision: 5; type: "InputMode" } - Signal { name: "moved"; revision: 2 } - Signal { name: "liveChanged"; revision: 2 } - Signal { name: "inputModeChanged"; revision: 5 } - Method { name: "increase" } - Method { name: "decrease" } - } - Component { - name: "QQuickDialog" - defaultProperty: "contentData" - prototype: "QQuickPopup" - exports: [ - "QtQuick.Templates/Dialog 2.1", - "QtQuick.Templates/Dialog 2.3", - "QtQuick.Templates/Dialog 2.5" - ] - exportMetaObjectRevisions: [0, 3, 5] - Enum { - name: "StandardCode" - values: { - "Rejected": 0, - "Accepted": 1 - } - } - Property { name: "title"; type: "string" } - Property { name: "header"; type: "QQuickItem"; isPointer: true } - Property { name: "footer"; type: "QQuickItem"; isPointer: true } - Property { name: "standardButtons"; type: "QPlatformDialogHelper::StandardButtons" } - Property { name: "result"; revision: 3; type: "int" } - Property { name: "implicitHeaderWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitHeaderHeight"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitFooterWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitFooterHeight"; revision: 5; type: "double"; isReadonly: true } - Signal { name: "accepted" } - Signal { name: "rejected" } - Signal { name: "applied"; revision: 3 } - Signal { name: "reset"; revision: 3 } - Signal { name: "discarded"; revision: 3 } - Signal { name: "helpRequested"; revision: 3 } - Signal { name: "resultChanged"; revision: 3 } - Method { name: "accept" } - Method { name: "reject" } - Method { - name: "done" - Parameter { name: "result"; type: "int" } - } - Method { - name: "standardButton" - revision: 3 - type: "QQuickAbstractButton*" - Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } - } - } - Component { - name: "QQuickDialogButtonBox" - defaultProperty: "contentData" - prototype: "QQuickContainer" - exports: [ - "QtQuick.Templates/DialogButtonBox 2.1", - "QtQuick.Templates/DialogButtonBox 2.3", - "QtQuick.Templates/DialogButtonBox 2.5" - ] - exportMetaObjectRevisions: [0, 3, 5] - attachedType: "QQuickDialogButtonBoxAttached" - Enum { - name: "Position" - values: { - "Header": 0, - "Footer": 1 - } - } - Property { name: "position"; type: "Position" } - Property { name: "alignment"; type: "Qt::Alignment" } - Property { name: "standardButtons"; type: "QPlatformDialogHelper::StandardButtons" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "buttonLayout"; revision: 5; type: "QPlatformDialogHelper::ButtonLayout" } - Signal { name: "accepted" } - Signal { name: "rejected" } - Signal { name: "helpRequested" } - Signal { - name: "clicked" - Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } - } - Signal { name: "applied"; revision: 3 } - Signal { name: "reset"; revision: 3 } - Signal { name: "discarded"; revision: 3 } - Signal { name: "buttonLayoutChanged"; revision: 5 } - Method { - name: "standardButton" - type: "QQuickAbstractButton*" - Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } - } - } - Component { - name: "QQuickDialogButtonBoxAttached" - prototype: "QObject" - Property { name: "buttonBox"; type: "QQuickDialogButtonBox"; isReadonly: true; isPointer: true } - Property { name: "buttonRole"; type: "QPlatformDialogHelper::ButtonRole" } - } - Component { - name: "QQuickDrawer" - defaultProperty: "contentData" - prototype: "QQuickPopup" - exports: [ - "QtQuick.Templates/Drawer 2.0", - "QtQuick.Templates/Drawer 2.2" - ] - exportMetaObjectRevisions: [0, 2] - Property { name: "edge"; type: "Qt::Edge" } - Property { name: "position"; type: "double" } - Property { name: "dragMargin"; type: "double" } - Property { name: "interactive"; revision: 2; type: "bool" } - Signal { name: "interactiveChanged"; revision: 2 } - } - Component { - name: "QQuickFrame" - defaultProperty: "contentData" - prototype: "QQuickPane" - exports: ["QtQuick.Templates/Frame 2.0"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickGroupBox" - defaultProperty: "contentData" - prototype: "QQuickFrame" - exports: [ - "QtQuick.Templates/GroupBox 2.0", - "QtQuick.Templates/GroupBox 2.5" - ] - exportMetaObjectRevisions: [0, 5] - Property { name: "title"; type: "string" } - Property { name: "label"; type: "QQuickItem"; isPointer: true } - Property { name: "implicitLabelWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitLabelHeight"; revision: 5; type: "double"; isReadonly: true } - Signal { name: "implicitLabelWidthChanged"; revision: 5 } - Signal { name: "implicitLabelHeightChanged"; revision: 5 } - } - Component { - name: "QQuickHeaderViewBase" - defaultProperty: "flickableData" - prototype: "QQuickTableView" - Property { name: "textRole"; type: "string" } - } - Component { - name: "QQuickHorizontalHeaderView" - defaultProperty: "flickableData" - prototype: "QQuickHeaderViewBase" - exports: ["QtQuick.Templates/HorizontalHeaderView 2.15"] - exportMetaObjectRevisions: [0] - attachedType: "QQuickTableViewAttached" - } - Component { - name: "QQuickIcon" - Property { name: "name"; type: "string" } - Property { name: "source"; type: "QUrl" } - Property { name: "width"; type: "int" } - Property { name: "height"; type: "int" } - Property { name: "color"; type: "QColor" } - Property { name: "cache"; type: "bool" } - } - Component { - name: "QQuickImplicitSizeItem" - defaultProperty: "data" - prototype: "QQuickItem" - Property { name: "implicitWidth"; type: "double"; isReadonly: true } - Property { name: "implicitHeight"; type: "double"; isReadonly: true } - } - Component { - name: "QQuickItem" - defaultProperty: "data" - prototype: "QObject" - Enum { - name: "Flags" - values: { - "ItemClipsChildrenToShape": 1, - "ItemAcceptsInputMethod": 2, - "ItemIsFocusScope": 4, - "ItemHasContents": 8, - "ItemAcceptsDrops": 16 - } - } - Enum { - name: "TransformOrigin" - values: { - "TopLeft": 0, - "Top": 1, - "TopRight": 2, - "Left": 3, - "Center": 4, - "Right": 5, - "BottomLeft": 6, - "Bottom": 7, - "BottomRight": 8 - } - } - Property { name: "parent"; type: "QQuickItem"; isPointer: true } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - Property { name: "z"; type: "double" } - Property { name: "width"; type: "double" } - Property { name: "height"; type: "double" } - Property { name: "opacity"; type: "double" } - Property { name: "enabled"; type: "bool" } - Property { name: "visible"; type: "bool" } - Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true } - Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true } - Property { name: "state"; type: "string" } - Property { name: "childrenRect"; type: "QRectF"; isReadonly: true } - Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true } - Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true } - Property { name: "baselineOffset"; type: "double" } - Property { name: "clip"; type: "bool" } - Property { name: "focus"; type: "bool" } - Property { name: "activeFocus"; type: "bool"; isReadonly: true } - Property { name: "activeFocusOnTab"; revision: 1; type: "bool" } - Property { name: "rotation"; type: "double" } - Property { name: "scale"; type: "double" } - Property { name: "transformOrigin"; type: "TransformOrigin" } - Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true } - Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true } - Property { name: "smooth"; type: "bool" } - Property { name: "antialiasing"; type: "bool" } - Property { name: "implicitWidth"; type: "double" } - Property { name: "implicitHeight"; type: "double" } - Property { name: "containmentMask"; revision: 11; type: "QObject"; isPointer: true } - Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true } - Signal { - name: "childrenRectChanged" - Parameter { type: "QRectF" } - } - Signal { - name: "baselineOffsetChanged" - Parameter { type: "double" } - } - Signal { - name: "stateChanged" - Parameter { type: "string" } - } - Signal { - name: "focusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusChanged" - Parameter { type: "bool" } - } - Signal { - name: "activeFocusOnTabChanged" - revision: 1 - Parameter { type: "bool" } - } - Signal { - name: "parentChanged" - Parameter { type: "QQuickItem"; isPointer: true } - } - Signal { - name: "transformOriginChanged" - Parameter { type: "TransformOrigin" } - } - Signal { - name: "smoothChanged" - Parameter { type: "bool" } - } - Signal { - name: "antialiasingChanged" - Parameter { type: "bool" } - } - Signal { - name: "clipChanged" - Parameter { type: "bool" } - } - Signal { - name: "windowChanged" - revision: 1 - Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } - } - Signal { name: "containmentMaskChanged"; revision: 11 } - Method { name: "update" } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - Parameter { name: "targetSize"; type: "QSize" } - } - Method { - name: "grabToImage" - revision: 4 - type: "bool" - Parameter { name: "callback"; type: "QJSValue" } - } - Method { - name: "contains" - type: "bool" - Parameter { name: "point"; type: "QPointF" } - } - Method { - name: "mapFromItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToItem" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapFromGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "mapToGlobal" - revision: 7 - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Method { name: "forceActiveFocus" } - Method { - name: "forceActiveFocus" - Parameter { name: "reason"; type: "Qt::FocusReason" } - } - Method { - name: "nextItemInFocusChain" - revision: 1 - type: "QQuickItem*" - Parameter { name: "forward"; type: "bool" } - } - Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" } - Method { - name: "childAt" - type: "QQuickItem*" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { - name: "QQuickItemDelegate" - defaultProperty: "data" - prototype: "QQuickAbstractButton" - exports: ["QtQuick.Templates/ItemDelegate 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "highlighted"; type: "bool" } - } - Component { - name: "QQuickLabel" - defaultProperty: "data" - prototype: "QQuickText" - exports: [ - "QtQuick.Templates/Label 2.0", - "QtQuick.Templates/Label 2.3", - "QtQuick.Templates/Label 2.5" - ] - exportMetaObjectRevisions: [0, 3, 5] - Property { name: "font"; type: "QFont" } - Property { name: "background"; type: "QQuickItem"; isPointer: true } - Property { name: "palette"; revision: 3; type: "QPalette" } - Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } - Property { name: "topInset"; revision: 5; type: "double" } - Property { name: "leftInset"; revision: 5; type: "double" } - Property { name: "rightInset"; revision: 5; type: "double" } - Property { name: "bottomInset"; revision: 5; type: "double" } - Signal { name: "paletteChanged"; revision: 3 } - Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } - Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } - Signal { name: "topInsetChanged"; revision: 5 } - Signal { name: "leftInsetChanged"; revision: 5 } - Signal { name: "rightInsetChanged"; revision: 5 } - Signal { name: "bottomInsetChanged"; revision: 5 } - } - Component { - name: "QQuickMenu" - defaultProperty: "contentData" - prototype: "QQuickPopup" - exports: ["QtQuick.Templates/Menu 2.0", "QtQuick.Templates/Menu 2.3"] - exportMetaObjectRevisions: [0, 3] - Property { name: "contentModel"; type: "QVariant"; isReadonly: true } - Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "title"; type: "string" } - Property { name: "count"; revision: 3; type: "int"; isReadonly: true } - Property { name: "cascade"; revision: 3; type: "bool" } - Property { name: "overlap"; revision: 3; type: "double" } - Property { name: "delegate"; revision: 3; type: "QQmlComponent"; isPointer: true } - Property { name: "currentIndex"; revision: 3; type: "int" } - Signal { - name: "titleChanged" - Parameter { name: "title"; type: "string" } - } - Signal { name: "countChanged"; revision: 3 } - Signal { - name: "cascadeChanged" - revision: 3 - Parameter { name: "cascade"; type: "bool" } - } - Signal { name: "overlapChanged"; revision: 3 } - Signal { name: "delegateChanged"; revision: 3 } - Signal { name: "currentIndexChanged"; revision: 3 } - Method { - name: "itemAt" - type: "QQuickItem*" - Parameter { name: "index"; type: "int" } - } - Method { - name: "addItem" - Parameter { name: "item"; type: "QQuickItem"; isPointer: true } - } - Method { - name: "insertItem" - Parameter { name: "index"; type: "int" } - Parameter { name: "item"; type: "QQuickItem"; isPointer: true } - } - Method { - name: "moveItem" - Parameter { name: "from"; type: "int" } - Parameter { name: "to"; type: "int" } - } - Method { - name: "removeItem" - Parameter { name: "item"; type: "QVariant" } - } - Method { - name: "takeItem" - revision: 3 - type: "QQuickItem*" - Parameter { name: "index"; type: "int" } - } - Method { - name: "menuAt" - revision: 3 - type: "QQuickMenu*" - Parameter { name: "index"; type: "int" } - } - Method { - name: "addMenu" - revision: 3 - Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } - } - Method { - name: "insertMenu" - revision: 3 - Parameter { name: "index"; type: "int" } - Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } - } - Method { - name: "removeMenu" - revision: 3 - Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } - } - Method { - name: "takeMenu" - revision: 3 - type: "QQuickMenu*" - Parameter { name: "index"; type: "int" } - } - Method { - name: "actionAt" - revision: 3 - type: "QQuickAction*" - Parameter { name: "index"; type: "int" } - } - Method { - name: "addAction" - revision: 3 - Parameter { name: "action"; type: "QQuickAction"; isPointer: true } - } - Method { - name: "insertAction" - revision: 3 - Parameter { name: "index"; type: "int" } - Parameter { name: "action"; type: "QQuickAction"; isPointer: true } - } - Method { - name: "removeAction" - revision: 3 - Parameter { name: "action"; type: "QQuickAction"; isPointer: true } - } - Method { - name: "takeAction" - revision: 3 - type: "QQuickAction*" - Parameter { name: "index"; type: "int" } - } - Method { - name: "popup" - revision: 3 - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { name: "dismiss"; revision: 3 } - } - Component { - name: "QQuickMenuBar" - defaultProperty: "contentData" - prototype: "QQuickContainer" - exports: ["QtQuick.Templates/MenuBar 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "contentWidth"; type: "double" } - Property { name: "contentHeight"; type: "double" } - Property { name: "menus"; type: "QQuickMenu"; isList: true; isReadonly: true } - Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } - Method { - name: "menuAt" - type: "QQuickMenu*" - Parameter { name: "index"; type: "int" } - } - Method { - name: "addMenu" - Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } - } - Method { - name: "insertMenu" - Parameter { name: "index"; type: "int" } - Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } - } - Method { - name: "removeMenu" - Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } - } - Method { - name: "takeMenu" - type: "QQuickMenu*" - Parameter { name: "index"; type: "int" } - } - } - Component { - name: "QQuickMenuBarItem" - defaultProperty: "data" - prototype: "QQuickAbstractButton" - exports: ["QtQuick.Templates/MenuBarItem 2.3"] - exportMetaObjectRevisions: [0] - Property { name: "menuBar"; type: "QQuickMenuBar"; isReadonly: true; isPointer: true } - Property { name: "menu"; type: "QQuickMenu"; isPointer: true } - Property { name: "highlighted"; type: "bool" } - Signal { name: "triggered" } - } - Component { - name: "QQuickMenuItem" - defaultProperty: "data" - prototype: "QQuickAbstractButton" - exports: [ - "QtQuick.Templates/MenuItem 2.0", - "QtQuick.Templates/MenuItem 2.3" - ] - exportMetaObjectRevisions: [0, 3] - Property { name: "highlighted"; type: "bool" } - Property { name: "arrow"; revision: 3; type: "QQuickItem"; isPointer: true } - Property { name: "menu"; revision: 3; type: "QQuickMenu"; isReadonly: true; isPointer: true } - Property { name: "subMenu"; revision: 3; type: "QQuickMenu"; isReadonly: true; isPointer: true } - Signal { name: "triggered" } - Signal { name: "arrowChanged"; revision: 3 } - Signal { name: "menuChanged"; revision: 3 } - Signal { name: "subMenuChanged"; revision: 3 } - } - Component { - name: "QQuickMenuSeparator" - defaultProperty: "data" - prototype: "QQuickControl" - exports: ["QtQuick.Templates/MenuSeparator 2.1"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickOverlay" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtQuick.Templates/Overlay 2.3"] - isCreatable: false - exportMetaObjectRevisions: [0] - attachedType: "QQuickOverlayAttached" - Property { name: "modal"; type: "QQmlComponent"; isPointer: true } - Property { name: "modeless"; type: "QQmlComponent"; isPointer: true } - Signal { name: "pressed" } - Signal { name: "released" } - } - Component { - name: "QQuickOverlayAttached" - prototype: "QObject" - Property { name: "overlay"; type: "QQuickOverlay"; isReadonly: true; isPointer: true } - Property { name: "modal"; type: "QQmlComponent"; isPointer: true } - Property { name: "modeless"; type: "QQmlComponent"; isPointer: true } - Signal { name: "pressed" } - Signal { name: "released" } - } - Component { - name: "QQuickPage" - defaultProperty: "contentData" - prototype: "QQuickPane" - exports: [ - "QtQuick.Templates/Page 2.0", - "QtQuick.Templates/Page 2.1", - "QtQuick.Templates/Page 2.5" - ] - exportMetaObjectRevisions: [0, 1, 5] - Property { name: "title"; type: "string" } - Property { name: "header"; type: "QQuickItem"; isPointer: true } - Property { name: "footer"; type: "QQuickItem"; isPointer: true } - Property { name: "contentWidth"; revision: 1; type: "double" } - Property { name: "contentHeight"; revision: 1; type: "double" } - Property { name: "implicitHeaderWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitHeaderHeight"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitFooterWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitFooterHeight"; revision: 5; type: "double"; isReadonly: true } - } - Component { - name: "QQuickPageIndicator" - defaultProperty: "data" - prototype: "QQuickControl" - exports: ["QtQuick.Templates/PageIndicator 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "count"; type: "int" } - Property { name: "currentIndex"; type: "int" } - Property { name: "interactive"; type: "bool" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - } - Component { - name: "QQuickPane" - defaultProperty: "contentData" - prototype: "QQuickControl" - exports: ["QtQuick.Templates/Pane 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "contentWidth"; type: "double" } - Property { name: "contentHeight"; type: "double" } - Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "contentChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - } - Component { - name: "QQuickPopup" - defaultProperty: "contentData" - prototype: "QObject" - exports: [ - "QtQuick.Templates/Popup 2.0", - "QtQuick.Templates/Popup 2.1", - "QtQuick.Templates/Popup 2.3", - "QtQuick.Templates/Popup 2.5" - ] - exportMetaObjectRevisions: [0, 1, 3, 5] - Enum { - name: "ClosePolicy" - values: { - "NoAutoClose": 0, - "CloseOnPressOutside": 1, - "CloseOnPressOutsideParent": 2, - "CloseOnReleaseOutside": 4, - "CloseOnReleaseOutsideParent": 8, - "CloseOnEscape": 16 - } - } - Enum { - name: "TransformOrigin" - values: { - "TopLeft": 0, - "Top": 1, - "TopRight": 2, - "Left": 3, - "Center": 4, - "Right": 5, - "BottomLeft": 6, - "Bottom": 7, - "BottomRight": 8 - } - } - Property { name: "x"; type: "double" } - Property { name: "y"; type: "double" } - Property { name: "z"; type: "double" } - Property { name: "width"; type: "double" } - Property { name: "height"; type: "double" } - Property { name: "implicitWidth"; type: "double" } - Property { name: "implicitHeight"; type: "double" } - Property { name: "contentWidth"; type: "double" } - Property { name: "contentHeight"; type: "double" } - Property { name: "availableWidth"; type: "double"; isReadonly: true } - Property { name: "availableHeight"; type: "double"; isReadonly: true } - Property { name: "margins"; type: "double" } - Property { name: "topMargin"; type: "double" } - Property { name: "leftMargin"; type: "double" } - Property { name: "rightMargin"; type: "double" } - Property { name: "bottomMargin"; type: "double" } - Property { name: "padding"; type: "double" } - Property { name: "topPadding"; type: "double" } - Property { name: "leftPadding"; type: "double" } - Property { name: "rightPadding"; type: "double" } - Property { name: "bottomPadding"; type: "double" } - Property { name: "locale"; type: "QLocale" } - Property { name: "font"; type: "QFont" } - Property { name: "parent"; type: "QQuickItem"; isPointer: true } - Property { name: "background"; type: "QQuickItem"; isPointer: true } - Property { name: "contentItem"; type: "QQuickItem"; isPointer: true } - Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "contentChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - Property { name: "clip"; type: "bool" } - Property { name: "focus"; type: "bool" } - Property { name: "activeFocus"; type: "bool"; isReadonly: true } - Property { name: "modal"; type: "bool" } - Property { name: "dim"; type: "bool" } - Property { name: "visible"; type: "bool" } - Property { name: "opacity"; type: "double" } - Property { name: "scale"; type: "double" } - Property { name: "closePolicy"; type: "ClosePolicy" } - Property { name: "transformOrigin"; type: "TransformOrigin" } - Property { name: "enter"; type: "QQuickTransition"; isPointer: true } - Property { name: "exit"; type: "QQuickTransition"; isPointer: true } - Property { name: "spacing"; revision: 1; type: "double" } - Property { name: "opened"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "mirrored"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "enabled"; revision: 3; type: "bool" } - Property { name: "palette"; revision: 3; type: "QPalette" } - Property { name: "horizontalPadding"; type: "double" } - Property { name: "verticalPadding"; type: "double" } - Property { - name: "anchors" - revision: 5 - type: "QQuickPopupAnchors" - isReadonly: true - isPointer: true - } - Property { name: "implicitContentWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitContentHeight"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } - Property { name: "topInset"; revision: 5; type: "double" } - Property { name: "leftInset"; revision: 5; type: "double" } - Property { name: "rightInset"; revision: 5; type: "double" } - Property { name: "bottomInset"; revision: 5; type: "double" } - Signal { name: "opened" } - Signal { name: "closed" } - Signal { name: "aboutToShow" } - Signal { name: "aboutToHide" } - Signal { - name: "windowChanged" - Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } - } - Signal { name: "spacingChanged"; revision: 1 } - Signal { name: "openedChanged"; revision: 3 } - Signal { name: "mirroredChanged"; revision: 3 } - Signal { name: "enabledChanged"; revision: 3 } - Signal { name: "paletteChanged"; revision: 3 } - Signal { name: "horizontalPaddingChanged"; revision: 5 } - Signal { name: "verticalPaddingChanged"; revision: 5 } - Signal { name: "implicitContentWidthChanged"; revision: 5 } - Signal { name: "implicitContentHeightChanged"; revision: 5 } - Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } - Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } - Signal { name: "topInsetChanged"; revision: 5 } - Signal { name: "leftInsetChanged"; revision: 5 } - Signal { name: "rightInsetChanged"; revision: 5 } - Signal { name: "bottomInsetChanged"; revision: 5 } - Method { name: "open" } - Method { name: "close" } - Method { - name: "forceActiveFocus" - Parameter { name: "reason"; type: "Qt::FocusReason" } - } - Method { name: "forceActiveFocus" } - } - Component { - name: "QQuickPopupAnchors" - prototype: "QObject" - Property { name: "centerIn"; type: "QQuickItem"; isPointer: true } - } - Component { - name: "QQuickProgressBar" - defaultProperty: "data" - prototype: "QQuickControl" - exports: ["QtQuick.Templates/ProgressBar 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "from"; type: "double" } - Property { name: "to"; type: "double" } - Property { name: "value"; type: "double" } - Property { name: "position"; type: "double"; isReadonly: true } - Property { name: "visualPosition"; type: "double"; isReadonly: true } - Property { name: "indeterminate"; type: "bool" } - } - Component { - name: "QQuickRadioButton" - defaultProperty: "data" - prototype: "QQuickAbstractButton" - exports: ["QtQuick.Templates/RadioButton 2.0"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickRadioDelegate" - defaultProperty: "data" - prototype: "QQuickItemDelegate" - exports: ["QtQuick.Templates/RadioDelegate 2.0"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickRangeSlider" - defaultProperty: "data" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/RangeSlider 2.0", - "QtQuick.Templates/RangeSlider 2.1", - "QtQuick.Templates/RangeSlider 2.2", - "QtQuick.Templates/RangeSlider 2.3", - "QtQuick.Templates/RangeSlider 2.5" - ] - exportMetaObjectRevisions: [0, 1, 2, 3, 5] - Enum { - name: "SnapMode" - values: { - "NoSnap": 0, - "SnapAlways": 1, - "SnapOnRelease": 2 - } - } - Property { name: "from"; type: "double" } - Property { name: "to"; type: "double" } - Property { name: "first"; type: "QQuickRangeSliderNode"; isReadonly: true; isPointer: true } - Property { name: "second"; type: "QQuickRangeSliderNode"; isReadonly: true; isPointer: true } - Property { name: "stepSize"; type: "double" } - Property { name: "snapMode"; type: "SnapMode" } - Property { name: "orientation"; type: "Qt::Orientation" } - Property { name: "live"; revision: 2; type: "bool" } - Property { name: "horizontal"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "vertical"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "touchDragThreshold"; revision: 5; type: "double" } - Signal { name: "liveChanged"; revision: 2 } - Signal { name: "touchDragThresholdChanged"; revision: 5 } - Method { - name: "setValues" - Parameter { name: "firstValue"; type: "double" } - Parameter { name: "secondValue"; type: "double" } - } - Method { - name: "valueAt" - revision: 5 - type: "double" - Parameter { name: "position"; type: "double" } - } - } - Component { - name: "QQuickRangeSliderNode" - prototype: "QObject" - Property { name: "value"; type: "double" } - Property { name: "position"; type: "double"; isReadonly: true } - Property { name: "visualPosition"; type: "double"; isReadonly: true } - Property { name: "handle"; type: "QQuickItem"; isPointer: true } - Property { name: "pressed"; type: "bool" } - Property { name: "hovered"; revision: 1; type: "bool" } - Property { name: "implicitHandleWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitHandleHeight"; revision: 5; type: "double"; isReadonly: true } - Signal { name: "hoveredChanged"; revision: 1 } - Signal { name: "moved" } - Method { name: "increase" } - Method { name: "decrease" } - } - Component { - name: "QQuickRoundButton" - defaultProperty: "data" - prototype: "QQuickButton" - exports: ["QtQuick.Templates/RoundButton 2.1"] - exportMetaObjectRevisions: [0] - Property { name: "radius"; type: "double" } - } - Component { - name: "QQuickScrollBar" - defaultProperty: "data" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/ScrollBar 2.0", - "QtQuick.Templates/ScrollBar 2.2", - "QtQuick.Templates/ScrollBar 2.3", - "QtQuick.Templates/ScrollBar 2.4" - ] - exportMetaObjectRevisions: [0, 2, 3, 4] - attachedType: "QQuickScrollBarAttached" - Enum { - name: "SnapMode" - values: { - "NoSnap": 0, - "SnapAlways": 1, - "SnapOnRelease": 2 - } - } - Enum { - name: "Policy" - values: { - "AsNeeded": 0, - "AlwaysOff": 1, - "AlwaysOn": 2 - } - } - Property { name: "size"; type: "double" } - Property { name: "position"; type: "double" } - Property { name: "stepSize"; type: "double" } - Property { name: "active"; type: "bool" } - Property { name: "pressed"; type: "bool" } - Property { name: "orientation"; type: "Qt::Orientation" } - Property { name: "snapMode"; revision: 2; type: "SnapMode" } - Property { name: "interactive"; revision: 2; type: "bool" } - Property { name: "policy"; revision: 2; type: "Policy" } - Property { name: "horizontal"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "vertical"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "minimumSize"; revision: 4; type: "double" } - Property { name: "visualSize"; revision: 4; type: "double"; isReadonly: true } - Property { name: "visualPosition"; revision: 4; type: "double"; isReadonly: true } - Signal { name: "snapModeChanged"; revision: 2 } - Signal { name: "interactiveChanged"; revision: 2 } - Signal { name: "policyChanged"; revision: 2 } - Signal { name: "minimumSizeChanged"; revision: 4 } - Signal { name: "visualSizeChanged"; revision: 4 } - Signal { name: "visualPositionChanged"; revision: 4 } - Method { name: "increase" } - Method { name: "decrease" } - Method { - name: "setSize" - Parameter { name: "size"; type: "double" } - } - Method { - name: "setPosition" - Parameter { name: "position"; type: "double" } - } - } - Component { - name: "QQuickScrollBarAttached" - prototype: "QObject" - Property { name: "horizontal"; type: "QQuickScrollBar"; isPointer: true } - Property { name: "vertical"; type: "QQuickScrollBar"; isPointer: true } - } - Component { - name: "QQuickScrollIndicator" - defaultProperty: "data" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/ScrollIndicator 2.0", - "QtQuick.Templates/ScrollIndicator 2.3", - "QtQuick.Templates/ScrollIndicator 2.4" - ] - exportMetaObjectRevisions: [0, 3, 4] - attachedType: "QQuickScrollIndicatorAttached" - Property { name: "size"; type: "double" } - Property { name: "position"; type: "double" } - Property { name: "active"; type: "bool" } - Property { name: "orientation"; type: "Qt::Orientation" } - Property { name: "horizontal"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "vertical"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "minimumSize"; revision: 4; type: "double" } - Property { name: "visualSize"; revision: 4; type: "double"; isReadonly: true } - Property { name: "visualPosition"; revision: 4; type: "double"; isReadonly: true } - Signal { name: "minimumSizeChanged"; revision: 4 } - Signal { name: "visualSizeChanged"; revision: 4 } - Signal { name: "visualPositionChanged"; revision: 4 } - Method { - name: "setSize" - Parameter { name: "size"; type: "double" } - } - Method { - name: "setPosition" - Parameter { name: "position"; type: "double" } - } - } - Component { - name: "QQuickScrollIndicatorAttached" - prototype: "QObject" - Property { name: "horizontal"; type: "QQuickScrollIndicator"; isPointer: true } - Property { name: "vertical"; type: "QQuickScrollIndicator"; isPointer: true } - } - Component { - name: "QQuickScrollView" - defaultProperty: "contentData" - prototype: "QQuickPane" - exports: ["QtQuick.Templates/ScrollView 2.2"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickSlider" - defaultProperty: "data" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/Slider 2.0", - "QtQuick.Templates/Slider 2.1", - "QtQuick.Templates/Slider 2.2", - "QtQuick.Templates/Slider 2.3", - "QtQuick.Templates/Slider 2.5" - ] - exportMetaObjectRevisions: [0, 1, 2, 3, 5] - Enum { - name: "SnapMode" - values: { - "NoSnap": 0, - "SnapAlways": 1, - "SnapOnRelease": 2 - } - } - Property { name: "from"; type: "double" } - Property { name: "to"; type: "double" } - Property { name: "value"; type: "double" } - Property { name: "position"; type: "double"; isReadonly: true } - Property { name: "visualPosition"; type: "double"; isReadonly: true } - Property { name: "stepSize"; type: "double" } - Property { name: "snapMode"; type: "SnapMode" } - Property { name: "pressed"; type: "bool" } - Property { name: "orientation"; type: "Qt::Orientation" } - Property { name: "handle"; type: "QQuickItem"; isPointer: true } - Property { name: "live"; revision: 2; type: "bool" } - Property { name: "horizontal"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "vertical"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "touchDragThreshold"; revision: 5; type: "double" } - Property { name: "implicitHandleWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitHandleHeight"; revision: 5; type: "double"; isReadonly: true } - Signal { name: "moved"; revision: 2 } - Signal { name: "liveChanged"; revision: 2 } - Signal { name: "touchDragThresholdChanged"; revision: 5 } - Signal { name: "implicitHandleWidthChanged"; revision: 5 } - Signal { name: "implicitHandleHeightChanged"; revision: 5 } - Method { name: "increase" } - Method { name: "decrease" } - Method { - name: "valueAt" - revision: 1 - type: "double" - Parameter { name: "position"; type: "double" } - } - } - Component { - name: "QQuickSpinBox" - defaultProperty: "data" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/SpinBox 2.0", - "QtQuick.Templates/SpinBox 2.1", - "QtQuick.Templates/SpinBox 2.2", - "QtQuick.Templates/SpinBox 2.3", - "QtQuick.Templates/SpinBox 2.4", - "QtQuick.Templates/SpinBox 2.5" - ] - exportMetaObjectRevisions: [0, 1, 2, 3, 4, 5] - Property { name: "from"; type: "int" } - Property { name: "to"; type: "int" } - Property { name: "value"; type: "int" } - Property { name: "stepSize"; type: "int" } - Property { name: "editable"; type: "bool" } - Property { name: "validator"; type: "QValidator"; isPointer: true } - Property { name: "textFromValue"; type: "QJSValue" } - Property { name: "valueFromText"; type: "QJSValue" } - Property { name: "up"; type: "QQuickSpinButton"; isReadonly: true; isPointer: true } - Property { name: "down"; type: "QQuickSpinButton"; isReadonly: true; isPointer: true } - Property { name: "inputMethodHints"; revision: 2; type: "Qt::InputMethodHints" } - Property { name: "inputMethodComposing"; revision: 2; type: "bool"; isReadonly: true } - Property { name: "wrap"; revision: 3; type: "bool" } - Property { name: "displayText"; revision: 4; type: "string"; isReadonly: true } - Signal { name: "valueModified"; revision: 2 } - Signal { name: "inputMethodHintsChanged"; revision: 2 } - Signal { name: "inputMethodComposingChanged"; revision: 2 } - Signal { name: "wrapChanged"; revision: 3 } - Signal { name: "displayTextChanged"; revision: 4 } - Method { name: "increase" } - Method { name: "decrease" } - } - Component { - name: "QQuickSpinButton" - prototype: "QObject" - Property { name: "pressed"; type: "bool" } - Property { name: "indicator"; type: "QQuickItem"; isPointer: true } - Property { name: "hovered"; revision: 1; type: "bool" } - Property { name: "implicitIndicatorWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitIndicatorHeight"; revision: 5; type: "double"; isReadonly: true } - Signal { name: "hoveredChanged"; revision: 1 } - Signal { name: "implicitIndicatorWidthChanged"; revision: 5 } - Signal { name: "implicitIndicatorHeightChanged"; revision: 5 } - } - Component { - name: "QQuickSplitHandleAttached" - prototype: "QObject" - exports: ["QtQuick.Templates/SplitHandle 2.13"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "hovered"; type: "bool"; isReadonly: true } - Property { name: "pressed"; type: "bool"; isReadonly: true } - } - Component { - name: "QQuickSplitView" - defaultProperty: "contentData" - prototype: "QQuickContainer" - exports: ["QtQuick.Templates/SplitView 2.13"] - exportMetaObjectRevisions: [0] - attachedType: "QQuickSplitViewAttached" - Property { name: "orientation"; type: "Qt::Orientation" } - Property { name: "resizing"; type: "bool"; isReadonly: true } - Property { name: "handle"; type: "QQmlComponent"; isPointer: true } - Method { name: "saveState"; type: "QVariant" } - Method { - name: "restoreState" - type: "bool" - Parameter { name: "state"; type: "QVariant" } - } - } - Component { - name: "QQuickSplitViewAttached" - prototype: "QObject" - Property { name: "view"; type: "QQuickSplitView"; isReadonly: true; isPointer: true } - Property { name: "minimumWidth"; type: "double" } - Property { name: "minimumHeight"; type: "double" } - Property { name: "preferredWidth"; type: "double" } - Property { name: "preferredHeight"; type: "double" } - Property { name: "maximumWidth"; type: "double" } - Property { name: "maximumHeight"; type: "double" } - Property { name: "fillHeight"; type: "bool" } - Property { name: "fillWidth"; type: "bool" } - } - Component { - name: "QQuickStackView" - defaultProperty: "data" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/StackView 2.0", - "QtQuick.Templates/StackView 2.1" - ] - exportMetaObjectRevisions: [0, 1] - attachedType: "QQuickStackViewAttached" - Enum { - name: "Status" - values: { - "Inactive": 0, - "Deactivating": 1, - "Activating": 2, - "Active": 3 - } - } - Enum { - name: "LoadBehavior" - values: { - "DontLoad": 0, - "ForceLoad": 1 - } - } - Enum { - name: "Operation" - values: { - "Transition": -1, - "Immediate": 0, - "PushTransition": 1, - "ReplaceTransition": 2, - "PopTransition": 3 - } - } - Property { name: "busy"; type: "bool"; isReadonly: true } - Property { name: "depth"; type: "int"; isReadonly: true } - Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "initialItem"; type: "QJSValue" } - Property { name: "popEnter"; type: "QQuickTransition"; isPointer: true } - Property { name: "popExit"; type: "QQuickTransition"; isPointer: true } - Property { name: "pushEnter"; type: "QQuickTransition"; isPointer: true } - Property { name: "pushExit"; type: "QQuickTransition"; isPointer: true } - Property { name: "replaceEnter"; type: "QQuickTransition"; isPointer: true } - Property { name: "replaceExit"; type: "QQuickTransition"; isPointer: true } - Property { name: "empty"; revision: 3; type: "bool"; isReadonly: true } - Signal { name: "emptyChanged"; revision: 3 } - Method { - name: "clear" - Parameter { name: "operation"; type: "Operation" } - } - Method { name: "clear" } - Method { - name: "get" - type: "QQuickItem*" - Parameter { name: "index"; type: "int" } - Parameter { name: "behavior"; type: "LoadBehavior" } - } - Method { - name: "get" - type: "QQuickItem*" - Parameter { name: "index"; type: "int" } - } - Method { - name: "find" - type: "QQuickItem*" - Parameter { name: "callback"; type: "QJSValue" } - Parameter { name: "behavior"; type: "LoadBehavior" } - } - Method { - name: "find" - type: "QQuickItem*" - Parameter { name: "callback"; type: "QJSValue" } - } - Method { - name: "push" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "pop" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "replace" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - } - Component { - name: "QQuickStackViewAttached" - prototype: "QObject" - Property { name: "index"; type: "int"; isReadonly: true } - Property { name: "view"; type: "QQuickStackView"; isReadonly: true; isPointer: true } - Property { name: "status"; type: "QQuickStackView::Status"; isReadonly: true } - Property { name: "visible"; type: "bool" } - Signal { name: "activated" } - Signal { name: "activating" } - Signal { name: "deactivated" } - Signal { name: "deactivating" } - Signal { name: "removed" } - } - Component { - name: "QQuickSwipe" - prototype: "QObject" - Property { name: "position"; type: "double" } - Property { name: "complete"; type: "bool"; isReadonly: true } - Property { name: "left"; type: "QQmlComponent"; isPointer: true } - Property { name: "behind"; type: "QQmlComponent"; isPointer: true } - Property { name: "right"; type: "QQmlComponent"; isPointer: true } - Property { name: "leftItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "behindItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "rightItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "enabled"; type: "bool" } - Property { name: "transition"; type: "QQuickTransition"; isPointer: true } - Signal { name: "completed" } - Signal { name: "opened" } - Signal { name: "closed" } - Method { name: "close"; revision: 1 } - Method { - name: "open" - revision: 2 - Parameter { name: "side"; type: "QQuickSwipeDelegate::Side" } - } - } - Component { - name: "QQuickSwipeDelegate" - defaultProperty: "data" - prototype: "QQuickItemDelegate" - exports: [ - "QtQuick.Templates/SwipeDelegate 2.0", - "QtQuick.Templates/SwipeDelegate 2.1", - "QtQuick.Templates/SwipeDelegate 2.2" - ] - exportMetaObjectRevisions: [0, 1, 2] - attachedType: "QQuickSwipeDelegateAttached" - Enum { - name: "Side" - values: { - "Left": 1, - "Right": -1 - } - } - Property { name: "swipe"; type: "QQuickSwipe"; isReadonly: true; isPointer: true } - } - Component { - name: "QQuickSwipeDelegateAttached" - prototype: "QObject" - Property { name: "pressed"; type: "bool"; isReadonly: true } - Signal { name: "clicked" } - } - Component { - name: "QQuickSwipeView" - defaultProperty: "contentData" - prototype: "QQuickContainer" - exports: [ - "QtQuick.Templates/SwipeView 2.0", - "QtQuick.Templates/SwipeView 2.1", - "QtQuick.Templates/SwipeView 2.2" - ] - exportMetaObjectRevisions: [0, 1, 2] - attachedType: "QQuickSwipeViewAttached" - Property { name: "interactive"; revision: 1; type: "bool" } - Property { name: "orientation"; revision: 2; type: "Qt::Orientation" } - Property { name: "horizontal"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "vertical"; revision: 3; type: "bool"; isReadonly: true } - Signal { name: "interactiveChanged"; revision: 1 } - Signal { name: "orientationChanged"; revision: 2 } - } - Component { - name: "QQuickSwipeViewAttached" - prototype: "QObject" - Property { name: "index"; type: "int"; isReadonly: true } - Property { name: "isCurrentItem"; type: "bool"; isReadonly: true } - Property { name: "view"; type: "QQuickSwipeView"; isReadonly: true; isPointer: true } - Property { name: "isNextItem"; revision: 1; type: "bool"; isReadonly: true } - Property { name: "isPreviousItem"; revision: 1; type: "bool"; isReadonly: true } - } - Component { - name: "QQuickSwitch" - defaultProperty: "data" - prototype: "QQuickAbstractButton" - exports: ["QtQuick.Templates/Switch 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "position"; type: "double" } - Property { name: "visualPosition"; type: "double"; isReadonly: true } - } - Component { - name: "QQuickSwitchDelegate" - defaultProperty: "data" - prototype: "QQuickItemDelegate" - exports: ["QtQuick.Templates/SwitchDelegate 2.0"] - exportMetaObjectRevisions: [0] - Property { name: "position"; type: "double" } - Property { name: "visualPosition"; type: "double"; isReadonly: true } - } - Component { - name: "QQuickTabBar" - defaultProperty: "contentData" - prototype: "QQuickContainer" - exports: [ - "QtQuick.Templates/TabBar 2.0", - "QtQuick.Templates/TabBar 2.2" - ] - exportMetaObjectRevisions: [0, 2] - attachedType: "QQuickTabBarAttached" - Enum { - name: "Position" - values: { - "Header": 0, - "Footer": 1 - } - } - Property { name: "position"; type: "Position" } - Property { name: "contentWidth"; revision: 2; type: "double" } - Property { name: "contentHeight"; revision: 2; type: "double" } - } - Component { - name: "QQuickTabBarAttached" - prototype: "QObject" - Property { name: "index"; type: "int"; isReadonly: true } - Property { name: "tabBar"; type: "QQuickTabBar"; isReadonly: true; isPointer: true } - Property { name: "position"; type: "QQuickTabBar::Position"; isReadonly: true } - } - Component { - name: "QQuickTabButton" - defaultProperty: "data" - prototype: "QQuickAbstractButton" - exports: ["QtQuick.Templates/TabButton 2.0"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickTableView" - defaultProperty: "flickableData" - prototype: "QQuickFlickable" - exports: ["QtQuick.Templates/__TableView__ 2.15"] - exportMetaObjectRevisions: [15] - attachedType: "QQuickTableViewAttached" - Property { name: "rows"; type: "int"; isReadonly: true } - Property { name: "columns"; type: "int"; isReadonly: true } - Property { name: "rowSpacing"; type: "double" } - Property { name: "columnSpacing"; type: "double" } - Property { name: "rowHeightProvider"; type: "QJSValue" } - Property { name: "columnWidthProvider"; type: "QJSValue" } - Property { name: "model"; type: "QVariant" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "reuseItems"; type: "bool" } - Property { name: "contentWidth"; type: "double" } - Property { name: "contentHeight"; type: "double" } - Property { name: "syncView"; revision: 14; type: "QQuickTableView"; isPointer: true } - Property { name: "syncDirection"; revision: 14; type: "Qt::Orientations" } - Signal { name: "syncViewChanged"; revision: 14 } - Signal { name: "syncDirectionChanged"; revision: 14 } - Method { name: "forceLayout" } - } - Component { - name: "QQuickTableViewAttached" - prototype: "QObject" - Property { name: "view"; type: "QQuickTableView"; isReadonly: true; isPointer: true } - Signal { name: "pooled" } - Signal { name: "reused" } - } - Component { - name: "QQuickText" - defaultProperty: "data" - prototype: "QQuickImplicitSizeItem" - Enum { - name: "HAlignment" - values: { - "AlignLeft": 1, - "AlignRight": 2, - "AlignHCenter": 4, - "AlignJustify": 8 - } - } - Enum { - name: "VAlignment" - values: { - "AlignTop": 32, - "AlignBottom": 64, - "AlignVCenter": 128 - } - } - Enum { - name: "TextStyle" - values: { - "Normal": 0, - "Outline": 1, - "Raised": 2, - "Sunken": 3 - } - } - Enum { - name: "TextFormat" - values: { - "PlainText": 0, - "RichText": 1, - "MarkdownText": 3, - "AutoText": 2, - "StyledText": 4 - } - } - Enum { - name: "TextElideMode" - values: { - "ElideLeft": 0, - "ElideRight": 1, - "ElideMiddle": 2, - "ElideNone": 3 - } - } - Enum { - name: "WrapMode" - values: { - "NoWrap": 0, - "WordWrap": 1, - "WrapAnywhere": 3, - "WrapAtWordBoundaryOrAnywhere": 4, - "Wrap": 4 - } - } - Enum { - name: "RenderType" - values: { - "QtRendering": 0, - "NativeRendering": 1 - } - } - Enum { - name: "LineHeightMode" - values: { - "ProportionalHeight": 0, - "FixedHeight": 1 - } - } - Enum { - name: "FontSizeMode" - values: { - "FixedSize": 0, - "HorizontalFit": 1, - "VerticalFit": 2, - "Fit": 3 - } - } - Property { name: "text"; type: "string" } - Property { name: "font"; type: "QFont" } - Property { name: "color"; type: "QColor" } - Property { name: "linkColor"; type: "QColor" } - Property { name: "style"; type: "TextStyle" } - Property { name: "styleColor"; type: "QColor" } - Property { name: "horizontalAlignment"; type: "HAlignment" } - Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } - Property { name: "verticalAlignment"; type: "VAlignment" } - Property { name: "wrapMode"; type: "WrapMode" } - Property { name: "lineCount"; type: "int"; isReadonly: true } - Property { name: "truncated"; type: "bool"; isReadonly: true } - Property { name: "maximumLineCount"; type: "int" } - Property { name: "textFormat"; type: "TextFormat" } - Property { name: "elide"; type: "TextElideMode" } - Property { name: "contentWidth"; type: "double"; isReadonly: true } - Property { name: "contentHeight"; type: "double"; isReadonly: true } - Property { name: "paintedWidth"; type: "double"; isReadonly: true } - Property { name: "paintedHeight"; type: "double"; isReadonly: true } - Property { name: "lineHeight"; type: "double" } - Property { name: "lineHeightMode"; type: "LineHeightMode" } - Property { name: "baseUrl"; type: "QUrl" } - Property { name: "minimumPixelSize"; type: "int" } - Property { name: "minimumPointSize"; type: "int" } - Property { name: "fontSizeMode"; type: "FontSizeMode" } - Property { name: "renderType"; type: "RenderType" } - Property { name: "hoveredLink"; revision: 2; type: "string"; isReadonly: true } - Property { name: "padding"; revision: 6; type: "double" } - Property { name: "topPadding"; revision: 6; type: "double" } - Property { name: "leftPadding"; revision: 6; type: "double" } - Property { name: "rightPadding"; revision: 6; type: "double" } - Property { name: "bottomPadding"; revision: 6; type: "double" } - Property { name: "fontInfo"; revision: 9; type: "QJSValue"; isReadonly: true } - Property { name: "advance"; revision: 10; type: "QSizeF"; isReadonly: true } - Signal { - name: "textChanged" - Parameter { name: "text"; type: "string" } - } - Signal { - name: "linkActivated" - Parameter { name: "link"; type: "string" } - } - Signal { - name: "linkHovered" - revision: 2 - Parameter { name: "link"; type: "string" } - } - Signal { - name: "fontChanged" - Parameter { name: "font"; type: "QFont" } - } - Signal { - name: "styleChanged" - Parameter { name: "style"; type: "QQuickText::TextStyle" } - } - Signal { - name: "horizontalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickText::HAlignment" } - } - Signal { - name: "verticalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickText::VAlignment" } - } - Signal { - name: "textFormatChanged" - Parameter { name: "textFormat"; type: "QQuickText::TextFormat" } - } - Signal { - name: "elideModeChanged" - Parameter { name: "mode"; type: "QQuickText::TextElideMode" } - } - Signal { name: "contentSizeChanged" } - Signal { - name: "contentWidthChanged" - Parameter { name: "contentWidth"; type: "double" } - } - Signal { - name: "contentHeightChanged" - Parameter { name: "contentHeight"; type: "double" } - } - Signal { - name: "lineHeightChanged" - Parameter { name: "lineHeight"; type: "double" } - } - Signal { - name: "lineHeightModeChanged" - Parameter { name: "mode"; type: "LineHeightMode" } - } - Signal { - name: "lineLaidOut" - Parameter { name: "line"; type: "QQuickTextLine"; isPointer: true } - } - Signal { name: "paddingChanged"; revision: 6 } - Signal { name: "topPaddingChanged"; revision: 6 } - Signal { name: "leftPaddingChanged"; revision: 6 } - Signal { name: "rightPaddingChanged"; revision: 6 } - Signal { name: "bottomPaddingChanged"; revision: 6 } - Signal { name: "fontInfoChanged"; revision: 9 } - Method { name: "doLayout" } - Method { name: "forceLayout"; revision: 9 } - Method { - name: "linkAt" - revision: 3 - type: "string" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { - name: "QQuickTextArea" - defaultProperty: "data" - prototype: "QQuickTextEdit" - exports: [ - "QtQuick.Templates/TextArea 2.0", - "QtQuick.Templates/TextArea 2.1", - "QtQuick.Templates/TextArea 2.3", - "QtQuick.Templates/TextArea 2.5" - ] - exportMetaObjectRevisions: [0, 1, 3, 5] - attachedType: "QQuickTextAreaAttached" - Property { name: "font"; type: "QFont" } - Property { name: "implicitWidth"; type: "double" } - Property { name: "implicitHeight"; type: "double" } - Property { name: "background"; type: "QQuickItem"; isPointer: true } - Property { name: "placeholderText"; type: "string" } - Property { name: "focusReason"; type: "Qt::FocusReason" } - Property { name: "hovered"; revision: 1; type: "bool"; isReadonly: true } - Property { name: "hoverEnabled"; revision: 1; type: "bool" } - Property { name: "palette"; revision: 3; type: "QPalette" } - Property { name: "placeholderTextColor"; revision: 5; type: "QColor" } - Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } - Property { name: "topInset"; revision: 5; type: "double" } - Property { name: "leftInset"; revision: 5; type: "double" } - Property { name: "rightInset"; revision: 5; type: "double" } - Property { name: "bottomInset"; revision: 5; type: "double" } - Signal { name: "implicitWidthChanged3" } - Signal { name: "implicitHeightChanged3" } - Signal { - name: "pressAndHold" - Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "pressed" - revision: 1 - Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "released" - revision: 1 - Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { name: "hoveredChanged"; revision: 1 } - Signal { name: "hoverEnabledChanged"; revision: 1 } - Signal { name: "paletteChanged"; revision: 3 } - Signal { name: "placeholderTextColorChanged"; revision: 5 } - Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } - Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } - Signal { name: "topInsetChanged"; revision: 5 } - Signal { name: "leftInsetChanged"; revision: 5 } - Signal { name: "rightInsetChanged"; revision: 5 } - Signal { name: "bottomInsetChanged"; revision: 5 } - } - Component { - name: "QQuickTextAreaAttached" - prototype: "QObject" - Property { name: "flickable"; type: "QQuickTextArea"; isPointer: true } - } - Component { - name: "QQuickTextEdit" - defaultProperty: "data" - prototype: "QQuickImplicitSizeItem" - Enum { - name: "HAlignment" - values: { - "AlignLeft": 1, - "AlignRight": 2, - "AlignHCenter": 4, - "AlignJustify": 8 - } - } - Enum { - name: "VAlignment" - values: { - "AlignTop": 32, - "AlignBottom": 64, - "AlignVCenter": 128 - } - } - Enum { - name: "TextFormat" - values: { - "PlainText": 0, - "RichText": 1, - "AutoText": 2, - "MarkdownText": 3 - } - } - Enum { - name: "WrapMode" - values: { - "NoWrap": 0, - "WordWrap": 1, - "WrapAnywhere": 3, - "WrapAtWordBoundaryOrAnywhere": 4, - "Wrap": 4 - } - } - Enum { - name: "SelectionMode" - values: { - "SelectCharacters": 0, - "SelectWords": 1 - } - } - Enum { - name: "RenderType" - values: { - "QtRendering": 0, - "NativeRendering": 1 - } - } - Property { name: "text"; type: "string" } - Property { name: "color"; type: "QColor" } - Property { name: "selectionColor"; type: "QColor" } - Property { name: "selectedTextColor"; type: "QColor" } - Property { name: "font"; type: "QFont" } - Property { name: "horizontalAlignment"; type: "HAlignment" } - Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } - Property { name: "verticalAlignment"; type: "VAlignment" } - Property { name: "wrapMode"; type: "WrapMode" } - Property { name: "lineCount"; type: "int"; isReadonly: true } - Property { name: "length"; type: "int"; isReadonly: true } - Property { name: "contentWidth"; type: "double"; isReadonly: true } - Property { name: "contentHeight"; type: "double"; isReadonly: true } - Property { name: "paintedWidth"; type: "double"; isReadonly: true } - Property { name: "paintedHeight"; type: "double"; isReadonly: true } - Property { name: "textFormat"; type: "TextFormat" } - Property { name: "readOnly"; type: "bool" } - Property { name: "cursorVisible"; type: "bool" } - Property { name: "cursorPosition"; type: "int" } - Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } - Property { name: "cursorDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "overwriteMode"; type: "bool" } - Property { name: "selectionStart"; type: "int"; isReadonly: true } - Property { name: "selectionEnd"; type: "int"; isReadonly: true } - Property { name: "selectedText"; type: "string"; isReadonly: true } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "persistentSelection"; type: "bool" } - Property { name: "textMargin"; type: "double" } - Property { name: "inputMethodHints"; type: "Qt::InputMethodHints" } - Property { name: "selectByKeyboard"; revision: 1; type: "bool" } - Property { name: "selectByMouse"; type: "bool" } - Property { name: "mouseSelectionMode"; type: "SelectionMode" } - Property { name: "canPaste"; type: "bool"; isReadonly: true } - Property { name: "canUndo"; type: "bool"; isReadonly: true } - Property { name: "canRedo"; type: "bool"; isReadonly: true } - Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } - Property { name: "baseUrl"; type: "QUrl" } - Property { name: "renderType"; type: "RenderType" } - Property { - name: "textDocument" - revision: 1 - type: "QQuickTextDocument" - isReadonly: true - isPointer: true - } - Property { name: "hoveredLink"; revision: 2; type: "string"; isReadonly: true } - Property { name: "padding"; revision: 6; type: "double" } - Property { name: "topPadding"; revision: 6; type: "double" } - Property { name: "leftPadding"; revision: 6; type: "double" } - Property { name: "rightPadding"; revision: 6; type: "double" } - Property { name: "bottomPadding"; revision: 6; type: "double" } - Property { name: "preeditText"; revision: 7; type: "string"; isReadonly: true } - Property { name: "tabStopDistance"; revision: 10; type: "double" } - Signal { name: "preeditTextChanged"; revision: 7 } - Signal { name: "contentSizeChanged" } - Signal { - name: "colorChanged" - Parameter { name: "color"; type: "QColor" } - } - Signal { - name: "selectionColorChanged" - Parameter { name: "color"; type: "QColor" } - } - Signal { - name: "selectedTextColorChanged" - Parameter { name: "color"; type: "QColor" } - } - Signal { - name: "fontChanged" - Parameter { name: "font"; type: "QFont" } - } - Signal { - name: "horizontalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickTextEdit::HAlignment" } - } - Signal { - name: "verticalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickTextEdit::VAlignment" } - } - Signal { - name: "textFormatChanged" - Parameter { name: "textFormat"; type: "QQuickTextEdit::TextFormat" } - } - Signal { - name: "readOnlyChanged" - Parameter { name: "isReadOnly"; type: "bool" } - } - Signal { - name: "cursorVisibleChanged" - Parameter { name: "isCursorVisible"; type: "bool" } - } - Signal { - name: "overwriteModeChanged" - Parameter { name: "overwriteMode"; type: "bool" } - } - Signal { - name: "activeFocusOnPressChanged" - Parameter { name: "activeFocusOnPressed"; type: "bool" } - } - Signal { - name: "persistentSelectionChanged" - Parameter { name: "isPersistentSelection"; type: "bool" } - } - Signal { - name: "textMarginChanged" - Parameter { name: "textMargin"; type: "double" } - } - Signal { - name: "selectByKeyboardChanged" - revision: 1 - Parameter { name: "selectByKeyboard"; type: "bool" } - } - Signal { - name: "selectByMouseChanged" - Parameter { name: "selectByMouse"; type: "bool" } - } - Signal { - name: "mouseSelectionModeChanged" - Parameter { name: "mode"; type: "QQuickTextEdit::SelectionMode" } - } - Signal { - name: "linkActivated" - Parameter { name: "link"; type: "string" } - } - Signal { - name: "linkHovered" - revision: 2 - Parameter { name: "link"; type: "string" } - } - Signal { name: "editingFinished"; revision: 6 } - Signal { name: "paddingChanged"; revision: 6 } - Signal { name: "topPaddingChanged"; revision: 6 } - Signal { name: "leftPaddingChanged"; revision: 6 } - Signal { name: "rightPaddingChanged"; revision: 6 } - Signal { name: "bottomPaddingChanged"; revision: 6 } - Signal { - name: "tabStopDistanceChanged" - revision: 10 - Parameter { name: "distance"; type: "double" } - } - Method { name: "selectAll" } - Method { name: "selectWord" } - Method { - name: "select" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { name: "deselect" } - Method { - name: "isRightToLeft" - type: "bool" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { name: "cut" } - Method { name: "copy" } - Method { name: "paste" } - Method { name: "undo" } - Method { name: "redo" } - Method { - name: "insert" - Parameter { name: "position"; type: "int" } - Parameter { name: "text"; type: "string" } - } - Method { - name: "remove" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { - name: "append" - revision: 2 - Parameter { name: "text"; type: "string" } - } - Method { name: "clear"; revision: 7 } - Method { - name: "inputMethodQuery" - revision: 4 - type: "QVariant" - Parameter { name: "query"; type: "Qt::InputMethodQuery" } - Parameter { name: "argument"; type: "QVariant" } - } - Method { - name: "positionToRectangle" - type: "QRectF" - Parameter { type: "int" } - } - Method { - name: "positionAt" - type: "int" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { - name: "moveCursorSelection" - Parameter { name: "pos"; type: "int" } - } - Method { - name: "moveCursorSelection" - Parameter { name: "pos"; type: "int" } - Parameter { name: "mode"; type: "SelectionMode" } - } - Method { - name: "getText" - type: "string" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { - name: "getFormattedText" - type: "string" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { - name: "linkAt" - revision: 3 - type: "string" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - } - Component { - name: "QQuickTextField" - defaultProperty: "data" - prototype: "QQuickTextInput" - exports: [ - "QtQuick.Templates/TextField 2.0", - "QtQuick.Templates/TextField 2.1", - "QtQuick.Templates/TextField 2.3", - "QtQuick.Templates/TextField 2.5" - ] - exportMetaObjectRevisions: [0, 1, 3, 5] - Property { name: "font"; type: "QFont" } - Property { name: "implicitWidth"; type: "double" } - Property { name: "implicitHeight"; type: "double" } - Property { name: "background"; type: "QQuickItem"; isPointer: true } - Property { name: "placeholderText"; type: "string" } - Property { name: "focusReason"; type: "Qt::FocusReason" } - Property { name: "hovered"; revision: 1; type: "bool"; isReadonly: true } - Property { name: "hoverEnabled"; revision: 1; type: "bool" } - Property { name: "palette"; revision: 3; type: "QPalette" } - Property { name: "placeholderTextColor"; revision: 5; type: "QColor" } - Property { name: "implicitBackgroundWidth"; revision: 5; type: "double"; isReadonly: true } - Property { name: "implicitBackgroundHeight"; revision: 5; type: "double"; isReadonly: true } - Property { name: "topInset"; revision: 5; type: "double" } - Property { name: "leftInset"; revision: 5; type: "double" } - Property { name: "rightInset"; revision: 5; type: "double" } - Property { name: "bottomInset"; revision: 5; type: "double" } - Signal { name: "implicitWidthChanged3" } - Signal { name: "implicitHeightChanged3" } - Signal { - name: "pressAndHold" - Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "pressed" - revision: 1 - Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "released" - revision: 1 - Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { name: "hoveredChanged"; revision: 1 } - Signal { name: "hoverEnabledChanged"; revision: 1 } - Signal { name: "paletteChanged"; revision: 3 } - Signal { name: "placeholderTextColorChanged"; revision: 5 } - Signal { name: "implicitBackgroundWidthChanged"; revision: 5 } - Signal { name: "implicitBackgroundHeightChanged"; revision: 5 } - Signal { name: "topInsetChanged"; revision: 5 } - Signal { name: "leftInsetChanged"; revision: 5 } - Signal { name: "rightInsetChanged"; revision: 5 } - Signal { name: "bottomInsetChanged"; revision: 5 } - } - Component { - name: "QQuickTextInput" - defaultProperty: "data" - prototype: "QQuickImplicitSizeItem" - Enum { - name: "EchoMode" - values: { - "Normal": 0, - "NoEcho": 1, - "Password": 2, - "PasswordEchoOnEdit": 3 - } - } - Enum { - name: "HAlignment" - values: { - "AlignLeft": 1, - "AlignRight": 2, - "AlignHCenter": 4 - } - } - Enum { - name: "VAlignment" - values: { - "AlignTop": 32, - "AlignBottom": 64, - "AlignVCenter": 128 - } - } - Enum { - name: "WrapMode" - values: { - "NoWrap": 0, - "WordWrap": 1, - "WrapAnywhere": 3, - "WrapAtWordBoundaryOrAnywhere": 4, - "Wrap": 4 - } - } - Enum { - name: "SelectionMode" - values: { - "SelectCharacters": 0, - "SelectWords": 1 - } - } - Enum { - name: "CursorPosition" - values: { - "CursorBetweenCharacters": 0, - "CursorOnCharacter": 1 - } - } - Enum { - name: "RenderType" - values: { - "QtRendering": 0, - "NativeRendering": 1 - } - } - Property { name: "text"; type: "string" } - Property { name: "length"; type: "int"; isReadonly: true } - Property { name: "color"; type: "QColor" } - Property { name: "selectionColor"; type: "QColor" } - Property { name: "selectedTextColor"; type: "QColor" } - Property { name: "font"; type: "QFont" } - Property { name: "horizontalAlignment"; type: "HAlignment" } - Property { name: "effectiveHorizontalAlignment"; type: "HAlignment"; isReadonly: true } - Property { name: "verticalAlignment"; type: "VAlignment" } - Property { name: "wrapMode"; type: "WrapMode" } - Property { name: "readOnly"; type: "bool" } - Property { name: "cursorVisible"; type: "bool" } - Property { name: "cursorPosition"; type: "int" } - Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true } - Property { name: "cursorDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "overwriteMode"; type: "bool" } - Property { name: "selectionStart"; type: "int"; isReadonly: true } - Property { name: "selectionEnd"; type: "int"; isReadonly: true } - Property { name: "selectedText"; type: "string"; isReadonly: true } - Property { name: "maximumLength"; type: "int" } - Property { name: "validator"; type: "QValidator"; isPointer: true } - Property { name: "inputMask"; type: "string" } - Property { name: "inputMethodHints"; type: "Qt::InputMethodHints" } - Property { name: "acceptableInput"; type: "bool"; isReadonly: true } - Property { name: "echoMode"; type: "EchoMode" } - Property { name: "activeFocusOnPress"; type: "bool" } - Property { name: "passwordCharacter"; type: "string" } - Property { name: "passwordMaskDelay"; revision: 4; type: "int" } - Property { name: "displayText"; type: "string"; isReadonly: true } - Property { name: "preeditText"; revision: 7; type: "string"; isReadonly: true } - Property { name: "autoScroll"; type: "bool" } - Property { name: "selectByMouse"; type: "bool" } - Property { name: "mouseSelectionMode"; type: "SelectionMode" } - Property { name: "persistentSelection"; type: "bool" } - Property { name: "canPaste"; type: "bool"; isReadonly: true } - Property { name: "canUndo"; type: "bool"; isReadonly: true } - Property { name: "canRedo"; type: "bool"; isReadonly: true } - Property { name: "inputMethodComposing"; type: "bool"; isReadonly: true } - Property { name: "contentWidth"; type: "double"; isReadonly: true } - Property { name: "contentHeight"; type: "double"; isReadonly: true } - Property { name: "renderType"; type: "RenderType" } - Property { name: "padding"; revision: 6; type: "double" } - Property { name: "topPadding"; revision: 6; type: "double" } - Property { name: "leftPadding"; revision: 6; type: "double" } - Property { name: "rightPadding"; revision: 6; type: "double" } - Property { name: "bottomPadding"; revision: 6; type: "double" } - Signal { name: "accepted" } - Signal { name: "editingFinished"; revision: 2 } - Signal { name: "textEdited"; revision: 9 } - Signal { - name: "fontChanged" - Parameter { name: "font"; type: "QFont" } - } - Signal { - name: "horizontalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickTextInput::HAlignment" } - } - Signal { - name: "verticalAlignmentChanged" - Parameter { name: "alignment"; type: "QQuickTextInput::VAlignment" } - } - Signal { - name: "readOnlyChanged" - Parameter { name: "isReadOnly"; type: "bool" } - } - Signal { - name: "cursorVisibleChanged" - Parameter { name: "isCursorVisible"; type: "bool" } - } - Signal { - name: "overwriteModeChanged" - Parameter { name: "overwriteMode"; type: "bool" } - } - Signal { - name: "maximumLengthChanged" - Parameter { name: "maximumLength"; type: "int" } - } - Signal { - name: "inputMaskChanged" - Parameter { name: "inputMask"; type: "string" } - } - Signal { - name: "echoModeChanged" - Parameter { name: "echoMode"; type: "QQuickTextInput::EchoMode" } - } - Signal { - name: "passwordMaskDelayChanged" - revision: 4 - Parameter { name: "delay"; type: "int" } - } - Signal { name: "preeditTextChanged"; revision: 7 } - Signal { - name: "activeFocusOnPressChanged" - Parameter { name: "activeFocusOnPress"; type: "bool" } - } - Signal { - name: "autoScrollChanged" - Parameter { name: "autoScroll"; type: "bool" } - } - Signal { - name: "selectByMouseChanged" - Parameter { name: "selectByMouse"; type: "bool" } - } - Signal { - name: "mouseSelectionModeChanged" - Parameter { name: "mode"; type: "QQuickTextInput::SelectionMode" } - } - Signal { name: "contentSizeChanged" } - Signal { name: "paddingChanged"; revision: 6 } - Signal { name: "topPaddingChanged"; revision: 6 } - Signal { name: "leftPaddingChanged"; revision: 6 } - Signal { name: "rightPaddingChanged"; revision: 6 } - Signal { name: "bottomPaddingChanged"; revision: 6 } - Method { name: "selectAll" } - Method { name: "selectWord" } - Method { - name: "select" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { name: "deselect" } - Method { - name: "isRightToLeft" - type: "bool" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { name: "cut" } - Method { name: "copy" } - Method { name: "paste" } - Method { name: "undo" } - Method { name: "redo" } - Method { - name: "insert" - Parameter { name: "position"; type: "int" } - Parameter { name: "text"; type: "string" } - } - Method { - name: "remove" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - Method { - name: "ensureVisible" - revision: 4 - Parameter { name: "position"; type: "int" } - } - Method { name: "clear"; revision: 7 } - Method { - name: "positionAt" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "positionToRectangle" - type: "QRectF" - Parameter { name: "pos"; type: "int" } - } - Method { - name: "moveCursorSelection" - Parameter { name: "pos"; type: "int" } - } - Method { - name: "moveCursorSelection" - Parameter { name: "pos"; type: "int" } - Parameter { name: "mode"; type: "SelectionMode" } - } - Method { - name: "inputMethodQuery" - revision: 4 - type: "QVariant" - Parameter { name: "query"; type: "Qt::InputMethodQuery" } - Parameter { name: "argument"; type: "QVariant" } - } - Method { - name: "getText" - type: "string" - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - } - } - Component { - name: "QQuickToolBar" - defaultProperty: "contentData" - prototype: "QQuickPane" - exports: ["QtQuick.Templates/ToolBar 2.0"] - exportMetaObjectRevisions: [0] - Enum { - name: "Position" - values: { - "Header": 0, - "Footer": 1 - } - } - Property { name: "position"; type: "Position" } - } - Component { - name: "QQuickToolButton" - defaultProperty: "data" - prototype: "QQuickButton" - exports: ["QtQuick.Templates/ToolButton 2.0"] - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickToolSeparator" - defaultProperty: "data" - prototype: "QQuickControl" - exports: ["QtQuick.Templates/ToolSeparator 2.1"] - exportMetaObjectRevisions: [0] - Property { name: "orientation"; type: "Qt::Orientation" } - Property { name: "horizontal"; type: "bool"; isReadonly: true } - Property { name: "vertical"; type: "bool"; isReadonly: true } - } - Component { - name: "QQuickToolTip" - defaultProperty: "contentData" - prototype: "QQuickPopup" - exports: [ - "QtQuick.Templates/ToolTip 2.0", - "QtQuick.Templates/ToolTip 2.5" - ] - exportMetaObjectRevisions: [0, 5] - attachedType: "QQuickToolTipAttached" - Property { name: "delay"; type: "int" } - Property { name: "timeout"; type: "int" } - Property { name: "text"; type: "string" } - Method { - name: "show" - revision: 5 - Parameter { name: "text"; type: "string" } - Parameter { name: "ms"; type: "int" } - } - Method { - name: "show" - revision: 5 - Parameter { name: "text"; type: "string" } - } - Method { name: "hide"; revision: 5 } - } - Component { - name: "QQuickToolTipAttached" - prototype: "QObject" - Property { name: "text"; type: "string" } - Property { name: "delay"; type: "int" } - Property { name: "timeout"; type: "int" } - Property { name: "visible"; type: "bool" } - Property { name: "toolTip"; type: "QQuickToolTip"; isReadonly: true; isPointer: true } - Method { - name: "show" - Parameter { name: "text"; type: "string" } - Parameter { name: "ms"; type: "int" } - } - Method { - name: "show" - Parameter { name: "text"; type: "string" } - } - Method { name: "hide" } - } - Component { - name: "QQuickTumbler" - defaultProperty: "data" - prototype: "QQuickControl" - exports: [ - "QtQuick.Templates/Tumbler 2.0", - "QtQuick.Templates/Tumbler 2.1", - "QtQuick.Templates/Tumbler 2.2" - ] - exportMetaObjectRevisions: [0, 1, 2] - attachedType: "QQuickTumblerAttached" - Enum { - name: "PositionMode" - values: { - "Beginning": 0, - "Center": 1, - "End": 2, - "Visible": 3, - "Contain": 4, - "SnapPosition": 5 - } - } - Property { name: "model"; type: "QVariant" } - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "currentIndex"; type: "int" } - Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "visibleItemCount"; type: "int" } - Property { name: "wrap"; revision: 1; type: "bool" } - Property { name: "moving"; revision: 2; type: "bool"; isReadonly: true } - Signal { name: "wrapChanged"; revision: 1 } - Signal { name: "movingChanged"; revision: 2 } - Method { - name: "positionViewAtIndex" - revision: 5 - Parameter { name: "index"; type: "int" } - Parameter { name: "mode"; type: "PositionMode" } - } - } - Component { - name: "QQuickTumblerAttached" - prototype: "QObject" - Property { name: "tumbler"; type: "QQuickTumbler"; isReadonly: true; isPointer: true } - Property { name: "displacement"; type: "double"; isReadonly: true } - } - Component { - name: "QQuickVerticalHeaderView" - defaultProperty: "flickableData" - prototype: "QQuickHeaderViewBase" - exports: ["QtQuick.Templates/VerticalHeaderView 2.15"] - exportMetaObjectRevisions: [0] - attachedType: "QQuickTableViewAttached" - } - Component { - name: "QQuickWindow" - defaultProperty: "data" - prototype: "QWindow" - Enum { - name: "CreateTextureOptions" - values: { - "TextureHasAlphaChannel": 1, - "TextureHasMipmaps": 2, - "TextureOwnsGLTexture": 4, - "TextureCanUseAtlas": 8, - "TextureIsOpaque": 16 - } - } - Enum { - name: "SceneGraphError" - values: { - "ContextNotAvailable": 1 - } - } - Enum { - name: "TextRenderType" - values: { - "QtTextRendering": 0, - "NativeTextRendering": 1 - } - } - Enum { - name: "NativeObjectType" - values: { - "NativeObjectTexture": 0 - } - } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "color"; type: "QColor" } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { - name: "activeFocusItem" - revision: 1 - type: "QQuickItem" - isReadonly: true - isPointer: true - } - Signal { name: "frameSwapped" } - Signal { - name: "openglContextCreated" - revision: 2 - Parameter { name: "context"; type: "QOpenGLContext"; isPointer: true } - } - Signal { name: "sceneGraphInitialized" } - Signal { name: "sceneGraphInvalidated" } - Signal { name: "beforeSynchronizing" } - Signal { name: "afterSynchronizing"; revision: 2 } - Signal { name: "beforeRendering" } - Signal { name: "afterRendering" } - Signal { name: "afterAnimating"; revision: 2 } - Signal { name: "sceneGraphAboutToStop"; revision: 2 } - Signal { - name: "closing" - revision: 1 - Parameter { name: "close"; type: "QQuickCloseEvent"; isPointer: true } - } - Signal { - name: "colorChanged" - Parameter { type: "QColor" } - } - Signal { name: "activeFocusItemChanged"; revision: 1 } - Signal { - name: "sceneGraphError" - revision: 2 - Parameter { name: "error"; type: "QQuickWindow::SceneGraphError" } - Parameter { name: "message"; type: "string" } - } - Signal { name: "beforeRenderPassRecording"; revision: 14 } - Signal { name: "afterRenderPassRecording"; revision: 14 } - Method { name: "update" } - Method { name: "releaseResources" } - } - Component { - name: "QQuickWindowQmlImpl" - defaultProperty: "data" - prototype: "QQuickWindow" - Property { name: "visible"; type: "bool" } - Property { name: "visibility"; type: "Visibility" } - Property { name: "screen"; revision: 3; type: "QObject"; isPointer: true } - Signal { - name: "visibleChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "visibilityChanged" - Parameter { name: "visibility"; type: "QWindow::Visibility" } - } - Signal { name: "screenChanged"; revision: 3 } - } - Component { - name: "QWindow" - prototype: "QObject" - Enum { - name: "Visibility" - values: { - "Hidden": 0, - "AutomaticVisibility": 1, - "Windowed": 2, - "Minimized": 3, - "Maximized": 4, - "FullScreen": 5 - } - } - Enum { - name: "AncestorMode" - values: { - "ExcludeTransients": 0, - "IncludeTransients": 1 - } - } - Property { name: "title"; type: "string" } - Property { name: "modality"; type: "Qt::WindowModality" } - Property { name: "flags"; type: "Qt::WindowFlags" } - Property { name: "x"; type: "int" } - Property { name: "y"; type: "int" } - Property { name: "width"; type: "int" } - Property { name: "height"; type: "int" } - Property { name: "minimumWidth"; type: "int" } - Property { name: "minimumHeight"; type: "int" } - Property { name: "maximumWidth"; type: "int" } - Property { name: "maximumHeight"; type: "int" } - Property { name: "visible"; type: "bool" } - Property { name: "active"; revision: 1; type: "bool"; isReadonly: true } - Property { name: "visibility"; revision: 1; type: "Visibility" } - Property { name: "contentOrientation"; type: "Qt::ScreenOrientation" } - Property { name: "opacity"; revision: 1; type: "double" } - Property { name: "transientParent"; revision: 13; type: "QWindow"; isPointer: true } - Signal { - name: "screenChanged" - Parameter { name: "screen"; type: "QScreen"; isPointer: true } - } - Signal { - name: "modalityChanged" - Parameter { name: "modality"; type: "Qt::WindowModality" } - } - Signal { - name: "windowStateChanged" - Parameter { name: "windowState"; type: "Qt::WindowState" } - } - Signal { - name: "windowTitleChanged" - revision: 2 - Parameter { name: "title"; type: "string" } - } - Signal { - name: "xChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "yChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "widthChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "heightChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "minimumWidthChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "minimumHeightChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "maximumWidthChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "maximumHeightChanged" - Parameter { name: "arg"; type: "int" } - } - Signal { - name: "visibleChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "visibilityChanged" - revision: 1 - Parameter { name: "visibility"; type: "QWindow::Visibility" } - } - Signal { name: "activeChanged"; revision: 1 } - Signal { - name: "contentOrientationChanged" - Parameter { name: "orientation"; type: "Qt::ScreenOrientation" } - } - Signal { - name: "focusObjectChanged" - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Signal { - name: "opacityChanged" - revision: 1 - Parameter { name: "opacity"; type: "double" } - } - Signal { - name: "transientParentChanged" - revision: 13 - Parameter { name: "transientParent"; type: "QWindow"; isPointer: true } - } - Method { name: "requestActivate"; revision: 1 } - Method { - name: "setVisible" - Parameter { name: "visible"; type: "bool" } - } - Method { name: "show" } - Method { name: "hide" } - Method { name: "showMinimized" } - Method { name: "showMaximized" } - Method { name: "showFullScreen" } - Method { name: "showNormal" } - Method { name: "close"; type: "bool" } - Method { name: "raise" } - Method { name: "lower" } - Method { - name: "startSystemResize" - type: "bool" - Parameter { name: "edges"; type: "Qt::Edges" } - } - Method { name: "startSystemMove"; type: "bool" } - Method { - name: "setTitle" - Parameter { type: "string" } - } - Method { - name: "setX" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setY" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setWidth" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setHeight" - Parameter { name: "arg"; type: "int" } - } - Method { - name: "setGeometry" - Parameter { name: "posx"; type: "int" } - Parameter { name: "posy"; type: "int" } - Parameter { name: "w"; type: "int" } - Parameter { name: "h"; type: "int" } - } - Method { - name: "setGeometry" - Parameter { name: "rect"; type: "QRect" } - } - Method { - name: "setMinimumWidth" - Parameter { name: "w"; type: "int" } - } - Method { - name: "setMinimumHeight" - Parameter { name: "h"; type: "int" } - } - Method { - name: "setMaximumWidth" - Parameter { name: "w"; type: "int" } - } - Method { - name: "setMaximumHeight" - Parameter { name: "h"; type: "int" } - } - Method { - name: "alert" - revision: 1 - Parameter { name: "msec"; type: "int" } - } - Method { name: "requestUpdate"; revision: 3 } - } -} diff --git a/bin/QtQuick/Templates.2/qmldir b/bin/QtQuick/Templates.2/qmldir deleted file mode 100644 index 9f3773a8d..000000000 --- a/bin/QtQuick/Templates.2/qmldir +++ /dev/null @@ -1,5 +0,0 @@ -module QtQuick.Templates -plugin qtquicktemplates2plugin -classname QtQuickTemplates2Plugin -depends QtQuick.Window 2.2 -depends QtQuick 2.9 diff --git a/bin/QtQuick/Templates.2/qtquicktemplates2plugin.dll b/bin/QtQuick/Templates.2/qtquicktemplates2plugin.dll deleted file mode 100644 index 01459a058..000000000 Binary files a/bin/QtQuick/Templates.2/qtquicktemplates2plugin.dll and /dev/null differ diff --git a/bin/QtQuick/Window.2/plugins.qmltypes b/bin/QtQuick/Window.2/plugins.qmltypes deleted file mode 100644 index aaa215317..000000000 --- a/bin/QtQuick/Window.2/plugins.qmltypes +++ /dev/null @@ -1,217 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by qmltyperegistrar. - -Module { - dependencies: ["QtQuick 2.0"] - Component { - file: "plugin.h" - name: "QQuickRootItem" - defaultProperty: "data" - prototype: "QQuickItem" - Method { - name: "setWidth" - Parameter { name: "w"; type: "int" } - } - Method { - name: "setHeight" - Parameter { name: "h"; type: "int" } - } - } - Component { - file: "plugin.h" - name: "QQuickScreen" - exports: [ - "QtQuick.Window/Screen 2.0", - "QtQuick.Window/Screen 2.10", - "QtQuick.Window/Screen 2.3" - ] - isCreatable: false - exportMetaObjectRevisions: [0, 10, 3] - attachedType: "QQuickScreenAttached" - } - Component { - file: "plugin.h" - name: "QQuickScreenAttached" - prototype: "QQuickScreenInfo" - Property { name: "orientationUpdateMask"; type: "Qt::ScreenOrientations" } - Method { - name: "screenChanged" - Parameter { type: "QScreen"; isPointer: true } - } - Method { - name: "angleBetween" - type: "int" - Parameter { name: "a"; type: "int" } - Parameter { name: "b"; type: "int" } - } - } - Component { - file: "plugin.h" - name: "QQuickScreenInfo" - exports: [ - "QtQuick.Window/ScreenInfo 2.10", - "QtQuick.Window/ScreenInfo 2.3" - ] - isCreatable: false - exportMetaObjectRevisions: [10, 3] - Property { name: "name"; type: "string"; isReadonly: true } - Property { name: "manufacturer"; revision: 10; type: "string"; isReadonly: true } - Property { name: "model"; revision: 10; type: "string"; isReadonly: true } - Property { name: "serialNumber"; revision: 10; type: "string"; isReadonly: true } - Property { name: "width"; type: "int"; isReadonly: true } - Property { name: "height"; type: "int"; isReadonly: true } - Property { name: "desktopAvailableWidth"; type: "int"; isReadonly: true } - Property { name: "desktopAvailableHeight"; type: "int"; isReadonly: true } - Property { name: "logicalPixelDensity"; type: "double"; isReadonly: true } - Property { name: "pixelDensity"; type: "double"; isReadonly: true } - Property { name: "devicePixelRatio"; type: "double"; isReadonly: true } - Property { name: "primaryOrientation"; type: "Qt::ScreenOrientation"; isReadonly: true } - Property { name: "orientation"; type: "Qt::ScreenOrientation"; isReadonly: true } - Property { name: "virtualX"; revision: 3; type: "int"; isReadonly: true } - Property { name: "virtualY"; revision: 3; type: "int"; isReadonly: true } - Signal { name: "manufacturerChanged"; revision: 10 } - Signal { name: "modelChanged"; revision: 10 } - Signal { name: "serialNumberChanged"; revision: 10 } - Signal { name: "desktopGeometryChanged" } - Signal { name: "virtualXChanged"; revision: 3 } - Signal { name: "virtualYChanged"; revision: 3 } - } - Component { - file: "plugin.h" - name: "QQuickWindow" - defaultProperty: "data" - exports: ["QtQuick.Window/Window 2.0"] - exportMetaObjectRevisions: [0] - Enum { - name: "CreateTextureOptions" - alias: "CreateTextureOption" - isFlag: true - values: [ - "TextureHasAlphaChannel", - "TextureHasMipmaps", - "TextureOwnsGLTexture", - "TextureCanUseAtlas", - "TextureIsOpaque" - ] - } - Enum { - name: "SceneGraphError" - values: ["ContextNotAvailable"] - } - Enum { - name: "TextRenderType" - values: ["QtTextRendering", "NativeTextRendering"] - } - Enum { - name: "NativeObjectType" - values: ["NativeObjectTexture"] - } - Property { name: "data"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "color"; type: "QColor" } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { - name: "activeFocusItem" - revision: 1 - type: "QQuickItem" - isReadonly: true - isPointer: true - } - Signal { name: "frameSwapped" } - Signal { - name: "openglContextCreated" - revision: 2 - Parameter { name: "context"; type: "QOpenGLContext"; isPointer: true } - } - Signal { name: "sceneGraphInitialized" } - Signal { name: "sceneGraphInvalidated" } - Signal { name: "beforeSynchronizing" } - Signal { name: "afterSynchronizing"; revision: 2 } - Signal { name: "beforeRendering" } - Signal { name: "afterRendering" } - Signal { name: "afterAnimating"; revision: 2 } - Signal { name: "sceneGraphAboutToStop"; revision: 2 } - Signal { - name: "closing" - revision: 1 - Parameter { name: "close"; type: "QQuickCloseEvent"; isPointer: true } - } - Signal { - name: "colorChanged" - Parameter { type: "QColor" } - } - Signal { name: "activeFocusItemChanged"; revision: 1 } - Signal { - name: "sceneGraphError" - revision: 2 - Parameter { name: "error"; type: "QQuickWindow::SceneGraphError" } - Parameter { name: "message"; type: "string" } - } - Signal { name: "beforeRenderPassRecording"; revision: 14 } - Signal { name: "afterRenderPassRecording"; revision: 14 } - Method { name: "update" } - Method { name: "releaseResources" } - Method { name: "maybeUpdate" } - Method { name: "cleanupSceneGraph" } - Method { name: "physicalDpiChanged" } - Method { - name: "handleScreenChanged" - Parameter { name: "screen"; type: "QScreen"; isPointer: true } - } - Method { - name: "setTransientParent_helper" - Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } - } - Method { name: "runJobsAfterSwap" } - Method { - name: "handleApplicationStateChanged" - Parameter { name: "state"; type: "Qt::ApplicationState" } - } - } - Component { - file: "plugin.h" - name: "QQuickWindowAttached" - Property { name: "visibility"; type: "QWindow::Visibility"; isReadonly: true } - Property { name: "active"; type: "bool"; isReadonly: true } - Property { name: "activeFocusItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "width"; type: "int"; isReadonly: true } - Property { name: "height"; type: "int"; isReadonly: true } - Property { name: "window"; type: "QQuickWindow"; isReadonly: true; isPointer: true } - Method { - name: "windowChange" - Parameter { type: "QQuickWindow"; isPointer: true } - } - } - Component { - file: "plugin.h" - name: "QQuickWindowQmlImpl" - defaultProperty: "data" - prototype: "QQuickWindow" - exports: [ - "QtQuick.Window/Window 2.1", - "QtQuick.Window/Window 2.14", - "QtQuick.Window/Window 2.2", - "QtQuick.Window/Window 2.3" - ] - exportMetaObjectRevisions: [1, 14, 2, 3] - attachedType: "QQuickWindowAttached" - Property { name: "visible"; type: "bool" } - Property { name: "visibility"; type: "Visibility" } - Property { name: "screen"; revision: 3; type: "QObject"; isPointer: true } - Signal { - name: "visibleChanged" - Parameter { name: "arg"; type: "bool" } - } - Signal { - name: "visibilityChanged" - Parameter { name: "visibility"; type: "QWindow::Visibility" } - } - Signal { name: "screenChanged"; revision: 3 } - Method { name: "setWindowVisibility" } - } - Component { file: "plugin.h"; name: "QWindowForeign" } -} diff --git a/bin/QtQuick/Window.2/qmldir b/bin/QtQuick/Window.2/qmldir deleted file mode 100644 index fb6202b3b..000000000 --- a/bin/QtQuick/Window.2/qmldir +++ /dev/null @@ -1,5 +0,0 @@ -module QtQuick.Window -plugin windowplugin -classname QtQuick2WindowPlugin -typeinfo plugins.qmltypes -designersupported diff --git a/bin/QtQuick/Window.2/windowplugin.dll b/bin/QtQuick/Window.2/windowplugin.dll deleted file mode 100644 index d19da4bf1..000000000 Binary files a/bin/QtQuick/Window.2/windowplugin.dll and /dev/null differ diff --git a/bin/QtWebChannel/declarative_webchannel.dll b/bin/QtWebChannel/declarative_webchannel.dll deleted file mode 100644 index 355455f34..000000000 Binary files a/bin/QtWebChannel/declarative_webchannel.dll and /dev/null differ diff --git a/bin/QtWebChannel/plugins.qmltypes b/bin/QtWebChannel/plugins.qmltypes deleted file mode 100644 index 68378d6e9..000000000 --- a/bin/QtWebChannel/plugins.qmltypes +++ /dev/null @@ -1,67 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtWebChannel 1.15' - -Module { - dependencies: [] - Component { - name: "QQmlWebChannel" - prototype: "QWebChannel" - exports: ["QtWebChannel/WebChannel 1.0"] - exportMetaObjectRevisions: [0] - attachedType: "QQmlWebChannelAttached" - Property { name: "transports"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "registeredObjects"; type: "QObject"; isList: true; isReadonly: true } - Method { - name: "registerObjects" - Parameter { name: "objects"; type: "QVariantMap" } - } - Method { - name: "connectTo" - Parameter { name: "transport"; type: "QObject"; isPointer: true } - } - Method { - name: "disconnectFrom" - Parameter { name: "transport"; type: "QObject"; isPointer: true } - } - } - Component { - name: "QQmlWebChannelAttached" - prototype: "QObject" - Property { name: "id"; type: "string" } - Signal { - name: "idChanged" - Parameter { name: "id"; type: "string" } - } - } - Component { - name: "QWebChannel" - prototype: "QObject" - Property { name: "blockUpdates"; type: "bool" } - Signal { - name: "blockUpdatesChanged" - Parameter { name: "block"; type: "bool" } - } - Method { - name: "connectTo" - Parameter { name: "transport"; type: "QWebChannelAbstractTransport"; isPointer: true } - } - Method { - name: "disconnectFrom" - Parameter { name: "transport"; type: "QWebChannelAbstractTransport"; isPointer: true } - } - Method { - name: "registerObject" - Parameter { name: "id"; type: "string" } - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - Method { - name: "deregisterObject" - Parameter { name: "object"; type: "QObject"; isPointer: true } - } - } -} diff --git a/bin/QtWebChannel/qmldir b/bin/QtWebChannel/qmldir deleted file mode 100644 index c521f2f45..000000000 --- a/bin/QtWebChannel/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module QtWebChannel -classname QWebChannelPlugin -plugin declarative_webchannel -typeinfo plugins.qmltypes diff --git a/bin/QtWebEngine/Controls1Delegates/AlertDialog.qml b/bin/QtWebEngine/Controls1Delegates/AlertDialog.qml deleted file mode 100644 index 07f2d7df5..000000000 --- a/bin/QtWebEngine/Controls1Delegates/AlertDialog.qml +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick.Dialogs 1.2 - -MessageDialog { - icon: StandardIcon.Information -} diff --git a/bin/QtWebEngine/Controls1Delegates/AuthenticationDialog.qml b/bin/QtWebEngine/Controls1Delegates/AuthenticationDialog.qml deleted file mode 100644 index a7eedd14d..000000000 --- a/bin/QtWebEngine/Controls1Delegates/AuthenticationDialog.qml +++ /dev/null @@ -1,131 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -// FIXME: authentication missing in Qt Quick Dialogs atm. Make our own for now. -import QtQuick 2.5 -import QtQuick.Controls 1.4 -import QtQuick.Layouts 1.0 -import QtQuick.Window 2.2 - -Window { - signal accepted(string user, string password) - signal rejected - property alias text: message.text - - title: qsTr("Authentication Required") - flags: Qt.Dialog - modality: Qt.WindowModal - - width: minimumWidth - height: minimumHeight - minimumWidth: rootLayout.implicitWidth + rootLayout.doubleMargins - minimumHeight: rootLayout.implicitHeight + rootLayout.doubleMargins - - SystemPalette { id: palette; colorGroup: SystemPalette.Active } - color: palette.window - - function open() { - show(); - } - - function acceptDialog() { - accepted(userField.text, passwordField.text); - close(); - } - - ColumnLayout { - id: rootLayout - anchors.fill: parent - anchors.margins: 4 - property int doubleMargins: anchors.margins * 2 - Text { - id: message - color: palette.windowText - } - GridLayout { - columns: 2 - Label { - text: qsTr("Username:") - color: palette.windowText - } - TextField { - id: userField - focus: true - Layout.fillWidth: true - onAccepted: { - if (userField.text && passwordField.text) - acceptDialog(); - } - } - Label { - text: qsTr("Password:") - color: palette.windowText - } - TextField { - id: passwordField - Layout.fillWidth: true - echoMode: TextInput.Password - onAccepted: { - if (userField.text && passwordField.text) - acceptDialog(); - } - } - } - Item { - Layout.fillHeight: true - } - RowLayout { - Layout.alignment: Qt.AlignRight - spacing: 8 - Button { - id: cancelButton - text: qsTr("&Cancel") - onClicked: { - rejected(); - close(); - } - } - Button { - text: qsTr("&Log In") - isDefault: true - onClicked: acceptDialog() - } - } - } -} diff --git a/bin/QtWebEngine/Controls1Delegates/ColorDialog.qml b/bin/QtWebEngine/Controls1Delegates/ColorDialog.qml deleted file mode 100644 index b74fd2cd7..000000000 --- a/bin/QtWebEngine/Controls1Delegates/ColorDialog.qml +++ /dev/null @@ -1,50 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick.Dialogs 1.2 - -ColorDialog { - id: colorDialog - - signal selectedColor(var color) - - onAccepted: { - selectedColor(colorDialog.currentColor); - } -} diff --git a/bin/QtWebEngine/Controls1Delegates/ConfirmDialog.qml b/bin/QtWebEngine/Controls1Delegates/ConfirmDialog.qml deleted file mode 100644 index aab4db04a..000000000 --- a/bin/QtWebEngine/Controls1Delegates/ConfirmDialog.qml +++ /dev/null @@ -1,45 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick.Dialogs 1.1 - -MessageDialog { - icon: StandardIcon.Question - standardButtons: StandardButton.Ok | StandardButton.Cancel -} diff --git a/bin/QtWebEngine/Controls1Delegates/FilePicker.qml b/bin/QtWebEngine/Controls1Delegates/FilePicker.qml deleted file mode 100644 index e6af977ba..000000000 --- a/bin/QtWebEngine/Controls1Delegates/FilePicker.qml +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick.Dialogs 1.1 - -FileDialog { - - signal filesSelected(var fileList) - - onAccepted: { - filesSelected(fileUrls); - } -} diff --git a/bin/QtWebEngine/Controls1Delegates/Menu.qml b/bin/QtWebEngine/Controls1Delegates/Menu.qml deleted file mode 100644 index 36efa7680..000000000 --- a/bin/QtWebEngine/Controls1Delegates/Menu.qml +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 1.4 as Controls - -Controls.Menu { - id: menu - signal done() - - // Use private API for now - onAboutToHide: doneTimer.start() - - // WORKAROUND On Mac the Menu may be destroyed before the MenuItem - // is actually triggered (see qtbase commit 08cc9b9991ae9ab51) - Timer { - id: doneTimer - interval: 100 - onTriggered: menu.done() - } -} diff --git a/bin/QtWebEngine/Controls1Delegates/MenuItem.qml b/bin/QtWebEngine/Controls1Delegates/MenuItem.qml deleted file mode 100644 index e61f4c230..000000000 --- a/bin/QtWebEngine/Controls1Delegates/MenuItem.qml +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 1.4 as Controls - -Controls.MenuItem { } - diff --git a/bin/QtWebEngine/Controls1Delegates/MenuSeparator.qml b/bin/QtWebEngine/Controls1Delegates/MenuSeparator.qml deleted file mode 100644 index 8427865cb..000000000 --- a/bin/QtWebEngine/Controls1Delegates/MenuSeparator.qml +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 1.4 as Controls - -Controls.MenuSeparator { } diff --git a/bin/QtWebEngine/Controls1Delegates/PromptDialog.qml b/bin/QtWebEngine/Controls1Delegates/PromptDialog.qml deleted file mode 100644 index c4dcd6b98..000000000 --- a/bin/QtWebEngine/Controls1Delegates/PromptDialog.qml +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -// FIXME: prompt missing in Qt Quick Dialogs atm. Make our own for now. -import QtQuick.Controls 1.4 -import QtQuick.Layouts 1.0 -import QtQuick 2.5 - -ApplicationWindow { - signal input(string text) - signal accepted - signal rejected - property alias text: message.text - property alias prompt: field.text - - width: 350 - height: 100 - flags: Qt.Dialog - - onClosing: { - rejected(); - } - - function open() { - show(); - } - - ColumnLayout { - anchors.fill: parent - anchors.margins: 4 - Text { - id: message - Layout.fillWidth: true - } - TextField { - id:field - Layout.fillWidth: true - } - RowLayout { - Layout.alignment: Qt.AlignRight - spacing: 8 - Button { - text: qsTr("OK") - onClicked: { - input(field.text); - accepted(); - close(); - destroy(); - } - } - Button { - text: qsTr("Cancel") - onClicked: { - rejected(); - close(); - destroy(); - } - } - } - } - -} diff --git a/bin/QtWebEngine/Controls1Delegates/ToolTip.qml b/bin/QtWebEngine/Controls1Delegates/ToolTip.qml deleted file mode 100644 index 2bfe9eaf5..000000000 --- a/bin/QtWebEngine/Controls1Delegates/ToolTip.qml +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 - -Item { - id: toolTipContainer - z: 9999 - width: content.width - height: content.height - visible: false - - property alias text: toolTip.text - property int delayTimerInterval: 500 - property int hideTimerInterval: 10000 - property int toolTipMaxWidth: 400 - - Timer { - id: delayTimer - interval: delayTimerInterval - onTriggered: { - toolTipContainer.visible = true - hideTimer.start() - } - } - - Timer { - id: hideTimer - interval: hideTimerInterval - onTriggered: toolTipContainer.visible = false - } - - Rectangle { - id: content - color: "#f8eabf" - border.color: "black" - anchors.centerIn: parent - width: toolTip.contentWidth + 10 - height: toolTip.contentHeight + 10 - radius: 3 - - Text { - id: toolTip - anchors {fill: parent; margins: 5} - wrapMode: Text.Wrap - width: Math.min(toolTipMaxWidth, (toolTip.text.length +1) * 8) - } - } - - function open() { - delayTimer.start(); - } - - function hide() { - hideTimer.start(); - } -} diff --git a/bin/QtWebEngine/Controls1Delegates/TouchHandle.qml b/bin/QtWebEngine/Controls1Delegates/TouchHandle.qml deleted file mode 100644 index 76a93829e..000000000 --- a/bin/QtWebEngine/Controls1Delegates/TouchHandle.qml +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2018 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 - -Image { } diff --git a/bin/QtWebEngine/Controls1Delegates/TouchSelectionMenu.qml b/bin/QtWebEngine/Controls1Delegates/TouchSelectionMenu.qml deleted file mode 100644 index 7cf16b554..000000000 --- a/bin/QtWebEngine/Controls1Delegates/TouchSelectionMenu.qml +++ /dev/null @@ -1,175 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2018 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Layouts 1.3 - -Rectangle { - id: menu - - signal cutTriggered - signal copyTriggered - signal pasteTriggered - signal contextMenuTriggered - - property bool isCutEnabled: false - property bool isCopyEnabled: false - property bool isPasteEnabled: false - - property color borderColor: "darkGray" - property color bgColor: "white" - - radius: 4 - border.color: borderColor - color: borderColor - antialiasing: true - - RowLayout { - anchors.fill: parent - spacing: parent.border.width - anchors.margins: parent.border.width - - Rectangle { - Layout.fillHeight: true - Layout.fillWidth: true - radius: menu.radius - color: bgColor - visible: isCutEnabled - - Text { - id: cutText - anchors.centerIn: parent - text: "Cut" - } - - MouseArea { - anchors.fill: parent - onPressed: { - parent.color = borderColor; - cutText.color = "white"; - } - onReleased: { - parent.color = bgColor; - cutText.color = "black"; - cutTriggered(); - } - } - } - - Rectangle { - Layout.fillHeight: true - Layout.fillWidth: true - radius: menu.radius - color: bgColor - visible: isCopyEnabled - - Text { - id: copyText - anchors.centerIn: parent - text: "Copy" - } - - MouseArea { - anchors.fill: parent - onPressed: { - parent.color = borderColor; - copyText.color = "white"; - } - onReleased: { - parent.color = bgColor; - copyText.color = "black"; - copyTriggered(); - } - } - } - - Rectangle { - Layout.fillHeight: true - Layout.fillWidth: true - radius: menu.radius - color: bgColor - visible: isPasteEnabled - - Text { - id: pasteText - anchors.centerIn: parent - text: "Paste" - } - - MouseArea { - anchors.fill: parent - onPressed: { - parent.color = borderColor; - pasteText.color = "white"; - } - onReleased: { - parent.color = bgColor; - pasteText.color = "black"; - pasteTriggered(); - } - } - } - - Rectangle { - Layout.fillHeight: true - Layout.fillWidth: true - radius: menu.radius - color: bgColor - - Text { - id: contextMenuText - anchors.centerIn: parent - text: "..." - } - - MouseArea { - anchors.fill: parent - onPressed: { - parent.color = borderColor; - contextMenuText.color = "white"; - } - onReleased: { - parent.color = bgColor; - contextMenuText.color = "black"; - contextMenuTriggered(); - } - } - } - } -} diff --git a/bin/QtWebEngine/Controls1Delegates/qmldir b/bin/QtWebEngine/Controls1Delegates/qmldir deleted file mode 100644 index e23b972be..000000000 --- a/bin/QtWebEngine/Controls1Delegates/qmldir +++ /dev/null @@ -1,8 +0,0 @@ -module QtWebEngine.Controls1Delegates -AlertDialog 1.0 AlertDialog.qml -ConfirmDialog 1.0 ConfirmDialog.qml -FilePicker 1.0 FilePicker.qml -PromptDialog 1.0 PromptDialog.qml -Menu 1.0 Menu.qml -MenuItem 1.0 MenuItem.qml -MenuSeparator 1.0 MenuSeparator.qml diff --git a/bin/QtWebEngine/Controls2Delegates/AlertDialog.qml b/bin/QtWebEngine/Controls2Delegates/AlertDialog.qml deleted file mode 100644 index 4f63c5b70..000000000 --- a/bin/QtWebEngine/Controls2Delegates/AlertDialog.qml +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 2.0 as Controls -import QtQuick.Dialogs 1.2 -import QtQuick.Layouts 1.0 - -Dialog { - property alias text: message.text - property bool handled: false - signal accepted() - signal rejected() - title: qsTr("Alert Dialog") - modality: Qt.NonModal - - //handle the case where users simply closes the dialog - onVisibilityChanged: { - if (visible == false && handled == false) { - handled = true; - rejected(); - } else { - handled = false; - } - } - - function acceptDialog() { - accepted(); - handled = true; - close(); - } - - contentItem: ColumnLayout { - id: rootLayout - anchors.fill: parent - anchors.margins: 4 - property int minimumWidth: rootLayout.implicitWidth + rootLayout.doubleMargins - property int minimumHeight: rootLayout.implicitHeight + rootLayout.doubleMargins - property int doubleMargins: anchors.margins * 2 - SystemPalette { id: palette; colorGroup: SystemPalette.Active } - RowLayout { - Layout.alignment: Qt.AlignRight - spacing: 8 - Image { - source: "information.png" - } - Text { - id: message - Layout.fillWidth: true - color: palette.windowText - } - } - Item { - Layout.fillHeight: true - } - Controls.Button { - Layout.alignment: Qt.AlignHCenter - text: qsTr("OK") - onClicked: acceptDialog() - } - } -} diff --git a/bin/QtWebEngine/Controls2Delegates/AuthenticationDialog.qml b/bin/QtWebEngine/Controls2Delegates/AuthenticationDialog.qml deleted file mode 100644 index 52fcce3f1..000000000 --- a/bin/QtWebEngine/Controls2Delegates/AuthenticationDialog.qml +++ /dev/null @@ -1,135 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 2.0 as Controls -import QtQuick.Dialogs 1.2 -import QtQuick.Layouts 1.0 - -Dialog { - property alias text: message.text - property bool handled: false - signal accepted(string user, string password) - signal rejected() - title: qsTr("Authentication Required") - modality: Qt.NonModal - - //handle the case where users simply closes the dialog - onVisibilityChanged: { - if (visible == false && handled == false) { - handled = true; - rejected(); - } else { - handled = false; - } - } - - function acceptDialog() { - accepted(userField.text, passwordField.text); - handled = true; - close(); - } - - function rejectDialog() { - rejected(); - handled = true; - close(); - } - - contentItem: ColumnLayout { - id: rootLayout - anchors.fill: parent - anchors.margins: 4 - property int minimumWidth: rootLayout.implicitWidth + rootLayout.doubleMargins - property int minimumHeight: rootLayout.implicitHeight + rootLayout.doubleMargins - - property int doubleMargins: anchors.margins * 2 - - SystemPalette { id: palette; colorGroup: SystemPalette.Active } - Text { - id: message - color: palette.windowText - } - GridLayout { - columns: 2 - Controls.Label { - text: qsTr("Username:") - color: palette.windowText - } - Controls.TextField { - id: userField - focus: true - Layout.fillWidth: true - onAccepted: { - if (userField.text && passwordField.text) - acceptDialog(); - } - } - Controls.Label { - text: qsTr("Password:") - color: palette.windowText - } - Controls.TextField { - id: passwordField - Layout.fillWidth: true - echoMode: TextInput.Password - onAccepted: { - if (userField.text && passwordField.text) - acceptDialog(); - } - } - } - Item { - Layout.fillHeight: true - } - RowLayout { - Layout.alignment: Qt.AlignRight - spacing: 8 - Controls.Button { - id: cancelButton - text: qsTr("Cancel") - onClicked: rejectDialog() - } - Controls.Button { - text: qsTr("Log In") - onClicked: acceptDialog() - } - } - } -} diff --git a/bin/QtWebEngine/Controls2Delegates/ConfirmDialog.qml b/bin/QtWebEngine/Controls2Delegates/ConfirmDialog.qml deleted file mode 100644 index 0649d3654..000000000 --- a/bin/QtWebEngine/Controls2Delegates/ConfirmDialog.qml +++ /dev/null @@ -1,111 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 2.0 as Controls -import QtQuick.Dialogs 1.2 -import QtQuick.Layouts 1.0 - -Dialog { - property alias text: message.text - property bool handled: false - signal accepted() - signal rejected() - title: qsTr("Alert Dialog") - modality: Qt.NonModal - - //handle the case where users simply closes the dialog - onVisibilityChanged: { - if (visible == false && handled == false) { - handled = true; - rejected(); - } else { - handled = false; - } - } - - function acceptDialog() { - accepted(); - handled = true; - close(); - } - - function rejectDialog() { - rejected(); - handled = true; - close(); - } - - contentItem: ColumnLayout { - id: rootLayout - anchors.fill: parent - anchors.margins: 4 - property int minimumWidth: rootLayout.implicitWidth + rootLayout.doubleMargins - property int minimumHeight: rootLayout.implicitHeight + rootLayout.doubleMargins - property int doubleMargins: anchors.margins * 2 - SystemPalette { id: palette; colorGroup: SystemPalette.Active } - RowLayout { - Layout.alignment: Qt.AlignRight - spacing: 8 - Image { - source: "question.png" - } - Text { - id: message - Layout.fillWidth: true - color: palette.windowText - } - } - Item { - Layout.fillHeight: true - } - RowLayout { - Layout.alignment: Qt.AlignRight - spacing: 8 - Controls.Button { - text: qsTr("OK") - onClicked: acceptDialog() - } - Controls.Button { - text: qsTr("Cancel") - onClicked: rejectDialog() - } - } - } -} diff --git a/bin/QtWebEngine/Controls2Delegates/Menu.qml b/bin/QtWebEngine/Controls2Delegates/Menu.qml deleted file mode 100644 index 0e7b869f5..000000000 --- a/bin/QtWebEngine/Controls2Delegates/Menu.qml +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 2.0 as Controls - -Controls.Menu { - id: menu - signal done() - - // Use private API for now - onAboutToHide: doneTimer.start() - - // WORKAROUND On Mac the Menu may be destroyed before the MenuItem - // is actually triggered (see qtbase commit 08cc9b9991ae9ab51) - Timer { - id: doneTimer - interval: 100 - onTriggered: menu.done() - } -} diff --git a/bin/QtWebEngine/Controls2Delegates/MenuItem.qml b/bin/QtWebEngine/Controls2Delegates/MenuItem.qml deleted file mode 100644 index 9bf8aac5e..000000000 --- a/bin/QtWebEngine/Controls2Delegates/MenuItem.qml +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 2.0 as Controls - -Controls.MenuItem { } - diff --git a/bin/QtWebEngine/Controls2Delegates/MenuSeparator.qml b/bin/QtWebEngine/Controls2Delegates/MenuSeparator.qml deleted file mode 100644 index 0c664084a..000000000 --- a/bin/QtWebEngine/Controls2Delegates/MenuSeparator.qml +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 - -Item { id: dummy } diff --git a/bin/QtWebEngine/Controls2Delegates/PromptDialog.qml b/bin/QtWebEngine/Controls2Delegates/PromptDialog.qml deleted file mode 100644 index 880213e36..000000000 --- a/bin/QtWebEngine/Controls2Delegates/PromptDialog.qml +++ /dev/null @@ -1,114 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.5 -import QtQuick.Controls 2.0 as Controls -import QtQuick.Layouts 1.0 -import QtQuick.Dialogs 1.2 - -Dialog { - property alias text: message.text - property alias prompt: field.text - property bool handled: false - signal input(string text) - signal accepted() - signal rejected() - title: qsTr("Prompt Dialog") - modality: Qt.NonModal - - //handle the case where users simply closes the dialog - onVisibilityChanged: { - if (visible == false && handled == false) { - handled = true; - rejected(); - } else { - handled = false; - } - } - - function acceptDialog() { - input(field.text); - accepted(); - handled = true; - close(); - } - - function rejectDialog() { - rejected(); - handled = true; - close(); - } - - contentItem: ColumnLayout { - id: rootLayout - anchors.fill: parent - anchors.margins: 4 - property int minimumWidth: rootLayout.implicitWidth + rootLayout.doubleMargins - property int minimumHeight: rootLayout.implicitHeight + rootLayout.doubleMargins - property int doubleMargins: anchors.margins * 2 - SystemPalette { id: palette; colorGroup: SystemPalette.Active } - Text { - id: message - Layout.fillWidth: true - color: palette.windowText - } - Controls.TextField { - id:field - focus: true - Layout.fillWidth: true - onAccepted: acceptDialog() - } - Item { - Layout.fillHeight: true - } - RowLayout { - Layout.alignment: Qt.AlignRight - spacing: 8 - Controls.Button { - text: qsTr("OK") - onClicked: acceptDialog() - } - Controls.Button { - text: qsTr("Cancel") - onClicked: rejectDialog() - } - } - } - -} diff --git a/bin/QtWebEngine/Controls2Delegates/ToolTip.qml b/bin/QtWebEngine/Controls2Delegates/ToolTip.qml deleted file mode 100644 index 91645a0f4..000000000 --- a/bin/QtWebEngine/Controls2Delegates/ToolTip.qml +++ /dev/null @@ -1,45 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtWebEngine module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick.Controls 2.0 - -ToolTip { - delay: 1000 - timeout: 1500 -} diff --git a/bin/QtWebEngine/Controls2Delegates/information.png b/bin/QtWebEngine/Controls2Delegates/information.png deleted file mode 100644 index 0a2eb87d1..000000000 Binary files a/bin/QtWebEngine/Controls2Delegates/information.png and /dev/null differ diff --git a/bin/QtWebEngine/Controls2Delegates/qmldir b/bin/QtWebEngine/Controls2Delegates/qmldir deleted file mode 100644 index 8ab0d3671..000000000 --- a/bin/QtWebEngine/Controls2Delegates/qmldir +++ /dev/null @@ -1,2 +0,0 @@ -# Internal module -module QtWebEngine/Controls2Delegates diff --git a/bin/QtWebEngine/Controls2Delegates/question.png b/bin/QtWebEngine/Controls2Delegates/question.png deleted file mode 100644 index 2dd92fd79..000000000 Binary files a/bin/QtWebEngine/Controls2Delegates/question.png and /dev/null differ diff --git a/bin/QtWebEngine/plugins.qmltypes b/bin/QtWebEngine/plugins.qmltypes deleted file mode 100644 index 24b073290..000000000 --- a/bin/QtWebEngine/plugins.qmltypes +++ /dev/null @@ -1,1705 +0,0 @@ -import QtQuick.tooling 1.2 - -// This file describes the plugin-supplied types contained in the library. -// It is used for QML tooling purposes only. -// -// This file was auto-generated by: -// 'qmlplugindump -nonrelocatable -defaultplatform -dependencies dependencies.json QtWebEngine 1.10' - -Module { - dependencies: ["QtQuick 2.8"] - Component { - name: "QAbstractItemModel" - prototype: "QObject" - Enum { - name: "LayoutChangeHint" - values: { - "NoLayoutChangeHint": 0, - "VerticalSortHint": 1, - "HorizontalSortHint": 2 - } - } - Enum { - name: "CheckIndexOption" - values: { - "NoOption": 0, - "IndexIsValid": 1, - "DoNotUseParent": 2, - "ParentIsInvalid": 4 - } - } - Signal { - name: "dataChanged" - Parameter { name: "topLeft"; type: "QModelIndex" } - Parameter { name: "bottomRight"; type: "QModelIndex" } - Parameter { name: "roles"; type: "QVector" } - } - Signal { - name: "dataChanged" - Parameter { name: "topLeft"; type: "QModelIndex" } - Parameter { name: "bottomRight"; type: "QModelIndex" } - } - Signal { - name: "headerDataChanged" - Parameter { name: "orientation"; type: "Qt::Orientation" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "layoutChanged" - Parameter { name: "parents"; type: "QList" } - Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } - } - Signal { - name: "layoutChanged" - Parameter { name: "parents"; type: "QList" } - } - Signal { name: "layoutChanged" } - Signal { - name: "layoutAboutToBeChanged" - Parameter { name: "parents"; type: "QList" } - Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } - } - Signal { - name: "layoutAboutToBeChanged" - Parameter { name: "parents"; type: "QList" } - } - Signal { name: "layoutAboutToBeChanged" } - Signal { - name: "rowsAboutToBeInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "rowsRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsAboutToBeInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsInserted" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsAboutToBeRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { - name: "columnsRemoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "first"; type: "int" } - Parameter { name: "last"; type: "int" } - } - Signal { name: "modelAboutToBeReset" } - Signal { name: "modelReset" } - Signal { - name: "rowsAboutToBeMoved" - Parameter { name: "sourceParent"; type: "QModelIndex" } - Parameter { name: "sourceStart"; type: "int" } - Parameter { name: "sourceEnd"; type: "int" } - Parameter { name: "destinationParent"; type: "QModelIndex" } - Parameter { name: "destinationRow"; type: "int" } - } - Signal { - name: "rowsMoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - Parameter { name: "destination"; type: "QModelIndex" } - Parameter { name: "row"; type: "int" } - } - Signal { - name: "columnsAboutToBeMoved" - Parameter { name: "sourceParent"; type: "QModelIndex" } - Parameter { name: "sourceStart"; type: "int" } - Parameter { name: "sourceEnd"; type: "int" } - Parameter { name: "destinationParent"; type: "QModelIndex" } - Parameter { name: "destinationColumn"; type: "int" } - } - Signal { - name: "columnsMoved" - Parameter { name: "parent"; type: "QModelIndex" } - Parameter { name: "start"; type: "int" } - Parameter { name: "end"; type: "int" } - Parameter { name: "destination"; type: "QModelIndex" } - Parameter { name: "column"; type: "int" } - } - Method { name: "submit"; type: "bool" } - Method { name: "revert" } - Method { - name: "hasIndex" - type: "bool" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "hasIndex" - type: "bool" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - } - Method { - name: "index" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "index" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - } - Method { - name: "parent" - type: "QModelIndex" - Parameter { name: "child"; type: "QModelIndex" } - } - Method { - name: "sibling" - type: "QModelIndex" - Parameter { name: "row"; type: "int" } - Parameter { name: "column"; type: "int" } - Parameter { name: "idx"; type: "QModelIndex" } - } - Method { - name: "rowCount" - type: "int" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "rowCount"; type: "int" } - Method { - name: "columnCount" - type: "int" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "columnCount"; type: "int" } - Method { - name: "hasChildren" - type: "bool" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { name: "hasChildren"; type: "bool" } - Method { - name: "data" - type: "QVariant" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "data" - type: "QVariant" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "setData" - type: "bool" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "setData" - type: "bool" - Parameter { name: "index"; type: "QModelIndex" } - Parameter { name: "value"; type: "QVariant" } - } - Method { - name: "headerData" - type: "QVariant" - Parameter { name: "section"; type: "int" } - Parameter { name: "orientation"; type: "Qt::Orientation" } - Parameter { name: "role"; type: "int" } - } - Method { - name: "headerData" - type: "QVariant" - Parameter { name: "section"; type: "int" } - Parameter { name: "orientation"; type: "Qt::Orientation" } - } - Method { - name: "fetchMore" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "canFetchMore" - type: "bool" - Parameter { name: "parent"; type: "QModelIndex" } - } - Method { - name: "flags" - type: "Qt::ItemFlags" - Parameter { name: "index"; type: "QModelIndex" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "hits"; type: "int" } - Parameter { name: "flags"; type: "Qt::MatchFlags" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - Parameter { name: "hits"; type: "int" } - } - Method { - name: "match" - type: "QModelIndexList" - Parameter { name: "start"; type: "QModelIndex" } - Parameter { name: "role"; type: "int" } - Parameter { name: "value"; type: "QVariant" } - } - } - Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" } - Component { - name: "QQuickWebEngineAction" - prototype: "QObject" - exports: ["QtWebEngine/WebEngineAction 1.8"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "text"; type: "string"; isReadonly: true } - Property { name: "iconName"; type: "string"; isReadonly: true } - Property { name: "enabled"; type: "bool"; isReadonly: true } - Signal { name: "triggered" } - Method { name: "trigger" } - } - Component { - name: "QQuickWebEngineAuthenticationDialogRequest" - prototype: "QObject" - exports: ["QtWebEngine/AuthenticationDialogRequest 1.4"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "AuthenticationType" - values: { - "AuthenticationTypeHTTP": 0, - "AuthenticationTypeProxy": 1 - } - } - Property { name: "url"; type: "QUrl"; isReadonly: true } - Property { name: "realm"; type: "string"; isReadonly: true } - Property { name: "proxyHost"; type: "string"; isReadonly: true } - Property { name: "type"; type: "AuthenticationType"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - Method { - name: "dialogAccept" - Parameter { name: "user"; type: "string" } - Parameter { name: "password"; type: "string" } - } - Method { name: "dialogReject" } - } - Component { - name: "QQuickWebEngineCertificateError" - prototype: "QObject" - exports: ["QtWebEngine/WebEngineCertificateError 1.1"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "Error" - values: { - "SslPinnedKeyNotInCertificateChain": -150, - "CertificateCommonNameInvalid": -200, - "CertificateDateInvalid": -201, - "CertificateAuthorityInvalid": -202, - "CertificateContainsErrors": -203, - "CertificateNoRevocationMechanism": -204, - "CertificateUnableToCheckRevocation": -205, - "CertificateRevoked": -206, - "CertificateInvalid": -207, - "CertificateWeakSignatureAlgorithm": -208, - "CertificateNonUniqueName": -210, - "CertificateWeakKey": -211, - "CertificateNameConstraintViolation": -212, - "CertificateValidityTooLong": -213, - "CertificateTransparencyRequired": -214 - } - } - Property { name: "url"; type: "QUrl"; isReadonly: true } - Property { name: "error"; type: "Error"; isReadonly: true } - Property { name: "description"; type: "string"; isReadonly: true } - Property { name: "overridable"; type: "bool"; isReadonly: true } - Method { name: "defer" } - Method { name: "ignoreCertificateError" } - Method { name: "rejectCertificate" } - } - Component { - name: "QQuickWebEngineClientCertificateOption" - prototype: "QObject" - exports: ["QtWebEngine/WebEngineClientCertificateOption 1.9"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "issuer"; type: "string"; isReadonly: true } - Property { name: "subject"; type: "string"; isReadonly: true } - Property { name: "effectiveDate"; type: "QDateTime"; isReadonly: true } - Property { name: "expiryDate"; type: "QDateTime"; isReadonly: true } - Property { name: "isSelfSigned"; type: "bool"; isReadonly: true } - Method { name: "select" } - } - Component { - name: "QQuickWebEngineClientCertificateSelection" - prototype: "QObject" - exports: ["QtWebEngine/WebEngineClientCertificateSelection 1.9"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "host"; type: "QUrl"; isReadonly: true } - Property { - name: "certificates" - type: "QQuickWebEngineClientCertificateOption" - isList: true - isReadonly: true - } - Method { - name: "select" - Parameter { name: "idx"; type: "int" } - } - Method { - name: "select" - Parameter { - name: "certificate" - type: "const QQuickWebEngineClientCertificateOption" - isPointer: true - } - } - Method { name: "selectNone" } - } - Component { - name: "QQuickWebEngineColorDialogRequest" - prototype: "QObject" - exports: ["QtWebEngine/ColorDialogRequest 1.4"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "color"; type: "QColor"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - Method { - name: "dialogAccept" - Parameter { name: "color"; type: "QColor" } - } - Method { name: "dialogReject" } - } - Component { - name: "QQuickWebEngineContextMenuRequest" - prototype: "QObject" - exports: [ - "QtWebEngine/ContextMenuRequest 1.4", - "QtWebEngine/ContextMenuRequest 1.7" - ] - isCreatable: false - exportMetaObjectRevisions: [0, 1] - Enum { - name: "MediaType" - values: { - "MediaTypeNone": 0, - "MediaTypeImage": 1, - "MediaTypeVideo": 2, - "MediaTypeAudio": 3, - "MediaTypeCanvas": 4, - "MediaTypeFile": 5, - "MediaTypePlugin": 6 - } - } - Enum { - name: "MediaFlags" - values: { - "MediaInError": 1, - "MediaPaused": 2, - "MediaMuted": 4, - "MediaLoop": 8, - "MediaCanSave": 16, - "MediaHasAudio": 32, - "MediaCanToggleControls": 64, - "MediaControls": 128, - "MediaCanPrint": 256, - "MediaCanRotate": 512 - } - } - Enum { - name: "EditFlags" - values: { - "CanUndo": 1, - "CanRedo": 2, - "CanCut": 4, - "CanCopy": 8, - "CanPaste": 16, - "CanDelete": 32, - "CanSelectAll": 64, - "CanTranslate": 128, - "CanEditRichly": 256 - } - } - Property { name: "x"; type: "int"; isReadonly: true } - Property { name: "y"; type: "int"; isReadonly: true } - Property { name: "selectedText"; type: "string"; isReadonly: true } - Property { name: "linkText"; type: "string"; isReadonly: true } - Property { name: "linkUrl"; type: "QUrl"; isReadonly: true } - Property { name: "mediaUrl"; type: "QUrl"; isReadonly: true } - Property { name: "mediaType"; type: "MediaType"; isReadonly: true } - Property { name: "isContentEditable"; type: "bool"; isReadonly: true } - Property { name: "misspelledWord"; type: "string"; isReadonly: true } - Property { name: "spellCheckerSuggestions"; type: "QStringList"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - Property { name: "mediaFlags"; revision: 1; type: "MediaFlags"; isReadonly: true } - Property { name: "editFlags"; revision: 1; type: "EditFlags"; isReadonly: true } - } - Component { - name: "QQuickWebEngineDownloadItem" - prototype: "QObject" - exports: [ - "QtWebEngine/WebEngineDownloadItem 1.1", - "QtWebEngine/WebEngineDownloadItem 1.10", - "QtWebEngine/WebEngineDownloadItem 1.2", - "QtWebEngine/WebEngineDownloadItem 1.3", - "QtWebEngine/WebEngineDownloadItem 1.4", - "QtWebEngine/WebEngineDownloadItem 1.5", - "QtWebEngine/WebEngineDownloadItem 1.6", - "QtWebEngine/WebEngineDownloadItem 1.7", - "QtWebEngine/WebEngineDownloadItem 1.8" - ] - isCreatable: false - exportMetaObjectRevisions: [0, 10, 1, 2, 3, 4, 5, 6, 7] - Enum { - name: "DownloadState" - values: { - "DownloadRequested": 0, - "DownloadInProgress": 1, - "DownloadCompleted": 2, - "DownloadCancelled": 3, - "DownloadInterrupted": 4 - } - } - Enum { - name: "SavePageFormat" - values: { - "UnknownSaveFormat": -1, - "SingleHtmlSaveFormat": 0, - "CompleteHtmlSaveFormat": 1, - "MimeHtmlSaveFormat": 2 - } - } - Enum { - name: "DownloadInterruptReason" - values: { - "NoReason": 0, - "FileFailed": 1, - "FileAccessDenied": 2, - "FileNoSpace": 3, - "FileNameTooLong": 5, - "FileTooLarge": 6, - "FileVirusInfected": 7, - "FileTransientError": 10, - "FileBlocked": 11, - "FileSecurityCheckFailed": 12, - "FileTooShort": 13, - "FileHashMismatch": 14, - "NetworkFailed": 20, - "NetworkTimeout": 21, - "NetworkDisconnected": 22, - "NetworkServerDown": 23, - "NetworkInvalidRequest": 24, - "ServerFailed": 30, - "ServerBadContent": 33, - "ServerUnauthorized": 34, - "ServerCertProblem": 35, - "ServerForbidden": 36, - "ServerUnreachable": 37, - "UserCanceled": 40 - } - } - Enum { - name: "DownloadType" - values: { - "Attachment": 0, - "DownloadAttribute": 1, - "UserRequested": 2, - "SavePage": 3 - } - } - Property { name: "id"; type: "uint"; isReadonly: true } - Property { name: "state"; type: "DownloadState"; isReadonly: true } - Property { name: "savePageFormat"; revision: 2; type: "SavePageFormat" } - Property { name: "totalBytes"; type: "qlonglong"; isReadonly: true } - Property { name: "receivedBytes"; type: "qlonglong"; isReadonly: true } - Property { name: "mimeType"; revision: 1; type: "string"; isReadonly: true } - Property { name: "path"; type: "string" } - Property { name: "type"; revision: 3; type: "DownloadType"; isReadonly: true } - Property { - name: "interruptReason" - revision: 4 - type: "DownloadInterruptReason" - isReadonly: true - } - Property { name: "interruptReasonString"; revision: 4; type: "string"; isReadonly: true } - Property { name: "isFinished"; revision: 5; type: "bool"; isReadonly: true } - Property { name: "isPaused"; revision: 5; type: "bool"; isReadonly: true } - Property { name: "isSavePageDownload"; revision: 6; type: "bool"; isReadonly: true } - Property { - name: "view" - revision: 7 - type: "QQuickWebEngineView" - isReadonly: true - isPointer: true - } - Property { name: "url"; revision: 10; type: "QUrl"; isReadonly: true } - Property { name: "suggestedFileName"; revision: 10; type: "string"; isReadonly: true } - Property { name: "downloadDirectory"; revision: 10; type: "string" } - Property { name: "downloadFileName"; revision: 10; type: "string" } - Signal { name: "savePageFormatChanged"; revision: 2 } - Signal { name: "mimeTypeChanged"; revision: 1 } - Signal { name: "typeChanged"; revision: 3 } - Signal { name: "interruptReasonChanged"; revision: 4 } - Signal { name: "isFinishedChanged"; revision: 5 } - Signal { name: "isPausedChanged"; revision: 5 } - Signal { name: "downloadDirectoryChanged"; revision: 10 } - Signal { name: "downloadFileNameChanged"; revision: 10 } - Method { name: "accept" } - Method { name: "cancel" } - Method { name: "pause" } - Method { name: "resume" } - } - Component { - name: "QQuickWebEngineFileDialogRequest" - prototype: "QObject" - exports: ["QtWebEngine/FileDialogRequest 1.4"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "FileMode" - values: { - "FileModeOpen": 0, - "FileModeOpenMultiple": 1, - "FileModeUploadFolder": 2, - "FileModeSave": 3 - } - } - Property { name: "defaultFileName"; type: "string"; isReadonly: true } - Property { name: "acceptedMimeTypes"; type: "QStringList"; isReadonly: true } - Property { name: "mode"; type: "FileMode"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - Method { - name: "dialogAccept" - Parameter { name: "files"; type: "QStringList" } - } - Method { name: "dialogReject" } - } - Component { - name: "QQuickWebEngineFormValidationMessageRequest" - prototype: "QObject" - exports: ["QtWebEngine/FormValidationMessageRequest 1.4"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "RequestType" - values: { - "Show": 0, - "Hide": 1, - "Move": 2 - } - } - Property { name: "anchor"; type: "QRect"; isReadonly: true } - Property { name: "text"; type: "string"; isReadonly: true } - Property { name: "subText"; type: "string"; isReadonly: true } - Property { name: "type"; type: "RequestType"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - } - Component { - name: "QQuickWebEngineFullScreenRequest" - exports: ["QtWebEngine/FullScreenRequest 1.1"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "origin"; type: "QUrl"; isReadonly: true } - Property { name: "toggleOn"; type: "bool"; isReadonly: true } - Method { name: "accept" } - Method { name: "reject" } - } - Component { - name: "QQuickWebEngineHistory" - defaultProperty: "data" - prototype: "QQuickItem" - exports: ["QtWebEngine/NavigationHistory 1.1"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { - name: "items" - type: "QQuickWebEngineHistoryListModel" - isReadonly: true - isPointer: true - } - Property { - name: "backItems" - type: "QQuickWebEngineHistoryListModel" - isReadonly: true - isPointer: true - } - Property { - name: "forwardItems" - type: "QQuickWebEngineHistoryListModel" - isReadonly: true - isPointer: true - } - } - Component { - name: "QQuickWebEngineHistoryListModel" - prototype: "QAbstractListModel" - exports: ["QtWebEngine/NavigationHistoryListModel 1.1"] - isCreatable: false - exportMetaObjectRevisions: [0] - } - Component { - name: "QQuickWebEngineJavaScriptDialogRequest" - prototype: "QObject" - exports: ["QtWebEngine/JavaScriptDialogRequest 1.4"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "DialogType" - values: { - "DialogTypeAlert": 0, - "DialogTypeConfirm": 1, - "DialogTypePrompt": 2, - "DialogTypeBeforeUnload": 3 - } - } - Property { name: "message"; type: "string"; isReadonly: true } - Property { name: "defaultText"; type: "string"; isReadonly: true } - Property { name: "title"; type: "string"; isReadonly: true } - Property { name: "type"; type: "DialogType"; isReadonly: true } - Property { name: "securityOrigin"; type: "QUrl"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - Method { - name: "dialogAccept" - Parameter { name: "text"; type: "string" } - } - Method { name: "dialogAccept" } - Method { name: "dialogReject" } - } - Component { - name: "QQuickWebEngineLoadRequest" - prototype: "QObject" - exports: ["QtWebEngine/WebEngineLoadRequest 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "url"; type: "QUrl"; isReadonly: true } - Property { name: "status"; type: "QQuickWebEngineView::LoadStatus"; isReadonly: true } - Property { name: "errorString"; type: "string"; isReadonly: true } - Property { name: "errorDomain"; type: "QQuickWebEngineView::ErrorDomain"; isReadonly: true } - Property { name: "errorCode"; type: "int"; isReadonly: true } - } - Component { - name: "QQuickWebEngineNavigationRequest" - prototype: "QObject" - exports: ["QtWebEngine/WebEngineNavigationRequest 1.0"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "url"; type: "QUrl"; isReadonly: true } - Property { name: "isMainFrame"; type: "bool"; isReadonly: true } - Property { name: "action"; type: "QQuickWebEngineView::NavigationRequestAction" } - Property { - name: "navigationType" - type: "QQuickWebEngineView::NavigationType" - isReadonly: true - } - } - Component { - name: "QQuickWebEngineNewViewRequest" - prototype: "QObject" - exports: [ - "QtWebEngine/WebEngineNewViewRequest 1.1", - "QtWebEngine/WebEngineNewViewRequest 1.5" - ] - isCreatable: false - exportMetaObjectRevisions: [0, 1] - Property { - name: "destination" - type: "QQuickWebEngineView::NewViewDestination" - isReadonly: true - } - Property { name: "requestedUrl"; revision: 1; type: "QUrl"; isReadonly: true } - Property { name: "userInitiated"; type: "bool"; isReadonly: true } - Method { - name: "openIn" - Parameter { name: "view"; type: "QQuickWebEngineView"; isPointer: true } - } - } - Component { - name: "QQuickWebEngineProfile" - prototype: "QObject" - exports: [ - "QtWebEngine/WebEngineProfile 1.1", - "QtWebEngine/WebEngineProfile 1.2", - "QtWebEngine/WebEngineProfile 1.3", - "QtWebEngine/WebEngineProfile 1.4", - "QtWebEngine/WebEngineProfile 1.5", - "QtWebEngine/WebEngineProfile 1.9" - ] - exportMetaObjectRevisions: [0, 1, 2, 3, 4, 5] - Enum { - name: "HttpCacheType" - values: { - "MemoryHttpCache": 0, - "DiskHttpCache": 1, - "NoCache": 2 - } - } - Enum { - name: "PersistentCookiesPolicy" - values: { - "NoPersistentCookies": 0, - "AllowPersistentCookies": 1, - "ForcePersistentCookies": 2 - } - } - Property { name: "storageName"; type: "string" } - Property { name: "offTheRecord"; type: "bool" } - Property { name: "persistentStoragePath"; type: "string" } - Property { name: "cachePath"; type: "string" } - Property { name: "httpUserAgent"; type: "string" } - Property { name: "httpCacheType"; type: "HttpCacheType" } - Property { name: "httpAcceptLanguage"; revision: 1; type: "string" } - Property { name: "persistentCookiesPolicy"; type: "PersistentCookiesPolicy" } - Property { name: "httpCacheMaximumSize"; type: "int" } - Property { name: "spellCheckLanguages"; revision: 3; type: "QStringList" } - Property { name: "spellCheckEnabled"; revision: 3; type: "bool" } - Property { - name: "userScripts" - revision: 4 - type: "QQuickWebEngineScript" - isList: true - isReadonly: true - } - Property { name: "useForGlobalCertificateVerification"; revision: 5; type: "bool" } - Property { name: "downloadPath"; revision: 5; type: "string" } - Signal { name: "httpAcceptLanguageChanged"; revision: 1 } - Signal { name: "spellCheckLanguagesChanged"; revision: 3 } - Signal { name: "spellCheckEnabledChanged"; revision: 3 } - Signal { name: "useForGlobalCertificateVerificationChanged"; revision: 5 } - Signal { name: "downloadPathChanged"; revision: 5 } - Signal { - name: "downloadRequested" - Parameter { name: "download"; type: "QQuickWebEngineDownloadItem"; isPointer: true } - } - Signal { - name: "downloadFinished" - Parameter { name: "download"; type: "QQuickWebEngineDownloadItem"; isPointer: true } - } - Signal { - name: "presentNotification" - revision: 5 - Parameter { name: "notification"; type: "QWebEngineNotification"; isPointer: true } - } - Method { name: "clearHttpCache"; revision: 2 } - } - Component { - name: "QQuickWebEngineScript" - prototype: "QObject" - exports: ["QtWebEngine/WebEngineScript 1.1"] - exportMetaObjectRevisions: [0] - Enum { - name: "InjectionPoint" - values: { - "Deferred": 0, - "DocumentReady": 1, - "DocumentCreation": 2 - } - } - Enum { - name: "ScriptWorldId" - values: { - "MainWorld": 0, - "ApplicationWorld": 1, - "UserWorld": 2 - } - } - Property { name: "name"; type: "string" } - Property { name: "sourceUrl"; type: "QUrl" } - Property { name: "sourceCode"; type: "string" } - Property { name: "injectionPoint"; type: "InjectionPoint" } - Property { name: "worldId"; type: "ScriptWorldId" } - Property { name: "runOnSubframes"; type: "bool" } - Signal { - name: "nameChanged" - Parameter { name: "name"; type: "string" } - } - Signal { - name: "sourceUrlChanged" - Parameter { name: "url"; type: "QUrl" } - } - Signal { - name: "sourceCodeChanged" - Parameter { name: "code"; type: "string" } - } - Signal { - name: "injectionPointChanged" - Parameter { name: "injectionPoint"; type: "InjectionPoint" } - } - Signal { - name: "worldIdChanged" - Parameter { name: "scriptWorldId"; type: "ScriptWorldId" } - } - Signal { - name: "runOnSubframesChanged" - Parameter { name: "on"; type: "bool" } - } - Method { name: "toString"; type: "string" } - Method { - name: "setName" - Parameter { name: "name"; type: "string" } - } - Method { - name: "setSourceUrl" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "setSourceCode" - Parameter { name: "code"; type: "string" } - } - Method { - name: "setInjectionPoint" - Parameter { name: "injectionPoint"; type: "InjectionPoint" } - } - Method { - name: "setWorldId" - Parameter { name: "scriptWorldId"; type: "ScriptWorldId" } - } - Method { - name: "setRunOnSubframes" - Parameter { name: "on"; type: "bool" } - } - } - Component { - name: "QQuickWebEngineSettings" - prototype: "QObject" - exports: [ - "QtWebEngine/WebEngineSettings 1.1", - "QtWebEngine/WebEngineSettings 1.2", - "QtWebEngine/WebEngineSettings 1.3", - "QtWebEngine/WebEngineSettings 1.4", - "QtWebEngine/WebEngineSettings 1.5", - "QtWebEngine/WebEngineSettings 1.6", - "QtWebEngine/WebEngineSettings 1.7", - "QtWebEngine/WebEngineSettings 1.8", - "QtWebEngine/WebEngineSettings 1.9" - ] - isCreatable: false - exportMetaObjectRevisions: [0, 1, 2, 3, 4, 5, 6, 7, 8] - Enum { - name: "UnknownUrlSchemePolicy" - values: { - "DisallowUnknownUrlSchemes": 1, - "AllowUnknownUrlSchemesFromUserInteraction": 2, - "AllowAllUnknownUrlSchemes": 3 - } - } - Property { name: "autoLoadImages"; type: "bool" } - Property { name: "javascriptEnabled"; type: "bool" } - Property { name: "javascriptCanOpenWindows"; type: "bool" } - Property { name: "javascriptCanAccessClipboard"; type: "bool" } - Property { name: "linksIncludedInFocusChain"; type: "bool" } - Property { name: "localStorageEnabled"; type: "bool" } - Property { name: "localContentCanAccessRemoteUrls"; type: "bool" } - Property { name: "spatialNavigationEnabled"; type: "bool" } - Property { name: "localContentCanAccessFileUrls"; type: "bool" } - Property { name: "hyperlinkAuditingEnabled"; type: "bool" } - Property { name: "errorPageEnabled"; type: "bool" } - Property { name: "pluginsEnabled"; type: "bool" } - Property { name: "fullScreenSupportEnabled"; revision: 1; type: "bool" } - Property { name: "defaultTextEncoding"; type: "string" } - Property { name: "screenCaptureEnabled"; revision: 2; type: "bool" } - Property { name: "webGLEnabled"; revision: 2; type: "bool" } - Property { name: "accelerated2dCanvasEnabled"; revision: 2; type: "bool" } - Property { name: "autoLoadIconsForPage"; revision: 2; type: "bool" } - Property { name: "touchIconsEnabled"; revision: 2; type: "bool" } - Property { name: "focusOnNavigationEnabled"; revision: 3; type: "bool" } - Property { name: "printElementBackgrounds"; revision: 3; type: "bool" } - Property { name: "allowRunningInsecureContent"; revision: 3; type: "bool" } - Property { name: "allowGeolocationOnInsecureOrigins"; revision: 4; type: "bool" } - Property { name: "allowWindowActivationFromJavaScript"; revision: 5; type: "bool" } - Property { name: "showScrollBars"; revision: 5; type: "bool" } - Property { name: "unknownUrlSchemePolicy"; revision: 6; type: "UnknownUrlSchemePolicy" } - Property { name: "playbackRequiresUserGesture"; revision: 6; type: "bool" } - Property { name: "webRTCPublicInterfacesOnly"; revision: 6; type: "bool" } - Property { name: "javascriptCanPaste"; revision: 6; type: "bool" } - Property { name: "dnsPrefetchEnabled"; revision: 7; type: "bool" } - Property { name: "pdfViewerEnabled"; revision: 8; type: "bool" } - Signal { name: "fullScreenSupportEnabledChanged"; revision: 1 } - Signal { name: "screenCaptureEnabledChanged"; revision: 2 } - Signal { name: "webGLEnabledChanged"; revision: 2 } - Signal { name: "accelerated2dCanvasEnabledChanged"; revision: 2 } - Signal { name: "autoLoadIconsForPageChanged"; revision: 2 } - Signal { name: "touchIconsEnabledChanged"; revision: 2 } - Signal { name: "focusOnNavigationEnabledChanged"; revision: 3 } - Signal { name: "printElementBackgroundsChanged"; revision: 3 } - Signal { name: "allowRunningInsecureContentChanged"; revision: 3 } - Signal { name: "allowGeolocationOnInsecureOriginsChanged"; revision: 4 } - Signal { name: "allowWindowActivationFromJavaScriptChanged"; revision: 5 } - Signal { name: "showScrollBarsChanged"; revision: 5 } - Signal { name: "unknownUrlSchemePolicyChanged"; revision: 6 } - Signal { name: "playbackRequiresUserGestureChanged"; revision: 6 } - Signal { name: "webRTCPublicInterfacesOnlyChanged"; revision: 6 } - Signal { name: "javascriptCanPasteChanged"; revision: 6 } - Signal { name: "dnsPrefetchEnabledChanged"; revision: 7 } - Signal { name: "pdfViewerEnabledChanged"; revision: 8 } - } - Component { - name: "QQuickWebEngineSingleton" - prototype: "QObject" - exports: ["QtWebEngine/WebEngine 1.1"] - isCreatable: false - isSingleton: true - exportMetaObjectRevisions: [0] - Property { name: "settings"; type: "QQuickWebEngineSettings"; isReadonly: true; isPointer: true } - Property { - name: "defaultProfile" - revision: 1 - type: "QQuickWebEngineProfile" - isReadonly: true - isPointer: true - } - } - Component { - name: "QQuickWebEngineTooltipRequest" - prototype: "QObject" - exports: ["QtWebEngine/TooltipRequest 1.10"] - isCreatable: false - exportMetaObjectRevisions: [0] - Enum { - name: "RequestType" - values: { - "Show": 0, - "Hide": 1 - } - } - Property { name: "x"; type: "int"; isReadonly: true } - Property { name: "y"; type: "int"; isReadonly: true } - Property { name: "text"; type: "string"; isReadonly: true } - Property { name: "type"; type: "RequestType"; isReadonly: true } - Property { name: "accepted"; type: "bool" } - } - Component { - name: "QQuickWebEngineView" - defaultProperty: "data" - prototype: "QQuickItem" - exports: [ - "QtWebEngine/WebEngineView 1.0", - "QtWebEngine/WebEngineView 1.1", - "QtWebEngine/WebEngineView 1.10", - "QtWebEngine/WebEngineView 1.2", - "QtWebEngine/WebEngineView 1.3", - "QtWebEngine/WebEngineView 1.4", - "QtWebEngine/WebEngineView 1.5", - "QtWebEngine/WebEngineView 1.6", - "QtWebEngine/WebEngineView 1.7", - "QtWebEngine/WebEngineView 1.8", - "QtWebEngine/WebEngineView 1.9" - ] - exportMetaObjectRevisions: [0, 1, 10, 2, 3, 4, 5, 6, 7, 8, 9] - Enum { - name: "NavigationRequestAction" - values: { - "AcceptRequest": 0, - "IgnoreRequest": 255 - } - } - Enum { - name: "NavigationType" - values: { - "LinkClickedNavigation": 0, - "TypedNavigation": 1, - "FormSubmittedNavigation": 2, - "BackForwardNavigation": 3, - "ReloadNavigation": 4, - "OtherNavigation": 5, - "RedirectNavigation": 6 - } - } - Enum { - name: "LoadStatus" - values: { - "LoadStartedStatus": 0, - "LoadStoppedStatus": 1, - "LoadSucceededStatus": 2, - "LoadFailedStatus": 3 - } - } - Enum { - name: "ErrorDomain" - values: { - "NoErrorDomain": 0, - "InternalErrorDomain": 1, - "ConnectionErrorDomain": 2, - "CertificateErrorDomain": 3, - "HttpErrorDomain": 4, - "FtpErrorDomain": 5, - "DnsErrorDomain": 6 - } - } - Enum { - name: "NewViewDestination" - values: { - "NewViewInWindow": 0, - "NewViewInTab": 1, - "NewViewInDialog": 2, - "NewViewInBackgroundTab": 3 - } - } - Enum { - name: "Feature" - values: { - "MediaAudioCapture": 0, - "MediaVideoCapture": 1, - "MediaAudioVideoCapture": 2, - "Geolocation": 3, - "DesktopVideoCapture": 4, - "DesktopAudioVideoCapture": 5, - "Notifications": 6 - } - } - Enum { - name: "WebAction" - values: { - "NoWebAction": -1, - "Back": 0, - "Forward": 1, - "Stop": 2, - "Reload": 3, - "Cut": 4, - "Copy": 5, - "Paste": 6, - "Undo": 7, - "Redo": 8, - "SelectAll": 9, - "ReloadAndBypassCache": 10, - "PasteAndMatchStyle": 11, - "OpenLinkInThisWindow": 12, - "OpenLinkInNewWindow": 13, - "OpenLinkInNewTab": 14, - "CopyLinkToClipboard": 15, - "DownloadLinkToDisk": 16, - "CopyImageToClipboard": 17, - "CopyImageUrlToClipboard": 18, - "DownloadImageToDisk": 19, - "CopyMediaUrlToClipboard": 20, - "ToggleMediaControls": 21, - "ToggleMediaLoop": 22, - "ToggleMediaPlayPause": 23, - "ToggleMediaMute": 24, - "DownloadMediaToDisk": 25, - "InspectElement": 26, - "ExitFullScreen": 27, - "RequestClose": 28, - "Unselect": 29, - "SavePage": 30, - "ViewSource": 31, - "ToggleBold": 32, - "ToggleItalic": 33, - "ToggleUnderline": 34, - "ToggleStrikethrough": 35, - "AlignLeft": 36, - "AlignCenter": 37, - "AlignRight": 38, - "AlignJustified": 39, - "Indent": 40, - "Outdent": 41, - "InsertOrderedList": 42, - "InsertUnorderedList": 43, - "WebActionCount": 44 - } - } - Enum { - name: "JavaScriptConsoleMessageLevel" - values: { - "InfoMessageLevel": 0, - "WarningMessageLevel": 1, - "ErrorMessageLevel": 2 - } - } - Enum { - name: "RenderProcessTerminationStatus" - values: { - "NormalTerminationStatus": 0, - "AbnormalTerminationStatus": 1, - "CrashedTerminationStatus": 2, - "KilledTerminationStatus": 3 - } - } - Enum { - name: "FindFlags" - values: { - "FindBackward": 1, - "FindCaseSensitively": 2 - } - } - Enum { - name: "PrintedPageSizeId" - values: { - "A4": 0, - "B5": 1, - "Letter": 2, - "Legal": 3, - "Executive": 4, - "A0": 5, - "A1": 6, - "A2": 7, - "A3": 8, - "A5": 9, - "A6": 10, - "A7": 11, - "A8": 12, - "A9": 13, - "B0": 14, - "B1": 15, - "B10": 16, - "B2": 17, - "B3": 18, - "B4": 19, - "B6": 20, - "B7": 21, - "B8": 22, - "B9": 23, - "C5E": 24, - "Comm10E": 25, - "DLE": 26, - "Folio": 27, - "Ledger": 28, - "Tabloid": 29, - "Custom": 30, - "A10": 31, - "A3Extra": 32, - "A4Extra": 33, - "A4Plus": 34, - "A4Small": 35, - "A5Extra": 36, - "B5Extra": 37, - "JisB0": 38, - "JisB1": 39, - "JisB2": 40, - "JisB3": 41, - "JisB4": 42, - "JisB5": 43, - "JisB6": 44, - "JisB7": 45, - "JisB8": 46, - "JisB9": 47, - "JisB10": 48, - "AnsiC": 49, - "AnsiD": 50, - "AnsiE": 51, - "LegalExtra": 52, - "LetterExtra": 53, - "LetterPlus": 54, - "LetterSmall": 55, - "TabloidExtra": 56, - "ArchA": 57, - "ArchB": 58, - "ArchC": 59, - "ArchD": 60, - "ArchE": 61, - "Imperial7x9": 62, - "Imperial8x10": 63, - "Imperial9x11": 64, - "Imperial9x12": 65, - "Imperial10x11": 66, - "Imperial10x13": 67, - "Imperial10x14": 68, - "Imperial12x11": 69, - "Imperial15x11": 70, - "ExecutiveStandard": 71, - "Note": 72, - "Quarto": 73, - "Statement": 74, - "SuperA": 75, - "SuperB": 76, - "Postcard": 77, - "DoublePostcard": 78, - "Prc16K": 79, - "Prc32K": 80, - "Prc32KBig": 81, - "FanFoldUS": 82, - "FanFoldGerman": 83, - "FanFoldGermanLegal": 84, - "EnvelopeB4": 85, - "EnvelopeB5": 86, - "EnvelopeB6": 87, - "EnvelopeC0": 88, - "EnvelopeC1": 89, - "EnvelopeC2": 90, - "EnvelopeC3": 91, - "EnvelopeC4": 92, - "EnvelopeC6": 93, - "EnvelopeC65": 94, - "EnvelopeC7": 95, - "Envelope9": 96, - "Envelope11": 97, - "Envelope12": 98, - "Envelope14": 99, - "EnvelopeMonarch": 100, - "EnvelopePersonal": 101, - "EnvelopeChou3": 102, - "EnvelopeChou4": 103, - "EnvelopeInvite": 104, - "EnvelopeItalian": 105, - "EnvelopeKaku2": 106, - "EnvelopeKaku3": 107, - "EnvelopePrc1": 108, - "EnvelopePrc2": 109, - "EnvelopePrc3": 110, - "EnvelopePrc4": 111, - "EnvelopePrc5": 112, - "EnvelopePrc6": 113, - "EnvelopePrc7": 114, - "EnvelopePrc8": 115, - "EnvelopePrc9": 116, - "EnvelopePrc10": 117, - "EnvelopeYou4": 118, - "LastPageSize": 118, - "NPageSize": 118, - "NPaperSize": 118, - "AnsiA": 2, - "AnsiB": 28, - "EnvelopeC5": 24, - "EnvelopeDL": 26, - "Envelope10": 25 - } - } - Enum { - name: "PrintedPageOrientation" - values: { - "Portrait": 0, - "Landscape": 1 - } - } - Enum { - name: "LifecycleState" - values: { - "Active": 0, - "Frozen": 1, - "Discarded": 2 - } - } - Property { name: "url"; type: "QUrl" } - Property { name: "icon"; type: "QUrl"; isReadonly: true } - Property { name: "loading"; type: "bool"; isReadonly: true } - Property { name: "loadProgress"; type: "int"; isReadonly: true } - Property { name: "title"; type: "string"; isReadonly: true } - Property { name: "canGoBack"; type: "bool"; isReadonly: true } - Property { name: "canGoForward"; type: "bool"; isReadonly: true } - Property { name: "isFullScreen"; revision: 1; type: "bool"; isReadonly: true } - Property { name: "zoomFactor"; revision: 1; type: "double" } - Property { name: "profile"; revision: 1; type: "QQuickWebEngineProfile"; isPointer: true } - Property { - name: "settings" - revision: 1 - type: "QQuickWebEngineSettings" - isReadonly: true - isPointer: true - } - Property { - name: "navigationHistory" - revision: 1 - type: "QQuickWebEngineHistory" - isReadonly: true - isPointer: true - } - Property { name: "webChannel"; revision: 1; type: "QQmlWebChannel"; isPointer: true } - Property { - name: "userScripts" - revision: 1 - type: "QQuickWebEngineScript" - isList: true - isReadonly: true - } - Property { name: "activeFocusOnPress"; revision: 2; type: "bool" } - Property { name: "backgroundColor"; revision: 2; type: "QColor" } - Property { name: "contentsSize"; revision: 3; type: "QSizeF"; isReadonly: true } - Property { name: "scrollPosition"; revision: 3; type: "QPointF"; isReadonly: true } - Property { name: "audioMuted"; revision: 3; type: "bool" } - Property { name: "recentlyAudible"; revision: 3; type: "bool"; isReadonly: true } - Property { name: "webChannelWorld"; revision: 3; type: "uint" } - Property { name: "inspectedView"; revision: 7; type: "QQuickWebEngineView"; isPointer: true } - Property { name: "devToolsView"; revision: 7; type: "QQuickWebEngineView"; isPointer: true } - Property { name: "lifecycleState"; revision: 10; type: "LifecycleState" } - Property { name: "recommendedState"; revision: 10; type: "LifecycleState"; isReadonly: true } - Property { name: "renderProcessId"; revision: 11; type: "qint64"; isReadonly: true } - Signal { - name: "loadingChanged" - Parameter { name: "loadRequest"; type: "QQuickWebEngineLoadRequest"; isPointer: true } - } - Signal { - name: "linkHovered" - Parameter { name: "hoveredUrl"; type: "QUrl" } - } - Signal { - name: "navigationRequested" - Parameter { name: "request"; type: "QQuickWebEngineNavigationRequest"; isPointer: true } - } - Signal { - name: "javaScriptConsoleMessage" - Parameter { name: "level"; type: "JavaScriptConsoleMessageLevel" } - Parameter { name: "message"; type: "string" } - Parameter { name: "lineNumber"; type: "int" } - Parameter { name: "sourceID"; type: "string" } - } - Signal { - name: "certificateError" - revision: 1 - Parameter { name: "error"; type: "QQuickWebEngineCertificateError"; isPointer: true } - } - Signal { - name: "fullScreenRequested" - revision: 1 - Parameter { name: "request"; type: "QQuickWebEngineFullScreenRequest" } - } - Signal { name: "isFullScreenChanged"; revision: 1 } - Signal { - name: "featurePermissionRequested" - revision: 1 - Parameter { name: "securityOrigin"; type: "QUrl" } - Parameter { name: "feature"; type: "Feature" } - } - Signal { - name: "newViewRequested" - revision: 1 - Parameter { name: "request"; type: "QQuickWebEngineNewViewRequest"; isPointer: true } - } - Signal { - name: "zoomFactorChanged" - revision: 1 - Parameter { name: "arg"; type: "double" } - } - Signal { name: "profileChanged"; revision: 1 } - Signal { name: "webChannelChanged"; revision: 1 } - Signal { - name: "activeFocusOnPressChanged" - revision: 2 - Parameter { type: "bool" } - } - Signal { name: "backgroundColorChanged"; revision: 2 } - Signal { - name: "renderProcessTerminated" - revision: 2 - Parameter { name: "terminationStatus"; type: "RenderProcessTerminationStatus" } - Parameter { name: "exitCode"; type: "int" } - } - Signal { name: "windowCloseRequested"; revision: 2 } - Signal { - name: "contentsSizeChanged" - revision: 3 - Parameter { name: "size"; type: "QSizeF" } - } - Signal { - name: "scrollPositionChanged" - revision: 3 - Parameter { name: "position"; type: "QPointF" } - } - Signal { - name: "audioMutedChanged" - revision: 3 - Parameter { name: "muted"; type: "bool" } - } - Signal { - name: "recentlyAudibleChanged" - revision: 3 - Parameter { name: "recentlyAudible"; type: "bool" } - } - Signal { - name: "webChannelWorldChanged" - revision: 3 - Parameter { type: "uint" } - } - Signal { - name: "contextMenuRequested" - revision: 4 - Parameter { name: "request"; type: "QQuickWebEngineContextMenuRequest"; isPointer: true } - } - Signal { - name: "authenticationDialogRequested" - revision: 4 - Parameter { - name: "request" - type: "QQuickWebEngineAuthenticationDialogRequest" - isPointer: true - } - } - Signal { - name: "javaScriptDialogRequested" - revision: 4 - Parameter { name: "request"; type: "QQuickWebEngineJavaScriptDialogRequest"; isPointer: true } - } - Signal { - name: "colorDialogRequested" - revision: 4 - Parameter { name: "request"; type: "QQuickWebEngineColorDialogRequest"; isPointer: true } - } - Signal { - name: "fileDialogRequested" - revision: 4 - Parameter { name: "request"; type: "QQuickWebEngineFileDialogRequest"; isPointer: true } - } - Signal { - name: "formValidationMessageRequested" - revision: 4 - Parameter { - name: "request" - type: "QQuickWebEngineFormValidationMessageRequest" - isPointer: true - } - } - Signal { - name: "pdfPrintingFinished" - revision: 5 - Parameter { name: "filePath"; type: "string" } - Parameter { name: "success"; type: "bool" } - } - Signal { - name: "quotaRequested" - revision: 7 - Parameter { name: "request"; type: "QWebEngineQuotaRequest" } - } - Signal { - name: "geometryChangeRequested" - revision: 7 - Parameter { name: "geometry"; type: "QRect" } - Parameter { name: "frameGeometry"; type: "QRect" } - } - Signal { name: "inspectedViewChanged"; revision: 7 } - Signal { name: "devToolsViewChanged"; revision: 7 } - Signal { - name: "registerProtocolHandlerRequested" - revision: 7 - Parameter { name: "request"; type: "QWebEngineRegisterProtocolHandlerRequest" } - } - Signal { name: "printRequested"; revision: 8 } - Signal { - name: "selectClientCertificate" - revision: 9 - Parameter { - name: "clientCertSelection" - type: "QQuickWebEngineClientCertificateSelection" - isPointer: true - } - } - Signal { - name: "tooltipRequested" - revision: 10 - Parameter { name: "request"; type: "QQuickWebEngineTooltipRequest"; isPointer: true } - } - Signal { - name: "lifecycleStateChanged" - revision: 10 - Parameter { name: "state"; type: "LifecycleState" } - } - Signal { - name: "recommendedStateChanged" - revision: 10 - Parameter { name: "state"; type: "LifecycleState" } - } - Signal { - name: "findTextFinished" - revision: 10 - Parameter { name: "result"; type: "QWebEngineFindTextResult" } - } - Signal { - name: "renderProcessPidChanged" - revision: 11 - Parameter { name: "pid"; type: "qint64" } - } - Method { - name: "runJavaScript" - Parameter { type: "string" } - Parameter { type: "QJSValue" } - } - Method { - name: "runJavaScript" - Parameter { type: "string" } - } - Method { - name: "runJavaScript" - revision: 3 - Parameter { type: "string" } - Parameter { name: "worldId"; type: "uint" } - Parameter { type: "QJSValue" } - } - Method { - name: "runJavaScript" - revision: 3 - Parameter { type: "string" } - Parameter { name: "worldId"; type: "uint" } - } - Method { - name: "loadHtml" - Parameter { name: "html"; type: "string" } - Parameter { name: "baseUrl"; type: "QUrl" } - } - Method { - name: "loadHtml" - Parameter { name: "html"; type: "string" } - } - Method { name: "goBack" } - Method { name: "goForward" } - Method { - name: "goBackOrForward" - revision: 1 - Parameter { name: "index"; type: "int" } - } - Method { name: "reload" } - Method { name: "reloadAndBypassCache"; revision: 1 } - Method { name: "stop" } - Method { - name: "findText" - revision: 1 - Parameter { name: "subString"; type: "string" } - Parameter { name: "options"; type: "FindFlags" } - Parameter { name: "callback"; type: "QJSValue" } - } - Method { - name: "findText" - revision: 1 - Parameter { name: "subString"; type: "string" } - Parameter { name: "options"; type: "FindFlags" } - } - Method { - name: "findText" - revision: 1 - Parameter { name: "subString"; type: "string" } - } - Method { name: "fullScreenCancelled"; revision: 1 } - Method { - name: "grantFeaturePermission" - revision: 1 - Parameter { name: "securityOrigin"; type: "QUrl" } - Parameter { type: "Feature" } - Parameter { name: "granted"; type: "bool" } - } - Method { - name: "setActiveFocusOnPress" - revision: 2 - Parameter { name: "arg"; type: "bool" } - } - Method { - name: "triggerWebAction" - revision: 2 - Parameter { name: "action"; type: "WebAction" } - } - Method { - name: "printToPdf" - revision: 3 - Parameter { name: "filePath"; type: "string" } - Parameter { name: "pageSizeId"; type: "PrintedPageSizeId" } - Parameter { name: "orientation"; type: "PrintedPageOrientation" } - } - Method { - name: "printToPdf" - revision: 3 - Parameter { name: "filePath"; type: "string" } - Parameter { name: "pageSizeId"; type: "PrintedPageSizeId" } - } - Method { - name: "printToPdf" - revision: 3 - Parameter { name: "filePath"; type: "string" } - } - Method { - name: "printToPdf" - revision: 3 - Parameter { name: "callback"; type: "QJSValue" } - Parameter { name: "pageSizeId"; type: "PrintedPageSizeId" } - Parameter { name: "orientation"; type: "PrintedPageOrientation" } - } - Method { - name: "printToPdf" - revision: 3 - Parameter { name: "callback"; type: "QJSValue" } - Parameter { name: "pageSizeId"; type: "PrintedPageSizeId" } - } - Method { - name: "printToPdf" - revision: 3 - Parameter { name: "callback"; type: "QJSValue" } - } - Method { - name: "replaceMisspelledWord" - revision: 4 - Parameter { name: "replacement"; type: "string" } - } - Method { - name: "action" - revision: 8 - type: "QQuickWebEngineAction*" - Parameter { name: "action"; type: "WebAction" } - } - } - Component { - name: "QWebEngineFindTextResult" - exports: ["QtWebEngine/FindTextResult 1.10"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "numberOfMatches"; type: "int"; isReadonly: true } - Property { name: "activeMatchOrdinal"; type: "int"; isReadonly: true } - } - Component { - name: "QWebEngineNotification" - prototype: "QObject" - exports: ["QtWebEngine/WebEngineNotification 1.9"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "origin"; type: "QUrl"; isReadonly: true } - Property { name: "title"; type: "string"; isReadonly: true } - Property { name: "message"; type: "string"; isReadonly: true } - Property { name: "tag"; type: "string"; isReadonly: true } - Property { name: "language"; type: "string"; isReadonly: true } - Property { name: "direction"; type: "Qt::LayoutDirection"; isReadonly: true } - Signal { name: "closed" } - Method { name: "show" } - Method { name: "click" } - Method { name: "close" } - } - Component { - name: "QWebEngineQuotaRequest" - exports: ["QtWebEngine/QuotaRequest 1.7"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "origin"; type: "QUrl"; isReadonly: true } - Property { name: "requestedSize"; type: "qlonglong"; isReadonly: true } - Method { name: "accept" } - Method { name: "reject" } - } - Component { - name: "QWebEngineRegisterProtocolHandlerRequest" - exports: ["QtWebEngine/RegisterProtocolHandlerRequest 1.7"] - isCreatable: false - exportMetaObjectRevisions: [0] - Property { name: "origin"; type: "QUrl"; isReadonly: true } - Property { name: "scheme"; type: "string"; isReadonly: true } - Method { name: "accept" } - Method { name: "reject" } - } -} diff --git a/bin/QtWebEngine/qmldir b/bin/QtWebEngine/qmldir deleted file mode 100644 index 8970dc9c1..000000000 --- a/bin/QtWebEngine/qmldir +++ /dev/null @@ -1,4 +0,0 @@ -module QtWebEngine -plugin qtwebengineplugin -classname QtWebEnginePlugin -typeinfo plugins.qmltypes diff --git a/bin/QtWebEngine/qtwebengineplugin.dll b/bin/QtWebEngine/qtwebengineplugin.dll deleted file mode 100644 index f052eb4a1..000000000 Binary files a/bin/QtWebEngine/qtwebengineplugin.dll and /dev/null differ diff --git a/bin/QtWebEngineProcess.exe b/bin/QtWebEngineProcess.exe index c98e0cf0b..ab9caae5e 100644 Binary files a/bin/QtWebEngineProcess.exe and b/bin/QtWebEngineProcess.exe differ diff --git a/bin/angle_current/libEGL.dll b/bin/angle_current/libEGL.dll deleted file mode 100644 index 20ef9e2cd..000000000 Binary files a/bin/angle_current/libEGL.dll and /dev/null differ diff --git a/bin/angle_current/libGLESv2.dll b/bin/angle_current/libGLESv2.dll deleted file mode 100644 index 7b4b37628..000000000 Binary files a/bin/angle_current/libGLESv2.dll and /dev/null differ diff --git a/bin/angle_v1/libEGL.dll b/bin/angle_v1/libEGL.dll deleted file mode 100644 index 878d8d539..000000000 Binary files a/bin/angle_v1/libEGL.dll and /dev/null differ diff --git a/bin/angle_v1/libGLESv2.dll b/bin/angle_v1/libGLESv2.dll deleted file mode 100644 index 9a3427d5e..000000000 Binary files a/bin/angle_v1/libGLESv2.dll and /dev/null differ diff --git a/bin/client.en.qm b/bin/client.en.qm index 962ddaa81..b67f74ca7 100644 Binary files a/bin/client.en.qm and b/bin/client.en.qm differ diff --git a/bin/client.exe b/bin/client.exe index 7250f7b2a..3f759dd78 100644 Binary files a/bin/client.exe and b/bin/client.exe differ diff --git a/bin/d3dcompiler_43.dll b/bin/d3dcompiler_43.dll deleted file mode 100644 index 39be2489c..000000000 Binary files a/bin/d3dcompiler_43.dll and /dev/null differ diff --git a/bin/generic/qtuiotouchplugin.dll b/bin/generic/qtuiotouchplugin.dll new file mode 100644 index 000000000..6413f476f Binary files /dev/null and b/bin/generic/qtuiotouchplugin.dll differ diff --git a/bin/graphics_resources.rcc b/bin/graphics_resources.rcc index 999cfd88c..36df2af51 100644 Binary files a/bin/graphics_resources.rcc and b/bin/graphics_resources.rcc differ diff --git a/bin/imageformats/qgif.dll b/bin/imageformats/qgif.dll index bab59753b..e426e27c6 100644 Binary files a/bin/imageformats/qgif.dll and b/bin/imageformats/qgif.dll differ diff --git a/bin/imageformats/qjpeg.dll b/bin/imageformats/qjpeg.dll index 18f7218cd..0c6789819 100644 Binary files a/bin/imageformats/qjpeg.dll and b/bin/imageformats/qjpeg.dll differ diff --git a/bin/imageformats/qpdf.dll b/bin/imageformats/qpdf.dll deleted file mode 100644 index f88235a1b..000000000 Binary files a/bin/imageformats/qpdf.dll and /dev/null differ diff --git a/bin/libcrypto-1_1.dll b/bin/libcrypto-1_1.dll deleted file mode 100644 index ce80eb42c..000000000 Binary files a/bin/libcrypto-1_1.dll and /dev/null differ diff --git a/bin/libssl-1_1.dll b/bin/libssl-1_1.dll deleted file mode 100644 index c5a1fe530..000000000 Binary files a/bin/libssl-1_1.dll and /dev/null differ diff --git a/bin/msvcp120.dll b/bin/msvcp120.dll deleted file mode 100644 index a237d2d77..000000000 Binary files a/bin/msvcp120.dll and /dev/null differ diff --git a/bin/msvcp140.dll b/bin/msvcp140.dll deleted file mode 100644 index e51c29e62..000000000 Binary files a/bin/msvcp140.dll and /dev/null differ diff --git a/bin/msvcp140_1.dll b/bin/msvcp140_1.dll deleted file mode 100644 index acece3d9a..000000000 Binary files a/bin/msvcp140_1.dll and /dev/null differ diff --git a/bin/msvcr120.dll b/bin/msvcr120.dll deleted file mode 100644 index 8c36149a6..000000000 Binary files a/bin/msvcr120.dll and /dev/null differ diff --git a/bin/networkinformation/qnetworklistmanager.dll b/bin/networkinformation/qnetworklistmanager.dll new file mode 100644 index 000000000..a8143cad8 Binary files /dev/null and b/bin/networkinformation/qnetworklistmanager.dll differ diff --git a/bin/platforms/qwindows.dll b/bin/platforms/qwindows.dll index 1cf607d47..b10c3f386 100644 Binary files a/bin/platforms/qwindows.dll and b/bin/platforms/qwindows.dll differ diff --git a/bin/qml/Qt/labs/folderlistmodel/plugins.qmltypes b/bin/qml/Qt/labs/folderlistmodel/plugins.qmltypes new file mode 100644 index 000000000..4231faaa9 --- /dev/null +++ b/bin/qml/Qt/labs/folderlistmodel/plugins.qmltypes @@ -0,0 +1,211 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickfolderlistmodel_p.h" + name: "QQuickFolderListModel" + accessSemantics: "reference" + prototype: "QAbstractListModel" + interfaces: ["QQmlParserStatus"] + exports: [ + "Qt.labs.folderlistmodel/FolderListModel 1.0", + "Qt.labs.folderlistmodel/FolderListModel 2.1", + "Qt.labs.folderlistmodel/FolderListModel 2.2", + "Qt.labs.folderlistmodel/FolderListModel 2.11", + "Qt.labs.folderlistmodel/FolderListModel 2.12", + "Qt.labs.folderlistmodel/FolderListModel 6.0", + "Qt.labs.folderlistmodel/FolderListModel 6.4" + ] + exportMetaObjectRevisions: [256, 513, 514, 523, 524, 1536, 1540] + Enum { + name: "SortField" + values: ["Unsorted", "Name", "Time", "Size", "Type"] + } + Enum { + name: "Status" + values: ["Null", "Ready", "Loading"] + } + Property { + name: "folder" + type: "QUrl" + read: "folder" + write: "setFolder" + notify: "folderChanged" + index: 0 + isFinal: true + } + Property { + name: "rootFolder" + type: "QUrl" + read: "rootFolder" + write: "setRootFolder" + index: 1 + isFinal: true + } + Property { + name: "parentFolder" + type: "QUrl" + read: "parentFolder" + notify: "folderChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "nameFilters" + type: "QStringList" + read: "nameFilters" + write: "setNameFilters" + index: 3 + isFinal: true + } + Property { + name: "sortField" + type: "SortField" + read: "sortField" + write: "setSortField" + index: 4 + isFinal: true + } + Property { + name: "sortReversed" + type: "bool" + read: "sortReversed" + write: "setSortReversed" + index: 5 + isFinal: true + } + Property { + name: "showFiles" + revision: 513 + type: "bool" + read: "showFiles" + write: "setShowFiles" + index: 6 + isFinal: true + } + Property { + name: "showDirs" + type: "bool" + read: "showDirs" + write: "setShowDirs" + index: 7 + isFinal: true + } + Property { + name: "showDirsFirst" + type: "bool" + read: "showDirsFirst" + write: "setShowDirsFirst" + index: 8 + isFinal: true + } + Property { + name: "showDotAndDotDot" + type: "bool" + read: "showDotAndDotDot" + write: "setShowDotAndDotDot" + index: 9 + isFinal: true + } + Property { + name: "showHidden" + revision: 513 + type: "bool" + read: "showHidden" + write: "setShowHidden" + index: 10 + isFinal: true + } + Property { + name: "showOnlyReadable" + type: "bool" + read: "showOnlyReadable" + write: "setShowOnlyReadable" + index: 11 + isFinal: true + } + Property { + name: "caseSensitive" + revision: 514 + type: "bool" + read: "caseSensitive" + write: "setCaseSensitive" + index: 12 + isFinal: true + } + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "status" + revision: 523 + type: "Status" + read: "status" + notify: "statusChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "sortCaseSensitive" + revision: 524 + type: "bool" + read: "sortCaseSensitive" + write: "setSortCaseSensitive" + index: 15 + isFinal: true + } + Signal { name: "folderChanged" } + Signal { name: "rowCountChanged" } + Signal { name: "countChanged"; revision: 513 } + Signal { name: "statusChanged"; revision: 523 } + Method { + name: "_q_directoryChanged" + Parameter { name: "directory"; type: "QString" } + Parameter { name: "list"; type: "FileProperty"; isList: true } + } + Method { + name: "_q_directoryUpdated" + Parameter { name: "directory"; type: "QString" } + Parameter { name: "list"; type: "FileProperty"; isList: true } + Parameter { name: "fromIndex"; type: "int" } + Parameter { name: "toIndex"; type: "int" } + } + Method { + name: "_q_sortFinished" + Parameter { name: "list"; type: "FileProperty"; isList: true } + } + Method { + name: "_q_statusChanged" + Parameter { name: "s"; type: "QQuickFolderListModel::Status" } + } + Method { + name: "isFolder" + type: "bool" + Parameter { name: "index"; type: "int" } + } + Method { + name: "get" + type: "QVariant" + Parameter { name: "idx"; type: "int" } + Parameter { name: "property"; type: "QString" } + } + Method { + name: "indexOf" + type: "int" + Parameter { name: "file"; type: "QUrl" } + } + } +} diff --git a/bin/qml/Qt/labs/folderlistmodel/qmldir b/bin/qml/Qt/labs/folderlistmodel/qmldir new file mode 100644 index 000000000..5a61a7149 --- /dev/null +++ b/bin/qml/Qt/labs/folderlistmodel/qmldir @@ -0,0 +1,8 @@ +module Qt.labs.folderlistmodel +linktarget Qt6::qmlfolderlistmodelplugin +optional plugin qmlfolderlistmodelplugin +classname QmlFolderListModelPlugin +typeinfo plugins.qmltypes +depends QtQml.Models auto +prefer :/qt-project.org/imports/Qt/labs/folderlistmodel/ + diff --git a/bin/qml/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll b/bin/qml/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll new file mode 100644 index 000000000..ca97df38e Binary files /dev/null and b/bin/qml/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll differ diff --git a/bin/qml/Qt/labs/settings/plugins.qmltypes b/bin/qml/Qt/labs/settings/plugins.qmltypes new file mode 100644 index 000000000..3f7ef42fe --- /dev/null +++ b/bin/qml/Qt/labs/settings/plugins.qmltypes @@ -0,0 +1,56 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qqmlsettings_p.h" + name: "QQmlSettings" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: [ + "Qt.labs.settings/Settings 1.0", + "Qt.labs.settings/Settings 6.0" + ] + exportMetaObjectRevisions: [256, 1536] + Property { + name: "category" + type: "QString" + read: "category" + write: "setCategory" + index: 0 + isFinal: true + } + Property { + name: "fileName" + type: "QString" + read: "fileName" + write: "setFileName" + index: 1 + isFinal: true + } + Method { name: "_q_propertyChanged" } + Method { + name: "value" + type: "QVariant" + Parameter { name: "key"; type: "QString" } + Parameter { name: "defaultValue"; type: "QVariant" } + } + Method { + name: "value" + type: "QVariant" + isCloned: true + Parameter { name: "key"; type: "QString" } + } + Method { + name: "setValue" + Parameter { name: "key"; type: "QString" } + Parameter { name: "value"; type: "QVariant" } + } + Method { name: "sync" } + } +} diff --git a/bin/qml/Qt/labs/settings/qmldir b/bin/qml/Qt/labs/settings/qmldir new file mode 100644 index 000000000..86b086428 --- /dev/null +++ b/bin/qml/Qt/labs/settings/qmldir @@ -0,0 +1,7 @@ +module Qt.labs.settings +linktarget Qt6::qmlsettingsplugin +optional plugin qmlsettingsplugin +classname QmlSettingsPlugin +typeinfo plugins.qmltypes +prefer :/qt-project.org/imports/Qt/labs/settings/ + diff --git a/bin/qml/Qt/labs/settings/qmlsettingsplugin.dll b/bin/qml/Qt/labs/settings/qmlsettingsplugin.dll new file mode 100644 index 000000000..822b8b995 Binary files /dev/null and b/bin/qml/Qt/labs/settings/qmlsettingsplugin.dll differ diff --git a/bin/qml/Qt5Compat/GraphicalEffects/Blend.qml b/bin/qml/Qt5Compat/GraphicalEffects/Blend.qml new file mode 100644 index 000000000..3923363a2 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/Blend.qml @@ -0,0 +1,447 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype Blend + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blend + \brief Merges two source items by using a blend mode. + + Blend mode can be selected with the \l{Blend::mode}{mode} property. + + \table + \header + \li source + \li foregroundSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image Original_butterfly.png + \li \image Blend_bug_and_butterfly.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet Blend-example.qml example + +*/ + +Item { + id: rootItem + + /*! + This property defines the source item that is going to be the base when + \l{Blend::foregroundSource}{foregroundSource} is blended over it. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the item that is going to be blended over the + \l{Blend::source}{source}. + + \note It is not supported to let the effect include itself, for + instance by setting foregroundSource to the effect's parent. + */ + property variant foregroundSource + + /*! + This property defines the mode which is used when foregroundSource is + blended over source. Values are case insensitive. + + \table + \header + \li mode + \li description + \row + \li normal + \li The pixel component values from foregroundSource are written + over source by using alpha blending. + \row + \li addition + \li The pixel component values from source and foregroundSource are + added together and written. + \row + \li average + \li The pixel component values from source and foregroundSource are + averaged and written. + \row + \li color + \li The lightness value from source is combined with hue and + saturation from foregroundSource and written. + \row + \li colorBurn + \li The darker pixels from source are darkened more, if both source + and foregroundSource pixels are light the result is light. + \row + \li colorDodge + \li The lighter pixels from source are lightened more, if both + source and foregroundSource pixels are dark the result is dark. + \row + \li darken + \li The darker pixel component value from source and + foregroundSource is written. + \row + \li darkerColor + \li The lower luminance pixel rgb-value from source and + foregroundSource is written. + \row + \li difference + \li The absolute pixel component value difference between source and + foregroundSource is written. + \row + \li divide + \li The pixel component values from source is divided by the value + from foregroundSource and written. + \row + \li exclusion + \li The pixel component value difference with reduced contrast + between source and foregroundSource is written. + \row + \li hardLight + \li The pixel component values from source are lightened or darkened + according to foregroundSource values and written. + \row + \li hue + \li The hue value from foregroundSource is combined with saturation + and lightness from source and written. + \row + \li lighten + \li The lightest pixel component value from source and + foregroundSource is written. + \row + \li lighterColor + \li The higher luminance pixel rgb-value from source and + foregroundSource is written. + \row + \li lightness + \li The lightness value from foregroundSource is combined with hue + and saturation from source and written. + \row + \li multiply + \li The pixel component values from source and foregroundSource are + multiplied together and written. + \row + \li negation + \li The inverted absolute pixel component value difference between + source and foregroundSource is written. + \row + \li saturation + \li The saturation value from foregroundSource is combined with hue + and lightness from source and written. + \row + \li screen + \li The pixel values from source and foregroundSource are negated, + then multiplied, negated again, and written. + \row + \li subtract + \li Pixel value from foregroundSource is subracted from source and + written. + \row + \li softLight + \li The pixel component values from source are lightened or darkened + slightly according to foregroundSource values and written. + + \endtable + + \table + \header + \li Example source + \li Example foregroundSource + \row + \li \image Original_bug.png + \li \image Original_butterfly.png + \endtable + + \table + \header + \li Output examples with different mode values + \li + \li + \row + \li \image Blend_mode1.png + \li \image Blend_mode2.png + \li \image Blend_mode3.png + \row + \li \b { mode: normal } + \li \b { mode: addition } + \li \b { mode: average } + \row + \li \image Blend_mode4.png + \li \image Blend_mode5.png + \li \image Blend_mode6.png + \row + \li \b { mode: color } + \li \b { mode: colorBurn } + \li \b { mode: colorDodge } + \row + \li \image Blend_mode7.png + \li \image Blend_mode8.png + \li \image Blend_mode9.png + \row + \li \b { mode: darken } + \li \b { mode: darkerColor } + \li \b { mode: difference } + \row + \li \image Blend_mode10.png + \li \image Blend_mode11.png + \li \image Blend_mode12.png + \row + \li \b { mode: divide } + \li \b { mode: exclusion } + \li \b { mode: hardlight } + \row + \li \image Blend_mode13.png + \li \image Blend_mode14.png + \li \image Blend_mode15.png + \row + \li \b { mode: hue } + \li \b { mode: lighten } + \li \b { mode: lighterColor } + \row + \li \image Blend_mode16.png + \li \image Blend_mode17.png + \li \image Blend_mode18.png + \row + \li \b { mode: lightness } + \li \b { mode: negation } + \li \b { mode: multiply } + \row + \li \image Blend_mode19.png + \li \image Blend_mode20.png + \li \image Blend_mode21.png + \row + \li \b { mode: saturation } + \li \b { mode: screen } + \li \b { mode: subtract } + \row + \li \image Blend_mode22.png + \row + \li \b { mode: softLight } + \endtable + */ + property string mode: "normal" + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in the + cache must be updated. Memory consumption is increased, because an extra + buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to false. + + */ + property bool cached: false + + SourceProxy { + id: backgroundSourceProxy + input: rootItem.source + } + + SourceProxy { + id: foregroundSourceProxy + input: rootItem.foregroundSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: backgroundSourceProxy.output + property variant foregroundSource: foregroundSourceProxy.output + property string mode: rootItem.mode + anchors.fill: parent + + function buildFragmentShader() { + var shader = fragmentShaderBegin + + switch (mode.toLowerCase()) { + case "addition" : shader += blendModeAddition; break; + case "average" : shader += blendModeAverage; break; + case "color" : shader += blendModeColor; break; + case "colorburn" : shader += blendModeColorBurn; break; + case "colordodge" : shader += blendModeColorDodge; break; + case "darken" : shader += blendModeDarken; break; + case "darkercolor" : shader += blendModeDarkerColor; break; + case "difference" : shader += blendModeDifference; break; + case "divide" : shader += blendModeDivide; break; + case "exclusion" : shader += blendModeExclusion; break; + case "hardlight" : shader += blendModeHardLight; break; + case "hue" : shader += blendModeHue; break; + case "lighten" : shader += blendModeLighten; break; + case "lightercolor" : shader += blendModeLighterColor; break; + case "lightness" : shader += blendModeLightness; break; + case "negation" : shader += blendModeNegation; break; + case "normal" : shader += blendModeNormal; break; + case "multiply" : shader += blendModeMultiply; break; + case "saturation" : shader += blendModeSaturation; break; + case "screen" : shader += blendModeScreen; break; + case "subtract" : shader += blendModeSubtract; break; + case "softlight" : shader += blendModeSoftLight; break; + default: shader += "gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);"; break; + } + + shader += fragmentShaderEnd + fragmentShader = ShaderBuilder.buildFragmentShader(shader) + + // Workaround for a bug just to make sure display gets updated when the mode changes. + sourceChanged() + } + + Component.onCompleted: { + buildFragmentShader() + } + + onModeChanged: { + buildFragmentShader() + } + + property string blendModeAddition: "result.rgb = min(rgb1 + rgb2, 1.0);" + property string blendModeAverage: "result.rgb = 0.5 * (rgb1 + rgb2);" + property string blendModeColor: "result.rgb = HSLtoRGB(vec3(RGBtoHSL(rgb2).xy, RGBtoL(rgb1)));" + property string blendModeColorBurn: "result.rgb = clamp(1.0 - ((1.0 - rgb1) / max(vec3(1.0 / 256.0), rgb2)), vec3(0.0), vec3(1.0));" + property string blendModeColorDodge: "result.rgb = clamp(rgb1 / max(vec3(1.0 / 256.0), (1.0 - rgb2)), vec3(0.0), vec3(1.0));" + property string blendModeDarken: "result.rgb = min(rgb1, rgb2);" + property string blendModeDarkerColor: "result.rgb = 0.3 * rgb1.r + 0.59 * rgb1.g + 0.11 * rgb1.b > 0.3 * rgb2.r + 0.59 * rgb2.g + 0.11 * rgb2.b ? rgb2 : rgb1;" + property string blendModeDifference: "result.rgb = abs(rgb1 - rgb2);" + property string blendModeDivide: "result.rgb = clamp(rgb1 / rgb2, 0.0, 1.0);" + property string blendModeExclusion: "result.rgb = rgb1 + rgb2 - 2.0 * rgb1 * rgb2;" + property string blendModeHardLight: "result.rgb = vec3(channelBlendHardLight(rgb1.r, rgb2.r), channelBlendHardLight(rgb1.g, rgb2.g), channelBlendHardLight(rgb1.b, rgb2.b));" + property string blendModeHue: "result.rgb = HSLtoRGB(vec3(RGBtoHSL(rgb2).x, RGBtoHSL(rgb1).yz));" + property string blendModeLighten: "result.rgb = max(rgb1, rgb2);" + property string blendModeLighterColor: "result.rgb = 0.3 * rgb1.r + 0.59 * rgb1.g + 0.11 * rgb1.b > 0.3 * rgb2.r + 0.59 * rgb2.g + 0.11 * rgb2.b ? rgb1 : rgb2;" + property string blendModeLightness: "result.rgb = HSLtoRGB(vec3(RGBtoHSL(rgb1).xy, RGBtoL(rgb2)));" + property string blendModeMultiply: "result.rgb = rgb1 * rgb2;" + property string blendModeNegation: "result.rgb = 1.0 - abs(1.0 - rgb1 - rgb2);" + property string blendModeNormal: "result.rgb = rgb2; a = max(color1.a, color2.a);" + property string blendModeSaturation: "vec3 hsl1 = RGBtoHSL(rgb1); result.rgb = HSLtoRGB(vec3(hsl1.x, RGBtoHSL(rgb2).y, hsl1.z));" + property string blendModeScreen: "result.rgb = 1.0 - (vec3(1.0) - rgb1) * (vec3(1.0) - rgb2);" + property string blendModeSubtract: "result.rgb = max(rgb1 - rgb2, vec3(0.0));" + property string blendModeSoftLight: "result.rgb = rgb1 * ((1.0 - rgb1) * rgb2 + (1.0 - (1.0 - rgb1) * (1.0 - rgb2)));" + + property string fragmentShaderBegin: "#version 440 + + layout(location = 0) in vec2 qt_TexCoord0; + layout(location = 0) out vec4 fragColor; + + layout(std140, binding = 0) uniform buf { + mat4 qt_Matrix; + float qt_Opacity; + }; + layout(binding = 1) uniform sampler2D source; + layout(binding = 2) uniform sampler2D foregroundSource; + + float RGBtoL(vec3 color) { + float cmin = min(color.r, min(color.g, color.b)); + float cmax = max(color.r, max(color.g, color.b)); + float l = (cmin + cmax) / 2.0; + return l; + } + + vec3 RGBtoHSL(vec3 color) { + float cmin = min(color.r, min(color.g, color.b)); + float cmax = max(color.r, max(color.g, color.b)); + float h = 0.0; + float s = 0.0; + float l = (cmin + cmax) / 2.0; + float diff = cmax - cmin; + + if (diff > 1.0 / 256.0) { + if (l < 0.5) + s = diff / (cmin + cmax); + else + s = diff / (2.0 - (cmin + cmax)); + + if (color.r == cmax) + h = (color.g - color.b) / diff; + else if (color.g == cmax) + h = 2.0 + (color.b - color.r) / diff; + else + h = 4.0 + (color.r - color.g) / diff; + + h /= 6.0; + } + return vec3(h, s, l); + } + + float hueToIntensity(float v1, float v2, float h) { + h = fract(h); + if (h < 1.0 / 6.0) + return v1 + (v2 - v1) * 6.0 * h; + else if (h < 1.0 / 2.0) + return v2; + else if (h < 2.0 / 3.0) + return v1 + (v2 - v1) * 6.0 * (2.0 / 3.0 - h); + + return v1; + } + + vec3 HSLtoRGB(vec3 color) { + float h = color.x; + float l = color.z; + float s = color.y; + + if (s < 1.0 / 256.0) + return vec3(l, l, l); + + float v1; + float v2; + if (l < 0.5) + v2 = l * (1.0 + s); + else + v2 = (l + s) - (s * l); + + v1 = 2.0 * l - v2; + + float d = 1.0 / 3.0; + float r = hueToIntensity(v1, v2, h + d); + float g = hueToIntensity(v1, v2, h); + float b = hueToIntensity(v1, v2, h - d); + return vec3(r, g, b); + } + + float channelBlendHardLight(float c1, float c2) { + return c2 > 0.5 ? (1.0 - (1.0 - 2.0 * (c2 - 0.5)) * (1.0 - c1)) : (2.0 * c1 * c2); + } + + void main() { + vec4 result = vec4(0.0); + vec4 color1 = texture(source, qt_TexCoord0); + vec4 color2 = texture(foregroundSource, qt_TexCoord0); + vec3 rgb1 = color1.rgb / max(1.0/256.0, color1.a); + vec3 rgb2 = color2.rgb / max(1.0/256.0, color2.a); + float a = max(color1.a, color1.a * color2.a); + " + + property string fragmentShaderEnd: " + fragColor.rgb = mix(rgb1, result.rgb, color2.a); + fragColor.rbg *= a; + fragColor.a = a; + fragColor *= qt_Opacity; + } + " + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/BrightnessContrast.qml b/bin/qml/Qt5Compat/GraphicalEffects/BrightnessContrast.qml new file mode 100644 index 000000000..4150d8fd7 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/BrightnessContrast.qml @@ -0,0 +1,156 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype BrightnessContrast + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Adjusts brightness and contrast. + + This effect adjusts the source item colors. + Brightness adjustment changes the perceived luminance of the source item. + Contrast adjustment increases or decreases the color + and brightness variations. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image BrightnessContrast_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet BrightnessContrast-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines how much the source brightness is increased or + decreased. + + The value ranges from -1.0 to 1.0. By default, the property is set to \c + 0.0 (no change). + + \table + \header + \li Output examples with different brightness values + \li + \li + \row + \li \image BrightnessContrast_brightness1.png + \li \image BrightnessContrast_brightness2.png + \li \image BrightnessContrast_brightness3.png + \row + \li \b { brightness: -0.25 } + \li \b { brightness: 0 } + \li \b { brightness: 0.5 } + \row + \li \l contrast: 0 + \li \l contrast: 0 + \li \l contrast: 0 + \endtable + + */ + property real brightness: 0.0 + + /*! + This property defines how much the source contrast is increased or + decreased. The decrease of the contrast is linear, but the increase is + applied with a non-linear curve to allow very high contrast adjustment at + the high end of the value range. + + \table + \header + \li Contrast adjustment curve + \row + \li \image BrightnessContrast_contrast_graph.png + \endtable + + The value ranges from -1.0 to 1.0. By default, the property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different contrast values + \li + \li + \row + \li \image BrightnessContrast_contrast1.png + \li \image BrightnessContrast_contrast2.png + \li \image BrightnessContrast_contrast3.png + \row + \li \b { contrast: -0.5 } + \li \b { contrast: 0 } + \li \b { contrast: 0.5 } + \row + \li \l brightness: 0 + \li \l brightness: 0 + \li \l brightness: 0 + \endtable + + */ + property real contrast: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real brightness: rootItem.brightness + property real contrast: rootItem.contrast + + anchors.fill: parent + blending: !rootItem.cached + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/brightnesscontrast.frag.qsb" + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/ColorOverlay.qml b/bin/qml/Qt5Compat/GraphicalEffects/ColorOverlay.qml new file mode 100644 index 000000000..abd6531fe --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/ColorOverlay.qml @@ -0,0 +1,110 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype ColorOverlay + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Alters the colors of the source item by applying an overlay color. + + The effect is similar to what happens when a colorized glass is put on top + of a grayscale image. The color for the overlay is given in the RGBA format. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly.png + \li \image ColorOverlay_butterfly.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet ColorOverlay-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the color value which is used to colorize the + source. + + By default, the property is set to \c "transparent". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image ColorOverlay_color1.png + \li \image ColorOverlay_color2.png + \li \image ColorOverlay_color3.png + \row + \li \b { color: #80ff0000 } + \li \b { color: #8000ff00 } + \li \b { color: #800000ff } + \endtable + + */ + property color color: "transparent" + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property color color: rootItem.color + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/coloroverlay.frag.qsb" + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/Colorize.qml b/bin/qml/Qt5Compat/GraphicalEffects/Colorize.qml new file mode 100644 index 000000000..1957f271b --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/Colorize.qml @@ -0,0 +1,198 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype Colorize + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Sets the color in the HSL color space. + + The effect is similar to what happens when a colorized glass is put on top + of a grayscale image. Colorize uses the hue, saturation, and lightness (HSL) + color space. You can specify a desired value for each property. You can + shift all HSL values with the \l HueSaturation effect. + + Alternatively, you can use the \l ColorOverlay effect to colorize the + source item in the RGBA color space. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image Colorize_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet Colorize-example.qml example +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the hue value which is used to colorize the + source. + + The value ranges from 0.0 to 1.0. By default, the property is set to \c + 0.0, which produces a slightly red color. + + \table + \header + \li Allowed hue values + \row + \li \image Colorize_hue_scale.png + \endtable + + \table + \header + \li Output examples with different hue values + \li + \li + \row + \li \image Colorize_hue1.png + \li \image Colorize_hue2.png + \li \image Colorize_hue3.png + \row + \li \b { hue: 0.2 } + \li \b { hue: 0.5 } + \li \b { hue: 0.8 } + \row + \li \l saturation: 1 + \li \l saturation: 1 + \li \l saturation: 1 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + */ + property real hue: 0.0 + + /*! + This property defines the saturation value which is used to colorize the + source. + + The value ranges from 0.0 (desaturated) to 1.0 (saturated). By default, + the property is set to \c 1.0 (saturated). + + \table + \header + \li Output examples with different saturation values + \li + \li + \row + \li \image Colorize_saturation1.png + \li \image Colorize_saturation2.png + \li \image Colorize_saturation3.png + \row + \li \b { saturation: 0 } + \li \b { saturation: 0.5 } + \li \b { saturation: 1 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + */ + property real saturation: 1.0 + + /*! + This property defines how much the source lightness value is increased + or decreased. + + Unlike hue and saturation properties, lightness does not set the used + value, but it shifts the existing source pixel lightness value. + + The value ranges from -1.0 (decreased) to 1.0 (increased). By default, + the property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different lightness values + \li + \li + \row + \li \image Colorize_lightness1.png + \li \image Colorize_lightness2.png + \li \image Colorize_lightness3.png + \row + \li \b { lightness: -0.75 } + \li \b { lightness: 0 } + \li \b { lightness: 0.75 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l saturation: 1 + \li \l saturation: 1 + \li \l saturation: 1 + \endtable + */ + property real lightness: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real hue: rootItem.hue + property real saturation: rootItem.saturation + property real lightness: rootItem.lightness + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/colorize.frag.qsb" + + } +} diff --git a/bin/QtGraphicalEffects/ConicalGradient.qml b/bin/qml/Qt5Compat/GraphicalEffects/ConicalGradient.qml similarity index 77% rename from bin/QtGraphicalEffects/ConicalGradient.qml rename to bin/qml/Qt5Compat/GraphicalEffects/ConicalGradient.qml index c8d68b1b7..533863afb 100644 --- a/bin/QtGraphicalEffects/ConicalGradient.qml +++ b/bin/qml/Qt5Compat/GraphicalEffects/ConicalGradient.qml @@ -1,48 +1,12 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private /*! \qmltype ConicalGradient - \inqmlmodule QtGraphicalEffects + \inqmlmodule Qt5Compat.GraphicalEffects \since QtGraphicalEffects 1.0 \inherits QtQuick2::Item \ingroup qtgraphicaleffects-gradient @@ -59,8 +23,6 @@ import QtGraphicalEffects.private 1.12 \li \image ConicalGradient.png \endtable - \note This effect is available when running with OpenGL. - \section1 Example The following example shows how to apply the effect. @@ -327,7 +289,7 @@ Gradient { onFragmentShaderChanged: startAngleChanged() - property string noMaskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/conicalgradient_nomask.frag" - property string maskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/conicalgradient_mask.frag" + property string noMaskShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/conicalgradient_nomask.frag.qsb" + property string maskShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/conicalgradient_mask.frag.qsb" } } diff --git a/bin/qml/Qt5Compat/GraphicalEffects/Desaturate.qml b/bin/qml/Qt5Compat/GraphicalEffects/Desaturate.qml new file mode 100644 index 000000000..8c4d8089c --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/Desaturate.qml @@ -0,0 +1,109 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype Desaturate + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Reduces the saturation of the colors. + + Desaturated pixel values are calculated as averages of the original RGB + component values of the source item. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image Desaturate_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet Desaturate-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels to + the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines how much the source colors are desaturated. + + The value ranges from 0.0 (no change) to 1.0 (desaturated). By default, + the property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different desaturation values + \li + \li + \row + \li \image Desaturate_desaturation1.png + \li \image Desaturate_desaturation2.png + \li \image Desaturate_desaturation3.png + \row + \li \b { desaturation: 0.0 } + \li \b { desaturation: 0.5 } + \li \b { desaturation: 1.0 } + \endtable + */ + property real desaturation: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real desaturation: rootItem.desaturation + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/desaturate.frag.qsb" + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/DirectionalBlur.qml b/bin/qml/Qt5Compat/GraphicalEffects/DirectionalBlur.qml new file mode 100644 index 000000000..9846c695b --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/DirectionalBlur.qml @@ -0,0 +1,258 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype DirectionalBlur + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-motion-blur + \brief Applies blur effect to the specified direction. + + Effect creates perceived impression that the source item appears to be + moving in the direction of the blur. Blur is applied to both sides of + each pixel, therefore setting the direction to 0 and 180 provides the + same result. + + Other available motionblur effects are \l{Qt5Compat.GraphicalEffects::ZoomBlur}{ZoomBlur} and + \l{Qt5Compat.GraphicalEffects::RadialBlur}{RadialBlur}. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image DirectionalBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet DirectionalBlur-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the perceived amount of movement for each pixel. + The movement is divided evenly to both sides of each pixel. + + The quality of the blur depends on \l{DirectionalBlur::samples}{samples} + property. If length value is large, more samples are needed to keep the + visual quality at high level. + + The value ranges from 0.0 to inf. + By default the property is set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different length values + \li + \li + \row + \li \image DirectionalBlur_length1.png + \li \image DirectionalBlur_length2.png + \li \image DirectionalBlur_length3.png + \row + \li \b { length: 0.0 } + \li \b { length: 32.0 } + \li \b { length: 48.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l angle: 0 + \li \l angle: 0 + \li \l angle: 0 + \endtable + + */ + property real length: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + Allowed values are between 0 and inf (practical maximum depends on GPU). + By default the property is set to \c 0 (no samples). + + */ + property int samples: 0 + + /*! + This property defines the direction for the blur. Blur is applied to + both sides of each pixel, therefore setting the direction to 0 and 180 + produces the same result. + + The value ranges from -180.0 to 180.0. + By default the property is set to \c 0.0. + + \table + \header + \li Output examples with different angle values + \li + \li + \row + \li \image DirectionalBlur_angle1.png + \li \image DirectionalBlur_angle2.png + \li \image DirectionalBlur_angle3.png + \row + \li \b { angle: 0.0 } + \li \b { angle: 45.0 } + \li \b { angle: 90.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l length: 32 + \li \l length: 32 + \li \l length: 32 + \endtable + + */ + property real angle: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + */ + property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real len: rootItem.length + property bool transparentBorder: rootItem.transparentBorder + property real samples: rootItem.samples + property real weight: 1.0 / Math.max(1.0, rootItem.samples) + property variant expandPixels: transparentBorder ? Qt.size(rootItem.samples, rootItem.samples) : Qt.size(0,0) + property variant expand: transparentBorder ? Qt.size(expandPixels.width / width, expandPixels.height / height) : Qt.size(0,0) + property variant delta: Qt.size(1.0 / rootItem.width * Math.cos((rootItem.angle + 90) * Math.PI/180), 1.0 / rootItem.height * Math.sin((rootItem.angle + 90) * Math.PI/180)) + + x: transparentBorder ? -expandPixels.width - 1: 0 + y: transparentBorder ? -expandPixels.height - 1 : 0 + width: transparentBorder ? parent.width + 2.0 * expandPixels.width + 2 : parent.width + height: transparentBorder ? parent.height + 2.0 * expandPixels.height + 2 : parent.height + + property string fragmentShaderSkeleton: "#version 440 + layout(location = 0) in vec2 qt_TexCoord0; + layout(location = 0) out vec4 fragColor; + layout(std140, binding = 0) uniform buf { + mat4 qt_Matrix; + float qt_Opacity; + float len; + float samples; + float weight; + vec2 expand; + vec2 delta; + }; + layout(binding = 1) uniform sampler2D source; + + void main(void) { + vec2 shift = delta * len / max(1.0, samples - 1.0); + vec2 texCoord = qt_TexCoord0; + fragColor = vec4(0.0); + + PLACEHOLDER_EXPAND_STEPS + + texCoord -= shift * max(0.0, samples - 1.0) * 0.5; + + PLACEHOLDER_UNROLLED_LOOP + + fragColor *= weight * qt_Opacity; + } + " + + function buildFragmentShader() { + var shader = fragmentShaderSkeleton + var expandSteps = "" + + if (transparentBorder) { + expandSteps += "texCoord = (texCoord - expand) / (1.0 - 2.0 * expand);" + } + + var unrolledLoop = "fragColor += texture(source, texCoord);\n" + + if (rootItem.samples > 1) { + unrolledLoop = "" + for (var i = 0; i < rootItem.samples; i++) + unrolledLoop += "fragColor += texture(source, texCoord); texCoord += shift;\n" + } + + shader = shader.replace("PLACEHOLDER_EXPAND_STEPS", expandSteps) + fragmentShader = ShaderBuilder.buildFragmentShader(shader.replace("PLACEHOLDER_UNROLLED_LOOP", unrolledLoop)) + } + + onFragmentShaderChanged: sourceChanged() + onSamplesChanged: buildFragmentShader() + onTransparentBorderChanged: buildFragmentShader() + Component.onCompleted: buildFragmentShader() + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/Displace.qml b/bin/qml/Qt5Compat/GraphicalEffects/Displace.qml new file mode 100644 index 000000000..ac439bd54 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/Displace.qml @@ -0,0 +1,152 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype Displace + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-distortion + \brief Moves the pixels of the source item according to the given + displacement map. + + \table + \header + \li Source + \li DisplacementSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image Displace_map.png + \li \image Displace_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet Displace-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item for the pixels that are going to + be displaced according to the data from + \l{Displace::displacementSource}{displacementSource}. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the item that is going to be used as the + displacement map. The displacementSource item gets rendered into the + intermediate pixel buffer. The red and green component values from the + result determine the displacement of the pixels from the source item. + + The format for the displacement map is similar to the tangent space + normal maps, which can be created with most 3D-modeling tools. Many + image processing tools include the support for generating normal maps. + Alternatively, the displacement map for this effect can also be a QML + element which is colored appropriately. Like any QML element, it can be + animated. It is recommended that the size of the diplacement map matches + the size of the \l{Displace::source}{source}. + + The displace data is interpreted in the RGBA format. For every pixel: + the red channel stores the x-axis displacement, and the green channel + stores the y-axis displacement. Blue and alpha channels are ignored for + this effect. + + Assuming that red channel value 1.0 is fully red (0.0 having no red at + all), this effect considers pixel component value 0.5 to cause no + displacement at all. Values above 0.5 shift pixels to the left, values + below 0.5 do the shift to the right. In a similar way, green channel + values above 0.5 displace the pixels upwards, and values below 0.5 shift + the pixels downwards. The actual amount of displacement in pixels + depends on the \l displacement property. + + */ + property variant displacementSource + + /*! + This property defines the scale for the displacement. The bigger scale, + the bigger the displacement of the pixels. The value set to 0.0 causes + no displacement. + + The value ranges from -1.0 (inverted maximum shift, according to + displacementSource) to 1.0 (maximum shift, according to + displacementSource). By default, the property is set to \c 0.0 (no + displacement). + + \table + \header + \li Output examples with different displacement values + \li + \li + \row + \li \image Displace_displacement1.png + \li \image Displace_displacement2.png + \li \image Displace_displacement3.png + \row + \li \b { displacement: -0.2 } + \li \b { displacement: 0.0 } + \li \b { displacement: 0.2 } + \endtable + + */ + property real displacement: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + SourceProxy { + id: displacementSourceProxy + input: rootItem.displacementSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant displacementSource: displacementSourceProxy.output + property real displacement: rootItem.displacement + property real xPixel: 1.0/width + property real yPixel: 1.0/height + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/displace.frag.qsb" + } +} diff --git a/bin/QtGraphicalEffects/DropShadow.qml b/bin/qml/Qt5Compat/GraphicalEffects/DropShadow.qml similarity index 82% rename from bin/QtGraphicalEffects/DropShadow.qml rename to bin/qml/Qt5Compat/GraphicalEffects/DropShadow.qml index 0f30e5aa4..cdf3fd4e3 100644 --- a/bin/QtGraphicalEffects/DropShadow.qml +++ b/bin/qml/Qt5Compat/GraphicalEffects/DropShadow.qml @@ -1,49 +1,13 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Copyright (C) 2017 Jolla Ltd, author: -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 +// Copyright (C) 2020 The Qt Company Ltd. +// Copyright (C) 2017 Jolla Ltd, author: +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private /*! \qmltype DropShadow - \inqmlmodule QtGraphicalEffects + \inqmlmodule Qt5Compat.GraphicalEffects \since QtGraphicalEffects 1.0 \inherits QtQuick2::Item \ingroup qtgraphicaleffects-drop-shadow @@ -268,6 +232,34 @@ Item { \li \l spread: 0 \li \l spread: 0 \endtable + + \table + \header + \li Output examples with different verticalOffset values + \li + \li + \row + \li \image DropShadow_horizontalOffset2.png + \li \image DropShadow_spread1.png + \row + \li \b { horizontalOffset: 0 } + \li \b { horizontalOffset: 0 } + \row + \li \l radius: 4 + \li \l radius: 8 + \row + \li \l samples: 9 + \li \l samples: 17 + \row + \li \l color: #000000 + \li \l color: #000000 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \endtable */ property alias horizontalOffset: dbs.horizontalOffset property alias verticalOffset: dbs.verticalOffset diff --git a/bin/QtGraphicalEffects/FastBlur.qml b/bin/qml/Qt5Compat/GraphicalEffects/FastBlur.qml similarity index 79% rename from bin/QtGraphicalEffects/FastBlur.qml rename to bin/qml/Qt5Compat/GraphicalEffects/FastBlur.qml index 1d8a547d8..d5f520cba 100644 --- a/bin/QtGraphicalEffects/FastBlur.qml +++ b/bin/qml/Qt5Compat/GraphicalEffects/FastBlur.qml @@ -1,60 +1,19 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private /*! \qmltype FastBlur - \inqmlmodule QtGraphicalEffects + \inqmlmodule Qt5Compat.GraphicalEffects \since QtGraphicalEffects 1.0 \inherits QtQuick2::Item \ingroup qtgraphicaleffects-blur \brief Applies a fast blur effect to one or more source items. - FastBlur offers lower blur quality than - \l{QtGraphicalEffects::GaussianBlur}{GaussianBlur}, but it is faster to - render. The FastBlur effect softens the source content by blurring it with - algorithm which uses the source content downscaling and bilinear filtering. - Use this effect in situations where the source content is rapidly changing - and the highest possible blur quality is not - needed. + The FastBlur effect softens the source content by blurring it with algorithm + which uses the source content downscaling and bilinear filtering. \table \header @@ -65,8 +24,6 @@ import QtGraphicalEffects.private 1.12 \li \image FastBlur_bug.png \endtable - \note This effect is available when running with OpenGL. - s \section1 Example The following example shows how to apply the effect. @@ -177,10 +134,10 @@ Item { } /*! \internal */ - property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.vert" + property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/fastblur_internal.vert.qsb" /*! \internal */ - property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.frag" + property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/fastblur_internal.frag.qsb" ShaderEffect { id: level0 @@ -437,6 +394,6 @@ Item { onLodChanged: calculateWeights() - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur.frag" + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/fastblur.frag.qsb" } } diff --git a/bin/qml/Qt5Compat/GraphicalEffects/GammaAdjust.qml b/bin/qml/Qt5Compat/GraphicalEffects/GammaAdjust.qml new file mode 100644 index 000000000..91f478cd5 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/GammaAdjust.qml @@ -0,0 +1,145 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype GammaAdjust + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Alters the luminance of the source item. + + GammaAdjust is applied to each pixel according to the curve which is + pre-defined as a power-law expression, where the property gamma is used as the + reciprocal scaling exponent. Refer to the property documentation of \l{GammaAdjust::gamma}{gamma} + for more details. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image GammaAdjust_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet GammaAdjust-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item for which the luminance is going to be + adjusted. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the change factor for how the luminance of each pixel + is altered according to the equation: + + \code +luminance = pow(original_luminance, 1.0 / gamma); // The luminance is assumed to be between 0.0 and 1.0 + \endcode + + Setting the gamma values under 1.0 makes the image darker, the values + above 1.0 lighten it. + + The value ranges from 0.0 (darkest) to inf (lightest). By default, the + property is set to \c 1.0 (no change). + + \table + \header + \li Output examples with different gamma values + \li + \li + \row + \li \image GammaAdjust_gamma1.png + \li \image GammaAdjust_gamma2.png + \li \image GammaAdjust_gamma3.png + \row + \li \b { gamma: 0.5 } + \li \b { gamma: 1.0 } + \li \b { gamma: 2.0 } + \endtable + + \table + \header + \li Pixel luminance curves of the above images. + \li + \li + \row + \li \image GammaAdjust_gamma1_graph.png + \li \image GammaAdjust_gamma2_graph.png + \li \image GammaAdjust_gamma3_graph.png + \row + \li Red curve: default gamma (1.0) + \li + \li + \row + \li Yellow curve: effect applied + \li + \li + \row + \li X-axis: pixel original luminance + \li + \li + \row + \li Y-axis: pixel luminance with effect applied + \li + \li + \endtable + + */ + property real gamma: 1.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real gamma: 1.0 / Math.max(rootItem.gamma, 0.0001) + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/gammaadjust.frag.qsb" + } +} diff --git a/bin/QtGraphicalEffects/GaussianBlur.qml b/bin/qml/Qt5Compat/GraphicalEffects/GaussianBlur.qml similarity index 82% rename from bin/QtGraphicalEffects/GaussianBlur.qml rename to bin/qml/Qt5Compat/GraphicalEffects/GaussianBlur.qml index 4af97148c..c7fb0f8de 100644 --- a/bin/QtGraphicalEffects/GaussianBlur.qml +++ b/bin/qml/Qt5Compat/GraphicalEffects/GaussianBlur.qml @@ -1,50 +1,14 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Copyright (C) 2017 Jolla Ltd, author: -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtQuick.Window 2.12 -import QtGraphicalEffects.private 1.12 +// Copyright (C) 2017 The Qt Company Ltd. +// Copyright (C) 2017 Jolla Ltd, author: +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Window +import Qt5Compat.GraphicalEffects.private /*! \qmltype GaussianBlur - \inqmlmodule QtGraphicalEffects + \inqmlmodule Qt5Compat.GraphicalEffects \since QtGraphicalEffects 1.0 \inherits QtQuick2::Item \ingroup qtgraphicaleffects-blur @@ -52,9 +16,15 @@ import QtGraphicalEffects.private 1.12 GaussianBlur effect softens the image by blurring it with an algorithm that uses the Gaussian function to calculate the effect. The effect produces - higher quality than \l{QtGraphicalEffects::FastBlur}{FastBlur}, but is + higher quality than \l{Qt5Compat.GraphicalEffects::FastBlur}{FastBlur}, but is slower to render. + In particular, modifying properties of Gaussian blur will in many cases require + rebuilding the shader code from scratch, so animating properties of the effect + may perform badly as well as require a large amount of cache space. Therefore, + \l{FastBlur} should usually be preferred for animated blurs. + + \table \header \li Source @@ -74,7 +44,6 @@ import QtGraphicalEffects.private 1.12 Performing blur live is a costly operation. Fullscreen gaussian blur with even a moderate number of samples will only run at 60 fps on highend graphics hardware. - */ Item { id: root @@ -158,7 +127,7 @@ Item { too small deviation values makes the effect insignificant for the pixels near the radius. - \inlineimage GaussianBlur_deviation_graph.png + \image GaussianBlur_deviation_graph.png \caption The image above shows the Gaussian function with two different deviation values, yellow (1) and cyan (2.7). The y-axis shows the weights, the x-axis shows the pixel distance. @@ -193,7 +162,7 @@ Item { \endtable */ - property real deviation: (radius + 1) / 3.3333 + property real deviation: (radius + 1.0) / 3.3333 /*! This property defines the blur behavior near the edges of the item, @@ -276,16 +245,24 @@ Item { property alias _color: verticalBlur.color; /*! \internal */ property real _thickness: 0; + /*! \internal */ + property bool _componentIsComplete: false onSamplesChanged: _rebuildShaders(); on_KernelSizeChanged: _rebuildShaders(); onDeviationChanged: _rebuildShaders(); on_DprChanged: _rebuildShaders(); on_MaskSourceChanged: _rebuildShaders(); - Component.onCompleted: _rebuildShaders(); + Component.onCompleted: { + _componentIsComplete = true + _rebuildShaders(); + } /*! \internal */ function _rebuildShaders() { + if (!_componentIsComplete) + return + var params = { radius: _kernelRadius, // Limit deviation to something very small avoid getting NaN in the shader. diff --git a/bin/qml/Qt5Compat/GraphicalEffects/Glow.qml b/bin/qml/Qt5Compat/GraphicalEffects/Glow.qml new file mode 100644 index 000000000..67335acc6 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/Glow.qml @@ -0,0 +1,246 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// Copyright (C) 2017 Jolla Ltd, author: +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype Glow + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-glow + \brief Generates a blurred and colorized image of the source and places it + behind the original, giving impression that the source is glowing. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_butterfly_black.png + \li \image Glow_butterfly.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet Glow-example.qml example + +*/ +Item { + id: root + + DropShadowBase { + id: dps + anchors.fill: parent + color: "white" + spread: 0.5 + horizontalOffset: 0 + verticalOffset: 0 + } + + /*! + This property defines the source item that is going to be used as source + for the generated glow. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property alias source: dps.source + + /*! + Radius defines the softness of the glow. A larger radius causes the + edges of the glow to appear more blurry. + + Depending on the radius value, value of the \l{Glow::samples}{samples} + should be set to sufficiently large to ensure the visual quality. + + The ideal blur is achieved by selecting \c samples and \c radius such + that \c {samples = 1 + radius * 2}, such as: + + \table + \header \li Radius \li Samples + \row \li 0 \e{(no blur)} \li 1 + \row \li 1 \li 3 + \row \li 2 \li 5 + \row \li 3 \li 7 + \endtable + + By default, the property is set to \c {floor(samples/2)}. + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image Glow_radius1.png + \li \image Glow_radius2.png + \li \image Glow_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 6 } + \li \b { radius: 12 } + \row + \li \l samples: 25 + \li \l samples: 25 + \li \l samples: 25 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \endtable + */ + property alias radius: dps.radius + + /*! + This property defines how many samples are taken per pixel when edge + softening blur calculation is done. Larger value produces better + quality, but is slower to render. + + Ideally, this value should be twice as large as the highest required + radius value plus one, such as: + + \table + \header \li Radius \li Samples + \row \li 0 \e{(no blur)} \li 1 + \row \li 1 \li 3 + \row \li 2 \li 5 + \row \li 3 \li 7 + \endtable + + By default, the property is set to \c 9. + + This property is not intended to be animated. Changing this property will + cause the underlying OpenGL shaders to be recompiled. + */ + property alias samples: dps.samples + + /*! + This property defines how large part of the glow color is strengthened + near the source edges. + + The values range from 0.0 to 1.0. By default, the property is set to \c + 0.5. + + \note The implementation is optimized for medium and low spread values. + Depending on the source, spread values closer to 1.0 may yield visually + asymmetrical results. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image Glow_spread1.png + \li \image Glow_spread2.png + \li \image Glow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.5 } + \li \b { spread: 1.0 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 17 + \li \l samples: 17 + \li \l samples: 17 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \endtable + */ + property alias spread: dps.spread + + /*! + This property defines the RGBA color value which is used for the glow. + + By default, the property is set to \c "white". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image Glow_color1.png + \li \image Glow_color2.png + \li \image Glow_color3.png + \row + \li \b { color: #ffffff } + \li \b { color: #00ff00 } + \li \b { color: #aa00ff00 } + \row + \li \l radius: 8 + \li \l radius: 8 + \li \l radius: 8 + \row + \li \l samples: 17 + \li \l samples: 17 + \li \l samples: 17 + \row + \li \l spread: 0.5 + \li \l spread: 0.5 + \li \l spread: 0.5 + \endtable + + */ + property alias color: dps.color + + /*! + \internal + + Starting Qt 5.6, this property has no effect. It is left here + for source compatibility only. + + ### Qt 6: remove + */ + property bool fast: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property alias cached: dps.cached + + /*! + This property determines whether or not the effect has a transparent + border. + + When set to \c true, the exterior of the item is padded with a + transparent edge, making sampling outside the source texture use + transparency instead of the edge pixels. Without this property, an + image which has opaque edges will not get a blurred edge. + + By default, the property is set to \c true. Set it to false if the source + already has a transparent edge to make the blurring a tiny bit faster. + + In the snippet below, the Rectangle on the left has transparent borders + and has blurred edges, whereas the Rectangle on the right does not. + + \snippet Glow-transparentBorder-example.qml example + + \image Glow-transparentBorder.png + */ + property alias transparentBorder: dps.transparentBorder +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/HueSaturation.qml b/bin/qml/Qt5Compat/GraphicalEffects/HueSaturation.qml new file mode 100644 index 000000000..3e5c922a3 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/HueSaturation.qml @@ -0,0 +1,186 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype HueSaturation + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-color + \brief Alters the source item colors in the HSL color space. + + HueSaturation is similar to the \l Colorize effect, but the hue and + saturation property values are handled differently. The HueSaturation effect + always shifts the hue, saturation, and lightness from the original, instead + of setting them. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image HueSaturation_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet HueSaturation-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that provides the source pixels + for the effect. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source: 0 + + /*! + This property defines the hue value which is added to the source hue + value. + + The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the + property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different hue values + \li + \li + \row + \li \image HueSaturation_hue1.png + \li \image HueSaturation_hue2.png + \li \image HueSaturation_hue3.png + \row + \li \b { hue: -0.3 } + \li \b { hue: 0.0 } + \li \b { hue: 0.3 } + \row + \li \l saturation: 0 + \li \l saturation: 0 + \li \l saturation: 0 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + + */ + property real hue: 0.0 + + /*! + This property defines the saturation value value which is added to the + source saturation value. + + The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the + property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different saturation values + \li + \li + \row + \li \image HueSaturation_saturation1.png + \li \image HueSaturation_saturation2.png + \li \image HueSaturation_saturation3.png + \row + \li \b { saturation: -0.8 } + \li \b { saturation: 0.0 } + \li \b { saturation: 1.0 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l lightness: 0 + \li \l lightness: 0 + \li \l lightness: 0 + \endtable + + */ + property real saturation: 0.0 + + /*! + This property defines the lightness value which is added to the source + saturation value. + + The value ranges from -1.0 (decrease) to 1.0 (increase). By default, the + property is set to \c 0.0 (no change). + + \table + \header + \li Output examples with different lightness values + \li + \li + \row + \li \image HueSaturation_lightness1.png + \li \image HueSaturation_lightness2.png + \li \image HueSaturation_lightness3.png + \row + \li \b { lightness: -0.5 } + \li \b { lightness: 0.0 } + \li \b { lightness: 0.5 } + \row + \li \l hue: 0 + \li \l hue: 0 + \li \l hue: 0 + \row + \li \l saturation: 0 + \li \l saturation: 0 + \li \l saturation: 0 + \endtable + + */ + property real lightness: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant hsl: Qt.vector3d(rootItem.hue, rootItem.saturation, rootItem.lightness) + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/huesaturation.frag.qsb" + } +} diff --git a/bin/QtGraphicalEffects/InnerShadow.qml b/bin/qml/Qt5Compat/GraphicalEffects/InnerShadow.qml similarity index 83% rename from bin/QtGraphicalEffects/InnerShadow.qml rename to bin/qml/Qt5Compat/GraphicalEffects/InnerShadow.qml index 7a388e348..755cee383 100644 --- a/bin/QtGraphicalEffects/InnerShadow.qml +++ b/bin/qml/Qt5Compat/GraphicalEffects/InnerShadow.qml @@ -1,48 +1,12 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private /*! \qmltype InnerShadow - \inqmlmodule QtGraphicalEffects + \inqmlmodule Qt5Compat.GraphicalEffects \since QtGraphicalEffects 1.0 \inherits QtQuick2::Item \ingroup qtgraphicaleffects-drop-shadow diff --git a/bin/QtGraphicalEffects/LevelAdjust.qml b/bin/qml/Qt5Compat/GraphicalEffects/LevelAdjust.qml similarity index 85% rename from bin/QtGraphicalEffects/LevelAdjust.qml rename to bin/qml/Qt5Compat/GraphicalEffects/LevelAdjust.qml index b98facaab..b97e74e0d 100644 --- a/bin/QtGraphicalEffects/LevelAdjust.qml +++ b/bin/qml/Qt5Compat/GraphicalEffects/LevelAdjust.qml @@ -1,48 +1,12 @@ -/***************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Add-On Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -*****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private /*! \qmltype LevelAdjust - \inqmlmodule QtGraphicalEffects + \inqmlmodule Qt5Compat.GraphicalEffects \since QtGraphicalEffects 1.0 \inherits QtQuick2::Item \ingroup qtgraphicaleffects-color @@ -60,8 +24,6 @@ import QtGraphicalEffects.private 1.12 \li \image LevelAdjust_butterfly.png \endtable - \note This effect is available when running with OpenGL. - \section1 Example The following example shows how to apply the effect. @@ -435,6 +397,6 @@ Item { property variant gamma: Qt.vector3d(1.0 / Math.max(rootItem.gamma.x, 0.0001), 1.0 / Math.max(rootItem.gamma.y, 0.0001), 1.0 / Math.max(rootItem.gamma.z, 0.0001)) anchors.fill: parent - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/leveladjust.frag" + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/leveladjust.frag.qsb" } } diff --git a/bin/QtGraphicalEffects/LinearGradient.qml b/bin/qml/Qt5Compat/GraphicalEffects/LinearGradient.qml similarity index 78% rename from bin/QtGraphicalEffects/LinearGradient.qml rename to bin/qml/Qt5Compat/GraphicalEffects/LinearGradient.qml index 1f73a218f..af76e761f 100644 --- a/bin/QtGraphicalEffects/LinearGradient.qml +++ b/bin/qml/Qt5Compat/GraphicalEffects/LinearGradient.qml @@ -1,48 +1,12 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private /*! \qmltype LinearGradient - \inqmlmodule QtGraphicalEffects + \inqmlmodule Qt5Compat.GraphicalEffects \since QtGraphicalEffects 1.0 \inherits QtQuick2::Item \ingroup qtgraphicaleffects-gradient @@ -58,8 +22,6 @@ import QtGraphicalEffects.private 1.12 \li \image LinearGradient.png \endtable - \note This effect is available when running with OpenGL. - \section1 Example The following example shows how to apply the effect. @@ -311,13 +273,13 @@ Item { property real angle: Math.atan2(dx, dy) property variant matrixData: Qt.point(Math.sin(angle), Math.cos(angle)) - vertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/lineargradient.vert" + vertexShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/lineargradient.vert.qsb" fragmentShader: maskSource == undefined ? noMaskShader : maskShader onFragmentShaderChanged: lChanged() - property string maskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/lineargradient_mask.frag" - property string noMaskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/lineargradient_nomask.frag" + property string maskShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/lineargradient_mask.frag.qsb" + property string noMaskShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/lineargradient_nomask.frag.qsb" } } diff --git a/bin/qml/Qt5Compat/GraphicalEffects/MaskedBlur.qml b/bin/qml/Qt5Compat/GraphicalEffects/MaskedBlur.qml new file mode 100644 index 000000000..dfd775e7a --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/MaskedBlur.qml @@ -0,0 +1,156 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// Copyright (C) 2017 Jolla Ltd, author: +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype MaskedBlur + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-blur + \brief Applies a blur effect with a varying intesity. + + MaskedBlur effect softens the image by blurring it. The intensity of the + blur can be controlled for each pixel using maskSource so that some parts of + the source are blurred more than others. + + Performing blur live is a costly operation. Fullscreen gaussian blur + with even a moderate number of samples will only run at 60 fps on highend + graphics hardware. + + \table + \header + \li Source + \li MaskSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image MaskedBlur_mask.png + \li \image MaskedBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet MaskedBlur-example.qml example + +*/ +Item { + id: root + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property alias source: blur.source + + /*! + This property defines the item that is controlling the final intensity + of the blur. The pixel alpha channel value from maskSource defines the + actual blur radius that is going to be used for blurring the + corresponding source pixel. + + Opaque maskSource pixels produce blur with specified + \l{MaskedBlur::radius}{radius}, while transparent pixels suppress the + blur completely. Semitransparent maskSource pixels produce blur with a + radius that is interpolated according to the pixel transparency level. + */ + property alias maskSource: maskProxy.input + + /*! + This property defines the distance of the neighboring pixels which + affect the blurring of an individual pixel. A larger radius increases + the blur effect. + + Depending on the radius value, value of the + \l{MaskedBlur::samples}{samples} should be set to sufficiently large to + ensure the visual quality. + + The value ranges from 0.0 (no blur) to inf. By default, the property is + set to \c 0.0 (no blur). + + \table + \header + \li Output examples with different radius values + \li + \li + \row + \li \image MaskedBlur_radius1.png + \li \image MaskedBlur_radius2.png + \li \image MaskedBlur_radius3.png + \row + \li \b { radius: 0 } + \li \b { radius: 8 } + \li \b { radius: 16 } + \row + \li \l samples: 25 + \li \l samples: 25 + \li \l samples: 25 + \endtable + + */ + property alias radius: blur.radius + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + Ideally, this value should be twice as large as the highest required + radius value plus 1, for example, if the radius is animated between 0.0 + and 4.0, samples should be set to 9. + + By default, the property is set to \c 9. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + */ + property alias samples: blur.samples + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. Every time the source or effect + properties are changed, the pixels in the cache must be updated. Memory + consumption is increased, because an extra buffer of memory is required + for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property alias cached: cacheItem.visible + + GaussianBlur { + id: blur + + source: root.source; + anchors.fill: parent + _maskSource: maskProxy.output; + + SourceProxy { + id: maskProxy + } + } + + ShaderEffectSource { + id: cacheItem + x: -blur._kernelRadius + y: -blur._kernelRadius + width: blur.width + 2 * blur._kernelRadius + height: blur.height + 2 * blur._kernelRadius + visible: false + smooth: true + sourceRect: Qt.rect(-blur._kernelRadius, -blur._kernelRadius, width, height); + sourceItem: blur + hideSource: visible + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/OpacityMask.qml b/bin/qml/Qt5Compat/GraphicalEffects/OpacityMask.qml new file mode 100644 index 000000000..c944a4dd2 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/OpacityMask.qml @@ -0,0 +1,124 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype OpacityMask + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-mask + \brief Masks the source item with another item. + + \table + \header + \li Source + \li MaskSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image OpacityMask_mask.png + \li \image OpacityMask_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet OpacityMask-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be masked. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the item that is going to be used as the mask. The + mask item gets rendered into an intermediate pixel buffer and the alpha + values from the result are used to determine the source item's pixels + visibility in the display. + + \table + \header + \li Original + \li Mask + \li Effect applied + \row + \li \image Original_bug.png + \li \image OpacityMask_mask.png + \li \image OpacityMask_bug.png + \endtable + */ + property variant maskSource + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + \note It is not supported to let the effect include itself, for + instance by setting maskSource to the effect's parent. + */ + property bool cached: false + + /*! + This property controls how the alpha values of the sourceMask will behave. + + If this property is \c false, the resulting opacity is the source alpha + multiplied with the mask alpha, \c{As * Am}. + + If this property is \c true, the resulting opacity is the source alpha + multiplied with the inverse of the mask alpha, \c{As * (1 - Am)}. + + The default is \c false. + + \since 5.7 + */ + property bool invert: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.maskSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant maskSource: maskSourceProxy.output + + anchors.fill: parent + + fragmentShader: invert ? "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/opacitymask_invert.frag.qsb" : "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/opacitymask.frag.qsb" + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/RadialBlur.qml b/bin/qml/Qt5Compat/GraphicalEffects/RadialBlur.qml new file mode 100644 index 000000000..ce6e4c3d7 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/RadialBlur.qml @@ -0,0 +1,282 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype RadialBlur + \inqmlmodule Qt5Compat.GraphicalEffects + \since Qt5Compat.GraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-motion-blur + \brief Applies directional blur in a circular direction around the items + center point. + + Effect creates perceived impression that the source item appears to be + rotating to the direction of the blur. + + Other available motionblur effects are + \l{Qt5Compat.GraphicalEffects::ZoomBlur}{ZoomBlur} and + \l{Qt5Compat.GraphicalEffects::DirectionalBlur}{DirectionalBlur}. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image RadialBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example Usage + + The following example shows how to apply the effect. + \snippet RadialBlur-example.qml example +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the direction for the blur and at the same time + the level of blurring. The larger the angle, the more the result becomes + blurred. The quality of the blur depends on + \l{RadialBlur::samples}{samples} property. If angle value is large, more + samples are needed to keep the visual quality at high level. + + Allowed values are between 0.0 and 360.0. By default the property is set + to \c 0.0. + + \table + \header + \li Output examples with different angle values + \li + \li + \row + \li \image RadialBlur_angle1.png + \li \image RadialBlur_angle2.png + \li \image RadialBlur_angle3.png + \row + \li \b { angle: 0.0 } + \li \b { angle: 15.0 } + \li \b { angle: 30.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ + property real angle: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + Allowed values are between 0 and inf (practical maximum depends on GPU). + By default the property is set to \c 0 (no samples). + + */ + property int samples: 0 + + /*! + \qmlproperty real QtGraphicalEffects::RadialBlur::horizontalOffset + \qmlproperty real QtGraphicalEffects::RadialBlur::verticalOffset + + These properties define the offset in pixels for the perceived center + point of the rotation. + + Allowed values are between -inf and inf. + By default these properties are set to \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image RadialBlur_horizontalOffset1.png + \li \image RadialBlur_horizontalOffset2.png + \li \image RadialBlur_horizontalOffset3.png + \row + \li \b { horizontalOffset: 75.0 } + \li \b { horizontalOffset: 0.0 } + \li \b { horizontalOffset: -75.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l angle: 20 + \li \l angle: 20 + \li \l angle: 20 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ + property real horizontalOffset: 0.0 + property real verticalOffset: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + */ + property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: shaderItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant center: Qt.point(0.5 + rootItem.horizontalOffset / parent.width, 0.5 + rootItem.verticalOffset / parent.height) + property bool transparentBorder: rootItem.transparentBorder && rootItem.samples > 1 + property int samples: rootItem.samples + property real weight: 1.0 / Math.max(1.0, rootItem.samples) + property real angleSin: Math.sin(rootItem.angle/2 * Math.PI/180) + property real angleCos: Math.cos(rootItem.angle/2 * Math.PI/180) + property real angleSinStep: Math.sin(-rootItem.angle * Math.PI/180 / Math.max(1.0, rootItem.samples - 1)) + property real angleCosStep: Math.cos(-rootItem.angle * Math.PI/180 / Math.max(1.0, rootItem.samples - 1)) + property variant expandPixels: transparentBorder ? Qt.size(0.5 * parent.height, 0.5 * parent.width) : Qt.size(0,0) + property variant expand: transparentBorder ? Qt.size(expandPixels.width / width, expandPixels.height / height) : Qt.size(0,0) + property variant delta: Qt.size(1.0 / rootItem.width, 1.0 / rootItem.height) + property real w: parent.width + property real h: parent.height + + x: transparentBorder ? -expandPixels.width - 1 : 0 + y: transparentBorder ? -expandPixels.height - 1 : 0 + width: transparentBorder ? parent.width + expandPixels.width * 2.0 + 2 : parent.width + height: transparentBorder ? parent.height + expandPixels.height * 2.0 + 2 : parent.height + + property string fragmentShaderSkeleton: "#version 440 + layout(location = 0) in vec2 qt_TexCoord0; + layout(location = 0) out vec4 fragColor; + + layout(std140, binding = 0) uniform buf { + mat4 qt_Matrix; + float qt_Opacity; + float angleSin; + float angleCos; + float angleSinStep; + float angleCosStep; + float weight; + vec2 expand; + vec2 center; + vec2 delta; + float w; + float h; + }; + layout(binding = 1) uniform sampler2D source; + + void main() { + mat2 m; + fragColor = vec4(0.0); + vec2 texCoord = qt_TexCoord0; + + PLACEHOLDER_EXPAND_STEPS + + vec2 dir = vec2(texCoord.s * w - w * center.x, texCoord.t * h - h * center.y); + m[0] = vec2(angleCos, -angleSin); + m[1] = vec2(angleSin, angleCos); + dir *= m; + + m[0] = vec2(angleCosStep, -angleSinStep); + m[1] = vec2(angleSinStep, angleCosStep); + + PLACEHOLDER_UNROLLED_LOOP + + fragColor *= weight * qt_Opacity; + } + " + + function buildFragmentShader() { + var shader = fragmentShaderSkeleton + var expandSteps = "" + + if (transparentBorder) { + expandSteps += "texCoord = (texCoord - expand) / (1.0 - 2.0 * expand);" + } + + var unrolledLoop = "fragColor += texture(source, texCoord);\n" + + if (rootItem.samples > 1) { + unrolledLoop = "" + for (var i = 0; i < rootItem.samples; i++) + unrolledLoop += "fragColor += texture(source, center + dir * delta); dir *= m;\n" + } + + shader = shader.replace("PLACEHOLDER_EXPAND_STEPS", expandSteps) + fragmentShader = ShaderBuilder.buildFragmentShader(shader.replace("PLACEHOLDER_UNROLLED_LOOP", unrolledLoop)) + } + + onFragmentShaderChanged: sourceChanged() + onSamplesChanged: buildFragmentShader() + onTransparentBorderChanged: buildFragmentShader() + Component.onCompleted: buildFragmentShader() + } +} diff --git a/bin/QtGraphicalEffects/RadialGradient.qml b/bin/qml/Qt5Compat/GraphicalEffects/RadialGradient.qml similarity index 82% rename from bin/QtGraphicalEffects/RadialGradient.qml rename to bin/qml/Qt5Compat/GraphicalEffects/RadialGradient.qml index 52b3ff3ef..e3959e9d9 100644 --- a/bin/QtGraphicalEffects/RadialGradient.qml +++ b/bin/qml/Qt5Compat/GraphicalEffects/RadialGradient.qml @@ -1,48 +1,12 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private /*! \qmltype RadialGradient - \inqmlmodule QtGraphicalEffects + \inqmlmodule Qt5Compat.GraphicalEffects \since QtGraphicalEffects 1.0 \inherits QtQuick2::Item \ingroup qtgraphicaleffects-gradient @@ -58,8 +22,6 @@ import QtGraphicalEffects.private 1.12 \li \image RadialGradient.png \endtable - \note This effect is available when running with OpenGL. - \section1 Example The following example shows how to apply the effect. @@ -398,13 +360,13 @@ Item { anchors.fill: parent - vertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/radialgradient.vert" + vertexShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/radialgradient.vert.qsb" fragmentShader: maskSource == undefined ? noMaskShader : maskShader onFragmentShaderChanged: horizontalRatioChanged() - property string maskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/radialgradient_mask.frag" - property string noMaskShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/radialgradient_nomask.frag" + property string maskShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/radialgradient_mask.frag.qsb" + property string noMaskShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/radialgradient_nomask.frag.qsb" } } diff --git a/bin/qml/Qt5Compat/GraphicalEffects/RectangularGlow.qml b/bin/qml/Qt5Compat/GraphicalEffects/RectangularGlow.qml new file mode 100644 index 000000000..9ea87ad7f --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/RectangularGlow.qml @@ -0,0 +1,230 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype RectangularGlow + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-glow + \brief Generates a blurred and colorized rectangle, which gives + the impression that the source is glowing. + + This effect is intended to have good performance. The shape of the glow is + limited to a rectangle with a custom corner radius. For situations where + custom shapes are required, consider \l[QML]{Glow} effect. + + \table + \header + \li Effect applied + \row + \li \image RectangularGlow_applied.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet RectangularGlow-example.qml example +*/ +Item { + id: rootItem + + /*! + This property defines how many pixels outside the item area are reached + by the glow. + + The value ranges from 0.0 (no glow) to inf (infinite glow). By default, + the property is set to \c 0.0. + + \table + \header + \li Output examples with different glowRadius values + \li + \li + \row + \li \image RectangularGlow_glowRadius1.png + \li \image RectangularGlow_glowRadius2.png + \li \image RectangularGlow_glowRadius3.png + \row + \li \b { glowRadius: 10 } + \li \b { glowRadius: 20 } + \li \b { glowRadius: 40 } + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + + */ + property real glowRadius: 0.0 + + /*! + This property defines how large part of the glow color is strengthened + near the source edges. + + The value ranges from 0.0 (no strength increase) to 1.0 (maximum + strength increase). By default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image RectangularGlow_spread1.png + \li \image RectangularGlow_spread2.png + \li \image RectangularGlow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.5 } + \li \b { spread: 1.0 } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + */ + property real spread: 0.0 + + /*! + This property defines the RGBA color value which is used for the glow. + + By default, the property is set to \c "white". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image RectangularGlow_color1.png + \li \image RectangularGlow_color2.png + \li \image RectangularGlow_color3.png + \row + \li \b { color: #ffffff } + \li \b { color: #55ff55 } + \li \b { color: #5555ff } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + */ + property color color: "white" + + /*! + This property defines the corner radius that is used to draw a glow with + rounded corners. + + The value ranges from 0.0 to half of the effective width or height of + the glow, whichever is smaller. This can be calculated with: \c{ + min(width, height) / 2.0 + glowRadius} + + By default, the property is bound to glowRadius property. The glow + behaves as if the rectangle was blurred when adjusting the glowRadius + property. + + \table + \header + \li Output examples with different cornerRadius values + \li + \li + \row + \li \image RectangularGlow_cornerRadius1.png + \li \image RectangularGlow_cornerRadius2.png + \li \image RectangularGlow_cornerRadius3.png + \row + \li \b { cornerRadius: 0 } + \li \b { cornerRadius: 25 } + \li \b { cornerRadius: 50 } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \endtable + */ + property real cornerRadius: glowRadius + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + + x: (parent.width - width) / 2.0 + y: (parent.height - height) / 2.0 + width: parent.width + rootItem.glowRadius * 2 + cornerRadius * 2 + height: parent.height + rootItem.glowRadius * 2 + cornerRadius * 2 + + function clampedCornerRadius() { + var maxCornerRadius = Math.min(rootItem.width, rootItem.height) / 2 + glowRadius; + return Math.max(0, Math.min(rootItem.cornerRadius, maxCornerRadius)) + } + + property color color: rootItem.color + property real inverseSpread: 1.0 - rootItem.spread + property real relativeSizeX: ((inverseSpread * inverseSpread) * rootItem.glowRadius + cornerRadius * 2.0) / width + property real relativeSizeY: relativeSizeX * (width / height) + property real spread: rootItem.spread / 2.0 + property real cornerRadius: clampedCornerRadius() + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/rectangularglow.frag.qsb" + } +} diff --git a/bin/QtGraphicalEffects/RecursiveBlur.qml b/bin/qml/Qt5Compat/GraphicalEffects/RecursiveBlur.qml similarity index 79% rename from bin/QtGraphicalEffects/RecursiveBlur.qml rename to bin/qml/Qt5Compat/GraphicalEffects/RecursiveBlur.qml index 7d9380230..c88bc37b1 100644 --- a/bin/QtGraphicalEffects/RecursiveBlur.qml +++ b/bin/qml/Qt5Compat/GraphicalEffects/RecursiveBlur.qml @@ -1,48 +1,12 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private /*! \qmltype RecursiveBlur - \inqmlmodule QtGraphicalEffects + \inqmlmodule Qt5Compat.GraphicalEffects \since QtGraphicalEffects 1.0 \inherits QtQuick2::Item \ingroup qtgraphicaleffects-blur @@ -51,8 +15,8 @@ import QtGraphicalEffects.private 1.12 The RecursiveBlur effect softens the image by blurring it with an algorithm that uses a recursive feedback loop to blur the source multiple times. The effect may give more blurry results than - \l{QtGraphicalEffects::GaussianBlur}{GaussianBlur} or - \l{QtGraphicalEffects::FastBlur}{FastBlur}, but the result is produced + \l{Qt5Compat.GraphicalEffects::GaussianBlur}{GaussianBlur} or + \l{Qt5Compat.GraphicalEffects::FastBlur}{FastBlur}, but the result is produced asynchronously and takes more time. \table @@ -270,9 +234,9 @@ Item { anchors.fill: verticalBlur visible: !verticalBlur.visible - vertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/recursiveblur.vert" + vertexShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/recursiveblur.vert.qsb" - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/recursiveblur.frag" + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/recursiveblur.frag.qsb" } ShaderEffectSource { diff --git a/bin/qml/Qt5Compat/GraphicalEffects/ThresholdMask.qml b/bin/qml/Qt5Compat/GraphicalEffects/ThresholdMask.qml new file mode 100644 index 000000000..6efb88fa6 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/ThresholdMask.qml @@ -0,0 +1,177 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype ThresholdMask + \inqmlmodule Qt5Compat.GraphicalEffects + \since QtGraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-mask + \brief Masks the source item with another item and applies a threshold + value. + + The masking behavior can be controlled with the \l threshold value for the + mask pixels. + + \table + \header + \li Source + \li MaskSource + \li Effect applied + \row + \li \image Original_bug.png + \li \image ThresholdMask_mask.png + \li \image ThresholdMask_bug.png + \endtable + + \section1 Example + + The following example shows how to apply the effect. + \snippet ThresholdMask-example.qml example +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be masked. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the item that is going to be used as the mask. + Mask item gets rendered into an intermediate pixel buffer and the alpha + values from the result are used to determine the source item's pixels + visibility in the display. + + \table + \header + \li Original + \li Mask + \li Effect applied + \row + \li \image Original_bug.png + \li \image ThresholdMask_mask.png + \li \image ThresholdMask_bug.png + \endtable + + \note It is not supported to let the effect include itself, for + instance by setting maskSource to the effect's parent. + */ + property variant maskSource + + /*! + This property defines a threshold value for the mask pixels. The mask + pixels that have an alpha value below this property are used to + completely mask away the corresponding pixels from the source item. The + mask pixels that have a higher alpha value are used to alphablend the + source item to the display. + + The value ranges from 0.0 (alpha value 0) to 1.0 (alpha value 255). By + default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different threshold values + \li + \li + \row + \li \image ThresholdMask_threshold1.png + \li \image ThresholdMask_threshold2.png + \li \image ThresholdMask_threshold3.png + \row + \li \b { threshold: 0.0 } + \li \b { threshold: 0.5 } + \li \b { threshold: 0.7 } + \row + \li \l spread: 0.2 + \li \l spread: 0.2 + \li \l spread: 0.2 + \endtable + */ + property real threshold: 0.0 + + /*! + This property defines the smoothness of the mask edges near the + \l{ThresholdMask::threshold}{threshold} alpha value. Setting spread to + 0.0 uses mask normally with the specified threshold. Setting higher + spread values softens the transition from the transparent mask pixels + towards opaque mask pixels by adding interpolated values between them. + + The value ranges from 0.0 (sharp mask edge) to 1.0 (smooth mask edge). + By default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image ThresholdMask_spread1.png + \li \image ThresholdMask_spread2.png + \li \image ThresholdMask_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.2 } + \li \b { spread: 0.8 } + \row + \li \l threshold: 0.4 + \li \l threshold: 0.4 + \li \l threshold: 0.4 + \endtable + + */ + property real spread: 0.0 + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.maskSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant maskSource: maskSourceProxy.output + property real threshold: rootItem.threshold + property real spread: rootItem.spread + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/thresholdmask.frag.qsb" + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/ZoomBlur.qml b/bin/qml/Qt5Compat/GraphicalEffects/ZoomBlur.qml new file mode 100644 index 000000000..e0831c7f2 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/ZoomBlur.qml @@ -0,0 +1,272 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +/*! + \qmltype ZoomBlur + \inqmlmodule Qt5Compat.GraphicalEffects + \since Qt5Compat.GraphicalEffects 1.0 + \inherits QtQuick2::Item + \ingroup qtgraphicaleffects-motion-blur + \brief Applies directional blur effect towards source items center point. + + Effect creates perceived impression that the source item appears to be + moving towards the center point in Z-direction or that the camera appears + to be zooming rapidly. Other available motion blur effects are + \l{Qt5Compat.GraphicalEffects::DirectionalBlur}{DirectionalBlur} + and \l{Qt5Compat.GraphicalEffects::RadialBlur}{RadialBlur}. + + \table + \header + \li Source + \li Effect applied + \row + \li \image Original_bug.png + \li \image ZoomBlur_bug.png + \endtable + + \note This effect is available when running with OpenGL. + + \section1 Example + + The following example shows how to apply the effect. + \snippet ZoomBlur-example.qml example + +*/ +Item { + id: rootItem + + /*! + This property defines the source item that is going to be blurred. + + \note It is not supported to let the effect include itself, for + instance by setting source to the effect's parent. + */ + property variant source + + /*! + This property defines the maximum perceived amount of movement for each + pixel. The amount is smaller near the center and reaches the specified + value at the edges. + + The quality of the blur depends on \l{ZoomBlur::samples}{samples} + property. If length value is large, more samples are needed to keep the + visual quality at high level. + + The value ranges from 0.0 to inf. By default the property is set to \c + 0.0 (no blur). + + \table + \header + \li Output examples with different length values + \li + \li + \row + \li \image ZoomBlur_length1.png + \li \image ZoomBlur_length2.png + \li \image ZoomBlur_length3.png + \row + \li \b { length: 0.0 } + \li \b { length: 32.0 } + \li \b { length: 48.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \li \l horizontalOffset: 0 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + + */ + property real length: 0.0 + + /*! + This property defines how many samples are taken per pixel when blur + calculation is done. Larger value produces better quality, but is slower + to render. + + This property is not intended to be animated. Changing this property may + cause the underlying OpenGL shaders to be recompiled. + + Allowed values are between 0 and inf (practical maximum depends on GPU). + By default the property is set to \c 0 (no samples). + + */ + property int samples: 0 + + /*! + \qmlproperty real QtGraphicalEffects::ZoomBlur::horizontalOffset + \qmlproperty real QtGraphicalEffects::ZoomBlur::verticalOffset + + These properties define an offset in pixels for the blur direction + center point. + + The values range from -inf to inf. By default these properties are set + to \c 0. + + \table + \header + \li Output examples with different horizontalOffset values + \li + \li + \row + \li \image ZoomBlur_horizontalOffset1.png + \li \image ZoomBlur_horizontalOffset2.png + \li \image ZoomBlur_horizontalOffset3.png + \row + \li \b { horizontalOffset: 100.0 } + \li \b { horizontalOffset: 0.0 } + \li \b { horizontalOffset: -100.0 } + \row + \li \l samples: 24 + \li \l samples: 24 + \li \l samples: 24 + \row + \li \l length: 32 + \li \l length: 32 + \li \l length: 32 + \row + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \li \l verticalOffset: 0 + \endtable + */ + property real horizontalOffset: 0.0 + property real verticalOffset: 0.0 + + /*! + This property defines the blur behavior near the edges of the item, + where the pixel blurring is affected by the pixels outside the source + edges. + + If the property is set to \c true, the pixels outside the source are + interpreted to be transparent, which is similar to OpenGL + clamp-to-border extension. The blur is expanded slightly outside the + effect item area. + + If the property is set to \c false, the pixels outside the source are + interpreted to contain the same color as the pixels at the edge of the + item, which is similar to OpenGL clamp-to-edge behavior. The blur does + not expand outside the effect item area. + + By default, the property is set to \c false. + + */ + property bool transparentBorder: false + + /*! + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property variant center: Qt.point(0.5 + rootItem.horizontalOffset / width, 0.5 + rootItem.verticalOffset / height) + property real len: rootItem.length + property bool transparentBorder: rootItem.transparentBorder + property real samples: rootItem.samples + property real weight: 1.0 / Math.max(1.0, rootItem.samples) + property variant expandPixels: transparentBorder ? Qt.size(rootItem.samples, rootItem.samples) : Qt.size(0,0) + property variant expand: transparentBorder ? Qt.size(expandPixels.width / width, expandPixels.height / height) : Qt.size(0,0) + property variant delta: Qt.size(1.0 / rootItem.width, 1.0 / rootItem.height) + + x: transparentBorder ? -expandPixels.width - 1 : 0 + y: transparentBorder ? -expandPixels.height - 1 : 0 + width: transparentBorder ? parent.width + 2.0 * expandPixels.width + 2 : parent.width + height: transparentBorder ? parent.height + 2.0 * expandPixels.height + 2 : parent.height + + property string fragmentShaderSkeleton: "#version 440 + layout(location = 0) in vec2 qt_TexCoord0; + layout(location = 0) out vec4 fragColor; + + layout(std140, binding = 0) uniform buf { + mat4 qt_Matrix; + float qt_Opacity; + float len; + float weight; + float samples; + vec2 center; + vec2 expand; + vec2 delta; + }; + layout(binding = 1) uniform sampler2D source; + + void main() { + vec2 texCoord = qt_TexCoord0; + vec2 centerCoord = center; + + PLACEHOLDER_EXPAND_STEPS + + vec2 dir = vec2(centerCoord.x - texCoord.s, centerCoord.y - texCoord.t); + dir /= max(1.0, length(dir) * 2.0); + vec2 shift = delta * len * dir * 2.0 / max(1.0, samples - 1.0); + fragColor = vec4(0.0); + + PLACEHOLDER_UNROLLED_LOOP + + fragColor *= weight * qt_Opacity; + } + " + + function buildFragmentShader() { + var shader = fragmentShaderSkeleton + var expandSteps = "" + + if (transparentBorder) { + expandSteps += "centerCoord = (centerCoord - expand) / (1.0 - 2.0 * expand);" + expandSteps += "texCoord = (texCoord - expand) / (1.0 - 2.0 * expand);" + } + + var unrolledLoop = "fragColor += texture(source, texCoord);\n" + + if (rootItem.samples > 1) { + unrolledLoop = "" + for (var i = 0; i < rootItem.samples; i++) + unrolledLoop += "fragColor += texture(source, texCoord); texCoord += shift;\n" + } + + shader = shader.replace("PLACEHOLDER_EXPAND_STEPS", expandSteps) + fragmentShader = ShaderBuilder.buildFragmentShader(shader.replace("PLACEHOLDER_UNROLLED_LOOP", unrolledLoop)) + } + + onFragmentShaderChanged: sourceChanged() + onSamplesChanged: buildFragmentShader() + onTransparentBorderChanged: buildFragmentShader() + Component.onCompleted: buildFragmentShader() + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/plugins.qmltypes b/bin/qml/Qt5Compat/GraphicalEffects/plugins.qmltypes new file mode 100644 index 000000000..015af1374 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/plugins.qmltypes @@ -0,0 +1,10 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable Qt5Compat.GraphicalEffects 6.0' + +Module { +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/private/DropShadowBase.qml b/bin/qml/Qt5Compat/GraphicalEffects/private/DropShadowBase.qml new file mode 100644 index 000000000..17336ea8f --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/private/DropShadowBase.qml @@ -0,0 +1,62 @@ +// Copyright (C) 2017 Jolla Ltd, author: +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private +import Qt5Compat.GraphicalEffects + +Item { + id: root + + property variant source + property real radius: Math.floor(samples / 2) + property int samples: 9 + property color color: "black" + property real horizontalOffset: 0 + property real verticalOffset: 0 + property real spread: 0.0 + property bool cached: false + property bool transparentBorder: true + + GaussianBlur { + id: blur + width: parent.width + height: parent.height + x: Math.round(horizontalOffset) + y: Math.round(verticalOffset) + source: root.source + radius: root.radius * Screen.devicePixelRatio + samples: root.samples * Screen.devicePixelRatio + _thickness: root.spread + transparentBorder: root.transparentBorder + + + _color: root.color; + _alphaOnly: true + // ignoreDevicePixelRatio: root.ignoreDevicePixelRatio + + ShaderEffect { + x: blur._outputRect.x - parent.x + y: blur._outputRect.y - parent.y + width: transparentBorder ? blur._outputRect.width : blur.width + height: transparentBorder ? blur._outputRect.height : blur.height + property variant source: blur._output; + } + + } + + ShaderEffectSource { + id: cacheItem + x: -blur._kernelRadius + horizontalOffset + y: -blur._kernelRadius + verticalOffset + width: blur.width + 2 * blur._kernelRadius + height: blur.height + 2 * blur._kernelRadius + visible: root.cached + smooth: true + sourceRect: Qt.rect(-blur._kernelRadius, -blur._kernelRadius, width, height); + sourceItem: blur + hideSource: visible + } + + +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/private/FastGlow.qml b/bin/qml/Qt5Compat/GraphicalEffects/private/FastGlow.qml new file mode 100644 index 000000000..2a97c7f71 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/private/FastGlow.qml @@ -0,0 +1,295 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +Item { + id: rootItem + property variant source + property real spread: 0.0 + property real blur: 0.0 + property color color: "white" + property bool transparentBorder: false + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/fastblur_internal.vert.qsb" + + property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/fastblur_internal.frag.qsb" + + ShaderEffect { + id: level0 + property variant source: sourceProxy.output + anchors.fill: parent + visible: false + smooth: true + } + + ShaderEffectSource { + id: level1 + width: Math.ceil(shaderItem.width / 32) * 32 + height: Math.ceil(shaderItem.height / 32) * 32 + sourceItem: level0 + hideSource: rootItem.visible + sourceRect: transparentBorder ? Qt.rect(-64, -64, shaderItem.width, shaderItem.height) : Qt.rect(0,0,0,0) + smooth: true + visible: false + } + + ShaderEffect { + id: effect1 + property variant source: level1 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level2 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level2 + width: level1.width / 2 + height: level1.height / 2 + sourceItem: effect1 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect2 + property variant source: level2 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level3 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level3 + width: level2.width / 2 + height: level2.height / 2 + sourceItem: effect2 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect3 + property variant source: level3 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level4 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level4 + width: level3.width / 2 + height: level3.height / 2 + sourceItem: effect3 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect4 + property variant source: level4 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level5 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level5 + width: level4.width / 2 + height: level4.height / 2 + sourceItem: effect4 + hideSource: rootItem.visible + visible: false + smooth: true + } + + ShaderEffect { + id: effect5 + property variant source: level5 + property real yStep: 1/height + property real xStep: 1/width + anchors.fill: level6 + visible: false + smooth: true + vertexShader: __internalBlurVertexShader + fragmentShader: __internalBlurFragmentShader + } + + ShaderEffectSource { + id: level6 + width: level5.width / 2 + height: level5.height / 2 + sourceItem: effect5 + hideSource: rootItem.visible + visible: false + smooth: true + } + + Item { + id: dummysource + width: 1 + height: 1 + visible: false + } + + ShaderEffectSource { + id: dummy + width: 1 + height: 1 + sourceItem: dummysource + visible: false + smooth: false + live: false + } + + ShaderEffect { + id: shaderItem + x: transparentBorder ? -64 : 0 + y: transparentBorder ? -64 : 0 + width: transparentBorder ? parent.width + 128 : parent.width + height: transparentBorder ? parent.height + 128 : parent.height + + property variant source1: level1 + property variant source2: level2 + property variant source3: level3 + property variant source4: level4 + property variant source5: level5 + property variant source6: level6 + property real lod: rootItem.blur + + property real weight1; + property real weight2; + property real weight3; + property real weight4; + property real weight5; + property real weight6; + + property real spread: 1.0 - (rootItem.spread * 0.98) + property alias color: rootItem.color + + function weight(v) { + if (v <= 0.0) + return 1 + if (v >= 0.5) + return 0 + + return 1.0 - v / 0.5 + } + + function calculateWeights() { + + var w1 = weight(Math.abs(lod - 0.100)) + var w2 = weight(Math.abs(lod - 0.300)) + var w3 = weight(Math.abs(lod - 0.500)) + var w4 = weight(Math.abs(lod - 0.700)) + var w5 = weight(Math.abs(lod - 0.900)) + var w6 = weight(Math.abs(lod - 1.100)) + + var sum = w1 + w2 + w3 + w4 + w5 + w6; + weight1 = w1 / sum; + weight2 = w2 / sum; + weight3 = w3 / sum; + weight4 = w4 / sum; + weight5 = w5 / sum; + weight6 = w6 / sum; + + upateSources() + } + + function upateSources() { + var sources = new Array(); + var weights = new Array(); + + if (weight1 > 0) { + sources.push(level1) + weights.push(weight1) + } + + if (weight2 > 0) { + sources.push(level2) + weights.push(weight2) + } + + if (weight3 > 0) { + sources.push(level3) + weights.push(weight3) + } + + if (weight4 > 0) { + sources.push(level4) + weights.push(weight4) + } + + if (weight5 > 0) { + sources.push(level5) + weights.push(weight5) + } + + if (weight6 > 0) { + sources.push(level6) + weights.push(weight6) + } + + for (var j = sources.length; j < 6; j++) { + sources.push(dummy) + weights.push(0.0) + } + + source1 = sources[0] + source2 = sources[1] + source3 = sources[2] + source4 = sources[3] + source5 = sources[4] + source6 = sources[5] + + weight1 = weights[0] + weight2 = weights[1] + weight3 = weights[2] + weight4 = weights[3] + weight5 = weights[4] + weight6 = weights[5] + } + + Component.onCompleted: calculateWeights() + + onLodChanged: calculateWeights() + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/fastglow.frag.qsb" + } +} diff --git a/bin/QtGraphicalEffects/private/FastInnerShadow.qml b/bin/qml/Qt5Compat/GraphicalEffects/private/FastInnerShadow.qml similarity index 76% rename from bin/QtGraphicalEffects/private/FastInnerShadow.qml rename to bin/qml/Qt5Compat/GraphicalEffects/private/FastInnerShadow.qml index bd361ca7d..44c38d61f 100644 --- a/bin/QtGraphicalEffects/private/FastInnerShadow.qml +++ b/bin/qml/Qt5Compat/GraphicalEffects/private/FastInnerShadow.qml @@ -1,44 +1,8 @@ -/**************************************************************************** -** -** Copyright (C) 2017 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.12 -import QtGraphicalEffects.private 1.12 +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private Item { id: rootItem @@ -65,9 +29,9 @@ Item { hideSource: visible } - property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.vert" + property string __internalBlurVertexShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/fastblur_internal.vert.qsb" - property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastblur_internal.frag" + property string __internalBlurFragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/fastblur_internal.frag.qsb" ShaderEffect { id: level0 @@ -79,7 +43,7 @@ Item { anchors.fill: parent visible: false smooth: true - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastinnershadow_level0.frag" + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/fastinnershadow_level0.frag.qsb" } ShaderEffectSource { @@ -330,6 +294,6 @@ Item { onLodChanged: calculateWeights() - fragmentShader: "qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/fastinnershadow.frag" + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/fastinnershadow.frag.qsb" } } diff --git a/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianDirectionalBlur.qml b/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianDirectionalBlur.qml new file mode 100644 index 000000000..8dc56e02a --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianDirectionalBlur.qml @@ -0,0 +1,255 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +Item { + id: rootItem + property variant source + property real deviation: (radius + 1) / 3.3333 + property real radius: 0.0 + property int maximumRadius: 0 + property real horizontalStep: 0.0 + property real verticalStep: 0.0 + property bool transparentBorder: false + property bool cached: false + + property bool enableColor: false + property color color: "white" + property real spread: 0.0 + + property bool enableMask: false + property variant maskSource + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.maskSource + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: rootItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: sourceProxy.output + property real deviation: Math.max(0.1, rootItem.deviation) + property real radius: rootItem.radius + property int maxRadius: rootItem.maximumRadius + property bool transparentBorder: rootItem.transparentBorder + property real gaussianSum: 0.0 + property real startIndex: 0.0 + property real deltaFactor: (2 * radius - 1) / (maxRadius * 2 - 1) + property real expandX: transparentBorder && rootItem.horizontalStep > 0 ? maxRadius / width : 0.0 + property real expandY: transparentBorder && rootItem.verticalStep > 0 ? maxRadius / height : 0.0 + property variant gwts: [] + property variant delta: Qt.vector3d(rootItem.horizontalStep * deltaFactor, rootItem.verticalStep * deltaFactor, startIndex); + property variant factor_0_2: Qt.vector3d(gwts[0], gwts[1], gwts[2]); + property variant factor_3_5: Qt.vector3d(gwts[3], gwts[4], gwts[5]); + property variant factor_6_8: Qt.vector3d(gwts[6], gwts[7], gwts[8]); + property variant factor_9_11: Qt.vector3d(gwts[9], gwts[10], gwts[11]); + property variant factor_12_14: Qt.vector3d(gwts[12], gwts[13], gwts[14]); + property variant factor_15_17: Qt.vector3d(gwts[15], gwts[16], gwts[17]); + property variant factor_18_20: Qt.vector3d(gwts[18], gwts[19], gwts[20]); + property variant factor_21_23: Qt.vector3d(gwts[21], gwts[22], gwts[23]); + property variant factor_24_26: Qt.vector3d(gwts[24], gwts[25], gwts[26]); + property variant factor_27_29: Qt.vector3d(gwts[27], gwts[28], gwts[29]); + property variant factor_30_31: Qt.point(gwts[30], gwts[31]); + + property color color: rootItem.color + property real spread: 1.0 - (rootItem.spread * 0.98) + property variant maskSource: maskSourceProxy.output + + anchors.fill: rootItem + + function gausFunc(x){ + //Gaussian function = h(x):=(1/sqrt(2*3.14159*(D^2))) * %e^(-(x^2)/(2*(D^2))); + return (1.0 / Math.sqrt(2 * Math.PI * (Math.pow(shaderItem.deviation, 2)))) * Math.pow(Math.E, -((Math.pow(x, 2)) / (2 * (Math.pow(shaderItem.deviation, 2))))); + } + + function updateGaussianWeights() { + gaussianSum = 0.0; + startIndex = -maxRadius + 0.5 + + var n = new Array(32); + for (var j = 0; j < 32; j++) + n[j] = 0; + + var max = maxRadius * 2 + var delta = (2 * radius - 1) / (max - 1); + for (var i = 0; i < max; i++) { + n[i] = gausFunc(-radius + 0.5 + i * delta); + gaussianSum += n[i]; + } + + gwts = n; + } + + function buildFragmentShader() { + + var shaderSteps = [ + "fragColor += texture(source, texCoord) * factor_0_2.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_0_2.y; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_0_2.z; texCoord += shift;", + + "fragColor += texture(source, texCoord) * factor_3_5.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_3_5.y; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_3_5.z; texCoord += shift;", + + "fragColor += texture(source, texCoord) * factor_6_8.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_6_8.y; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_6_8.z; texCoord += shift;", + + "fragColor += texture(source, texCoord) * factor_9_11.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_9_11.y; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_9_11.z; texCoord += shift;", + + "fragColor += texture(source, texCoord) * factor_12_14.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_12_14.y; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_12_14.z; texCoord += shift;", + + "fragColor += texture(source, texCoord) * factor_15_17.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_15_17.y; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_15_17.z; texCoord += shift;", + + "fragColor += texture(source, texCoord) * factor_18_20.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_18_20.y; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_18_20.z; texCoord += shift;", + + "fragColor += texture(source, texCoord) * factor_21_23.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_21_23.y; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_21_23.z; texCoord += shift;", + + "fragColor += texture(source, texCoord) * factor_24_26.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_24_26.y; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_24_26.z; texCoord += shift;", + + "fragColor += texture(source, texCoord) * factor_27_29.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_27_29.y; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_27_29.z; texCoord += shift;", + + "fragColor += texture(source, texCoord) * factor_30_31.x; texCoord += shift;", + "fragColor += texture(source, texCoord) * factor_30_31.y; texCoord += shift;" + ] + + var shader = fragmentShaderBegin + var samples = maxRadius * 2 + if (samples > 32) { + console.log("DirectionalGaussianBlur.qml WARNING: Maximum of blur radius (16) exceeded!") + samples = 32 + } + + for (var i = 0; i < samples; i++) { + shader += shaderSteps[i] + } + + shader += fragmentShaderEnd + + var colorizeSteps = "" + var colorizeUniforms = "" + + var maskSteps = "" + var maskUniforms = "" + + if (enableColor) { + colorizeSteps += "fragColor = mix(vec4(0), color, clamp((fragColor.a - 0.0) / (spread - 0.0), 0.0, 1.0));\n" + colorizeUniforms += "vec4 color;\n" + colorizeUniforms += "float spread;\n" + } + + if (enableMask) { + maskSteps += "shift *= texture(maskSource, qt_TexCoord0).a;\n" + maskUniforms += "layout(binding = 2) uniform sampler2D maskSource;\n" + } + + shader = shader.replace("PLACEHOLDER_COLORIZE_STEPS", colorizeSteps) + shader = shader.replace("PLACEHOLDER_COLORIZE_UNIFORMS", colorizeUniforms) + shader = shader.replace("PLACEHOLDER_MASK_STEPS", maskSteps) + shader = shader.replace("PLACEHOLDER_MASK_UNIFORMS", maskUniforms) + + fragmentShader = ShaderBuilder.buildFragmentShader(shader) + } + + onDeviationChanged: updateGaussianWeights() + + onRadiusChanged: updateGaussianWeights() + + onTransparentBorderChanged: { + buildFragmentShader() + updateGaussianWeights() + } + + onMaxRadiusChanged: { + buildFragmentShader() + updateGaussianWeights() + } + + Component.onCompleted: { + buildFragmentShader() + updateGaussianWeights() + } + + property string fragmentShaderBegin: "#version 440 + layout(location = 0) in vec2 qt_TexCoord0; + layout(location = 0) out vec4 fragColor; + + layout(std140, binding = 0) uniform buf { + mat4 qt_Matrix; + float qt_Opacity; + vec3 delta; + vec3 factor_0_2; + vec3 factor_3_5; + vec3 factor_6_8; + vec3 factor_9_11; + vec3 factor_12_14; + vec3 factor_15_17; + vec3 factor_18_20; + vec3 factor_21_23; + vec3 factor_24_26; + vec3 factor_27_29; + vec2 factor_30_31; + float gaussianSum; + float expandX; + float expandY; + PLACEHOLDER_COLORIZE_UNIFORMS + }; + layout(binding = 1) uniform sampler2D source; + PLACEHOLDER_MASK_UNIFORMS + + void main() { + vec2 shift = vec2(delta.x, delta.y); + + PLACEHOLDER_MASK_STEPS + + float index = delta.z; + vec2 texCoord = qt_TexCoord0; + texCoord.s = (texCoord.s - expandX) / (1.0 - 2.0 * expandX); + texCoord.t = (texCoord.t - expandY) / (1.0 - 2.0 * expandY); + texCoord += (shift * index); + + fragColor = vec4(0.0, 0.0, 0.0, 0.0); + " + + property string fragmentShaderEnd: " + + fragColor /= gaussianSum; + + PLACEHOLDER_COLORIZE_STEPS + + fragColor *= qt_Opacity; + } + " + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianGlow.qml b/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianGlow.qml new file mode 100644 index 000000000..70ae1a82f --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianGlow.qml @@ -0,0 +1,62 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +Item { + id: rootItem + property variant source + property real radius: 0.0 + property int maximumRadius: 0 + property real spread: 0.0 + property color color: "white" + property bool cached: false + property bool transparentBorder: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + GaussianDirectionalBlur { + id: shaderItem + x: transparentBorder ? -maximumRadius - 1 : 0 + y: transparentBorder ? -maximumRadius - 1 : 0 + width: horizontalBlur.width + height: horizontalBlur.height + horizontalStep: 0.0 + verticalStep: 1.0 / parent.height + source: horizontalBlur + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + transparentBorder: rootItem.transparentBorder + enableColor: true + color: rootItem.color + spread: rootItem.spread + } + + GaussianDirectionalBlur { + id: horizontalBlur + width: transparentBorder ? parent.width + 2 * maximumRadius + 2 : parent.width + height: transparentBorder ? parent.height + 2 * maximumRadius + 2 : parent.height + horizontalStep: 1.0 / parent.width + verticalStep: 0.0 + source: sourceProxy.output + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + transparentBorder: rootItem.transparentBorder + visible: false + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianInnerShadow.qml b/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianInnerShadow.qml new file mode 100644 index 000000000..1517e35cc --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianInnerShadow.qml @@ -0,0 +1,87 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +Item { + id: rootItem + property variant source + property real radius: 0.0 + property int maximumRadius: 0 + property real horizontalOffset: 0 + property real verticalOffset: 0 + property real spread: 0 + property color color: "black" + property bool cached: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect{ + id: shadowItem + anchors.fill: parent + + property variant original: sourceProxy.output + property color color: rootItem.color + property real horizontalOffset: rootItem.horizontalOffset / rootItem.width + property real verticalOffset: rootItem.verticalOffset / rootItem.height + + visible: false + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/gaussianinnershadow_shadow.frag.qsb" + } + + GaussianDirectionalBlur { + id: blurItem + anchors.fill: parent + horizontalStep: 0.0 + verticalStep: 1.0 / parent.height + source: horizontalBlur + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + visible: false + } + + GaussianDirectionalBlur { + id: horizontalBlur + width: transparentBorder ? parent.width + 2 * maximumRadius : parent.width + height: parent.height + horizontalStep: 1.0 / parent.width + verticalStep: 0.0 + source: shadowItem + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + visible: false + } + + ShaderEffectSource { + id: blurredSource + sourceItem: blurItem + live: true + smooth: true + } + + ShaderEffect { + id: shaderItem + anchors.fill: parent + + property variant original: sourceProxy.output + property variant shadow: blurredSource + property real spread: 1.0 - (rootItem.spread * 0.98) + property color color: rootItem.color + + fragmentShader: "qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/shaders_ng/gaussianinnershadow.frag.qsb" + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianMaskedBlur.qml b/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianMaskedBlur.qml new file mode 100644 index 000000000..15f8b906f --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/private/GaussianMaskedBlur.qml @@ -0,0 +1,68 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import Qt5Compat.GraphicalEffects.private + +Item { + id: rootItem + property variant source + property variant maskSource + property real radius: 0.0 + property int maximumRadius: 0 + property bool cached: false + property bool transparentBorder: false + + SourceProxy { + id: sourceProxy + input: rootItem.source + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + SourceProxy { + id: maskSourceProxy + input: rootItem.maskSource + sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0) + } + + ShaderEffectSource { + id: cacheItem + anchors.fill: blur + visible: rootItem.cached + smooth: true + sourceItem: blur + live: true + hideSource: visible + } + + GaussianDirectionalBlur { + id: blur + x: transparentBorder ? -maximumRadius - 1: 0 + y: transparentBorder ? -maximumRadius - 1: 0 + width: horizontalBlur.width + height: horizontalBlur.height + horizontalStep: 0.0 + verticalStep: 1.0 / parent.height + source: horizontalBlur + enableMask: true + maskSource: maskSourceProxy.output + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + transparentBorder: rootItem.transparentBorder + } + + GaussianDirectionalBlur { + id: horizontalBlur + width: transparentBorder ? parent.width + 2 * maximumRadius + 2 : parent.width + height: transparentBorder ? parent.height + 2 * maximumRadius + 2 : parent.height + horizontalStep: 1.0 / parent.width + verticalStep: 0.0 + source: sourceProxy.output + enableMask: true + maskSource: maskSourceProxy.output + radius: rootItem.radius + maximumRadius: rootItem.maximumRadius + transparentBorder: rootItem.transparentBorder + visible: false + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/private/plugins.qmltypes b/bin/qml/Qt5Compat/GraphicalEffects/private/plugins.qmltypes new file mode 100644 index 000000000..7b790df89 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/private/plugins.qmltypes @@ -0,0 +1,108 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qgfxshaderbuilder_p.h" + name: "QGfxShaderBuilder" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "Qt5Compat.GraphicalEffects.private/ShaderBuilder 5.0", + "Qt5Compat.GraphicalEffects.private/ShaderBuilder 6.0" + ] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [1280, 1536] + Method { + name: "gaussianBlur" + type: "QVariantMap" + Parameter { name: "parameters"; type: "QJSValue" } + } + Method { + name: "buildVertexShader" + type: "QUrl" + Parameter { name: "code"; type: "QByteArray" } + } + Method { + name: "buildFragmentShader" + type: "QUrl" + Parameter { name: "code"; type: "QByteArray" } + } + } + Component { + file: "qgfxsourceproxy_p.h" + name: "QGfxSourceProxy" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "Qt5Compat.GraphicalEffects.private/SourceProxy 5.0", + "Qt5Compat.GraphicalEffects.private/SourceProxy 6.0", + "Qt5Compat.GraphicalEffects.private/SourceProxy 6.3" + ] + exportMetaObjectRevisions: [1280, 1536, 1539] + Enum { + name: "Interpolation" + values: [ + "AnyInterpolation", + "NearestInterpolation", + "LinearInterpolation" + ] + } + Property { + name: "input" + type: "QQuickItem" + isPointer: true + read: "input" + write: "setInput" + reset: "resetInput" + notify: "inputChanged" + index: 0 + } + Property { + name: "output" + type: "QQuickItem" + isPointer: true + read: "output" + notify: "outputChanged" + index: 1 + isReadonly: true + } + Property { + name: "sourceRect" + type: "QRectF" + read: "sourceRect" + write: "setSourceRect" + notify: "sourceRectChanged" + index: 2 + } + Property { + name: "active" + type: "bool" + read: "isActive" + notify: "activeChanged" + index: 3 + isReadonly: true + } + Property { + name: "interpolation" + type: "Interpolation" + read: "interpolation" + write: "setInterpolation" + notify: "interpolationChanged" + index: 4 + } + Signal { name: "inputChanged" } + Signal { name: "outputChanged" } + Signal { name: "sourceRectChanged" } + Signal { name: "activeChanged" } + Signal { name: "interpolationChanged" } + Method { name: "repolish" } + } +} diff --git a/bin/qml/Qt5Compat/GraphicalEffects/private/qmldir b/bin/qml/Qt5Compat/GraphicalEffects/private/qmldir new file mode 100644 index 000000000..b7d432990 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/private/qmldir @@ -0,0 +1,21 @@ +module Qt5Compat.GraphicalEffects.private +linktarget Qt6::qtgraphicaleffectsprivate +optional plugin qtgraphicaleffectsprivateplugin +classname QtGraphicalEffectsPrivatePlugin +typeinfo plugins.qmltypes +prefer :/qt-project.org/imports/Qt5Compat/GraphicalEffects/private/ +DropShadowBase 6.0 DropShadowBase.qml +DropShadowBase 1.0 DropShadowBase.qml +FastGlow 6.0 FastGlow.qml +FastGlow 1.0 FastGlow.qml +FastInnerShadow 6.0 FastInnerShadow.qml +FastInnerShadow 1.0 FastInnerShadow.qml +GaussianDirectionalBlur 6.0 GaussianDirectionalBlur.qml +GaussianDirectionalBlur 1.0 GaussianDirectionalBlur.qml +GaussianGlow 6.0 GaussianGlow.qml +GaussianGlow 1.0 GaussianGlow.qml +GaussianInnerShadow 6.0 GaussianInnerShadow.qml +GaussianInnerShadow 1.0 GaussianInnerShadow.qml +GaussianMaskedBlur 6.0 GaussianMaskedBlur.qml +GaussianMaskedBlur 1.0 GaussianMaskedBlur.qml + diff --git a/bin/qml/Qt5Compat/GraphicalEffects/private/qtgraphicaleffectsprivateplugin.dll b/bin/qml/Qt5Compat/GraphicalEffects/private/qtgraphicaleffectsprivateplugin.dll new file mode 100644 index 000000000..4b2a7ef3c Binary files /dev/null and b/bin/qml/Qt5Compat/GraphicalEffects/private/qtgraphicaleffectsprivateplugin.dll differ diff --git a/bin/qml/Qt5Compat/GraphicalEffects/qmldir b/bin/qml/Qt5Compat/GraphicalEffects/qmldir new file mode 100644 index 000000000..60238eaa0 --- /dev/null +++ b/bin/qml/Qt5Compat/GraphicalEffects/qmldir @@ -0,0 +1,60 @@ +module Qt5Compat.GraphicalEffects +linktarget Qt6::qtgraphicaleffectsplugin +plugin qtgraphicaleffectsplugin +classname QtGraphicalEffectsPlugin +designersupported +typeinfo plugins.qmltypes +depends Qt5Compat.GraphicalEffects.private +depends QtQuick.Window +prefer :/qt-project.org/imports/Qt5Compat/GraphicalEffects/ +Blend 6.0 Blend.qml +Blend 1.0 Blend.qml +BrightnessContrast 6.0 BrightnessContrast.qml +BrightnessContrast 1.0 BrightnessContrast.qml +ColorOverlay 6.0 ColorOverlay.qml +ColorOverlay 1.0 ColorOverlay.qml +Colorize 6.0 Colorize.qml +Colorize 1.0 Colorize.qml +ConicalGradient 6.0 ConicalGradient.qml +ConicalGradient 1.0 ConicalGradient.qml +Desaturate 6.0 Desaturate.qml +Desaturate 1.0 Desaturate.qml +DirectionalBlur 6.0 DirectionalBlur.qml +DirectionalBlur 1.0 DirectionalBlur.qml +Displace 6.0 Displace.qml +Displace 1.0 Displace.qml +DropShadow 6.0 DropShadow.qml +DropShadow 1.0 DropShadow.qml +FastBlur 6.0 FastBlur.qml +FastBlur 1.0 FastBlur.qml +GammaAdjust 6.0 GammaAdjust.qml +GammaAdjust 1.0 GammaAdjust.qml +GaussianBlur 6.0 GaussianBlur.qml +GaussianBlur 1.0 GaussianBlur.qml +Glow 6.0 Glow.qml +Glow 1.0 Glow.qml +HueSaturation 6.0 HueSaturation.qml +HueSaturation 1.0 HueSaturation.qml +InnerShadow 6.0 InnerShadow.qml +InnerShadow 1.0 InnerShadow.qml +LevelAdjust 6.0 LevelAdjust.qml +LevelAdjust 1.0 LevelAdjust.qml +LinearGradient 6.0 LinearGradient.qml +LinearGradient 1.0 LinearGradient.qml +MaskedBlur 6.0 MaskedBlur.qml +MaskedBlur 1.0 MaskedBlur.qml +OpacityMask 6.0 OpacityMask.qml +OpacityMask 1.0 OpacityMask.qml +RadialBlur 6.0 RadialBlur.qml +RadialBlur 1.0 RadialBlur.qml +RadialGradient 6.0 RadialGradient.qml +RadialGradient 1.0 RadialGradient.qml +RectangularGlow 6.0 RectangularGlow.qml +RectangularGlow 1.0 RectangularGlow.qml +RecursiveBlur 6.0 RecursiveBlur.qml +RecursiveBlur 1.0 RecursiveBlur.qml +ThresholdMask 6.0 ThresholdMask.qml +ThresholdMask 1.0 ThresholdMask.qml +ZoomBlur 6.0 ZoomBlur.qml +ZoomBlur 1.0 ZoomBlur.qml + diff --git a/bin/qml/Qt5Compat/GraphicalEffects/qtgraphicaleffectsplugin.dll b/bin/qml/Qt5Compat/GraphicalEffects/qtgraphicaleffectsplugin.dll new file mode 100644 index 000000000..467102ff9 Binary files /dev/null and b/bin/qml/Qt5Compat/GraphicalEffects/qtgraphicaleffectsplugin.dll differ diff --git a/bin/qml/QtCore/plugins.qmltypes b/bin/qml/QtCore/plugins.qmltypes new file mode 100644 index 000000000..6df61a526 --- /dev/null +++ b/bin/qml/QtCore/plugins.qmltypes @@ -0,0 +1,509 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qpermissions.h" + name: "QBluetoothPermission" + accessSemantics: "value" + Enum { + name: "CommunicationModes" + alias: "CommunicationMode" + isFlag: true + type: "quint8" + values: ["Access", "Advertise", "Default"] + } + } + Component { + file: "qpermissions.h" + name: "QCalendarPermission" + accessSemantics: "value" + Enum { + name: "AccessMode" + type: "quint8" + values: ["ReadOnly", "ReadWrite"] + } + } + Component { + file: "qpermissions.h" + name: "QContactsPermission" + accessSemantics: "value" + Enum { + name: "AccessMode" + type: "quint8" + values: ["ReadOnly", "ReadWrite"] + } + } + Component { + file: "qpermissions.h" + name: "QLocationPermission" + accessSemantics: "value" + Enum { + name: "Accuracy" + type: "quint8" + values: ["Approximate", "Precise"] + } + Enum { + name: "Availability" + type: "quint8" + values: ["WhenInUse", "Always"] + } + } + Component { + file: "private/qqmlpermissions_p.h" + name: "QQmlBluetoothPermission" + accessSemantics: "reference" + prototype: "QObject" + extension: "QBluetoothPermission" + extensionIsNamespace: true + exports: ["QtCore/BluetoothPermission 6.6"] + exportMetaObjectRevisions: [1542] + Property { + name: "status" + type: "Qt::PermissionStatus" + read: "status" + notify: "statusChanged" + index: 0 + isReadonly: true + } + Property { + name: "communicationModes" + type: "QBluetoothPermission::CommunicationModes" + read: "communicationModes" + write: "setCommunicationModes" + notify: "communicationModesChanged" + index: 1 + } + Signal { name: "statusChanged" } + Signal { name: "communicationModesChanged" } + Method { name: "request" } + } + Component { + file: "private/qqmlpermissions_p.h" + name: "QQmlCalendarPermission" + accessSemantics: "reference" + prototype: "QObject" + extension: "QCalendarPermission" + extensionIsNamespace: true + exports: ["QtCore/CalendarPermission 6.6"] + exportMetaObjectRevisions: [1542] + Property { + name: "status" + type: "Qt::PermissionStatus" + read: "status" + notify: "statusChanged" + index: 0 + isReadonly: true + } + Property { + name: "accessMode" + type: "QCalendarPermission::AccessMode" + read: "accessMode" + write: "setAccessMode" + notify: "accessModeChanged" + index: 1 + } + Signal { name: "statusChanged" } + Signal { name: "accessModeChanged" } + Method { name: "request" } + } + Component { + file: "private/qqmlpermissions_p.h" + name: "QQmlCameraPermission" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtCore/CameraPermission 6.6"] + exportMetaObjectRevisions: [1542] + Property { + name: "status" + type: "Qt::PermissionStatus" + read: "status" + notify: "statusChanged" + index: 0 + isReadonly: true + } + Signal { name: "statusChanged" } + Method { name: "request" } + } + Component { + file: "private/qqmlpermissions_p.h" + name: "QQmlContactsPermission" + accessSemantics: "reference" + prototype: "QObject" + extension: "QContactsPermission" + extensionIsNamespace: true + exports: ["QtCore/ContactsPermission 6.6"] + exportMetaObjectRevisions: [1542] + Property { + name: "status" + type: "Qt::PermissionStatus" + read: "status" + notify: "statusChanged" + index: 0 + isReadonly: true + } + Property { + name: "accessMode" + type: "QContactsPermission::AccessMode" + read: "accessMode" + write: "setAccessMode" + notify: "accessModeChanged" + index: 1 + } + Signal { name: "statusChanged" } + Signal { name: "accessModeChanged" } + Method { name: "request" } + } + Component { + file: "private/qqmlpermissions_p.h" + name: "QQmlMicrophonePermission" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtCore/MicrophonePermission 6.6"] + exportMetaObjectRevisions: [1542] + Property { + name: "status" + type: "Qt::PermissionStatus" + read: "status" + notify: "statusChanged" + index: 0 + isReadonly: true + } + Signal { name: "statusChanged" } + Method { name: "request" } + } + Component { + file: "private/qqmlpermissions_p.h" + name: "QQmlQLocationPermission" + accessSemantics: "reference" + prototype: "QObject" + extension: "QLocationPermission" + extensionIsNamespace: true + exports: ["QtCore/LocationPermission 6.6"] + exportMetaObjectRevisions: [1542] + Property { + name: "status" + type: "Qt::PermissionStatus" + read: "status" + notify: "statusChanged" + index: 0 + isReadonly: true + } + Property { + name: "availability" + type: "QLocationPermission::Availability" + read: "availability" + write: "setAvailability" + notify: "availabilityChanged" + index: 1 + } + Property { + name: "accuracy" + type: "QLocationPermission::Accuracy" + read: "accuracy" + write: "setAccuracy" + notify: "accuracyChanged" + index: 2 + } + Signal { name: "statusChanged" } + Signal { name: "availabilityChanged" } + Signal { name: "accuracyChanged" } + Method { name: "request" } + } + Component { + file: "private/qqmlsettings_p.h" + name: "QQmlSettings" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: ["QtCore/Settings 6.5"] + exportMetaObjectRevisions: [1541] + Property { + name: "category" + type: "QString" + read: "category" + write: "setCategory" + notify: "categoryChanged" + index: 0 + isFinal: true + } + Property { + name: "location" + type: "QUrl" + read: "location" + write: "setLocation" + notify: "locationChanged" + index: 1 + isFinal: true + } + Signal { + name: "categoryChanged" + Parameter { name: "arg"; type: "QString" } + } + Signal { + name: "locationChanged" + Parameter { name: "arg"; type: "QUrl" } + } + Method { name: "_q_propertyChanged" } + Method { + name: "value" + type: "QVariant" + Parameter { name: "key"; type: "QString" } + Parameter { name: "defaultValue"; type: "QVariant" } + } + Method { + name: "value" + type: "QVariant" + isCloned: true + Parameter { name: "key"; type: "QString" } + } + Method { + name: "setValue" + Parameter { name: "key"; type: "QString" } + Parameter { name: "value"; type: "QVariant" } + } + Method { name: "sync" } + } + Component { + file: "private/qqmlstandardpaths_p.h" + name: "QQmlStandardPaths" + accessSemantics: "reference" + prototype: "QObject" + extension: "QStandardPaths" + extensionIsNamespace: true + exports: ["QtCore/StandardPaths 6.2"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [1538] + Method { + name: "displayName" + type: "QString" + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + } + Method { + name: "findExecutable" + type: "QUrl" + Parameter { name: "executableName"; type: "QString" } + Parameter { name: "paths"; type: "QStringList" } + } + Method { + name: "findExecutable" + type: "QUrl" + isCloned: true + Parameter { name: "executableName"; type: "QString" } + } + Method { + name: "locate" + type: "QUrl" + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + Parameter { name: "fileName"; type: "QString" } + Parameter { name: "options"; type: "QStandardPaths::LocateOptions" } + } + Method { + name: "locate" + type: "QUrl" + isCloned: true + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + Parameter { name: "fileName"; type: "QString" } + } + Method { + name: "locateAll" + type: "QUrl" + isList: true + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + Parameter { name: "fileName"; type: "QString" } + Parameter { name: "options"; type: "QStandardPaths::LocateOptions" } + } + Method { + name: "locateAll" + type: "QUrl" + isList: true + isCloned: true + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + Parameter { name: "fileName"; type: "QString" } + } + Method { + name: "standardLocations" + type: "QUrl" + isList: true + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + } + Method { + name: "writableLocation" + type: "QUrl" + Parameter { name: "type"; type: "QStandardPaths::StandardLocation" } + } + } + Component { + file: "private/qqmlsysteminformation_p.h" + name: "QQmlSystemInformation" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtCore/SystemInformation 6.4"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [1540] + Enum { + name: "Endian" + values: ["Big", "Little"] + } + Property { + name: "wordSize" + type: "int" + read: "wordSize" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "byteOrder" + type: "QQmlSystemInformation::Endian" + read: "byteOrder" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buildCpuArchitecture" + type: "QString" + read: "buildCpuArchitecture" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "currentCpuArchitecture" + type: "QString" + read: "currentCpuArchitecture" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buildAbi" + type: "QString" + read: "buildAbi" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "kernelType" + type: "QString" + read: "kernelType" + index: 5 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "kernelVersion" + type: "QString" + read: "kernelVersion" + index: 6 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "productType" + type: "QString" + read: "productType" + index: 7 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "productVersion" + type: "QString" + read: "productVersion" + index: 8 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "prettyProductName" + type: "QString" + read: "prettyProductName" + index: 9 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "machineHostName" + type: "QString" + read: "machineHostName" + index: 10 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "machineUniqueId" + type: "QByteArray" + read: "machineUniqueId" + index: 11 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "bootUniqueId" + type: "QByteArray" + read: "bootUniqueId" + index: 12 + isReadonly: true + isFinal: true + isConstant: true + } + } + Component { + file: "qstandardpaths.h" + name: "QStandardPaths" + accessSemantics: "value" + Enum { + name: "StandardLocation" + values: [ + "DesktopLocation", + "DocumentsLocation", + "FontsLocation", + "ApplicationsLocation", + "MusicLocation", + "MoviesLocation", + "PicturesLocation", + "TempLocation", + "HomeLocation", + "AppLocalDataLocation", + "CacheLocation", + "GenericDataLocation", + "RuntimeLocation", + "ConfigLocation", + "DownloadLocation", + "GenericCacheLocation", + "GenericConfigLocation", + "AppDataLocation", + "AppConfigLocation", + "PublicShareLocation", + "TemplatesLocation" + ] + } + Enum { + name: "LocateOptions" + alias: "LocateOption" + isFlag: true + values: ["LocateFile", "LocateDirectory"] + } + } +} diff --git a/bin/qml/QtCore/qmldir b/bin/qml/QtCore/qmldir new file mode 100644 index 000000000..d652bb201 --- /dev/null +++ b/bin/qml/QtCore/qmldir @@ -0,0 +1,9 @@ +module QtCore +linktarget Qt6::qtqmlcoreplugin +optional plugin qtqmlcoreplugin +classname QtQmlCorePlugin +designersupported +typeinfo plugins.qmltypes +depends QtQml auto +prefer :/qt-project.org/imports/QtCore/ + diff --git a/bin/qml/QtCore/qtqmlcoreplugin.dll b/bin/qml/QtCore/qtqmlcoreplugin.dll new file mode 100644 index 000000000..869f5eed3 Binary files /dev/null and b/bin/qml/QtCore/qtqmlcoreplugin.dll differ diff --git a/bin/qml/QtQml/Base/plugins.qmltypes b/bin/qml/QtQml/Base/plugins.qmltypes new file mode 100644 index 000000000..c04b481d0 --- /dev/null +++ b/bin/qml/QtQml/Base/plugins.qmltypes @@ -0,0 +1,3871 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qv4sequenceobject_p.h" + name: "std::vector" + accessSemantics: "sequence" + valueType: "bool" + } + Component { + file: "private/qv4sequenceobject_p.h" + name: "std::vector" + accessSemantics: "sequence" + valueType: "double" + } + Component { + file: "private/qv4sequenceobject_p.h" + name: "std::vector" + accessSemantics: "sequence" + valueType: "float" + } + Component { + file: "private/qv4sequenceobject_p.h" + name: "std::vector" + accessSemantics: "sequence" + valueType: "int" + } + Component { + file: "qlocale.h" + name: "QLocale" + accessSemantics: "value" + Enum { + name: "Language" + type: "ushort" + values: [ + "AnyLanguage", + "C", + "Abkhazian", + "Afar", + "Afrikaans", + "Aghem", + "Akan", + "Akkadian", + "Akoose", + "Albanian", + "AmericanSignLanguage", + "Amharic", + "AncientEgyptian", + "AncientGreek", + "Arabic", + "Aragonese", + "Aramaic", + "Armenian", + "Assamese", + "Asturian", + "Asu", + "Atsam", + "Avaric", + "Avestan", + "Aymara", + "Azerbaijani", + "Bafia", + "Balinese", + "Bambara", + "Bamun", + "Bangla", + "Basaa", + "Bashkir", + "Basque", + "BatakToba", + "Belarusian", + "Bemba", + "Bena", + "Bhojpuri", + "Bislama", + "Blin", + "Bodo", + "Bosnian", + "Breton", + "Buginese", + "Bulgarian", + "Burmese", + "Cantonese", + "Catalan", + "Cebuano", + "CentralAtlasTamazight", + "CentralKurdish", + "Chakma", + "Chamorro", + "Chechen", + "Cherokee", + "Chickasaw", + "Chiga", + "Chinese", + "Church", + "Chuvash", + "Colognian", + "Coptic", + "Cornish", + "Corsican", + "Cree", + "Croatian", + "Czech", + "Danish", + "Divehi", + "Dogri", + "Duala", + "Dutch", + "Dzongkha", + "Embu", + "English", + "Erzya", + "Esperanto", + "Estonian", + "Ewe", + "Ewondo", + "Faroese", + "Fijian", + "Filipino", + "Finnish", + "French", + "Friulian", + "Fulah", + "Gaelic", + "Ga", + "Galician", + "Ganda", + "Geez", + "Georgian", + "German", + "Gothic", + "Greek", + "Guarani", + "Gujarati", + "Gusii", + "Haitian", + "Hausa", + "Hawaiian", + "Hebrew", + "Herero", + "Hindi", + "HiriMotu", + "Hungarian", + "Icelandic", + "Ido", + "Igbo", + "InariSami", + "Indonesian", + "Ingush", + "Interlingua", + "Interlingue", + "Inuktitut", + "Inupiaq", + "Irish", + "Italian", + "Japanese", + "Javanese", + "Jju", + "JolaFonyi", + "Kabuverdianu", + "Kabyle", + "Kako", + "Kalaallisut", + "Kalenjin", + "Kamba", + "Kannada", + "Kanuri", + "Kashmiri", + "Kazakh", + "Kenyang", + "Khmer", + "Kiche", + "Kikuyu", + "Kinyarwanda", + "Komi", + "Kongo", + "Konkani", + "Korean", + "Koro", + "KoyraboroSenni", + "KoyraChiini", + "Kpelle", + "Kuanyama", + "Kurdish", + "Kwasio", + "Kyrgyz", + "Lakota", + "Langi", + "Lao", + "Latin", + "Latvian", + "Lezghian", + "Limburgish", + "Lingala", + "LiteraryChinese", + "Lithuanian", + "Lojban", + "LowerSorbian", + "LowGerman", + "LubaKatanga", + "LuleSami", + "Luo", + "Luxembourgish", + "Luyia", + "Macedonian", + "Machame", + "Maithili", + "MakhuwaMeetto", + "Makonde", + "Malagasy", + "Malayalam", + "Malay", + "Maltese", + "Mandingo", + "Manipuri", + "Manx", + "Maori", + "Mapuche", + "Marathi", + "Marshallese", + "Masai", + "Mazanderani", + "Mende", + "Meru", + "Meta", + "Mohawk", + "Mongolian", + "Morisyen", + "Mundang", + "Muscogee", + "Nama", + "NauruLanguage", + "Navajo", + "Ndonga", + "Nepali", + "Newari", + "Ngiemboon", + "Ngomba", + "NigerianPidgin", + "Nko", + "NorthernLuri", + "NorthernSami", + "NorthernSotho", + "NorthNdebele", + "NorwegianBokmal", + "NorwegianNynorsk", + "Nuer", + "Nyanja", + "Nyankole", + "Occitan", + "Odia", + "Ojibwa", + "OldIrish", + "OldNorse", + "OldPersian", + "Oromo", + "Osage", + "Ossetic", + "Pahlavi", + "Palauan", + "Pali", + "Papiamento", + "Pashto", + "Persian", + "Phoenician", + "Polish", + "Portuguese", + "Prussian", + "Punjabi", + "Quechua", + "Romanian", + "Romansh", + "Rombo", + "Rundi", + "Russian", + "Rwa", + "Saho", + "Sakha", + "Samburu", + "Samoan", + "Sango", + "Sangu", + "Sanskrit", + "Santali", + "Sardinian", + "Saurashtra", + "Sena", + "Serbian", + "Shambala", + "Shona", + "SichuanYi", + "Sicilian", + "Sidamo", + "Silesian", + "Sindhi", + "Sinhala", + "SkoltSami", + "Slovak", + "Slovenian", + "Soga", + "Somali", + "SouthernKurdish", + "SouthernSami", + "SouthernSotho", + "SouthNdebele", + "Spanish", + "StandardMoroccanTamazight", + "Sundanese", + "Swahili", + "Swati", + "Swedish", + "SwissGerman", + "Syriac", + "Tachelhit", + "Tahitian", + "TaiDam", + "Taita", + "Tajik", + "Tamil", + "Taroko", + "Tasawaq", + "Tatar", + "Telugu", + "Teso", + "Thai", + "Tibetan", + "Tigre", + "Tigrinya", + "TokelauLanguage", + "TokPisin", + "Tongan", + "Tsonga", + "Tswana", + "Turkish", + "Turkmen", + "TuvaluLanguage", + "Tyap", + "Ugaritic", + "Ukrainian", + "UpperSorbian", + "Urdu", + "Uyghur", + "Uzbek", + "Vai", + "Venda", + "Vietnamese", + "Volapuk", + "Vunjo", + "Walloon", + "Walser", + "Warlpiri", + "Welsh", + "WesternBalochi", + "WesternFrisian", + "Wolaytta", + "Wolof", + "Xhosa", + "Yangben", + "Yiddish", + "Yoruba", + "Zarma", + "Zhuang", + "Zulu", + "Kaingang", + "Nheengatu", + "Haryanvi", + "NorthernFrisian", + "Rajasthani", + "Moksha", + "TokiPona", + "Pijin", + "Obolo", + "Baluchi", + "Ligurian", + "Rohingya", + "Torwali", + "Anii", + "Kangri", + "Venetian", + "Afan", + "Bengali", + "Bhutani", + "Byelorussian", + "Cambodian", + "CentralMoroccoTamazight", + "Chewa", + "Frisian", + "Greenlandic", + "Inupiak", + "Kirghiz", + "Kurundi", + "Kwanyama", + "Navaho", + "Oriya", + "RhaetoRomance", + "Uighur", + "Uigur", + "Walamo", + "LastLanguage" + ] + } + Enum { + name: "Script" + type: "ushort" + values: [ + "AnyScript", + "AdlamScript", + "AhomScript", + "AnatolianHieroglyphsScript", + "ArabicScript", + "ArmenianScript", + "AvestanScript", + "BalineseScript", + "BamumScript", + "BanglaScript", + "BassaVahScript", + "BatakScript", + "BhaiksukiScript", + "BopomofoScript", + "BrahmiScript", + "BrailleScript", + "BugineseScript", + "BuhidScript", + "CanadianAboriginalScript", + "CarianScript", + "CaucasianAlbanianScript", + "ChakmaScript", + "ChamScript", + "CherokeeScript", + "CopticScript", + "CuneiformScript", + "CypriotScript", + "CyrillicScript", + "DeseretScript", + "DevanagariScript", + "DuployanScript", + "EgyptianHieroglyphsScript", + "ElbasanScript", + "EthiopicScript", + "FraserScript", + "GeorgianScript", + "GlagoliticScript", + "GothicScript", + "GranthaScript", + "GreekScript", + "GujaratiScript", + "GurmukhiScript", + "HangulScript", + "HanScript", + "HanunooScript", + "HanWithBopomofoScript", + "HatranScript", + "HebrewScript", + "HiraganaScript", + "ImperialAramaicScript", + "InscriptionalPahlaviScript", + "InscriptionalParthianScript", + "JamoScript", + "JapaneseScript", + "JavaneseScript", + "KaithiScript", + "KannadaScript", + "KatakanaScript", + "KayahLiScript", + "KharoshthiScript", + "KhmerScript", + "KhojkiScript", + "KhudawadiScript", + "KoreanScript", + "LannaScript", + "LaoScript", + "LatinScript", + "LepchaScript", + "LimbuScript", + "LinearAScript", + "LinearBScript", + "LycianScript", + "LydianScript", + "MahajaniScript", + "MalayalamScript", + "MandaeanScript", + "ManichaeanScript", + "MarchenScript", + "MeiteiMayekScript", + "MendeScript", + "MeroiticCursiveScript", + "MeroiticScript", + "ModiScript", + "MongolianScript", + "MroScript", + "MultaniScript", + "MyanmarScript", + "NabataeanScript", + "NewaScript", + "NewTaiLueScript", + "NkoScript", + "OdiaScript", + "OghamScript", + "OlChikiScript", + "OldHungarianScript", + "OldItalicScript", + "OldNorthArabianScript", + "OldPermicScript", + "OldPersianScript", + "OldSouthArabianScript", + "OrkhonScript", + "OsageScript", + "OsmanyaScript", + "PahawhHmongScript", + "PalmyreneScript", + "PauCinHauScript", + "PhagsPaScript", + "PhoenicianScript", + "PollardPhoneticScript", + "PsalterPahlaviScript", + "RejangScript", + "RunicScript", + "SamaritanScript", + "SaurashtraScript", + "SharadaScript", + "ShavianScript", + "SiddhamScript", + "SignWritingScript", + "SimplifiedHanScript", + "SinhalaScript", + "SoraSompengScript", + "SundaneseScript", + "SylotiNagriScript", + "SyriacScript", + "TagalogScript", + "TagbanwaScript", + "TaiLeScript", + "TaiVietScript", + "TakriScript", + "TamilScript", + "TangutScript", + "TeluguScript", + "ThaanaScript", + "ThaiScript", + "TibetanScript", + "TifinaghScript", + "TirhutaScript", + "TraditionalHanScript", + "UgariticScript", + "VaiScript", + "VarangKshitiScript", + "YiScript", + "HanifiScript", + "BengaliScript", + "MendeKikakuiScript", + "OriyaScript", + "SimplifiedChineseScript", + "TraditionalChineseScript", + "LastScript" + ] + } + Enum { + name: "Country" + type: "ushort" + values: [ + "AnyTerritory", + "Afghanistan", + "AlandIslands", + "Albania", + "Algeria", + "AmericanSamoa", + "Andorra", + "Angola", + "Anguilla", + "Antarctica", + "AntiguaAndBarbuda", + "Argentina", + "Armenia", + "Aruba", + "AscensionIsland", + "Australia", + "Austria", + "Azerbaijan", + "Bahamas", + "Bahrain", + "Bangladesh", + "Barbados", + "Belarus", + "Belgium", + "Belize", + "Benin", + "Bermuda", + "Bhutan", + "Bolivia", + "BosniaAndHerzegovina", + "Botswana", + "BouvetIsland", + "Brazil", + "BritishIndianOceanTerritory", + "BritishVirginIslands", + "Brunei", + "Bulgaria", + "BurkinaFaso", + "Burundi", + "Cambodia", + "Cameroon", + "Canada", + "CanaryIslands", + "CapeVerde", + "CaribbeanNetherlands", + "CaymanIslands", + "CentralAfricanRepublic", + "CeutaAndMelilla", + "Chad", + "Chile", + "China", + "ChristmasIsland", + "ClippertonIsland", + "CocosIslands", + "Colombia", + "Comoros", + "CongoBrazzaville", + "CongoKinshasa", + "CookIslands", + "CostaRica", + "Croatia", + "Cuba", + "Curacao", + "Cyprus", + "Czechia", + "Denmark", + "DiegoGarcia", + "Djibouti", + "Dominica", + "DominicanRepublic", + "Ecuador", + "Egypt", + "ElSalvador", + "EquatorialGuinea", + "Eritrea", + "Estonia", + "Eswatini", + "Ethiopia", + "Europe", + "EuropeanUnion", + "FalklandIslands", + "FaroeIslands", + "Fiji", + "Finland", + "France", + "FrenchGuiana", + "FrenchPolynesia", + "FrenchSouthernTerritories", + "Gabon", + "Gambia", + "Georgia", + "Germany", + "Ghana", + "Gibraltar", + "Greece", + "Greenland", + "Grenada", + "Guadeloupe", + "Guam", + "Guatemala", + "Guernsey", + "GuineaBissau", + "Guinea", + "Guyana", + "Haiti", + "HeardAndMcDonaldIslands", + "Honduras", + "HongKong", + "Hungary", + "Iceland", + "India", + "Indonesia", + "Iran", + "Iraq", + "Ireland", + "IsleOfMan", + "Israel", + "Italy", + "IvoryCoast", + "Jamaica", + "Japan", + "Jersey", + "Jordan", + "Kazakhstan", + "Kenya", + "Kiribati", + "Kosovo", + "Kuwait", + "Kyrgyzstan", + "Laos", + "LatinAmerica", + "Latvia", + "Lebanon", + "Lesotho", + "Liberia", + "Libya", + "Liechtenstein", + "Lithuania", + "Luxembourg", + "Macao", + "Macedonia", + "Madagascar", + "Malawi", + "Malaysia", + "Maldives", + "Mali", + "Malta", + "MarshallIslands", + "Martinique", + "Mauritania", + "Mauritius", + "Mayotte", + "Mexico", + "Micronesia", + "Moldova", + "Monaco", + "Mongolia", + "Montenegro", + "Montserrat", + "Morocco", + "Mozambique", + "Myanmar", + "Namibia", + "NauruTerritory", + "Nepal", + "Netherlands", + "NewCaledonia", + "NewZealand", + "Nicaragua", + "Nigeria", + "Niger", + "Niue", + "NorfolkIsland", + "NorthernMarianaIslands", + "NorthKorea", + "Norway", + "Oman", + "OutlyingOceania", + "Pakistan", + "Palau", + "PalestinianTerritories", + "Panama", + "PapuaNewGuinea", + "Paraguay", + "Peru", + "Philippines", + "Pitcairn", + "Poland", + "Portugal", + "PuertoRico", + "Qatar", + "Reunion", + "Romania", + "Russia", + "Rwanda", + "SaintBarthelemy", + "SaintHelena", + "SaintKittsAndNevis", + "SaintLucia", + "SaintMartin", + "SaintPierreAndMiquelon", + "SaintVincentAndGrenadines", + "Samoa", + "SanMarino", + "SaoTomeAndPrincipe", + "SaudiArabia", + "Senegal", + "Serbia", + "Seychelles", + "SierraLeone", + "Singapore", + "SintMaarten", + "Slovakia", + "Slovenia", + "SolomonIslands", + "Somalia", + "SouthAfrica", + "SouthGeorgiaAndSouthSandwichIslands", + "SouthKorea", + "SouthSudan", + "Spain", + "SriLanka", + "Sudan", + "Suriname", + "SvalbardAndJanMayen", + "Sweden", + "Switzerland", + "Syria", + "Taiwan", + "Tajikistan", + "Tanzania", + "Thailand", + "TimorLeste", + "Togo", + "TokelauTerritory", + "Tonga", + "TrinidadAndTobago", + "TristanDaCunha", + "Tunisia", + "Turkey", + "Turkmenistan", + "TurksAndCaicosIslands", + "TuvaluTerritory", + "Uganda", + "Ukraine", + "UnitedArabEmirates", + "UnitedKingdom", + "UnitedStatesOutlyingIslands", + "UnitedStates", + "UnitedStatesVirginIslands", + "Uruguay", + "Uzbekistan", + "Vanuatu", + "VaticanCity", + "Venezuela", + "Vietnam", + "WallisAndFutuna", + "WesternSahara", + "World", + "Yemen", + "Zambia", + "Zimbabwe", + "AnyCountry", + "Bonaire", + "BosniaAndHerzegowina", + "CuraSao", + "CzechRepublic", + "DemocraticRepublicOfCongo", + "DemocraticRepublicOfKorea", + "EastTimor", + "LatinAmericaAndTheCaribbean", + "Macau", + "NauruCountry", + "PeoplesRepublicOfCongo", + "RepublicOfKorea", + "RussianFederation", + "SaintVincentAndTheGrenadines", + "SouthGeorgiaAndTheSouthSandwichIslands", + "SvalbardAndJanMayenIslands", + "Swaziland", + "SyrianArabRepublic", + "TokelauCountry", + "TuvaluCountry", + "UnitedStatesMinorOutlyingIslands", + "VaticanCityState", + "WallisAndFutunaIslands", + "LastTerritory", + "LastCountry" + ] + } + Enum { + name: "MeasurementSystem" + values: [ + "MetricSystem", + "ImperialUSSystem", + "ImperialUKSystem", + "ImperialSystem" + ] + } + Enum { + name: "FormatType" + values: ["LongFormat", "ShortFormat", "NarrowFormat"] + } + Enum { + name: "NumberOptions" + alias: "NumberOption" + isFlag: true + values: [ + "DefaultNumberOptions", + "OmitGroupSeparator", + "RejectGroupSeparator", + "OmitLeadingZeroInExponent", + "RejectLeadingZeroInExponent", + "IncludeTrailingZeroesAfterDot", + "RejectTrailingZeroesAfterDot" + ] + } + Enum { + name: "CurrencySymbolFormat" + values: [ + "CurrencyIsoCode", + "CurrencySymbol", + "CurrencyDisplayName" + ] + } + Enum { + name: "DataSizeFormats" + alias: "DataSizeFormat" + isFlag: true + values: [ + "DataSizeBase1000", + "DataSizeSIQuantifiers", + "DataSizeIecFormat", + "DataSizeTraditionalFormat", + "DataSizeSIFormat" + ] + } + Enum { + name: "LanguageCodeTypes" + alias: "LanguageCodeType" + isFlag: true + values: [ + "ISO639Part1", + "ISO639Part2B", + "ISO639Part2T", + "ISO639Part3", + "LegacyLanguageCode", + "ISO639Part2", + "ISO639Alpha2", + "ISO639Alpha3", + "ISO639", + "AnyLanguageCode" + ] + } + Enum { + name: "QuotationStyle" + values: ["StandardQuotation", "AlternateQuotation"] + } + } + Component { + file: "private/qqmlglobal_p.h" + name: "QQmlApplication" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "arguments" + type: "QStringList" + read: "args" + index: 0 + isReadonly: true + isConstant: true + } + Property { + name: "name" + type: "QString" + read: "name" + write: "setName" + notify: "nameChanged" + index: 1 + } + Property { + name: "version" + type: "QString" + read: "version" + write: "setVersion" + notify: "versionChanged" + index: 2 + } + Property { + name: "organization" + type: "QString" + read: "organization" + write: "setOrganization" + notify: "organizationChanged" + index: 3 + } + Property { + name: "domain" + type: "QString" + read: "domain" + write: "setDomain" + notify: "domainChanged" + index: 4 + } + Signal { name: "aboutToQuit" } + Signal { name: "nameChanged" } + Signal { name: "versionChanged" } + Signal { name: "organizationChanged" } + Signal { name: "domainChanged" } + Method { + name: "setName" + Parameter { name: "arg"; type: "QString" } + } + Method { + name: "setVersion" + Parameter { name: "arg"; type: "QString" } + } + Method { + name: "setOrganization" + Parameter { name: "arg"; type: "QString" } + } + Method { + name: "setDomain" + Parameter { name: "arg"; type: "QString" } + } + } + Component { + file: "private/qqmlbind_p.h" + name: "QQmlBind" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus", "QQmlPropertyValueSource"] + immediateNames: [ + "objectName", + "target", + "property", + "value", + "when", + "delayed", + "restoreMode" + ] + exports: [ + "QtQml.Base/Binding 2.0", + "QtQml.Base/Binding 2.8", + "QtQml.Base/Binding 2.14", + "QtQml.Base/Binding 6.0" + ] + exportMetaObjectRevisions: [512, 520, 526, 1536] + Enum { + name: "RestorationMode" + values: [ + "RestoreNone", + "RestoreBinding", + "RestoreValue", + "RestoreBindingOrValue" + ] + } + Property { + name: "target" + type: "QObject" + isPointer: true + read: "object" + write: "setObject" + index: 0 + } + Property { name: "property"; type: "QString"; read: "property"; write: "setProperty"; index: 1 } + Property { name: "value"; type: "QVariant"; read: "value"; write: "setValue"; index: 2 } + Property { name: "when"; type: "bool"; read: "when"; write: "setWhen"; index: 3 } + Property { + name: "delayed" + revision: 520 + type: "bool" + read: "delayed" + write: "setDelayed" + index: 4 + } + Property { + name: "restoreMode" + revision: 526 + type: "RestorationMode" + read: "restoreMode" + write: "setRestoreMode" + notify: "restoreModeChanged" + index: 5 + } + Signal { name: "restoreModeChanged" } + Method { name: "targetValueChanged" } + } + Component { + file: "private/qqmlconnections_p.h" + name: "QQmlConnections" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQml.Base/Connections 2.0", + "QtQml.Base/Connections 2.3", + "QtQml.Base/Connections 6.0" + ] + hasCustomParser: true + exportMetaObjectRevisions: [512, 515, 1536] + Property { + name: "target" + type: "QObject" + isPointer: true + read: "target" + write: "setTarget" + notify: "targetChanged" + index: 0 + } + Property { + name: "enabled" + revision: 515 + type: "bool" + read: "isEnabled" + write: "setEnabled" + notify: "enabledChanged" + index: 1 + } + Property { + name: "ignoreUnknownSignals" + type: "bool" + read: "ignoreUnknownSignals" + write: "setIgnoreUnknownSignals" + index: 2 + } + Signal { name: "targetChanged" } + Signal { name: "enabledChanged"; revision: 515 } + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QQmlEasingEnums" + accessSemantics: "none" + exports: ["QtQml.Base/Easing 2.0", "QtQml.Base/Easing 6.0"] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + Enum { + name: "Type" + values: [ + "Linear", + "InQuad", + "OutQuad", + "InOutQuad", + "OutInQuad", + "InCubic", + "OutCubic", + "InOutCubic", + "OutInCubic", + "InQuart", + "OutQuart", + "InOutQuart", + "OutInQuart", + "InQuint", + "OutQuint", + "InOutQuint", + "OutInQuint", + "InSine", + "OutSine", + "InOutSine", + "OutInSine", + "InExpo", + "OutExpo", + "InOutExpo", + "OutInExpo", + "InCirc", + "OutCirc", + "InOutCirc", + "OutInCirc", + "InElastic", + "OutElastic", + "InOutElastic", + "OutInElastic", + "InBack", + "OutBack", + "InOutBack", + "OutInBack", + "InBounce", + "OutBounce", + "InOutBounce", + "OutInBounce", + "InCurve", + "OutCurve", + "SineCurve", + "CosineCurve", + "BezierSpline", + "Bezier" + ] + } + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QEasingCurve" + accessSemantics: "value" + extension: "QQmlEasingValueType" + Enum { + name: "Type" + values: [ + "Linear", + "InQuad", + "OutQuad", + "InOutQuad", + "OutInQuad", + "InCubic", + "OutCubic", + "InOutCubic", + "OutInCubic", + "InQuart", + "OutQuart", + "InOutQuart", + "OutInQuart", + "InQuint", + "OutQuint", + "InOutQuint", + "OutInQuint", + "InSine", + "OutSine", + "InOutSine", + "OutInSine", + "InExpo", + "OutExpo", + "InOutExpo", + "OutInExpo", + "InCirc", + "OutCirc", + "InOutCirc", + "OutInCirc", + "InElastic", + "OutElastic", + "InOutElastic", + "OutInElastic", + "InBack", + "OutBack", + "InOutBack", + "OutInBack", + "InBounce", + "OutBounce", + "InOutBounce", + "OutInBounce", + "InCurve", + "OutCurve", + "SineCurve", + "CosineCurve", + "BezierSpline", + "TCBSpline", + "Custom", + "NCurveTypes" + ] + } + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QQmlEasingValueType" + accessSemantics: "value" + Property { + name: "type" + type: "QQmlEasingEnums::Type" + read: "type" + write: "setType" + index: 0 + isFinal: true + } + Property { + name: "amplitude" + type: "double" + read: "amplitude" + write: "setAmplitude" + index: 1 + isFinal: true + } + Property { + name: "overshoot" + type: "double" + read: "overshoot" + write: "setOvershoot" + index: 2 + isFinal: true + } + Property { + name: "period" + type: "double" + read: "period" + write: "setPeriod" + index: 3 + isFinal: true + } + Property { + name: "bezierCurve" + type: "QVariantList" + read: "bezierCurve" + write: "setBezierCurve" + index: 4 + isFinal: true + } + } + Component { + file: "private/qqmllocale_p.h" + name: "QQmlLocale" + accessSemantics: "none" + extension: "QLocale" + exports: ["QtQml.Base/Locale 2.2", "QtQml.Base/Locale 6.0"] + isCreatable: false + exportMetaObjectRevisions: [514, 1536] + Enum { + name: "DayOfWeek" + values: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + } + Component { + file: "private/qqmlloggingcategory_p.h" + name: "QQmlLoggingCategory" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQml.Base/LoggingCategory 2.8", + "QtQml.Base/LoggingCategory 2.12", + "QtQml.Base/LoggingCategory 6.0" + ] + exportMetaObjectRevisions: [520, 524, 1536] + Enum { + name: "DefaultLogLevel" + values: ["Debug", "Info", "Warning", "Critical", "Fatal"] + } + Property { name: "name"; type: "QString"; read: "name"; write: "setName"; index: 0 } + Property { + name: "defaultLogLevel" + revision: 524 + type: "DefaultLogLevel" + read: "defaultLogLevel" + write: "setDefaultLogLevel" + index: 1 + } + } + Component { + file: "private/qqmlplatform_p.h" + name: "QQmlPlatform" + accessSemantics: "reference" + prototype: "QObject" + Property { name: "os"; type: "QString"; read: "os"; index: 0; isReadonly: true; isConstant: true } + Property { + name: "pluginName" + type: "QString" + read: "pluginName" + index: 1 + isReadonly: true + isConstant: true + } + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QPointF" + accessSemantics: "value" + extension: "QQmlPointFValueType" + exports: ["QtQml.Base/point 2.0", "QtQml.Base/point 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QQmlPointFValueType" + accessSemantics: "value" + Property { name: "x"; type: "double"; read: "x"; write: "setX"; index: 0; isFinal: true } + Property { name: "y"; type: "double"; read: "y"; write: "setY"; index: 1; isFinal: true } + Method { name: "toString"; type: "QString" } + Method { + name: "QQmlPointFValueType" + isConstructor: true + Parameter { name: "point"; type: "QPoint" } + } + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QPoint" + accessSemantics: "value" + extension: "QQmlPointValueType" + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QQmlPointValueType" + accessSemantics: "value" + Property { name: "x"; type: "int"; read: "x"; write: "setX"; index: 0; isFinal: true } + Property { name: "y"; type: "int"; read: "y"; write: "setY"; index: 1; isFinal: true } + Method { name: "toString"; type: "QString" } + Method { + name: "QQmlPointValueType" + isConstructor: true + Parameter { name: "point"; type: "QPointF" } + } + } + Component { + file: "qqmlproperty.h" + name: "QQmlProperty" + accessSemantics: "value" + Property { + name: "object" + type: "QObject" + isPointer: true + read: "object" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "name" + type: "QString" + read: "name" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QRectF" + accessSemantics: "value" + extension: "QQmlRectFValueType" + exports: ["QtQml.Base/rect 2.0", "QtQml.Base/rect 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QQmlRectFValueType" + accessSemantics: "value" + Property { name: "x"; type: "double"; read: "x"; write: "setX"; index: 0; isFinal: true } + Property { name: "y"; type: "double"; read: "y"; write: "setY"; index: 1; isFinal: true } + Property { name: "width"; type: "double"; read: "width"; write: "setWidth"; index: 2; isFinal: true } + Property { + name: "height" + type: "double" + read: "height" + write: "setHeight" + index: 3 + isFinal: true + } + Property { name: "left"; type: "double"; read: "left"; index: 4; isReadonly: true; isFinal: true } + Property { name: "right"; type: "double"; read: "right"; index: 5; isReadonly: true; isFinal: true } + Property { name: "top"; type: "double"; read: "top"; index: 6; isReadonly: true; isFinal: true } + Property { name: "bottom"; type: "double"; read: "bottom"; index: 7; isReadonly: true; isFinal: true } + Method { name: "toString"; type: "QString" } + Method { + name: "QQmlRectFValueType" + isConstructor: true + Parameter { name: "rect"; type: "QRect" } + } + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QRect" + accessSemantics: "value" + extension: "QQmlRectValueType" + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QQmlRectValueType" + accessSemantics: "value" + Property { name: "x"; type: "int"; read: "x"; write: "setX"; index: 0; isFinal: true } + Property { name: "y"; type: "int"; read: "y"; write: "setY"; index: 1; isFinal: true } + Property { name: "width"; type: "int"; read: "width"; write: "setWidth"; index: 2; isFinal: true } + Property { name: "height"; type: "int"; read: "height"; write: "setHeight"; index: 3; isFinal: true } + Property { name: "left"; type: "int"; read: "left"; index: 4; isReadonly: true; isFinal: true } + Property { name: "right"; type: "int"; read: "right"; index: 5; isReadonly: true; isFinal: true } + Property { name: "top"; type: "int"; read: "top"; index: 6; isReadonly: true; isFinal: true } + Property { name: "bottom"; type: "int"; read: "bottom"; index: 7; isReadonly: true; isFinal: true } + Method { name: "toString"; type: "QString" } + Method { + name: "QQmlRectValueType" + isConstructor: true + Parameter { name: "rect"; type: "QRectF" } + } + } + Component { file: "qqmlscriptstring.h"; name: "QQmlScriptString"; accessSemantics: "value" } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QSizeF" + accessSemantics: "value" + extension: "QQmlSizeFValueType" + exports: ["QtQml.Base/size 2.0", "QtQml.Base/size 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QQmlSizeFValueType" + accessSemantics: "value" + Property { name: "width"; type: "double"; read: "width"; write: "setWidth"; index: 0; isFinal: true } + Property { + name: "height" + type: "double" + read: "height" + write: "setHeight" + index: 1 + isFinal: true + } + Method { name: "toString"; type: "QString" } + Method { + name: "QQmlSizeFValueType" + isConstructor: true + Parameter { name: "size"; type: "QSize" } + } + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QSize" + accessSemantics: "value" + extension: "QQmlSizeValueType" + } + Component { + file: "private/qqmlvaluetype_p.h" + name: "QQmlSizeValueType" + accessSemantics: "value" + Property { name: "width"; type: "int"; read: "width"; write: "setWidth"; index: 0; isFinal: true } + Property { name: "height"; type: "int"; read: "height"; write: "setHeight"; index: 1; isFinal: true } + Method { name: "toString"; type: "QString" } + Method { + name: "QQmlSizeValueType" + isConstructor: true + Parameter { name: "size"; type: "QSizeF" } + } + } + Component { + file: "private/qqmltimer_p.h" + name: "QQmlTimer" + accessSemantics: "reference" + parentProperty: "parent" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: ["QtQml.Base/Timer 2.0", "QtQml.Base/Timer 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "interval" + type: "int" + read: "interval" + write: "setInterval" + notify: "intervalChanged" + index: 0 + } + Property { + name: "running" + type: "bool" + read: "isRunning" + write: "setRunning" + notify: "runningChanged" + index: 1 + } + Property { + name: "repeat" + type: "bool" + read: "isRepeating" + write: "setRepeating" + notify: "repeatChanged" + index: 2 + } + Property { + name: "triggeredOnStart" + type: "bool" + read: "triggeredOnStart" + write: "setTriggeredOnStart" + notify: "triggeredOnStartChanged" + index: 3 + } + Property { + name: "parent" + type: "QObject" + isPointer: true + read: "parent" + index: 4 + isReadonly: true + isConstant: true + } + Signal { name: "triggered" } + Signal { name: "runningChanged" } + Signal { name: "intervalChanged" } + Signal { name: "repeatChanged" } + Signal { name: "triggeredOnStartChanged" } + Method { name: "start" } + Method { name: "stop" } + Method { name: "restart" } + Method { name: "ticked" } + } + Component { + file: "qqml.h" + name: "QQmlTypeNotAvailable" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQml.Base/TypeNotAvailable 2.15", + "QtQml.Base/TypeNotAvailable 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [527, 1536] + } + Component { + file: "private/qv4sequenceobject_p.h" + name: "QList" + accessSemantics: "sequence" + valueType: "double" + } + Component { + file: "private/qv4sequenceobject_p.h" + name: "std::vector" + accessSemantics: "sequence" + valueType: "double" + } + Component { + file: "private/qv4sequenceobject_p.h" + name: "std::vector" + accessSemantics: "sequence" + valueType: "QString" + } + Component { + file: "private/qv4sequenceobject_p.h" + name: "std::vector" + accessSemantics: "sequence" + valueType: "QUrl" + } + Component { + file: "qnamespace.h" + name: "Qt" + accessSemantics: "none" + Enum { + name: "GlobalColor" + values: [ + "color0", + "color1", + "black", + "white", + "darkGray", + "gray", + "lightGray", + "red", + "green", + "blue", + "cyan", + "magenta", + "yellow", + "darkRed", + "darkGreen", + "darkBlue", + "darkCyan", + "darkMagenta", + "darkYellow", + "transparent" + ] + } + Enum { + name: "ColorScheme" + values: ["Unknown", "Light", "Dark"] + } + Enum { + name: "MouseButtons" + alias: "MouseButton" + isFlag: true + values: [ + "NoButton", + "LeftButton", + "RightButton", + "MiddleButton", + "BackButton", + "XButton1", + "ExtraButton1", + "ForwardButton", + "XButton2", + "ExtraButton2", + "TaskButton", + "ExtraButton3", + "ExtraButton4", + "ExtraButton5", + "ExtraButton6", + "ExtraButton7", + "ExtraButton8", + "ExtraButton9", + "ExtraButton10", + "ExtraButton11", + "ExtraButton12", + "ExtraButton13", + "ExtraButton14", + "ExtraButton15", + "ExtraButton16", + "ExtraButton17", + "ExtraButton18", + "ExtraButton19", + "ExtraButton20", + "ExtraButton21", + "ExtraButton22", + "ExtraButton23", + "ExtraButton24", + "AllButtons", + "MaxMouseButton", + "MouseButtonMask" + ] + } + Enum { + name: "Orientation" + values: ["Horizontal", "Vertical"] + } + Enum { + name: "Orientations" + alias: "Orientation" + isFlag: true + values: ["Horizontal", "Vertical"] + } + Enum { + name: "FocusPolicy" + values: [ + "NoFocus", + "TabFocus", + "ClickFocus", + "StrongFocus", + "WheelFocus" + ] + } + Enum { + name: "TabFocusBehavior" + values: [ + "NoTabFocus", + "TabFocusTextControls", + "TabFocusListControls", + "TabFocusAllControls" + ] + } + Enum { + name: "SortOrder" + values: ["AscendingOrder", "DescendingOrder"] + } + Enum { + name: "SplitBehavior" + alias: "SplitBehaviorFlags" + isFlag: true + values: ["KeepEmptyParts", "SkipEmptyParts"] + } + Enum { + name: "Alignment" + alias: "AlignmentFlag" + isFlag: true + values: [ + "AlignLeft", + "AlignLeading", + "AlignRight", + "AlignTrailing", + "AlignHCenter", + "AlignJustify", + "AlignAbsolute", + "AlignHorizontal_Mask", + "AlignTop", + "AlignBottom", + "AlignVCenter", + "AlignBaseline", + "AlignVertical_Mask", + "AlignCenter" + ] + } + Enum { + name: "TextFlag" + values: [ + "TextSingleLine", + "TextDontClip", + "TextExpandTabs", + "TextShowMnemonic", + "TextWordWrap", + "TextWrapAnywhere", + "TextDontPrint", + "TextIncludeTrailingSpaces", + "TextHideMnemonic", + "TextJustificationForced", + "TextForceLeftToRight", + "TextForceRightToLeft", + "TextLongestVariant" + ] + } + Enum { + name: "TextElideMode" + values: ["ElideLeft", "ElideRight", "ElideMiddle", "ElideNone"] + } + Enum { + name: "WindowType" + values: [ + "Widget", + "Window", + "Dialog", + "Sheet", + "Drawer", + "Popup", + "Tool", + "ToolTip", + "SplashScreen", + "Desktop", + "SubWindow", + "ForeignWindow", + "CoverWindow", + "WindowType_Mask", + "MSWindowsFixedSizeDialogHint", + "MSWindowsOwnDC", + "BypassWindowManagerHint", + "X11BypassWindowManagerHint", + "FramelessWindowHint", + "WindowTitleHint", + "WindowSystemMenuHint", + "WindowMinimizeButtonHint", + "WindowMaximizeButtonHint", + "WindowMinMaxButtonsHint", + "WindowContextHelpButtonHint", + "WindowShadeButtonHint", + "WindowStaysOnTopHint", + "WindowTransparentForInput", + "WindowOverridesSystemGestures", + "WindowDoesNotAcceptFocus", + "MaximizeUsingFullscreenGeometryHint", + "CustomizeWindowHint", + "WindowStaysOnBottomHint", + "WindowCloseButtonHint", + "MacWindowToolBarButtonHint", + "BypassGraphicsProxyWidget", + "NoDropShadowWindowHint", + "WindowFullscreenButtonHint" + ] + } + Enum { + name: "WindowFlags" + alias: "WindowType" + isFlag: true + values: [ + "Widget", + "Window", + "Dialog", + "Sheet", + "Drawer", + "Popup", + "Tool", + "ToolTip", + "SplashScreen", + "Desktop", + "SubWindow", + "ForeignWindow", + "CoverWindow", + "WindowType_Mask", + "MSWindowsFixedSizeDialogHint", + "MSWindowsOwnDC", + "BypassWindowManagerHint", + "X11BypassWindowManagerHint", + "FramelessWindowHint", + "WindowTitleHint", + "WindowSystemMenuHint", + "WindowMinimizeButtonHint", + "WindowMaximizeButtonHint", + "WindowMinMaxButtonsHint", + "WindowContextHelpButtonHint", + "WindowShadeButtonHint", + "WindowStaysOnTopHint", + "WindowTransparentForInput", + "WindowOverridesSystemGestures", + "WindowDoesNotAcceptFocus", + "MaximizeUsingFullscreenGeometryHint", + "CustomizeWindowHint", + "WindowStaysOnBottomHint", + "WindowCloseButtonHint", + "MacWindowToolBarButtonHint", + "BypassGraphicsProxyWidget", + "NoDropShadowWindowHint", + "WindowFullscreenButtonHint" + ] + } + Enum { + name: "WindowState" + values: [ + "WindowNoState", + "WindowMinimized", + "WindowMaximized", + "WindowFullScreen", + "WindowActive" + ] + } + Enum { + name: "WindowStates" + alias: "WindowState" + isFlag: true + values: [ + "WindowNoState", + "WindowMinimized", + "WindowMaximized", + "WindowFullScreen", + "WindowActive" + ] + } + Enum { + name: "ApplicationState" + values: [ + "ApplicationSuspended", + "ApplicationHidden", + "ApplicationInactive", + "ApplicationActive" + ] + } + Enum { + name: "ScreenOrientation" + values: [ + "PrimaryOrientation", + "PortraitOrientation", + "LandscapeOrientation", + "InvertedPortraitOrientation", + "InvertedLandscapeOrientation" + ] + } + Enum { + name: "ScreenOrientations" + alias: "ScreenOrientation" + isFlag: true + values: [ + "PrimaryOrientation", + "PortraitOrientation", + "LandscapeOrientation", + "InvertedPortraitOrientation", + "InvertedLandscapeOrientation" + ] + } + Enum { + name: "WidgetAttribute" + values: [ + "WA_Disabled", + "WA_UnderMouse", + "WA_MouseTracking", + "WA_OpaquePaintEvent", + "WA_StaticContents", + "WA_LaidOut", + "WA_PaintOnScreen", + "WA_NoSystemBackground", + "WA_UpdatesDisabled", + "WA_Mapped", + "WA_InputMethodEnabled", + "WA_WState_Visible", + "WA_WState_Hidden", + "WA_ForceDisabled", + "WA_KeyCompression", + "WA_PendingMoveEvent", + "WA_PendingResizeEvent", + "WA_SetPalette", + "WA_SetFont", + "WA_SetCursor", + "WA_NoChildEventsFromChildren", + "WA_WindowModified", + "WA_Resized", + "WA_Moved", + "WA_PendingUpdate", + "WA_InvalidSize", + "WA_CustomWhatsThis", + "WA_LayoutOnEntireRect", + "WA_OutsideWSRange", + "WA_GrabbedShortcut", + "WA_TransparentForMouseEvents", + "WA_PaintUnclipped", + "WA_SetWindowIcon", + "WA_NoMouseReplay", + "WA_DeleteOnClose", + "WA_RightToLeft", + "WA_SetLayoutDirection", + "WA_NoChildEventsForParent", + "WA_ForceUpdatesDisabled", + "WA_WState_Created", + "WA_WState_CompressKeys", + "WA_WState_InPaintEvent", + "WA_WState_Reparented", + "WA_WState_ConfigPending", + "WA_WState_Polished", + "WA_WState_OwnSizePolicy", + "WA_WState_ExplicitShowHide", + "WA_ShowModal", + "WA_MouseNoMask", + "WA_NoMousePropagation", + "WA_Hover", + "WA_InputMethodTransparent", + "WA_QuitOnClose", + "WA_KeyboardFocusChange", + "WA_AcceptDrops", + "WA_DropSiteRegistered", + "WA_WindowPropagation", + "WA_NoX11EventCompression", + "WA_TintedBackground", + "WA_X11OpenGLOverlay", + "WA_AlwaysShowToolTips", + "WA_MacOpaqueSizeGrip", + "WA_SetStyle", + "WA_SetLocale", + "WA_MacShowFocusRect", + "WA_MacNormalSize", + "WA_MacSmallSize", + "WA_MacMiniSize", + "WA_LayoutUsesWidgetRect", + "WA_StyledBackground", + "WA_CanHostQMdiSubWindowTitleBar", + "WA_MacAlwaysShowToolWindow", + "WA_StyleSheet", + "WA_ShowWithoutActivating", + "WA_X11BypassTransientForHint", + "WA_NativeWindow", + "WA_DontCreateNativeAncestors", + "WA_DontShowOnScreen", + "WA_X11NetWmWindowTypeDesktop", + "WA_X11NetWmWindowTypeDock", + "WA_X11NetWmWindowTypeToolBar", + "WA_X11NetWmWindowTypeMenu", + "WA_X11NetWmWindowTypeUtility", + "WA_X11NetWmWindowTypeSplash", + "WA_X11NetWmWindowTypeDialog", + "WA_X11NetWmWindowTypeDropDownMenu", + "WA_X11NetWmWindowTypePopupMenu", + "WA_X11NetWmWindowTypeToolTip", + "WA_X11NetWmWindowTypeNotification", + "WA_X11NetWmWindowTypeCombo", + "WA_X11NetWmWindowTypeDND", + "WA_SetWindowModality", + "WA_WState_WindowOpacitySet", + "WA_TranslucentBackground", + "WA_AcceptTouchEvents", + "WA_WState_AcceptedTouchBeginEvent", + "WA_TouchPadAcceptSingleTouchEvents", + "WA_X11DoNotAcceptFocus", + "WA_AlwaysStackOnTop", + "WA_TabletTracking", + "WA_ContentsMarginsRespectsSafeArea", + "WA_StyleSheetTarget", + "WA_AttributeCount" + ] + } + Enum { + name: "ApplicationAttribute" + values: [ + "AA_DontShowIconsInMenus", + "AA_NativeWindows", + "AA_DontCreateNativeWidgetSiblings", + "AA_PluginApplication", + "AA_DontUseNativeMenuBar", + "AA_MacDontSwapCtrlAndMeta", + "AA_Use96Dpi", + "AA_DisableNativeVirtualKeyboard", + "AA_SynthesizeTouchForUnhandledMouseEvents", + "AA_SynthesizeMouseForUnhandledTouchEvents", + "AA_UseHighDpiPixmaps", + "AA_ForceRasterWidgets", + "AA_UseDesktopOpenGL", + "AA_UseOpenGLES", + "AA_UseSoftwareOpenGL", + "AA_ShareOpenGLContexts", + "AA_SetPalette", + "AA_EnableHighDpiScaling", + "AA_DisableHighDpiScaling", + "AA_UseStyleSheetPropagationInWidgetStyles", + "AA_DontUseNativeDialogs", + "AA_SynthesizeMouseForUnhandledTabletEvents", + "AA_CompressHighFrequencyEvents", + "AA_DontCheckOpenGLContextThreadAffinity", + "AA_DisableShaderDiskCache", + "AA_DontShowShortcutsInContextMenus", + "AA_CompressTabletEvents", + "AA_DisableSessionManager", + "AA_AttributeCount" + ] + } + Enum { + name: "ImageConversionFlags" + alias: "ImageConversionFlag" + isFlag: true + values: [ + "ColorMode_Mask", + "AutoColor", + "ColorOnly", + "MonoOnly", + "AlphaDither_Mask", + "ThresholdAlphaDither", + "OrderedAlphaDither", + "DiffuseAlphaDither", + "NoAlpha", + "Dither_Mask", + "DiffuseDither", + "OrderedDither", + "ThresholdDither", + "DitherMode_Mask", + "AutoDither", + "PreferDither", + "AvoidDither", + "NoOpaqueDetection", + "NoFormatConversion" + ] + } + Enum { + name: "BGMode" + values: ["TransparentMode", "OpaqueMode"] + } + Enum { + name: "Key" + values: [ + "Key_Space", + "Key_Any", + "Key_Exclam", + "Key_QuoteDbl", + "Key_NumberSign", + "Key_Dollar", + "Key_Percent", + "Key_Ampersand", + "Key_Apostrophe", + "Key_ParenLeft", + "Key_ParenRight", + "Key_Asterisk", + "Key_Plus", + "Key_Comma", + "Key_Minus", + "Key_Period", + "Key_Slash", + "Key_0", + "Key_1", + "Key_2", + "Key_3", + "Key_4", + "Key_5", + "Key_6", + "Key_7", + "Key_8", + "Key_9", + "Key_Colon", + "Key_Semicolon", + "Key_Less", + "Key_Equal", + "Key_Greater", + "Key_Question", + "Key_At", + "Key_A", + "Key_B", + "Key_C", + "Key_D", + "Key_E", + "Key_F", + "Key_G", + "Key_H", + "Key_I", + "Key_J", + "Key_K", + "Key_L", + "Key_M", + "Key_N", + "Key_O", + "Key_P", + "Key_Q", + "Key_R", + "Key_S", + "Key_T", + "Key_U", + "Key_V", + "Key_W", + "Key_X", + "Key_Y", + "Key_Z", + "Key_BracketLeft", + "Key_Backslash", + "Key_BracketRight", + "Key_AsciiCircum", + "Key_Underscore", + "Key_QuoteLeft", + "Key_BraceLeft", + "Key_Bar", + "Key_BraceRight", + "Key_AsciiTilde", + "Key_nobreakspace", + "Key_exclamdown", + "Key_cent", + "Key_sterling", + "Key_currency", + "Key_yen", + "Key_brokenbar", + "Key_section", + "Key_diaeresis", + "Key_copyright", + "Key_ordfeminine", + "Key_guillemotleft", + "Key_notsign", + "Key_hyphen", + "Key_registered", + "Key_macron", + "Key_degree", + "Key_plusminus", + "Key_twosuperior", + "Key_threesuperior", + "Key_acute", + "Key_mu", + "Key_paragraph", + "Key_periodcentered", + "Key_cedilla", + "Key_onesuperior", + "Key_masculine", + "Key_guillemotright", + "Key_onequarter", + "Key_onehalf", + "Key_threequarters", + "Key_questiondown", + "Key_Agrave", + "Key_Aacute", + "Key_Acircumflex", + "Key_Atilde", + "Key_Adiaeresis", + "Key_Aring", + "Key_AE", + "Key_Ccedilla", + "Key_Egrave", + "Key_Eacute", + "Key_Ecircumflex", + "Key_Ediaeresis", + "Key_Igrave", + "Key_Iacute", + "Key_Icircumflex", + "Key_Idiaeresis", + "Key_ETH", + "Key_Ntilde", + "Key_Ograve", + "Key_Oacute", + "Key_Ocircumflex", + "Key_Otilde", + "Key_Odiaeresis", + "Key_multiply", + "Key_Ooblique", + "Key_Ugrave", + "Key_Uacute", + "Key_Ucircumflex", + "Key_Udiaeresis", + "Key_Yacute", + "Key_THORN", + "Key_ssharp", + "Key_division", + "Key_ydiaeresis", + "Key_Escape", + "Key_Tab", + "Key_Backtab", + "Key_Backspace", + "Key_Return", + "Key_Enter", + "Key_Insert", + "Key_Delete", + "Key_Pause", + "Key_Print", + "Key_SysReq", + "Key_Clear", + "Key_Home", + "Key_End", + "Key_Left", + "Key_Up", + "Key_Right", + "Key_Down", + "Key_PageUp", + "Key_PageDown", + "Key_Shift", + "Key_Control", + "Key_Meta", + "Key_Alt", + "Key_CapsLock", + "Key_NumLock", + "Key_ScrollLock", + "Key_F1", + "Key_F2", + "Key_F3", + "Key_F4", + "Key_F5", + "Key_F6", + "Key_F7", + "Key_F8", + "Key_F9", + "Key_F10", + "Key_F11", + "Key_F12", + "Key_F13", + "Key_F14", + "Key_F15", + "Key_F16", + "Key_F17", + "Key_F18", + "Key_F19", + "Key_F20", + "Key_F21", + "Key_F22", + "Key_F23", + "Key_F24", + "Key_F25", + "Key_F26", + "Key_F27", + "Key_F28", + "Key_F29", + "Key_F30", + "Key_F31", + "Key_F32", + "Key_F33", + "Key_F34", + "Key_F35", + "Key_Super_L", + "Key_Super_R", + "Key_Menu", + "Key_Hyper_L", + "Key_Hyper_R", + "Key_Help", + "Key_Direction_L", + "Key_Direction_R", + "Key_AltGr", + "Key_Multi_key", + "Key_Codeinput", + "Key_SingleCandidate", + "Key_MultipleCandidate", + "Key_PreviousCandidate", + "Key_Mode_switch", + "Key_Kanji", + "Key_Muhenkan", + "Key_Henkan", + "Key_Romaji", + "Key_Hiragana", + "Key_Katakana", + "Key_Hiragana_Katakana", + "Key_Zenkaku", + "Key_Hankaku", + "Key_Zenkaku_Hankaku", + "Key_Touroku", + "Key_Massyo", + "Key_Kana_Lock", + "Key_Kana_Shift", + "Key_Eisu_Shift", + "Key_Eisu_toggle", + "Key_Hangul", + "Key_Hangul_Start", + "Key_Hangul_End", + "Key_Hangul_Hanja", + "Key_Hangul_Jamo", + "Key_Hangul_Romaja", + "Key_Hangul_Jeonja", + "Key_Hangul_Banja", + "Key_Hangul_PreHanja", + "Key_Hangul_PostHanja", + "Key_Hangul_Special", + "Key_Dead_Grave", + "Key_Dead_Acute", + "Key_Dead_Circumflex", + "Key_Dead_Tilde", + "Key_Dead_Macron", + "Key_Dead_Breve", + "Key_Dead_Abovedot", + "Key_Dead_Diaeresis", + "Key_Dead_Abovering", + "Key_Dead_Doubleacute", + "Key_Dead_Caron", + "Key_Dead_Cedilla", + "Key_Dead_Ogonek", + "Key_Dead_Iota", + "Key_Dead_Voiced_Sound", + "Key_Dead_Semivoiced_Sound", + "Key_Dead_Belowdot", + "Key_Dead_Hook", + "Key_Dead_Horn", + "Key_Dead_Stroke", + "Key_Dead_Abovecomma", + "Key_Dead_Abovereversedcomma", + "Key_Dead_Doublegrave", + "Key_Dead_Belowring", + "Key_Dead_Belowmacron", + "Key_Dead_Belowcircumflex", + "Key_Dead_Belowtilde", + "Key_Dead_Belowbreve", + "Key_Dead_Belowdiaeresis", + "Key_Dead_Invertedbreve", + "Key_Dead_Belowcomma", + "Key_Dead_Currency", + "Key_Dead_a", + "Key_Dead_A", + "Key_Dead_e", + "Key_Dead_E", + "Key_Dead_i", + "Key_Dead_I", + "Key_Dead_o", + "Key_Dead_O", + "Key_Dead_u", + "Key_Dead_U", + "Key_Dead_Small_Schwa", + "Key_Dead_Capital_Schwa", + "Key_Dead_Greek", + "Key_Dead_Lowline", + "Key_Dead_Aboveverticalline", + "Key_Dead_Belowverticalline", + "Key_Dead_Longsolidusoverlay", + "Key_Back", + "Key_Forward", + "Key_Stop", + "Key_Refresh", + "Key_VolumeDown", + "Key_VolumeMute", + "Key_VolumeUp", + "Key_BassBoost", + "Key_BassUp", + "Key_BassDown", + "Key_TrebleUp", + "Key_TrebleDown", + "Key_MediaPlay", + "Key_MediaStop", + "Key_MediaPrevious", + "Key_MediaNext", + "Key_MediaRecord", + "Key_MediaPause", + "Key_MediaTogglePlayPause", + "Key_HomePage", + "Key_Favorites", + "Key_Search", + "Key_Standby", + "Key_OpenUrl", + "Key_LaunchMail", + "Key_LaunchMedia", + "Key_Launch0", + "Key_Launch1", + "Key_Launch2", + "Key_Launch3", + "Key_Launch4", + "Key_Launch5", + "Key_Launch6", + "Key_Launch7", + "Key_Launch8", + "Key_Launch9", + "Key_LaunchA", + "Key_LaunchB", + "Key_LaunchC", + "Key_LaunchD", + "Key_LaunchE", + "Key_LaunchF", + "Key_MonBrightnessUp", + "Key_MonBrightnessDown", + "Key_KeyboardLightOnOff", + "Key_KeyboardBrightnessUp", + "Key_KeyboardBrightnessDown", + "Key_PowerOff", + "Key_WakeUp", + "Key_Eject", + "Key_ScreenSaver", + "Key_WWW", + "Key_Memo", + "Key_LightBulb", + "Key_Shop", + "Key_History", + "Key_AddFavorite", + "Key_HotLinks", + "Key_BrightnessAdjust", + "Key_Finance", + "Key_Community", + "Key_AudioRewind", + "Key_BackForward", + "Key_ApplicationLeft", + "Key_ApplicationRight", + "Key_Book", + "Key_CD", + "Key_Calculator", + "Key_ToDoList", + "Key_ClearGrab", + "Key_Close", + "Key_Copy", + "Key_Cut", + "Key_Display", + "Key_DOS", + "Key_Documents", + "Key_Excel", + "Key_Explorer", + "Key_Game", + "Key_Go", + "Key_iTouch", + "Key_LogOff", + "Key_Market", + "Key_Meeting", + "Key_MenuKB", + "Key_MenuPB", + "Key_MySites", + "Key_News", + "Key_OfficeHome", + "Key_Option", + "Key_Paste", + "Key_Phone", + "Key_Calendar", + "Key_Reply", + "Key_Reload", + "Key_RotateWindows", + "Key_RotationPB", + "Key_RotationKB", + "Key_Save", + "Key_Send", + "Key_Spell", + "Key_SplitScreen", + "Key_Support", + "Key_TaskPane", + "Key_Terminal", + "Key_Tools", + "Key_Travel", + "Key_Video", + "Key_Word", + "Key_Xfer", + "Key_ZoomIn", + "Key_ZoomOut", + "Key_Away", + "Key_Messenger", + "Key_WebCam", + "Key_MailForward", + "Key_Pictures", + "Key_Music", + "Key_Battery", + "Key_Bluetooth", + "Key_WLAN", + "Key_UWB", + "Key_AudioForward", + "Key_AudioRepeat", + "Key_AudioRandomPlay", + "Key_Subtitle", + "Key_AudioCycleTrack", + "Key_Time", + "Key_Hibernate", + "Key_View", + "Key_TopMenu", + "Key_PowerDown", + "Key_Suspend", + "Key_ContrastAdjust", + "Key_LaunchG", + "Key_LaunchH", + "Key_TouchpadToggle", + "Key_TouchpadOn", + "Key_TouchpadOff", + "Key_MicMute", + "Key_Red", + "Key_Green", + "Key_Yellow", + "Key_Blue", + "Key_ChannelUp", + "Key_ChannelDown", + "Key_Guide", + "Key_Info", + "Key_Settings", + "Key_MicVolumeUp", + "Key_MicVolumeDown", + "Key_New", + "Key_Open", + "Key_Find", + "Key_Undo", + "Key_Redo", + "Key_MediaLast", + "Key_Select", + "Key_Yes", + "Key_No", + "Key_Cancel", + "Key_Printer", + "Key_Execute", + "Key_Sleep", + "Key_Play", + "Key_Zoom", + "Key_Exit", + "Key_Context1", + "Key_Context2", + "Key_Context3", + "Key_Context4", + "Key_Call", + "Key_Hangup", + "Key_Flip", + "Key_ToggleCallHangup", + "Key_VoiceDial", + "Key_LastNumberRedial", + "Key_Camera", + "Key_CameraFocus", + "Key_unknown" + ] + } + Enum { + name: "KeyboardModifier" + values: [ + "NoModifier", + "ShiftModifier", + "ControlModifier", + "AltModifier", + "MetaModifier", + "KeypadModifier", + "GroupSwitchModifier", + "KeyboardModifierMask" + ] + } + Enum { + name: "KeyboardModifiers" + alias: "KeyboardModifier" + isFlag: true + values: [ + "NoModifier", + "ShiftModifier", + "ControlModifier", + "AltModifier", + "MetaModifier", + "KeypadModifier", + "GroupSwitchModifier", + "KeyboardModifierMask" + ] + } + Enum { + name: "Modifier" + values: ["META", "SHIFT", "CTRL", "ALT", "MODIFIER_MASK"] + } + Enum { + name: "Modifiers" + alias: "Modifier" + isFlag: true + values: ["META", "SHIFT", "CTRL", "ALT", "MODIFIER_MASK"] + } + Enum { + name: "ArrowType" + values: [ + "NoArrow", + "UpArrow", + "DownArrow", + "LeftArrow", + "RightArrow" + ] + } + Enum { + name: "PenStyle" + values: [ + "NoPen", + "SolidLine", + "DashLine", + "DotLine", + "DashDotLine", + "DashDotDotLine", + "CustomDashLine" + ] + } + Enum { + name: "PenCapStyle" + values: ["FlatCap", "SquareCap", "RoundCap", "MPenCapStyle"] + } + Enum { + name: "PenJoinStyle" + values: [ + "MiterJoin", + "BevelJoin", + "RoundJoin", + "SvgMiterJoin", + "MPenJoinStyle" + ] + } + Enum { + name: "BrushStyle" + values: [ + "NoBrush", + "SolidPattern", + "Dense1Pattern", + "Dense2Pattern", + "Dense3Pattern", + "Dense4Pattern", + "Dense5Pattern", + "Dense6Pattern", + "Dense7Pattern", + "HorPattern", + "VerPattern", + "CrossPattern", + "BDiagPattern", + "FDiagPattern", + "DiagCrossPattern", + "LinearGradientPattern", + "RadialGradientPattern", + "ConicalGradientPattern", + "TexturePattern" + ] + } + Enum { + name: "SizeMode" + values: ["AbsoluteSize", "RelativeSize"] + } + Enum { + name: "CursorShape" + values: [ + "ArrowCursor", + "UpArrowCursor", + "CrossCursor", + "WaitCursor", + "IBeamCursor", + "SizeVerCursor", + "SizeHorCursor", + "SizeBDiagCursor", + "SizeFDiagCursor", + "SizeAllCursor", + "BlankCursor", + "SplitVCursor", + "SplitHCursor", + "PointingHandCursor", + "ForbiddenCursor", + "WhatsThisCursor", + "BusyCursor", + "OpenHandCursor", + "ClosedHandCursor", + "DragCopyCursor", + "DragMoveCursor", + "DragLinkCursor", + "LastCursor", + "BitmapCursor", + "CustomCursor" + ] + } + Enum { + name: "TextFormat" + values: ["PlainText", "RichText", "AutoText", "MarkdownText"] + } + Enum { + name: "AspectRatioMode" + values: [ + "IgnoreAspectRatio", + "KeepAspectRatio", + "KeepAspectRatioByExpanding" + ] + } + Enum { + name: "DockWidgetArea" + values: [ + "LeftDockWidgetArea", + "RightDockWidgetArea", + "TopDockWidgetArea", + "BottomDockWidgetArea", + "DockWidgetArea_Mask", + "AllDockWidgetAreas", + "NoDockWidgetArea" + ] + } + Enum { + name: "DockWidgetAreas" + alias: "DockWidgetArea" + isFlag: true + values: [ + "LeftDockWidgetArea", + "RightDockWidgetArea", + "TopDockWidgetArea", + "BottomDockWidgetArea", + "DockWidgetArea_Mask", + "AllDockWidgetAreas", + "NoDockWidgetArea" + ] + } + Enum { + name: "ToolBarArea" + values: [ + "LeftToolBarArea", + "RightToolBarArea", + "TopToolBarArea", + "BottomToolBarArea", + "ToolBarArea_Mask", + "AllToolBarAreas", + "NoToolBarArea" + ] + } + Enum { + name: "ToolBarAreas" + alias: "ToolBarArea" + isFlag: true + values: [ + "LeftToolBarArea", + "RightToolBarArea", + "TopToolBarArea", + "BottomToolBarArea", + "ToolBarArea_Mask", + "AllToolBarAreas", + "NoToolBarArea" + ] + } + Enum { + name: "DateFormat" + values: ["TextDate", "ISODate", "RFC2822Date", "ISODateWithMs"] + } + Enum { + name: "TimeSpec" + values: ["LocalTime", "UTC", "OffsetFromUTC", "TimeZone"] + } + Enum { + name: "DayOfWeek" + values: [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ] + } + Enum { + name: "ScrollBarPolicy" + values: [ + "ScrollBarAsNeeded", + "ScrollBarAlwaysOff", + "ScrollBarAlwaysOn" + ] + } + Enum { + name: "CaseSensitivity" + values: ["CaseInsensitive", "CaseSensitive"] + } + Enum { + name: "Corner" + values: [ + "TopLeftCorner", + "TopRightCorner", + "BottomLeftCorner", + "BottomRightCorner" + ] + } + Enum { + name: "Edge" + values: ["TopEdge", "LeftEdge", "RightEdge", "BottomEdge"] + } + Enum { + name: "Edges" + alias: "Edge" + isFlag: true + values: ["TopEdge", "LeftEdge", "RightEdge", "BottomEdge"] + } + Enum { + name: "ConnectionType" + values: [ + "AutoConnection", + "DirectConnection", + "QueuedConnection", + "BlockingQueuedConnection", + "UniqueConnection", + "SingleShotConnection" + ] + } + Enum { + name: "ShortcutContext" + values: [ + "WidgetShortcut", + "WindowShortcut", + "ApplicationShortcut", + "WidgetWithChildrenShortcut" + ] + } + Enum { + name: "FillRule" + values: ["OddEvenFill", "WindingFill"] + } + Enum { + name: "MaskMode" + values: ["MaskInColor", "MaskOutColor"] + } + Enum { + name: "ClipOperation" + values: ["NoClip", "ReplaceClip", "IntersectClip"] + } + Enum { + name: "ItemSelectionMode" + values: [ + "ContainsItemShape", + "IntersectsItemShape", + "ContainsItemBoundingRect", + "IntersectsItemBoundingRect" + ] + } + Enum { + name: "ItemSelectionOperation" + values: ["ReplaceSelection", "AddToSelection"] + } + Enum { + name: "TransformationMode" + values: ["FastTransformation", "SmoothTransformation"] + } + Enum { + name: "Axis" + values: ["XAxis", "YAxis", "ZAxis"] + } + Enum { + name: "FocusReason" + values: [ + "MouseFocusReason", + "TabFocusReason", + "BacktabFocusReason", + "ActiveWindowFocusReason", + "PopupFocusReason", + "ShortcutFocusReason", + "MenuBarFocusReason", + "OtherFocusReason", + "NoFocusReason" + ] + } + Enum { + name: "ContextMenuPolicy" + values: [ + "NoContextMenu", + "DefaultContextMenu", + "ActionsContextMenu", + "CustomContextMenu", + "PreventContextMenu" + ] + } + Enum { + name: "InputMethodQuery" + values: [ + "ImEnabled", + "ImCursorRectangle", + "ImFont", + "ImCursorPosition", + "ImSurroundingText", + "ImCurrentSelection", + "ImMaximumTextLength", + "ImAnchorPosition", + "ImHints", + "ImPreferredLanguage", + "ImAbsolutePosition", + "ImTextBeforeCursor", + "ImTextAfterCursor", + "ImEnterKeyType", + "ImAnchorRectangle", + "ImInputItemClipRectangle", + "ImReadOnly", + "ImPlatformData", + "ImQueryInput", + "ImQueryAll" + ] + } + Enum { + name: "InputMethodQueries" + alias: "InputMethodQuery" + isFlag: true + values: [ + "ImEnabled", + "ImCursorRectangle", + "ImFont", + "ImCursorPosition", + "ImSurroundingText", + "ImCurrentSelection", + "ImMaximumTextLength", + "ImAnchorPosition", + "ImHints", + "ImPreferredLanguage", + "ImAbsolutePosition", + "ImTextBeforeCursor", + "ImTextAfterCursor", + "ImEnterKeyType", + "ImAnchorRectangle", + "ImInputItemClipRectangle", + "ImReadOnly", + "ImPlatformData", + "ImQueryInput", + "ImQueryAll" + ] + } + Enum { + name: "InputMethodHint" + values: [ + "ImhNone", + "ImhHiddenText", + "ImhSensitiveData", + "ImhNoAutoUppercase", + "ImhPreferNumbers", + "ImhPreferUppercase", + "ImhPreferLowercase", + "ImhNoPredictiveText", + "ImhDate", + "ImhTime", + "ImhPreferLatin", + "ImhMultiLine", + "ImhNoEditMenu", + "ImhNoTextHandles", + "ImhDigitsOnly", + "ImhFormattedNumbersOnly", + "ImhUppercaseOnly", + "ImhLowercaseOnly", + "ImhDialableCharactersOnly", + "ImhEmailCharactersOnly", + "ImhUrlCharactersOnly", + "ImhLatinOnly", + "ImhExclusiveInputMask" + ] + } + Enum { + name: "InputMethodHints" + alias: "InputMethodHint" + isFlag: true + values: [ + "ImhNone", + "ImhHiddenText", + "ImhSensitiveData", + "ImhNoAutoUppercase", + "ImhPreferNumbers", + "ImhPreferUppercase", + "ImhPreferLowercase", + "ImhNoPredictiveText", + "ImhDate", + "ImhTime", + "ImhPreferLatin", + "ImhMultiLine", + "ImhNoEditMenu", + "ImhNoTextHandles", + "ImhDigitsOnly", + "ImhFormattedNumbersOnly", + "ImhUppercaseOnly", + "ImhLowercaseOnly", + "ImhDialableCharactersOnly", + "ImhEmailCharactersOnly", + "ImhUrlCharactersOnly", + "ImhLatinOnly", + "ImhExclusiveInputMask" + ] + } + Enum { + name: "EnterKeyType" + values: [ + "EnterKeyDefault", + "EnterKeyReturn", + "EnterKeyDone", + "EnterKeyGo", + "EnterKeySend", + "EnterKeySearch", + "EnterKeyNext", + "EnterKeyPrevious" + ] + } + Enum { + name: "ToolButtonStyle" + values: [ + "ToolButtonIconOnly", + "ToolButtonTextOnly", + "ToolButtonTextBesideIcon", + "ToolButtonTextUnderIcon", + "ToolButtonFollowStyle" + ] + } + Enum { + name: "LayoutDirection" + values: ["LeftToRight", "RightToLeft", "LayoutDirectionAuto"] + } + Enum { + name: "DropAction" + values: [ + "CopyAction", + "MoveAction", + "LinkAction", + "ActionMask", + "TargetMoveAction", + "IgnoreAction" + ] + } + Enum { + name: "DropActions" + alias: "DropAction" + isFlag: true + values: [ + "CopyAction", + "MoveAction", + "LinkAction", + "ActionMask", + "TargetMoveAction", + "IgnoreAction" + ] + } + Enum { + name: "CheckState" + values: ["Unchecked", "PartiallyChecked", "Checked"] + } + Enum { + name: "ItemDataRole" + values: [ + "DisplayRole", + "DecorationRole", + "EditRole", + "ToolTipRole", + "StatusTipRole", + "WhatsThisRole", + "FontRole", + "TextAlignmentRole", + "BackgroundRole", + "ForegroundRole", + "CheckStateRole", + "AccessibleTextRole", + "AccessibleDescriptionRole", + "SizeHintRole", + "InitialSortOrderRole", + "DisplayPropertyRole", + "DecorationPropertyRole", + "ToolTipPropertyRole", + "StatusTipPropertyRole", + "WhatsThisPropertyRole", + "UserRole" + ] + } + Enum { + name: "ItemFlags" + alias: "ItemFlag" + isFlag: true + values: [ + "NoItemFlags", + "ItemIsSelectable", + "ItemIsEditable", + "ItemIsDragEnabled", + "ItemIsDropEnabled", + "ItemIsUserCheckable", + "ItemIsEnabled", + "ItemIsAutoTristate", + "ItemNeverHasChildren", + "ItemIsUserTristate" + ] + } + Enum { + name: "MatchFlags" + alias: "MatchFlag" + isFlag: true + values: [ + "MatchExactly", + "MatchContains", + "MatchStartsWith", + "MatchEndsWith", + "MatchRegularExpression", + "MatchWildcard", + "MatchFixedString", + "MatchTypeMask", + "MatchCaseSensitive", + "MatchWrap", + "MatchRecursive" + ] + } + Enum { + name: "WindowModality" + values: ["NonModal", "WindowModal", "ApplicationModal"] + } + Enum { + name: "TextInteractionFlag" + values: [ + "NoTextInteraction", + "TextSelectableByMouse", + "TextSelectableByKeyboard", + "LinksAccessibleByMouse", + "LinksAccessibleByKeyboard", + "TextEditable", + "TextEditorInteraction", + "TextBrowserInteraction" + ] + } + Enum { + name: "TextInteractionFlags" + alias: "TextInteractionFlag" + isFlag: true + values: [ + "NoTextInteraction", + "TextSelectableByMouse", + "TextSelectableByKeyboard", + "LinksAccessibleByMouse", + "LinksAccessibleByKeyboard", + "TextEditable", + "TextEditorInteraction", + "TextBrowserInteraction" + ] + } + Enum { + name: "SizeHint" + values: [ + "MinimumSize", + "PreferredSize", + "MaximumSize", + "MinimumDescent", + "NSizeHints" + ] + } + Enum { + name: "TouchPointStates" + alias: "TouchPointState" + isFlag: true + values: [ + "TouchPointUnknownState", + "TouchPointPressed", + "TouchPointMoved", + "TouchPointStationary", + "TouchPointReleased" + ] + } + Enum { + name: "GestureState" + values: [ + "NoGesture", + "GestureStarted", + "GestureUpdated", + "GestureFinished", + "GestureCanceled" + ] + } + Enum { + name: "GestureType" + values: [ + "TapGesture", + "TapAndHoldGesture", + "PanGesture", + "PinchGesture", + "SwipeGesture", + "CustomGesture", + "LastGestureType" + ] + } + Enum { + name: "NativeGestureType" + values: [ + "BeginNativeGesture", + "EndNativeGesture", + "PanNativeGesture", + "ZoomNativeGesture", + "SmartZoomNativeGesture", + "RotateNativeGesture", + "SwipeNativeGesture" + ] + } + Enum { + name: "CursorMoveStyle" + values: ["LogicalMoveStyle", "VisualMoveStyle"] + } + Enum { + name: "TimerType" + values: ["PreciseTimer", "CoarseTimer", "VeryCoarseTimer"] + } + Enum { + name: "ScrollPhase" + values: [ + "NoScrollPhase", + "ScrollBegin", + "ScrollUpdate", + "ScrollEnd", + "ScrollMomentum" + ] + } + Enum { + name: "MouseEventSource" + values: [ + "MouseEventNotSynthesized", + "MouseEventSynthesizedBySystem", + "MouseEventSynthesizedByQt", + "MouseEventSynthesizedByApplication" + ] + } + Enum { + name: "MouseEventFlags" + alias: "MouseEventFlag" + isFlag: true + values: [ + "NoMouseEventFlag", + "MouseEventCreatedDoubleClick", + "MouseEventFlagMask" + ] + } + Enum { + name: "ChecksumType" + values: ["ChecksumIso3309", "ChecksumItuV41"] + } + Enum { + name: "HighDpiScaleFactorRoundingPolicy" + values: [ + "Unset", + "Round", + "Ceil", + "Floor", + "RoundPreferFloor", + "PassThrough" + ] + } + Enum { + name: "PermissionStatus" + values: ["Undetermined", "Granted", "Denied"] + } + } + Component { + file: "private/qqmlbuiltinfunctions_p.h" + name: "QtObject" + accessSemantics: "reference" + prototype: "QObject" + extension: "Qt" + extensionIsNamespace: true + exports: ["QtQml.Base/Qt 2.0", "QtQml.Base/Qt 6.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [512, 1536] + Enum { + name: "LoadingMode" + values: ["Asynchronous", "Synchronous"] + } + Property { + name: "application" + type: "QQmlApplication" + isPointer: true + read: "application" + index: 0 + isReadonly: true + isConstant: true + } + Property { + name: "platform" + type: "QQmlPlatform" + isPointer: true + read: "platform" + index: 1 + isReadonly: true + isConstant: true + } + Property { + name: "inputMethod" + type: "QObject" + isPointer: true + read: "inputMethod" + index: 2 + isReadonly: true + isConstant: true + } + Property { + name: "styleHints" + type: "QObject" + isPointer: true + read: "styleHints" + index: 3 + isReadonly: true + isConstant: true + } + Property { + name: "uiLanguage" + type: "QString" + bindable: "uiLanguageBindable" + read: "uiLanguage" + write: "setUiLanguage" + index: 4 + } + Method { + name: "include" + type: "QJSValue" + Parameter { name: "url"; type: "QString" } + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "include" + type: "QJSValue" + isCloned: true + Parameter { name: "url"; type: "QString" } + } + Method { + name: "isQtObject" + type: "bool" + Parameter { name: "value"; type: "QJSValue" } + } + Method { + name: "color" + type: "QVariant" + Parameter { name: "name"; type: "QString" } + } + Method { + name: "rgba" + type: "QVariant" + Parameter { name: "r"; type: "double" } + Parameter { name: "g"; type: "double" } + Parameter { name: "b"; type: "double" } + Parameter { name: "a"; type: "double" } + } + Method { + name: "rgba" + type: "QVariant" + isCloned: true + Parameter { name: "r"; type: "double" } + Parameter { name: "g"; type: "double" } + Parameter { name: "b"; type: "double" } + } + Method { + name: "hsla" + type: "QVariant" + Parameter { name: "h"; type: "double" } + Parameter { name: "s"; type: "double" } + Parameter { name: "l"; type: "double" } + Parameter { name: "a"; type: "double" } + } + Method { + name: "hsla" + type: "QVariant" + isCloned: true + Parameter { name: "h"; type: "double" } + Parameter { name: "s"; type: "double" } + Parameter { name: "l"; type: "double" } + } + Method { + name: "hsva" + type: "QVariant" + Parameter { name: "h"; type: "double" } + Parameter { name: "s"; type: "double" } + Parameter { name: "v"; type: "double" } + Parameter { name: "a"; type: "double" } + } + Method { + name: "hsva" + type: "QVariant" + isCloned: true + Parameter { name: "h"; type: "double" } + Parameter { name: "s"; type: "double" } + Parameter { name: "v"; type: "double" } + } + Method { + name: "colorEqual" + type: "bool" + Parameter { name: "lhs"; type: "QVariant" } + Parameter { name: "rhs"; type: "QVariant" } + } + Method { + name: "rect" + type: "QRectF" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "width"; type: "double" } + Parameter { name: "height"; type: "double" } + } + Method { + name: "point" + type: "QPointF" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "size" + type: "QSizeF" + Parameter { name: "width"; type: "double" } + Parameter { name: "height"; type: "double" } + } + Method { + name: "vector2d" + type: "QVariant" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "vector3d" + type: "QVariant" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "z"; type: "double" } + } + Method { + name: "vector4d" + type: "QVariant" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "z"; type: "double" } + Parameter { name: "w"; type: "double" } + } + Method { + name: "quaternion" + type: "QVariant" + Parameter { name: "scalar"; type: "double" } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "z"; type: "double" } + } + Method { name: "matrix4x4"; type: "QVariant" } + Method { + name: "matrix4x4" + type: "QVariant" + Parameter { name: "m11"; type: "double" } + Parameter { name: "m12"; type: "double" } + Parameter { name: "m13"; type: "double" } + Parameter { name: "m14"; type: "double" } + Parameter { name: "m21"; type: "double" } + Parameter { name: "m22"; type: "double" } + Parameter { name: "m23"; type: "double" } + Parameter { name: "m24"; type: "double" } + Parameter { name: "m31"; type: "double" } + Parameter { name: "m32"; type: "double" } + Parameter { name: "m33"; type: "double" } + Parameter { name: "m34"; type: "double" } + Parameter { name: "m41"; type: "double" } + Parameter { name: "m42"; type: "double" } + Parameter { name: "m43"; type: "double" } + Parameter { name: "m44"; type: "double" } + } + Method { + name: "matrix4x4" + type: "QVariant" + Parameter { name: "value"; type: "QJSValue" } + } + Method { + name: "lighter" + type: "QVariant" + Parameter { name: "color"; type: "QJSValue" } + Parameter { name: "factor"; type: "double" } + } + Method { + name: "lighter" + type: "QVariant" + isCloned: true + Parameter { name: "color"; type: "QJSValue" } + } + Method { + name: "darker" + type: "QVariant" + Parameter { name: "color"; type: "QJSValue" } + Parameter { name: "factor"; type: "double" } + } + Method { + name: "darker" + type: "QVariant" + isCloned: true + Parameter { name: "color"; type: "QJSValue" } + } + Method { + name: "alpha" + type: "QVariant" + Parameter { name: "baseColor"; type: "QJSValue" } + Parameter { name: "value"; type: "double" } + } + Method { + name: "tint" + type: "QVariant" + Parameter { name: "baseColor"; type: "QJSValue" } + Parameter { name: "tintColor"; type: "QJSValue" } + } + Method { + name: "formatDate" + type: "QString" + Parameter { name: "date"; type: "QDate" } + Parameter { name: "format"; type: "QString" } + } + Method { + name: "formatDate" + type: "QString" + Parameter { name: "dateTime"; type: "QDateTime" } + Parameter { name: "format"; type: "QString" } + } + Method { + name: "formatDate" + type: "QString" + Parameter { name: "string"; type: "QString" } + Parameter { name: "format"; type: "QString" } + } + Method { + name: "formatDate" + type: "QString" + Parameter { name: "date"; type: "QDate" } + Parameter { name: "format"; type: "Qt::DateFormat" } + } + Method { + name: "formatDate" + type: "QString" + Parameter { name: "dateTime"; type: "QDateTime" } + Parameter { name: "format"; type: "Qt::DateFormat" } + } + Method { + name: "formatDate" + type: "QString" + Parameter { name: "string"; type: "QString" } + Parameter { name: "format"; type: "Qt::DateFormat" } + } + Method { + name: "formatTime" + type: "QString" + Parameter { name: "time"; type: "QTime" } + Parameter { name: "format"; type: "QString" } + } + Method { + name: "formatTime" + type: "QString" + Parameter { name: "dateTime"; type: "QDateTime" } + Parameter { name: "format"; type: "QString" } + } + Method { + name: "formatTime" + type: "QString" + Parameter { name: "time"; type: "QString" } + Parameter { name: "format"; type: "QString" } + } + Method { + name: "formatTime" + type: "QString" + Parameter { name: "time"; type: "QTime" } + Parameter { name: "format"; type: "Qt::DateFormat" } + } + Method { + name: "formatTime" + type: "QString" + Parameter { name: "dateTime"; type: "QDateTime" } + Parameter { name: "format"; type: "Qt::DateFormat" } + } + Method { + name: "formatTime" + type: "QString" + Parameter { name: "time"; type: "QString" } + Parameter { name: "format"; type: "Qt::DateFormat" } + } + Method { + name: "formatDateTime" + type: "QString" + Parameter { name: "date"; type: "QDateTime" } + Parameter { name: "format"; type: "QString" } + } + Method { + name: "formatDateTime" + type: "QString" + Parameter { name: "string"; type: "QString" } + Parameter { name: "format"; type: "QString" } + } + Method { + name: "formatDateTime" + type: "QString" + Parameter { name: "date"; type: "QDateTime" } + Parameter { name: "format"; type: "Qt::DateFormat" } + } + Method { + name: "formatDateTime" + type: "QString" + Parameter { name: "string"; type: "QString" } + Parameter { name: "format"; type: "Qt::DateFormat" } + } + Method { + name: "formatDate" + type: "QString" + Parameter { name: "date"; type: "QDate" } + Parameter { name: "locale"; type: "QLocale" } + Parameter { name: "formatType"; type: "QLocale::FormatType" } + } + Method { + name: "formatDate" + type: "QString" + isCloned: true + Parameter { name: "date"; type: "QDate" } + Parameter { name: "locale"; type: "QLocale" } + } + Method { + name: "formatDate" + type: "QString" + isCloned: true + Parameter { name: "date"; type: "QDate" } + } + Method { + name: "formatDate" + type: "QString" + Parameter { name: "dateTime"; type: "QDateTime" } + Parameter { name: "locale"; type: "QLocale" } + Parameter { name: "formatType"; type: "QLocale::FormatType" } + } + Method { + name: "formatDate" + type: "QString" + isCloned: true + Parameter { name: "dateTime"; type: "QDateTime" } + Parameter { name: "locale"; type: "QLocale" } + } + Method { + name: "formatDate" + type: "QString" + isCloned: true + Parameter { name: "dateTime"; type: "QDateTime" } + } + Method { + name: "formatDate" + type: "QString" + Parameter { name: "string"; type: "QString" } + Parameter { name: "locale"; type: "QLocale" } + Parameter { name: "formatType"; type: "QLocale::FormatType" } + } + Method { + name: "formatDate" + type: "QString" + isCloned: true + Parameter { name: "string"; type: "QString" } + Parameter { name: "locale"; type: "QLocale" } + } + Method { + name: "formatDate" + type: "QString" + isCloned: true + Parameter { name: "string"; type: "QString" } + } + Method { + name: "formatTime" + type: "QString" + Parameter { name: "time"; type: "QTime" } + Parameter { name: "locale"; type: "QLocale" } + Parameter { name: "formatType"; type: "QLocale::FormatType" } + } + Method { + name: "formatTime" + type: "QString" + isCloned: true + Parameter { name: "time"; type: "QTime" } + Parameter { name: "locale"; type: "QLocale" } + } + Method { + name: "formatTime" + type: "QString" + isCloned: true + Parameter { name: "time"; type: "QTime" } + } + Method { + name: "formatTime" + type: "QString" + Parameter { name: "dateTime"; type: "QDateTime" } + Parameter { name: "locale"; type: "QLocale" } + Parameter { name: "formatType"; type: "QLocale::FormatType" } + } + Method { + name: "formatTime" + type: "QString" + isCloned: true + Parameter { name: "dateTime"; type: "QDateTime" } + Parameter { name: "locale"; type: "QLocale" } + } + Method { + name: "formatTime" + type: "QString" + isCloned: true + Parameter { name: "dateTime"; type: "QDateTime" } + } + Method { + name: "formatTime" + type: "QString" + Parameter { name: "time"; type: "QString" } + Parameter { name: "locale"; type: "QLocale" } + Parameter { name: "formatType"; type: "QLocale::FormatType" } + } + Method { + name: "formatTime" + type: "QString" + isCloned: true + Parameter { name: "time"; type: "QString" } + Parameter { name: "locale"; type: "QLocale" } + } + Method { + name: "formatTime" + type: "QString" + isCloned: true + Parameter { name: "time"; type: "QString" } + } + Method { + name: "formatDateTime" + type: "QString" + Parameter { name: "date"; type: "QDateTime" } + Parameter { name: "locale"; type: "QLocale" } + Parameter { name: "formatType"; type: "QLocale::FormatType" } + } + Method { + name: "formatDateTime" + type: "QString" + isCloned: true + Parameter { name: "date"; type: "QDateTime" } + Parameter { name: "locale"; type: "QLocale" } + } + Method { + name: "formatDateTime" + type: "QString" + isCloned: true + Parameter { name: "date"; type: "QDateTime" } + } + Method { + name: "formatDateTime" + type: "QString" + Parameter { name: "string"; type: "QString" } + Parameter { name: "locale"; type: "QLocale" } + Parameter { name: "formatType"; type: "QLocale::FormatType" } + } + Method { + name: "formatDateTime" + type: "QString" + isCloned: true + Parameter { name: "string"; type: "QString" } + Parameter { name: "locale"; type: "QLocale" } + } + Method { + name: "formatDateTime" + type: "QString" + isCloned: true + Parameter { name: "string"; type: "QString" } + } + Method { name: "locale"; type: "QLocale" } + Method { + name: "locale" + type: "QLocale" + Parameter { name: "name"; type: "QString" } + } + Method { + name: "url" + type: "QUrl" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "resolvedUrl" + type: "QUrl" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "resolvedUrl" + type: "QUrl" + Parameter { name: "url"; type: "QUrl" } + Parameter { name: "context"; type: "QObject"; isPointer: true } + } + Method { + name: "openUrlExternally" + type: "bool" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "font" + type: "QVariant" + Parameter { name: "fontSpecifier"; type: "QJSValue" } + } + Method { name: "fontFamilies"; type: "QStringList" } + Method { + name: "md5" + type: "QString" + Parameter { name: "data"; type: "QString" } + } + Method { + name: "btoa" + type: "QString" + Parameter { name: "data"; type: "QString" } + } + Method { + name: "atob" + type: "QString" + Parameter { name: "data"; type: "QString" } + } + Method { name: "quit" } + Method { + name: "exit" + Parameter { name: "retCode"; type: "int" } + } + Method { + name: "createQmlObject" + type: "QObject" + isPointer: true + Parameter { name: "qml"; type: "QString" } + Parameter { name: "parent"; type: "QObject"; isPointer: true } + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "createQmlObject" + type: "QObject" + isPointer: true + isCloned: true + Parameter { name: "qml"; type: "QString" } + Parameter { name: "parent"; type: "QObject"; isPointer: true } + } + Method { + name: "createComponent" + type: "QQmlComponent" + isPointer: true + Parameter { name: "url"; type: "QUrl" } + Parameter { name: "parent"; type: "QObject"; isPointer: true } + } + Method { + name: "createComponent" + type: "QQmlComponent" + isPointer: true + Parameter { name: "url"; type: "QUrl" } + Parameter { name: "mode"; type: "QQmlComponent::CompilationMode" } + Parameter { name: "parent"; type: "QObject"; isPointer: true } + } + Method { + name: "createComponent" + type: "QQmlComponent" + isPointer: true + isCloned: true + Parameter { name: "url"; type: "QUrl" } + Parameter { name: "mode"; type: "QQmlComponent::CompilationMode" } + } + Method { + name: "createComponent" + type: "QQmlComponent" + isPointer: true + isCloned: true + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "createComponent" + type: "QQmlComponent" + isPointer: true + Parameter { name: "moduleUri"; type: "QString" } + Parameter { name: "typeName"; type: "QString" } + Parameter { name: "parent"; type: "QObject"; isPointer: true } + } + Method { + name: "createComponent" + type: "QQmlComponent" + isPointer: true + Parameter { name: "moduleUri"; type: "QString" } + Parameter { name: "typeName"; type: "QString" } + Parameter { name: "mode"; type: "QQmlComponent::CompilationMode" } + Parameter { name: "parent"; type: "QObject"; isPointer: true } + } + Method { + name: "createComponent" + type: "QQmlComponent" + isPointer: true + isCloned: true + Parameter { name: "moduleUri"; type: "QString" } + Parameter { name: "typeName"; type: "QString" } + Parameter { name: "mode"; type: "QQmlComponent::CompilationMode" } + } + Method { + name: "createComponent" + type: "QQmlComponent" + isPointer: true + isCloned: true + Parameter { name: "moduleUri"; type: "QString" } + Parameter { name: "typeName"; type: "QString" } + } + Method { + name: "binding" + type: "QJSValue" + Parameter { name: "function"; type: "QJSValue" } + } + Method { name: "callLater"; isJavaScriptFunction: true } + } +} diff --git a/bin/qml/QtQml/Base/qmldir b/bin/qml/QtQml/Base/qmldir new file mode 100644 index 000000000..7f2da0f0d --- /dev/null +++ b/bin/qml/QtQml/Base/qmldir @@ -0,0 +1,9 @@ +module QtQml.Base +linktarget Qt6::qmlplugin +optional plugin qmlplugin +classname QtQmlPlugin +designersupported +system +typeinfo plugins.qmltypes +prefer :/qt-project.org/imports/QtQml/Base/ + diff --git a/bin/qml/QtQml/Base/qmlplugin.dll b/bin/qml/QtQml/Base/qmlplugin.dll new file mode 100644 index 000000000..3cb45e7f5 Binary files /dev/null and b/bin/qml/QtQml/Base/qmlplugin.dll differ diff --git a/bin/qml/QtQml/Models/modelsplugin.dll b/bin/qml/QtQml/Models/modelsplugin.dll new file mode 100644 index 000000000..05309a42d Binary files /dev/null and b/bin/qml/QtQml/Models/modelsplugin.dll differ diff --git a/bin/qml/QtQml/Models/plugins.qmltypes b/bin/qml/QtQml/Models/plugins.qmltypes new file mode 100644 index 000000000..eecff7133 --- /dev/null +++ b/bin/qml/QtQml/Models/plugins.qmltypes @@ -0,0 +1,1537 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qqmlmodelsmodule_p.h" + name: "QAbstractItemModel" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQml.Models/AbstractItemModel 6.5"] + isCreatable: false + exportMetaObjectRevisions: [1541] + Enum { + name: "LayoutChangeHint" + values: [ + "NoLayoutChangeHint", + "VerticalSortHint", + "HorizontalSortHint" + ] + } + Enum { + name: "CheckIndexOption" + values: [ + "NoOption", + "IndexIsValid", + "DoNotUseParent", + "ParentIsInvalid" + ] + } + Signal { + name: "dataChanged" + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + Parameter { name: "roles"; type: "int"; isList: true } + } + Signal { + name: "dataChanged" + isCloned: true + Parameter { name: "topLeft"; type: "QModelIndex" } + Parameter { name: "bottomRight"; type: "QModelIndex" } + } + Signal { + name: "headerDataChanged" + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "layoutChanged" + Parameter { name: "parents"; type: "QPersistentModelIndex"; isList: true } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutChanged" + isCloned: true + Parameter { name: "parents"; type: "QPersistentModelIndex"; isList: true } + } + Signal { name: "layoutChanged"; isCloned: true } + Signal { + name: "layoutAboutToBeChanged" + Parameter { name: "parents"; type: "QPersistentModelIndex"; isList: true } + Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" } + } + Signal { + name: "layoutAboutToBeChanged" + isCloned: true + Parameter { name: "parents"; type: "QPersistentModelIndex"; isList: true } + } + Signal { name: "layoutAboutToBeChanged"; isCloned: true } + Signal { + name: "rowsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "rowsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsInserted" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { + name: "columnsRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "first"; type: "int" } + Parameter { name: "last"; type: "int" } + } + Signal { name: "modelAboutToBeReset" } + Signal { name: "modelReset" } + Signal { + name: "rowsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "rowsMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationRow"; type: "int" } + } + Signal { + name: "columnsAboutToBeMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Signal { + name: "columnsMoved" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceStart"; type: "int" } + Parameter { name: "sourceEnd"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationColumn"; type: "int" } + } + Method { name: "submit"; type: "bool" } + Method { name: "revert" } + Method { name: "resetInternalData" } + Method { + name: "hasIndex" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "hasIndex" + type: "bool" + isCloned: true + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "index" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "index" + type: "QModelIndex" + isCloned: true + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "parent" + type: "QModelIndex" + Parameter { name: "child"; type: "QModelIndex" } + } + Method { + name: "sibling" + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "idx"; type: "QModelIndex" } + } + Method { + name: "rowCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "rowCount"; type: "int"; isCloned: true } + Method { + name: "columnCount" + type: "int" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "columnCount"; type: "int"; isCloned: true } + Method { + name: "hasChildren" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { name: "hasChildren"; type: "bool"; isCloned: true } + Method { + name: "data" + type: "QVariant" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "data" + type: "QVariant" + isCloned: true + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setData" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "setData" + type: "bool" + isCloned: true + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "headerData" + type: "QVariant" + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + Parameter { name: "role"; type: "int" } + } + Method { + name: "headerData" + type: "QVariant" + isCloned: true + Parameter { name: "section"; type: "int" } + Parameter { name: "orientation"; type: "Qt::Orientation" } + } + Method { + name: "insertRows" + revision: 1540 + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "count"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "insertRows" + revision: 1540 + type: "bool" + isCloned: true + Parameter { name: "row"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { + name: "insertColumns" + revision: 1540 + type: "bool" + Parameter { name: "column"; type: "int" } + Parameter { name: "count"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "insertColumns" + revision: 1540 + type: "bool" + isCloned: true + Parameter { name: "column"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { + name: "removeRows" + revision: 1540 + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "count"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "removeRows" + revision: 1540 + type: "bool" + isCloned: true + Parameter { name: "row"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { + name: "removeColumns" + revision: 1540 + type: "bool" + Parameter { name: "column"; type: "int" } + Parameter { name: "count"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "removeColumns" + revision: 1540 + type: "bool" + isCloned: true + Parameter { name: "column"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { + name: "moveRows" + revision: 1540 + type: "bool" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceRow"; type: "int" } + Parameter { name: "count"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationChild"; type: "int" } + } + Method { + name: "moveColumns" + revision: 1540 + type: "bool" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceColumn"; type: "int" } + Parameter { name: "count"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationChild"; type: "int" } + } + Method { + name: "insertRow" + revision: 1540 + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "insertRow" + revision: 1540 + type: "bool" + isCloned: true + Parameter { name: "row"; type: "int" } + } + Method { + name: "insertColumn" + revision: 1540 + type: "bool" + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "insertColumn" + revision: 1540 + type: "bool" + isCloned: true + Parameter { name: "column"; type: "int" } + } + Method { + name: "removeRow" + revision: 1540 + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "removeRow" + revision: 1540 + type: "bool" + isCloned: true + Parameter { name: "row"; type: "int" } + } + Method { + name: "removeColumn" + revision: 1540 + type: "bool" + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "removeColumn" + revision: 1540 + type: "bool" + isCloned: true + Parameter { name: "column"; type: "int" } + } + Method { + name: "moveRow" + revision: 1540 + type: "bool" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceRow"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationChild"; type: "int" } + } + Method { + name: "moveColumn" + revision: 1540 + type: "bool" + Parameter { name: "sourceParent"; type: "QModelIndex" } + Parameter { name: "sourceColumn"; type: "int" } + Parameter { name: "destinationParent"; type: "QModelIndex" } + Parameter { name: "destinationChild"; type: "int" } + } + Method { + name: "fetchMore" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "canFetchMore" + type: "bool" + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "flags" + type: "Qt::ItemFlags" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "sort" + revision: 1540 + Parameter { name: "column"; type: "int" } + Parameter { name: "order"; type: "Qt::SortOrder" } + } + Method { + name: "sort" + revision: 1540 + isCloned: true + Parameter { name: "column"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "match" + type: "QModelIndexList" + isCloned: true + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + Parameter { name: "hits"; type: "int" } + } + Method { + name: "match" + type: "QModelIndexList" + isCloned: true + Parameter { name: "start"; type: "QModelIndex" } + Parameter { name: "role"; type: "int" } + Parameter { name: "value"; type: "QVariant" } + } + } + Component { + file: "private/qqmlmodelsmodule_p.h" + name: "QAbstractListModel" + accessSemantics: "reference" + prototype: "QAbstractItemModel" + exports: ["QtQml.Models/AbstractListModel 6.5"] + isCreatable: false + exportMetaObjectRevisions: [1541] + } + Component { + file: "private/qqmlmodelindexvaluetype_p.h" + name: "QItemSelection" + accessSemantics: "sequence" + valueType: "QItemSelectionRange" + } + Component { + file: "private/qqmlmodelsmodule_p.h" + name: "QItemSelectionModel" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQml.Models/ItemSelectionModel 2.2", + "QtQml.Models/ItemSelectionModel 6.0" + ] + exportMetaObjectRevisions: [514, 1536] + Enum { + name: "SelectionFlags" + alias: "SelectionFlag" + isFlag: true + values: [ + "NoUpdate", + "Clear", + "Select", + "Deselect", + "Toggle", + "Current", + "Rows", + "Columns", + "SelectCurrent", + "ToggleCurrent", + "ClearAndSelect" + ] + } + Property { + name: "model" + type: "QAbstractItemModel" + isPointer: true + bindable: "bindableModel" + read: "model" + write: "setModel" + notify: "modelChanged" + index: 0 + } + Property { + name: "hasSelection" + type: "bool" + read: "hasSelection" + notify: "selectionChanged" + index: 1 + isReadonly: true + } + Property { + name: "currentIndex" + type: "QModelIndex" + read: "currentIndex" + notify: "currentChanged" + index: 2 + isReadonly: true + } + Property { + name: "selection" + type: "QItemSelection" + read: "selection" + notify: "selectionChanged" + index: 3 + isReadonly: true + } + Property { + name: "selectedIndexes" + type: "QModelIndexList" + read: "selectedIndexes" + notify: "selectionChanged" + index: 4 + isReadonly: true + } + Signal { + name: "selectionChanged" + Parameter { name: "selected"; type: "QItemSelection" } + Parameter { name: "deselected"; type: "QItemSelection" } + } + Signal { + name: "currentChanged" + Parameter { name: "current"; type: "QModelIndex" } + Parameter { name: "previous"; type: "QModelIndex" } + } + Signal { + name: "currentRowChanged" + Parameter { name: "current"; type: "QModelIndex" } + Parameter { name: "previous"; type: "QModelIndex" } + } + Signal { + name: "currentColumnChanged" + Parameter { name: "current"; type: "QModelIndex" } + Parameter { name: "previous"; type: "QModelIndex" } + } + Signal { + name: "modelChanged" + Parameter { name: "model"; type: "QAbstractItemModel"; isPointer: true } + } + Method { + name: "setCurrentIndex" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "command"; type: "QItemSelectionModel::SelectionFlags" } + } + Method { + name: "select" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "command"; type: "QItemSelectionModel::SelectionFlags" } + } + Method { + name: "select" + Parameter { name: "selection"; type: "QItemSelection" } + Parameter { name: "command"; type: "QItemSelectionModel::SelectionFlags" } + } + Method { name: "clear" } + Method { name: "reset" } + Method { name: "clearSelection" } + Method { name: "clearCurrentIndex" } + Method { + name: "isSelected" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "isRowSelected" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "isRowSelected" + type: "bool" + isCloned: true + Parameter { name: "row"; type: "int" } + } + Method { + name: "isColumnSelected" + type: "bool" + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "isColumnSelected" + type: "bool" + isCloned: true + Parameter { name: "column"; type: "int" } + } + Method { + name: "rowIntersectsSelection" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "rowIntersectsSelection" + type: "bool" + isCloned: true + Parameter { name: "row"; type: "int" } + } + Method { + name: "columnIntersectsSelection" + type: "bool" + Parameter { name: "column"; type: "int" } + Parameter { name: "parent"; type: "QModelIndex" } + } + Method { + name: "columnIntersectsSelection" + type: "bool" + isCloned: true + Parameter { name: "column"; type: "int" } + } + Method { + name: "selectedRows" + type: "QModelIndexList" + Parameter { name: "column"; type: "int" } + } + Method { name: "selectedRows"; type: "QModelIndexList"; isCloned: true } + Method { + name: "selectedColumns" + type: "QModelIndexList" + Parameter { name: "row"; type: "int" } + } + Method { name: "selectedColumns"; type: "QModelIndexList"; isCloned: true } + } + Component { + file: "private/qqmlmodelindexvaluetype_p.h" + name: "QModelIndexList" + accessSemantics: "sequence" + valueType: "QModelIndex" + } + Component { + file: "private/qqmlmodelindexvaluetype_p.h" + name: "std::vector" + accessSemantics: "sequence" + valueType: "QModelIndex" + } + Component { + file: "private/qqmlabstractdelegatecomponent_p.h" + name: "QQmlAbstractDelegateComponent" + accessSemantics: "reference" + prototype: "QQmlComponent" + exports: [ + "QtQml.Models/AbstractDelegateComponent 2.0", + "QtQml.Models/AbstractDelegateComponent 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + Signal { name: "delegateChanged" } + } + Component { + file: "private/qqmldelegatemodel_p.h" + name: "QQmlDelegateModel" + accessSemantics: "reference" + defaultProperty: "delegate" + prototype: "QQmlInstanceModel" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQml.Models/DelegateModel 2.1", + "QtQml.Models/DelegateModel 2.15", + "QtQml.Models/DelegateModel 6.0" + ] + exportMetaObjectRevisions: [513, 527, 1536] + attachedType: "QQmlDelegateModelAttached" + Property { name: "model"; type: "QVariant"; read: "model"; write: "setModel"; index: 0 } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 1 + } + Property { + name: "filterOnGroup" + type: "QString" + read: "filterGroup" + write: "setFilterGroup" + reset: "resetFilterGroup" + notify: "filterGroupChanged" + index: 2 + } + Property { + name: "items" + type: "QQmlDelegateModelGroup" + isPointer: true + read: "items" + index: 3 + isReadonly: true + isConstant: true + } + Property { + name: "persistedItems" + type: "QQmlDelegateModelGroup" + isPointer: true + read: "persistedItems" + index: 4 + isReadonly: true + isConstant: true + } + Property { + name: "groups" + type: "QQmlDelegateModelGroup" + isList: true + read: "groups" + index: 5 + isReadonly: true + isConstant: true + } + Property { + name: "parts" + type: "QObject" + isPointer: true + read: "parts" + index: 6 + isReadonly: true + isConstant: true + } + Property { + name: "rootIndex" + type: "QVariant" + read: "rootIndex" + write: "setRootIndex" + notify: "rootIndexChanged" + index: 7 + } + Signal { name: "filterGroupChanged" } + Signal { name: "defaultGroupsChanged" } + Signal { name: "rootIndexChanged" } + Signal { name: "delegateChanged" } + Method { + name: "_q_itemsChanged" + Parameter { name: "index"; type: "int" } + Parameter { name: "count"; type: "int" } + Parameter { name: "roles"; type: "int"; isList: true } + } + Method { + name: "_q_itemsInserted" + Parameter { name: "index"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { + name: "_q_itemsRemoved" + Parameter { name: "index"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { + name: "_q_itemsMoved" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { name: "_q_modelAboutToBeReset" } + Method { + name: "_q_rowsInserted" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_columnsInserted" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_columnsRemoved" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_columnsMoved" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + } + Method { + name: "_q_rowsAboutToBeRemoved" + Parameter { name: "parent"; type: "QModelIndex" } + Parameter { name: "begin"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "_q_rowsRemoved" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { + name: "_q_rowsMoved" + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + Parameter { type: "int" } + Parameter { type: "QModelIndex" } + Parameter { type: "int" } + } + Method { + name: "_q_dataChanged" + Parameter { type: "QModelIndex" } + Parameter { type: "QModelIndex" } + Parameter { type: "int"; isList: true } + } + Method { + name: "_q_layoutChanged" + Parameter { type: "QPersistentModelIndex"; isList: true } + Parameter { type: "QAbstractItemModel::LayoutChangeHint" } + } + Method { + name: "modelIndex" + type: "QVariant" + Parameter { name: "idx"; type: "int" } + } + Method { name: "parentModelIndex"; type: "QVariant" } + } + Component { + file: "private/qqmldelegatemodel_p.h" + name: "QQmlDelegateModelAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "model" + type: "QQmlDelegateModel" + isPointer: true + read: "model" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "groups" + type: "QStringList" + read: "groups" + write: "setGroups" + notify: "groupsChanged" + index: 1 + isFinal: true + } + Property { + name: "isUnresolved" + type: "bool" + read: "isUnresolved" + notify: "unresolvedChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "inPersistedItems" + type: "bool" + read: "inPersistedItems" + write: "setInPersistedItems" + notify: "groupsChanged" + index: 3 + isFinal: true + } + Property { + name: "inItems" + type: "bool" + read: "inItems" + write: "setInItems" + notify: "groupsChanged" + index: 4 + isFinal: true + } + Property { + name: "persistedItemsIndex" + type: "int" + read: "persistedItemsIndex" + notify: "groupsChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "itemsIndex" + type: "int" + read: "itemsIndex" + notify: "groupsChanged" + index: 6 + isReadonly: true + isFinal: true + } + Signal { name: "groupsChanged" } + Signal { name: "unresolvedChanged" } + } + Component { + file: "private/qqmldelegatemodel_p.h" + name: "QQmlDelegateModelGroup" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQml.Models/DelegateModelGroup 2.1", + "QtQml.Models/DelegateModelGroup 6.0" + ] + exportMetaObjectRevisions: [513, 1536] + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 0 + isReadonly: true + } + Property { + name: "name" + type: "QString" + read: "name" + write: "setName" + notify: "nameChanged" + index: 1 + } + Property { + name: "includeByDefault" + type: "bool" + read: "defaultInclude" + write: "setDefaultInclude" + notify: "defaultIncludeChanged" + index: 2 + } + Signal { name: "countChanged" } + Signal { name: "nameChanged" } + Signal { name: "defaultIncludeChanged" } + Signal { + name: "changed" + Parameter { name: "removed"; type: "QJSValue" } + Parameter { name: "inserted"; type: "QJSValue" } + } + Method { name: "insert"; isJavaScriptFunction: true } + Method { name: "create"; isJavaScriptFunction: true } + Method { name: "resolve"; isJavaScriptFunction: true } + Method { name: "remove"; isJavaScriptFunction: true } + Method { name: "addGroups"; isJavaScriptFunction: true } + Method { name: "removeGroups"; isJavaScriptFunction: true } + Method { name: "setGroups"; isJavaScriptFunction: true } + Method { name: "move"; isJavaScriptFunction: true } + Method { + name: "get" + type: "QJSValue" + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qqmlobjectmodel_p.h" + name: "QQmlInstanceModel" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 0 + isReadonly: true + } + Signal { name: "countChanged" } + Signal { + name: "modelUpdated" + Parameter { name: "changeSet"; type: "QQmlChangeSet" } + Parameter { name: "reset"; type: "bool" } + } + Signal { + name: "createdItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "initItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "destroyingItem" + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "itemPooled" + revision: 527 + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "itemReused" + revision: 527 + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + } + Component { + file: "private/qqmlinstantiator_p.h" + name: "QQmlInstantiator" + accessSemantics: "reference" + defaultProperty: "delegate" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQml.Models/Instantiator 2.1", + "QtQml.Models/Instantiator 6.0" + ] + exportMetaObjectRevisions: [513, 1536] + Property { + name: "active" + type: "bool" + read: "isActive" + write: "setActive" + notify: "activeChanged" + index: 0 + } + Property { + name: "asynchronous" + type: "bool" + read: "isAsync" + write: "setAsync" + notify: "asynchronousChanged" + index: 1 + } + Property { + name: "model" + type: "QVariant" + read: "model" + write: "setModel" + notify: "modelChanged" + index: 2 + } + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 3 + isReadonly: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 4 + } + Property { + name: "object" + type: "QObject" + isPointer: true + read: "object" + notify: "objectChanged" + index: 5 + isReadonly: true + } + Signal { name: "modelChanged" } + Signal { name: "delegateChanged" } + Signal { name: "countChanged" } + Signal { name: "objectChanged" } + Signal { name: "activeChanged" } + Signal { name: "asynchronousChanged" } + Signal { + name: "objectAdded" + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "objectRemoved" + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "_q_createdItem" + Parameter { type: "int" } + Parameter { type: "QObject"; isPointer: true } + } + Method { + name: "_q_modelUpdated" + Parameter { type: "QQmlChangeSet" } + Parameter { type: "bool" } + } + Method { + name: "objectAt" + type: "QObject" + isPointer: true + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qqmlmodelindexvaluetype_p.h" + name: "QItemSelectionRange" + accessSemantics: "value" + extension: "QQmlItemSelectionRangeValueType" + } + Component { + file: "private/qqmlmodelindexvaluetype_p.h" + name: "QQmlItemSelectionRangeValueType" + accessSemantics: "value" + Property { name: "top"; type: "int"; read: "top"; index: 0; isReadonly: true; isFinal: true } + Property { name: "left"; type: "int"; read: "left"; index: 1; isReadonly: true; isFinal: true } + Property { name: "bottom"; type: "int"; read: "bottom"; index: 2; isReadonly: true; isFinal: true } + Property { name: "right"; type: "int"; read: "right"; index: 3; isReadonly: true; isFinal: true } + Property { name: "width"; type: "int"; read: "width"; index: 4; isReadonly: true; isFinal: true } + Property { name: "height"; type: "int"; read: "height"; index: 5; isReadonly: true; isFinal: true } + Property { + name: "topLeft" + type: "QPersistentModelIndex" + read: "topLeft" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "bottomRight" + type: "QPersistentModelIndex" + read: "bottomRight" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "parent" + type: "QModelIndex" + read: "parent" + index: 8 + isReadonly: true + isFinal: true + } + Property { name: "valid"; type: "bool"; read: "isValid"; index: 9; isReadonly: true; isFinal: true } + Property { name: "empty"; type: "bool"; read: "isEmpty"; index: 10; isReadonly: true; isFinal: true } + Property { + name: "model" + type: "QAbstractItemModel" + isPointer: true + read: "model" + index: 11 + isReadonly: true + isFinal: true + } + Method { name: "toString"; type: "QString" } + Method { + name: "contains" + type: "bool" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "contains" + type: "bool" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + Parameter { name: "parentIndex"; type: "QModelIndex" } + } + Method { + name: "intersects" + type: "bool" + Parameter { name: "other"; type: "QItemSelectionRange" } + } + Method { + name: "intersected" + type: "QItemSelectionRange" + Parameter { name: "other"; type: "QItemSelectionRange" } + } + } + Component { + file: "private/qqmllistmodel_p.h" + name: "QQmlListElement" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQml.Models/ListElement 2.0", + "QtQml.Models/ListElement 6.0" + ] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qqmllistmodel_p.h" + name: "QQmlListModel" + accessSemantics: "reference" + prototype: "QAbstractListModel" + exports: [ + "QtQml.Models/ListModel 2.0", + "QtQml.Models/ListModel 2.14", + "QtQml.Models/ListModel 6.0", + "QtQml.Models/ListModel 6.4" + ] + hasCustomParser: true + exportMetaObjectRevisions: [512, 526, 1536, 1540] + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 0 + isReadonly: true + } + Property { + name: "dynamicRoles" + type: "bool" + read: "dynamicRoles" + write: "setDynamicRoles" + index: 1 + } + Property { + name: "agent" + revision: 526 + type: "QObject" + isPointer: true + read: "agent" + index: 2 + isReadonly: true + isConstant: true + } + Signal { name: "countChanged" } + Method { name: "clear" } + Method { name: "remove"; isJavaScriptFunction: true } + Method { name: "append"; isJavaScriptFunction: true } + Method { name: "insert"; isJavaScriptFunction: true } + Method { + name: "get" + type: "QJSValue" + Parameter { name: "index"; type: "int" } + } + Method { + name: "set" + Parameter { name: "index"; type: "int" } + Parameter { name: "value"; type: "QJSValue" } + } + Method { + name: "setProperty" + Parameter { name: "index"; type: "int" } + Parameter { name: "property"; type: "QString" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "move" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { name: "sync" } + } + Component { + file: "private/qqmllistmodelworkeragent_p.h" + name: "QQmlListModelWorkerAgent" + accessSemantics: "reference" + prototype: "QObject" + Property { name: "count"; type: "int"; read: "count"; index: 0; isReadonly: true; isFinal: true } + Property { + name: "engine" + type: "QV4::ExecutionEngine" + isPointer: true + read: "engine" + write: "setEngine" + notify: "engineChanged" + index: 1 + isFinal: true + } + Signal { + name: "engineChanged" + Parameter { name: "engine"; type: "QV4::ExecutionEngine"; isPointer: true } + } + Method { name: "addref" } + Method { name: "release" } + Method { name: "clear" } + Method { name: "remove"; isJavaScriptFunction: true } + Method { name: "append"; isJavaScriptFunction: true } + Method { name: "insert"; isJavaScriptFunction: true } + Method { + name: "get" + type: "QJSValue" + Parameter { name: "index"; type: "int" } + } + Method { + name: "set" + Parameter { name: "index"; type: "int" } + Parameter { name: "value"; type: "QJSValue" } + } + Method { + name: "setProperty" + Parameter { name: "index"; type: "int" } + Parameter { name: "property"; type: "QString" } + Parameter { name: "value"; type: "QVariant" } + } + Method { + name: "move" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + Parameter { name: "count"; type: "int" } + } + Method { name: "sync" } + } + Component { + file: "private/qqmlmodelindexvaluetype_p.h" + name: "QModelIndex" + accessSemantics: "value" + extension: "QQmlModelIndexValueType" + } + Component { + file: "private/qqmlmodelindexvaluetype_p.h" + name: "QQmlModelIndexValueType" + accessSemantics: "value" + Property { + name: "row" + type: "int" + read: "row" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "column" + type: "int" + read: "column" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "parent" + type: "QModelIndex" + read: "parent" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "valid" + type: "bool" + read: "isValid" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "model" + type: "QAbstractItemModel" + isPointer: true + read: "model" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "internalId" + type: "qulonglong" + read: "internalId" + index: 5 + isReadonly: true + isFinal: true + isConstant: true + } + Method { name: "toString"; type: "QString" } + } + Component { + file: "private/qqmlobjectmodel_p.h" + name: "QQmlObjectModel" + accessSemantics: "reference" + defaultProperty: "children" + prototype: "QQmlInstanceModel" + exports: [ + "QtQml.Models/ObjectModel 2.1", + "QtQml.Models/ObjectModel 2.3", + "QtQml.Models/ObjectModel 2.15", + "QtQml.Models/ObjectModel 6.0" + ] + exportMetaObjectRevisions: [513, 515, 527, 1536] + attachedType: "QQmlObjectModelAttached" + Property { + name: "children" + type: "QObject" + isList: true + read: "children" + notify: "childrenChanged" + index: 0 + isReadonly: true + } + Signal { name: "childrenChanged" } + Method { name: "clear"; revision: 515 } + Method { + name: "get" + revision: 515 + type: "QObject" + isPointer: true + Parameter { name: "index"; type: "int" } + } + Method { + name: "append" + revision: 515 + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "insert" + revision: 515 + Parameter { name: "index"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "move" + revision: 515 + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + Parameter { name: "n"; type: "int" } + } + Method { + name: "move" + revision: 515 + isCloned: true + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + } + Method { + name: "remove" + revision: 515 + Parameter { name: "index"; type: "int" } + Parameter { name: "n"; type: "int" } + } + Method { + name: "remove" + revision: 515 + isCloned: true + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qqmlobjectmodel_p.h" + name: "QQmlObjectModelAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "index" + type: "int" + read: "index" + notify: "indexChanged" + index: 0 + isReadonly: true + isFinal: true + } + Signal { name: "indexChanged" } + } + Component { + file: "private/qqmlmodelindexvaluetype_p.h" + name: "QPersistentModelIndex" + accessSemantics: "value" + extension: "QQmlPersistentModelIndexValueType" + } + Component { + file: "private/qqmlmodelindexvaluetype_p.h" + name: "QQmlPersistentModelIndexValueType" + accessSemantics: "value" + Property { name: "row"; type: "int"; read: "row"; index: 0; isReadonly: true; isFinal: true } + Property { name: "column"; type: "int"; read: "column"; index: 1; isReadonly: true; isFinal: true } + Property { + name: "parent" + type: "QModelIndex" + read: "parent" + index: 2 + isReadonly: true + isFinal: true + } + Property { name: "valid"; type: "bool"; read: "isValid"; index: 3; isReadonly: true; isFinal: true } + Property { + name: "model" + type: "QAbstractItemModel" + isPointer: true + read: "model" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "internalId" + type: "qulonglong" + read: "internalId" + index: 5 + isReadonly: true + isFinal: true + } + Method { name: "toString"; type: "QString" } + } + Component { + file: "private/qquickpackage_p.h" + name: "QQuickPackage" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QObject" + exports: ["QtQml.Models/Package 2.0", "QtQml.Models/Package 6.0"] + exportMetaObjectRevisions: [512, 1536] + attachedType: "QQuickPackageAttached" + Property { name: "data"; type: "QObject"; isList: true; read: "data"; index: 0; isReadonly: true } + } + Component { + file: "private/qquickpackage_p.h" + name: "QQuickPackageAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { name: "name"; type: "QString"; read: "name"; write: "setName"; index: 0; isFinal: true } + } +} diff --git a/bin/qml/QtQml/Models/qmldir b/bin/qml/QtQml/Models/qmldir new file mode 100644 index 000000000..60eac9bf1 --- /dev/null +++ b/bin/qml/QtQml/Models/qmldir @@ -0,0 +1,9 @@ +module QtQml.Models +linktarget Qt6::modelsplugin +optional plugin modelsplugin +classname QtQmlModelsPlugin +designersupported +typeinfo plugins.qmltypes +depends QtQml.Base auto +prefer :/qt-project.org/imports/QtQml/Models/ + diff --git a/bin/qml/QtQml/WorkerScript/plugins.qmltypes b/bin/qml/QtQml/WorkerScript/plugins.qmltypes new file mode 100644 index 000000000..1fd39ca95 --- /dev/null +++ b/bin/qml/QtQml/WorkerScript/plugins.qmltypes @@ -0,0 +1,46 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickworkerscript_p.h" + name: "QQuickWorkerScript" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQml.WorkerScript/WorkerScript 2.0", + "QtQml.WorkerScript/WorkerScript 2.15", + "QtQml.WorkerScript/WorkerScript 6.0" + ] + exportMetaObjectRevisions: [512, 527, 1536] + Property { + name: "source" + type: "QUrl" + read: "source" + write: "setSource" + notify: "sourceChanged" + index: 0 + } + Property { + name: "ready" + revision: 527 + type: "bool" + read: "ready" + notify: "readyChanged" + index: 1 + isReadonly: true + } + Signal { name: "sourceChanged" } + Signal { name: "readyChanged"; revision: 527 } + Signal { + name: "message" + Parameter { name: "messageObject"; type: "QJSValue" } + } + Method { name: "sendMessage"; isJavaScriptFunction: true } + } +} diff --git a/bin/qml/QtQml/WorkerScript/qmldir b/bin/qml/QtQml/WorkerScript/qmldir new file mode 100644 index 000000000..a4de5f38b --- /dev/null +++ b/bin/qml/QtQml/WorkerScript/qmldir @@ -0,0 +1,9 @@ +module QtQml.WorkerScript +linktarget Qt6::workerscriptplugin +optional plugin workerscriptplugin +classname QtQmlWorkerScriptPlugin +designersupported +typeinfo plugins.qmltypes +depends QtQml.Base auto +prefer :/qt-project.org/imports/QtQml/WorkerScript/ + diff --git a/bin/qml/QtQml/WorkerScript/workerscriptplugin.dll b/bin/qml/QtQml/WorkerScript/workerscriptplugin.dll new file mode 100644 index 000000000..120698ac5 Binary files /dev/null and b/bin/qml/QtQml/WorkerScript/workerscriptplugin.dll differ diff --git a/bin/qml/QtQml/qmldir b/bin/qml/QtQml/qmldir new file mode 100644 index 000000000..ae6977b9d --- /dev/null +++ b/bin/qml/QtQml/qmldir @@ -0,0 +1,10 @@ +module QtQml +linktarget Qt6::QmlMeta +optional plugin qmlmetaplugin +classname QtQmlMetaPlugin +designersupported +import QtQml.Base auto +import QtQml.Models auto +import QtQml.WorkerScript auto +prefer :/qt-project.org/imports/QtQml/ + diff --git a/bin/qml/QtQml/qmlmetaplugin.dll b/bin/qml/QtQml/qmlmetaplugin.dll new file mode 100644 index 000000000..5d1ffba53 Binary files /dev/null and b/bin/qml/QtQml/qmlmetaplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Basic/AbstractButton.qml b/bin/qml/QtQuick/Controls/Basic/AbstractButton.qml new file mode 100644 index 000000000..82105f3f8 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/AbstractButton.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.AbstractButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) +} diff --git a/bin/qml/QtQuick/Controls/Basic/Action.qml b/bin/qml/QtQuick/Controls/Basic/Action.qml new file mode 100644 index 000000000..aa360f0aa --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Action.qml @@ -0,0 +1,7 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.Action { } diff --git a/bin/qml/QtQuick/Controls/Basic/ActionGroup.qml b/bin/qml/QtQuick/Controls/Basic/ActionGroup.qml new file mode 100644 index 000000000..8ab1495d3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ActionGroup.qml @@ -0,0 +1,7 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.ActionGroup { } diff --git a/bin/qml/QtQuick/Controls/Basic/ApplicationWindow.qml b/bin/qml/QtQuick/Controls/Basic/ApplicationWindow.qml new file mode 100644 index 000000000..d64a87c99 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ApplicationWindow.qml @@ -0,0 +1,12 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ApplicationWindow { + id: window + + color: window.palette.window +} diff --git a/bin/qml/QtQuick/Controls/Basic/BusyIndicator.qml b/bin/qml/QtQuick/Controls/Basic/BusyIndicator.qml new file mode 100644 index 000000000..2276f5a00 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/BusyIndicator.qml @@ -0,0 +1,29 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.Basic.impl +import QtQuick.Templates as T + +T.BusyIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + + contentItem: BusyIndicatorImpl { + implicitWidth: 48 + implicitHeight: 48 + + pen: control.palette.dark + fill: control.palette.dark + + running: control.running + opacity: control.running ? 1 : 0 + Behavior on opacity { OpacityAnimator { duration: 250 } } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/Button.qml b/bin/qml/QtQuick/Controls/Basic/Button.qml new file mode 100644 index 000000000..cc02c2d7c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Button.qml @@ -0,0 +1,46 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.Button { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + horizontalPadding: padding + 2 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: control.checked || control.highlighted ? control.palette.brightText : + control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.checked || control.highlighted ? control.palette.brightText : + control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: !control.flat || control.down || control.checked || control.highlighted + color: Color.blend(control.checked || control.highlighted ? control.palette.dark : control.palette.button, + control.palette.mid, control.down ? 0.5 : 0.0) + border.color: control.palette.highlight + border.width: control.visualFocus ? 2 : 0 + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ButtonGroup.qml b/bin/qml/QtQuick/Controls/Basic/ButtonGroup.qml new file mode 100644 index 000000000..9c615a028 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ButtonGroup.qml @@ -0,0 +1,7 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.ButtonGroup { } diff --git a/bin/qml/QtQuick/Controls/Basic/Calendar.qml b/bin/qml/QtQuick/Controls/Basic/Calendar.qml new file mode 100644 index 000000000..66d03afc0 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Calendar.qml @@ -0,0 +1,8 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma Singleton + +import QtQuick.Templates as T + +T.Calendar {} diff --git a/bin/qml/QtQuick/Controls/Basic/CalendarModel.qml b/bin/qml/QtQuick/Controls/Basic/CalendarModel.qml new file mode 100644 index 000000000..0f18f62ae --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/CalendarModel.qml @@ -0,0 +1,6 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick.Templates as T + +T.CalendarModel {} diff --git a/bin/qml/QtQuick/Controls/Basic/CheckBox.qml b/bin/qml/QtQuick/Controls/Basic/CheckBox.qml new file mode 100644 index 000000000..3d71008b5 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/CheckBox.qml @@ -0,0 +1,59 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl + +T.CheckBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + // keep in sync with CheckDelegate.qml (shared CheckIndicator.qml was removed for performance reasons) + indicator: Rectangle { + implicitWidth: 28 + implicitHeight: 28 + + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + color: control.down ? control.palette.light : control.palette.base + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.palette.mid + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + defaultColor: "#353637" + color: control.palette.text + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Basic/images/check.png" + visible: control.checkState === Qt.Checked + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 16 + height: 3 + color: control.palette.text + visible: control.checkState === Qt.PartiallyChecked + } + } + + contentItem: CheckLabel { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/CheckDelegate.qml b/bin/qml/QtQuick/Controls/Basic/CheckDelegate.qml new file mode 100644 index 000000000..59e154326 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/CheckDelegate.qml @@ -0,0 +1,76 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl + +T.CheckDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 12 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + // keep in sync with CheckBox.qml (shared CheckIndicator.qml was removed for performance reasons) + indicator: Rectangle { + implicitWidth: 28 + implicitHeight: 28 + + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + color: control.down ? control.palette.light : control.palette.base + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.palette.mid + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + defaultColor: "#353637" + color: control.palette.text + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Basic/images/check.png" + visible: control.checkState === Qt.Checked + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 16 + height: 3 + color: control.palette.text + visible: control.checkState === Qt.PartiallyChecked + } + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: control.down || control.highlighted + color: control.down ? control.palette.midlight : control.palette.light + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ComboBox.qml b/bin/qml/QtQuick/Controls/Basic/ComboBox.qml new file mode 100644 index 000000000..5c71a4398 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ComboBox.qml @@ -0,0 +1,111 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ComboBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + + delegate: ItemDelegate { + required property var model + required property int index + + width: ListView.view.width + text: model[control.textRole] + palette.text: control.palette.text + palette.highlightedText: control.palette.highlightedText + font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + indicator: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + color: control.palette.dark + defaultColor: "#353637" + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Basic/images/double-arrow.png" + opacity: enabled ? 1 : 0.3 + } + + contentItem: T.TextField { + leftPadding: !control.mirrored ? 12 : control.editable && activeFocus ? 3 : 1 + rightPadding: control.mirrored ? 12 : control.editable && activeFocus ? 3 : 1 + topPadding: 6 - control.padding + bottomPadding: 6 - control.padding + + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + color: control.editable ? control.palette.text : control.palette.buttonText + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + verticalAlignment: Text.AlignVCenter + + background: Rectangle { + visible: control.enabled && control.editable && !control.flat + border.width: parent && parent.activeFocus ? 2 : 1 + border.color: parent && parent.activeFocus ? control.palette.highlight : control.palette.button + color: control.palette.base + } + } + + background: Rectangle { + implicitWidth: 140 + implicitHeight: 40 + + color: control.down ? control.palette.mid : control.palette.button + border.color: control.palette.highlight + border.width: !control.editable && control.visualFocus ? 2 : 0 + visible: !control.flat || control.down + } + + popup: T.Popup { + y: control.height + width: control.width + height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) + topMargin: 6 + bottomMargin: 6 + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightMoveDuration: 0 + + Rectangle { + z: 10 + width: parent.width + height: parent.height + color: "transparent" + border.color: control.palette.mid + } + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: Rectangle { + color: control.palette.window + } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/Container.qml b/bin/qml/QtQuick/Controls/Basic/Container.qml new file mode 100644 index 000000000..28e50279f --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Container.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.Container { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) +} diff --git a/bin/qml/QtQuick/Controls/Basic/Control.qml b/bin/qml/QtQuick/Controls/Basic/Control.qml new file mode 100644 index 000000000..20b27136d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Control.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.Control { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) +} diff --git a/bin/qml/QtQuick/Controls/Basic/DayOfWeekRow.qml b/bin/qml/QtQuick/Controls/Basic/DayOfWeekRow.qml new file mode 100644 index 000000000..0de64264b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/DayOfWeekRow.qml @@ -0,0 +1,40 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.AbstractDayOfWeekRow { + id: control + + implicitWidth: Math.max(background ? background.implicitWidth : 0, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(background ? background.implicitHeight : 0, + contentItem.implicitHeight + topPadding + bottomPadding) + + spacing: 6 + topPadding: 6 + bottomPadding: 6 + font.bold: true + + //! [delegate] + delegate: Text { + text: shortName + font: control.font + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + + required property string shortName + } + //! [delegate] + + //! [contentItem] + contentItem: Row { + spacing: control.spacing + Repeater { + model: control.source + delegate: control.delegate + } + } + //! [contentItem] +} diff --git a/bin/qml/QtQuick/Controls/Basic/DelayButton.qml b/bin/qml/QtQuick/Controls/Basic/DelayButton.qml new file mode 100644 index 000000000..1be4450c6 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/DelayButton.qml @@ -0,0 +1,71 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.DelayButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + horizontalPadding: padding + 2 + + transition: Transition { + NumberAnimation { + duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) + } + } + + contentItem: ItemGroup { + ClippedText { + clip: control.progress > 0 + clipX: -control.leftPadding + control.progress * control.width + clipWidth: (1.0 - control.progress) * control.width + visible: control.progress < 1 + + text: control.text + font: control.font + opacity: enabled ? 1 : 0.3 + color: control.palette.buttonText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + + ClippedText { + clip: control.progress > 0 + clipX: -control.leftPadding + clipWidth: control.progress * control.width + visible: control.progress > 0 + + text: control.text + font: control.font + opacity: enabled ? 1 : 0.3 + color: control.palette.brightText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + color: Color.blend(control.palette.button, control.palette.mid, control.down ? 0.5 : 0.0) + border.color: control.palette.highlight + border.width: control.visualFocus ? 2 : 0 + + PaddedRectangle { + padding: control.visualFocus ? 2 : 0 + width: control.progress * parent.width + height: parent.height + color: Color.blend(control.palette.dark, control.palette.mid, control.down ? 0.5 : 0.0) + } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/Dial.qml b/bin/qml/QtQuick/Controls/Basic/Dial.qml new file mode 100644 index 000000000..6076f7b2a --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Dial.qml @@ -0,0 +1,49 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Controls.Basic.impl +import QtQuick.Templates as T + +T.Dial { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + background: DialImpl { + implicitWidth: 184 + implicitHeight: 184 + color: control.visualFocus ? control.palette.highlight : control.palette.dark + progress: control.position + opacity: control.enabled ? 1 : 0.3 + startAngle: control.startAngle + endAngle: control.endAngle + } + + handle: ColorImage { + x: control.background.x + control.background.width / 2 - width / 2 + y: control.background.y + control.background.height / 2 - height / 2 + width: 14 + height: 10 + defaultColor: "#353637" + color: control.visualFocus ? control.palette.highlight : control.palette.dark + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Basic/images/dial-indicator.png" + antialiasing: true + opacity: control.enabled ? 1 : 0.3 + transform: [ + Translate { + y: -Math.min(control.background.width, control.background.height) * 0.4 + + (control.handle ? control.handle.height / 2 : 0) + }, + Rotation { + angle: control.angle + origin.x: control.handle ? control.handle.width / 2 : 0 + origin.y: control.handle ? control.handle.height / 2 : 0 + } + ] + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/Dialog.qml b/bin/qml/QtQuick/Controls/Basic/Dialog.qml new file mode 100644 index 000000000..c4c59b27f --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Dialog.qml @@ -0,0 +1,52 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl + +T.Dialog { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 12 + + background: Rectangle { + color: control.palette.window + border.color: control.palette.dark + } + + header: Label { + text: control.title + visible: control.title + elide: Label.ElideRight + font.bold: true + padding: 12 + background: Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 1 + color: control.palette.window + } + } + + footer: DialogButtonBox { + visible: count > 0 + } + + T.Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + T.Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/DialogButtonBox.qml b/bin/qml/QtQuick/Controls/Basic/DialogButtonBox.qml new file mode 100644 index 000000000..d28c77604 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/DialogButtonBox.qml @@ -0,0 +1,40 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.DialogButtonBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + (control.count === 1 ? implicitContentWidth * 2 : implicitContentWidth) + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + contentWidth: (contentItem as ListView).contentWidth // QTBUG-111283 blocks optional chaining + nullish coalescing + + spacing: 1 + padding: 12 + alignment: count === 1 ? Qt.AlignRight : undefined + + delegate: Button { + width: control.count === 1 ? control.availableWidth / 2 : undefined + } + + contentItem: ListView { + implicitWidth: contentWidth + model: control.contentModel + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + snapMode: ListView.SnapToItem + } + + background: Rectangle { + implicitHeight: 40 + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + color: control.palette.window + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/Drawer.qml b/bin/qml/QtQuick/Controls/Basic/Drawer.qml new file mode 100644 index 000000000..c69d319e9 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Drawer.qml @@ -0,0 +1,45 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.Drawer { + id: control + + parent: T.Overlay.overlay + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: control.edge === Qt.BottomEdge + leftPadding: control.edge === Qt.RightEdge + rightPadding: control.edge === Qt.LeftEdge + bottomPadding: control.edge === Qt.TopEdge + + enter: Transition { SmoothedAnimation { velocity: 5 } } + exit: Transition { SmoothedAnimation { velocity: 5 } } + + background: Rectangle { + color: control.palette.window + Rectangle { + readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge + width: horizontal ? 1 : parent.width + height: horizontal ? parent.height : 1 + color: control.palette.dark + x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 + y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 + } + } + + T.Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + T.Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/Frame.qml b/bin/qml/QtQuick/Controls/Basic/Frame.qml new file mode 100644 index 000000000..d1ecc4b9d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Frame.qml @@ -0,0 +1,22 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.Frame { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: "transparent" + border.color: control.palette.mid + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/GroupBox.qml b/bin/qml/QtQuick/Controls/Basic/GroupBox.qml new file mode 100644 index 000000000..510acf158 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/GroupBox.qml @@ -0,0 +1,40 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.GroupBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 6 + padding: 12 + topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) + + label: Text { + x: control.leftPadding + width: control.availableWidth + + text: control.title + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: Rectangle { + y: control.topPadding - control.bottomPadding + width: parent.width + height: parent.height - control.topPadding + control.bottomPadding + + color: "transparent" + border.color: control.palette.mid + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/HorizontalHeaderView.qml b/bin/qml/QtQuick/Controls/Basic/HorizontalHeaderView.qml new file mode 100644 index 000000000..9f571a8f6 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/HorizontalHeaderView.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Templates as T + +T.HorizontalHeaderView { + id: control + + implicitWidth: syncView ? syncView.width : 0 + // The contentHeight of TableView will be zero at start-up, until the delegate + // items have been loaded. This means that even if the implicit height of + // HorizontalHeaderView should be the same as the content height in the end, we + // need to ensure that it has at least a height of 1 at start-up, otherwise + // TableView won't bother loading any delegates at all. + implicitHeight: Math.max(1, contentHeight) + + delegate: Rectangle { + id: delegate + + required property var model + + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: text.implicitWidth + (cellPadding * 2) + implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) + color: "#f6f6f6" + border.color: "#e4e4e4" + + Label { + id: text + text: delegate.model[control.textRole] + width: delegate.width + height: delegate.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ff26282a" + } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ItemDelegate.qml b/bin/qml/QtQuick/Controls/Basic/ItemDelegate.qml new file mode 100644 index 000000000..7bef49d6d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ItemDelegate.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ItemDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 8 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? control.palette.highlightedText : control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: control.down || control.highlighted || control.visualFocus + color: Color.blend(control.down ? control.palette.midlight : control.palette.light, + control.palette.highlight, control.visualFocus ? 0.15 : 0.0) + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/Label.qml b/bin/qml/QtQuick/Controls/Basic/Label.qml new file mode 100644 index 000000000..e3274142c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Label.qml @@ -0,0 +1,13 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.Label { + id: control + + color: control.palette.windowText + linkColor: control.palette.link +} diff --git a/bin/qml/QtQuick/Controls/Basic/Menu.qml b/bin/qml/QtQuick/Controls/Basic/Menu.qml new file mode 100644 index 000000000..8e0800033 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Menu.qml @@ -0,0 +1,47 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.Menu { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 0 + overlap: 1 + + delegate: MenuItem { } + + contentItem: ListView { + implicitHeight: contentHeight + model: control.contentModel + interactive: Window.window + ? contentHeight + control.topPadding + control.bottomPadding > control.height + : false + clip: true + currentIndex: control.currentIndex + + ScrollIndicator.vertical: ScrollIndicator {} + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 40 + color: control.palette.window + border.color: control.palette.dark + } + + T.Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + T.Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/MenuBar.qml b/bin/qml/QtQuick/Controls/Basic/MenuBar.qml new file mode 100644 index 000000000..c0d4bda60 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/MenuBar.qml @@ -0,0 +1,29 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl + +T.MenuBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + delegate: MenuBarItem { } + + contentItem: Row { + spacing: control.spacing + Repeater { + model: control.contentModel + } + } + + background: Rectangle { + implicitHeight: 40 + color: control.palette.button + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/MenuBarItem.qml b/bin/qml/QtQuick/Controls/Basic/MenuBarItem.qml new file mode 100644 index 000000000..9362d26c1 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/MenuBarItem.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl + +T.MenuBarItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 6 + padding: 6 + leftPadding: 12 + rightPadding: 16 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: Rectangle { + implicitWidth: 40 + implicitHeight: 40 + color: control.down || control.highlighted ? control.palette.mid : "transparent" + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/MenuItem.qml b/bin/qml/QtQuick/Controls/Basic/MenuItem.qml new file mode 100644 index 000000000..ad50eacad --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/MenuItem.qml @@ -0,0 +1,71 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.MenuItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.windowText + + contentItem: IconLabel { + readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 + readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 + leftPadding: !control.mirrored ? indicatorPadding : arrowPadding + rightPadding: control.mirrored ? indicatorPadding : arrowPadding + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.windowText + } + + indicator: ColorImage { + x: control.mirrored ? control.width - width - control.rightPadding : control.leftPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.checked + source: control.checkable ? "qrc:/qt-project.org/imports/QtQuick/Controls/Basic/images/check.png" : "" + color: control.palette.windowText + defaultColor: "#353637" + } + + arrow: ColorImage { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.subMenu + mirror: control.mirrored + source: control.subMenu ? "qrc:/qt-project.org/imports/QtQuick/Controls/Basic/images/arrow-indicator.png" : "" + color: control.palette.windowText + defaultColor: "#353637" + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 40 + x: 1 + y: 1 + width: control.width - 2 + height: control.height - 2 + color: control.down ? control.palette.midlight : control.highlighted ? control.palette.light : "transparent" + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/MenuSeparator.qml b/bin/qml/QtQuick/Controls/Basic/MenuSeparator.qml new file mode 100644 index 000000000..ff7e79e78 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/MenuSeparator.qml @@ -0,0 +1,24 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.MenuSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + verticalPadding: padding + 4 + + contentItem: Rectangle { + implicitWidth: 188 + implicitHeight: 1 + color: control.palette.mid + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/MonthGrid.qml b/bin/qml/QtQuick/Controls/Basic/MonthGrid.qml new file mode 100644 index 000000000..b8d2379bc --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/MonthGrid.qml @@ -0,0 +1,42 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.AbstractMonthGrid { + id: control + + implicitWidth: Math.max(background ? background.implicitWidth : 0, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(background ? background.implicitHeight : 0, + contentItem.implicitHeight + topPadding + bottomPadding) + + spacing: 6 + + //! [delegate] + delegate: Text { + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + opacity: model.month === control.month ? 1 : 0 + text: model.day + font: control.font + + required property var model + } + //! [delegate] + + //! [contentItem] + contentItem: Grid { + rows: 6 + columns: 7 + rowSpacing: control.spacing + columnSpacing: control.spacing + + Repeater { + model: control.source + delegate: control.delegate + } + } + //! [contentItem] +} diff --git a/bin/qml/QtQuick/Controls/Basic/Page.qml b/bin/qml/QtQuick/Controls/Basic/Page.qml new file mode 100644 index 000000000..b6d503e65 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Page.qml @@ -0,0 +1,23 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.Page { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + background: Rectangle { + color: control.palette.window + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/PageIndicator.qml b/bin/qml/QtQuick/Controls/Basic/PageIndicator.qml new file mode 100644 index 000000000..e858695d0 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/PageIndicator.qml @@ -0,0 +1,41 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.PageIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + delegate: Rectangle { + implicitWidth: 8 + implicitHeight: 8 + + radius: width / 2 + color: control.palette.dark + + opacity: index === control.currentIndex ? 0.95 : pressed ? 0.7 : 0.45 + + required property int index + + Behavior on opacity { OpacityAnimator { duration: 100 } } + } + + contentItem: Row { + spacing: control.spacing + + Repeater { + model: control.count + delegate: control.delegate + } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/Pane.qml b/bin/qml/QtQuick/Controls/Basic/Pane.qml new file mode 100644 index 000000000..46e15e296 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Pane.qml @@ -0,0 +1,21 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.Pane { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: control.palette.window + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/Popup.qml b/bin/qml/QtQuick/Controls/Basic/Popup.qml new file mode 100644 index 000000000..f4b787c31 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Popup.qml @@ -0,0 +1,30 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.Popup { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: control.palette.window + border.color: control.palette.dark + } + + T.Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + T.Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ProgressBar.qml b/bin/qml/QtQuick/Controls/Basic/ProgressBar.qml new file mode 100644 index 000000000..09ab1fb2c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ProgressBar.qml @@ -0,0 +1,33 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Basic.impl + +T.ProgressBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: ProgressBarImpl { + implicitHeight: 6 + implicitWidth: 116 + scale: control.mirrored ? -1 : 1 + progress: control.position + indeterminate: control.visible && control.indeterminate + color: control.palette.dark + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 6 + y: (control.height - height) / 2 + height: 6 + + color: control.palette.midlight + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/RadioButton.qml b/bin/qml/QtQuick/Controls/Basic/RadioButton.qml new file mode 100644 index 000000000..7b3f4063e --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/RadioButton.qml @@ -0,0 +1,52 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.RadioButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + // keep in sync with RadioDelegate.qml (shared RadioIndicator.qml was removed for performance reasons) + indicator: Rectangle { + implicitWidth: 28 + implicitHeight: 28 + + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + radius: width / 2 + color: control.down ? control.palette.light : control.palette.base + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.palette.mid + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 20 + height: 20 + radius: width / 2 + color: control.palette.text + visible: control.checked + } + } + + contentItem: CheckLabel { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/RadioDelegate.qml b/bin/qml/QtQuick/Controls/Basic/RadioDelegate.qml new file mode 100644 index 000000000..87e6e66b2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/RadioDelegate.qml @@ -0,0 +1,69 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.RadioDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 12 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + // keep in sync with RadioButton.qml (shared RadioIndicator.qml was removed for performance reasons) + indicator: Rectangle { + implicitWidth: 28 + implicitHeight: 28 + + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + radius: width / 2 + color: control.down ? control.palette.light : control.palette.base + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.palette.mid + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 20 + height: 20 + radius: width / 2 + color: control.palette.text + visible: control.checked + } + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: control.down || control.highlighted + color: control.down ? control.palette.midlight : control.palette.light + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/RangeSlider.qml b/bin/qml/QtQuick/Controls/Basic/RangeSlider.qml new file mode 100644 index 000000000..155807da8 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/RangeSlider.qml @@ -0,0 +1,62 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.RangeSlider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + first.implicitHandleWidth + leftPadding + rightPadding, + second.implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + first.implicitHandleHeight + topPadding + bottomPadding, + second.implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + first.handle: Rectangle { + x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) + implicitWidth: 28 + implicitHeight: 28 + radius: width / 2 + border.width: activeFocus ? 2 : 1 + border.color: activeFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight + color: control.first.pressed ? control.palette.light : control.palette.window + } + + second.handle: Rectangle { + x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) + implicitWidth: 28 + implicitHeight: 28 + radius: width / 2 + border.width: activeFocus ? 2 : 1 + border.color: activeFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight + color: control.second.pressed ? control.palette.light : control.palette.window + } + + background: Rectangle { + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + implicitWidth: control.horizontal ? 200 : 6 + implicitHeight: control.horizontal ? 6 : 200 + width: control.horizontal ? control.availableWidth : implicitWidth + height: control.horizontal ? implicitHeight : control.availableHeight + radius: 3 + color: control.palette.midlight + scale: control.horizontal && control.mirrored ? -1 : 1 + + Rectangle { + x: control.horizontal ? control.first.position * parent.width + 3 : 0 + y: control.horizontal ? 0 : control.second.visualPosition * parent.height + 3 + width: control.horizontal ? control.second.position * parent.width - control.first.position * parent.width - 6 : 6 + height: control.horizontal ? 6 : control.second.position * parent.height - control.first.position * parent.height - 6 + + color: control.palette.dark + } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/RoundButton.qml b/bin/qml/QtQuick/Controls/Basic/RoundButton.qml new file mode 100644 index 000000000..7e7bd039b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/RoundButton.qml @@ -0,0 +1,47 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.RoundButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: control.checked || control.highlighted ? control.palette.brightText : + control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.checked || control.highlighted ? control.palette.brightText : + control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText + } + + background: Rectangle { + implicitWidth: 40 + implicitHeight: 40 + radius: control.radius + opacity: enabled ? 1 : 0.3 + visible: !control.flat || control.down || control.checked || control.highlighted + color: Color.blend(control.checked || control.highlighted ? control.palette.dark : control.palette.button, + control.palette.mid, control.down ? 0.5 : 0.0) + border.color: control.palette.highlight + border.width: control.visualFocus ? 2 : 0 + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ScrollBar.qml b/bin/qml/QtQuick/Controls/Basic/ScrollBar.qml new file mode 100644 index 000000000..8927a4f13 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ScrollBar.qml @@ -0,0 +1,42 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ScrollBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + visible: control.policy !== T.ScrollBar.AlwaysOff + minimumSize: orientation === Qt.Horizontal ? height / width : width / height + + contentItem: Rectangle { + implicitWidth: control.interactive ? 6 : 2 + implicitHeight: control.interactive ? 6 : 2 + + radius: width / 2 + color: control.pressed ? control.palette.dark : control.palette.mid + opacity: 0.0 + + states: State { + name: "active" + when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) + PropertyChanges { control.contentItem.opacity: 0.75 } + } + + transitions: Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 450 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ScrollIndicator.qml b/bin/qml/QtQuick/Controls/Basic/ScrollIndicator.qml new file mode 100644 index 000000000..8b1ca93c2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ScrollIndicator.qml @@ -0,0 +1,42 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ScrollIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + + contentItem: Rectangle { + implicitWidth: 2 + implicitHeight: 2 + + color: control.palette.mid + visible: control.size < 1.0 + opacity: 0.0 + + states: State { + name: "active" + when: control.active + PropertyChanges { control.contentItem.opacity: 0.75 } + } + + transitions: [ + Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 450 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } + } + } + ] + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ScrollView.qml b/bin/qml/QtQuick/Controls/Basic/ScrollView.qml new file mode 100644 index 000000000..aab91a3bc --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ScrollView.qml @@ -0,0 +1,31 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ScrollView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + ScrollBar.vertical: ScrollBar { + parent: control + x: control.mirrored ? 0 : control.width - width + y: control.topPadding + height: control.availableHeight + active: control.ScrollBar.horizontal.active + } + + ScrollBar.horizontal: ScrollBar { + parent: control + x: control.leftPadding + y: control.height - height + width: control.availableWidth + active: control.ScrollBar.vertical.active + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/SelectionRectangle.qml b/bin/qml/QtQuick/Controls/Basic/SelectionRectangle.qml new file mode 100644 index 000000000..8e16d1041 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/SelectionRectangle.qml @@ -0,0 +1,28 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Shapes +import QtQuick.Templates as T + +T.SelectionRectangle { + id: control + + topLeftHandle: Handle {} + bottomRightHandle: Handle {} + + component Handle : Rectangle { + id: handle + width: 28 + height: width + radius: width / 2 + color: SelectionRectangle.dragging ? control.palette.light : control.palette.window + border.width: 1 + border.color: control.enabled ? control.palette.mid : control.palette.midlight + visible: SelectionRectangle.control.active + + property Item control: SelectionRectangle.control + } + +} diff --git a/bin/qml/QtQuick/Controls/Basic/Slider.qml b/bin/qml/QtQuick/Controls/Basic/Slider.qml new file mode 100644 index 000000000..7ca8e02bf --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Slider.qml @@ -0,0 +1,49 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + handle: Rectangle { + x: control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) + implicitWidth: 28 + implicitHeight: 28 + radius: width / 2 + color: control.pressed ? control.palette.light : control.palette.window + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight + } + + background: Rectangle { + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + implicitWidth: control.horizontal ? 200 : 6 + implicitHeight: control.horizontal ? 6 : 200 + width: control.horizontal ? control.availableWidth : implicitWidth + height: control.horizontal ? implicitHeight : control.availableHeight + radius: 3 + color: control.palette.midlight + scale: control.horizontal && control.mirrored ? -1 : 1 + + Rectangle { + y: control.horizontal ? 0 : control.visualPosition * parent.height + width: control.horizontal ? control.position * parent.width : 6 + height: control.horizontal ? 6 : control.position * parent.height + + radius: 3 + color: control.palette.dark + } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/SpinBox.qml b/bin/qml/QtQuick/Controls/Basic/SpinBox.qml new file mode 100644 index 000000000..cf4315e91 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/SpinBox.qml @@ -0,0 +1,98 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.SpinBox { + id: control + + // Note: the width of the indicators are calculated into the padding + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + up.implicitIndicatorHeight, down.implicitIndicatorHeight) + + leftPadding: padding + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) + rightPadding: padding + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + z: 2 + text: control.displayText + clip: width < implicitWidth + padding: 6 + + font: control.font + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignVCenter + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + + Rectangle { + width: parent.width + height: parent.height + visible: control.activeFocus + color: "transparent" + border.color: control.palette.highlight + border.width: 2 + } + } + + up.indicator: Rectangle { + x: control.mirrored ? 0 : control.width - width + height: control.height + implicitWidth: 40 + implicitHeight: 40 + color: control.up.pressed ? control.palette.mid : control.palette.button + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: parent.width / 3 + height: 2 + color: enabled ? control.palette.buttonText : control.palette.mid + } + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 2 + height: parent.width / 3 + color: enabled ? control.palette.buttonText : control.palette.mid + } + } + + down.indicator: Rectangle { + x: control.mirrored ? parent.width - width : 0 + height: control.height + implicitWidth: 40 + implicitHeight: 40 + color: control.down.pressed ? control.palette.mid : control.palette.button + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: parent.width / 3 + height: 2 + color: enabled ? control.palette.buttonText : control.palette.mid + } + } + + background: Rectangle { + implicitWidth: 140 + color: enabled ? control.palette.base : control.palette.button + border.color: control.palette.button + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/SplitView.qml b/bin/qml/QtQuick/Controls/Basic/SplitView.qml new file mode 100644 index 000000000..6d673b55b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/SplitView.qml @@ -0,0 +1,21 @@ +// Copyright (C) 2018 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl + +T.SplitView { + id: control + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + handle: Rectangle { + implicitWidth: control.orientation === Qt.Horizontal ? 6 : control.width + implicitHeight: control.orientation === Qt.Horizontal ? control.height : 6 + color: T.SplitHandle.pressed ? control.palette.mid + : (T.SplitHandle.hovered ? control.palette.midlight : control.palette.button) + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/StackView.qml b/bin/qml/QtQuick/Controls/Basic/StackView.qml new file mode 100644 index 000000000..689d7ff9c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/StackView.qml @@ -0,0 +1,33 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.StackView { + id: control + + popEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * -control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + popExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * control.width; duration: 400; easing.type: Easing.OutCubic } + } + + pushEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + pushExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } + } + + replaceEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + replaceExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/SwipeDelegate.qml b/bin/qml/QtQuick/Controls/Basic/SwipeDelegate.qml new file mode 100644 index 000000000..552f34dc0 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/SwipeDelegate.qml @@ -0,0 +1,44 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.SwipeDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 12 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + color: Color.blend(control.down ? control.palette.midlight : control.palette.light, + control.palette.highlight, control.visualFocus ? 0.15 : 0.0) + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/SwipeView.qml b/bin/qml/QtQuick/Controls/Basic/SwipeView.qml new file mode 100644 index 000000000..b0068fd30 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/SwipeView.qml @@ -0,0 +1,32 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.SwipeView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + contentItem: ListView { + model: control.contentModel + interactive: control.interactive + currentIndex: control.currentIndex + focus: control.focus + + spacing: control.spacing + orientation: control.orientation + snapMode: ListView.SnapOneItem + boundsBehavior: Flickable.StopAtBounds + + highlightRangeMode: ListView.StrictlyEnforceRange + preferredHighlightBegin: 0 + preferredHighlightEnd: 0 + highlightMoveDuration: 250 + maximumFlickVelocity: 4 * (control.orientation === Qt.Horizontal ? width : height) + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/Switch.qml b/bin/qml/QtQuick/Controls/Basic/Switch.qml new file mode 100644 index 000000000..d299ea374 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Switch.qml @@ -0,0 +1,58 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl + +T.Switch { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + indicator: PaddedRectangle { + implicitWidth: 56 + implicitHeight: 28 + + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + radius: 8 + leftPadding: 0 + rightPadding: 0 + padding: (height - 16) / 2 + color: control.checked ? control.palette.dark : control.palette.midlight + + Rectangle { + x: Math.max(0, Math.min(parent.width - width, control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + width: 28 + height: 28 + radius: 16 + color: control.down ? control.palette.light : control.palette.window + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight + + Behavior on x { + enabled: !control.down + SmoothedAnimation { velocity: 200 } + } + } + } + + contentItem: CheckLabel { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/SwitchDelegate.qml b/bin/qml/QtQuick/Controls/Basic/SwitchDelegate.qml new file mode 100644 index 000000000..98392557a --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/SwitchDelegate.qml @@ -0,0 +1,75 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl + +T.SwitchDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 12 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + indicator: PaddedRectangle { + implicitWidth: 56 + implicitHeight: 28 + + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + radius: 8 + leftPadding: 0 + rightPadding: 0 + padding: (height - 16) / 2 + color: control.checked ? control.palette.dark : control.palette.midlight + + Rectangle { + x: Math.max(0, Math.min(parent.width - width, control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + width: 28 + height: 28 + radius: 16 + color: control.down ? control.palette.light : control.palette.window + border.width: control.visualFocus ? 2 : 1 + border.color: control.visualFocus ? control.palette.highlight : control.enabled ? control.palette.mid : control.palette.midlight + + Behavior on x { + enabled: !control.down + SmoothedAnimation { velocity: 200 } + } + } + } + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: control.down || control.highlighted + color: control.down ? control.palette.midlight : control.palette.light + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/TabBar.qml b/bin/qml/QtQuick/Controls/Basic/TabBar.qml new file mode 100644 index 000000000..f8bdb9146 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/TabBar.qml @@ -0,0 +1,36 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.TabBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 1 + + contentItem: ListView { + model: control.contentModel + currentIndex: control.currentIndex + + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + flickableDirection: Flickable.AutoFlickIfNeeded + snapMode: ListView.SnapToItem + + highlightMoveDuration: 0 + highlightRangeMode: ListView.ApplyRange + preferredHighlightBegin: 40 + preferredHighlightEnd: width - 40 + } + + background: Rectangle { + color: control.palette.window + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/TabButton.qml b/bin/qml/QtQuick/Controls/Basic/TabButton.qml new file mode 100644 index 000000000..071048dce --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/TabButton.qml @@ -0,0 +1,39 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.TabButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: checked ? control.palette.windowText : control.palette.brightText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.checked ? control.palette.windowText : control.palette.brightText + } + + background: Rectangle { + implicitHeight: 40 + color: Color.blend(control.checked ? control.palette.window : control.palette.dark, + control.palette.mid, control.down ? 0.5 : 0.0) + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/TextArea.qml b/bin/qml/QtQuick/Controls/Basic/TextArea.qml new file mode 100644 index 000000000..0dc7c4558 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/TextArea.qml @@ -0,0 +1,41 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset, + placeholder.implicitHeight + topPadding + bottomPadding) + + padding: 6 + leftPadding: padding + 4 + + color: control.palette.text + placeholderTextColor: control.palette.placeholderText + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/TextField.qml b/bin/qml/QtQuick/Controls/Basic/TextField.qml new file mode 100644 index 000000000..cf542a688 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/TextField.qml @@ -0,0 +1,49 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.TextField { + id: control + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding, + placeholder.implicitHeight + topPadding + bottomPadding) + + padding: 6 + leftPadding: padding + 4 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + placeholderTextColor: control.palette.placeholderText + verticalAlignment: TextInput.AlignVCenter + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 40 + border.width: control.activeFocus ? 2 : 1 + color: control.palette.base + border.color: control.activeFocus ? control.palette.highlight : control.palette.mid + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ToolBar.qml b/bin/qml/QtQuick/Controls/Basic/ToolBar.qml new file mode 100644 index 000000000..6ef70bc99 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ToolBar.qml @@ -0,0 +1,20 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ToolBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + background: Rectangle { + implicitHeight: 40 + color: control.palette.button + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ToolButton.qml b/bin/qml/QtQuick/Controls/Basic/ToolButton.qml new file mode 100644 index 000000000..e4bc90d66 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ToolButton.qml @@ -0,0 +1,41 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ToolButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: visualFocus ? control.palette.highlight : control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.visualFocus ? control.palette.highlight : control.palette.buttonText + } + + background: Rectangle { + implicitWidth: 40 + implicitHeight: 40 + + opacity: control.down ? 1.0 : 0.5 + color: control.down || control.checked || control.highlighted ? control.palette.mid : control.palette.button + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ToolSeparator.qml b/bin/qml/QtQuick/Controls/Basic/ToolSeparator.qml new file mode 100644 index 000000000..2d2cefcdf --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ToolSeparator.qml @@ -0,0 +1,24 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ToolSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: vertical ? 6 : 2 + verticalPadding: vertical ? 2 : 6 + + contentItem: Rectangle { + implicitWidth: control.vertical ? 1 : 30 + implicitHeight: control.vertical ? 30 : 1 + color: control.palette.mid + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/ToolTip.qml b/bin/qml/QtQuick/Controls/Basic/ToolTip.qml new file mode 100644 index 000000000..6d71f55db --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/ToolTip.qml @@ -0,0 +1,35 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ToolTip { + id: control + + x: parent ? (parent.width - implicitWidth) / 2 : 0 + y: -implicitHeight - 3 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 6 + padding: 6 + + closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent + + contentItem: Text { + text: control.text + font: control.font + wrapMode: Text.Wrap + color: control.palette.toolTipText + } + + background: Rectangle { + border.color: control.palette.dark + color: control.palette.toolTipBase + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/TreeViewDelegate.qml b/bin/qml/QtQuick/Controls/Basic/TreeViewDelegate.qml new file mode 100644 index 000000000..f1cf26546 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/TreeViewDelegate.qml @@ -0,0 +1,100 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.TreeViewDelegate { + id: control + + implicitWidth: leftMargin + __contentIndent + implicitContentWidth + rightPadding + rightMargin + implicitHeight: Math.max(indicator ? indicator.height : 0, implicitContentHeight) * 1.25 + + indentation: indicator ? indicator.width : 12 + leftMargin: 4 + rightMargin: 4 + spacing: 4 + + topPadding: contentItem ? (height - contentItem.implicitHeight) / 2 : 0 + leftPadding: !mirrored ? leftMargin + __contentIndent : width - leftMargin - __contentIndent - implicitContentWidth + + highlighted: control.selected || control.current + || ((control.treeView.selectionBehavior === TableView.SelectRows + || control.treeView.selectionBehavior === TableView.SelectionDisabled) + && control.row === control.treeView.currentRow) + + required property int row + required property var model + readonly property real __contentIndent: !isTreeNode ? 0 : (depth * indentation) + (indicator ? indicator.width + spacing : 0) + + indicator: Item { + // Create an area that is big enough for the user to + // click on, since the image is a bit small. + readonly property real __indicatorIndent: control.leftMargin + (control.depth * control.indentation) + x: !control.mirrored ? __indicatorIndent : control.width - __indicatorIndent - width + y: (control.height - height) / 2 + implicitWidth: 20 + implicitHeight: 40 // same as Button.qml + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + rotation: control.expanded ? 90 : (control.mirrored ? 180 : 0) + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Basic/images/arrow-indicator.png" + color: control.palette.windowText + defaultColor: "#353637" + } + } + + background: Rectangle { + implicitHeight: 40 // same as Button.qml + color: control.highlighted + ? control.palette.highlight + : (control.treeView.alternatingRows && control.row % 2 !== 0 + ? control.palette.alternateBase : control.palette.base) + } + + contentItem: Label { + clip: false + text: control.model.display + elide: Text.ElideRight + color: control.highlighted ? control.palette.highlightedText : control.palette.buttonText + visible: !control.editing + } + + // The edit delegate is a separate component, and doesn't need + // to follow the same strict rules that are applied to a control. + // qmllint disable attached-property-reuse + // qmllint disable controls-attached-property-reuse + // qmllint disable controls-sanity + TableView.editDelegate: FocusScope { + width: parent.width + height: parent.height + + readonly property int __role: { + let model = control.treeView.model + let index = control.treeView.index(row, column) + let editText = model.data(index, Qt.EditRole) + return editText !== undefined ? Qt.EditRole : Qt.DisplayRole + } + + TextField { + id: textField + x: control.contentItem.x + y: (parent.height - height) / 2 + width: control.contentItem.width + text: control.treeView.model.data(control.treeView.index(row, column), __role) + focus: true + } + + TableView.onCommit: { + let index = TableView.view.index(row, column) + TableView.view.model.setData(index, textField.text, __role) + } + + Component.onCompleted: textField.selectAll() + } + // qmllint enable attached-property-reuse + // qmllint enable controls-attached-property-reuse + // qmllint enable controls-sanity +} diff --git a/bin/qml/QtQuick/Controls/Basic/Tumbler.qml b/bin/qml/QtQuick/Controls/Basic/Tumbler.qml new file mode 100644 index 000000000..d3d1254fe --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/Tumbler.qml @@ -0,0 +1,47 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.Tumbler { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + delegate: Text { + text: modelData + color: control.visualFocus ? control.palette.highlight : control.palette.text + font: control.font + opacity: 1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2) + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + + // We use required property here to satisfy qmllint, but that means + // we also need to declare the index for the attached properties + // (see QQuickTumblerAttachedPrivate::init). + required property var modelData + required property int index + } + + contentItem: TumblerView { + implicitWidth: 60 + implicitHeight: 200 + model: control.model + delegate: control.delegate + path: Path { + startX: control.contentItem.width / 2 + startY: -control.contentItem.delegateHeight / 2 + PathLine { + x: control.contentItem.width / 2 + y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 + } + } + + property real delegateHeight: control.availableHeight / control.visibleItemCount + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/VerticalHeaderView.qml b/bin/qml/QtQuick/Controls/Basic/VerticalHeaderView.qml new file mode 100644 index 000000000..52a9bcb87 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/VerticalHeaderView.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Templates as T + +T.VerticalHeaderView { + id: control + + // The contentWidth of TableView will be zero at start-up, until the delegate + // items have been loaded. This means that even if the implicit width of + // VerticalHeaderView should be the same as the content width in the end, we + // need to ensure that it has at least a width of 1 at start-up, otherwise + // TableView won't bother loading any delegates at all. + implicitWidth: Math.max(1, contentWidth) + implicitHeight: syncView ? syncView.height : 0 + + delegate: Rectangle { + id: delegate + + required property var model + + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) + implicitHeight: text.implicitHeight + (cellPadding * 2) + color: "#f6f6f6" + border.color: "#e4e4e4" + + Label { + id: text + text: delegate.model[control.textRole] + width: delegate.width + height: delegate.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ff26282a" + } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/WeekNumberColumn.qml b/bin/qml/QtQuick/Controls/Basic/WeekNumberColumn.qml new file mode 100644 index 000000000..e5ce90bf3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/WeekNumberColumn.qml @@ -0,0 +1,40 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +T.AbstractWeekNumberColumn { + id: control + + implicitWidth: Math.max(background ? background.implicitWidth : 0, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(background ? background.implicitHeight : 0, + contentItem.implicitHeight + topPadding + bottomPadding) + + spacing: 6 + leftPadding: 6 + rightPadding: 6 + font.bold: true + + //! [delegate] + delegate: Text { + text: weekNumber + font: control.font + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + + required property int weekNumber + } + //! [delegate] + + //! [contentItem] + contentItem: Column { + spacing: control.spacing + Repeater { + model: control.source + delegate: control.delegate + } + } + //! [contentItem] +} diff --git a/bin/qml/QtQuick/Controls/Basic/impl/plugins.qmltypes b/bin/qml/QtQuick/Controls/Basic/impl/plugins.qmltypes new file mode 100644 index 000000000..28cd111b5 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/impl/plugins.qmltypes @@ -0,0 +1,106 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickbasicbusyindicator_p.h" + name: "QQuickBasicBusyIndicator" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Controls.Basic.impl/BusyIndicatorImpl 2.0", + "QtQuick.Controls.Basic.impl/BusyIndicatorImpl 2.1", + "QtQuick.Controls.Basic.impl/BusyIndicatorImpl 2.4", + "QtQuick.Controls.Basic.impl/BusyIndicatorImpl 2.7", + "QtQuick.Controls.Basic.impl/BusyIndicatorImpl 2.11", + "QtQuick.Controls.Basic.impl/BusyIndicatorImpl 6.0", + "QtQuick.Controls.Basic.impl/BusyIndicatorImpl 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { name: "pen"; type: "QColor"; read: "pen"; write: "setPen"; index: 0; isFinal: true } + Property { name: "fill"; type: "QColor"; read: "fill"; write: "setFill"; index: 1; isFinal: true } + Property { name: "running"; type: "bool"; read: "isRunning"; write: "setRunning"; index: 2 } + } + Component { + file: "private/qquickbasicdial_p.h" + name: "QQuickBasicDial" + accessSemantics: "reference" + prototype: "QQuickPaintedItem" + exports: [ + "QtQuick.Controls.Basic.impl/DialImpl 2.0", + "QtQuick.Controls.Basic.impl/DialImpl 2.1", + "QtQuick.Controls.Basic.impl/DialImpl 2.4", + "QtQuick.Controls.Basic.impl/DialImpl 2.7", + "QtQuick.Controls.Basic.impl/DialImpl 2.11", + "QtQuick.Controls.Basic.impl/DialImpl 6.0", + "QtQuick.Controls.Basic.impl/DialImpl 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { + name: "progress" + type: "double" + read: "progress" + write: "setProgress" + index: 0 + isFinal: true + } + Property { + name: "startAngle" + type: "double" + read: "startAngle" + write: "setStartAngle" + index: 1 + isFinal: true + } + Property { + name: "endAngle" + type: "double" + read: "endAngle" + write: "setEndAngle" + index: 2 + isFinal: true + } + Property { name: "color"; type: "QColor"; read: "color"; write: "setColor"; index: 3; isFinal: true } + } + Component { + file: "private/qquickbasicprogressbar_p.h" + name: "QQuickBasicProgressBar" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Controls.Basic.impl/ProgressBarImpl 2.0", + "QtQuick.Controls.Basic.impl/ProgressBarImpl 2.1", + "QtQuick.Controls.Basic.impl/ProgressBarImpl 2.4", + "QtQuick.Controls.Basic.impl/ProgressBarImpl 2.7", + "QtQuick.Controls.Basic.impl/ProgressBarImpl 2.11", + "QtQuick.Controls.Basic.impl/ProgressBarImpl 6.0", + "QtQuick.Controls.Basic.impl/ProgressBarImpl 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { + name: "indeterminate" + type: "bool" + read: "isIndeterminate" + write: "setIndeterminate" + index: 0 + isFinal: true + } + Property { + name: "progress" + type: "double" + read: "progress" + write: "setProgress" + index: 1 + isFinal: true + } + Property { name: "color"; type: "QColor"; read: "color"; write: "setColor"; index: 2; isFinal: true } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/impl/qmldir b/bin/qml/QtQuick/Controls/Basic/impl/qmldir new file mode 100644 index 000000000..013905eed --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/impl/qmldir @@ -0,0 +1,7 @@ +module QtQuick.Controls.Basic.impl +linktarget Qt6::qtquickcontrols2basicstyleimplplugin +optional plugin qtquickcontrols2basicstyleimplplugin +classname QtQuickControls2BasicStyleImplPlugin +typeinfo plugins.qmltypes +prefer :/qt-project.org/imports/QtQuick/Controls/Basic/impl/ + diff --git a/bin/qml/QtQuick/Controls/Basic/impl/qtquickcontrols2basicstyleimplplugin.dll b/bin/qml/QtQuick/Controls/Basic/impl/qtquickcontrols2basicstyleimplplugin.dll new file mode 100644 index 000000000..63248f675 Binary files /dev/null and b/bin/qml/QtQuick/Controls/Basic/impl/qtquickcontrols2basicstyleimplplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Basic/plugins.qmltypes b/bin/qml/QtQuick/Controls/Basic/plugins.qmltypes new file mode 100644 index 000000000..9eca16a52 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/plugins.qmltypes @@ -0,0 +1,382 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickbasicstyle_p.h" + name: "QQuickBasicStyle" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick.Controls.Basic/Basic 2.1", + "QtQuick.Controls.Basic/Basic 6.0" + ] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [513, 1536] + Property { + name: "backgroundColor" + type: "QColor" + read: "backgroundColor" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "overlayModalColor" + type: "QColor" + read: "overlayModalColor" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "overlayDimColor" + type: "QColor" + read: "overlayDimColor" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textColor" + type: "QColor" + read: "textColor" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textDarkColor" + type: "QColor" + read: "textDarkColor" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textLightColor" + type: "QColor" + read: "textLightColor" + index: 5 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textLinkColor" + type: "QColor" + read: "textLinkColor" + index: 6 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textSelectionColor" + type: "QColor" + read: "textSelectionColor" + index: 7 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textDisabledColor" + type: "QColor" + read: "textDisabledColor" + index: 8 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textDisabledLightColor" + type: "QColor" + read: "textDisabledLightColor" + index: 9 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textPlaceholderColor" + type: "QColor" + read: "textPlaceholderColor" + index: 10 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "focusColor" + type: "QColor" + read: "focusColor" + index: 11 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "focusLightColor" + type: "QColor" + read: "focusLightColor" + index: 12 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "focusPressedColor" + type: "QColor" + read: "focusPressedColor" + index: 13 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buttonColor" + type: "QColor" + read: "buttonColor" + index: 14 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buttonPressedColor" + type: "QColor" + read: "buttonPressedColor" + index: 15 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buttonCheckedColor" + type: "QColor" + read: "buttonCheckedColor" + index: 16 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buttonCheckedPressedColor" + type: "QColor" + read: "buttonCheckedPressedColor" + index: 17 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buttonCheckedFocusColor" + type: "QColor" + read: "buttonCheckedFocusColor" + index: 18 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "toolButtonColor" + type: "QColor" + read: "toolButtonColor" + index: 19 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "tabButtonColor" + type: "QColor" + read: "tabButtonColor" + index: 20 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "tabButtonPressedColor" + type: "QColor" + read: "tabButtonPressedColor" + index: 21 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "tabButtonCheckedPressedColor" + type: "QColor" + read: "tabButtonCheckedPressedColor" + index: 22 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "delegateColor" + type: "QColor" + read: "delegateColor" + index: 23 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "delegatePressedColor" + type: "QColor" + read: "delegatePressedColor" + index: 24 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "delegateFocusColor" + type: "QColor" + read: "delegateFocusColor" + index: 25 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "indicatorPressedColor" + type: "QColor" + read: "indicatorPressedColor" + index: 26 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "indicatorDisabledColor" + type: "QColor" + read: "indicatorDisabledColor" + index: 27 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "indicatorFrameColor" + type: "QColor" + read: "indicatorFrameColor" + index: 28 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "indicatorFramePressedColor" + type: "QColor" + read: "indicatorFramePressedColor" + index: 29 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "indicatorFrameDisabledColor" + type: "QColor" + read: "indicatorFrameDisabledColor" + index: 30 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "frameDarkColor" + type: "QColor" + read: "frameDarkColor" + index: 31 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "frameLightColor" + type: "QColor" + read: "frameLightColor" + index: 32 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "scrollBarColor" + type: "QColor" + read: "scrollBarColor" + index: 33 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "scrollBarPressedColor" + type: "QColor" + read: "scrollBarPressedColor" + index: 34 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "progressBarColor" + type: "QColor" + read: "progressBarColor" + index: 35 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "pageIndicatorColor" + type: "QColor" + read: "pageIndicatorColor" + index: 36 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "separatorColor" + type: "QColor" + read: "separatorColor" + index: 37 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "disabledDarkColor" + type: "QColor" + read: "disabledDarkColor" + index: 38 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "disabledLightColor" + type: "QColor" + read: "disabledLightColor" + index: 39 + isReadonly: true + isFinal: true + isConstant: true + } + } +} diff --git a/bin/qml/QtQuick/Controls/Basic/qmldir b/bin/qml/QtQuick/Controls/Basic/qmldir new file mode 100644 index 000000000..8460bd3bf --- /dev/null +++ b/bin/qml/QtQuick/Controls/Basic/qmldir @@ -0,0 +1,131 @@ +module QtQuick.Controls.Basic +linktarget Qt6::qtquickcontrols2basicstyleplugin +plugin qtquickcontrols2basicstyleplugin +classname QtQuickControls2BasicStylePlugin +typeinfo plugins.qmltypes +import QtQuick.Controls.impl auto +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Controls/Basic/ +AbstractButton 6.0 AbstractButton.qml +AbstractButton 2.0 AbstractButton.qml +Action 2.3 Action.qml +Action 6.0 Action.qml +ActionGroup 2.3 ActionGroup.qml +ActionGroup 6.0 ActionGroup.qml +ApplicationWindow 6.0 ApplicationWindow.qml +ApplicationWindow 2.0 ApplicationWindow.qml +BusyIndicator 6.0 BusyIndicator.qml +BusyIndicator 2.0 BusyIndicator.qml +Button 6.0 Button.qml +Button 2.0 Button.qml +ButtonGroup 6.0 ButtonGroup.qml +ButtonGroup 2.0 ButtonGroup.qml +CheckBox 6.0 CheckBox.qml +CheckBox 2.0 CheckBox.qml +CheckDelegate 6.0 CheckDelegate.qml +CheckDelegate 2.0 CheckDelegate.qml +ComboBox 6.0 ComboBox.qml +ComboBox 2.0 ComboBox.qml +Container 6.0 Container.qml +Container 2.0 Container.qml +Control 6.0 Control.qml +Control 2.0 Control.qml +DelayButton 2.2 DelayButton.qml +DelayButton 6.0 DelayButton.qml +Dial 6.0 Dial.qml +Dial 2.0 Dial.qml +Dialog 2.1 Dialog.qml +Dialog 6.0 Dialog.qml +DialogButtonBox 2.1 DialogButtonBox.qml +DialogButtonBox 6.0 DialogButtonBox.qml +Drawer 6.0 Drawer.qml +Drawer 2.0 Drawer.qml +Frame 6.0 Frame.qml +Frame 2.0 Frame.qml +GroupBox 6.0 GroupBox.qml +GroupBox 2.0 GroupBox.qml +HorizontalHeaderView 2.15 HorizontalHeaderView.qml +HorizontalHeaderView 6.0 HorizontalHeaderView.qml +ItemDelegate 6.0 ItemDelegate.qml +ItemDelegate 2.0 ItemDelegate.qml +Label 6.0 Label.qml +Label 2.0 Label.qml +Menu 6.0 Menu.qml +Menu 2.0 Menu.qml +MenuBar 2.3 MenuBar.qml +MenuBar 6.0 MenuBar.qml +MenuBarItem 2.3 MenuBarItem.qml +MenuBarItem 6.0 MenuBarItem.qml +MenuItem 6.0 MenuItem.qml +MenuItem 2.0 MenuItem.qml +MenuSeparator 2.1 MenuSeparator.qml +MenuSeparator 6.0 MenuSeparator.qml +Page 6.0 Page.qml +Page 2.0 Page.qml +PageIndicator 6.0 PageIndicator.qml +PageIndicator 2.0 PageIndicator.qml +Pane 6.0 Pane.qml +Pane 2.0 Pane.qml +Popup 6.0 Popup.qml +Popup 2.0 Popup.qml +ProgressBar 6.0 ProgressBar.qml +ProgressBar 2.0 ProgressBar.qml +RadioButton 6.0 RadioButton.qml +RadioButton 2.0 RadioButton.qml +RadioDelegate 6.0 RadioDelegate.qml +RadioDelegate 2.0 RadioDelegate.qml +RangeSlider 6.0 RangeSlider.qml +RangeSlider 2.0 RangeSlider.qml +RoundButton 2.1 RoundButton.qml +RoundButton 6.0 RoundButton.qml +ScrollBar 6.0 ScrollBar.qml +ScrollBar 2.0 ScrollBar.qml +ScrollIndicator 6.0 ScrollIndicator.qml +ScrollIndicator 2.0 ScrollIndicator.qml +ScrollView 2.2 ScrollView.qml +ScrollView 6.0 ScrollView.qml +SelectionRectangle 6.2 SelectionRectangle.qml +Slider 6.0 Slider.qml +Slider 2.0 Slider.qml +SpinBox 6.0 SpinBox.qml +SpinBox 2.0 SpinBox.qml +SplitView 2.13 SplitView.qml +SplitView 6.0 SplitView.qml +StackView 6.0 StackView.qml +StackView 2.0 StackView.qml +SwipeDelegate 6.0 SwipeDelegate.qml +SwipeDelegate 2.0 SwipeDelegate.qml +Switch 6.0 Switch.qml +Switch 2.0 Switch.qml +SwitchDelegate 6.0 SwitchDelegate.qml +SwitchDelegate 2.0 SwitchDelegate.qml +SwipeView 6.0 SwipeView.qml +SwipeView 2.0 SwipeView.qml +TabBar 6.0 TabBar.qml +TabBar 2.0 TabBar.qml +TabButton 6.0 TabButton.qml +TabButton 2.0 TabButton.qml +TextArea 6.0 TextArea.qml +TextArea 2.0 TextArea.qml +TextField 6.0 TextField.qml +TextField 2.0 TextField.qml +ToolBar 6.0 ToolBar.qml +ToolBar 2.0 ToolBar.qml +ToolButton 6.0 ToolButton.qml +ToolButton 2.0 ToolButton.qml +ToolSeparator 2.1 ToolSeparator.qml +ToolSeparator 6.0 ToolSeparator.qml +ToolTip 6.0 ToolTip.qml +ToolTip 2.0 ToolTip.qml +Tumbler 6.0 Tumbler.qml +Tumbler 2.0 Tumbler.qml +VerticalHeaderView 2.15 VerticalHeaderView.qml +VerticalHeaderView 6.0 VerticalHeaderView.qml +singleton Calendar 6.3 Calendar.qml +CalendarModel 6.3 CalendarModel.qml +DayOfWeekRow 6.3 DayOfWeekRow.qml +MonthGrid 6.3 MonthGrid.qml +WeekNumberColumn 6.3 WeekNumberColumn.qml +TreeViewDelegate 6.0 TreeViewDelegate.qml +TreeViewDelegate 2.0 TreeViewDelegate.qml + diff --git a/bin/qml/QtQuick/Controls/Basic/qtquickcontrols2basicstyleplugin.dll b/bin/qml/QtQuick/Controls/Basic/qtquickcontrols2basicstyleplugin.dll new file mode 100644 index 000000000..997d870a0 Binary files /dev/null and b/bin/qml/QtQuick/Controls/Basic/qtquickcontrols2basicstyleplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Fusion/ApplicationWindow.qml b/bin/qml/QtQuick/Controls/Fusion/ApplicationWindow.qml new file mode 100644 index 000000000..fbd1cc2e7 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ApplicationWindow.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Window +import QtQuick.Templates as T +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.ApplicationWindow { + id: window + + color: window.palette.window +} diff --git a/bin/qml/QtQuick/Controls/Fusion/BusyIndicator.qml b/bin/qml/QtQuick/Controls/Fusion/BusyIndicator.qml new file mode 100644 index 000000000..8de02b6ae --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/BusyIndicator.qml @@ -0,0 +1,37 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.BusyIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + + contentItem: BusyIndicatorImpl { + implicitWidth: 28 + implicitHeight: 28 + color: control.palette.text + + running: control.running + opacity: control.running ? 1 : 0 + Behavior on opacity { OpacityAnimator { duration: 250 } } + + RotationAnimator on rotation { + running: control.running && control.contentItem.visible + from: 0 + to: 360 + duration: 1000 + loops: Animation.Infinite + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Button.qml b/bin/qml/QtQuick/Controls/Fusion/Button.qml new file mode 100644 index 000000000..2ee8e1237 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Button.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Button { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 4 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: ButtonPanel { + implicitWidth: 80 + implicitHeight: 24 + + control: control + visible: !control.flat || control.down || control.checked || control.highlighted || control.visualFocus + || (enabled && control.hovered) + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/CheckBox.qml b/bin/qml/QtQuick/Controls/Fusion/CheckBox.qml new file mode 100644 index 000000000..414414804 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/CheckBox.qml @@ -0,0 +1,38 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.CheckBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/CheckDelegate.qml b/bin/qml/QtQuick/Controls/Fusion/CheckDelegate.qml new file mode 100644 index 000000000..f14deaa16 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/CheckDelegate.qml @@ -0,0 +1,53 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.CheckDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + indicator: CheckIndicator { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + control: control + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/ComboBox.qml b/bin/qml/QtQuick/Controls/Fusion/ComboBox.qml new file mode 100644 index 000000000..609f294d6 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ComboBox.qml @@ -0,0 +1,145 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Window +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.ComboBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + + delegate: MenuItem { + required property var model + required property int index + + width: ListView.view.width + text: model[control.textRole] + font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + indicator: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + color: control.editable ? control.palette.text : control.palette.buttonText + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Fusion/images/arrow.png" + width: 20 + fillMode: Image.Pad + } + + contentItem: T.TextField { + topPadding: 4 + leftPadding: 4 - control.padding + rightPadding: 4 - control.padding + bottomPadding: 4 + + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + color: control.editable ? control.palette.text : control.palette.buttonText + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + verticalAlignment: Text.AlignVCenter + + background: PaddedRectangle { + clip: true + radius: 2 + padding: 1 + leftPadding: control.mirrored ? -2 : padding + rightPadding: !control.mirrored ? -2 : padding + color: control.palette.base + visible: control.editable && !control.flat + + Rectangle { + x: parent.width - width + y: 1 + width: 1 + height: parent.height - 2 + color: Fusion.buttonOutline(control.palette, control.activeFocus, control.enabled) + } + + Rectangle { + x: 1 + y: 1 + width: parent.width - 3 + height: 1 + color: Fusion.topShadow + } + } + + Rectangle { + x: 1 - control.leftPadding + y: 1 + width: control.width - 2 + height: control.height - 2 + color: "transparent" + border.color: Color.transparent(Fusion.highlightedOutline(control.palette), 40 / 255) + visible: control.activeFocus + radius: 1.7 + } + } + + background: ButtonPanel { + implicitWidth: 120 + implicitHeight: 24 + + control: control + visible: !control.flat || control.down + // ### TODO: fix control.contentItem.activeFocus + highlighted: control.visualFocus || control.contentItem.activeFocus + } + + popup: T.Popup { + width: control.width + height: Math.min(contentItem.implicitHeight + 2, control.Window.height - topMargin - bottomMargin) + topMargin: 6 + bottomMargin: 6 + padding: 1 + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightRangeMode: ListView.ApplyRange + highlightMoveDuration: 0 + + T.ScrollBar.vertical: ScrollBar { } + } + + background: Rectangle { + color: control.popup.palette.window + border.color: Fusion.outline(control.palette) + + Rectangle { + z: -1 + x: 1; y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/DelayButton.qml b/bin/qml/QtQuick/Controls/Fusion/DelayButton.qml new file mode 100644 index 000000000..8dde74f46 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/DelayButton.qml @@ -0,0 +1,82 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.DelayButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + + transition: Transition { + NumberAnimation { + duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) + } + } + + contentItem: ItemGroup { + ClippedText { + clip: control.progress > 0 + clipX: -control.leftPadding + (control.mirrored ? 0 : control.progress * control.width) + clipWidth: control.width + visible: control.mirrored ? control.progress > 0 : control.progress < 1 + + text: control.text + font: control.font + color: control.mirrored ? control.palette.brightText : control.palette.buttonText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + + ClippedText { + clip: control.progress > 0 + clipX: -control.leftPadding + clipWidth: (control.mirrored ? 1.0 - control.progress : control.progress) * control.width + visible: control.mirrored ? control.progress < 1 : control.progress > 0 + + text: control.text + font: control.font + color: control.mirrored ? control.palette.buttonText : control.palette.brightText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + } + + background: ButtonPanel { + implicitWidth: 80 + implicitHeight: 24 + + control: control + highlighted: false + scale: control.mirrored ? -1 : 1 + + Rectangle { + width: control.progress * parent.width + height: parent.height + + radius: 2 + border.color: Qt.darker(Fusion.highlight(control.palette), 1.4) + gradient: Gradient { + GradientStop { + position: 0 + color: Qt.lighter(Fusion.highlight(control.palette), 1.2) + } + GradientStop { + position: 1 + color: Fusion.highlight(control.palette) + } + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Dial.qml b/bin/qml/QtQuick/Controls/Fusion/Dial.qml new file mode 100644 index 000000000..5d16874f4 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Dial.qml @@ -0,0 +1,41 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Dial { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + background: DialImpl { + implicitWidth: 100 + implicitHeight: 100 + highlight: control.visualFocus + } + + handle: KnobImpl { + x: control.background.x + control.background.width / 2 - width / 2 + y: control.background.y + control.background.height / 2 - height / 2 + width: control.width / 7 + height: control.height / 7 + transform: [ + Translate { + y: -Math.min(control.background.width, control.background.height) * 0.42 + + (control.handle ? control.handle.height / 2 : 0) + }, + Rotation { + angle: control.angle + origin.x: control.handle ? control.handle.width / 2 : 0 + origin.y: control.handle ? control.handle.height / 2 : 0 + } + ] + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Dialog.qml b/bin/qml/QtQuick/Controls/Fusion/Dialog.qml new file mode 100644 index 000000000..f17321bcc --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Dialog.qml @@ -0,0 +1,66 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Dialog { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 6 + + background: Rectangle { + color: control.palette.window + border.color: control.palette.mid + radius: 2 + + Rectangle { + z: -1 + x: 1; y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + radius: 2 + } + } + + header: Label { + text: control.title + visible: control.title + elide: Label.ElideRight + font.bold: true + padding: 6 + background: Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 1 + color: control.palette.window + radius: 2 + } + } + + footer: DialogButtonBox { + visible: count > 0 + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/DialogButtonBox.qml b/bin/qml/QtQuick/Controls/Fusion/DialogButtonBox.qml new file mode 100644 index 000000000..566058fa7 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/DialogButtonBox.qml @@ -0,0 +1,41 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.DialogButtonBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 6 + padding: 6 + alignment: Qt.AlignRight + + delegate: Button { } + + contentItem: ListView { + implicitWidth: contentWidth + model: control.contentModel + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + snapMode: ListView.SnapToItem + } + + background: Rectangle { + implicitHeight: 32 + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + color: control.palette.window + radius: 2 + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Drawer.qml b/bin/qml/QtQuick/Controls/Fusion/Drawer.qml new file mode 100644 index 000000000..713ac0c07 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Drawer.qml @@ -0,0 +1,55 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Drawer { + id: control + + parent: T.Overlay.overlay + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: control.edge === Qt.BottomEdge + leftPadding: control.edge === Qt.RightEdge + rightPadding: control.edge === Qt.LeftEdge + bottomPadding: control.edge === Qt.TopEdge + + enter: Transition { SmoothedAnimation { velocity: 5 } } + exit: Transition { SmoothedAnimation { velocity: 5 } } + + background: Rectangle { + color: control.palette.window + readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge + Rectangle { + width: parent.horizontal ? 1 : parent.width + height: parent.horizontal ? parent.height : 1 + color: control.palette.mid + x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 + y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 + } + Rectangle { + width: parent.horizontal ? 1 : parent.width + height: parent.horizontal ? parent.height : 1 + color: control.palette.shadow + opacity: 0.2 + x: control.edge === Qt.LeftEdge ? parent.width : 0 + y: control.edge === Qt.TopEdge ? parent.height : 0 + } + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Frame.qml b/bin/qml/QtQuick/Controls/Fusion/Frame.qml new file mode 100644 index 000000000..0512639f4 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Frame.qml @@ -0,0 +1,24 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Frame { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 9 + + background: Rectangle { + color: "transparent" + border.color: Qt.lighter(Fusion.outline(control.palette), 1.08) + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/GroupBox.qml b/bin/qml/QtQuick/Controls/Fusion/GroupBox.qml new file mode 100644 index 000000000..5e949dc5c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/GroupBox.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.GroupBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 6 + padding: 9 + topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) + + label: Text { + x: control.leftPadding + width: control.availableWidth + + text: control.title + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: Rectangle { + y: control.topPadding - control.bottomPadding + width: parent.width + height: parent.height - control.topPadding + control.bottomPadding + + radius: 2 + color: Color.transparent("black", 3 / 255) + border.color: Qt.lighter(Fusion.outline(control.palette), 1.08) + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/HorizontalHeaderView.qml b/bin/qml/QtQuick/Controls/Fusion/HorizontalHeaderView.qml new file mode 100644 index 000000000..dbea743ac --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/HorizontalHeaderView.qml @@ -0,0 +1,53 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Fusion.impl + +T.HorizontalHeaderView { + id: control + + implicitWidth: syncView ? syncView.width : 0 + // The contentHeight of TableView will be zero at start-up, until the delegate + // items have been loaded. This means that even if the implicit height of + // HorizontalHeaderView should be the same as the content height in the end, we + // need to ensure that it has at least a height of 1 at start-up, otherwise + // TableView won't bother loading any delegates at all. + implicitHeight: Math.max(1, contentHeight) + + delegate: Rectangle { + id: delegate + + required property var model + + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: text.implicitWidth + (cellPadding * 2) + implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) + + gradient: Gradient { + id: buttonGradient + GradientStop { + position: 0 + color: Fusion.gradientStart(control.palette.button) + } + GradientStop { + position: 1 + color: Fusion.gradientStop(control.palette.button) + } + } + + Label { + id: text + text: delegate.model[control.textRole] + width: delegate.width + height: delegate.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/ItemDelegate.qml b/bin/qml/QtQuick/Controls/Fusion/ItemDelegate.qml new file mode 100644 index 000000000..5a3e9c45e --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ItemDelegate.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.ItemDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Label.qml b/bin/qml/QtQuick/Controls/Fusion/Label.qml new file mode 100644 index 000000000..9a715d9ed --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Label.qml @@ -0,0 +1,15 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Label { + id: control + + color: control.palette.windowText + linkColor: control.palette.link +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Menu.qml b/bin/qml/QtQuick/Controls/Fusion/Menu.qml new file mode 100644 index 000000000..bfd1feddb --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Menu.qml @@ -0,0 +1,61 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl +import QtQuick.Window + +T.Menu { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 0 + padding: 1 + overlap: 2 + + delegate: MenuItem { } + + contentItem: ListView { + implicitHeight: contentHeight + model: control.contentModel + interactive: Window.window + ? contentHeight + control.topPadding + control.bottomPadding > control.height + : false + clip: true + currentIndex: control.currentIndex + + ScrollIndicator.vertical: ScrollIndicator {} + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 20 + + color: control.palette.base + border.color: Fusion.outline(control.palette) + + Rectangle { + z: -1 + x: 1; y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + } + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/MenuBar.qml b/bin/qml/QtQuick/Controls/Fusion/MenuBar.qml new file mode 100644 index 000000000..6e039d8a3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/MenuBar.qml @@ -0,0 +1,40 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.MenuBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + delegate: MenuBarItem { } + + contentItem: Row { + spacing: control.spacing + Repeater { + model: control.contentModel + } + } + + background: Rectangle { + implicitHeight: 20 + + color: control.palette.window + + Rectangle { + y: parent.height - height + width: parent.width + height: 1 + color: Fusion.mergedColors(Qt.darker(control.palette.window, 1.2), + Qt.lighter(Fusion.outline(control.palette), 1.4), 60) + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/MenuBarItem.qml b/bin/qml/QtQuick/Controls/Fusion/MenuBarItem.qml new file mode 100644 index 000000000..299c34416 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/MenuBarItem.qml @@ -0,0 +1,44 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.MenuBarItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.down || control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + background: Rectangle { + implicitWidth: 20 + implicitHeight: 20 + + color: Fusion.highlight(control.palette) + visible: control.down || control.highlighted + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/MenuItem.qml b/bin/qml/QtQuick/Controls/Fusion/MenuItem.qml new file mode 100644 index 000000000..ce701b74f --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/MenuItem.qml @@ -0,0 +1,69 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.MenuItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 + readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 + leftPadding: !control.mirrored ? indicatorPadding : arrowPadding + rightPadding: control.mirrored ? indicatorPadding : arrowPadding + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.down || control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + arrow: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + width: 20 + + visible: control.subMenu + rotation: control.mirrored ? 90 : -90 + color: control.down || control.hovered || control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Fusion/images/arrow.png" + fillMode: Image.Pad + } + + indicator: CheckIndicator { + x: control.mirrored ? control.width - width - control.rightPadding : control.leftPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + control: control + visible: control.checkable + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 20 + + color: Fusion.highlight(control.palette) + visible: control.down || control.highlighted + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/MenuSeparator.qml b/bin/qml/QtQuick/Controls/Fusion/MenuSeparator.qml new file mode 100644 index 000000000..b27dcf4a5 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/MenuSeparator.qml @@ -0,0 +1,26 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.MenuSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 5 + verticalPadding: 1 + + contentItem: Rectangle { + implicitWidth: 188 + implicitHeight: 1 + color: Qt.lighter(Fusion.darkShade, 1.06) + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Page.qml b/bin/qml/QtQuick/Controls/Fusion/Page.qml new file mode 100644 index 000000000..65a752318 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Page.qml @@ -0,0 +1,25 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Page { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + background: Rectangle { + color: control.palette.window + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/PageIndicator.qml b/bin/qml/QtQuick/Controls/Fusion/PageIndicator.qml new file mode 100644 index 000000000..c6f235a9d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/PageIndicator.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.PageIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 4 + spacing: 4 + + delegate: Rectangle { + implicitWidth: 6 + implicitHeight: 6 + + radius: width / 2 + color: control.palette.shadow + + opacity: index === currentIndex ? 0.95 : pressed ? 0.75 : 0.45 + + required property int index + + Behavior on opacity { OpacityAnimator { duration: 100 } } + } + + contentItem: Row { + spacing: control.spacing + + Repeater { + model: control.count + delegate: control.delegate + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Pane.qml b/bin/qml/QtQuick/Controls/Fusion/Pane.qml new file mode 100644 index 000000000..366c2fffe --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Pane.qml @@ -0,0 +1,23 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Pane { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 9 + + background: Rectangle { + color: control.palette.window + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Popup.qml b/bin/qml/QtQuick/Controls/Fusion/Popup.qml new file mode 100644 index 000000000..d669b5e75 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Popup.qml @@ -0,0 +1,33 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Popup { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 6 + + background: Rectangle { + color: control.palette.window + border.color: control.palette.mid + radius: 2 + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/ProgressBar.qml b/bin/qml/QtQuick/Controls/Fusion/ProgressBar.qml new file mode 100644 index 000000000..c05f1898d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ProgressBar.qml @@ -0,0 +1,83 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.ProgressBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: Item { + implicitWidth: 120 + implicitHeight: 24 + scale: control.mirrored ? -1 : 1 + + Rectangle { + height: parent.height + width: (control.indeterminate ? 1.0 : control.position) * parent.width + + radius: 2 + border.color: Qt.darker(Fusion.highlight(control.palette), 1.4) + gradient: Gradient { + GradientStop { + position: 0 + color: Qt.lighter(Fusion.highlight(control.palette), 1.2) + } + GradientStop { + position: 1 + color: Fusion.highlight(control.palette) + } + } + } + + Item { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + visible: control.indeterminate + clip: true + + ColorImage { + width: Math.ceil(parent.width / implicitWidth + 1) * implicitWidth + height: parent.height + + mirror: control.mirrored + fillMode: Image.TileHorizontally + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Fusion/images/progressmask.png" + color: Color.transparent(Qt.lighter(Fusion.highlight(control.palette), 1.2), 160 / 255) + + visible: control.indeterminate + NumberAnimation on x { + running: control.indeterminate && control.visible + from: -31 // progressmask.png width + to: 0 + loops: Animation.Infinite + duration: 750 + } + } + } + } + + background: Rectangle { + implicitWidth: 120 + implicitHeight: 24 + + radius: 2 + color: control.palette.base + border.color: Fusion.outline(control.palette) + + Rectangle { + x: 1; y: 1; height: 1 + width: parent.width - 2 + color: Fusion.topShadow + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/RadioButton.qml b/bin/qml/QtQuick/Controls/Fusion/RadioButton.qml new file mode 100644 index 000000000..2553679bc --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/RadioButton.qml @@ -0,0 +1,38 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.RadioButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + indicator: RadioIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/RadioDelegate.qml b/bin/qml/QtQuick/Controls/Fusion/RadioDelegate.qml new file mode 100644 index 000000000..f99cf81d2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/RadioDelegate.qml @@ -0,0 +1,53 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.RadioDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + indicator: RadioIndicator { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + control: control + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/RangeSlider.qml b/bin/qml/QtQuick/Controls/Fusion/RangeSlider.qml new file mode 100644 index 000000000..b9052c04e --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/RangeSlider.qml @@ -0,0 +1,48 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.RangeSlider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + Math.max(first.implicitHandleWidth, + second.implicitHandleWidth) + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + Math.max(first.implicitHandleHeight, + second.implicitHandleHeight) + topPadding + bottomPadding) + + first.handle: SliderHandle { + x: control.leftPadding + Math.round(control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + Math.round(control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) + + palette: control.palette + pressed: control.first.pressed + hovered: control.first.hovered + vertical: control.vertical + visualFocus: activeFocus + } + + second.handle: SliderHandle { + x: control.leftPadding + Math.round(control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + Math.round(control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) + + palette: control.palette + pressed: control.second.pressed + hovered: control.second.hovered + vertical: control.vertical + visualFocus: activeFocus + } + + background: SliderGroove { + control: control + offset: control.first.position + progress: control.second.position + visualProgress: control.second.visualPosition + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/RoundButton.qml b/bin/qml/QtQuick/Controls/Fusion/RoundButton.qml new file mode 100644 index 000000000..1952e2cca --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/RoundButton.qml @@ -0,0 +1,67 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.RoundButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: Rectangle { + implicitWidth: 32 + implicitHeight: 32 + visible: !control.flat || control.down || control.checked + + gradient: Gradient { + GradientStop { + position: 0 + color: control.down || control.checked + ? Fusion.buttonColor(control.palette, control.highlighted, control.down || control.checked, control.enabled && control.hovered) + : Fusion.gradientStart(Fusion.buttonColor(control.palette, control.highlighted, control.down, control.enabled && control.hovered)) + } + GradientStop { + position: 1 + color: control.down || control.checked + ? Fusion.buttonColor(control.palette, control.highlighted, control.down || control.checked, control.enabled && control.hovered) + : Fusion.gradientStop(Fusion.buttonColor(control.palette, control.highlighted, control.down, control.enabled && control.hovered)) + } + } + + radius: control.radius + border.color: Fusion.buttonOutline(control.palette, control.highlighted || control.visualFocus, control.enabled) + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + border.color: Fusion.innerContrastLine + color: "transparent" + radius: control.radius + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/ScrollBar.qml b/bin/qml/QtQuick/Controls/Fusion/ScrollBar.qml new file mode 100644 index 000000000..616050df6 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ScrollBar.qml @@ -0,0 +1,44 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.ScrollBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + visible: control.policy !== T.ScrollBar.AlwaysOff + minimumSize: orientation === Qt.Horizontal ? height / width : width / height + + contentItem: Rectangle { + implicitWidth: control.interactive ? 6 : 2 + implicitHeight: control.interactive ? 6 : 2 + + radius: width / 2 + color: control.pressed ? control.palette.dark : control.palette.mid + opacity: 0.0 + + states: State { + name: "active" + when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) + PropertyChanges { control.contentItem.opacity: 0.75 } + } + + transitions: Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 450 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/ScrollIndicator.qml b/bin/qml/QtQuick/Controls/Fusion/ScrollIndicator.qml new file mode 100644 index 000000000..a324c049e --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ScrollIndicator.qml @@ -0,0 +1,44 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.ScrollIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + + contentItem: Rectangle { + implicitWidth: 2 + implicitHeight: 2 + + color: control.palette.mid + visible: control.size < 1.0 + opacity: 0.0 + + states: State { + name: "active" + when: control.active + PropertyChanges { control.contentItem.opacity: 0.75 } + } + + transitions: [ + Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 450 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } + } + } + ] + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/ScrollView.qml b/bin/qml/QtQuick/Controls/Fusion/ScrollView.qml new file mode 100644 index 000000000..60789313c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ScrollView.qml @@ -0,0 +1,31 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ScrollView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + ScrollBar.vertical: ScrollBar { + parent: control + x: control.mirrored ? 0 : control.width - width + y: control.topPadding + height: control.availableHeight + active: control.ScrollBar.horizontal.active + } + + ScrollBar.horizontal: ScrollBar { + parent: control + x: control.leftPadding + y: control.height - height + width: control.availableWidth + active: control.ScrollBar.vertical.active + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/SelectionRectangle.qml b/bin/qml/QtQuick/Controls/Fusion/SelectionRectangle.qml new file mode 100644 index 000000000..762fec30c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/SelectionRectangle.qml @@ -0,0 +1,30 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.SelectionRectangle { + id: control + + topLeftHandle: Item { + width: 20 + height: 20 + visible: SelectionRectangle.control.active + // This item is deliberately empty. Selection handles don't feel at home + // for this style. But we provide an invisible handle that the user can + // drag on. + } + + bottomRightHandle: Item { + width: 20 + height: 20 + visible: SelectionRectangle.control.active + // This item is deliberately empty. Selection handles don't feel at home + // for this style. But we provide an invisible handle that the user can + // drag on. + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Slider.qml b/bin/qml/QtQuick/Controls/Fusion/Slider.qml new file mode 100644 index 000000000..c78dbed46 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Slider.qml @@ -0,0 +1,34 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding) + + handle: SliderHandle { + x: control.leftPadding + Math.round(control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + Math.round(control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) + + palette: control.palette + pressed: control.pressed + hovered: control.hovered + vertical: control.vertical + visualFocus: control.visualFocus + } + + background: SliderGroove { + control: control + progress: control.position + visualProgress: control.visualPosition + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/SpinBox.qml b/bin/qml/QtQuick/Controls/Fusion/SpinBox.qml new file mode 100644 index 000000000..1e7d05d7c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/SpinBox.qml @@ -0,0 +1,147 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.SpinBox { + id: control + + // Note: the width of the indicators are calculated into the padding + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + up.implicitIndicatorHeight + down.implicitIndicatorHeight) + + padding: 4 + leftPadding: padding + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : 0) + rightPadding: padding + (!control.mirrored ? (up.indicator ? up.indicator.width : 0) : 0) + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + z: 2 + text: control.displayText + + font: control.font + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignVCenter + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + clip: width < implicitWidth + } + + up.indicator: PaddedRectangle { + x: control.mirrored ? 1 : control.width - width - 1 + y: 1 + height: control.height / 2 - 1 + implicitWidth: 16 + implicitHeight: 10 + + radius: 1.7 + clip: true + topPadding: -2 + leftPadding: -2 + color: control.up.pressed ? Fusion.buttonColor(control.palette, false, true, true) : "transparent" + + ColorImage { + scale: -1 + width: parent.width + height: parent.height + opacity: enabled ? 1.0 : 0.5 + color: control.palette.buttonText + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Fusion/images/arrow.png" + fillMode: Image.Pad + } + } + + down.indicator: PaddedRectangle { + x: control.mirrored ? 1 : control.width - width - 1 + y: control.height - height - 1 + height: control.height / 2 - 1 + implicitWidth: 16 + implicitHeight: 10 + + radius: 1.7 + clip: true + topPadding: -2 + leftPadding: -2 + color: control.down.pressed ? Fusion.buttonColor(control.palette, false, true, true) : "transparent" + + ColorImage { + width: parent.width + height: parent.height + opacity: enabled ? 1.0 : 0.5 + color: control.palette.buttonText + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Fusion/images/arrow.png" + fillMode: Image.Pad + } + } + + background: Rectangle { + implicitWidth: 120 + implicitHeight: 24 + + radius: 2 + color: control.palette.base + border.color: control.activeFocus ? Fusion.highlightedOutline(control.palette) : Fusion.outline(control.palette) + + Rectangle { + x: 2 + y: 1 + width: parent.width - 4 + height: 1 + color: Fusion.topShadow + } + + Rectangle { + x: control.mirrored ? 1 : parent.width - width - 1 + y: 1 + width: Math.max(control.up.indicator ? control.up.indicator.width : 0, + control.down.indicator ? control.down.indicator.width : 0) + 1 + height: parent.height - 2 + + radius: 2 + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.gradientStart(Fusion.buttonColor(control.palette, control.visualFocus, false, control.up.hovered || control.down.hovered)) + } + GradientStop { + position: 1 + color: Fusion.gradientStop(Fusion.buttonColor(control.palette, control.visualFocus, false, control.up.hovered || control.down.hovered)) + } + } + + Rectangle { + x: control.mirrored ? parent.width - 1 : 0 + height: parent.height + width: 1 + color: Fusion.outline(control.palette) + } + } + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + color: "transparent" + border.color: Color.transparent(Fusion.highlightedOutline(control.palette), 40 / 255) + visible: control.activeFocus + radius: 1.7 + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/SplitView.qml b/bin/qml/QtQuick/Controls/Fusion/SplitView.qml new file mode 100644 index 000000000..1046d800e --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/SplitView.qml @@ -0,0 +1,22 @@ +// Copyright (C) 2018 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion + +T.SplitView { + id: control + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + handle: Rectangle { + implicitWidth: control.orientation === Qt.Horizontal ? 2 : control.width + implicitHeight: control.orientation === Qt.Horizontal ? control.height : 2 + color: T.SplitHandle.pressed ? control.palette.dark + : (enabled && T.SplitHandle.hovered ? control.palette.midlight : control.palette.mid) + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/SwipeDelegate.qml b/bin/qml/QtQuick/Controls/Fusion/SwipeDelegate.qml new file mode 100644 index 000000000..1c47433bb --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/SwipeDelegate.qml @@ -0,0 +1,45 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.SwipeDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Switch.qml b/bin/qml/QtQuick/Controls/Fusion/Switch.qml new file mode 100644 index 000000000..3965b29c3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Switch.qml @@ -0,0 +1,38 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Switch { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.text + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/SwitchDelegate.qml b/bin/qml/QtQuick/Controls/Fusion/SwitchDelegate.qml new file mode 100644 index 000000000..b7c4278c7 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/SwitchDelegate.qml @@ -0,0 +1,52 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.SwitchDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/TabBar.qml b/bin/qml/QtQuick/Controls/Fusion/TabBar.qml new file mode 100644 index 000000000..275bcf5a2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/TabBar.qml @@ -0,0 +1,46 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.TabBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: -1 + + contentItem: ListView { + model: control.contentModel + currentIndex: control.currentIndex + + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + flickableDirection: Flickable.AutoFlickIfNeeded + snapMode: ListView.SnapToItem + + highlightMoveDuration: 0 + highlightRangeMode: ListView.ApplyRange + preferredHighlightBegin: 40 + preferredHighlightEnd: width - 40 + } + + background: Item { + implicitHeight: 21 + + Rectangle { + width: parent.width + height: 1 + y: control.position === T.TabBar.Header ? parent.height - 1 : 0 + color: Fusion.outline(control.palette) + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/TabButton.qml b/bin/qml/QtQuick/Controls/Fusion/TabButton.qml new file mode 100644 index 000000000..088a6e452 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/TabButton.qml @@ -0,0 +1,70 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.TabButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + horizontalPadding: 4 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + z: checked + + topInset: control.checked || control.TabBar.position !== T.TabBar.Header ? 0 : 2 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + + background: Rectangle { + implicitHeight: 19 + + // TODO: Find out why the following binding fails to update the first tab button + // See QTBUG-108807 + // y: control.checked || control.TabBar.position !== T.TabBar.Header ? 0 : 2 + // implicitHeight: 21 + // height: control.height - (control.checked ? 0 : 2) + + border.color: Qt.lighter(Fusion.outline(control.palette), 1.1) + + gradient: Gradient { + GradientStop { + position: 0 + color: control.checked ? Qt.lighter(Fusion.tabFrameColor(control.palette), 1.04) + : Qt.darker(Fusion.tabFrameColor(control.palette), 1.08) + } + GradientStop { + position: control.checked ? 0 : 0.85 + color: control.checked ? Qt.lighter(Fusion.tabFrameColor(control.palette), 1.04) + : Qt.darker(Fusion.tabFrameColor(control.palette), 1.08) + } + GradientStop { + position: 1 + color: control.checked ? Fusion.tabFrameColor(control.palette) + : Qt.darker(Fusion.tabFrameColor(control.palette), 1.16) + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/TextArea.qml b/bin/qml/QtQuick/Controls/Fusion/TextArea.qml new file mode 100644 index 000000000..5e1ecfa90 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/TextArea.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset, + placeholder.implicitHeight + topPadding + bottomPadding) + + padding: 6 + leftPadding: padding + 4 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + placeholderTextColor: control.palette.placeholderText + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/TextField.qml b/bin/qml/QtQuick/Controls/Fusion/TextField.qml new file mode 100644 index 000000000..b358c668d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/TextField.qml @@ -0,0 +1,69 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.TextField { + id: control + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding, + placeholder.implicitHeight + topPadding + bottomPadding) + + padding: 4 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + placeholderTextColor: control.palette.placeholderText + verticalAlignment: TextInput.AlignVCenter + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } + + background: Rectangle { + implicitWidth: 120 + implicitHeight: 24 + + radius: 2 + color: control.palette.base + border.color: control.activeFocus ? Fusion.highlightedOutline(control.palette) : Fusion.outline(control.palette) + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + color: "transparent" + border.color: Color.transparent(Fusion.highlightedOutline(control.palette), 40 / 255) + visible: control.activeFocus + radius: 1.7 + } + + Rectangle { + x: 2 + y: 1 + width: parent.width - 4 + height: 1 + color: Fusion.topShadow + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/ToolBar.qml b/bin/qml/QtQuick/Controls/Fusion/ToolBar.qml new file mode 100644 index 000000000..13b269e9d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ToolBar.qml @@ -0,0 +1,49 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.ToolBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + horizontalPadding: 6 + topPadding: control.position === T.ToolBar.Footer ? 1 : 0 + bottomPadding: control.position === T.ToolBar.Header ? 1 : 0 + + background: Rectangle { + implicitHeight: 26 + + gradient: Gradient { + GradientStop { + position: 0 + color: Qt.lighter(control.palette.window, 1.04) + } + GradientStop { + position: 1 + color: control.palette.window + } + } + + Rectangle { + width: parent.width + height: 1 + color: control.position === T.ToolBar.Header ? Fusion.lightShade : Fusion.darkShade + } + + Rectangle { + y: parent.height - height + width: parent.width + height: 1 + color: control.position === T.ToolBar.Header ? Fusion.darkShade : Fusion.lightShade + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/ToolButton.qml b/bin/qml/QtQuick/Controls/Fusion/ToolButton.qml new file mode 100644 index 000000000..dd9b62826 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ToolButton.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.ToolButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 16 + icon.height: 16 + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: ButtonPanel { + implicitWidth: 20 + implicitHeight: 20 + + control: control + visible: control.down || control.checked || control.highlighted || control.visualFocus + || (enabled && control.hovered) + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/ToolSeparator.qml b/bin/qml/QtQuick/Controls/Fusion/ToolSeparator.qml new file mode 100644 index 000000000..569ee66ec --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ToolSeparator.qml @@ -0,0 +1,33 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.ToolSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: vertical ? 6 : 2 + verticalPadding: vertical ? 2 : 6 + + contentItem: Rectangle { + implicitWidth: control.vertical ? 2 : 8 + implicitHeight: control.vertical ? 8 : 2 + color: Qt.darker(control.palette.window, 1.1) + + Rectangle { + x: 1 + width: 1 + height: parent.height + color: Qt.lighter(control.palette.window, 1.1) + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/ToolTip.qml b/bin/qml/QtQuick/Controls/Fusion/ToolTip.qml new file mode 100644 index 000000000..5166d2b8b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/ToolTip.qml @@ -0,0 +1,46 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.ToolTip { + id: control + + x: parent ? (parent.width - implicitWidth) / 2 : 0 + y: -implicitHeight - 3 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 6 + padding: 6 + + closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent + + contentItem: Text { + text: control.text + font: control.font + wrapMode: Text.Wrap + color: control.palette.toolTipText + } + + background: Rectangle { + color: control.palette.toolTipBase + border.color: control.palette.toolTipText + + Rectangle { + z: -1 + x: 1; y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.5 + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/TreeViewDelegate.qml b/bin/qml/QtQuick/Controls/Fusion/TreeViewDelegate.qml new file mode 100644 index 000000000..195693614 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/TreeViewDelegate.qml @@ -0,0 +1,99 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion + +T.TreeViewDelegate { + id: control + + implicitWidth: leftMargin + __contentIndent + implicitContentWidth + rightPadding + rightMargin + implicitHeight: Math.max(implicitBackgroundHeight, implicitContentHeight, implicitIndicatorHeight) + + indentation: indicator ? indicator.width : 12 + leftMargin: 5 + rightMargin: 5 + spacing: 5 + + topPadding: contentItem ? (height - contentItem.implicitHeight) / 2 : 0 + leftPadding: !mirrored ? leftMargin + __contentIndent : width - leftMargin - __contentIndent - implicitContentWidth + + highlighted: control.selected || control.current + || ((control.treeView.selectionBehavior === TableView.SelectRows + || control.treeView.selectionBehavior === TableView.SelectionDisabled) + && control.row === control.treeView.currentRow) + + required property int row + required property var model + readonly property real __contentIndent: !isTreeNode ? 0 : (depth * indentation) + (indicator ? indicator.width + spacing : 0) + + indicator: Item { + readonly property real __indicatorIndent: control.leftMargin + (control.depth * control.indentation) + x: !control.mirrored ? __indicatorIndent : control.width - __indicatorIndent - width + y: (control.height - height) / 2 + implicitWidth: Math.max(arrow.implicitWidth, 20) + implicitHeight: 24 // same as Button.qml + + property ColorImage arrow : ColorImage { + parent: control.indicator + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + rotation: control.expanded ? 0 : (control.mirrored ? 90 : -90) + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Fusion/images/arrow.png" + color: control.palette.windowText + defaultColor: "#353637" + } + } + + background: Rectangle { + implicitHeight: 24 // same as Button.qml + color: control.highlighted + ? control.palette.highlight + : (control.treeView.alternatingRows && control.row % 2 !== 0 + ? control.palette.alternateBase : control.palette.base) + } + + contentItem: Label { + text: control.model.display + elide: Text.ElideRight + visible: !control.editing + } + + // The edit delegate is a separate component, and doesn't need + // to follow the same strict rules that are applied to a control. + // qmllint disable attached-property-reuse + // qmllint disable controls-attached-property-reuse + // qmllint disable controls-sanity + TableView.editDelegate: FocusScope { + width: parent.width + height: parent.height + + readonly property int __role: { + let model = control.treeView.model + let index = control.treeView.index(row, column) + let editText = model.data(index, Qt.EditRole) + return editText !== undefined ? Qt.EditRole : Qt.DisplayRole + } + + TextField { + id: textField + x: control.contentItem.x + y: (parent.height - height) / 2 + width: control.contentItem.width + text: control.treeView.model.data(control.treeView.index(row, column), __role) + focus: true + } + + TableView.onCommit: { + let index = TableView.view.index(row, column) + TableView.view.model.setData(index, textField.text, __role) + } + + Component.onCompleted: textField.selectAll() + } + // qmllint enable attached-property-reuse + // qmllint enable controls-attached-property-reuse + // qmllint enable controls-sanity +} diff --git a/bin/qml/QtQuick/Controls/Fusion/Tumbler.qml b/bin/qml/QtQuick/Controls/Fusion/Tumbler.qml new file mode 100644 index 000000000..447765dce --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/Tumbler.qml @@ -0,0 +1,46 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +T.Tumbler { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + delegate: Text { + text: modelData + color: control.palette.windowText + font: control.font + opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + + required property var modelData + required property int index + } + + contentItem: TumblerView { + implicitWidth: 60 + implicitHeight: 200 + model: control.model + delegate: control.delegate + path: Path { + startX: control.contentItem.width / 2 + startY: -control.contentItem.delegateHeight / 2 + PathLine { + x: control.contentItem.width / 2 + y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 + } + } + + property real delegateHeight: control.availableHeight / control.visibleItemCount + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/VerticalHeaderView.qml b/bin/qml/QtQuick/Controls/Fusion/VerticalHeaderView.qml new file mode 100644 index 000000000..c2cb281a2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/VerticalHeaderView.qml @@ -0,0 +1,52 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Fusion.impl + +T.VerticalHeaderView { + id: control + + // The contentWidth of TableView will be zero at start-up, until the delegate + // items have been loaded. This means that even if the implicit width of + // VerticalHeaderView should be the same as the content width in the end, we + // need to ensure that it has at least a width of 1 at start-up, otherwise + // TableView won't bother loading any delegates at all. + implicitWidth: Math.max(1, contentWidth) + implicitHeight: syncView ? syncView.height : 0 + + delegate: Rectangle { + id: delegate + + required property var model + + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) + implicitHeight: text.implicitHeight + (cellPadding * 2) + + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.gradientStart(control.palette.button) + } + GradientStop { + position: 1 + color: Fusion.gradientStop(control.palette.button) + } + } + + Label { + id: text + text: delegate.model[control.textRole] + width: delegate.width + height: delegate.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/impl/ButtonPanel.qml b/bin/qml/QtQuick/Controls/Fusion/impl/ButtonPanel.qml new file mode 100644 index 000000000..b7fa6a7a8 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/impl/ButtonPanel.qml @@ -0,0 +1,46 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +Rectangle { + id: panel + + property Item control + property bool highlighted: control.highlighted + + visible: !control.flat || control.down || control.checked + + color: Fusion.buttonColor(control.palette, panel.highlighted, control.down || control.checked, + enabled && control.hovered) + gradient: control.down || control.checked ? null : buttonGradient + + Gradient { + id: buttonGradient + GradientStop { + position: 0 + color: Fusion.gradientStart(Fusion.buttonColor(panel.control.palette, panel.highlighted, + panel.control.down, panel.enabled && panel.control.hovered)) + } + GradientStop { + position: 1 + color: Fusion.gradientStop(Fusion.buttonColor(panel.control.palette, panel.highlighted, + panel.control.down, panel.enabled && panel.control.hovered)) + } + } + + radius: 2 + border.color: Fusion.buttonOutline(control.palette, panel.highlighted || control.visualFocus, control.enabled) + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + border.color: Fusion.innerContrastLine + color: "transparent" + radius: 2 + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/impl/CheckIndicator.qml b/bin/qml/QtQuick/Controls/Fusion/impl/CheckIndicator.qml new file mode 100644 index 000000000..58de99654 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/impl/CheckIndicator.qml @@ -0,0 +1,58 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +Rectangle { + id: indicator + + property Item control + readonly property color pressedColor: Fusion.mergedColors(control.palette.base, control.palette.windowText, 85) + readonly property color checkMarkColor: Qt.darker(control.palette.text, 1.2) + + implicitWidth: 14 + implicitHeight: 14 + + color: control.down ? indicator.pressedColor : control.palette.base + border.color: control.visualFocus ? Fusion.highlightedOutline(control.palette) + : Qt.lighter(Fusion.outline(control.palette), 1.1) + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: 1 + color: Fusion.topShadow + visible: indicator.control.enabled && !indicator.control.down + } + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + color: Color.transparent(indicator.checkMarkColor, 210 / 255) + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Fusion/images/checkmark.png" + visible: indicator.control.checkState === Qt.Checked || (indicator.control.checked && indicator.control.checkState === undefined) + } + + Rectangle { + x: 3; y: 3 + width: parent.width - 6 + height: parent.width - 6 + + visible: indicator.control.checkState === Qt.PartiallyChecked + + gradient: Gradient { + GradientStop { + position: 0 + color: Color.transparent(indicator.checkMarkColor, 80 / 255) + } + GradientStop { + position: 1 + color: Color.transparent(indicator.checkMarkColor, 140 / 255) + } + } + border.color: Color.transparent(indicator.checkMarkColor, 180 / 255) + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/impl/RadioIndicator.qml b/bin/qml/QtQuick/Controls/Fusion/impl/RadioIndicator.qml new file mode 100644 index 000000000..0949b904a --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/impl/RadioIndicator.qml @@ -0,0 +1,44 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +Rectangle { + id: indicator + + property Item control + readonly property color pressedColor: Fusion.mergedColors(control.palette.base, control.palette.windowText, 85) + readonly property color checkMarkColor: Qt.darker(control.palette.text, 1.2) + + implicitWidth: 14 + implicitHeight: 14 + + radius: width / 2 + color: control.down ? indicator.pressedColor : control.palette.base + border.color: control.visualFocus ? Fusion.highlightedOutline(control.palette) + : Qt.darker(control.palette.window, 1.5) + + Rectangle { + y: 1 + width: parent.width + height: parent.height - 1 + radius: width / 2 + color: "transparent" + border.color: Fusion.topShadow + visible: indicator.control.enabled && !indicator.control.down + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: parent.width / 2.32 + height: parent.height / 2.32 + radius: width / 2 + color: Color.transparent(indicator.checkMarkColor, 180 / 255) + border.color: Color.transparent(indicator.checkMarkColor, 200 / 255) + visible: indicator.control.checked + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/impl/SliderGroove.qml b/bin/qml/QtQuick/Controls/Fusion/impl/SliderGroove.qml new file mode 100644 index 000000000..8cfdd836b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/impl/SliderGroove.qml @@ -0,0 +1,60 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +Rectangle { + id: groove + + property Item control + property real offset + property real progress + property real visualProgress + + x: control.horizontal ? 0 : (control.availableWidth - width) / 2 + y: control.horizontal ? (control.availableHeight - height) / 2 : 0 + + implicitWidth: control.horizontal ? 160 : 5 + implicitHeight: control.horizontal ? 5 : 160 + width: control.horizontal ? control.availableWidth : implicitWidth + height: control.horizontal ? implicitHeight : control.availableHeight + + radius: 2 + border.color: Fusion.outline(control.palette) + scale: control.horizontal && control.mirrored ? -1 : 1 + + gradient: Gradient { + GradientStop { + position: 0 + color: Qt.darker(Fusion.grooveColor(groove.control.palette), 1.1) + } + GradientStop { + position: 1 + color: Qt.lighter(Fusion.grooveColor(groove.control.palette), 1.1) + } + } + + Rectangle { + x: groove.control.horizontal ? groove.offset * parent.width : 0 + y: groove.control.horizontal ? 0 : groove.visualProgress * parent.height + width: groove.control.horizontal ? groove.progress * parent.width - groove.offset * parent.width : 5 + height: groove.control.horizontal ? 5 : groove.progress * parent.height - groove.offset * parent.height + + radius: 2 + border.color: Qt.darker(Fusion.highlightedOutline(groove.control.palette), 1.1) + + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.highlight(groove.control.palette) + } + GradientStop { + position: 1 + color: Qt.lighter(Fusion.highlight(groove.control.palette), 1.2) + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/impl/SliderHandle.qml b/bin/qml/QtQuick/Controls/Fusion/impl/SliderHandle.qml new file mode 100644 index 000000000..e12d4c0bb --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/impl/SliderHandle.qml @@ -0,0 +1,54 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +Rectangle { + id: handle + + property var palette + property bool pressed + property bool hovered + property bool vertical + property bool visualFocus + + implicitWidth: 13 + implicitHeight: 13 + + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.gradientStart(Fusion.buttonColor(handle.palette, handle.visualFocus, + handle.pressed, handle.enabled && handle.hovered)) + } + GradientStop { + position: 1 + color: Fusion.gradientStop(Fusion.buttonColor(handle.palette, handle.visualFocus, + handle.pressed, handle.enabled && handle.hovered)) + } + } + rotation: handle.vertical ? -90 : 0 + border.width: 1 + border.color: "transparent" + radius: 2 + + Rectangle { + width: parent.width + height: parent.height + border.color: handle.visualFocus ? Fusion.highlightedOutline(handle.palette) : Fusion.outline(handle.palette) + color: "transparent" + radius: 2 + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + border.color: Fusion.innerContrastLine + color: "transparent" + radius: 2 + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/impl/SwitchIndicator.qml b/bin/qml/QtQuick/Controls/Fusion/impl/SwitchIndicator.qml new file mode 100644 index 000000000..8bc923822 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/impl/SwitchIndicator.qml @@ -0,0 +1,106 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl + +Rectangle { + id: indicator + + property T.AbstractButton control + readonly property color pressedColor: Fusion.mergedColors(control.palette.base, control.palette.windowText, 85) + readonly property color checkMarkColor: Qt.darker(control.palette.text, 1.2) + + implicitWidth: 40 + implicitHeight: 16 + + radius: 2 + border.color: Fusion.outline(control.palette) + + gradient: Gradient { + GradientStop { + position: 0 + color: Qt.darker(Fusion.grooveColor(indicator.control.palette), 1.1) + } + GradientStop { + position: 1 + color: Qt.lighter(Fusion.grooveColor(indicator.control.palette), 1.1) + } + } + + Rectangle { + x: indicator.control.mirrored ? handle.x : 0 + width: indicator.control.mirrored ? parent.width - handle.x : handle.x + handle.width + height: parent.height + + opacity: indicator.control.checked ? 1 : 0 + Behavior on opacity { + enabled: !indicator.control.down + NumberAnimation { duration: 80 } + } + + radius: 2 + border.color: Qt.darker(Fusion.highlightedOutline(indicator.control.palette), 1.1) + border.width: indicator.control.enabled ? 1 : 0 + + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.highlight(indicator.control.palette) + } + GradientStop { + position: 1 + color: Qt.lighter(Fusion.highlight(indicator.control.palette), 1.2) + } + } + } + + Rectangle { + id: handle + x: Math.max(0, Math.min(parent.width - width, indicator.control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + width: 20 + height: 16 + radius: 2 + + gradient: Gradient { + GradientStop { + position: 0 + color: Fusion.gradientStart(Fusion.buttonColor(indicator.control.palette, + indicator.control.visualFocus, indicator.control.pressed, indicator.enabled && indicator.control.hovered)) + } + GradientStop { + position: 1 + color: Fusion.gradientStop(Fusion.buttonColor(indicator.control.palette, + indicator.control.visualFocus, indicator.control.pressed, indicator.enabled && indicator.control.hovered)) + } + } + border.width: 1 + border.color: "transparent" + + Rectangle { + width: parent.width + height: parent.height + border.color: indicator.control.visualFocus ? Fusion.highlightedOutline(indicator.control.palette) : Fusion.outline(indicator.control.palette) + color: "transparent" + radius: 2 + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + border.color: Fusion.innerContrastLine + color: "transparent" + radius: 2 + } + } + + Behavior on x { + enabled: !indicator.control.down + SmoothedAnimation { velocity: 200 } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/impl/plugins.qmltypes b/bin/qml/QtQuick/Controls/Fusion/impl/plugins.qmltypes new file mode 100644 index 000000000..79bce2bcf --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/impl/plugins.qmltypes @@ -0,0 +1,64 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickfusionbusyindicator_p.h" + name: "QQuickFusionBusyIndicator" + accessSemantics: "reference" + prototype: "QQuickPaintedItem" + exports: [ + "QtQuick.Controls.Fusion.impl/BusyIndicatorImpl 2.3", + "QtQuick.Controls.Fusion.impl/BusyIndicatorImpl 2.4", + "QtQuick.Controls.Fusion.impl/BusyIndicatorImpl 2.7", + "QtQuick.Controls.Fusion.impl/BusyIndicatorImpl 2.11", + "QtQuick.Controls.Fusion.impl/BusyIndicatorImpl 6.0", + "QtQuick.Controls.Fusion.impl/BusyIndicatorImpl 6.3" + ] + exportMetaObjectRevisions: [515, 516, 519, 523, 1536, 1539] + Property { name: "color"; type: "QColor"; read: "color"; write: "setColor"; index: 0; isFinal: true } + Property { name: "running"; type: "bool"; read: "isRunning"; write: "setRunning"; index: 1 } + } + Component { + file: "private/qquickfusiondial_p.h" + name: "QQuickFusionDial" + accessSemantics: "reference" + prototype: "QQuickPaintedItem" + exports: [ + "QtQuick.Controls.Fusion.impl/DialImpl 2.3", + "QtQuick.Controls.Fusion.impl/DialImpl 2.4", + "QtQuick.Controls.Fusion.impl/DialImpl 2.7", + "QtQuick.Controls.Fusion.impl/DialImpl 2.11", + "QtQuick.Controls.Fusion.impl/DialImpl 6.0", + "QtQuick.Controls.Fusion.impl/DialImpl 6.3" + ] + exportMetaObjectRevisions: [515, 516, 519, 523, 1536, 1539] + Property { + name: "highlight" + type: "bool" + read: "highlight" + write: "setHighlight" + index: 0 + isFinal: true + } + } + Component { + file: "private/qquickfusionknob_p.h" + name: "QQuickFusionKnob" + accessSemantics: "reference" + prototype: "QQuickPaintedItem" + exports: [ + "QtQuick.Controls.Fusion.impl/KnobImpl 2.3", + "QtQuick.Controls.Fusion.impl/KnobImpl 2.4", + "QtQuick.Controls.Fusion.impl/KnobImpl 2.7", + "QtQuick.Controls.Fusion.impl/KnobImpl 2.11", + "QtQuick.Controls.Fusion.impl/KnobImpl 6.0", + "QtQuick.Controls.Fusion.impl/KnobImpl 6.3" + ] + exportMetaObjectRevisions: [515, 516, 519, 523, 1536, 1539] + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/impl/qmldir b/bin/qml/QtQuick/Controls/Fusion/impl/qmldir new file mode 100644 index 000000000..b67517e8d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/impl/qmldir @@ -0,0 +1,20 @@ +module QtQuick.Controls.Fusion.impl +linktarget Qt6::qtquickcontrols2fusionstyleimplplugin +optional plugin qtquickcontrols2fusionstyleimplplugin +classname QtQuickControls2FusionStyleImplPlugin +typeinfo plugins.qmltypes +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Controls/Fusion/impl/ +ButtonPanel 6.0 ButtonPanel.qml +ButtonPanel 2.0 ButtonPanel.qml +CheckIndicator 6.0 CheckIndicator.qml +CheckIndicator 2.0 CheckIndicator.qml +RadioIndicator 6.0 RadioIndicator.qml +RadioIndicator 2.0 RadioIndicator.qml +SliderGroove 6.0 SliderGroove.qml +SliderGroove 2.0 SliderGroove.qml +SliderHandle 6.0 SliderHandle.qml +SliderHandle 2.0 SliderHandle.qml +SwitchIndicator 6.0 SwitchIndicator.qml +SwitchIndicator 2.0 SwitchIndicator.qml + diff --git a/bin/qml/QtQuick/Controls/Fusion/impl/qtquickcontrols2fusionstyleimplplugin.dll b/bin/qml/QtQuick/Controls/Fusion/impl/qtquickcontrols2fusionstyleimplplugin.dll new file mode 100644 index 000000000..d334d8974 Binary files /dev/null and b/bin/qml/QtQuick/Controls/Fusion/impl/qtquickcontrols2fusionstyleimplplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Fusion/plugins.qmltypes b/bin/qml/QtQuick/Controls/Fusion/plugins.qmltypes new file mode 100644 index 000000000..8eaf6fb5b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/plugins.qmltypes @@ -0,0 +1,161 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickfusionstyle_p.h" + name: "QQuickFusionStyle" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick.Controls.Fusion/Fusion 2.3", + "QtQuick.Controls.Fusion/Fusion 6.0" + ] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [515, 1536] + Property { + name: "lightShade" + type: "QColor" + read: "lightShade" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "darkShade" + type: "QColor" + read: "darkShade" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "topShadow" + type: "QColor" + read: "topShadow" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "innerContrastLine" + type: "QColor" + read: "innerContrastLine" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Method { + name: "highlight" + type: "QColor" + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + } + Method { + name: "highlightedText" + type: "QColor" + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + } + Method { + name: "outline" + type: "QColor" + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + } + Method { + name: "highlightedOutline" + type: "QColor" + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + } + Method { + name: "tabFrameColor" + type: "QColor" + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + } + Method { + name: "buttonColor" + type: "QColor" + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + Parameter { name: "highlighted"; type: "bool" } + Parameter { name: "down"; type: "bool" } + Parameter { name: "hovered"; type: "bool" } + } + Method { + name: "buttonColor" + type: "QColor" + isCloned: true + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + Parameter { name: "highlighted"; type: "bool" } + Parameter { name: "down"; type: "bool" } + } + Method { + name: "buttonColor" + type: "QColor" + isCloned: true + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + Parameter { name: "highlighted"; type: "bool" } + } + Method { + name: "buttonColor" + type: "QColor" + isCloned: true + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + } + Method { + name: "buttonOutline" + type: "QColor" + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + Parameter { name: "highlighted"; type: "bool" } + Parameter { name: "enabled"; type: "bool" } + } + Method { + name: "buttonOutline" + type: "QColor" + isCloned: true + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + Parameter { name: "highlighted"; type: "bool" } + } + Method { + name: "buttonOutline" + type: "QColor" + isCloned: true + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + } + Method { + name: "gradientStart" + type: "QColor" + Parameter { name: "baseColor"; type: "QColor" } + } + Method { + name: "gradientStop" + type: "QColor" + Parameter { name: "baseColor"; type: "QColor" } + } + Method { + name: "mergedColors" + type: "QColor" + Parameter { name: "colorA"; type: "QColor" } + Parameter { name: "colorB"; type: "QColor" } + Parameter { name: "factor"; type: "int" } + } + Method { + name: "mergedColors" + type: "QColor" + isCloned: true + Parameter { name: "colorA"; type: "QColor" } + Parameter { name: "colorB"; type: "QColor" } + } + Method { + name: "grooveColor" + type: "QColor" + Parameter { name: "palette"; type: "QQuickPalette"; isPointer: true } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Fusion/qmldir b/bin/qml/QtQuick/Controls/Fusion/qmldir new file mode 100644 index 000000000..37e8a1407 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Fusion/qmldir @@ -0,0 +1,111 @@ +module QtQuick.Controls.Fusion +linktarget Qt6::qtquickcontrols2fusionstyleplugin +plugin qtquickcontrols2fusionstyleplugin +classname QtQuickControls2FusionStylePlugin +typeinfo plugins.qmltypes +import QtQuick.Controls.Basic auto +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Controls/Fusion/ +ApplicationWindow 6.0 ApplicationWindow.qml +ApplicationWindow 2.0 ApplicationWindow.qml +BusyIndicator 6.0 BusyIndicator.qml +BusyIndicator 2.0 BusyIndicator.qml +Button 6.0 Button.qml +Button 2.0 Button.qml +CheckBox 6.0 CheckBox.qml +CheckBox 2.0 CheckBox.qml +CheckDelegate 6.0 CheckDelegate.qml +CheckDelegate 2.0 CheckDelegate.qml +ComboBox 6.0 ComboBox.qml +ComboBox 2.0 ComboBox.qml +DelayButton 2.2 DelayButton.qml +DelayButton 6.0 DelayButton.qml +Dial 6.0 Dial.qml +Dial 2.0 Dial.qml +Dialog 2.1 Dialog.qml +Dialog 6.0 Dialog.qml +DialogButtonBox 2.1 DialogButtonBox.qml +DialogButtonBox 6.0 DialogButtonBox.qml +Drawer 6.0 Drawer.qml +Drawer 2.0 Drawer.qml +Frame 6.0 Frame.qml +Frame 2.0 Frame.qml +GroupBox 6.0 GroupBox.qml +GroupBox 2.0 GroupBox.qml +HorizontalHeaderView 2.15 HorizontalHeaderView.qml +HorizontalHeaderView 6.0 HorizontalHeaderView.qml +ItemDelegate 6.0 ItemDelegate.qml +ItemDelegate 2.0 ItemDelegate.qml +Label 6.0 Label.qml +Label 2.0 Label.qml +Menu 6.0 Menu.qml +Menu 2.0 Menu.qml +MenuBar 2.3 MenuBar.qml +MenuBar 6.0 MenuBar.qml +MenuBarItem 2.3 MenuBarItem.qml +MenuBarItem 6.0 MenuBarItem.qml +MenuItem 6.0 MenuItem.qml +MenuItem 2.0 MenuItem.qml +MenuSeparator 2.1 MenuSeparator.qml +MenuSeparator 6.0 MenuSeparator.qml +Page 6.0 Page.qml +Page 2.0 Page.qml +PageIndicator 6.0 PageIndicator.qml +PageIndicator 2.0 PageIndicator.qml +Pane 6.0 Pane.qml +Pane 2.0 Pane.qml +Popup 6.0 Popup.qml +Popup 2.0 Popup.qml +ProgressBar 6.0 ProgressBar.qml +ProgressBar 2.0 ProgressBar.qml +RadioButton 6.0 RadioButton.qml +RadioButton 2.0 RadioButton.qml +RadioDelegate 6.0 RadioDelegate.qml +RadioDelegate 2.0 RadioDelegate.qml +RangeSlider 6.0 RangeSlider.qml +RangeSlider 2.0 RangeSlider.qml +RoundButton 2.1 RoundButton.qml +RoundButton 6.0 RoundButton.qml +ScrollBar 6.0 ScrollBar.qml +ScrollBar 2.0 ScrollBar.qml +ScrollView 6.0 ScrollView.qml +ScrollView 2.0 ScrollView.qml +ScrollIndicator 6.0 ScrollIndicator.qml +ScrollIndicator 2.0 ScrollIndicator.qml +SelectionRectangle 6.0 SelectionRectangle.qml +SelectionRectangle 2.0 SelectionRectangle.qml +Slider 6.0 Slider.qml +Slider 2.0 Slider.qml +SpinBox 6.0 SpinBox.qml +SpinBox 2.0 SpinBox.qml +SplitView 2.13 SplitView.qml +SplitView 6.0 SplitView.qml +SwipeDelegate 6.0 SwipeDelegate.qml +SwipeDelegate 2.0 SwipeDelegate.qml +SwitchDelegate 6.0 SwitchDelegate.qml +SwitchDelegate 2.0 SwitchDelegate.qml +Switch 6.0 Switch.qml +Switch 2.0 Switch.qml +TabBar 6.0 TabBar.qml +TabBar 2.0 TabBar.qml +TabButton 6.0 TabButton.qml +TabButton 2.0 TabButton.qml +TextArea 6.0 TextArea.qml +TextArea 2.0 TextArea.qml +TextField 6.0 TextField.qml +TextField 2.0 TextField.qml +ToolBar 6.0 ToolBar.qml +ToolBar 2.0 ToolBar.qml +ToolButton 6.0 ToolButton.qml +ToolButton 2.0 ToolButton.qml +ToolSeparator 2.1 ToolSeparator.qml +ToolSeparator 6.0 ToolSeparator.qml +ToolTip 6.0 ToolTip.qml +ToolTip 2.0 ToolTip.qml +TreeViewDelegate 6.0 TreeViewDelegate.qml +TreeViewDelegate 2.0 TreeViewDelegate.qml +Tumbler 6.0 Tumbler.qml +Tumbler 2.0 Tumbler.qml +VerticalHeaderView 2.15 VerticalHeaderView.qml +VerticalHeaderView 6.0 VerticalHeaderView.qml + diff --git a/bin/qml/QtQuick/Controls/Fusion/qtquickcontrols2fusionstyleplugin.dll b/bin/qml/QtQuick/Controls/Fusion/qtquickcontrols2fusionstyleplugin.dll new file mode 100644 index 000000000..591eb3110 Binary files /dev/null and b/bin/qml/QtQuick/Controls/Fusion/qtquickcontrols2fusionstyleplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Imagine/ApplicationWindow.qml b/bin/qml/QtQuick/Controls/Imagine/ApplicationWindow.qml new file mode 100644 index 000000000..c0ea1037c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ApplicationWindow.qml @@ -0,0 +1,24 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Window +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ApplicationWindow { + id: window + + background: NinePatchImage { + width: window.width + height: window.height + + source: Imagine.url + "applicationwindow-background" + NinePatchImageSelector on source { + states: [ + {"active": window.active} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/BusyIndicator.qml b/bin/qml/QtQuick/Controls/Imagine/BusyIndicator.qml new file mode 100644 index 000000000..6dc40dc4b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/BusyIndicator.qml @@ -0,0 +1,55 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.BusyIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: AnimatedImage { + opacity: control.running ? 1 : 0 + playing: control.running || opacity > 0 + visible: control.running || opacity > 0 + Behavior on opacity { OpacityAnimator { duration: 250 } } + + source: Imagine.url + "busyindicator-animation" + AnimatedImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"running": control.running}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + background: NinePatchImage { + source: Imagine.url + "busyindicator-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"running": control.running}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Button.qml b/bin/qml/QtQuick/Controls/Imagine/Button.qml new file mode 100644 index 000000000..652690958 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Button.qml @@ -0,0 +1,65 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Button { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.enabled && control.flat && control.highlighted ? control.palette.highlight + : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat + ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.enabled && control.flat && control.highlighted ? control.palette.highlight + : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat + ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText + } + + background: NinePatchImage { + source: Imagine.url + "button-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"checkable": control.checkable}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"flat": control.flat}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/CheckBox.qml b/bin/qml/QtQuick/Controls/Imagine/CheckBox.qml new file mode 100644 index 000000000..11a2048e6 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/CheckBox.qml @@ -0,0 +1,73 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.CheckBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + indicator: Image { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + source: Imagine.url + "checkbox-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checkState === Qt.Checked}, + {"partially-checked": control.checkState === Qt.PartiallyChecked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: NinePatchImage { + source: Imagine.url + "checkbox-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checkState === Qt.Checked}, + {"partially-checked": control.checkState === Qt.PartiallyChecked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/CheckDelegate.qml b/bin/qml/QtQuick/Controls/Imagine/CheckDelegate.qml new file mode 100644 index 000000000..ccae3c1b9 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/CheckDelegate.qml @@ -0,0 +1,84 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.CheckDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + indicator: Image { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + source: Imagine.url + "checkdelegate-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checkState === Qt.Checked}, + {"partially-checked": control.checkState === Qt.PartiallyChecked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: NinePatchImage { + source: Imagine.url + "checkdelegate-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checkState === Qt.Checked}, + {"partially-checked": control.checkState === Qt.PartiallyChecked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/ComboBox.qml b/bin/qml/QtQuick/Controls/Imagine/ComboBox.qml new file mode 100644 index 000000000..582b820b8 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ComboBox.qml @@ -0,0 +1,144 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Window +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ComboBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + (background ? background.leftPadding + background.rightPadding : 0)) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + Math.max(implicitContentHeight, + implicitIndicatorHeight) + (background ? background.topPadding + background.bottomPadding : 0)) + + leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + delegate: ItemDelegate { + required property var model + required property int index + + width: ListView.view.width + text: model[control.textRole] + font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + indicator: Image { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + + source: Imagine.url + "combobox-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"editable": control.editable}, + {"open": control.down}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered}, + {"flat": control.flat} + ] + } + } + + contentItem: T.TextField { + topPadding: control.background ? control.background.topPadding : 0 + leftPadding: control.background ? control.background.leftPadding : 0 + rightPadding: control.background ? control.background.rightPadding : 0 + bottomPadding: control.background ? control.background.bottomPadding : 0 + + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + color: control.flat ? control.palette.windowText : control.editable ? control.palette.text : control.palette.buttonText + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + verticalAlignment: Text.AlignVCenter + } + + background: NinePatchImage { + source: Imagine.url + "combobox-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"editable": control.editable}, + {"open": control.down}, + {"focused": control.visualFocus || (control.editable && control.activeFocus)}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered}, + {"flat": control.flat} + ] + } + } + + popup: T.Popup { + width: control.width + height: Math.min(contentItem.implicitHeight + topPadding + bottomPadding, control.Window.height - topMargin - bottomMargin) + + topMargin: background.topInset + bottomMargin: background.bottomInset + + topPadding: background.topPadding + leftPadding: background.leftPadding + rightPadding: background.rightPadding + bottomPadding: background.bottomPadding + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + palette.text: control.palette.text + palette.highlight: control.palette.highlight + palette.highlightedText: control.palette.highlightedText + palette.windowText: control.palette.windowText + palette.buttonText: control.palette.buttonText + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightMoveDuration: 0 + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: NinePatchImage { + source: Imagine.url + "combobox-popup" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"editable": control.editable}, + {"focused": control.visualFocus || (control.editable && control.activeFocus)}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered}, + {"flat": control.flat} + ] + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/DelayButton.qml b/bin/qml/QtQuick/Controls/Imagine/DelayButton.qml new file mode 100644 index 000000000..73854cdd3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/DelayButton.qml @@ -0,0 +1,104 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.DelayButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + transition: Transition { + NumberAnimation { + duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) + } + } + + contentItem: Text { + text: control.text + font: control.font + color: control.palette.buttonText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + + background: NinePatchImage { + source: control.Imagine.url + "delaybutton-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + + readonly property NinePatchImage progress: NinePatchImage { + parent: control.background + width: control.progress * parent.width + height: parent.height + visible: false + + source: control.Imagine.url + "delaybutton-progress" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + readonly property NinePatchImage mask: NinePatchImage { + width: control.background.width + height: control.background.height + visible: false + + source: control.Imagine.url + "delaybutton-mask" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + readonly property OpacityMask effect: OpacityMask { + parent: control.background + width: source.width + height: source.height + source: control.background.progress + + maskSource: ShaderEffectSource { + sourceItem: control.background.mask + sourceRect: Qt.rect(0, 0, control.background.effect.width, control.background.effect.height) + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Dial.qml b/bin/qml/QtQuick/Controls/Imagine/Dial.qml new file mode 100644 index 000000000..d534fad44 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Dial.qml @@ -0,0 +1,68 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Dial { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + (handle ? handle.implicitWidth : 0) + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + (handle ? handle.implicitHeight : 0) + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + handle: Image { + x: control.background.x + control.background.width / 2 - width / 2 + y: control.background.y + control.background.height / 2 - height / 2 + + source: Imagine.url + "dial-handle" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + + transform: [ + Translate { + y: -Math.min(control.background.width, control.background.height) * 0.4 + + (control.handle ? control.handle.height / 2 : 0) + }, + Rotation { + angle: control.angle + origin.x: control.handle ? control.handle.width / 2 : 0 + origin.y: control.handle ? control.handle.height / 2 : 0 + } + ] + } + + background: NinePatchImage { + fillMode: Image.PreserveAspectFit + source: Imagine.url + "dial-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Dialog.qml b/bin/qml/QtQuick/Controls/Imagine/Dialog.qml new file mode 100644 index 000000000..4d3c29633 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Dialog.qml @@ -0,0 +1,83 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Dialog { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "dialog-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + header: Label { + text: control.title + visible: control.title + elide: Label.ElideRight + font.bold: true + padding: 12 + + background: NinePatchImage { + width: parent.width + height: parent.height + + source: Imagine.url + "dialog-title" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + } + + footer: DialogButtonBox { + visible: count > 0 + } + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/DialogButtonBox.qml b/bin/qml/QtQuick/Controls/Imagine/DialogButtonBox.qml new file mode 100644 index 000000000..81d87b65d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/DialogButtonBox.qml @@ -0,0 +1,52 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.DialogButtonBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + (control.count === 1 ? contentWidth * 2 : contentWidth) + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + spacing: 6 + + delegate: Button { + width: control.count === 1 ? control.availableWidth / 2 : undefined + flat: true + } + + contentItem: ListView { + implicitWidth: contentWidth + model: control.contentModel + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + snapMode: ListView.SnapToItem + } + + background: NinePatchImage { + source: Imagine.url + "dialogbuttonbox-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Drawer.qml b/bin/qml/QtQuick/Controls/Imagine/Drawer.qml new file mode 100644 index 000000000..b6ecbb2b2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Drawer.qml @@ -0,0 +1,63 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Drawer { + id: control + + parent: T.Overlay.overlay + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + enter: Transition { SmoothedAnimation { velocity: 5 } } + exit: Transition { SmoothedAnimation { velocity: 5 } } + + background: NinePatchImage { + source: Imagine.url + "drawer-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim}, + {"top": control.edge === Qt.TopEdge}, + {"left": control.edge === Qt.LeftEdge}, + {"right": control.edge === Qt.RightEdge}, + {"bottom": control.edge === Qt.BottomEdge} + ] + } + } + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "drawer-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "drawer-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Frame.qml b/bin/qml/QtQuick/Controls/Imagine/Frame.qml new file mode 100644 index 000000000..a3076171f --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Frame.qml @@ -0,0 +1,36 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Frame { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "frame-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/GroupBox.qml b/bin/qml/QtQuick/Controls/Imagine/GroupBox.qml new file mode 100644 index 000000000..e833a92da --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/GroupBox.qml @@ -0,0 +1,65 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.GroupBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: ((background as NinePatchImage)?.topPadding ?? 0) + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) + leftPadding: ((background as NinePatchImage)?.leftPadding ?? 0) + rightPadding: ((background as NinePatchImage)?.rightPadding ?? 0) + bottomPadding: ((background as NinePatchImage)?.bottomPadding ?? 0) + + label: Label { + width: control.width + + topPadding: background.topPadding + leftPadding: background.leftPadding + rightPadding: background.rightPadding + bottomPadding: background.bottomPadding + + text: control.title + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + + color: control.palette.windowText + + background: NinePatchImage { + width: parent.width + height: parent.height + + source: Imagine.url + "groupbox-title" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } + } + + background: NinePatchImage { + x: -leftInset + y: control.topPadding - control.bottomPadding - topInset + width: control.width + leftInset + rightInset + height: control.height + topInset + bottomInset - control.topPadding + control.bottomPadding + + source: Imagine.url + "groupbox-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/HorizontalHeaderView.qml b/bin/qml/QtQuick/Controls/Imagine/HorizontalHeaderView.qml new file mode 100644 index 000000000..9f571a8f6 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/HorizontalHeaderView.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Templates as T + +T.HorizontalHeaderView { + id: control + + implicitWidth: syncView ? syncView.width : 0 + // The contentHeight of TableView will be zero at start-up, until the delegate + // items have been loaded. This means that even if the implicit height of + // HorizontalHeaderView should be the same as the content height in the end, we + // need to ensure that it has at least a height of 1 at start-up, otherwise + // TableView won't bother loading any delegates at all. + implicitHeight: Math.max(1, contentHeight) + + delegate: Rectangle { + id: delegate + + required property var model + + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: text.implicitWidth + (cellPadding * 2) + implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) + color: "#f6f6f6" + border.color: "#e4e4e4" + + Label { + id: text + text: delegate.model[control.textRole] + width: delegate.width + height: delegate.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ff26282a" + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/ItemDelegate.qml b/bin/qml/QtQuick/Controls/Imagine/ItemDelegate.qml new file mode 100644 index 000000000..2a2b0bd79 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ItemDelegate.qml @@ -0,0 +1,60 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ItemDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: NinePatchImage { + source: Imagine.url + "itemdelegate-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Label.qml b/bin/qml/QtQuick/Controls/Imagine/Label.qml new file mode 100644 index 000000000..9a612bcd3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Label.qml @@ -0,0 +1,30 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Label { + id: control + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + color: control.palette.windowText + linkColor: control.palette.link + + background: NinePatchImage { + source: Imagine.url + "label-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Menu.qml b/bin/qml/QtQuick/Controls/Imagine/Menu.qml new file mode 100644 index 000000000..3596ee997 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Menu.qml @@ -0,0 +1,74 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl +import QtQuick.Window + +T.Menu { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topMargin: background ? background.topInset : 0 + leftMargin: background ? background.leftInset : 0 + rightMargin: background ? background.rightInset : 0 + bottomMargin: background ? background.bottomInset : 0 + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + delegate: MenuItem { } + + contentItem: ListView { + implicitHeight: contentHeight + model: control.contentModel + interactive: Window.window + ? contentHeight + control.topPadding + control.bottomPadding > control.height + : false + clip: true + currentIndex: control.currentIndex + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: NinePatchImage { + source: Imagine.url + "menu-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "menu-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "menu-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/MenuItem.qml b/bin/qml/QtQuick/Controls/Imagine/MenuItem.qml new file mode 100644 index 000000000..5d8809d61 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/MenuItem.qml @@ -0,0 +1,104 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.MenuItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.windowText + + contentItem: IconLabel { + readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 + readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 + leftPadding: !control.mirrored ? indicatorPadding : arrowPadding + rightPadding: control.mirrored ? indicatorPadding : arrowPadding + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.windowText + } + + arrow: Image { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.subMenu + source: Imagine.url + "menuitem-arrow" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + indicator: Image { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.checkable + source: Imagine.url + "menuitem-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + background: NinePatchImage { + source: Imagine.url + "menuitem-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/MenuSeparator.qml b/bin/qml/QtQuick/Controls/Imagine/MenuSeparator.qml new file mode 100644 index 000000000..0ed3504dc --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/MenuSeparator.qml @@ -0,0 +1,46 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.MenuSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: NinePatchImage { + source: Imagine.url + "menuseparator-separator" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } + + background: NinePatchImage { + source: Imagine.url + "menuseparator-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Page.qml b/bin/qml/QtQuick/Controls/Imagine/Page.qml new file mode 100644 index 000000000..9e32db27b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Page.qml @@ -0,0 +1,40 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Page { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "page-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/PageIndicator.qml b/bin/qml/QtQuick/Controls/Imagine/PageIndicator.qml new file mode 100644 index 000000000..42afbda70 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/PageIndicator.qml @@ -0,0 +1,59 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.PageIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + delegate: Image { + source: Imagine.url + "pageindicator-delegate" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": pressed}, + {"current": index === control.currentIndex}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} // ### TODO: context property + ] + } + } + + contentItem: Row { + spacing: control.spacing + + Repeater { + model: control.count + delegate: control.delegate + } + } + + background: NinePatchImage { + source: Imagine.url + "pageindicator-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Pane.qml b/bin/qml/QtQuick/Controls/Imagine/Pane.qml new file mode 100644 index 000000000..f74ea96d2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Pane.qml @@ -0,0 +1,36 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Pane { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "pane-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Popup.qml b/bin/qml/QtQuick/Controls/Imagine/Popup.qml new file mode 100644 index 000000000..185f2faba --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Popup.qml @@ -0,0 +1,54 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Popup { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : undefined + leftPadding: background ? background.leftPadding : undefined + rightPadding: background ? background.rightPadding : undefined + bottomPadding: background ? background.bottomPadding : undefined + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "popup-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "popup-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "popup-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/ProgressBar.qml b/bin/qml/QtQuick/Controls/Imagine/ProgressBar.qml new file mode 100644 index 000000000..641320fab --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ProgressBar.qml @@ -0,0 +1,108 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ProgressBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: Item { + implicitWidth: control.indeterminate ? animation.implicitWidth || progress.implicitWidth : progress.implicitWidth + implicitHeight: control.indeterminate ? animation.implicitHeight || progress.implicitHeight : progress.implicitHeight + scale: control.mirrored ? -1 : 1 + + readonly property bool hasMask: mask.status !== Image.Null + + readonly property NinePatchImage progress: NinePatchImage { + parent: control.contentItem + width: control.position * parent.width + height: parent.height + visible: !control.indeterminate && !control.contentItem.hasMask + + source: Imagine.url + "progressbar-progress" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"indeterminate": control.indeterminate}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + readonly property AnimatedImage animation: AnimatedImage { + parent: control.contentItem + width: parent.width + height: parent.height + playing: control.indeterminate + visible: control.indeterminate && !control.contentItem.hasMask + + source: Imagine.url + "progressbar-animation" + AnimatedImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + readonly property NinePatchImage mask: NinePatchImage { + width: control.availableWidth + height: control.availableHeight + visible: false + + source: Imagine.url + "progressbar-mask" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"indeterminate": control.indeterminate}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + readonly property OpacityMask effect: OpacityMask { + parent: control.contentItem + width: source.width + height: source.height + source: control.indeterminate ? control.contentItem.animation : control.contentItem.progress + + maskSource: ShaderEffectSource { + sourceItem: control.contentItem.mask + sourceRect: Qt.rect(0, 0, control.contentItem.effect.width, control.contentItem.effect.height) + } + } + } + + background: NinePatchImage { + source: Imagine.url + "progressbar-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"indeterminate": control.indeterminate}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/RadioButton.qml b/bin/qml/QtQuick/Controls/Imagine/RadioButton.qml new file mode 100644 index 000000000..2f9335eb7 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/RadioButton.qml @@ -0,0 +1,71 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.RadioButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + indicator: Image { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + source: Imagine.url + "radiobutton-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: NinePatchImage { + source: Imagine.url + "radiobutton-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/RadioDelegate.qml b/bin/qml/QtQuick/Controls/Imagine/RadioDelegate.qml new file mode 100644 index 000000000..f87279886 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/RadioDelegate.qml @@ -0,0 +1,82 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.RadioDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + indicator: Image { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + source: Imagine.url + "radiodelegate-indicator" + ImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: NinePatchImage { + source: Imagine.url + "radiodelegate-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/RangeSlider.qml b/bin/qml/QtQuick/Controls/Imagine/RangeSlider.qml new file mode 100644 index 000000000..e0559e65b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/RangeSlider.qml @@ -0,0 +1,101 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.RangeSlider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + first.implicitHandleWidth + leftPadding + rightPadding, + second.implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + first.implicitHandleHeight + topPadding + bottomPadding, + second.implicitHandleHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + first.handle: Image { + x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) + + source: control.Imagine.url + "rangeslider-handle" + ImageSelector on source { + states: [ + {"first": true}, + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"pressed": control.first.pressed}, + {"focused": control.first.handle.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.first.hovered} + ] + } + } + + second.handle: Image { + x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) + + source: control.Imagine.url + "rangeslider-handle" + ImageSelector on source { + states: [ + {"second": true}, + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"pressed": control.second.pressed}, + {"focused": control.second.handle.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.second.hovered} + ] + } + } + + background: NinePatchImage { + scale: control.horizontal && control.mirrored ? -1 : 1 + + source: control.Imagine.url + "rangeslider-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + + NinePatchImage { + x: control.horizontal ? control.first.handle.width / 2 + control.first.position * (parent.width - control.first.handle.width) : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : control.first.handle.height / 2 + control.second.visualPosition * (parent.height - control.first.handle.height) + width: control.horizontal ? control.second.position * (parent.width - control.first.handle.width) - control.first.position * (parent.width - control.first.handle.width) : parent.width + height: control.vertical ? control.second.position * (parent.height - control.first.handle.height) - control.first.position * (parent.height - control.first.handle.height): parent.height + + source: control.Imagine.url + "rangeslider-progress" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/RoundButton.qml b/bin/qml/QtQuick/Controls/Imagine/RoundButton.qml new file mode 100644 index 000000000..2000d92f8 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/RoundButton.qml @@ -0,0 +1,64 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.RoundButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.enabled && control.flat && control.highlighted ? control.palette.highlight + : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat + ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.enabled && control.flat && control.highlighted ? control.palette.highlight + : control.enabled && (control.down || control.checked || control.highlighted) && !control.flat + ? control.palette.brightText : control.flat ? control.palette.windowText : control.palette.buttonText + } + + background: NinePatchImage { + // ### TODO: radius? + source: Imagine.url + "roundbutton-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"checkable": control.checkable}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"flat": control.flat}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/ScrollBar.qml b/bin/qml/QtQuick/Controls/Imagine/ScrollBar.qml new file mode 100644 index 000000000..09db8eea0 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ScrollBar.qml @@ -0,0 +1,86 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ScrollBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + visible: control.policy !== T.ScrollBar.AlwaysOff + minimumSize: orientation === Qt.Horizontal ? height / width : width / height + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: NinePatchImage { + width: control.availableWidth + height: control.availableHeight + + source: Imagine.url + "scrollbar-handle" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"interactive": control.interactive}, + {"pressed": control.pressed}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + opacity: 0.0 + } + + background: NinePatchImage { + source: Imagine.url + "scrollbar-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"interactive": control.interactive}, + {"pressed": control.pressed}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + opacity: 0.0 + } + + states: [ + State { + name: "active" + when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) + } + ] + + transitions: [ + Transition { + to: "active" + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 1.0 } + }, + Transition { + from: "active" + SequentialAnimation { + PropertyAction{ targets: [control.contentItem, control.background]; property: "opacity"; value: 1.0 } + PauseAnimation { duration: 3000 } + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 0.0 } + } + } + ] +} diff --git a/bin/qml/QtQuick/Controls/Imagine/ScrollIndicator.qml b/bin/qml/QtQuick/Controls/Imagine/ScrollIndicator.qml new file mode 100644 index 000000000..285379a30 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ScrollIndicator.qml @@ -0,0 +1,78 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ScrollIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: NinePatchImage { + width: control.availableWidth + height: control.availableHeight + + source: Imagine.url + "scrollindicator-handle" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + opacity: 0.0 + } + + background: NinePatchImage { + source: Imagine.url + "scrollindicator-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + opacity: 0.0 + } + + states: [ + State { + name: "active" + when: (control.active && control.size < 1.0) + } + ] + + transitions: [ + Transition { + to: "active" + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 1.0 } + }, + Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 5000 } + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 0.0 } + } + } + ] +} diff --git a/bin/qml/QtQuick/Controls/Imagine/ScrollView.qml b/bin/qml/QtQuick/Controls/Imagine/ScrollView.qml new file mode 100644 index 000000000..4e7d1a8af --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ScrollView.qml @@ -0,0 +1,52 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ScrollView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + T.ScrollBar.vertical: ScrollBar { + parent: control + x: control.mirrored ? 0 : control.width - width + y: control.topPadding + height: control.availableHeight + active: control.T.ScrollBar.horizontal.active + } + + T.ScrollBar.horizontal: ScrollBar { + parent: control + x: control.leftPadding + y: control.height - height + width: control.availableWidth + active: control.T.ScrollBar.vertical.active + } + + background: NinePatchImage { + source: Imagine.path + "scrollview-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/SelectionRectangle.qml b/bin/qml/QtQuick/Controls/Imagine/SelectionRectangle.qml new file mode 100644 index 000000000..79940b672 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/SelectionRectangle.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.SelectionRectangle { + id: control + + topLeftHandle: handle + bottomRightHandle: handle + + Component { + id: handle + Image { + id: image + source: Imagine.url + "slider-handle" + visible: SelectionRectangle.control.active + ImageSelector on source { + states: [ + {"vertical": false}, + {"horizontal": true}, + {"disabled": false}, + {"pressed": tapHandler.pressed || image.SelectionRectangle.dragging}, + {"focused": true}, + {"mirrored": false}, + {"hovered": hoverHandler.hovered} + ] + } + + HoverHandler { + id: hoverHandler + } + + TapHandler { + id: tapHandler + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Slider.qml b/bin/qml/QtQuick/Controls/Imagine/Slider.qml new file mode 100644 index 000000000..01b5899fc --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Slider.qml @@ -0,0 +1,87 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + handle: Image { + x: Math.round(control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2)) + y: Math.round(control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height))) + + source: control.Imagine.url + "slider-handle" + ImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"pressed": control.pressed}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + + background: NinePatchImage { + scale: control.horizontal && control.mirrored ? -1 : 1 + + source: control.Imagine.url + "slider-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + + NinePatchImage { + x: control.horizontal ? 0 : (parent.width - width) / 2 + y: control.horizontal + ? (parent.height - height) / 2 + : control.handle.height / 2 + control.visualPosition * (parent.height - control.handle.height) + width: control.horizontal + ? control.handle.width / 2 + control.position * (parent.width - control.handle.width) + : parent.width + height: control.vertical + ? control.handle.height / 2 + control.position * (parent.height - control.handle.height) + : parent.height + + source: control.Imagine.url + "slider-progress" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/SpinBox.qml b/bin/qml/QtQuick/Controls/Imagine/SpinBox.qml new file mode 100644 index 000000000..834f47434 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/SpinBox.qml @@ -0,0 +1,118 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.SpinBox { + id: control + + // Note: the width of the indicators are calculated into the padding + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + up.implicitIndicatorHeight, down.implicitIndicatorHeight) + + topPadding: background ? background.topPadding : 0 + leftPadding: (background ? background.leftPadding : 0) + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) + rightPadding: (background ? background.rightPadding : 0) + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + z: 2 + text: control.displayText + opacity: control.enabled ? 1 : 0.3 + + font: control.font + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignVCenter + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + clip: width < implicitWidth + + NinePatchImage { + z: -1 + width: control.width + height: control.height + visible: control.editable + + source: Imagine.url + "spinbox-editor" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } + } + + up.indicator: NinePatchImage { + x: control.mirrored ? 0 : control.width - width + height: control.height + + source: Imagine.url + "spinbox-indicator" + NinePatchImageSelector on source { + states: [ + {"up": true}, + {"disabled": !control.up.indicator.enabled}, + {"editable": control.editable}, + {"pressed": control.up.pressed}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.up.hovered} + ] + } + } + + down.indicator: NinePatchImage { + x: control.mirrored ? control.width - width : 0 + height: control.height + + source: Imagine.url + "spinbox-indicator" + NinePatchImageSelector on source { + states: [ + {"down": true}, + {"disabled": !control.down.indicator.enabled}, + {"editable": control.editable}, + {"pressed": control.down.pressed}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.down.hovered} + ] + } + } + + background: NinePatchImage { + source: Imagine.url + "spinbox-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"editable": control.editable}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/SplitView.qml b/bin/qml/QtQuick/Controls/Imagine/SplitView.qml new file mode 100644 index 000000000..8c4c6f4ee --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/SplitView.qml @@ -0,0 +1,30 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.SplitView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + handle: NinePatchImage { + source: Imagine.url + "splitview-handle" + NinePatchImageSelector on source { + states: [ + {"vertical": control.orientation === Qt.Vertical}, + {"horizontal":control.orientation === Qt.Horizontal}, + {"disabled": !control.enabled}, + {"pressed": T.SplitHandle.pressed}, + {"mirrored": control.mirrored}, + {"hovered": T.SplitHandle.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/StackView.qml b/bin/qml/QtQuick/Controls/Imagine/StackView.qml new file mode 100644 index 000000000..27b9d77b9 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/StackView.qml @@ -0,0 +1,58 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.StackView { + id: control + + implicitWidth: implicitBackgroundWidth + implicitHeight: implicitBackgroundHeight + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + popEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * -control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + popExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * control.width; duration: 400; easing.type: Easing.OutCubic } + } + + pushEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + pushExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } + } + + replaceEnter: Transition { + XAnimator { from: (control.mirrored ? -1 : 1) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + + replaceExit: Transition { + XAnimator { from: 0; to: (control.mirrored ? -1 : 1) * -control.width; duration: 400; easing.type: Easing.OutCubic } + } + + background: NinePatchImage { + source: Imagine.url + "stackview-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/SwipeDelegate.qml b/bin/qml/QtQuick/Controls/Imagine/SwipeDelegate.qml new file mode 100644 index 000000000..24f550ce2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/SwipeDelegate.qml @@ -0,0 +1,62 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.SwipeDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: NinePatchImage { + source: Imagine.url + "swipedelegate-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/SwipeView.qml b/bin/qml/QtQuick/Controls/Imagine/SwipeView.qml new file mode 100644 index 000000000..c0bafd123 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/SwipeView.qml @@ -0,0 +1,57 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.SwipeView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: ListView { + model: control.contentModel + interactive: control.interactive + currentIndex: control.currentIndex + focus: control.focus + + spacing: control.spacing + orientation: control.orientation + snapMode: ListView.SnapOneItem + boundsBehavior: Flickable.StopAtBounds + + highlightRangeMode: ListView.StrictlyEnforceRange + preferredHighlightBegin: 0 + preferredHighlightEnd: 0 + highlightMoveDuration: 250 + } + + background: NinePatchImage { + source: Imagine.url + "swipeview-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"interactive": control.interactive}, + {"focused": control.contentItem.activeFocus}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Switch.qml b/bin/qml/QtQuick/Controls/Imagine/Switch.qml new file mode 100644 index 000000000..c2d3f70f2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Switch.qml @@ -0,0 +1,101 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Switch { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + indicator: NinePatchImage { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + width: Math.max(implicitWidth, handle.leftPadding && handle.rightPadding ? handle.implicitWidth : 2 * handle.implicitWidth) + height: Math.max(implicitHeight, handle.implicitHeight) + + source: control.Imagine.url + "switch-indicator" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + + property NinePatchImage handle: NinePatchImage { + readonly property real minPos: parent.leftPadding - leftPadding + readonly property real maxPos: parent.width - width + rightPadding - parent.rightPadding + readonly property real dragPos: control.visualPosition * parent.width - (width / 2) + + parent: control.indicator + + x: Math.max(minPos, Math.min(maxPos, control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + + source: control.Imagine.url + "switch-handle" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + + Behavior on x { + enabled: !control.down + SmoothedAnimation { velocity: 200 } + } + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: NinePatchImage { + source: control.Imagine.url + "switch-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/SwitchDelegate.qml b/bin/qml/QtQuick/Controls/Imagine/SwitchDelegate.qml new file mode 100644 index 000000000..ed8b93c2b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/SwitchDelegate.qml @@ -0,0 +1,113 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.SwitchDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.text + + indicator: NinePatchImage { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + width: Math.max(implicitWidth, handle.leftPadding && handle.rightPadding ? handle.implicitWidth : 2 * handle.implicitWidth) + height: Math.max(implicitHeight, handle.implicitHeight) + + source: control.Imagine.url + "switchdelegate-indicator" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + + property NinePatchImage handle: NinePatchImage { + readonly property real minPos: parent.leftPadding - leftPadding + readonly property real maxPos: parent.width - width + rightPadding - parent.rightPadding + readonly property real dragPos: control.visualPosition * parent.width - (width / 2) + + parent: control.indicator + + x: Math.max(minPos, Math.min(maxPos, control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + + source: control.Imagine.url + "switchdelegate-handle" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + + Behavior on x { + enabled: !control.down + SmoothedAnimation { velocity: 200 } + } + } + } + + contentItem: IconLabel { + leftPadding: control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: !control.mirrored ? control.indicator.width + control.spacing : 0 + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.palette.text + } + + background: NinePatchImage { + source: control.Imagine.url + "switchdelegate-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/TabBar.qml b/bin/qml/QtQuick/Controls/Imagine/TabBar.qml new file mode 100644 index 000000000..a0086cb76 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/TabBar.qml @@ -0,0 +1,54 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.TabBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: ListView { + model: control.contentModel + currentIndex: control.currentIndex + + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + flickableDirection: Flickable.AutoFlickIfNeeded + snapMode: ListView.SnapToItem + + highlightMoveDuration: 0 + highlightRangeMode: ListView.ApplyRange + preferredHighlightBegin: 48 + preferredHighlightEnd: width - 48 + } + + background: NinePatchImage { + source: Imagine.url + "tabbar-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"header": control.position === T.TabBar.Header }, + {"footer": control.position === T.TabBar.Footer }, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/TabButton.qml b/bin/qml/QtQuick/Controls/Imagine/TabButton.qml new file mode 100644 index 000000000..7b7a88c91 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/TabButton.qml @@ -0,0 +1,58 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.TabButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: NinePatchImage { + source: Imagine.url + "tabbutton-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/TextArea.qml b/bin/qml/QtQuick/Controls/Imagine/TextArea.qml new file mode 100644 index 000000000..d47ffffbd --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/TextArea.qml @@ -0,0 +1,63 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset, + placeholder.implicitHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + verticalAlignment: Qt.AlignVCenter + placeholderTextColor: control.palette.placeholderText + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } + + background: NinePatchImage { + source: Imagine.url + "textarea-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/TextField.qml b/bin/qml/QtQuick/Controls/Imagine/TextField.qml new file mode 100644 index 000000000..9c0ddd1f2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/TextField.qml @@ -0,0 +1,62 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.TextField { + id: control + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding, + placeholder.implicitHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + placeholderTextColor: control.palette.placeholderText + verticalAlignment: Qt.AlignVCenter + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } + + background: NinePatchImage { + source: Imagine.url + "textfield-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"focused": control.activeFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/ToolBar.qml b/bin/qml/QtQuick/Controls/Imagine/ToolBar.qml new file mode 100644 index 000000000..9e1467e90 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ToolBar.qml @@ -0,0 +1,38 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ToolBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + background: NinePatchImage { + source: Imagine.url + "toolbar-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"header": control.position === T.ToolBar.Header }, + {"footer": control.position === T.ToolBar.Footer }, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/ToolButton.qml b/bin/qml/QtQuick/Controls/Imagine/ToolButton.qml new file mode 100644 index 000000000..13b4c9b11 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ToolButton.qml @@ -0,0 +1,61 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ToolButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + spacing: 6 // ### + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + } + + background: NinePatchImage { + source: Imagine.url + "toolbutton-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"pressed": control.down}, + {"checked": control.checked}, + {"checkable": control.checkable}, + {"focused": control.visualFocus}, + {"highlighted": control.highlighted}, + {"flat": control.flat}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/ToolSeparator.qml b/bin/qml/QtQuick/Controls/Imagine/ToolSeparator.qml new file mode 100644 index 000000000..4861e2608 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ToolSeparator.qml @@ -0,0 +1,50 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ToolSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + contentItem: NinePatchImage { + source: Imagine.url + "toolseparator-separator" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } + + background: NinePatchImage { + source: Imagine.url + "toolseparator-background" + NinePatchImageSelector on source { + states: [ + {"vertical": control.vertical}, + {"horizontal": control.horizontal}, + {"disabled": !control.enabled}, + {"mirrored": control.mirrored} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/ToolTip.qml b/bin/qml/QtQuick/Controls/Imagine/ToolTip.qml new file mode 100644 index 000000000..841e5a361 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/ToolTip.qml @@ -0,0 +1,52 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.ToolTip { + id: control + + x: parent ? (parent.width - implicitWidth) / 2 : 0 - (background ? background.leftInset : 0) + y: -implicitHeight - (background ? background.topInset : 0) + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topMargin: background ? background.topInset : 0 + leftMargin: background ? background.leftInset : 0 + rightMargin: background ? background.rightInset : 0 + bottomMargin: background ? background.bottomInset : 0 + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent + + contentItem: Text { + text: control.text + font: control.font + wrapMode: Text.Wrap + color: control.palette.toolTipText + } + + background: NinePatchImage { + source: Imagine.url + "tooltip-background" + NinePatchImageSelector on source { + states: [ + // ### + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/Tumbler.qml b/bin/qml/QtQuick/Controls/Imagine/Tumbler.qml new file mode 100644 index 000000000..7052c6654 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/Tumbler.qml @@ -0,0 +1,63 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl + +T.Tumbler { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + delegate: Text { + text: modelData + font: control.font + color: control.palette.text + opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + + required property var modelData + required property int index + } + + contentItem: TumblerView { + implicitWidth: 60 + implicitHeight: 200 + model: control.model + delegate: control.delegate + path: Path { + startX: control.contentItem.width / 2 + startY: -control.contentItem.delegateHeight / 2 + PathLine { + x: control.contentItem.width / 2 + y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 + } + } + + property real delegateHeight: control.availableHeight / control.visibleItemCount + } + + background: NinePatchImage { + source: Imagine.url + "tumbler-background" + NinePatchImageSelector on source { + states: [ + {"disabled": !control.enabled}, + {"focused": control.visualFocus}, + {"mirrored": control.mirrored}, + {"hovered": control.enabled && control.hovered} + ] + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/VerticalHeaderView.qml b/bin/qml/QtQuick/Controls/Imagine/VerticalHeaderView.qml new file mode 100644 index 000000000..52a9bcb87 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/VerticalHeaderView.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Templates as T + +T.VerticalHeaderView { + id: control + + // The contentWidth of TableView will be zero at start-up, until the delegate + // items have been loaded. This means that even if the implicit width of + // VerticalHeaderView should be the same as the content width in the end, we + // need to ensure that it has at least a width of 1 at start-up, otherwise + // TableView won't bother loading any delegates at all. + implicitWidth: Math.max(1, contentWidth) + implicitHeight: syncView ? syncView.height : 0 + + delegate: Rectangle { + id: delegate + + required property var model + + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) + implicitHeight: text.implicitHeight + (cellPadding * 2) + color: "#f6f6f6" + border.color: "#e4e4e4" + + Label { + id: text + text: delegate.model[control.textRole] + width: delegate.width + height: delegate.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: "#ff26282a" + } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/impl/OpacityMask.qml b/bin/qml/QtQuick/Controls/Imagine/impl/OpacityMask.qml new file mode 100644 index 000000000..3e78c1586 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/impl/OpacityMask.qml @@ -0,0 +1,35 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick + +/* + A cross-graphics API implementation of QtGraphicalEffects' OpacityMask. + */ +Item { + id: rootItem + + property variant source + property variant maskSource + property bool cached: false + + ShaderEffectSource { + id: cacheItem + anchors.fill: parent + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + property variant source: rootItem.source + property variant maskSource: rootItem.maskSource + + anchors.fill: parent + + fragmentShader: "qrc:/qt-project.org/imports/QtQuick/Controls/Imagine/impl/shaders/OpacityMask.frag.qsb" + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/impl/QuickControls2ImagineStyleImpl.qmltypes b/bin/qml/QtQuick/Controls/Imagine/impl/QuickControls2ImagineStyleImpl.qmltypes new file mode 100644 index 000000000..91181ef12 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/impl/QuickControls2ImagineStyleImpl.qmltypes @@ -0,0 +1,8 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module {} diff --git a/bin/qml/QtQuick/Controls/Imagine/impl/qmldir b/bin/qml/QtQuick/Controls/Imagine/impl/qmldir new file mode 100644 index 000000000..5b36348f3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/impl/qmldir @@ -0,0 +1,9 @@ +module QtQuick.Controls.Imagine.impl +linktarget Qt6::qtquickcontrols2imaginestyleimplplugin +optional plugin qtquickcontrols2imaginestyleimplplugin +classname QtQuickControls2ImagineStyleImplPlugin +typeinfo QuickControls2ImagineStyleImpl.qmltypes +import QtQuick.Controls.impl auto +prefer :/qt-project.org/imports/QtQuick/Controls/Imagine/impl/ +OpacityMask 6.0 OpacityMask.qml + diff --git a/bin/qml/QtQuick/Controls/Imagine/impl/qtquickcontrols2imaginestyleimplplugin.dll b/bin/qml/QtQuick/Controls/Imagine/impl/qtquickcontrols2imaginestyleimplplugin.dll new file mode 100644 index 000000000..ad398ed5c Binary files /dev/null and b/bin/qml/QtQuick/Controls/Imagine/impl/qtquickcontrols2imaginestyleimplplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Imagine/plugins.qmltypes b/bin/qml/QtQuick/Controls/Imagine/plugins.qmltypes new file mode 100644 index 000000000..177618d56 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/plugins.qmltypes @@ -0,0 +1,48 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qquickattachedpropertypropagator.h" + name: "QQuickAttachedPropertyPropagator" + accessSemantics: "reference" + prototype: "QObject" + } + Component { + file: "private/qquickimaginestyle_p.h" + name: "QQuickImagineStyle" + accessSemantics: "reference" + prototype: "QQuickAttachedPropertyPropagator" + exports: [ + "QtQuick.Controls.Imagine/Imagine 2.3", + "QtQuick.Controls.Imagine/Imagine 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [515, 1536] + attachedType: "QQuickImagineStyle" + Property { + name: "path" + type: "QString" + read: "path" + write: "setPath" + reset: "resetPath" + notify: "pathChanged" + index: 0 + isFinal: true + } + Property { + name: "url" + type: "QUrl" + read: "url" + notify: "pathChanged" + index: 1 + isReadonly: true + isFinal: true + } + Signal { name: "pathChanged" } + } +} diff --git a/bin/qml/QtQuick/Controls/Imagine/qmldir b/bin/qml/QtQuick/Controls/Imagine/qmldir new file mode 100644 index 000000000..adce0e514 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Imagine/qmldir @@ -0,0 +1,108 @@ +module QtQuick.Controls.Imagine +linktarget Qt6::qtquickcontrols2imaginestyleplugin +plugin qtquickcontrols2imaginestyleplugin +classname QtQuickControls2ImagineStylePlugin +typeinfo plugins.qmltypes +import QtQuick.Controls.Basic auto +prefer :/qt-project.org/imports/QtQuick/Controls/Imagine/ +ApplicationWindow 6.0 ApplicationWindow.qml +ApplicationWindow 2.0 ApplicationWindow.qml +BusyIndicator 6.0 BusyIndicator.qml +BusyIndicator 2.0 BusyIndicator.qml +Button 6.0 Button.qml +Button 2.0 Button.qml +CheckBox 6.0 CheckBox.qml +CheckBox 2.0 CheckBox.qml +CheckDelegate 6.0 CheckDelegate.qml +CheckDelegate 2.0 CheckDelegate.qml +ComboBox 6.0 ComboBox.qml +ComboBox 2.0 ComboBox.qml +DelayButton 2.2 DelayButton.qml +DelayButton 6.0 DelayButton.qml +Dial 6.0 Dial.qml +Dial 2.0 Dial.qml +Dialog 2.1 Dialog.qml +Dialog 6.0 Dialog.qml +DialogButtonBox 2.1 DialogButtonBox.qml +DialogButtonBox 6.0 DialogButtonBox.qml +Drawer 6.0 Drawer.qml +Drawer 2.0 Drawer.qml +Frame 6.0 Frame.qml +Frame 2.0 Frame.qml +GroupBox 6.0 GroupBox.qml +GroupBox 2.0 GroupBox.qml +HorizontalHeaderView 2.15 HorizontalHeaderView.qml +HorizontalHeaderView 6.0 HorizontalHeaderView.qml +ItemDelegate 6.0 ItemDelegate.qml +ItemDelegate 2.0 ItemDelegate.qml +Label 6.0 Label.qml +Label 2.0 Label.qml +Menu 6.0 Menu.qml +Menu 2.0 Menu.qml +MenuItem 6.0 MenuItem.qml +MenuItem 2.0 MenuItem.qml +MenuSeparator 2.1 MenuSeparator.qml +MenuSeparator 6.0 MenuSeparator.qml +PageIndicator 6.0 PageIndicator.qml +PageIndicator 2.0 PageIndicator.qml +Page 6.0 Page.qml +Page 2.0 Page.qml +Pane 6.0 Pane.qml +Pane 2.0 Pane.qml +Popup 6.0 Popup.qml +Popup 2.0 Popup.qml +ProgressBar 6.0 ProgressBar.qml +ProgressBar 2.0 ProgressBar.qml +RadioButton 6.0 RadioButton.qml +RadioButton 2.0 RadioButton.qml +RadioDelegate 6.0 RadioDelegate.qml +RadioDelegate 2.0 RadioDelegate.qml +RangeSlider 6.0 RangeSlider.qml +RangeSlider 2.0 RangeSlider.qml +RoundButton 2.1 RoundButton.qml +RoundButton 6.0 RoundButton.qml +ScrollView 6.0 ScrollView.qml +ScrollView 2.0 ScrollView.qml +ScrollBar 6.0 ScrollBar.qml +ScrollBar 2.0 ScrollBar.qml +ScrollIndicator 6.0 ScrollIndicator.qml +ScrollIndicator 2.0 ScrollIndicator.qml +SelectionRectangle 6.0 SelectionRectangle.qml +SelectionRectangle 2.0 SelectionRectangle.qml +Slider 6.0 Slider.qml +Slider 2.0 Slider.qml +SpinBox 6.0 SpinBox.qml +SpinBox 2.0 SpinBox.qml +SplitView 2.13 SplitView.qml +SplitView 6.0 SplitView.qml +StackView 6.0 StackView.qml +StackView 2.0 StackView.qml +SwipeDelegate 6.0 SwipeDelegate.qml +SwipeDelegate 2.0 SwipeDelegate.qml +SwipeView 6.0 SwipeView.qml +SwipeView 2.0 SwipeView.qml +Switch 6.0 Switch.qml +Switch 2.0 Switch.qml +SwitchDelegate 6.0 SwitchDelegate.qml +SwitchDelegate 2.0 SwitchDelegate.qml +TextField 6.0 TextField.qml +TextField 2.0 TextField.qml +TextArea 6.0 TextArea.qml +TextArea 2.0 TextArea.qml +TabBar 6.0 TabBar.qml +TabBar 2.0 TabBar.qml +TabButton 6.0 TabButton.qml +TabButton 2.0 TabButton.qml +ToolBar 6.0 ToolBar.qml +ToolBar 2.0 ToolBar.qml +ToolButton 6.0 ToolButton.qml +ToolButton 2.0 ToolButton.qml +ToolSeparator 2.1 ToolSeparator.qml +ToolSeparator 6.0 ToolSeparator.qml +ToolTip 6.0 ToolTip.qml +ToolTip 2.0 ToolTip.qml +Tumbler 6.0 Tumbler.qml +Tumbler 2.0 Tumbler.qml +VerticalHeaderView 2.15 VerticalHeaderView.qml +VerticalHeaderView 6.0 VerticalHeaderView.qml + diff --git a/bin/qml/QtQuick/Controls/Imagine/qtquickcontrols2imaginestyleplugin.dll b/bin/qml/QtQuick/Controls/Imagine/qtquickcontrols2imaginestyleplugin.dll new file mode 100644 index 000000000..015c75a3f Binary files /dev/null and b/bin/qml/QtQuick/Controls/Imagine/qtquickcontrols2imaginestyleplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Material/ApplicationWindow.qml b/bin/qml/QtQuick/Controls/Material/ApplicationWindow.qml new file mode 100644 index 000000000..9ba951956 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ApplicationWindow.qml @@ -0,0 +1,13 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Window +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.ApplicationWindow { + id: window + + color: Material.backgroundColor +} diff --git a/bin/qml/QtQuick/Controls/Material/BusyIndicator.qml b/bin/qml/QtQuick/Controls/Material/BusyIndicator.qml new file mode 100644 index 000000000..9de653565 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/BusyIndicator.qml @@ -0,0 +1,28 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.BusyIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + + contentItem: BusyIndicatorImpl { + implicitWidth: control.Material.touchTarget + implicitHeight: control.Material.touchTarget + color: control.Material.accentColor + + running: control.running + opacity: control.running ? 1 : 0 + Behavior on opacity { OpacityAnimator { duration: 250 } } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Button.qml b/bin/qml/QtQuick/Controls/Material/Button.qml new file mode 100644 index 000000000..c02d9f426 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Button.qml @@ -0,0 +1,77 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.Button { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topInset: 6 + bottomInset: 6 + verticalPadding: Material.buttonVerticalPadding + leftPadding: Material.buttonLeftPadding(flat, hasIcon) + rightPadding: Material.buttonRightPadding(flat, hasIcon, text !== "") + spacing: 8 + + icon.width: 24 + icon.height: 24 + icon.color: !enabled ? Material.hintTextColor : + (control.flat && control.highlighted) || (control.checked && !control.highlighted) ? Material.accentColor : + highlighted ? Material.primaryHighlightedTextColor : Material.foreground + + readonly property bool hasIcon: icon.name.length > 0 || icon.source.toString().length > 0 + + Material.elevation: control.down ? 8 : 2 + Material.roundedScale: Material.FullScale + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Material.hintTextColor : + (control.flat && control.highlighted) || (control.checked && !control.highlighted) ? control.Material.accentColor : + control.highlighted ? control.Material.primaryHighlightedTextColor : control.Material.foreground + } + + background: Rectangle { + implicitWidth: 64 + implicitHeight: control.Material.buttonHeight + + radius: control.Material.roundedScale === Material.FullScale ? height / 2 : control.Material.roundedScale + color: control.Material.buttonColor(control.Material.theme, control.Material.background, + control.Material.accent, control.enabled, control.flat, control.highlighted, control.checked) + + // The layer is disabled when the button color is transparent so you can do + // Material.background: "transparent" and get a proper flat button without needing + // to set Material.elevation as well + layer.enabled: control.enabled && color.a > 0 && !control.flat + layer.effect: RoundedElevationEffect { + elevation: control.Material.elevation + roundedScale: control.background.radius + } + + Ripple { + clip: true + clipRadius: parent.radius + width: parent.width + height: parent.height + pressed: control.pressed + anchor: control + active: enabled && (control.down || control.visualFocus || control.hovered) + color: control.flat && control.highlighted ? control.Material.highlightedRippleColor : control.Material.rippleColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/CheckBox.qml b/bin/qml/QtQuick/Controls/Material/CheckBox.qml new file mode 100644 index 000000000..b74fb005f --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/CheckBox.qml @@ -0,0 +1,50 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.CheckBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 8 + padding: 8 + verticalPadding: padding + 7 + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + + Ripple { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 28; height: 28 + + z: -1 + anchor: control + pressed: control.pressed + active: enabled && (control.down || control.visualFocus || control.hovered) + color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/bin/qml/QtQuick/Controls/Material/CheckDelegate.qml b/bin/qml/QtQuick/Controls/Material/CheckDelegate.qml new file mode 100644 index 000000000..0dead045a --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/CheckDelegate.qml @@ -0,0 +1,64 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.CheckDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 8 + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: enabled && (control.down || control.visualFocus || control.hovered) + color: control.Material.rippleColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/ComboBox.qml b/bin/qml/QtQuick/Controls/Material/ComboBox.qml new file mode 100644 index 000000000..5694aa055 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ComboBox.qml @@ -0,0 +1,125 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Window +import QtQuick.Controls.impl +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.ComboBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + + Material.background: flat ? "transparent" : undefined + Material.foreground: flat ? undefined : Material.primaryTextColor + + delegate: MenuItem { + required property var model + required property int index + + width: ListView.view.width + text: model[control.textRole] + Material.foreground: control.currentIndex === index ? ListView.view.contentItem.Material.accent : ListView.view.contentItem.Material.foreground + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + indicator: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Material/images/drop-indicator.png" + } + + contentItem: T.TextField { + leftPadding: Material.textFieldHorizontalPadding + topPadding: Material.textFieldVerticalPadding + bottomPadding: Material.textFieldVerticalPadding + + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + selectionColor: control.Material.accentColor + selectedTextColor: control.Material.primaryHighlightedTextColor + verticalAlignment: Text.AlignVCenter + + cursorDelegate: CursorDelegate { } + } + + background: MaterialTextContainer { + implicitWidth: 120 + implicitHeight: control.Material.textFieldHeight + + outlineColor: (enabled && control.hovered) ? control.Material.primaryTextColor : control.Material.hintTextColor + focusedOutlineColor: control.Material.accentColor + controlHasActiveFocus: control.activeFocus + controlHasText: true + horizontalPadding: control.Material.textFieldHorizontalPadding + } + + popup: T.Popup { + y: control.editable ? control.height - 5 : 0 + width: control.width + height: Math.min(contentItem.implicitHeight + verticalPadding * 2, control.Window.height - topMargin - bottomMargin) + transformOrigin: Item.Top + topMargin: 12 + bottomMargin: 12 + verticalPadding: 8 + + Material.theme: control.Material.theme + Material.accent: control.Material.accent + Material.primary: control.Material.primary + + enter: Transition { + // grow_fade_in + NumberAnimation { property: "scale"; from: 0.9; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 0.0; easing.type: Easing.OutCubic; duration: 150 } + } + + exit: Transition { + // shrink_fade_out + NumberAnimation { property: "scale"; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } + } + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightMoveDuration: 0 + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: Rectangle { + radius: 4 + color: parent.Material.dialogColor + + layer.enabled: control.enabled + layer.effect: RoundedElevationEffect { + elevation: 4 + roundedScale: Material.ExtraSmallScale + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/DelayButton.qml b/bin/qml/QtQuick/Controls/Material/DelayButton.qml new file mode 100644 index 000000000..b18550541 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/DelayButton.qml @@ -0,0 +1,84 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.DelayButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topInset: 6 + bottomInset: 6 + padding: 12 + horizontalPadding: padding - 4 + + Material.elevation: control.down ? 8 : 2 + + transition: Transition { + NumberAnimation { + duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) + } + } + + contentItem: Text { + text: control.text + font: control.font + color: !control.enabled ? control.Material.hintTextColor : control.Material.foreground + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + elide: Text.ElideRight + } + + // TODO: Add a proper ripple/ink effect for mouse/touch input and focus state + background: Rectangle { + implicitWidth: 64 + implicitHeight: control.Material.buttonHeight + + radius: 2 + color: control.Material.buttonColor(control.Material.theme, control.Material.background, + control.Material.accent, control.enabled, false /*flat*/, false /*highlighted*/, false /*checked*/) + + PaddedRectangle { + y: parent.height - 4 + width: parent.width + height: 4 + radius: 2 + topPadding: -2 + clip: true + color: control.checked && control.enabled ? control.Material.accentColor : control.Material.secondaryTextColor + + PaddedRectangle { + width: parent.width * control.progress + height: 4 + radius: 2 + topPadding: -2 + rightPadding: Math.max(-2, width - parent.width) + clip: true + color: control.Material.accentColor + } + } + + layer.enabled: control.enabled && color.a > 0 && !control.flat + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + + Ripple { + clipRadius: 2 + width: parent.width + height: parent.height + pressed: control.pressed + anchor: control + active: enabled && (control.down || control.visualFocus || control.hovered) + color: control.Material.rippleColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Dial.qml b/bin/qml/QtQuick/Controls/Material/Dial.qml new file mode 100644 index 000000000..465c1f363 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Dial.qml @@ -0,0 +1,53 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.Dial { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 100 + + x: control.width / 2 - width / 2 + y: control.height / 2 - height / 2 + width: Math.max(64, Math.min(control.width, control.height)) + height: width + color: "transparent" + radius: width / 2 + + border.color: control.enabled ? control.Material.accentColor : control.Material.hintTextColor + } + + handle: SliderHandle { + x: control.background.x + control.background.width / 2 - width / 2 + y: control.background.y + control.background.height / 2 - height / 2 + transform: [ + Translate { + y: -control.background.height * 0.4 + + (control.handle ? control.handle.height / 2 : 0) + }, + Rotation { + angle: control.angle + origin.x: control.handle ? control.handle.width / 2 : 0 + origin.y: control.handle ? control.handle.height / 2 : 0 + } + ] + implicitWidth: 10 + implicitHeight: 10 + + value: control.value + handleHasFocus: control.visualFocus + handlePressed: control.pressed + handleHovered: control.hovered + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Dialog.qml b/bin/qml/QtQuick/Controls/Material/Dialog.qml new file mode 100644 index 000000000..014fcc67c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Dialog.qml @@ -0,0 +1,87 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.Dialog { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + // https://m3.material.io/components/dialogs/specs#7dbad5e0-f001-4eae-a536-694aeca90ba6 + padding: 24 + topPadding: 16 + // https://m3.material.io/components/dialogs/guidelines#812cedf1-5c45-453f-97fc-7fd9bba7522b + modal: true + + // https://m3.material.io/components/dialogs/specs#401a48c3-f50c-4fa9-b798-701f5adcf155 + // Specs say level 3 (6 dp) is the default, yet the screenshots there show 0. Native Android defaults to non-zero. + Material.elevation: 6 + Material.roundedScale: Material.dialogRoundedScale + + enter: Transition { + // grow_fade_in + NumberAnimation { property: "scale"; from: 0.9; to: 1.0; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutCubic; duration: 150 } + } + + exit: Transition { + // shrink_fade_out + NumberAnimation { property: "scale"; from: 1.0; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } + } + + background: Rectangle { + // FullScale doesn't make sense for Dialog. + radius: control.Material.roundedScale + color: control.Material.dialogColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: RoundedElevationEffect { + elevation: control.Material.elevation + roundedScale: control.background.radius + } + } + + header: Label { + text: control.title + visible: control.title + elide: Label.ElideRight + padding: 24 + bottomPadding: 0 + // TODO: QPlatformTheme::TitleBarFont + // https://m3.material.io/components/dialogs/specs#401a48c3-f50c-4fa9-b798-701f5adcf155 + font.pixelSize: Material.dialogTitleFontPixelSize + background: PaddedRectangle { + radius: control.background.radius + color: control.Material.dialogColor + bottomPadding: -radius + clip: true + } + } + + footer: DialogButtonBox { + visible: count > 0 + } + + T.Overlay.modal: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } + + T.Overlay.modeless: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/DialogButtonBox.qml b/bin/qml/QtQuick/Controls/Material/DialogButtonBox.qml new file mode 100644 index 000000000..55b2011c8 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/DialogButtonBox.qml @@ -0,0 +1,47 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.DialogButtonBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 8 + padding: 8 + verticalPadding: 2 + alignment: Qt.AlignRight + buttonLayout: T.DialogButtonBox.AndroidLayout + + Material.foreground: Material.accent + Material.roundedScale: Material.ExtraLargeScale + + delegate: Button { flat: true } + + contentItem: ListView { + implicitWidth: contentWidth + model: control.contentModel + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + snapMode: ListView.SnapToItem + } + + background: PaddedRectangle { + implicitHeight: control.Material.dialogButtonBoxHeight + radius: control.Material.roundedScale + color: control.Material.dialogColor + // Rounded corners should be only at the top or at the bottom + topPadding: control.position === T.DialogButtonBox.Footer ? -radius : 0 + bottomPadding: control.position === T.DialogButtonBox.Header ? -radius : 0 + clip: true + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Drawer.qml b/bin/qml/QtQuick/Controls/Material/Drawer.qml new file mode 100644 index 000000000..915c98bb5 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Drawer.qml @@ -0,0 +1,57 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.Drawer { + id: control + + parent: T.Overlay.overlay + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: edge !== Qt.TopEdge ? Material.roundedScale : 0 + bottomPadding: edge !== Qt.BottomEdge ? Material.roundedScale : 0 + + enter: Transition { SmoothedAnimation { velocity: 5 } } + exit: Transition { SmoothedAnimation { velocity: 5 } } + + // https://m3.material.io/components/navigation-drawer/specs#e616dc8f-d61a-4d56-a311-50c68ecda744 + Material.elevation: !interactive && !dim ? 0 : 1 + Material.roundedScale: Material.LargeScale + + background: PaddedRectangle { + // https://m3.material.io/components/navigation-drawer/specs#ce8bfbcf-3dec-45d2-9d8b-5e10af1cf87d + implicitWidth: 360 + color: control.Material.dialogColor + // FullScale doesn't make sense for Drawer. + radius: control.Material.roundedScale + leftPadding: edge === Qt.LeftEdge ? -radius : 0 + rightPadding: edge === Qt.RightEdge ? -radius : 0 + topPadding: edge === Qt.TopEdge ? -radius : 0 + bottomPadding: edge === Qt.BottomEdge ? -radius : 0 + clip: true + + layer.enabled: control.position > 0 && control.Material.elevation > 0 + layer.effect: RoundedElevationEffect { + elevation: control.Material.elevation + roundedScale: control.background.radius + } + } + + T.Overlay.modal: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } + + T.Overlay.modeless: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Frame.qml b/bin/qml/QtQuick/Controls/Material/Frame.qml new file mode 100644 index 000000000..8b6674e16 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Frame.qml @@ -0,0 +1,30 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.Frame { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + verticalPadding: Material.frameVerticalPadding + + background: Rectangle { + radius: 2 + color: control.Material.elevation > 0 ? control.Material.backgroundColor : "transparent" + border.color: control.Material.frameColor + + layer.enabled: control.enabled && control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/GroupBox.qml b/bin/qml/QtQuick/Controls/Material/GroupBox.qml new file mode 100644 index 000000000..be7e6fbad --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/GroupBox.qml @@ -0,0 +1,48 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.GroupBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 6 + padding: 12 + topPadding: Material.frameVerticalPadding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) + bottomPadding: Material.frameVerticalPadding + + label: Text { + x: control.leftPadding + width: control.availableWidth + + text: control.title + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + + background: Rectangle { + y: control.topPadding - control.bottomPadding + width: parent.width + height: parent.height - control.topPadding + control.bottomPadding + + radius: 2 + color: control.Material.elevation > 0 ? control.Material.backgroundColor : "transparent" + border.color: control.Material.frameColor + + layer.enabled: control.enabled && control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/HorizontalHeaderView.qml b/bin/qml/QtQuick/Controls/Material/HorizontalHeaderView.qml new file mode 100644 index 000000000..76060d8e8 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/HorizontalHeaderView.qml @@ -0,0 +1,44 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.HorizontalHeaderView { + id: control + + implicitWidth: syncView ? syncView.width : 0 + // The contentHeight of TableView will be zero at start-up, until the delegate + // items have been loaded. This means that even if the implicit height of + // HorizontalHeaderView should be the same as the content height in the end, we + // need to ensure that it has at least a height of 1 at start-up, otherwise + // TableView won't bother loading any delegates at all. + implicitHeight: Math.max(1, contentHeight) + + delegate: Rectangle { + id: delegate + + required property var model + + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: text.implicitWidth + (cellPadding * 2) + implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) + color: control.Material.backgroundColor + + Label { + id: text + text: delegate.model[control.textRole] + width: delegate.width + height: delegate.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: enabled ? control.Material.foreground : control.Material.hintTextColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/ItemDelegate.qml b/bin/qml/QtQuick/Controls/Material/ItemDelegate.qml new file mode 100644 index 000000000..f394106d3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ItemDelegate.qml @@ -0,0 +1,55 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.ItemDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 8 + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: enabled && (control.down || control.visualFocus || control.hovered) + color: control.Material.rippleColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Label.qml b/bin/qml/QtQuick/Controls/Material/Label.qml new file mode 100644 index 000000000..ce4e01a05 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Label.qml @@ -0,0 +1,13 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.Label { + id: control + + color: enabled ? Material.foreground : Material.hintTextColor + linkColor: Material.accentColor +} diff --git a/bin/qml/QtQuick/Controls/Material/Menu.qml b/bin/qml/QtQuick/Controls/Material/Menu.qml new file mode 100644 index 000000000..641bb7c07 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Menu.qml @@ -0,0 +1,76 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl +import QtQuick.Window + +T.Menu { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 0 + verticalPadding: 8 + + transformOrigin: !cascade ? Item.Top : (mirrored ? Item.TopRight : Item.TopLeft) + + Material.elevation: 4 + Material.roundedScale: Material.ExtraSmallScale + + delegate: MenuItem { } + + enter: Transition { + // grow_fade_in + NumberAnimation { property: "scale"; from: 0.9; to: 1.0; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutCubic; duration: 150 } + } + + exit: Transition { + // shrink_fade_out + NumberAnimation { property: "scale"; from: 1.0; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } + } + + contentItem: ListView { + implicitHeight: contentHeight + + model: control.contentModel + interactive: Window.window + ? contentHeight + control.topPadding + control.bottomPadding > control.height + : false + clip: true + currentIndex: control.currentIndex + + ScrollIndicator.vertical: ScrollIndicator {} + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: control.Material.menuItemHeight + // FullScale doesn't make sense for Menu. + radius: control.Material.roundedScale + color: control.Material.dialogColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: RoundedElevationEffect { + elevation: control.Material.elevation + roundedScale: control.background.radius + } + } + + T.Overlay.modal: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } + + T.Overlay.modeless: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/MenuBar.qml b/bin/qml/QtQuick/Controls/Material/MenuBar.qml new file mode 100644 index 000000000..c31b5b315 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/MenuBar.qml @@ -0,0 +1,31 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.MenuBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + delegate: MenuBarItem { } + + contentItem: Row { + spacing: control.spacing + Repeater { + model: control.contentModel + } + } + + background: Rectangle { + implicitHeight: 40 + color: control.Material.dialogColor + } +} diff --git a/bin/qml/QtQuick/Controls/Material/MenuBarItem.qml b/bin/qml/QtQuick/Controls/Material/MenuBarItem.qml new file mode 100644 index 000000000..1ef47659f --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/MenuBarItem.qml @@ -0,0 +1,55 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.MenuBarItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 12 + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitWidth: 40 + implicitHeight: 40 + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.highlighted + color: control.Material.rippleColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/MenuItem.qml b/bin/qml/QtQuick/Controls/Material/MenuItem.qml new file mode 100644 index 000000000..34e88a1e0 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/MenuItem.qml @@ -0,0 +1,78 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.MenuItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: Material.menuItemVerticalPadding + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + visible: control.checkable + control: control + checkState: control.checked ? Qt.Checked : Qt.Unchecked + } + + arrow: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.subMenu + mirror: control.mirrored + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Material/images/arrow-indicator.png" + } + + contentItem: IconLabel { + readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 + readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 + leftPadding: !control.mirrored ? indicatorPadding : arrowPadding + rightPadding: control.mirrored ? indicatorPadding : arrowPadding + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: control.Material.menuItemHeight + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.highlighted + color: control.Material.rippleColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/MenuSeparator.qml b/bin/qml/QtQuick/Controls/Material/MenuSeparator.qml new file mode 100644 index 000000000..c0c9fb34e --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/MenuSeparator.qml @@ -0,0 +1,23 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.MenuSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + verticalPadding: 8 + + contentItem: Rectangle { + implicitWidth: 200 + implicitHeight: 1 + color: control.Material.dividerColor + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Page.qml b/bin/qml/QtQuick/Controls/Material/Page.qml new file mode 100644 index 000000000..f8a1804f3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Page.qml @@ -0,0 +1,29 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.Page { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + background: Rectangle { + color: control.Material.backgroundColor + + layer.enabled: control.enabled && control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/PageIndicator.qml b/bin/qml/QtQuick/Controls/Material/PageIndicator.qml new file mode 100644 index 000000000..a64ab67b5 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/PageIndicator.qml @@ -0,0 +1,44 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.PageIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + delegate: Rectangle { + implicitWidth: 8 + implicitHeight: 8 + + radius: width / 2 + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + + // qmllint disable unqualified + // We can't make "pressed" a required property, as QQuickPageIndicator doesn't create + // the delegates, and so it can't set it as an initial property. + opacity: index === control.currentIndex ? 0.95 : pressed ? 0.7 : 0.45 + + required property int index + + Behavior on opacity { OpacityAnimator { duration: 100 } } + } + + contentItem: Row { + spacing: control.spacing + + Repeater { + model: control.count + delegate: control.delegate + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Pane.qml b/bin/qml/QtQuick/Controls/Material/Pane.qml new file mode 100644 index 000000000..80385a073 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Pane.qml @@ -0,0 +1,30 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.Pane { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + Material.roundedScale: control.Material.elevation > 0 ? Material.ExtraSmallScale : Material.NotRounded + + background: Rectangle { + color: control.Material.backgroundColor + radius: control.Material.roundedScale + + layer.enabled: control.enabled && control.Material.elevation > 0 + layer.effect: RoundedElevationEffect { + elevation: control.Material.elevation + roundedScale: control.background.radius + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Popup.qml b/bin/qml/QtQuick/Controls/Material/Popup.qml new file mode 100644 index 000000000..c161f2305 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Popup.qml @@ -0,0 +1,55 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.Popup { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + Material.elevation: 4 + Material.roundedScale: Material.ExtraSmallScale + + enter: Transition { + // grow_fade_in + NumberAnimation { property: "scale"; from: 0.9; to: 1.0; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutCubic; duration: 150 } + } + + exit: Transition { + // shrink_fade_out + NumberAnimation { property: "scale"; from: 1.0; to: 0.9; easing.type: Easing.OutQuint; duration: 220 } + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.OutCubic; duration: 150 } + } + + background: Rectangle { + // FullScale doesn't make sense for Popup. + radius: control.Material.roundedScale + color: control.Material.dialogColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: RoundedElevationEffect { + elevation: control.Material.elevation + roundedScale: control.background.radius + } + } + + T.Overlay.modal: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } + + T.Overlay.modeless: Rectangle { + color: control.Material.backgroundDimColor + Behavior on opacity { NumberAnimation { duration: 150 } } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/ProgressBar.qml b/bin/qml/QtQuick/Controls/Material/ProgressBar.qml new file mode 100644 index 000000000..073088bdd --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ProgressBar.qml @@ -0,0 +1,34 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.ProgressBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: ProgressBarImpl { + implicitHeight: 4 + + scale: control.mirrored ? -1 : 1 + color: control.Material.accentColor + progress: control.position + indeterminate: control.visible && control.indeterminate + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 4 + y: (control.height - height) / 2 + height: 4 + + color: Qt.rgba(control.Material.accentColor.r, control.Material.accentColor.g, control.Material.accentColor.b, 0.25) + } +} diff --git a/bin/qml/QtQuick/Controls/Material/RadioButton.qml b/bin/qml/QtQuick/Controls/Material/RadioButton.qml new file mode 100644 index 000000000..00c939009 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/RadioButton.qml @@ -0,0 +1,50 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.RadioButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 8 + padding: 8 + verticalPadding: padding + 6 + + indicator: RadioIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + + Ripple { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 28; height: 28 + + z: -1 + anchor: control + pressed: control.pressed + active: control.down || control.visualFocus || control.hovered + color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/bin/qml/QtQuick/Controls/Material/RadioDelegate.qml b/bin/qml/QtQuick/Controls/Material/RadioDelegate.qml new file mode 100644 index 000000000..ad9f95443 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/RadioDelegate.qml @@ -0,0 +1,64 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.RadioDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 8 + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + indicator: RadioIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.Material.rippleColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/RangeSlider.qml b/bin/qml/QtQuick/Controls/Material/RangeSlider.qml new file mode 100644 index 000000000..7547d3d04 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/RangeSlider.qml @@ -0,0 +1,98 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.RangeSlider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + first.implicitHandleWidth + leftPadding + rightPadding, + second.implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + first.implicitHandleHeight + topPadding + bottomPadding, + second.implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + // The RangeSlider is discrete if all of the following requirements are met: + // * stepSize is positive + // * snapMode is set to SnapAlways + // * the difference between to and from is cleanly divisible by the stepSize + // * the number of tick marks intended to be rendered is less than the width to height ratio, or vice versa for vertical sliders. + readonly property real __steps: Math.abs(to - from) / stepSize + readonly property bool __isDiscrete: stepSize >= Number.EPSILON + && snapMode === Slider.SnapAlways + && Math.abs(Math.round(__steps) - __steps) < Number.EPSILON + && Math.floor(__steps) < (horizontal ? background.width / background.height : background.height / background.width) + + first.handle: SliderHandle { + x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) + value: control.first.value + handleHasFocus: activeFocus + handlePressed: control.first.pressed + handleHovered: control.first.hovered + } + + second.handle: SliderHandle { + x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) + value: control.second.value + handleHasFocus: activeFocus + handlePressed: control.second.pressed + handleHovered: control.second.hovered + } + + background: Item { + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + implicitWidth: control.horizontal ? 200 : 48 + implicitHeight: control.horizontal ? 48 : 200 + width: control.horizontal ? control.availableWidth : 4 + height: control.horizontal ? 4 : control.availableHeight + + Rectangle { + x: (control.horizontal ? (control.first.implicitHandleWidth / 2) - (control.__isDiscrete ? 2 : 0) : 0) + y: (control.horizontal ? 0 : (control.first.implicitHandleHeight / 2) - (control.__isDiscrete ? 2 : 0)) + width: parent.width - (control.horizontal ? (control.first.implicitHandleWidth - (control.__isDiscrete ? 4 : 0)) : 0) + height: parent.height - (control.horizontal ? 0 : (control.first.implicitHandleHeight - (control.__isDiscrete ? 4 : 0))) + scale: control.horizontal && control.mirrored ? -1 : 1 + radius: Math.min(width, height) / 2 + color: control.enabled ? Color.transparent(control.Material.accentColor, 0.33) : control.Material.sliderDisabledColor + + Rectangle { + x: control.horizontal ? control.first.position * parent.width : 0 + y: control.horizontal ? 0 : control.second.visualPosition * parent.height + width: control.horizontal ? control.second.position * parent.width - control.first.position * parent.width : 4 + height: control.horizontal ? 4 : control.second.position * parent.height - control.first.position * parent.height + radius: Math.min(width, height) / 2 + color: control.enabled ? control.Material.accentColor : control.Material.sliderDisabledColor + } + + // Declaring this as a property (in combination with the parent binding below) avoids ids, + // which prevent deferred execution. + property Repeater repeater: Repeater { + parent: control.background.children[0] + model: control.__isDiscrete ? Math.floor(control.__steps) + 1 : 0 + delegate: Rectangle { + width: 2 + height: 2 + radius: 2 + x: control.horizontal ? (parent.width - width * 2) * currentPosition + (width / 2) : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : (parent.height - height * 2) * currentPosition + (height / 2) + color: (control.horizontal && control.first.visualPosition < currentPosition && control.second.visualPosition > currentPosition) + || (!control.horizontal && control.first.visualPosition > currentPosition && control.second.visualPosition < currentPosition) + ? control.Material.primaryHighlightedTextColor : control.Material.accentColor + + required property int index + readonly property real currentPosition: index / (parent.repeater.count - 1) + } + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/RoundButton.qml b/bin/qml/QtQuick/Controls/Material/RoundButton.qml new file mode 100644 index 000000000..4e3db36fc --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/RoundButton.qml @@ -0,0 +1,80 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.RoundButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + topInset: 6 + leftInset: 6 + rightInset: 6 + bottomInset: 6 + padding: 12 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: !enabled ? Material.hintTextColor : + flat && highlighted ? Material.accentColor : + highlighted ? Material.primaryHighlightedTextColor : Material.foreground + + Material.elevation: control.down ? 8 : 2 + Material.background: flat ? "transparent" : undefined + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Material.hintTextColor : + control.flat && control.highlighted ? control.Material.accentColor : + control.highlighted ? control.Material.primaryHighlightedTextColor : control.Material.foreground + } + + // TODO: Add a proper ripple/ink effect for mouse/touch input and focus state + background: Rectangle { + implicitWidth: control.Material.buttonHeight + implicitHeight: control.Material.buttonHeight + + radius: control.radius + color: control.Material.buttonColor(control.Material.theme, control.Material.background, + control.Material.accent, control.enabled, control.flat, control.highlighted, false /*checked*/) + + Rectangle { + width: parent.width + height: parent.height + radius: control.radius + visible: enabled && (control.hovered || control.visualFocus) + color: control.Material.rippleColor + } + + Rectangle { + width: parent.width + height: parent.height + radius: control.radius + visible: control.down + color: control.Material.rippleColor + } + + // The layer is disabled when the button color is transparent so that you can do + // Material.background: "transparent" and get a proper flat button without needing + // to set Material.elevation as well + layer.enabled: control.enabled && color.a > 0 && !control.flat + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/ScrollBar.qml b/bin/qml/QtQuick/Controls/Material/ScrollBar.qml new file mode 100644 index 000000000..b377f4042 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ScrollBar.qml @@ -0,0 +1,56 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.ScrollBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: control.interactive ? 1 : 2 + visible: control.policy !== T.ScrollBar.AlwaysOff + minimumSize: orientation === Qt.Horizontal ? height / width : width / height + + contentItem: Rectangle { + implicitWidth: control.interactive ? 13 : 4 + implicitHeight: control.interactive ? 13 : 4 + + color: control.pressed ? control.Material.scrollBarPressedColor : + control.interactive && control.hovered ? control.Material.scrollBarHoveredColor : control.Material.scrollBarColor + opacity: 0.0 + } + + background: Rectangle { + implicitWidth: control.interactive ? 16 : 4 + implicitHeight: control.interactive ? 16 : 4 + color: "#0e000000" + opacity: 0.0 + visible: control.interactive + } + + states: State { + name: "active" + when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) + } + + transitions: [ + Transition { + to: "active" + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 1.0 } + }, + Transition { + from: "active" + SequentialAnimation { + PropertyAction{ targets: [control.contentItem, control.background]; property: "opacity"; value: 1.0 } + PauseAnimation { duration: 2450 } + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 0.0 } + } + } + ] +} diff --git a/bin/qml/QtQuick/Controls/Material/ScrollIndicator.qml b/bin/qml/QtQuick/Controls/Material/ScrollIndicator.qml new file mode 100644 index 000000000..71f7eea10 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ScrollIndicator.qml @@ -0,0 +1,42 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.ScrollIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 2 + + contentItem: Rectangle { + implicitWidth: 4 + implicitHeight: 4 + + color: control.Material.scrollBarColor + visible: control.size < 1.0 + opacity: 0.0 + + states: State { + name: "active" + when: control.active + PropertyChanges { control.contentItem.opacity: 0.75 } + } + + transitions: [ + Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 450 } + NumberAnimation { target: control.contentItem; duration: 200; property: "opacity"; to: 0.0 } + } + } + ] + } +} diff --git a/bin/qml/QtQuick/Controls/Material/ScrollView.qml b/bin/qml/QtQuick/Controls/Material/ScrollView.qml new file mode 100644 index 000000000..60789313c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ScrollView.qml @@ -0,0 +1,31 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ScrollView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + ScrollBar.vertical: ScrollBar { + parent: control + x: control.mirrored ? 0 : control.width - width + y: control.topPadding + height: control.availableHeight + active: control.ScrollBar.horizontal.active + } + + ScrollBar.horizontal: ScrollBar { + parent: control + x: control.leftPadding + y: control.height - height + width: control.availableWidth + active: control.ScrollBar.vertical.active + } +} diff --git a/bin/qml/QtQuick/Controls/Material/SelectionRectangle.qml b/bin/qml/QtQuick/Controls/Material/SelectionRectangle.qml new file mode 100644 index 000000000..4e1b425f4 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/SelectionRectangle.qml @@ -0,0 +1,33 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.SelectionRectangle { + id: control + + topLeftHandle: handle + bottomRightHandle: handle + + Component { + id: handle + SliderHandle { + palette: SelectionRectangle.control.palette + handlePressed: tapHandler.pressed || SelectionRectangle.dragging + handleHovered: hoverHandler.hovered + visible: SelectionRectangle.control.active + + HoverHandler { + id: hoverHandler + } + + TapHandler { + id: tapHandler + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Slider.qml b/bin/qml/QtQuick/Controls/Material/Slider.qml new file mode 100644 index 000000000..817b3022a --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Slider.qml @@ -0,0 +1,87 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + // The Slider is discrete if all of the following requirements are met: + // * stepSize is positive + // * snapMode is set to SnapAlways + // * the difference between to and from is cleanly divisible by the stepSize + // * the number of tick marks intended to be rendered is less than the width to height ratio, or vice versa for vertical sliders. + readonly property real __steps: Math.abs(to - from) / stepSize + readonly property bool __isDiscrete: stepSize >= Number.EPSILON + && snapMode === Slider.SnapAlways + && Math.abs(Math.round(__steps) - __steps) < Number.EPSILON + && Math.floor(__steps) < (horizontal ? background.width / background.height : background.height / background.width) + + handle: SliderHandle { + x: control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) + value: control.value + handleHasFocus: control.visualFocus + handlePressed: control.pressed + handleHovered: control.hovered + } + + background: Item { + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + implicitWidth: control.horizontal ? 200 : 48 + implicitHeight: control.horizontal ? 48 : 200 + width: control.horizontal ? control.availableWidth : 4 + height: control.horizontal ? 4 : control.availableHeight + + Rectangle { + x: (control.horizontal ? (control.implicitHandleWidth / 2) - (control.__isDiscrete ? 2 : 0) : 0) + y: (control.horizontal ? 0 : (control.implicitHandleHeight / 2) - (control.__isDiscrete ? 2 : 0)) + width: parent.width - (control.horizontal ? (control.implicitHandleWidth - (control.__isDiscrete ? 4 : 0)) : 0) + height: parent.height - (control.horizontal ? 0 : (control.implicitHandleHeight - (control.__isDiscrete ? 4 : 0))) + scale: control.horizontal && control.mirrored ? -1 : 1 + radius: Math.min(width, height) / 2 + color: control.enabled ? Color.transparent(control.Material.accentColor, 0.33) : control.Material.sliderDisabledColor + + Rectangle { + x: control.horizontal ? 0 : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : control.visualPosition * parent.height + width: control.horizontal ? control.position * parent.width : 4 + height: control.horizontal ? 4 : control.position * parent.height + radius: Math.min(width, height) / 2 + color: control.enabled ? control.Material.accentColor : control.Material.sliderDisabledColor + } + + // Declaring this as a property (in combination with the parent binding below) avoids ids, + // which prevent deferred execution. + property Repeater repeater: Repeater { + parent: control.background.children[0] + model: control.__isDiscrete ? Math.floor(control.__steps) + 1 : 0 + delegate: Rectangle { + width: 2 + height: 2 + radius: 2 + x: control.horizontal ? (parent.width - width * 2) * currentPosition + (width / 2) : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : (parent.height - height * 2) * currentPosition + (height / 2) + color: (control.horizontal && control.visualPosition > currentPosition) + || (!control.horizontal && control.visualPosition <= currentPosition) + ? control.Material.primaryHighlightedTextColor : control.Material.accentColor + + required property int index + readonly property real currentPosition: index / (parent.repeater.count - 1) + } + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/SpinBox.qml b/bin/qml/QtQuick/Controls/Material/SpinBox.qml new file mode 100644 index 000000000..44fd59f17 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/SpinBox.qml @@ -0,0 +1,120 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.SpinBox { + id: control + + // Note: the width of the indicators are calculated into the padding + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + up.implicitIndicatorHeight, down.implicitIndicatorHeight) + + spacing: 6 + topPadding: Material.textFieldVerticalPadding + bottomPadding: Material.textFieldVerticalPadding + leftPadding: control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0) + rightPadding: control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0) + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + text: control.displayText + + font: control.font + color: enabled ? control.Material.foreground : control.Material.hintTextColor + selectionColor: control.Material.textSelectionColor + selectedTextColor: control.Material.foreground + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignVCenter + + cursorDelegate: CursorDelegate { } + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + clip: width < implicitWidth + } + + up.indicator: Item { + x: control.mirrored ? 0 : control.width - width + implicitWidth: control.Material.touchTarget + implicitHeight: control.Material.touchTarget + height: control.height + width: height + + Ripple { + clipRadius: 2 + x: control.spacing + y: control.spacing + width: parent.width - 2 * control.spacing + height: parent.height - 2 * control.spacing + pressed: control.up.pressed + active: control.up.pressed || control.up.hovered || control.visualFocus + color: control.Material.rippleColor + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: Math.min(parent.width / 3, parent.height / 3) + height: 2 + color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor + } + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 2 + height: Math.min(parent.width / 3, parent.height / 3) + color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor + } + } + + down.indicator: Item { + x: control.mirrored ? control.width - width : 0 + implicitWidth: control.Material.touchTarget + implicitHeight: control.Material.touchTarget + height: control.height + width: height + + Ripple { + clipRadius: 2 + x: control.spacing + y: control.spacing + width: parent.width - 2 * control.spacing + height: parent.height - 2 * control.spacing + pressed: control.down.pressed + active: control.down.pressed || control.down.hovered || control.visualFocus + color: control.Material.rippleColor + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: parent.width / 3 + height: 2 + color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor + } + } + + background: MaterialTextContainer { + implicitWidth: 140 + implicitHeight: control.Material.textFieldHeight + + outlineColor: (enabled && control.hovered) ? control.Material.primaryTextColor : control.Material.hintTextColor + focusedOutlineColor: control.Material.accentColor + controlHasActiveFocus: control.activeFocus + controlHasText: true + horizontalPadding: control.Material.textFieldHorizontalPadding + } +} diff --git a/bin/qml/QtQuick/Controls/Material/SplitView.qml b/bin/qml/QtQuick/Controls/Material/SplitView.qml new file mode 100644 index 000000000..0c53a0f55 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/SplitView.qml @@ -0,0 +1,40 @@ +// Copyright (C) 2018 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material + +T.SplitView { + id: control + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + handle: Rectangle { + implicitWidth: control.orientation === Qt.Horizontal ? 6 : control.width + implicitHeight: control.orientation === Qt.Horizontal ? control.height : 6 + color: T.SplitHandle.pressed ? control.Material.background + : Qt.lighter(control.Material.background, T.SplitHandle.hovered ? 1.2 : 1.1) + + Rectangle { + color: control.Material.secondaryTextColor + width: control.orientation === Qt.Horizontal ? thickness : length + height: control.orientation === Qt.Horizontal ? length : thickness + radius: thickness + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + + property int length: parent.T.SplitHandle.pressed ? 3 : 8 + readonly property int thickness: parent.T.SplitHandle.pressed ? 3 : 1 + + Behavior on length { + NumberAnimation { + duration: 100 + } + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/StackView.qml b/bin/qml/QtQuick/Controls/Material/StackView.qml new file mode 100644 index 000000000..c3182442a --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/StackView.qml @@ -0,0 +1,63 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.StackView { + id: control + + component LineAnimation: NumberAnimation { + duration: 200 + easing.type: Easing.OutCubic + } + + component FadeIn: LineAnimation { + property: "opacity" + from: 0.0 + to: 1.0 + } + + component FadeOut: LineAnimation { + property: "opacity" + from: 1.0 + to: 0.0 + } + + popEnter: Transition { + // slide_in_left + LineAnimation { property: "x"; from: (control.mirrored ? -0.5 : 0.5) * -control.width; to: 0 } + FadeIn {} + } + + popExit: Transition { + // slide_out_right + LineAnimation { property: "x"; from: 0; to: (control.mirrored ? -0.5 : 0.5) * control.width } + FadeOut {} + } + + pushEnter: Transition { + // slide_in_right + LineAnimation { property: "x"; from: (control.mirrored ? -0.5 : 0.5) * control.width; to: 0 } + FadeIn {} + } + + pushExit: Transition { + // slide_out_left + LineAnimation { property: "x"; from: 0; to: (control.mirrored ? -0.5 : 0.5) * -control.width } + FadeOut {} + } + + replaceEnter: Transition { + // slide_in_right + LineAnimation { property: "x"; from: (control.mirrored ? -0.5 : 0.5) * control.width; to: 0 } + FadeIn {} + } + + replaceExit: Transition { + // slide_out_left + LineAnimation { property: "x"; from: 0; to: (control.mirrored ? -0.5 : 0.5) * -control.width } + FadeOut {} + } +} diff --git a/bin/qml/QtQuick/Controls/Material/SwipeDelegate.qml b/bin/qml/QtQuick/Controls/Material/SwipeDelegate.qml new file mode 100644 index 000000000..d445dafac --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/SwipeDelegate.qml @@ -0,0 +1,65 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.SwipeDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 8 + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.Material.backgroundColor + + Rectangle { + width: parent.width + height: parent.height + visible: control.highlighted + color: control.Material.listHighlightColor + } + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: enabled && (control.down || control.visualFocus || control.hovered) + color: control.Material.rippleColor + enabled: control.swipe.position === 0 + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/SwipeView.qml b/bin/qml/QtQuick/Controls/Material/SwipeView.qml new file mode 100644 index 000000000..72e63dd4d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/SwipeView.qml @@ -0,0 +1,33 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.SwipeView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + contentItem: ListView { + model: control.contentModel + interactive: control.interactive + currentIndex: control.currentIndex + focus: control.focus + + spacing: control.spacing + orientation: control.orientation + snapMode: ListView.SnapOneItem + boundsBehavior: Flickable.StopAtBounds + + highlightRangeMode: ListView.StrictlyEnforceRange + preferredHighlightBegin: 0 + preferredHighlightEnd: 0 + highlightMoveDuration: 250 + maximumFlickVelocity: 4 * (control.orientation === Qt.Horizontal ? width : height) + } +} diff --git a/bin/qml/QtQuick/Controls/Material/Switch.qml b/bin/qml/QtQuick/Controls/Material/Switch.qml new file mode 100644 index 000000000..29a129768 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Switch.qml @@ -0,0 +1,55 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl +import QtQuick.Templates as T + +T.Switch { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 8 + spacing: 8 + + icon.width: 16 + icon.height: 16 + icon.color: checked + ? (Material.theme === Material.Light + ? enabled ? Qt.darker(Material.switchCheckedTrackColor, 1.8) : Material.switchDisabledCheckedIconColor + : enabled ? Material.primaryTextColor : Material.switchDisabledCheckedIconColor) + : enabled ? Material.switchUncheckedTrackColor : Material.switchDisabledUncheckedIconColor + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + + Ripple { + x: parent.handle.x + parent.handle.width / 2 - width / 2 + y: parent.handle.y + parent.handle.height / 2 - height / 2 + width: 28 + height: 28 + pressed: control.pressed + active: enabled && (control.down || control.visualFocus || control.hovered) + color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor + } + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } +} diff --git a/bin/qml/QtQuick/Controls/Material/SwitchDelegate.qml b/bin/qml/QtQuick/Controls/Material/SwitchDelegate.qml new file mode 100644 index 000000000..39423887f --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/SwitchDelegate.qml @@ -0,0 +1,64 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.SwitchDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: Material.switchDelegateVerticalPadding + spacing: 16 + + icon.width: 24 + icon.height: 24 + icon.color: enabled ? Material.foreground : Material.hintTextColor + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: control.enabled ? control.Material.foreground : control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.highlighted ? control.Material.listHighlightColor : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: enabled && (control.down || control.visualFocus || control.hovered) + color: control.Material.rippleColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/TabBar.qml b/bin/qml/QtQuick/Controls/Material/TabBar.qml new file mode 100644 index 000000000..5daffc979 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/TabBar.qml @@ -0,0 +1,56 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.TabBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 1 + + contentItem: ListView { + model: control.contentModel + currentIndex: control.currentIndex + + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + flickableDirection: Flickable.AutoFlickIfNeeded + snapMode: ListView.SnapToItem + + highlightMoveDuration: 250 + highlightResizeDuration: 0 + highlightFollowsCurrentItem: true + highlightRangeMode: ListView.ApplyRange + preferredHighlightBegin: 48 + preferredHighlightEnd: width - 48 + + highlight: Item { + z: 2 + Rectangle { + height: 2 + width: parent.width + y: control.position === T.TabBar.Footer ? 0 : parent.height - height + color: control.Material.accentColor + } + } + } + + background: Rectangle { + color: control.Material.backgroundColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + fullWidth: true + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/TabButton.qml b/bin/qml/QtQuick/Controls/Material/TabButton.qml new file mode 100644 index 000000000..a57f652d3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/TabButton.qml @@ -0,0 +1,45 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.TabButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: !enabled ? Material.hintTextColor : down || checked ? Material.accentColor : Material.foreground + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Material.hintTextColor : control.down || control.checked ? control.Material.accentColor : control.Material.foreground + } + + background: Ripple { + implicitHeight: control.Material.touchTarget + + clip: true + pressed: control.pressed + anchor: control + active: enabled && (control.down || control.visualFocus || control.hovered) + color: control.Material.rippleColor + } +} diff --git a/bin/qml/QtQuick/Controls/Material/TextArea.qml b/bin/qml/QtQuick/Controls/Material/TextArea.qml new file mode 100644 index 000000000..99efa222c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/TextArea.qml @@ -0,0 +1,83 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset) + + // If we're clipped, or we're in a Flickable that's clipped, set our topInset + // to half the height of the placeholder text to avoid it being clipped. + topInset: clip || (parent?.parent as Flickable && parent?.parent.clip) ? placeholder.largestHeight / 2 : 0 + + leftPadding: Material.textFieldHorizontalPadding + rightPadding: Material.textFieldHorizontalPadding + // Need to account for the placeholder text when it's sitting on top. + topPadding: Material.containerStyle === Material.Filled && placeholderText.length > 0 && (activeFocus || length > 0) + ? Material.textFieldVerticalPadding + placeholder.largestHeight + // When the condition above is not met, the text should always sit in the middle + // of a default-height TextArea, which is just near the top for a higher-than-default one. + // Account for any topInset as well, otherwise the text will be too close to the background. + : ((implicitBackgroundHeight - placeholder.largestHeight) / 2) + topInset + bottomPadding: Material.textFieldVerticalPadding + + color: enabled ? Material.foreground : Material.hintTextColor + selectionColor: Material.accentColor + selectedTextColor: Material.primaryHighlightedTextColor + placeholderTextColor: enabled && activeFocus ? Material.accentColor : Material.hintTextColor + + Material.containerStyle: Material.Outlined + + cursorDelegate: CursorDelegate { } + + FloatingPlaceholderText { + id: placeholder + // Don't set this to control.leftPadding, because we don't want it to change if the user changes leftPadding. + x: control.Material.textFieldHorizontalPadding + width: control.width - (control.leftPadding + control.rightPadding) + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + elide: Text.ElideRight + renderType: control.renderType + // When the TextArea is in a Flickable, the background is reparented to it + // so that decorations don't move with the content. We need to do the same. + // Also allow the background to be set to null; in that case we're just not visible. + parent: control.background?.parent ?? null + + filled: control.Material.containerStyle === Material.Filled + verticalPadding: control.Material.textFieldVerticalPadding + controlHasActiveFocus: control.activeFocus + controlHasText: control.length > 0 + controlImplicitBackgroundHeight: control.implicitBackgroundHeight + controlHeight: control.height + } + + background: MaterialTextContainer { + implicitWidth: 120 + implicitHeight: control.Material.textFieldHeight + + filled: control.Material.containerStyle === Material.Filled + fillColor: control.Material.textFieldFilledContainerColor + outlineColor: (enabled && control.hovered) ? control.Material.primaryTextColor : control.Material.hintTextColor + focusedOutlineColor: control.Material.accentColor + // When the control's size is set larger than its implicit size, use whatever size is smaller + // so that the gap isn't too big. + placeholderTextWidth: Math.min(placeholder.width, placeholder.implicitWidth) * placeholder.scale + placeholderTextHAlign: control.effectiveHorizontalAlignment + controlHasActiveFocus: control.activeFocus + controlHasText: control.length > 0 + placeholderHasText: placeholder.text.length > 0 + horizontalPadding: control.Material.textFieldHorizontalPadding + } +} diff --git a/bin/qml/QtQuick/Controls/Material/TextField.qml b/bin/qml/QtQuick/Controls/Material/TextField.qml new file mode 100644 index 000000000..9294146fa --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/TextField.qml @@ -0,0 +1,79 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.TextField { + id: control + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + // If we're clipped, set topInset to half the height of the placeholder text to avoid it being clipped. + topInset: clip ? placeholder.largestHeight / 2 : 0 + + leftPadding: Material.textFieldHorizontalPadding + rightPadding: Material.textFieldHorizontalPadding + // Need to account for the placeholder text when it's sitting on top. + topPadding: Material.containerStyle === Material.Filled + ? placeholderText.length > 0 && (activeFocus || length > 0) + ? Material.textFieldVerticalPadding + placeholder.largestHeight + : Material.textFieldVerticalPadding + // Account for any topInset (used to avoid floating placeholder text being clipped), + // otherwise the text will be too close to the background. + : Material.textFieldVerticalPadding + topInset + bottomPadding: Material.textFieldVerticalPadding + + color: enabled ? Material.foreground : Material.hintTextColor + selectionColor: Material.accentColor + selectedTextColor: Material.primaryHighlightedTextColor + placeholderTextColor: enabled && activeFocus ? Material.accentColor : Material.hintTextColor + verticalAlignment: TextInput.AlignVCenter + + Material.containerStyle: Material.Outlined + + cursorDelegate: CursorDelegate { } + + FloatingPlaceholderText { + id: placeholder + // Don't set this to control.leftPadding, because we don't want it to change if the user changes leftPadding. + x: control.Material.textFieldHorizontalPadding + width: control.width - (control.leftPadding + control.rightPadding) + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + elide: Text.ElideRight + renderType: control.renderType + + filled: control.Material.containerStyle === Material.Filled + verticalPadding: control.Material.textFieldVerticalPadding + controlHasActiveFocus: control.activeFocus + controlHasText: control.length > 0 + controlImplicitBackgroundHeight: control.implicitBackgroundHeight + controlHeight: control.height + } + + background: MaterialTextContainer { + implicitWidth: 120 + implicitHeight: control.Material.textFieldHeight + + filled: control.Material.containerStyle === Material.Filled + fillColor: control.Material.textFieldFilledContainerColor + outlineColor: (enabled && control.hovered) ? control.Material.primaryTextColor : control.Material.hintTextColor + focusedOutlineColor: control.Material.accentColor + // When the control's size is set larger than its implicit size, use whatever size is smaller + // so that the gap isn't too big. + placeholderTextWidth: Math.min(placeholder.width, placeholder.implicitWidth) * placeholder.scale + placeholderTextHAlign: control.effectiveHorizontalAlignment + controlHasActiveFocus: control.activeFocus + controlHasText: control.length > 0 + placeholderHasText: placeholder.text.length > 0 + horizontalPadding: control.Material.textFieldHorizontalPadding + } +} diff --git a/bin/qml/QtQuick/Controls/Material/ToolBar.qml b/bin/qml/QtQuick/Controls/Material/ToolBar.qml new file mode 100644 index 000000000..71eb56833 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ToolBar.qml @@ -0,0 +1,33 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.ToolBar { + id: control + + Material.elevation: 0 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + Material.foreground: Material.toolTextColor + + spacing: 16 + + background: Rectangle { + implicitHeight: 48 + color: control.Material.toolBarColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + fullWidth: true + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/ToolButton.qml b/bin/qml/QtQuick/Controls/Material/ToolButton.qml new file mode 100644 index 000000000..ac397edee --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ToolButton.qml @@ -0,0 +1,53 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.ToolButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + icon.width: 24 + icon.height: 24 + icon.color: !enabled ? Material.hintTextColor : checked || highlighted ? Material.accent : Material.foreground + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Material.hintTextColor : + control.checked || control.highlighted ? control.Material.accent : control.Material.foreground + } + + background: Ripple { + implicitWidth: control.Material.touchTarget + implicitHeight: control.Material.touchTarget + + readonly property bool square: control.contentItem.width <= control.contentItem.height + + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + clip: !square + width: square ? parent.height / 2 : parent.width + height: square ? parent.height / 2 : parent.height + pressed: control.pressed + anchor: control + active: control.enabled && (control.down || control.visualFocus || control.hovered) + color: control.Material.rippleColor + } +} diff --git a/bin/qml/QtQuick/Controls/Material/ToolSeparator.qml b/bin/qml/QtQuick/Controls/Material/ToolSeparator.qml new file mode 100644 index 000000000..456067ac0 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ToolSeparator.qml @@ -0,0 +1,24 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.ToolSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + horizontalPadding: vertical ? 12 : 5 + verticalPadding: vertical ? 5 : 12 + + contentItem: Rectangle { + implicitWidth: control.vertical ? 1 : 38 + implicitHeight: control.vertical ? 38 : 1 + color: control.Material.hintTextColor + } +} diff --git a/bin/qml/QtQuick/Controls/Material/ToolTip.qml b/bin/qml/QtQuick/Controls/Material/ToolTip.qml new file mode 100644 index 000000000..b944c2355 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/ToolTip.qml @@ -0,0 +1,50 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.ToolTip { + id: control + + x: parent ? (parent.width - implicitWidth) / 2 : 0 + y: -implicitHeight - 24 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 12 + padding: 8 + horizontalPadding: padding + 8 + + closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent + + Material.theme: Material.Dark + + enter: Transition { + // toast_enter + NumberAnimation { property: "opacity"; from: 0.0; to: 1.0; easing.type: Easing.OutQuad; duration: 500 } + } + + exit: Transition { + // toast_exit + NumberAnimation { property: "opacity"; from: 1.0; to: 0.0; easing.type: Easing.InQuad; duration: 500 } + } + + contentItem: Text { + text: control.text + font: control.font + wrapMode: Text.Wrap + color: control.Material.foreground + } + + background: Rectangle { + implicitHeight: control.Material.tooltipHeight + color: control.Material.tooltipColor + opacity: 0.9 + radius: 2 + } +} diff --git a/bin/qml/QtQuick/Controls/Material/TreeViewDelegate.qml b/bin/qml/QtQuick/Controls/Material/TreeViewDelegate.qml new file mode 100644 index 000000000..9f1d44438 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/TreeViewDelegate.qml @@ -0,0 +1,99 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material + +T.TreeViewDelegate { + id: control + + implicitWidth: leftMargin + __contentIndent + implicitContentWidth + rightPadding + rightMargin + implicitHeight: Math.max(implicitBackgroundHeight, implicitContentHeight, implicitIndicatorHeight) + + indentation: indicator ? indicator.width : 12 + leftMargin: 16 + rightMargin: 16 + spacing: 14 + + topPadding: contentItem ? (height - contentItem.implicitHeight) / 2 : 0 + leftPadding: !mirrored ? leftMargin + __contentIndent : width - leftMargin - __contentIndent - implicitContentWidth + + highlighted: control.selected || control.current + || ((control.treeView.selectionBehavior === TableView.SelectRows + || control.treeView.selectionBehavior === TableView.SelectionDisabled) + && control.row === control.treeView.currentRow) + + required property int row + required property var model + readonly property real __contentIndent: !isTreeNode ? 0 : (depth * indentation) + (indicator ? indicator.width + spacing : 0) + + indicator: Item { + readonly property real __indicatorIndent: control.leftMargin + (control.depth * control.indentation) + x: !control.mirrored ? __indicatorIndent : control.width - __indicatorIndent - width + y: (control.height - height) / 2 + implicitWidth: Math.max(arrow.implicitWidth, 20) + implicitHeight: control.Material.buttonHeight + + property ColorImage arrow : ColorImage { + parent: control.indicator + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + rotation: control.expanded ? 90 : (control.mirrored ? 180 : 0) + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Material/images/arrow-indicator.png" + color: control.palette.windowText + defaultColor: "#353637" + } + } + + background: Rectangle { + implicitHeight: control.Material.buttonHeight + color: control.highlighted + ? control.palette.highlight + : (control.treeView.alternatingRows && control.row % 2 !== 0 + ? control.palette.alternateBase : control.palette.base) + } + + contentItem: Label { + text: control.model.display + elide: Text.ElideRight + visible: !control.editing + } + + // The edit delegate is a separate component, and doesn't need + // to follow the same strict rules that are applied to a control. + // qmllint disable attached-property-reuse + // qmllint disable controls-attached-property-reuse + // qmllint disable controls-sanity + TableView.editDelegate: FocusScope { + width: parent.width + height: parent.height + + readonly property int __role: { + let model = control.treeView.model + let index = control.treeView.index(row, column) + let editText = model.data(index, Qt.EditRole) + return editText !== undefined ? Qt.EditRole : Qt.DisplayRole + } + + TextField { + id: textField + x: control.contentItem.x + y: (parent.height - height) / 2 + width: control.contentItem.width + text: control.treeView.model.data(control.treeView.index(row, column), __role) + focus: true + } + + TableView.onCommit: { + let index = TableView.view.index(row, column) + TableView.view.model.setData(index, textField.text, __role) + } + + Component.onCompleted: textField.selectAll() + } + // qmllint enable attached-property-reuse + // qmllint enable controls-attached-property-reuse + // qmllint enable controls-sanity +} diff --git a/bin/qml/QtQuick/Controls/Material/Tumbler.qml b/bin/qml/QtQuick/Controls/Material/Tumbler.qml new file mode 100644 index 000000000..59320cf52 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/Tumbler.qml @@ -0,0 +1,45 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T +import QtQuick.Controls.Material + +T.Tumbler { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + delegate: Text { + text: modelData + color: control.Material.foreground + font: control.font + opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + + required property var modelData + required property int index + } + + contentItem: TumblerView { + implicitWidth: 60 + implicitHeight: 200 + model: control.model + delegate: control.delegate + path: Path { + startX: control.contentItem.width / 2 + startY: -control.contentItem.delegateHeight / 2 + PathLine { + x: control.contentItem.width / 2 + y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 + } + } + + property real delegateHeight: control.availableHeight / control.visibleItemCount + } +} diff --git a/bin/qml/QtQuick/Controls/Material/VerticalHeaderView.qml b/bin/qml/QtQuick/Controls/Material/VerticalHeaderView.qml new file mode 100644 index 000000000..0646f6135 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/VerticalHeaderView.qml @@ -0,0 +1,44 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +T.VerticalHeaderView { + id: control + + // The contentWidth of TableView will be zero at start-up, until the delegate + // items have been loaded. This means that even if the implicit width of + // VerticalHeaderView should be the same as the content width in the end, we + // need to ensure that it has at least a width of 1 at start-up, otherwise + // TableView won't bother loading any delegates at all. + implicitWidth: Math.max(1, contentWidth) + implicitHeight: syncView ? syncView.height : 0 + + delegate: Rectangle { + id: delegate + + required property var model + + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) + implicitHeight: text.implicitHeight + (cellPadding * 2) + color: control.Material.backgroundColor + + Label { + id: text + text: delegate.model[control.textRole] + width: delegate.width + height: delegate.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: enabled ? control.Material.foreground : control.Material.hintTextColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/BoxShadow.qml b/bin/qml/QtQuick/Controls/Material/impl/BoxShadow.qml new file mode 100644 index 000000000..d702389cd --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/BoxShadow.qml @@ -0,0 +1,48 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +/* + A implementation of CSS's box-shadow, used by ElevationEffect for a Material Design + elevation shadow effect. + */ +RectangularGlow { + // The 4 properties from CSS box-shadow, plus the inherited color property + property int offsetX + property int offsetY + property int blurRadius + property int spreadRadius + + // The strength of the shadow. We have this because RectangularGlow spreads + // out the shadow thinly, whereas lower elevation levels in Material 3 + // are less spread out and stronger. This is only used for items with fully-rounded + // corners, like buttons. + property real strength + + // The source item the shadow is being applied to, used for correctly + // calculating the corner radious + property Item source + + property bool fullWidth + property bool fullHeight + + // qmllint disable unqualified + // Intentionally duck-typed (QTBUG-94807) + readonly property real sourceRadius: source && source.radius || 0 + + x: (parent.width - width)/2 + offsetX + y: (parent.height - height)/2 + offsetY + + implicitWidth: source ? source.width : parent.width + implicitHeight: source ? source.height : parent.height + + width: implicitWidth + 2 * spreadRadius + (fullWidth ? 2 * cornerRadius : 0) + height: implicitHeight + 2 * spreadRadius + (fullHeight ? 2 * cornerRadius : 0) + glowRadius: blurRadius/2 + spread: strength + + cornerRadius: blurRadius + sourceRadius +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/CheckIndicator.qml b/bin/qml/QtQuick/Controls/Material/impl/CheckIndicator.qml new file mode 100644 index 000000000..b09567c04 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/CheckIndicator.qml @@ -0,0 +1,87 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +Rectangle { + id: indicatorItem + implicitWidth: 18 + implicitHeight: 18 + color: "transparent" + border.color: !control.enabled ? control.Material.hintTextColor + : checkState !== Qt.Unchecked ? control.Material.accentColor : control.Material.secondaryTextColor + border.width: checkState !== Qt.Unchecked ? width / 2 : 2 + radius: 2 + + property Item control + property int checkState: control.checkState + + Behavior on border.width { + NumberAnimation { + duration: 100 + easing.type: Easing.OutCubic + } + } + + Behavior on border.color { + ColorAnimation { + duration: 100 + easing.type: Easing.OutCubic + } + } + + // TODO: This needs to be transparent + Image { + id: checkImage + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 14 + height: 14 + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Material/images/check.png" + fillMode: Image.PreserveAspectFit + + scale: indicatorItem.checkState === Qt.Checked ? 1 : 0 + Behavior on scale { NumberAnimation { duration: 100 } } + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 12 + height: 3 + + scale: indicatorItem.checkState === Qt.PartiallyChecked ? 1 : 0 + Behavior on scale { NumberAnimation { duration: 100 } } + } + + states: [ + State { + name: "checked" + when: indicatorItem.checkState === Qt.Checked + }, + State { + name: "partiallychecked" + when: indicatorItem.checkState === Qt.PartiallyChecked + } + ] + + transitions: Transition { + SequentialAnimation { + NumberAnimation { + target: indicatorItem + property: "scale" + // Go down 2 pixels in size. + to: 1 - 2 / indicatorItem.width + duration: 120 + } + NumberAnimation { + target: indicatorItem + property: "scale" + to: 1 + duration: 120 + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/CursorDelegate.qml b/bin/qml/QtQuick/Controls/Material/impl/CursorDelegate.qml new file mode 100644 index 000000000..811aa89e3 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/CursorDelegate.qml @@ -0,0 +1,32 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.Material + +Rectangle { + id: cursor + + color: parent.Material.accentColor + width: 2 + visible: parent.activeFocus && !parent.readOnly && parent.selectionStart === parent.selectionEnd + + Connections { + target: cursor.parent + function onCursorPositionChanged() { + // keep a moving cursor visible + cursor.opacity = 1 + timer.restart() + } + } + + Timer { + id: timer + running: cursor.parent.activeFocus && !cursor.parent.readOnly && interval != 0 + repeat: true + interval: Qt.styleHints.cursorFlashTime / 2 + onTriggered: cursor.opacity = !cursor.opacity ? 1 : 0 + // force the cursor visible when gaining focus + onRunningChanged: cursor.opacity = 1 + } +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/ElevationEffect.qml b/bin/qml/QtQuick/Controls/Material/impl/ElevationEffect.qml new file mode 100644 index 000000000..29ec742f4 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/ElevationEffect.qml @@ -0,0 +1,256 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +/* + An effect for standard Material Design elevation shadows. Useful for using as \c layer.effect. + */ +Item { + id: effect + + /* + The source the effect is applied to. + */ + property var source + + /* + The elevation of the \l source Item. + */ + property int elevation: 0 + + /* + Set to \c true if the \l source Item is the same width as its parent and the shadow + should be full width instead of rounding around the corner of the Item. + + \sa fullHeight + */ + property bool fullWidth: false + + /* + Set to \c true if the \l source Item is the same height as its parent and the shadow + should be full height instead of rounding around the corner of the Item. + + \sa fullWidth + */ + property bool fullHeight: false + + /* + \internal + + The actual source Item the effect is applied to. + */ + readonly property Item sourceItem: source.sourceItem + + /* + * The following shadow values are taken from Angular Material + * + * The MIT License (MIT) + * + * Copyright (c) 2014-2016 Google, Inc. http://angularjs.org + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + /* + \internal + + The shadows to use for each possible elevation. There are three shadows that when combined + make up the elevation. + */ + property var _shadows: _defaultShadows + + readonly property var _defaultShadows: [ + { // 0 + angularValues: [ + {offset: 0, blur: 0, spread: 0}, + {offset: 0, blur: 0, spread: 0}, + {offset: 0, blur: 0, spread: 0} + ], + strength: 0.05 + }, + { // 1 + angularValues: [ + {offset: 1, blur: 3, spread: 0}, + {offset: 1, blur: 1, spread: 0}, + {offset: 2, blur: 1, spread: -1} + ], + strength: 0.05 + }, + { // 2 + angularValues: [ + {offset: 1, blur: 5, spread: 0}, + {offset: 2, blur: 2, spread: 0}, + {offset: 3, blur: 1, spread: -2} + ], + strength: 0.05 + }, + { // 3 + angularValues: [ + {offset: 1, blur: 8, spread: 0}, + {offset: 3, blur: 4, spread: 0}, + {offset: 3, blur: 3, spread: -2} + ], + strength: 0.05 + }, + { // 4 + angularValues: [ + {offset: 2, blur: 4, spread: -1}, + {offset: 4, blur: 5, spread: 0}, + {offset: 1, blur: 10, spread: 0} + ], + strength: 0.05 + }, + { // 5 + angularValues: [ + {offset: 3, blur: 5, spread: -1}, + {offset: 5, blur: 8, spread: 0}, + {offset: 1, blur: 14, spread: 0} + ], + strength: 0.05 + }, + { // 6 + angularValues: [ + {offset: 3, blur: 5, spread: -1}, + {offset: 6, blur: 10, spread: 0}, + {offset: 1, blur: 18, spread: 0} + ], + strength: 0.05 + }, + { // 7 + angularValues: [ + {offset: 4, blur: 5, spread: -2}, + {offset: 7, blur: 10, spread: 1}, + {offset: 2, blur: 16, spread: 1} + ], + strength: 0.05 + }, + { // 8 + angularValues: [ + {offset: 5, blur: 5, spread: -3}, + {offset: 8, blur: 10, spread: 1}, + {offset: 3, blur: 14, spread: 2} + ], + strength: 0.05 + }, + { // 9 + angularValues: [ + {offset: 5, blur: 6, spread: -3}, + {offset: 9, blur: 12, spread: 1}, + {offset: 3, blur: 16, spread: 2} + ], + strength: 0.05 + }, + { // 10 + angularValues: [ + {offset: 6, blur: 6, spread: -3}, + {offset: 10, blur: 14, spread: 1}, + {offset: 4, blur: 18, spread: 3} + ], + strength: 0.05 + }, + { // 11 + angularValues: [ + {offset: 6, blur: 7, spread: -4}, + {offset: 11, blur: 15, spread: 1}, + {offset: 4, blur: 20, spread: 3} + ], + strength: 0.05 + }, + { // 12 + angularValues: [ + {offset: 7, blur: 8, spread: -4}, + {offset: 12, blur: 17, spread: 2}, + {offset: 5, blur: 22, spread: 4} + ], + strength: 0.05 + } + ] + + /* + \internal + + The current shadow based on the elevation. + */ + readonly property var _shadow: _shadows[Math.max(0, Math.min(elevation, _shadows.length - 1))] + + // Nest the shadows and source view in two items rendered as a layer + // so the shadow is not clipped by the bounds of the source view + Item { + property int margin: -100 + + x: margin + y: margin + width: parent.width - 2 * margin + height: parent.height - 2 * margin + + // By rendering as a layer, the shadow will never show through the source item, + // even when the source item's opacity is less than 1 + layer.enabled: true + + // The box shadows automatically pick up the size of the source Item and not + // the size of the parent, so we don't need to worry about the extra padding + // in the parent Item + BoxShadow { + offsetY: effect._shadow.angularValues[0].offset + blurRadius: effect._shadow.angularValues[0].blur + spreadRadius: effect._shadow.angularValues[0].spread + strength: effect._shadow.strength + color: Qt.rgba(0,0,0, 0.2) + + fullWidth: effect.fullWidth + fullHeight: effect.fullHeight + source: effect.sourceItem + } + + BoxShadow { + offsetY: effect._shadow.angularValues[1].offset + blurRadius: effect._shadow.angularValues[1].blur + spreadRadius: effect._shadow.angularValues[1].spread + strength: effect._shadow.strength + color: Qt.rgba(0,0,0, 0.14) + + fullWidth: effect.fullWidth + fullHeight: effect.fullHeight + source: effect.sourceItem + } + + BoxShadow { + offsetY: effect._shadow.angularValues[2].offset + blurRadius: effect._shadow.angularValues[2].blur + spreadRadius: effect._shadow.angularValues[2].spread + strength: effect._shadow.strength + color: Qt.rgba(0,0,0, 0.12) + + fullWidth: effect.fullWidth + fullHeight: effect.fullHeight + source: effect.sourceItem + } + + ShaderEffect { + property alias source: effect.source + + x: (parent.width - width)/2 + y: (parent.height - height)/2 + width: effect.sourceItem.width + height: effect.sourceItem.height + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/RadioIndicator.qml b/bin/qml/QtQuick/Controls/Material/impl/RadioIndicator.qml new file mode 100644 index 000000000..2cf46a69c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/RadioIndicator.qml @@ -0,0 +1,53 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +Rectangle { + id: indicator + implicitWidth: 20 + implicitHeight: 20 + radius: width / 2 + border.width: 2 + border.color: targetColor + color: "transparent" + + // Store the target color in a separate property, because there are two animations that depend on it. + readonly property color targetColor: !control.enabled ? control.Material.hintTextColor + : control.checked || control.down ? control.Material.accentColor : control.Material.secondaryTextColor + + property T.AbstractButton control + + Behavior on border.color { + ColorAnimation { + duration: 100 + easing.type: Easing.OutCubic + } + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 10 + height: 10 + radius: width / 2 + color: indicator.targetColor + scale: indicator.control.checked || indicator.control.down ? 1 : 0 + + Behavior on color { + ColorAnimation { + duration: 100 + easing.type: Easing.OutCubic + } + } + + Behavior on scale { + NumberAnimation { + duration: 100 + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/RectangularGlow.qml b/bin/qml/QtQuick/Controls/Material/impl/RectangularGlow.qml new file mode 100644 index 000000000..5fc649c39 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/RectangularGlow.qml @@ -0,0 +1,207 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick + +/* + A cross-graphics API implementation of QtGraphicalEffects' RectangularGlow. + */ +Item { + id: rootItem + + /* + This property defines how many pixels outside the item area are reached + by the glow. + + The value ranges from 0.0 (no glow) to inf (infinite glow). By default, + the property is set to \c 0.0. + + \table + \header + \li Output examples with different glowRadius values + \li + \li + \row + \li \image RectangularGlow_glowRadius1.png + \li \image RectangularGlow_glowRadius2.png + \li \image RectangularGlow_glowRadius3.png + \row + \li \b { glowRadius: 10 } + \li \b { glowRadius: 20 } + \li \b { glowRadius: 40 } + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + + */ + property real glowRadius: 0.0 + + /* + This property defines how large part of the glow color is strenghtened + near the source edges. + + The value ranges from 0.0 (no strenght increase) to 1.0 (maximum + strenght increase). By default, the property is set to \c 0.0. + + \table + \header + \li Output examples with different spread values + \li + \li + \row + \li \image RectangularGlow_spread1.png + \li \image RectangularGlow_spread2.png + \li \image RectangularGlow_spread3.png + \row + \li \b { spread: 0.0 } + \li \b { spread: 0.5 } + \li \b { spread: 1.0 } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + */ + property real spread: 0.0 + + /* + This property defines the RGBA color value which is used for the glow. + + By default, the property is set to \c "white". + + \table + \header + \li Output examples with different color values + \li + \li + \row + \li \image RectangularGlow_color1.png + \li \image RectangularGlow_color2.png + \li \image RectangularGlow_color3.png + \row + \li \b { color: #ffffff } + \li \b { color: #55ff55 } + \li \b { color: #5555ff } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \li \l cornerRadius: 25 + \endtable + */ + property color color: "white" + + /* + This property defines the corner radius that is used to draw a glow with + rounded corners. + + The value ranges from 0.0 to half of the effective width or height of + the glow, whichever is smaller. This can be calculated with: \c{ + min(width, height) / 2.0 + glowRadius} + + By default, the property is bound to glowRadius property. The glow + behaves as if the rectangle was blurred when adjusting the glowRadius + property. + + \table + \header + \li Output examples with different cornerRadius values + \li + \li + \row + \li \image RectangularGlow_cornerRadius1.png + \li \image RectangularGlow_cornerRadius2.png + \li \image RectangularGlow_cornerRadius3.png + \row + \li \b { cornerRadius: 0 } + \li \b { cornerRadius: 25 } + \li \b { cornerRadius: 50 } + \row + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \li \l glowRadius: 20 + \row + \li \l spread: 0 + \li \l spread: 0 + \li \l spread: 0 + \row + \li \l color: #ffffff + \li \l color: #ffffff + \li \l color: #ffffff + \endtable + */ + property real cornerRadius: glowRadius + + /* + This property allows the effect output pixels to be cached in order to + improve the rendering performance. + + Every time the source or effect properties are changed, the pixels in + the cache must be updated. Memory consumption is increased, because an + extra buffer of memory is required for storing the effect output. + + It is recommended to disable the cache when the source or the effect + properties are animated. + + By default, the property is set to \c false. + */ + property bool cached: false + + ShaderEffectSource { + id: cacheItem + anchors.fill: shaderItem + visible: rootItem.cached + smooth: true + sourceItem: shaderItem + live: true + hideSource: visible + } + + ShaderEffect { + id: shaderItem + + x: (parent.width - width) / 2.0 + y: (parent.height - height) / 2.0 + width: parent.width + rootItem.glowRadius * 2 + cornerRadius * 2 + height: parent.height + rootItem.glowRadius * 2 + cornerRadius * 2 + + function clampedCornerRadius() { + var maxCornerRadius = Math.min(rootItem.width, rootItem.height) / 2 + rootItem.glowRadius; + return Math.max(0, Math.min(rootItem.cornerRadius, maxCornerRadius)) + } + + property color color: rootItem.color + property real inverseSpread: 1.0 - rootItem.spread + property real relativeSizeX: ((inverseSpread * inverseSpread) * rootItem.glowRadius + cornerRadius * 2.0) / width + property real relativeSizeY: relativeSizeX * (width / height) + property real spread: rootItem.spread / 2.0 + property real cornerRadius: clampedCornerRadius() + + fragmentShader: "qrc:/qt-project.org/imports/QtQuick/Controls/Material/shaders/RectangularGlow.frag.qsb" + } +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/RoundedElevationEffect.qml b/bin/qml/QtQuick/Controls/Material/impl/RoundedElevationEffect.qml new file mode 100644 index 000000000..c197823dc --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/RoundedElevationEffect.qml @@ -0,0 +1,35 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +ElevationEffect { + required property int roundedScale + + _shadows: roundedScale === Material.NotRounded ? _defaultShadows : roundedShadows() + + function roundedShadows() { + // Make a deep copy. + let shadows = [..._defaultShadows] + for (let i = 0, strength = 0.95; i < shadows.length; ++i) { + // See comment on BoxShadow's strength property for why we do this. + shadows[i].strength = strength + // We don't want the strength to be too high for the controls with very slightly rounded + // corners, as they are quite close to the non-rounded ones in terms of not needing adjustments. + // This is still not great for the higher elevations for ExtraSmallScale, but it's as good + // as I can get it. + strength = Math.max(0.05, strength - (roundedScale > Material.ExtraSmallScale ? 0.1 : 0.3)) + + // The values at index 0 are already 0, and we don't want our Math.max(1, ...) code to affect them. + if (i > 0) { + // The blur values for e.g. buttons with rounded corners are too large, so we reduce them. + for (let angularShadowIndex = 0; angularShadowIndex < shadows[i].angularValues.length; ++angularShadowIndex) { + shadows[i].angularValues[angularShadowIndex].blur = + Math.max(1, Math.floor(shadows[i].angularValues[angularShadowIndex].blur / 4)) + } + } + } + return shadows + } +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/SliderHandle.qml b/bin/qml/QtQuick/Controls/Material/impl/SliderHandle.qml new file mode 100644 index 000000000..4681992ab --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/SliderHandle.qml @@ -0,0 +1,38 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +Item { + id: root + implicitWidth: initialSize + implicitHeight: initialSize + + property real value: 0 + property bool handleHasFocus: false + property bool handlePressed: false + property bool handleHovered: false + readonly property int initialSize: 13 + readonly property var control: parent + + Rectangle { + id: handleRect + width: parent.width + height: parent.height + radius: width / 2 + color: root.control + ? root.control.enabled ? root.control.Material.accentColor : root.control.Material.sliderDisabledColor + : "transparent" + } + + Ripple { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: 22; height: 22 + pressed: root.handlePressed + active: root.handlePressed || root.handleHasFocus || (enabled && root.handleHovered) + color: root.control ? root.control.Material.highlightedRippleColor : "transparent" + } +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/SwitchIndicator.qml b/bin/qml/QtQuick/Controls/Material/impl/SwitchIndicator.qml new file mode 100644 index 000000000..d864f3887 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/SwitchIndicator.qml @@ -0,0 +1,101 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl + +Rectangle { + id: indicator + width: control.Material.switchIndicatorWidth + height: control.Material.switchIndicatorHeight + radius: height / 2 + y: parent.height / 2 - height / 2 + color: control.enabled + ? (control.checked + ? control.Material.switchCheckedTrackColor : control.Material.switchUncheckedTrackColor) + : (control.checked + ? control.Material.switchDisabledCheckedTrackColor + : control.Material.switchDisabledUncheckedTrackColor) + border.width: 2 + border.color: control.enabled + ? (control.checked ? control.Material.switchCheckedTrackColor : control.Material.switchUncheckedHandleColor) + : (control.checked ? control.Material.switchDisabledCheckedTrackColor : control.Material.switchDisabledUncheckedTrackBorderColor) + + property T.AbstractButton control + property alias handle: handle + + Behavior on color { + ColorAnimation { + duration: 200 + } + } + Behavior on border.color { + ColorAnimation { + duration: 200 + } + } + + Rectangle { + id: handle + x: Math.max(offset, Math.min(parent.width - offset - width, + indicator.control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + // We use scale to allow us to enlarge the circle from the center, + // as using width/height will cause it to jump due to the position x/y bindings. + // However, a large enough scale on certain displays will show the triangles + // that make up the circle, so instead we make sure that the circle is always + // its largest size so that more triangles are used, and downscale instead. + width: normalSize * largestScale + height: normalSize * largestScale + radius: width / 2 + color: indicator.control.enabled + ? (indicator.control.checked + ? indicator.control.Material.switchCheckedHandleColor + : indicator.control.hovered + ? indicator.control.Material.switchUncheckedHoveredHandleColor : indicator.control.Material.switchUncheckedHandleColor) + : (indicator.control.checked + ? indicator.control.Material.switchDisabledCheckedHandleColor + : indicator.control.Material.switchDisabledUncheckedHandleColor) + scale: indicator.control.down ? 1 : (indicator.control.checked ? checkedSize / largestSize : normalSize / largestSize) + + readonly property int offset: 2 + readonly property real normalSize: !hasIcon ? indicator.control.Material.switchNormalHandleHeight : checkedSize + readonly property real checkedSize: indicator.control.Material.switchCheckedHandleHeight + readonly property real largestSize: indicator.control.Material.switchLargestHandleHeight + readonly property real largestScale: largestSize / normalSize + readonly property bool hasIcon: indicator.control.icon.name.length > 0 + || indicator.control.icon.source.toString().length > 0 + + Behavior on x { + enabled: !indicator.control.pressed + SmoothedAnimation { + duration: 300 + } + } + + Behavior on scale { + NumberAnimation { + duration: 100 + } + } + + Behavior on color { + ColorAnimation { + duration: 200 + } + } + + IconImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + name: indicator.control.icon.name + source: indicator.control.icon.source + sourceSize: Qt.size(indicator.control.icon.width, indicator.control.icon.height) + color: indicator.control.icon.color + visible: handle.hasIcon + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/plugins.qmltypes b/bin/qml/QtQuick/Controls/Material/impl/plugins.qmltypes new file mode 100644 index 000000000..b1fdbc0a8 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/plugins.qmltypes @@ -0,0 +1,328 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickmaterialbusyindicator_p.h" + name: "QQuickMaterialBusyIndicator" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Controls.Material.impl/BusyIndicatorImpl 2.0", + "QtQuick.Controls.Material.impl/BusyIndicatorImpl 2.1", + "QtQuick.Controls.Material.impl/BusyIndicatorImpl 2.4", + "QtQuick.Controls.Material.impl/BusyIndicatorImpl 2.7", + "QtQuick.Controls.Material.impl/BusyIndicatorImpl 2.11", + "QtQuick.Controls.Material.impl/BusyIndicatorImpl 6.0", + "QtQuick.Controls.Material.impl/BusyIndicatorImpl 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { name: "color"; type: "QColor"; read: "color"; write: "setColor"; index: 0; isFinal: true } + Property { + name: "running" + type: "bool" + read: "isRunning" + write: "setRunning" + index: 1 + isFinal: true + } + } + Component { + file: "private/qquickmaterialplaceholdertext_p.h" + name: "QQuickMaterialPlaceholderText" + accessSemantics: "reference" + prototype: "QQuickPlaceholderText" + exports: [ + "QtQuick.Controls.Material.impl/FloatingPlaceholderText 6.5" + ] + exportMetaObjectRevisions: [1541] + Property { + name: "filled" + type: "bool" + read: "isFilled" + write: "setFilled" + notify: "filledChanged" + index: 0 + isFinal: true + } + Property { + name: "controlHasActiveFocus" + type: "bool" + read: "controlHasActiveFocus" + write: "setControlHasActiveFocus" + notify: "controlHasActiveFocusChanged" + index: 1 + isFinal: true + } + Property { + name: "controlHasText" + type: "bool" + read: "controlHasText" + write: "setControlHasText" + notify: "controlHasTextChanged" + index: 2 + isFinal: true + } + Property { + name: "largestHeight" + type: "int" + read: "largestHeight" + notify: "largestHeightChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "verticalPadding" + type: "double" + read: "verticalPadding" + write: "setVerticalPadding" + notify: "verticalPaddingChanged" + index: 4 + isFinal: true + } + Property { + name: "controlImplicitBackgroundHeight" + type: "double" + read: "controlImplicitBackgroundHeight" + write: "setControlImplicitBackgroundHeight" + notify: "controlImplicitBackgroundHeightChanged" + index: 5 + isFinal: true + } + Property { + name: "controlHeight" + type: "double" + read: "controlHeight" + write: "setControlHeight" + index: 6 + isFinal: true + } + Signal { name: "filledChanged" } + Signal { name: "largestHeightChanged" } + Signal { name: "controlHasActiveFocusChanged" } + Signal { name: "controlHasTextChanged" } + Signal { name: "controlImplicitBackgroundHeightChanged" } + Signal { name: "verticalPaddingChanged" } + Method { name: "adjustTransformOrigin" } + } + Component { + file: "private/qquickmaterialprogressbar_p.h" + name: "QQuickMaterialProgressBar" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Controls.Material.impl/ProgressBarImpl 2.0", + "QtQuick.Controls.Material.impl/ProgressBarImpl 2.1", + "QtQuick.Controls.Material.impl/ProgressBarImpl 2.4", + "QtQuick.Controls.Material.impl/ProgressBarImpl 2.7", + "QtQuick.Controls.Material.impl/ProgressBarImpl 2.11", + "QtQuick.Controls.Material.impl/ProgressBarImpl 6.0", + "QtQuick.Controls.Material.impl/ProgressBarImpl 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { name: "color"; type: "QColor"; read: "color"; write: "setColor"; index: 0; isFinal: true } + Property { + name: "progress" + type: "double" + read: "progress" + write: "setProgress" + index: 1 + isFinal: true + } + Property { + name: "indeterminate" + type: "bool" + read: "isIndeterminate" + write: "setIndeterminate" + index: 2 + isFinal: true + } + } + Component { + file: "private/qquickmaterialripple_p.h" + name: "QQuickMaterialRipple" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Controls.Material.impl/Ripple 2.0", + "QtQuick.Controls.Material.impl/Ripple 2.1", + "QtQuick.Controls.Material.impl/Ripple 2.4", + "QtQuick.Controls.Material.impl/Ripple 2.7", + "QtQuick.Controls.Material.impl/Ripple 2.11", + "QtQuick.Controls.Material.impl/Ripple 6.0", + "QtQuick.Controls.Material.impl/Ripple 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Enum { + name: "Trigger" + values: ["Press", "Release"] + } + Property { name: "color"; type: "QColor"; read: "color"; write: "setColor"; index: 0; isFinal: true } + Property { + name: "clipRadius" + type: "double" + read: "clipRadius" + write: "setClipRadius" + index: 1 + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + write: "setPressed" + index: 2 + isFinal: true + } + Property { + name: "active" + type: "bool" + read: "isActive" + write: "setActive" + index: 3 + isFinal: true + } + Property { + name: "anchor" + type: "QQuickItem" + isPointer: true + read: "anchor" + write: "setAnchor" + index: 4 + isFinal: true + } + Property { + name: "trigger" + type: "Trigger" + read: "trigger" + write: "setTrigger" + index: 5 + isFinal: true + } + } + Component { + file: "private/qquickmaterialtextcontainer_p.h" + name: "QQuickMaterialTextContainer" + accessSemantics: "reference" + prototype: "QQuickPaintedItem" + exports: ["QtQuick.Controls.Material.impl/MaterialTextContainer 6.5"] + exportMetaObjectRevisions: [1541] + Enum { + name: "PlaceHolderHAlignment" + values: [ + "AlignLeft", + "AlignRight", + "AlignHCenter", + "AlignJustify" + ] + } + Property { + name: "filled" + type: "bool" + read: "isFilled" + write: "setFilled" + index: 0 + isFinal: true + } + Property { + name: "controlHasActiveFocus" + type: "bool" + read: "controlHasActiveFocus" + write: "setControlHasActiveFocus" + notify: "controlHasActiveFocusChanged" + index: 1 + isFinal: true + } + Property { + name: "fillColor" + type: "QColor" + read: "fillColor" + write: "setFillColor" + index: 2 + isFinal: true + } + Property { + name: "outlineColor" + type: "QColor" + read: "outlineColor" + write: "setOutlineColor" + index: 3 + isFinal: true + } + Property { + name: "focusedOutlineColor" + type: "QColor" + read: "focusedOutlineColor" + write: "setFocusedOutlineColor" + index: 4 + isFinal: true + } + Property { + name: "focusAnimationProgress" + type: "double" + read: "focusAnimationProgress" + write: "setFocusAnimationProgress" + index: 5 + isFinal: true + } + Property { + name: "placeholderTextWidth" + type: "double" + read: "placeholderTextWidth" + write: "setPlaceholderTextWidth" + index: 6 + isFinal: true + } + Property { + name: "placeholderTextHAlign" + type: "PlaceHolderHAlignment" + read: "placeholderTextHAlign" + write: "setPlaceholderTextHAlign" + index: 7 + isFinal: true + } + Property { + name: "controlHasText" + type: "bool" + read: "controlHasText" + write: "setControlHasText" + notify: "controlHasTextChanged" + index: 8 + isFinal: true + } + Property { + name: "placeholderHasText" + type: "bool" + read: "placeholderHasText" + write: "setPlaceholderHasText" + notify: "placeholderHasTextChanged" + index: 9 + isFinal: true + } + Property { + name: "horizontalPadding" + type: "int" + read: "horizontalPadding" + write: "setHorizontalPadding" + notify: "horizontalPaddingChanged" + index: 10 + isFinal: true + } + Signal { name: "animateChanged" } + Signal { name: "controlHasActiveFocusChanged" } + Signal { name: "controlHasTextChanged" } + Signal { name: "placeholderHasTextChanged" } + Signal { name: "horizontalPaddingChanged" } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/impl/qmldir b/bin/qml/QtQuick/Controls/Material/impl/qmldir new file mode 100644 index 000000000..f23c45120 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/impl/qmldir @@ -0,0 +1,26 @@ +module QtQuick.Controls.Material.impl +linktarget Qt6::qtquickcontrols2materialstyleimplplugin +optional plugin qtquickcontrols2materialstyleimplplugin +classname QtQuickControls2MaterialStyleImplPlugin +typeinfo plugins.qmltypes +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Controls/Material/impl/ +BoxShadow 6.0 BoxShadow.qml +BoxShadow 2.0 BoxShadow.qml +CheckIndicator 6.0 CheckIndicator.qml +CheckIndicator 2.0 CheckIndicator.qml +CursorDelegate 6.0 CursorDelegate.qml +CursorDelegate 2.0 CursorDelegate.qml +ElevationEffect 6.0 ElevationEffect.qml +ElevationEffect 2.0 ElevationEffect.qml +RadioIndicator 6.0 RadioIndicator.qml +RadioIndicator 2.0 RadioIndicator.qml +RectangularGlow 6.0 RectangularGlow.qml +RectangularGlow 2.0 RectangularGlow.qml +RoundedElevationEffect 6.0 RoundedElevationEffect.qml +RoundedElevationEffect 2.0 RoundedElevationEffect.qml +SliderHandle 6.0 SliderHandle.qml +SliderHandle 2.0 SliderHandle.qml +SwitchIndicator 6.0 SwitchIndicator.qml +SwitchIndicator 2.0 SwitchIndicator.qml + diff --git a/bin/qml/QtQuick/Controls/Material/impl/qtquickcontrols2materialstyleimplplugin.dll b/bin/qml/QtQuick/Controls/Material/impl/qtquickcontrols2materialstyleimplplugin.dll new file mode 100644 index 000000000..54a86297f Binary files /dev/null and b/bin/qml/QtQuick/Controls/Material/impl/qtquickcontrols2materialstyleimplplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Material/plugins.qmltypes b/bin/qml/QtQuick/Controls/Material/plugins.qmltypes new file mode 100644 index 000000000..66367cd1c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/plugins.qmltypes @@ -0,0 +1,764 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qquickattachedpropertypropagator.h" + name: "QQuickAttachedPropertyPropagator" + accessSemantics: "reference" + prototype: "QObject" + } + Component { + file: "private/qquickmaterialstyle_p.h" + name: "QQuickMaterialStyle" + accessSemantics: "reference" + prototype: "QQuickAttachedPropertyPropagator" + exports: [ + "QtQuick.Controls.Material/Material 2.0", + "QtQuick.Controls.Material/Material 2.15", + "QtQuick.Controls.Material/Material 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [512, 527, 1536] + attachedType: "QQuickMaterialStyle" + Enum { + name: "Theme" + values: ["Light", "Dark", "System"] + } + Enum { + name: "Variant" + values: ["Normal", "Dense"] + } + Enum { + name: "Color" + values: [ + "Red", + "Pink", + "Purple", + "DeepPurple", + "Indigo", + "Blue", + "LightBlue", + "Cyan", + "Teal", + "Green", + "LightGreen", + "Lime", + "Yellow", + "Amber", + "Orange", + "DeepOrange", + "Brown", + "Grey", + "BlueGrey" + ] + } + Enum { + name: "Shade" + values: [ + "Shade50", + "Shade100", + "Shade200", + "Shade300", + "Shade400", + "Shade500", + "Shade600", + "Shade700", + "Shade800", + "Shade900", + "ShadeA100", + "ShadeA200", + "ShadeA400", + "ShadeA700" + ] + } + Enum { + name: "RoundedScale" + values: [ + "NotRounded", + "ExtraSmallScale", + "SmallScale", + "MediumScale", + "LargeScale", + "ExtraLargeScale", + "FullScale" + ] + } + Enum { + name: "ContainerStyle" + values: ["Filled", "Outlined"] + } + Property { + name: "theme" + type: "Theme" + read: "theme" + write: "setTheme" + reset: "resetTheme" + notify: "themeChanged" + index: 0 + isFinal: true + } + Property { + name: "primary" + type: "QVariant" + read: "primary" + write: "setPrimary" + reset: "resetPrimary" + notify: "primaryChanged" + index: 1 + isFinal: true + } + Property { + name: "accent" + type: "QVariant" + read: "accent" + write: "setAccent" + reset: "resetAccent" + notify: "accentChanged" + index: 2 + isFinal: true + } + Property { + name: "foreground" + type: "QVariant" + read: "foreground" + write: "setForeground" + reset: "resetForeground" + notify: "foregroundChanged" + index: 3 + isFinal: true + } + Property { + name: "background" + type: "QVariant" + read: "background" + write: "setBackground" + reset: "resetBackground" + notify: "backgroundChanged" + index: 4 + isFinal: true + } + Property { + name: "elevation" + type: "int" + read: "elevation" + write: "setElevation" + reset: "resetElevation" + notify: "elevationChanged" + index: 5 + isFinal: true + } + Property { + name: "roundedScale" + type: "RoundedScale" + read: "roundedScale" + write: "setRoundedScale" + reset: "resetRoundedScale" + notify: "roundedScaleChanged" + index: 6 + isFinal: true + } + Property { + name: "containerStyle" + type: "ContainerStyle" + read: "containerStyle" + write: "setContainerStyle" + reset: "resetContainerStyle" + notify: "containerStyleChanged" + index: 7 + isFinal: true + } + Property { + name: "primaryColor" + type: "QColor" + read: "primaryColor" + notify: "primaryChanged" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "accentColor" + type: "QColor" + read: "accentColor" + notify: "accentChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "backgroundColor" + type: "QColor" + read: "backgroundColor" + notify: "backgroundChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "primaryTextColor" + type: "QColor" + read: "primaryTextColor" + notify: "themeChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "primaryHighlightedTextColor" + type: "QColor" + read: "primaryHighlightedTextColor" + notify: "primaryHighlightedTextColorChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "secondaryTextColor" + type: "QColor" + read: "secondaryTextColor" + notify: "themeChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "hintTextColor" + type: "QColor" + read: "hintTextColor" + notify: "themeChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "textSelectionColor" + type: "QColor" + read: "textSelectionColor" + notify: "themeOrAccentChanged" + index: 15 + isReadonly: true + isFinal: true + } + Property { + name: "dropShadowColor" + type: "QColor" + read: "dropShadowColor" + index: 16 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "dividerColor" + type: "QColor" + read: "dividerColor" + notify: "themeChanged" + index: 17 + isReadonly: true + isFinal: true + } + Property { + name: "iconColor" + type: "QColor" + read: "iconColor" + notify: "themeChanged" + index: 18 + isReadonly: true + isFinal: true + } + Property { + name: "iconDisabledColor" + type: "QColor" + read: "iconDisabledColor" + notify: "themeChanged" + index: 19 + isReadonly: true + isFinal: true + } + Property { + name: "frameColor" + type: "QColor" + read: "frameColor" + notify: "themeChanged" + index: 20 + isReadonly: true + isFinal: true + } + Property { + name: "rippleColor" + type: "QColor" + read: "rippleColor" + notify: "themeChanged" + index: 21 + isReadonly: true + isFinal: true + } + Property { + name: "highlightedRippleColor" + type: "QColor" + read: "highlightedRippleColor" + notify: "themeOrAccentChanged" + index: 22 + isReadonly: true + isFinal: true + } + Property { + name: "switchUncheckedTrackColor" + type: "QColor" + read: "switchUncheckedTrackColor" + notify: "themeChanged" + index: 23 + isReadonly: true + isFinal: true + } + Property { + name: "switchCheckedTrackColor" + type: "QColor" + read: "switchCheckedTrackColor" + notify: "themeOrAccentChanged" + index: 24 + isReadonly: true + isFinal: true + } + Property { + name: "switchUncheckedHandleColor" + type: "QColor" + read: "switchUncheckedHandleColor" + notify: "themeChanged" + index: 25 + isReadonly: true + isFinal: true + } + Property { + name: "switchUncheckedHoveredHandleColor" + type: "QColor" + read: "switchUncheckedHoveredHandleColor" + notify: "themeChanged" + index: 26 + isReadonly: true + isFinal: true + } + Property { + name: "switchDisabledUncheckedTrackColor" + type: "QColor" + read: "switchDisabledUncheckedTrackColor" + notify: "themeChanged" + index: 27 + isReadonly: true + isFinal: true + } + Property { + name: "switchDisabledCheckedTrackColor" + type: "QColor" + read: "switchDisabledCheckedTrackColor" + notify: "themeChanged" + index: 28 + isReadonly: true + isFinal: true + } + Property { + name: "switchDisabledUncheckedTrackBorderColor" + type: "QColor" + read: "switchDisabledUncheckedTrackBorderColor" + notify: "themeChanged" + index: 29 + isReadonly: true + isFinal: true + } + Property { + name: "switchCheckedHandleColor" + type: "QColor" + read: "switchCheckedHandleColor" + notify: "themeOrAccentChanged" + index: 30 + isReadonly: true + isFinal: true + } + Property { + name: "switchDisabledUncheckedHandleColor" + type: "QColor" + read: "switchDisabledUncheckedHandleColor" + notify: "themeChanged" + index: 31 + isReadonly: true + isFinal: true + } + Property { + name: "switchDisabledCheckedHandleColor" + type: "QColor" + read: "switchDisabledCheckedHandleColor" + notify: "themeChanged" + index: 32 + isReadonly: true + isFinal: true + } + Property { + name: "switchDisabledCheckedIconColor" + type: "QColor" + read: "switchDisabledCheckedIconColor" + notify: "themeChanged" + index: 33 + isReadonly: true + isFinal: true + } + Property { + name: "switchDisabledUncheckedIconColor" + type: "QColor" + read: "switchDisabledUncheckedIconColor" + notify: "themeChanged" + index: 34 + isReadonly: true + isFinal: true + } + Property { + name: "scrollBarColor" + type: "QColor" + read: "scrollBarColor" + notify: "themeChanged" + index: 35 + isReadonly: true + isFinal: true + } + Property { + name: "scrollBarHoveredColor" + type: "QColor" + read: "scrollBarHoveredColor" + notify: "themeChanged" + index: 36 + isReadonly: true + isFinal: true + } + Property { + name: "scrollBarPressedColor" + type: "QColor" + read: "scrollBarPressedColor" + notify: "themeChanged" + index: 37 + isReadonly: true + isFinal: true + } + Property { + name: "dialogColor" + type: "QColor" + read: "dialogColor" + notify: "dialogColorChanged" + index: 38 + isReadonly: true + isFinal: true + } + Property { + name: "backgroundDimColor" + type: "QColor" + read: "backgroundDimColor" + notify: "themeChanged" + index: 39 + isReadonly: true + isFinal: true + } + Property { + name: "listHighlightColor" + type: "QColor" + read: "listHighlightColor" + notify: "themeChanged" + index: 40 + isReadonly: true + isFinal: true + } + Property { + name: "tooltipColor" + type: "QColor" + read: "tooltipColor" + notify: "tooltipColorChanged" + index: 41 + isReadonly: true + isFinal: true + } + Property { + name: "toolBarColor" + type: "QColor" + read: "toolBarColor" + notify: "toolBarColorChanged" + index: 42 + isReadonly: true + isFinal: true + } + Property { + name: "toolTextColor" + type: "QColor" + read: "toolTextColor" + notify: "toolTextColorChanged" + index: 43 + isReadonly: true + isFinal: true + } + Property { + name: "spinBoxDisabledIconColor" + type: "QColor" + read: "spinBoxDisabledIconColor" + notify: "themeChanged" + index: 44 + isReadonly: true + isFinal: true + } + Property { + name: "sliderDisabledColor" + revision: 527 + type: "QColor" + read: "sliderDisabledColor" + notify: "themeChanged" + index: 45 + isReadonly: true + isFinal: true + } + Property { + name: "textFieldFilledContainerColor" + type: "QColor" + read: "textFieldFilledContainerColor" + notify: "themeChanged" + index: 46 + isReadonly: true + isFinal: true + } + Property { + name: "touchTarget" + type: "int" + read: "touchTarget" + index: 47 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buttonVerticalPadding" + type: "int" + read: "buttonVerticalPadding" + index: 48 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buttonHeight" + type: "int" + read: "buttonHeight" + index: 49 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "delegateHeight" + type: "int" + read: "delegateHeight" + index: 50 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "dialogButtonBoxHeight" + type: "int" + read: "dialogButtonBoxHeight" + index: 51 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "dialogTitleFontPixelSize" + type: "int" + read: "dialogTitleFontPixelSize" + index: 52 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "dialogRoundedScale" + type: "RoundedScale" + read: "dialogRoundedScale" + index: 53 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "frameVerticalPadding" + type: "int" + read: "frameVerticalPadding" + index: 54 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "menuItemHeight" + type: "int" + read: "menuItemHeight" + index: 55 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "menuItemVerticalPadding" + type: "int" + read: "menuItemVerticalPadding" + index: 56 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "switchIndicatorWidth" + type: "int" + read: "switchIndicatorWidth" + index: 57 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "switchIndicatorHeight" + type: "int" + read: "switchIndicatorHeight" + index: 58 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "switchNormalHandleHeight" + type: "int" + read: "switchNormalHandleHeight" + index: 59 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "switchCheckedHandleHeight" + type: "int" + read: "switchCheckedHandleHeight" + index: 60 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "switchLargestHandleHeight" + type: "int" + read: "switchLargestHandleHeight" + index: 61 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "switchDelegateVerticalPadding" + type: "int" + read: "switchDelegateVerticalPadding" + index: 62 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textFieldHeight" + type: "int" + read: "textFieldHeight" + index: 63 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textFieldHorizontalPadding" + type: "int" + read: "textFieldHorizontalPadding" + index: 64 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "textFieldVerticalPadding" + type: "int" + read: "textFieldVerticalPadding" + index: 65 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "tooltipHeight" + type: "int" + read: "tooltipHeight" + index: 66 + isReadonly: true + isFinal: true + isConstant: true + } + Signal { name: "themeChanged" } + Signal { name: "primaryChanged" } + Signal { name: "accentChanged" } + Signal { name: "foregroundChanged" } + Signal { name: "backgroundChanged" } + Signal { name: "elevationChanged" } + Signal { name: "themeOrAccentChanged" } + Signal { name: "primaryHighlightedTextColorChanged" } + Signal { name: "dialogColorChanged" } + Signal { name: "tooltipColorChanged" } + Signal { name: "toolBarColorChanged" } + Signal { name: "toolTextColorChanged" } + Signal { name: "roundedScaleChanged" } + Signal { name: "containerStyleChanged" } + Method { + name: "buttonColor" + type: "QColor" + Parameter { name: "theme"; type: "Theme" } + Parameter { name: "background"; type: "QVariant" } + Parameter { name: "accent"; type: "QVariant" } + Parameter { name: "enabled"; type: "bool" } + Parameter { name: "flat"; type: "bool" } + Parameter { name: "highlighted"; type: "bool" } + Parameter { name: "checked"; type: "bool" } + } + Method { + name: "color" + type: "QColor" + Parameter { name: "color"; type: "Color" } + Parameter { name: "shade"; type: "Shade" } + } + Method { + name: "color" + type: "QColor" + isCloned: true + Parameter { name: "color"; type: "Color" } + } + Method { + name: "shade" + type: "QColor" + Parameter { name: "color"; type: "QColor" } + Parameter { name: "shade"; type: "Shade" } + } + Method { + name: "buttonLeftPadding" + type: "int" + Parameter { name: "flat"; type: "bool" } + Parameter { name: "hasIcon"; type: "bool" } + } + Method { + name: "buttonRightPadding" + type: "int" + Parameter { name: "flat"; type: "bool" } + Parameter { name: "hasIcon"; type: "bool" } + Parameter { name: "hasText"; type: "bool" } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Material/qmldir b/bin/qml/QtQuick/Controls/Material/qmldir new file mode 100644 index 000000000..9965cfe2a --- /dev/null +++ b/bin/qml/QtQuick/Controls/Material/qmldir @@ -0,0 +1,115 @@ +module QtQuick.Controls.Material +linktarget Qt6::qtquickcontrols2materialstyleplugin +plugin qtquickcontrols2materialstyleplugin +classname QtQuickControls2MaterialStylePlugin +typeinfo plugins.qmltypes +import QtQuick.Controls.Basic auto +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Controls/Material/ +ApplicationWindow 6.0 ApplicationWindow.qml +ApplicationWindow 2.0 ApplicationWindow.qml +BusyIndicator 6.0 BusyIndicator.qml +BusyIndicator 2.0 BusyIndicator.qml +Button 6.0 Button.qml +Button 2.0 Button.qml +CheckBox 6.0 CheckBox.qml +CheckBox 2.0 CheckBox.qml +CheckDelegate 6.0 CheckDelegate.qml +CheckDelegate 2.0 CheckDelegate.qml +ComboBox 6.0 ComboBox.qml +ComboBox 2.0 ComboBox.qml +DelayButton 2.2 DelayButton.qml +DelayButton 6.0 DelayButton.qml +Dial 6.0 Dial.qml +Dial 2.0 Dial.qml +Dialog 2.1 Dialog.qml +Dialog 6.0 Dialog.qml +DialogButtonBox 2.1 DialogButtonBox.qml +DialogButtonBox 6.0 DialogButtonBox.qml +Drawer 6.0 Drawer.qml +Drawer 2.0 Drawer.qml +Frame 6.0 Frame.qml +Frame 2.0 Frame.qml +GroupBox 6.0 GroupBox.qml +GroupBox 2.0 GroupBox.qml +HorizontalHeaderView 2.15 HorizontalHeaderView.qml +HorizontalHeaderView 6.0 HorizontalHeaderView.qml +ItemDelegate 6.0 ItemDelegate.qml +ItemDelegate 2.0 ItemDelegate.qml +Label 6.0 Label.qml +Label 2.0 Label.qml +Menu 6.0 Menu.qml +Menu 2.0 Menu.qml +MenuBar 2.3 MenuBar.qml +MenuBar 6.0 MenuBar.qml +MenuBarItem 2.3 MenuBarItem.qml +MenuBarItem 6.0 MenuBarItem.qml +MenuItem 6.0 MenuItem.qml +MenuItem 2.0 MenuItem.qml +MenuSeparator 2.1 MenuSeparator.qml +MenuSeparator 6.0 MenuSeparator.qml +Page 6.0 Page.qml +Page 2.0 Page.qml +PageIndicator 6.0 PageIndicator.qml +PageIndicator 2.0 PageIndicator.qml +Pane 6.0 Pane.qml +Pane 2.0 Pane.qml +Popup 6.0 Popup.qml +Popup 2.0 Popup.qml +ProgressBar 6.0 ProgressBar.qml +ProgressBar 2.0 ProgressBar.qml +RadioButton 6.0 RadioButton.qml +RadioButton 2.0 RadioButton.qml +RadioDelegate 6.0 RadioDelegate.qml +RadioDelegate 2.0 RadioDelegate.qml +RangeSlider 6.0 RangeSlider.qml +RangeSlider 2.0 RangeSlider.qml +RoundButton 2.1 RoundButton.qml +RoundButton 6.0 RoundButton.qml +ScrollView 6.0 ScrollView.qml +ScrollView 2.0 ScrollView.qml +ScrollBar 6.0 ScrollBar.qml +ScrollBar 2.0 ScrollBar.qml +ScrollIndicator 6.0 ScrollIndicator.qml +ScrollIndicator 2.0 ScrollIndicator.qml +SelectionRectangle 6.0 SelectionRectangle.qml +SelectionRectangle 2.0 SelectionRectangle.qml +Slider 6.0 Slider.qml +Slider 2.0 Slider.qml +SpinBox 6.0 SpinBox.qml +SpinBox 2.0 SpinBox.qml +SplitView 2.13 SplitView.qml +SplitView 6.0 SplitView.qml +StackView 6.0 StackView.qml +StackView 2.0 StackView.qml +SwipeDelegate 6.0 SwipeDelegate.qml +SwipeDelegate 2.0 SwipeDelegate.qml +SwipeView 6.0 SwipeView.qml +SwipeView 2.0 SwipeView.qml +Switch 6.0 Switch.qml +Switch 2.0 Switch.qml +SwitchDelegate 6.0 SwitchDelegate.qml +SwitchDelegate 2.0 SwitchDelegate.qml +TabBar 6.0 TabBar.qml +TabBar 2.0 TabBar.qml +TabButton 6.0 TabButton.qml +TabButton 2.0 TabButton.qml +TextArea 6.0 TextArea.qml +TextArea 2.0 TextArea.qml +TextField 6.0 TextField.qml +TextField 2.0 TextField.qml +ToolBar 6.0 ToolBar.qml +ToolBar 2.0 ToolBar.qml +ToolButton 6.0 ToolButton.qml +ToolButton 2.0 ToolButton.qml +ToolSeparator 2.1 ToolSeparator.qml +ToolSeparator 6.0 ToolSeparator.qml +ToolTip 6.0 ToolTip.qml +ToolTip 2.0 ToolTip.qml +TreeViewDelegate 6.0 TreeViewDelegate.qml +TreeViewDelegate 2.0 TreeViewDelegate.qml +Tumbler 6.0 Tumbler.qml +Tumbler 2.0 Tumbler.qml +VerticalHeaderView 2.15 VerticalHeaderView.qml +VerticalHeaderView 6.0 VerticalHeaderView.qml + diff --git a/bin/qml/QtQuick/Controls/Material/qtquickcontrols2materialstyleplugin.dll b/bin/qml/QtQuick/Controls/Material/qtquickcontrols2materialstyleplugin.dll new file mode 100644 index 000000000..00f4e4212 Binary files /dev/null and b/bin/qml/QtQuick/Controls/Material/qtquickcontrols2materialstyleplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Universal/ApplicationWindow.qml b/bin/qml/QtQuick/Controls/Universal/ApplicationWindow.qml new file mode 100644 index 000000000..7828d2048 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ApplicationWindow.qml @@ -0,0 +1,21 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Window +import QtQuick.Templates as T +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.ApplicationWindow { + id: window + + color: Universal.background + + FocusRectangle { + parent: window.activeFocusControl + width: parent ? parent.width : 0 + height: parent ? parent.height : 0 + visible: parent && !!parent.useSystemFocusVisuals && !!parent.visualFocus + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/BusyIndicator.qml b/bin/qml/QtQuick/Controls/Universal/BusyIndicator.qml new file mode 100644 index 000000000..64dfdd251 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/BusyIndicator.qml @@ -0,0 +1,27 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.BusyIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: BusyIndicatorImpl { + implicitWidth: 20 + implicitHeight: 20 + + readonly property real size: Math.min(control.availableWidth, control.availableHeight) + + count: size < 60 ? 5 : 6 // "Small" vs. "Large" + color: control.Universal.accent + visible: control.running + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Button.qml b/bin/qml/QtQuick/Controls/Universal/Button.qml new file mode 100644 index 000000000..bdf10e3c8 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Button.qml @@ -0,0 +1,56 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.Button { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 8 + verticalPadding: padding - 4 + spacing: 8 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + property bool useSystemFocusVisuals: true + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + implicitWidth: 32 + implicitHeight: 32 + + visible: !control.flat || control.down || control.checked || control.highlighted + color: control.down ? control.Universal.baseMediumLowColor : + control.enabled && (control.highlighted || control.checked) ? control.Universal.accent : + control.Universal.baseLowColor + + Rectangle { + width: parent.width + height: parent.height + color: "transparent" + visible: enabled && control.hovered + border.width: 2 // ButtonBorderThemeThickness + border.color: control.Universal.baseMediumLowColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/CheckBox.qml b/bin/qml/QtQuick/Controls/Universal/CheckBox.qml new file mode 100644 index 000000000..c7f99b3b2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/CheckBox.qml @@ -0,0 +1,41 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.CheckBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 8 + + property bool useSystemFocusVisuals: true + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/CheckDelegate.qml b/bin/qml/QtQuick/Controls/Universal/CheckDelegate.qml new file mode 100644 index 000000000..f11f0ac88 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/CheckDelegate.qml @@ -0,0 +1,63 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.CheckDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + indicator: CheckIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + visible: enabled && (control.down || control.highlighted || control.visualFocus || control.hovered) + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/ComboBox.qml b/bin/qml/QtQuick/Controls/Universal/ComboBox.qml new file mode 100644 index 000000000..0793416b6 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ComboBox.qml @@ -0,0 +1,129 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Window +import QtQuick.Controls.impl +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.ComboBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing) + + Universal.theme: editable && activeFocus ? Universal.Light : undefined + + delegate: ItemDelegate { + required property var model + required property int index + + width: ListView.view.width + text: model[control.textRole] + font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + indicator: ColorImage { + x: control.mirrored ? control.padding : control.width - width - control.padding + y: control.topPadding + (control.availableHeight - height) / 2 + color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseMediumHighColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Universal/images/downarrow.png" + + Rectangle { + z: -1 + width: parent.width + height: parent.height + color: control.activeFocus ? control.Universal.accent : + control.pressed ? control.Universal.baseMediumLowColor : + control.hovered ? control.Universal.baseLowColor : "transparent" + visible: control.editable && !control.contentItem.hovered && (control.pressed || control.hovered) + opacity: control.activeFocus && !control.pressed ? 0.4 : 1.0 + } + } + + contentItem: T.TextField { + leftPadding: control.mirrored ? 1 : 12 + rightPadding: control.mirrored ? 10 : 1 + topPadding: 5 - control.topPadding + bottomPadding: 7 - control.bottomPadding + + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + color: !control.enabled ? control.Universal.chromeDisabledLowColor : + control.editable && control.activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.foreground + selectionColor: control.Universal.accent + selectedTextColor: control.Universal.chromeWhiteColor + verticalAlignment: Text.AlignVCenter + } + + background: Rectangle { + implicitWidth: 120 + implicitHeight: 32 + + border.width: control.flat ? 0 : 2 // ComboBoxBorderThemeThickness + border.color: !control.enabled ? control.Universal.baseLowColor : + control.editable && control.activeFocus ? control.Universal.accent : + control.down ? control.Universal.baseMediumLowColor : + control.hovered ? control.Universal.baseMediumColor : control.Universal.baseMediumLowColor + color: !control.enabled ? control.Universal.baseLowColor : + control.down ? control.Universal.listMediumColor : + control.flat && control.hovered ? control.Universal.listLowColor : + control.editable && control.activeFocus ? control.Universal.background : control.Universal.altMediumLowColor + visible: !control.flat || control.pressed || control.hovered || control.visualFocus + + Rectangle { + x: 2 + y: 2 + width: parent.width - 4 + height: parent.height - 4 + + visible: control.visualFocus && !control.editable + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + } + + popup: T.Popup { + width: control.width + height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) + topMargin: 8 + bottomMargin: 8 + + Universal.theme: control.Universal.theme + Universal.accent: control.Universal.accent + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightMoveDuration: 0 + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: Rectangle { + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/DelayButton.qml b/bin/qml/QtQuick/Controls/Universal/DelayButton.qml new file mode 100644 index 000000000..2b2cc8358 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/DelayButton.qml @@ -0,0 +1,61 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.DelayButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 8 + verticalPadding: padding - 4 + + property bool useSystemFocusVisuals: true + + transition: Transition { + NumberAnimation { + duration: control.delay * (control.pressed ? 1.0 - control.progress : 0.3 * control.progress) + } + } + + contentItem: Text { + text: control.text + font: control.font + elide: Text.ElideRight + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } + + background: Rectangle { + implicitWidth: 32 + implicitHeight: 32 + + color: control.down ? control.Universal.baseMediumLowColor : + control.enabled && control.checked ? control.Universal.accent : control.Universal.baseLowColor + + Rectangle { + visible: !control.checked + width: parent.width * control.progress + height: parent.height + color: control.Universal.accent + } + + Rectangle { + width: parent.width + height: parent.height + color: "transparent" + visible: enabled && control.hovered + border.width: 2 // ButtonBorderThemeThickness + border.color: control.Universal.baseMediumLowColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Dial.qml b/bin/qml/QtQuick/Controls/Universal/Dial.qml new file mode 100644 index 000000000..df52ea1aa --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Dial.qml @@ -0,0 +1,54 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.Dial { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 100 + + x: control.width / 2 - width / 2 + y: control.height / 2 - height / 2 + width: Math.max(64, Math.min(control.width, control.height)) + height: width + radius: width / 2 + color: "transparent" + border.color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseMediumColor + border.width: 2 + } + + handle: Rectangle { + implicitWidth: 14 + implicitHeight: 14 + + x: control.background.x + control.background.width / 2 - width / 2 + y: control.background.y + control.background.height / 2 - height / 2 + + radius: width / 2 + color: !control.enabled ? control.Universal.baseLowColor : + control.pressed ? control.Universal.baseMediumColor : + control.hovered ? control.Universal.baseHighColor : control.Universal.baseMediumHighColor + + transform: [ + Translate { + y: -control.background.height * 0.4 + + (control.handle ? control.handle.height / 2 : 0) + }, + Rotation { + angle: control.angle + origin.x: control.handle ? control.handle.width / 2 : 0 + origin.y: control.handle ? control.handle.height / 2 : 0 + } + ] + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Dialog.qml b/bin/qml/QtQuick/Controls/Universal/Dialog.qml new file mode 100644 index 000000000..0ed4e673c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Dialog.qml @@ -0,0 +1,57 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.Dialog { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 24 + verticalPadding: 18 + + background: Rectangle { + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + header: Label { + text: control.title + visible: control.title + elide: Label.ElideRight + topPadding: 18 + leftPadding: 24 + rightPadding: 24 + // TODO: QPlatformTheme::TitleBarFont + font.pixelSize: 20 + background: Rectangle { + x: 1; y: 1 // // FlyoutBorderThemeThickness + color: control.Universal.chromeMediumLowColor + width: parent.width - 2 + height: parent.height - 1 + } + } + + footer: DialogButtonBox { + visible: count > 0 + } + + T.Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + T.Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/DialogButtonBox.qml b/bin/qml/QtQuick/Controls/Universal/DialogButtonBox.qml new file mode 100644 index 000000000..e3bbdcb1b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/DialogButtonBox.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.DialogButtonBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + (control.count === 1 ? implicitContentWidth * 2 : implicitContentWidth) + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + contentWidth: (contentItem as ListView).contentWidth // QTBUG-111283 blocks optional chaining + nullish coalescing + + spacing: 4 + padding: 24 + topPadding: position === T.DialogButtonBox.Footer ? 6 : 24 + bottomPadding: position === T.DialogButtonBox.Header ? 6 : 24 + alignment: count === 1 ? Qt.AlignRight : undefined + + delegate: Button { + width: control.count === 1 ? control.availableWidth / 2 : undefined + } + + contentItem: ListView { + implicitWidth: contentWidth + model: control.contentModel + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + snapMode: ListView.SnapToItem + } + + background: Rectangle { + implicitHeight: 32 + color: control.Universal.chromeMediumLowColor + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Drawer.qml b/bin/qml/QtQuick/Controls/Universal/Drawer.qml new file mode 100644 index 000000000..4c4ff5d44 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Drawer.qml @@ -0,0 +1,45 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.Drawer { + id: control + + parent: T.Overlay.overlay + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + topPadding: control.edge === Qt.BottomEdge + leftPadding: control.edge === Qt.RightEdge + rightPadding: control.edge === Qt.LeftEdge + bottomPadding: control.edge === Qt.TopEdge + + enter: Transition { SmoothedAnimation { velocity: 5 } } + exit: Transition { SmoothedAnimation { velocity: 5 } } + + background: Rectangle { + color: control.Universal.chromeMediumLowColor + Rectangle { + readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge + width: horizontal ? 1 : parent.width + height: horizontal ? parent.height : 1 + color: control.Universal.chromeHighColor + x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 + y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 + } + } + + T.Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + T.Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Frame.qml b/bin/qml/QtQuick/Controls/Universal/Frame.qml new file mode 100644 index 000000000..2e650d791 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Frame.qml @@ -0,0 +1,22 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.Frame { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: "transparent" + border.color: control.Universal.chromeDisabledLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/GroupBox.qml b/bin/qml/QtQuick/Controls/Universal/GroupBox.qml new file mode 100644 index 000000000..b0b211bd9 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/GroupBox.qml @@ -0,0 +1,42 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.GroupBox { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + spacing: 12 + padding: 12 + topPadding: padding + (implicitLabelWidth > 0 ? implicitLabelHeight + spacing : 0) + + label: Text { + x: control.leftPadding + width: control.availableWidth + + text: control.title + font: control.font + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } + + background: Rectangle { + y: control.topPadding - control.bottomPadding + width: parent.width + height: parent.height - control.topPadding + control.bottomPadding + + color: "transparent" + border.color: control.Universal.chromeDisabledLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/HorizontalHeaderView.qml b/bin/qml/QtQuick/Controls/Universal/HorizontalHeaderView.qml new file mode 100644 index 000000000..f792a1e69 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/HorizontalHeaderView.qml @@ -0,0 +1,45 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.HorizontalHeaderView { + id: control + + implicitWidth: syncView ? syncView.width : 0 + // The contentHeight of TableView will be zero at start-up, until the delegate + // items have been loaded. This means that even if the implicit height of + // HorizontalHeaderView should be the same as the content height in the end, we + // need to ensure that it has at least a height of 1 at start-up, otherwise + // TableView won't bother loading any delegates at all. + implicitHeight: Math.max(1, contentHeight) + + delegate: Rectangle { + id: delegate + + required property var model + + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: text.implicitWidth + (cellPadding * 2) + implicitHeight: Math.max(control.height, text.implicitHeight + (cellPadding * 2)) + color: control.Universal.background + + Label { + id: text + text: delegate.model[control.textRole] + width: delegate.width + height: delegate.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/ItemDelegate.qml b/bin/qml/QtQuick/Controls/Universal/ItemDelegate.qml new file mode 100644 index 000000000..ab999d609 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ItemDelegate.qml @@ -0,0 +1,53 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.ItemDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + visible: enabled && (control.down || control.highlighted || control.visualFocus || control.hovered) + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Label.qml b/bin/qml/QtQuick/Controls/Universal/Label.qml new file mode 100644 index 000000000..e77f48d18 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Label.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.Label { + id: control + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + linkColor: Universal.accent +} diff --git a/bin/qml/QtQuick/Controls/Universal/Menu.qml b/bin/qml/QtQuick/Controls/Universal/Menu.qml new file mode 100644 index 000000000..03a5b2302 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Menu.qml @@ -0,0 +1,49 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal +import QtQuick.Window + +T.Menu { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 0 + overlap: 1 + + delegate: MenuItem { } + + contentItem: ListView { + implicitHeight: contentHeight + model: control.contentModel + interactive: Window.window + ? contentHeight + control.topPadding + control.bottomPadding > control.height + : false + clip: true + currentIndex: control.currentIndex + + ScrollIndicator.vertical: ScrollIndicator {} + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 40 + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + T.Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + T.Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/MenuBar.qml b/bin/qml/QtQuick/Controls/Universal/MenuBar.qml new file mode 100644 index 000000000..1c0f4c6b2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/MenuBar.qml @@ -0,0 +1,30 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.MenuBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + delegate: MenuBarItem { } + + contentItem: Row { + spacing: control.spacing + Repeater { + model: control.contentModel + } + } + + background: Rectangle { + implicitHeight: 40 + color: control.Universal.chromeMediumColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/MenuBarItem.qml b/bin/qml/QtQuick/Controls/Universal/MenuBarItem.qml new file mode 100644 index 000000000..84dfb22fa --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/MenuBarItem.qml @@ -0,0 +1,57 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.MenuBarItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + spacing: 12 + + icon.width: 20 + icon.height: 20 + icon.color: !enabled ? Universal.baseLowColor : Universal.baseHighColor + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseHighColor + } + + background: Rectangle { + implicitWidth: 40 + implicitHeight: 40 + + color: !control.enabled ? control.Universal.baseLowColor : + control.down ? control.Universal.listMediumColor : + control.highlighted ? control.Universal.listLowColor : "transparent" + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + + visible: control.visualFocus + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/MenuItem.qml b/bin/qml/QtQuick/Controls/Universal/MenuItem.qml new file mode 100644 index 000000000..00b9d1622 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/MenuItem.qml @@ -0,0 +1,81 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.MenuItem { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + spacing: 12 + + icon.width: 20 + icon.height: 20 + icon.color: !enabled ? Universal.baseLowColor : Universal.baseHighColor + + contentItem: IconLabel { + readonly property real arrowPadding: control.subMenu && control.arrow ? control.arrow.width + control.spacing : 0 + readonly property real indicatorPadding: control.checkable && control.indicator ? control.indicator.width + control.spacing : 0 + leftPadding: !control.mirrored ? indicatorPadding : arrowPadding + rightPadding: control.mirrored ? indicatorPadding : arrowPadding + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: !control.enabled ? control.Universal.baseLowColor : control.Universal.baseHighColor + } + + arrow: ColorImage { + x: control.mirrored ? control.leftPadding : control.width - width - control.rightPadding + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.subMenu + mirror: control.mirrored + color: !enabled ? control.Universal.baseLowColor : control.Universal.baseHighColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Universal/images/rightarrow.png" + } + + indicator: ColorImage { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + + visible: control.checked + color: !control.enabled ? control.Universal.baseLowColor : control.down ? control.Universal.baseHighColor : control.Universal.baseMediumHighColor + source: !control.checkable ? "" : "qrc:/qt-project.org/imports/QtQuick/Controls/Universal/images/checkmark.png" + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 40 + + color: !control.enabled ? control.Universal.baseLowColor : + control.down ? control.Universal.listMediumColor : + control.highlighted ? control.Universal.listLowColor : control.Universal.altMediumLowColor + + Rectangle { + x: 1; y: 1 + width: parent.width - 2 + height: parent.height - 2 + + visible: control.visualFocus + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/MenuSeparator.qml b/bin/qml/QtQuick/Controls/Universal/MenuSeparator.qml new file mode 100644 index 000000000..dc814ef2f --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/MenuSeparator.qml @@ -0,0 +1,29 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.MenuSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 12 + topPadding: 9 + bottomPadding: 10 + + contentItem: Rectangle { + implicitWidth: 188 + implicitHeight: 1 + color: control.Universal.baseMediumLowColor + } + + background: Rectangle { + color: control.Universal.altMediumLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Page.qml b/bin/qml/QtQuick/Controls/Universal/Page.qml new file mode 100644 index 000000000..7e2c69aa5 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Page.qml @@ -0,0 +1,23 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.Page { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + background: Rectangle { + color: control.Universal.background + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/PageIndicator.qml b/bin/qml/QtQuick/Controls/Universal/PageIndicator.qml new file mode 100644 index 000000000..68147f699 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/PageIndicator.qml @@ -0,0 +1,38 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.PageIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 7 + + delegate: Rectangle { + implicitWidth: 5 + implicitHeight: 5 + + radius: width / 2 + color: index === control.currentIndex ? control.Universal.baseMediumHighColor : + pressed ? control.Universal.baseMediumLowColor : control.Universal.baseLowColor + + required property int index + } + + contentItem: Row { + spacing: control.spacing + + Repeater { + model: control.count + delegate: control.delegate + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Pane.qml b/bin/qml/QtQuick/Controls/Universal/Pane.qml new file mode 100644 index 000000000..2f27979c4 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Pane.qml @@ -0,0 +1,21 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.Pane { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: control.Universal.background + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Popup.qml b/bin/qml/QtQuick/Controls/Universal/Popup.qml new file mode 100644 index 000000000..589991979 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Popup.qml @@ -0,0 +1,31 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.Popup { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + padding: 12 + + background: Rectangle { + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + T.Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + T.Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/ProgressBar.qml b/bin/qml/QtQuick/Controls/Universal/ProgressBar.qml new file mode 100644 index 000000000..803941f86 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ProgressBar.qml @@ -0,0 +1,35 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.ProgressBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: ProgressBarImpl { + implicitHeight: 10 + + scale: control.mirrored ? -1 : 1 + color: control.Universal.accent + progress: control.position + indeterminate: control.visible && control.indeterminate + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 10 + y: (control.height - height) / 2 + height: 10 + + visible: !control.indeterminate + color: control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/RadioButton.qml b/bin/qml/QtQuick/Controls/Universal/RadioButton.qml new file mode 100644 index 000000000..b7e594308 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/RadioButton.qml @@ -0,0 +1,41 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.RadioButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 8 + + property bool useSystemFocusVisuals: true + + indicator: RadioIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/RadioDelegate.qml b/bin/qml/QtQuick/Controls/Universal/RadioDelegate.qml new file mode 100644 index 000000000..9e9899d15 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/RadioDelegate.qml @@ -0,0 +1,63 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.RadioDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + indicator: RadioIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + visible: enabled && (control.down || control.highlighted || control.visualFocus || control.hovered) + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/RangeSlider.qml b/bin/qml/QtQuick/Controls/Universal/RangeSlider.qml new file mode 100644 index 000000000..cd85d930b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/RangeSlider.qml @@ -0,0 +1,76 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.RangeSlider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + first.implicitHandleWidth + leftPadding + rightPadding, + second.implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + first.implicitHandleHeight + topPadding + bottomPadding, + second.implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + first.handle: Rectangle { + implicitWidth: control.horizontal ? 8 : 24 + implicitHeight: control.horizontal ? 24 : 8 + + x: control.leftPadding + (control.horizontal ? control.first.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.first.visualPosition * (control.availableHeight - height)) + + radius: 4 + color: control.first.pressed ? control.Universal.chromeHighColor : + control.first.hovered ? control.Universal.chromeAltLowColor : + control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor + } + + second.handle: Rectangle { + implicitWidth: control.horizontal ? 8 : 24 + implicitHeight: control.horizontal ? 24 : 8 + + x: control.leftPadding + (control.horizontal ? control.second.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.second.visualPosition * (control.availableHeight - height)) + + radius: 4 + color: control.second.pressed ? control.Universal.chromeHighColor : + control.second.hovered ? control.Universal.chromeAltLowColor : + control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor + } + + background: Item { + implicitWidth: control.horizontal ? 200 : 18 + implicitHeight: control.horizontal ? 18 : 200 + + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + width: control.horizontal ? control.availableWidth : implicitWidth + height: control.horizontal ? implicitHeight : control.availableHeight + + scale: control.horizontal && control.mirrored ? -1 : 1 + + Rectangle { + x: control.horizontal ? 0 : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : 0 + width: control.horizontal ? parent.width : 2 // SliderBackgroundThemeHeight + height: control.vertical ? parent.height : 2 // SliderBackgroundThemeHeight + + color: enabled && control.hovered && !control.pressed ? control.Universal.baseMediumColor : + control.enabled ? control.Universal.baseMediumLowColor : control.Universal.chromeDisabledHighColor + } + + Rectangle { + x: control.horizontal ? control.first.position * parent.width : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : control.second.visualPosition * parent.height + width: control.horizontal ? control.second.position * parent.width - control.first.position * parent.width : 2 // SliderBackgroundThemeHeight + height: control.vertical ? control.second.position * parent.height - control.first.position * parent.height : 2 // SliderBackgroundThemeHeight + + color: control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/RoundButton.qml b/bin/qml/QtQuick/Controls/Universal/RoundButton.qml new file mode 100644 index 000000000..c2d0f9e82 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/RoundButton.qml @@ -0,0 +1,57 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.RoundButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 8 + spacing: 8 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + property bool useSystemFocusVisuals: true + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + implicitWidth: 32 + implicitHeight: 32 + + radius: control.radius + visible: !control.flat || control.down || control.checked || control.highlighted + color: control.down ? control.Universal.baseMediumLowColor : + control.enabled && (control.highlighted || control.checked) ? control.Universal.accent : + control.Universal.baseLowColor + + Rectangle { + width: parent.width + height: parent.height + radius: control.radius + color: "transparent" + visible: enabled && control.hovered + border.width: 2 // ButtonBorderThemeThickness + border.color: control.Universal.baseMediumLowColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/ScrollBar.qml b/bin/qml/QtQuick/Controls/Universal/ScrollBar.qml new file mode 100644 index 000000000..a5ab5fc76 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ScrollBar.qml @@ -0,0 +1,61 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.ScrollBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + visible: control.policy !== T.ScrollBar.AlwaysOff + minimumSize: orientation === Qt.Horizontal ? height / width : width / height + + // TODO: arrows + + contentItem: Rectangle { + implicitWidth: control.interactive ? 12 : 6 + implicitHeight: control.interactive ? 12: 6 + + color: control.pressed ? control.Universal.baseMediumColor : + enabled && control.interactive && control.hovered ? control.Universal.baseMediumLowColor : + control.Universal.chromeHighColor + opacity: 0.0 + } + + background: Rectangle { + implicitWidth: control.interactive ? 12 : 6 + implicitHeight: control.interactive ? 12: 6 + + color: control.Universal.chromeLowColor + visible: control.size < 1.0 + opacity: 0.0 + } + + states: [ + State { + name: "active" + when: control.policy === T.ScrollBar.AlwaysOn || (control.active && control.size < 1.0) + } + ] + + transitions: [ + Transition { + to: "active" + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 1.0 } + }, + Transition { + from: "active" + SequentialAnimation { + PropertyAction{ targets: [control.contentItem, control.background]; property: "opacity"; value: 1.0 } + PauseAnimation { duration: 3000 } + NumberAnimation { targets: [control.contentItem, control.background]; property: "opacity"; to: 0.0 } + } + } + ] +} diff --git a/bin/qml/QtQuick/Controls/Universal/ScrollIndicator.qml b/bin/qml/QtQuick/Controls/Universal/ScrollIndicator.qml new file mode 100644 index 000000000..1df216349 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ScrollIndicator.qml @@ -0,0 +1,45 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.ScrollIndicator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + contentItem: Rectangle { + implicitWidth: 6 + implicitHeight: 6 + + color: control.Universal.baseMediumLowColor + visible: control.size < 1.0 + opacity: 0.0 + + states: [ + State { + name: "active" + when: control.active + } + ] + + transitions: [ + Transition { + to: "active" + NumberAnimation { target: control.contentItem; property: "opacity"; to: 1.0 } + }, + Transition { + from: "active" + SequentialAnimation { + PauseAnimation { duration: 5000 } + NumberAnimation { target: control.contentItem; property: "opacity"; to: 0.0 } + } + } + ] + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/ScrollView.qml b/bin/qml/QtQuick/Controls/Universal/ScrollView.qml new file mode 100644 index 000000000..60789313c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ScrollView.qml @@ -0,0 +1,31 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ScrollView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + ScrollBar.vertical: ScrollBar { + parent: control + x: control.mirrored ? 0 : control.width - width + y: control.topPadding + height: control.availableHeight + active: control.ScrollBar.horizontal.active + } + + ScrollBar.horizontal: ScrollBar { + parent: control + x: control.leftPadding + y: control.height - height + width: control.availableWidth + active: control.ScrollBar.vertical.active + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/SelectionRectangle.qml b/bin/qml/QtQuick/Controls/Universal/SelectionRectangle.qml new file mode 100644 index 000000000..e7b99852d --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/SelectionRectangle.qml @@ -0,0 +1,37 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.SelectionRectangle { + id: control + + topLeftHandle: handle + bottomRightHandle: handle + + Component { + id: handle + Rectangle { + implicitWidth: 8 + implicitHeight: 24 + radius: 4 + color: tapHandler.pressed || SelectionRectangle.dragging ? control.Universal.chromeHighColor : + hoverHandler.hovered ? control.Universal.chromeAltLowColor : + control.Universal.accent + visible: control.active + + property Item control: SelectionRectangle.control + + HoverHandler { + id: hoverHandler + } + + TapHandler { + id: tapHandler + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Slider.qml b/bin/qml/QtQuick/Controls/Universal/Slider.qml new file mode 100644 index 000000000..305c5c321 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Slider.qml @@ -0,0 +1,63 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding) + + padding: 6 + + property bool useSystemFocusVisuals: true + + handle: Rectangle { + implicitWidth: control.horizontal ? 8 : 24 + implicitHeight: control.horizontal ? 24 : 8 + + x: control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) + + radius: 4 + color: control.pressed ? control.Universal.chromeHighColor : + control.enabled ? control.hovered ? control.Universal.chromeAltLowColor : + control.Universal.accent : control.Universal.chromeDisabledHighColor + } + + background: Item { + implicitWidth: control.horizontal ? 200 : 18 + implicitHeight: control.horizontal ? 18 : 200 + + x: control.leftPadding + (control.horizontal ? 0 : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : 0) + width: control.horizontal ? control.availableWidth : implicitWidth + height: control.horizontal ? implicitHeight : control.availableHeight + + scale: control.horizontal && control.mirrored ? -1 : 1 + + Rectangle { + x: control.horizontal ? 0 : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : 0 + width: control.horizontal ? parent.width : 2 // SliderTrackThemeHeight + height: !control.horizontal ? parent.height : 2 // SliderTrackThemeHeight + + color: enabled && control.hovered && !control.pressed ? control.Universal.baseMediumColor : + control.enabled ? control.Universal.baseMediumLowColor : control.Universal.chromeDisabledHighColor + } + + Rectangle { + x: control.horizontal ? 0 : (parent.width - width) / 2 + y: control.horizontal ? (parent.height - height) / 2 : control.visualPosition * parent.height + width: control.horizontal ? control.position * parent.width : 2 // SliderTrackThemeHeight + height: !control.horizontal ? control.position * parent.height : 2 // SliderTrackThemeHeight + + color: control.enabled ? control.Universal.accent : control.Universal.chromeDisabledHighColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/SpinBox.qml b/bin/qml/QtQuick/Controls/Universal/SpinBox.qml new file mode 100644 index 000000000..ed233e0c1 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/SpinBox.qml @@ -0,0 +1,114 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.SpinBox { + id: control + + + // Note: the width of the indicators are calculated into the padding + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + up.implicitIndicatorHeight, down.implicitIndicatorHeight) + + // TextControlThemePadding + 2 (border) + padding: 12 + topPadding: padding - 7 + leftPadding: padding + (control.mirrored ? (up.indicator ? up.indicator.width : 0) : (down.indicator ? down.indicator.width : 0)) + rightPadding: padding + (control.mirrored ? (down.indicator ? down.indicator.width : 0) : (up.indicator ? up.indicator.width : 0)) + bottomPadding: padding - 5 + + Universal.theme: activeFocus ? Universal.Light : undefined + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + text: control.displayText + + font: control.font + color: !enabled ? control.Universal.chromeDisabledLowColor : + activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.foreground + selectionColor: control.Universal.accent + selectedTextColor: control.Universal.chromeWhiteColor + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: TextInput.AlignVCenter + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + clip: width < implicitWidth + } + + up.indicator: Item { + implicitWidth: 28 + height: control.height + 4 + y: -2 + x: control.mirrored ? 0 : control.width - width + + Rectangle { + x: 2; y: 4 + width: parent.width - 4 + height: parent.height - 8 + color: control.activeFocus ? control.Universal.accent : + control.up.pressed ? control.Universal.baseMediumLowColor : + control.up.hovered ? control.Universal.baseLowColor : "transparent" + visible: control.up.pressed || control.up.hovered + opacity: control.activeFocus && !control.up.pressed ? 0.4 : 1.0 + } + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + color: !enabled ? control.Universal.chromeDisabledLowColor : + control.activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.baseHighColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Universal/images/" + (control.mirrored ? "left" : "right") + "arrow.png" + } + } + + down.indicator: Item { + implicitWidth: 28 + height: control.height + 4 + y: -2 + x: control.mirrored ? control.width - width : 0 + + Rectangle { + x: 2; y: 4 + width: parent.width - 4 + height: parent.height - 8 + color: control.activeFocus ? control.Universal.accent : + control.down.pressed ? control.Universal.baseMediumLowColor : + control.down.hovered ? control.Universal.baseLowColor : "transparent" + visible: control.down.pressed || control.down.hovered + opacity: control.activeFocus && !control.down.pressed ? 0.4 : 1.0 + } + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + color: !enabled ? control.Universal.chromeDisabledLowColor : + control.activeFocus ? control.Universal.chromeBlackHighColor : control.Universal.baseHighColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Universal/images/" + (control.mirrored ? "right" : "left") + "arrow.png" + } + } + + background: Rectangle { + implicitWidth: 60 + 28 // TextControlThemeMinWidth - 4 (border) + implicitHeight: 28 // TextControlThemeMinHeight - 4 (border) + + border.width: 2 // TextControlBorderThemeThickness + border.color: !control.enabled ? control.Universal.baseLowColor : + control.activeFocus ? control.Universal.accent : + control.hovered ? control.Universal.baseMediumColor : control.Universal.chromeDisabledLowColor + color: control.enabled ? control.Universal.background : control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/SplitView.qml b/bin/qml/QtQuick/Controls/Universal/SplitView.qml new file mode 100644 index 000000000..e18169db6 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/SplitView.qml @@ -0,0 +1,22 @@ +// Copyright (C) 2018 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.SplitView { + id: control + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + handle: Rectangle { + implicitWidth: control.orientation === Qt.Horizontal ? 6 : control.width + implicitHeight: control.orientation === Qt.Horizontal ? control.height : 6 + color: T.SplitHandle.pressed ? control.Universal.baseMediumColor + : (enabled && T.SplitHandle.hovered ? control.Universal.baseMediumLowColor : control.Universal.chromeHighColor) + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/StackView.qml b/bin/qml/QtQuick/Controls/Universal/StackView.qml new file mode 100644 index 000000000..b5d568f98 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/StackView.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.StackView { + id: control + + popEnter: Transition { + ParallelAnimation { + NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200; easing.type: Easing.InQuint } + NumberAnimation { property: "x"; from: (control.mirrored ? -0.3 : 0.3) * -control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + } + + popExit: Transition { + NumberAnimation { property: "opacity"; from: 1; to: 0; duration: 200; easing.type: Easing.OutQuint } + } + + pushEnter: Transition { + ParallelAnimation { + NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200; easing.type: Easing.InQuint } + NumberAnimation { property: "x"; from: (control.mirrored ? -0.3 : 0.3) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + } + + pushExit: Transition { + NumberAnimation { property: "opacity"; from: 1; to: 0; duration: 200; easing.type: Easing.OutQuint } + } + + replaceEnter: Transition { + ParallelAnimation { + NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200; easing.type: Easing.InQuint } + NumberAnimation { property: "x"; from: (control.mirrored ? -0.3 : 0.3) * control.width; to: 0; duration: 400; easing.type: Easing.OutCubic } + } + } + + replaceExit: Transition { + NumberAnimation { property: "opacity"; from: 1; to: 0; duration: 200; easing.type: Easing.OutQuint } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/SwipeDelegate.qml b/bin/qml/QtQuick/Controls/Universal/SwipeDelegate.qml new file mode 100644 index 000000000..0bb2367ca --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/SwipeDelegate.qml @@ -0,0 +1,59 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.SwipeDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + swipe.transition: Transition { SmoothedAnimation { velocity: 3; easing.type: Easing.InOutCubic } } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + color: control.Universal.background + + Rectangle { + width: parent.width + height: parent.height + color: control.down ? control.Universal.listMediumColor : + enabled && control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Switch.qml b/bin/qml/QtQuick/Controls/Universal/Switch.qml new file mode 100644 index 000000000..70de360bd --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Switch.qml @@ -0,0 +1,41 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.Switch { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 5 + spacing: 8 + + property bool useSystemFocusVisuals: true + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.width - width - control.rightPadding : control.leftPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: Text { + leftPadding: control.indicator && !control.mirrored ? control.indicator.width + control.spacing : 0 + rightPadding: control.indicator && control.mirrored ? control.indicator.width + control.spacing : 0 + + text: control.text + font: control.font + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/SwitchDelegate.qml b/bin/qml/QtQuick/Controls/Universal/SwitchDelegate.qml new file mode 100644 index 000000000..18a55e9cd --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/SwitchDelegate.qml @@ -0,0 +1,63 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.SwitchDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + indicator: SwitchIndicator { + x: control.text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 + y: control.topPadding + (control.availableHeight - height) / 2 + control: control + } + + contentItem: IconLabel { + leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing + rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing + + spacing: control.spacing + mirrored: control.mirrored + display: control.display + alignment: control.display === IconLabel.IconOnly || control.display === IconLabel.TextUnderIcon ? Qt.AlignCenter : Qt.AlignLeft + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + visible: enabled && (control.down || control.highlighted || control.visualFocus || control.hovered) + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/TabBar.qml b/bin/qml/QtQuick/Controls/Universal/TabBar.qml new file mode 100644 index 000000000..c06aaaf54 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/TabBar.qml @@ -0,0 +1,37 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.TabBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + contentItem: ListView { + model: control.contentModel + currentIndex: control.currentIndex + + spacing: control.spacing + orientation: ListView.Horizontal + boundsBehavior: Flickable.StopAtBounds + flickableDirection: Flickable.AutoFlickIfNeeded + snapMode: ListView.SnapToItem + + highlightMoveDuration: 100 + highlightRangeMode: ListView.ApplyRange + preferredHighlightBegin: 48 + preferredHighlightEnd: width - 48 + } + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 48 + color: control.Universal.background + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/TabButton.qml b/bin/qml/QtQuick/Controls/Universal/TabButton.qml new file mode 100644 index 000000000..7c8080301 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/TabButton.qml @@ -0,0 +1,36 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.TabButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 12 // PivotItemMargin + spacing: 8 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(control.hovered ? control.Universal.baseMediumHighColor : control.Universal.foreground, + control.checked || control.down || control.hovered ? 1.0 : 0.2) + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(enabled && control.hovered ? control.Universal.baseMediumHighColor : control.Universal.foreground, + control.checked || control.down || (enabled && control.hovered) ? 1.0 : 0.2) + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/TextArea.qml b/bin/qml/QtQuick/Controls/Universal/TextArea.qml new file mode 100644 index 000000000..8a3cdd111 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/TextArea.qml @@ -0,0 +1,60 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset, + placeholder.implicitHeight + topPadding + bottomPadding) + + // TextControlThemePadding + 2 (border) + padding: 12 + topPadding: padding - 7 + rightPadding: padding - 4 + bottomPadding: padding - 5 + + Universal.theme: activeFocus ? Universal.Light : undefined + + color: !enabled ? Universal.chromeDisabledLowColor : Universal.foreground + selectionColor: Universal.accent + selectedTextColor: Universal.chromeWhiteColor + placeholderTextColor: !enabled ? Universal.chromeDisabledLowColor : + activeFocus ? Universal.chromeBlackMediumLowColor : + Universal.baseMediumColor + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + verticalAlignment: control.verticalAlignment + elide: Text.ElideRight + renderType: control.renderType + } + + background: Rectangle { + implicitWidth: 60 // TextControlThemeMinWidth - 4 (border) + implicitHeight: 28 // TextControlThemeMinHeight - 4 (border) + + border.width: 2 // TextControlBorderThemeThickness + border.color: !control.enabled ? control.Universal.baseLowColor : + control.activeFocus ? control.Universal.accent : + control.hovered ? control.Universal.baseMediumColor : control.Universal.chromeDisabledLowColor + color: control.enabled ? control.Universal.background : control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/TextField.qml b/bin/qml/QtQuick/Controls/Universal/TextField.qml new file mode 100644 index 000000000..fb2077915 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/TextField.qml @@ -0,0 +1,60 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.TextField { + id: control + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding, + placeholder.implicitHeight + topPadding + bottomPadding) + + // TextControlThemePadding + 2 (border) + padding: 12 + topPadding: padding - 7 + rightPadding: padding - 4 + bottomPadding: padding - 5 + + Universal.theme: activeFocus ? Universal.Light : undefined + + color: !enabled ? Universal.chromeDisabledLowColor : Universal.foreground + selectionColor: Universal.accent + selectedTextColor: Universal.chromeWhiteColor + placeholderTextColor: !enabled ? Universal.chromeDisabledLowColor : + activeFocus ? Universal.chromeBlackMediumLowColor : + Universal.baseMediumColor + verticalAlignment: TextInput.AlignVCenter + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + verticalAlignment: control.verticalAlignment + elide: Text.ElideRight + renderType: control.renderType + } + + background: Rectangle { + implicitWidth: 60 // TextControlThemeMinWidth - 4 (border) + implicitHeight: 28 // TextControlThemeMinHeight - 4 (border) + + border.width: 2 // TextControlBorderThemeThickness + border.color: !control.enabled ? control.Universal.baseLowColor : + control.activeFocus ? control.Universal.accent : + control.hovered ? control.Universal.baseMediumColor : control.Universal.chromeDisabledLowColor + color: control.enabled ? control.Universal.background : control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/ToolBar.qml b/bin/qml/QtQuick/Controls/Universal/ToolBar.qml new file mode 100644 index 000000000..33aa490c0 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ToolBar.qml @@ -0,0 +1,20 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.ToolBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + background: Rectangle { + implicitHeight: 48 // AppBarThemeCompactHeight + color: control.Universal.chromeMediumColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/ToolButton.qml b/bin/qml/QtQuick/Controls/Universal/ToolButton.qml new file mode 100644 index 000000000..08c346b99 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ToolButton.qml @@ -0,0 +1,50 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +T.ToolButton { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 8 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + + property bool useSystemFocusVisuals: true + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + + background: Rectangle { + implicitWidth: 68 + implicitHeight: 48 // AppBarThemeCompactHeight + + color: control.enabled && (control.highlighted || control.checked) ? control.Universal.accent : "transparent" + + Rectangle { + width: parent.width + height: parent.height + visible: enabled && (control.down || control.hovered) + color: control.down ? control.Universal.listMediumColor : control.Universal.listLowColor + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/ToolSeparator.qml b/bin/qml/QtQuick/Controls/Universal/ToolSeparator.qml new file mode 100644 index 000000000..2d6cc9a3c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ToolSeparator.qml @@ -0,0 +1,26 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.ToolSeparator { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + leftPadding: vertical ? 16 : 12 + rightPadding: vertical ? 15 : 12 + topPadding: vertical ? 12 : 16 + bottomPadding: vertical ? 12 : 15 + + contentItem: Rectangle { + implicitWidth: control.vertical ? 1 : 20 + implicitHeight: control.vertical ? 20 : 1 + color: control.Universal.baseMediumLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/ToolTip.qml b/bin/qml/QtQuick/Controls/Universal/ToolTip.qml new file mode 100644 index 000000000..af1d49586 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/ToolTip.qml @@ -0,0 +1,39 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.ToolTip { + id: control + + x: parent ? (parent.width - implicitWidth) / 2 : 0 + y: -implicitHeight - 16 + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + margins: 8 + padding: 8 + topPadding: padding - 3 + bottomPadding: padding - 1 + + closePolicy: T.Popup.CloseOnEscape | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnReleaseOutsideParent + + contentItem: Text { + text: control.text + font: control.font + wrapMode: Text.Wrap + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + } + + background: Rectangle { + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // ToolTipBorderThemeThickness + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/Tumbler.qml b/bin/qml/QtQuick/Controls/Universal/Tumbler.qml new file mode 100644 index 000000000..03b5fcca6 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/Tumbler.qml @@ -0,0 +1,45 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal +import QtQuick.Controls.impl + +T.Tumbler { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + delegate: Text { + text: modelData + font: control.font + color: control.Universal.foreground + opacity: (1.0 - Math.abs(Tumbler.displacement) / (control.visibleItemCount / 2)) * (control.enabled ? 1 : 0.6) + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + + required property var modelData + required property int index + } + + contentItem: TumblerView { + implicitWidth: 60 + implicitHeight: 200 + model: control.model + delegate: control.delegate + path: Path { + startX: control.contentItem.width / 2 + startY: -control.contentItem.delegateHeight / 2 + PathLine { + x: control.contentItem.width / 2 + y: (control.visibleItemCount + 1) * control.contentItem.delegateHeight - control.contentItem.delegateHeight / 2 + } + } + + property real delegateHeight: control.availableHeight / control.visibleItemCount + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/VerticalHeaderView.qml b/bin/qml/QtQuick/Controls/Universal/VerticalHeaderView.qml new file mode 100644 index 000000000..6e4540d66 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/VerticalHeaderView.qml @@ -0,0 +1,45 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T +import QtQuick.Controls.Universal +import QtQuick.Controls.Universal.impl + +T.VerticalHeaderView { + id: control + + // The contentWidth of TableView will be zero at start-up, until the delegate + // items have been loaded. This means that even if the implicit width of + // VerticalHeaderView should be the same as the content width in the end, we + // need to ensure that it has at least a width of 1 at start-up, otherwise + // TableView won't bother loading any delegates at all. + implicitWidth: Math.max(1, contentWidth) + implicitHeight: syncView ? syncView.height : 0 + + delegate: Rectangle { + id: delegate + + required property var model + + // Qt6: add cellPadding (and font etc) as public API in headerview + readonly property real cellPadding: 8 + + implicitWidth: Math.max(control.width, text.implicitWidth + (cellPadding * 2)) + implicitHeight: text.implicitHeight + (cellPadding * 2) + color: control.Universal.background + + Label { + id: text + text: delegate.model[control.textRole] + width: delegate.width + height: delegate.height + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/impl/CheckIndicator.qml b/bin/qml/QtQuick/Controls/Universal/impl/CheckIndicator.qml new file mode 100644 index 000000000..b78e57570 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/impl/CheckIndicator.qml @@ -0,0 +1,48 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Universal + +Rectangle { + id: indicator + implicitWidth: 20 + implicitHeight: 20 + + color: !control.enabled ? "transparent" : + control.down && !partiallyChecked ? control.Universal.baseMediumColor : + control.checkState === Qt.Checked ? control.Universal.accent : "transparent" + border.color: !control.enabled ? control.Universal.baseLowColor : + control.down ? control.Universal.baseMediumColor : + control.checked ? control.Universal.accent : control.Universal.baseMediumHighColor + border.width: 2 // CheckBoxBorderThemeThickness + + property Item control + readonly property bool partiallyChecked: control.checkState === Qt.PartiallyChecked + + ColorImage { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + + visible: indicator.control.checkState === Qt.Checked + color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : indicator.control.Universal.chromeWhiteColor + source: "qrc:/qt-project.org/imports/QtQuick/Controls/Universal/images/checkmark.png" + } + + Rectangle { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: indicator.partiallyChecked ? parent.width / 2 : parent.width + height: indicator.partiallyChecked ? parent.height / 2 : parent.height + + visible: !indicator.control.pressed && enabled && indicator.control.hovered || indicator.partiallyChecked + color: !indicator.partiallyChecked ? "transparent" : + !indicator.control.enabled ? indicator.control.Universal.baseLowColor : + indicator.control.down ? indicator.control.Universal.baseMediumColor : + indicator.control.hovered ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumHighColor + border.width: indicator.partiallyChecked ? 0 : 2 // CheckBoxBorderThemeThickness + border.color: indicator.control.Universal.baseMediumLowColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/impl/RadioIndicator.qml b/bin/qml/QtQuick/Controls/Universal/impl/RadioIndicator.qml new file mode 100644 index 000000000..73fc2e964 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/impl/RadioIndicator.qml @@ -0,0 +1,47 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.Universal + +Rectangle { + id: indicator + implicitWidth: 20 + implicitHeight: 20 + radius: width / 2 + color: "transparent" + border.width: 2 // RadioButtonBorderThemeThickness + border.color: control.checked ? "transparent" : + !control.enabled ? control.Universal.baseLowColor : + control.down ? control.Universal.baseMediumColor : + control.hovered ? control.Universal.baseHighColor : control.Universal.baseMediumHighColor + + property var control + + Rectangle { + id: checkOuterEllipse + width: parent.width + height: parent.height + + radius: width / 2 + opacity: indicator.control.checked ? 1 : 0 + color: "transparent" + border.width: 2 // RadioButtonBorderThemeThickness + border.color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : + indicator.control.down ? indicator.control.Universal.baseMediumColor : indicator.control.Universal.accent + } + + Rectangle { + id: checkGlyph + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + width: parent.width / 2 + height: parent.height / 2 + + radius: width / 2 + opacity: indicator.control.checked ? 1 : 0 + color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : + indicator.control.down ? indicator.control.Universal.baseMediumColor : + indicator.control.hovered ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumHighColor + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/impl/SwitchIndicator.qml b/bin/qml/QtQuick/Controls/Universal/impl/SwitchIndicator.qml new file mode 100644 index 000000000..f88094bec --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/impl/SwitchIndicator.qml @@ -0,0 +1,48 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +Item { + id: indicator + implicitWidth: 44 + implicitHeight: 20 + + property T.AbstractButton control + + Rectangle { + width: parent.width + height: parent.height + + radius: 10 + color: !indicator.control.enabled ? "transparent" : + indicator.control.pressed ? indicator.control.Universal.baseMediumColor : + indicator.control.checked ? indicator.control.Universal.accent : "transparent" + border.color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : + indicator.control.checked && !indicator.control.pressed ? indicator.control.Universal.accent : + indicator.control.hovered && !indicator.control.checked && !indicator.control.pressed ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumColor + opacity: enabled && indicator.control.hovered && indicator.control.checked && !indicator.control.pressed ? (indicator.control.Universal.theme === Universal.Light ? 0.7 : 0.9) : 1.0 + border.width: 2 + } + + Rectangle { + width: 10 + height: 10 + radius: 5 + + color: !indicator.control.enabled ? indicator.control.Universal.baseLowColor : + indicator.control.pressed || indicator.control.checked ? indicator.control.Universal.chromeWhiteColor : + indicator.control.hovered && !indicator.control.checked ? indicator.control.Universal.baseHighColor : indicator.control.Universal.baseMediumHighColor + + x: Math.max(5, Math.min(parent.width - width - 5, + indicator.control.visualPosition * parent.width - (width / 2))) + y: (parent.height - height) / 2 + + Behavior on x { + enabled: !indicator.control.pressed + SmoothedAnimation { velocity: 200 } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/impl/plugins.qmltypes b/bin/qml/QtQuick/Controls/Universal/impl/plugins.qmltypes new file mode 100644 index 000000000..6b13b2d10 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/impl/plugins.qmltypes @@ -0,0 +1,80 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickuniversalbusyindicator_p.h" + name: "QQuickUniversalBusyIndicator" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Controls.Universal.impl/BusyIndicatorImpl 2.0", + "QtQuick.Controls.Universal.impl/BusyIndicatorImpl 2.1", + "QtQuick.Controls.Universal.impl/BusyIndicatorImpl 2.4", + "QtQuick.Controls.Universal.impl/BusyIndicatorImpl 2.7", + "QtQuick.Controls.Universal.impl/BusyIndicatorImpl 2.11", + "QtQuick.Controls.Universal.impl/BusyIndicatorImpl 6.0", + "QtQuick.Controls.Universal.impl/BusyIndicatorImpl 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { name: "count"; type: "int"; read: "count"; write: "setCount"; index: 0; isFinal: true } + Property { name: "color"; type: "QColor"; read: "color"; write: "setColor"; index: 1; isFinal: true } + } + Component { + file: "private/qquickuniversalfocusrectangle_p.h" + name: "QQuickUniversalFocusRectangle" + accessSemantics: "reference" + prototype: "QQuickPaintedItem" + exports: [ + "QtQuick.Controls.Universal.impl/FocusRectangle 2.0", + "QtQuick.Controls.Universal.impl/FocusRectangle 2.1", + "QtQuick.Controls.Universal.impl/FocusRectangle 2.4", + "QtQuick.Controls.Universal.impl/FocusRectangle 2.7", + "QtQuick.Controls.Universal.impl/FocusRectangle 2.11", + "QtQuick.Controls.Universal.impl/FocusRectangle 6.0", + "QtQuick.Controls.Universal.impl/FocusRectangle 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + } + Component { + file: "private/qquickuniversalprogressbar_p.h" + name: "QQuickUniversalProgressBar" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Controls.Universal.impl/ProgressBarImpl 2.0", + "QtQuick.Controls.Universal.impl/ProgressBarImpl 2.1", + "QtQuick.Controls.Universal.impl/ProgressBarImpl 2.4", + "QtQuick.Controls.Universal.impl/ProgressBarImpl 2.7", + "QtQuick.Controls.Universal.impl/ProgressBarImpl 2.11", + "QtQuick.Controls.Universal.impl/ProgressBarImpl 6.0", + "QtQuick.Controls.Universal.impl/ProgressBarImpl 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { name: "color"; type: "QColor"; read: "color"; write: "setColor"; index: 0; isFinal: true } + Property { + name: "progress" + type: "double" + read: "progress" + write: "setProgress" + index: 1 + isFinal: true + } + Property { + name: "indeterminate" + type: "bool" + read: "isIndeterminate" + write: "setIndeterminate" + index: 2 + isFinal: true + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/impl/qmldir b/bin/qml/QtQuick/Controls/Universal/impl/qmldir new file mode 100644 index 000000000..c0f99c5e0 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/impl/qmldir @@ -0,0 +1,14 @@ +module QtQuick.Controls.Universal.impl +linktarget Qt6::qtquickcontrols2universalstyleimplplugin +optional plugin qtquickcontrols2universalstyleimplplugin +classname QtQuickControls2UniversalStyleImplPlugin +typeinfo plugins.qmltypes +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Controls/Universal/impl/ +CheckIndicator 6.0 CheckIndicator.qml +CheckIndicator 2.0 CheckIndicator.qml +RadioIndicator 6.0 RadioIndicator.qml +RadioIndicator 2.0 RadioIndicator.qml +SwitchIndicator 6.0 SwitchIndicator.qml +SwitchIndicator 2.0 SwitchIndicator.qml + diff --git a/bin/qml/QtQuick/Controls/Universal/impl/qtquickcontrols2universalstyleimplplugin.dll b/bin/qml/QtQuick/Controls/Universal/impl/qtquickcontrols2universalstyleimplplugin.dll new file mode 100644 index 000000000..b4529c8ea Binary files /dev/null and b/bin/qml/QtQuick/Controls/Universal/impl/qtquickcontrols2universalstyleimplplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Universal/plugins.qmltypes b/bin/qml/QtQuick/Controls/Universal/plugins.qmltypes new file mode 100644 index 000000000..27d55de76 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/plugins.qmltypes @@ -0,0 +1,323 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qquickattachedpropertypropagator.h" + name: "QQuickAttachedPropertyPropagator" + accessSemantics: "reference" + prototype: "QObject" + } + Component { + file: "private/qquickuniversalstyle_p.h" + name: "QQuickUniversalStyle" + accessSemantics: "reference" + prototype: "QQuickAttachedPropertyPropagator" + exports: [ + "QtQuick.Controls.Universal/Universal 2.0", + "QtQuick.Controls.Universal/Universal 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + attachedType: "QQuickUniversalStyle" + Enum { + name: "Theme" + values: ["Light", "Dark", "System"] + } + Enum { + name: "Color" + values: [ + "Lime", + "Green", + "Emerald", + "Teal", + "Cyan", + "Cobalt", + "Indigo", + "Violet", + "Pink", + "Magenta", + "Crimson", + "Red", + "Orange", + "Amber", + "Yellow", + "Brown", + "Olive", + "Steel", + "Mauve", + "Taupe" + ] + } + Property { + name: "theme" + type: "Theme" + read: "theme" + write: "setTheme" + reset: "resetTheme" + notify: "themeChanged" + index: 0 + isFinal: true + } + Property { + name: "accent" + type: "QVariant" + read: "accent" + write: "setAccent" + reset: "resetAccent" + notify: "accentChanged" + index: 1 + isFinal: true + } + Property { + name: "foreground" + type: "QVariant" + read: "foreground" + write: "setForeground" + reset: "resetForeground" + notify: "foregroundChanged" + index: 2 + isFinal: true + } + Property { + name: "background" + type: "QVariant" + read: "background" + write: "setBackground" + reset: "resetBackground" + notify: "backgroundChanged" + index: 3 + isFinal: true + } + Property { + name: "altHighColor" + type: "QColor" + read: "altHighColor" + notify: "paletteChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "altLowColor" + type: "QColor" + read: "altLowColor" + notify: "paletteChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "altMediumColor" + type: "QColor" + read: "altMediumColor" + notify: "paletteChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "altMediumHighColor" + type: "QColor" + read: "altMediumHighColor" + notify: "paletteChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "altMediumLowColor" + type: "QColor" + read: "altMediumLowColor" + notify: "paletteChanged" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "baseHighColor" + type: "QColor" + read: "baseHighColor" + notify: "paletteChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "baseLowColor" + type: "QColor" + read: "baseLowColor" + notify: "paletteChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "baseMediumColor" + type: "QColor" + read: "baseMediumColor" + notify: "paletteChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "baseMediumHighColor" + type: "QColor" + read: "baseMediumHighColor" + notify: "paletteChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "baseMediumLowColor" + type: "QColor" + read: "baseMediumLowColor" + notify: "paletteChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "chromeAltLowColor" + type: "QColor" + read: "chromeAltLowColor" + notify: "paletteChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "chromeBlackHighColor" + type: "QColor" + read: "chromeBlackHighColor" + notify: "paletteChanged" + index: 15 + isReadonly: true + isFinal: true + } + Property { + name: "chromeBlackLowColor" + type: "QColor" + read: "chromeBlackLowColor" + notify: "paletteChanged" + index: 16 + isReadonly: true + isFinal: true + } + Property { + name: "chromeBlackMediumLowColor" + type: "QColor" + read: "chromeBlackMediumLowColor" + notify: "paletteChanged" + index: 17 + isReadonly: true + isFinal: true + } + Property { + name: "chromeBlackMediumColor" + type: "QColor" + read: "chromeBlackMediumColor" + notify: "paletteChanged" + index: 18 + isReadonly: true + isFinal: true + } + Property { + name: "chromeDisabledHighColor" + type: "QColor" + read: "chromeDisabledHighColor" + notify: "paletteChanged" + index: 19 + isReadonly: true + isFinal: true + } + Property { + name: "chromeDisabledLowColor" + type: "QColor" + read: "chromeDisabledLowColor" + notify: "paletteChanged" + index: 20 + isReadonly: true + isFinal: true + } + Property { + name: "chromeHighColor" + type: "QColor" + read: "chromeHighColor" + notify: "paletteChanged" + index: 21 + isReadonly: true + isFinal: true + } + Property { + name: "chromeLowColor" + type: "QColor" + read: "chromeLowColor" + notify: "paletteChanged" + index: 22 + isReadonly: true + isFinal: true + } + Property { + name: "chromeMediumColor" + type: "QColor" + read: "chromeMediumColor" + notify: "paletteChanged" + index: 23 + isReadonly: true + isFinal: true + } + Property { + name: "chromeMediumLowColor" + type: "QColor" + read: "chromeMediumLowColor" + notify: "paletteChanged" + index: 24 + isReadonly: true + isFinal: true + } + Property { + name: "chromeWhiteColor" + type: "QColor" + read: "chromeWhiteColor" + notify: "paletteChanged" + index: 25 + isReadonly: true + isFinal: true + } + Property { + name: "listLowColor" + type: "QColor" + read: "listLowColor" + notify: "paletteChanged" + index: 26 + isReadonly: true + isFinal: true + } + Property { + name: "listMediumColor" + type: "QColor" + read: "listMediumColor" + notify: "paletteChanged" + index: 27 + isReadonly: true + isFinal: true + } + Signal { name: "themeChanged" } + Signal { name: "accentChanged" } + Signal { name: "foregroundChanged" } + Signal { name: "backgroundChanged" } + Signal { name: "paletteChanged" } + Method { + name: "color" + type: "QColor" + Parameter { name: "color"; type: "Color" } + } + } +} diff --git a/bin/qml/QtQuick/Controls/Universal/qmldir b/bin/qml/QtQuick/Controls/Universal/qmldir new file mode 100644 index 000000000..05fc6f15c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Universal/qmldir @@ -0,0 +1,111 @@ +module QtQuick.Controls.Universal +linktarget Qt6::qtquickcontrols2universalstyleplugin +plugin qtquickcontrols2universalstyleplugin +classname QtQuickControls2UniversalStylePlugin +typeinfo plugins.qmltypes +import QtQuick.Controls.Basic auto +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Controls/Universal/ +ApplicationWindow 6.0 ApplicationWindow.qml +ApplicationWindow 2.0 ApplicationWindow.qml +BusyIndicator 6.0 BusyIndicator.qml +BusyIndicator 2.0 BusyIndicator.qml +Button 6.0 Button.qml +Button 2.0 Button.qml +CheckBox 6.0 CheckBox.qml +CheckBox 2.0 CheckBox.qml +CheckDelegate 6.0 CheckDelegate.qml +CheckDelegate 2.0 CheckDelegate.qml +ComboBox 6.0 ComboBox.qml +ComboBox 2.0 ComboBox.qml +DelayButton 2.2 DelayButton.qml +DelayButton 6.0 DelayButton.qml +Dial 6.0 Dial.qml +Dial 2.0 Dial.qml +Dialog 2.1 Dialog.qml +Dialog 6.0 Dialog.qml +DialogButtonBox 2.1 DialogButtonBox.qml +DialogButtonBox 6.0 DialogButtonBox.qml +Drawer 6.0 Drawer.qml +Drawer 2.0 Drawer.qml +Frame 6.0 Frame.qml +Frame 2.0 Frame.qml +GroupBox 6.0 GroupBox.qml +GroupBox 2.0 GroupBox.qml +HorizontalHeaderView 2.15 HorizontalHeaderView.qml +HorizontalHeaderView 6.0 HorizontalHeaderView.qml +ItemDelegate 6.0 ItemDelegate.qml +ItemDelegate 2.0 ItemDelegate.qml +Label 6.0 Label.qml +Label 2.0 Label.qml +Menu 6.0 Menu.qml +Menu 2.0 Menu.qml +MenuBar 2.3 MenuBar.qml +MenuBar 6.0 MenuBar.qml +MenuBarItem 2.3 MenuBarItem.qml +MenuBarItem 6.0 MenuBarItem.qml +MenuItem 6.0 MenuItem.qml +MenuItem 2.0 MenuItem.qml +MenuSeparator 2.1 MenuSeparator.qml +MenuSeparator 6.0 MenuSeparator.qml +Page 6.0 Page.qml +Page 2.0 Page.qml +PageIndicator 6.0 PageIndicator.qml +PageIndicator 2.0 PageIndicator.qml +Pane 6.0 Pane.qml +Pane 2.0 Pane.qml +Popup 6.0 Popup.qml +Popup 2.0 Popup.qml +ProgressBar 6.0 ProgressBar.qml +ProgressBar 2.0 ProgressBar.qml +RadioButton 6.0 RadioButton.qml +RadioButton 2.0 RadioButton.qml +RadioDelegate 6.0 RadioDelegate.qml +RadioDelegate 2.0 RadioDelegate.qml +RangeSlider 6.0 RangeSlider.qml +RangeSlider 2.0 RangeSlider.qml +RoundButton 2.1 RoundButton.qml +RoundButton 6.0 RoundButton.qml +ScrollView 6.0 ScrollView.qml +ScrollView 2.0 ScrollView.qml +ScrollBar 6.0 ScrollBar.qml +ScrollBar 2.0 ScrollBar.qml +ScrollIndicator 6.0 ScrollIndicator.qml +ScrollIndicator 2.0 ScrollIndicator.qml +SelectionRectangle 6.0 SelectionRectangle.qml +SelectionRectangle 2.0 SelectionRectangle.qml +Slider 6.0 Slider.qml +Slider 2.0 Slider.qml +SpinBox 6.0 SpinBox.qml +SpinBox 2.0 SpinBox.qml +SplitView 2.13 SplitView.qml +SplitView 6.0 SplitView.qml +StackView 6.0 StackView.qml +StackView 2.0 StackView.qml +SwipeDelegate 6.0 SwipeDelegate.qml +SwipeDelegate 2.0 SwipeDelegate.qml +SwitchDelegate 6.0 SwitchDelegate.qml +SwitchDelegate 2.0 SwitchDelegate.qml +Switch 6.0 Switch.qml +Switch 2.0 Switch.qml +TabBar 6.0 TabBar.qml +TabBar 2.0 TabBar.qml +TabButton 6.0 TabButton.qml +TabButton 2.0 TabButton.qml +TextArea 6.0 TextArea.qml +TextArea 2.0 TextArea.qml +TextField 6.0 TextField.qml +TextField 2.0 TextField.qml +ToolBar 6.0 ToolBar.qml +ToolBar 2.0 ToolBar.qml +ToolButton 6.0 ToolButton.qml +ToolButton 2.0 ToolButton.qml +ToolSeparator 2.1 ToolSeparator.qml +ToolSeparator 6.0 ToolSeparator.qml +ToolTip 6.0 ToolTip.qml +ToolTip 2.0 ToolTip.qml +Tumbler 6.0 Tumbler.qml +Tumbler 2.0 Tumbler.qml +VerticalHeaderView 2.15 VerticalHeaderView.qml +VerticalHeaderView 6.0 VerticalHeaderView.qml + diff --git a/bin/qml/QtQuick/Controls/Universal/qtquickcontrols2universalstyleplugin.dll b/bin/qml/QtQuick/Controls/Universal/qtquickcontrols2universalstyleplugin.dll new file mode 100644 index 000000000..bcfa09891 Binary files /dev/null and b/bin/qml/QtQuick/Controls/Universal/qtquickcontrols2universalstyleplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/Windows/ApplicationWindow.qml b/bin/qml/QtQuick/Controls/Windows/ApplicationWindow.qml new file mode 100644 index 000000000..dc3094c00 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/ApplicationWindow.qml @@ -0,0 +1,9 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick.NativeStyle +import QtQuick.Templates as T + +T.ApplicationWindow { + color: palette.window +} diff --git a/bin/qml/QtQuick/Controls/Windows/Button.qml b/bin/qml/QtQuick/Controls/Windows/Button.qml new file mode 100644 index 000000000..8519982b1 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/Button.qml @@ -0,0 +1,47 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.NativeStyle as NativeStyle + +NativeStyle.DefaultButton { + id: control + + background: NativeStyle.Button { + control: control + contentWidth: contentItem.implicitWidth + contentHeight: contentItem.implicitHeight + useNinePatchImage: false + overrideState: NativeStyle.StyleItem.NeverHovered + + readonly property bool __ignoreNotCustomizable: true + } + + NativeStyle.Button { + id: hoverButton + control: control + x: background.x + y: background.y + width: background.width + height: background.height + useNinePatchImage: false + overrideState: NativeStyle.StyleItem.AlwaysHovered + opacity: control.hovered ? 1 : 0 + visible: opacity !== 0 + Behavior on opacity { NumberAnimation { duration: hoverButton.transitionDuration } } + } + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/Controls/Windows/CheckBox.qml b/bin/qml/QtQuick/Controls/Windows/CheckBox.qml new file mode 100644 index 000000000..4cc691986 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/CheckBox.qml @@ -0,0 +1,79 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.NativeStyle as NativeStyle + +T.CheckBox { + id: control + + readonly property bool nativeIndicator: indicator instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: nativeIndicator ? 0 : 6 + padding: nativeIndicator ? 0 : 6 + + indicator: NativeStyle.CheckBox { + control: control + y: control.topPadding + (control.availableHeight - height) >> 1 + contentWidth: contentItem.implicitWidth + contentHeight: contentItem.implicitHeight + useNinePatchImage: false + overrideState: NativeStyle.StyleItem.NeverHovered + + readonly property bool __ignoreNotCustomizable: true + } + + NativeStyle.CheckBox { + id: hoverCheckBox + control: control + x: indicator.x + y: indicator.y + z: 99 // Needs to be above the "unhovered" indicator + width: indicator.width + height: indicator.height + useNinePatchImage: false + overrideState: NativeStyle.StyleItem.AlwaysHovered + opacity: control.hovered ? 1 : 0 + visible: opacity !== 0 + Behavior on opacity { NumberAnimation { duration: hoverCheckBox.transitionDuration } } + } + + contentItem: CheckLabel { + text: control.text + font: control.font + color: control.palette.windowText + + // For some reason, the other styles set padding here (in the delegate), instead of in + // the control above. And they also adjust the indicator position by setting x and y + // explicitly (instead of using insets). So we follow the same pattern to ensure that + // setting a custom contentItem delegate from the app will end up looking the same for + // all styles. But this should probably be fixed for all styles (to make them work the + // same way as e.g Buttons). + leftPadding: { + if (nativeIndicator) + indicator.contentPadding.left + else + indicator && !mirrored ? indicator.width + spacing : 0 + } + + topPadding: nativeIndicator ? indicator.contentPadding.top : 0 + rightPadding: { + if (nativeIndicator) + indicator.contentPadding.right + else + indicator && mirrored ? indicator.width + spacing : 0 + } + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/Controls/Windows/ComboBox.qml b/bin/qml/QtQuick/Controls/Windows/ComboBox.qml new file mode 100644 index 000000000..e8a0ed738 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/ComboBox.qml @@ -0,0 +1,104 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Window +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.ComboBox { + id: control + + readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding, + 90 /* minimum */ ) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + leftPadding: __nativeBackground ? background.contentPadding.left : 5 + rightPadding: __nativeBackground ? background.contentPadding.right : 5 + topPadding: __nativeBackground ? background.contentPadding.top : 5 + bottomPadding: __nativeBackground ? background.contentPadding.bottom : 5 + + contentItem: T.TextField { + implicitWidth: contentWidth + implicitHeight: contentHeight + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + color: control.editable ? control.palette.text : control.palette.buttonText + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + verticalAlignment: Text.AlignVCenter + + readonly property bool __ignoreNotCustomizable: true + } + + background: NativeStyle.ComboBox { + control: control + contentWidth: contentItem.implicitWidth + contentHeight: contentItem.implicitHeight + useNinePatchImage: false + + readonly property bool __ignoreNotCustomizable: true + } + + delegate: ItemDelegate { + required property var model + required property int index + + width: ListView.view.width + text: model[control.textRole] + palette.text: control.palette.text + palette.highlightedText: control.palette.highlightedText + font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + popup: T.Popup { + readonly property var layoutMargins: control.__nativeBackground ? control.background.layoutMargins : null + x: layoutMargins ? layoutMargins.left : 0 + y: control.height - (layoutMargins ? layoutMargins.bottom : 0) + width: control.width - (layoutMargins ? layoutMargins.left + layoutMargins.right : 0) + height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) + topMargin: 6 + bottomMargin: 6 + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightMoveDuration: 0 + + Rectangle { + z: 10 + width: parent.width + height: parent.height + color: "transparent" + border.color: control.palette.mid + } + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: Rectangle { + color: control.palette.window + } + } +} diff --git a/bin/qml/QtQuick/Controls/Windows/Frame.qml b/bin/qml/QtQuick/Controls/Windows/Frame.qml new file mode 100644 index 000000000..bb37d8aa2 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/Frame.qml @@ -0,0 +1,8 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.NativeStyle as NativeStyle + +NativeStyle.DefaultFrame { +} diff --git a/bin/qml/QtQuick/Controls/Windows/GroupBox.qml b/bin/qml/QtQuick/Controls/Windows/GroupBox.qml new file mode 100644 index 000000000..0002feb67 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/GroupBox.qml @@ -0,0 +1,8 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.NativeStyle as NativeStyle + +NativeStyle.DefaultGroupBox { +} diff --git a/bin/qml/QtQuick/Controls/Windows/ProgressBar.qml b/bin/qml/QtQuick/Controls/Windows/ProgressBar.qml new file mode 100644 index 000000000..421070cf7 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/ProgressBar.qml @@ -0,0 +1,8 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.NativeStyle as NativeStyle + +NativeStyle.DefaultProgressBar { +} diff --git a/bin/qml/QtQuick/Controls/Windows/RadioButton.qml b/bin/qml/QtQuick/Controls/Windows/RadioButton.qml new file mode 100644 index 000000000..b32a8a7a6 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/RadioButton.qml @@ -0,0 +1,8 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.NativeStyle as NativeStyle + +NativeStyle.DefaultRadioButton { +} diff --git a/bin/qml/QtQuick/Controls/Windows/ScrollBar.qml b/bin/qml/QtQuick/Controls/Windows/ScrollBar.qml new file mode 100644 index 000000000..80fbf74e7 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/ScrollBar.qml @@ -0,0 +1,100 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.NativeStyle as NativeStyle + +NativeStyle.DefaultScrollBar { + id: controlRoot + + readonly property bool __notCustomizable: true + + topPadding: orientation === Qt.Vertical ? controlRoot.__decreaseVisual.indicator.height : 0 + bottomPadding: orientation === Qt.Vertical ? controlRoot.__increaseVisual.indicator.height : 0 + leftPadding: orientation === Qt.Horizontal ? controlRoot.__decreaseVisual.indicator.width : 0 + rightPadding: orientation === Qt.Horizontal ? controlRoot.__increaseVisual.indicator.width : 0 + + contentItem: NativeStyle.ScrollBar { + control: controlRoot + subControl: NativeStyle.ScrollBar.Handle + + readonly property bool __ignoreNotCustomizable: true + } + + NativeStyle.ScrollBar { + // Fade a hovered-looking version of the handle + // on top of the default handle when hovering it + x: contentItem.x + y: contentItem.y + z: 1 + width: contentItem.width + height: contentItem.height + control: controlRoot + subControl: NativeStyle.ScrollBar.Handle + overrideState: NativeStyle.StyleItem.AlwaysHovered + opacity: controlRoot.hovered || control.pressed ? 1 : 0 + Behavior on opacity { NumberAnimation { duration: contentItem.transitionDuration } } + } + + // The groove background should have window color + Rectangle { + x: background.x + y: background.y + z: -1 + width: background.width + height: background.height + color: controlRoot.palette.window + } + + background: NativeStyle.ScrollBar { + control: controlRoot + subControl: NativeStyle.ScrollBar.Groove + overrideState: NativeStyle.ScrollBar.NeverHovered + + readonly property bool __ignoreNotCustomizable: true + } + + __decreaseVisual.indicator: NativeStyle.ScrollBar { + control: controlRoot + subControl: NativeStyle.ScrollBar.SubLine + overrideState: NativeStyle.ScrollBar.AlwaysHovered + opacity: controlRoot.__decreaseVisual.hovered ? 1 : 0 + Behavior on opacity { NumberAnimation { duration: contentItem.transitionDuration } } + useNinePatchImage: false + + readonly property bool __ignoreNotCustomizable: true + } + + NativeStyle.ScrollBar { + control: controlRoot + subControl: NativeStyle.ScrollBar.SubLine + overrideState: NativeStyle.ScrollBar.AlwaysSunken + opacity: controlRoot.__decreaseVisual.pressed ? 1 : 0 + useNinePatchImage: false + z: 1 + } + + __increaseVisual.indicator: NativeStyle.ScrollBar { + control: controlRoot + subControl: NativeStyle.ScrollBar.AddLine + x: orientation === Qt.Horizontal ? controlRoot.width - width : 0 + y: orientation === Qt.Vertical ? controlRoot.height - height : 0 + overrideState: NativeStyle.ScrollBar.AlwaysHovered + opacity: controlRoot.__increaseVisual.hovered ? 1 : 0 + Behavior on opacity { NumberAnimation { duration: contentItem.transitionDuration } } + useNinePatchImage: false + + readonly property bool __ignoreNotCustomizable: true + } + + NativeStyle.ScrollBar { + control: controlRoot + subControl: NativeStyle.ScrollBar.AddLine + x: __increaseVisual.indicator.x + y: __increaseVisual.indicator.y + z: 1 + overrideState: NativeStyle.ScrollBar.AlwaysSunken + opacity: controlRoot.__increaseVisual.pressed ? 1 : 0 + useNinePatchImage: false + } +} diff --git a/bin/qml/QtQuick/Controls/Windows/ScrollView.qml b/bin/qml/QtQuick/Controls/Windows/ScrollView.qml new file mode 100644 index 000000000..65d65899c --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/ScrollView.qml @@ -0,0 +1,37 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Templates as T + +T.ScrollView { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + rightPadding: effectiveScrollBarWidth + bottomPadding: effectiveScrollBarHeight + + // Don't set __notCustomizable here, because it would require special-casing + // setFlickable's call to setContentItem. + + ScrollBar.vertical: ScrollBar { + parent: control + x: control.mirrored ? 0 : control.width - width + y: 0 + height: control.height - (control.ScrollBar.horizontal.visible ? control.ScrollBar.horizontal.height : 0) + active: control.ScrollBar.horizontal.active + } + + ScrollBar.horizontal: ScrollBar { + parent: control + x: 0 + y: control.height - height + width: control.width - (control.ScrollBar.vertical.visible ? control.ScrollBar.vertical.width : 0) + active: control.ScrollBar.vertical.active + } +} diff --git a/bin/qml/QtQuick/Controls/Windows/SelectionRectangle.qml b/bin/qml/QtQuick/Controls/Windows/SelectionRectangle.qml new file mode 100644 index 000000000..18f20daea --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/SelectionRectangle.qml @@ -0,0 +1,31 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Shapes + +T.SelectionRectangle { + id: control + + readonly property bool __notCustomizable: true + + topLeftHandle: Item { + width: 20 + height: 20 + visible: SelectionRectangle.control.active + // This item is deliberately empty. Selection handles don't feel at home + // for this style. But we provide an invisible handle that the user can + // drag on. + } + + bottomRightHandle: Item { + width: 20 + height: 20 + visible: SelectionRectangle.control.active + // This item is deliberately empty. Selection handles don't feel at home + // for this style. But we provide an invisible handle that the user can + // drag on. + } + +} diff --git a/bin/qml/QtQuick/Controls/Windows/Slider.qml b/bin/qml/QtQuick/Controls/Windows/Slider.qml new file mode 100644 index 000000000..67c8e9638 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/Slider.qml @@ -0,0 +1,8 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.NativeStyle as NativeStyle + +NativeStyle.DefaultSlider { +} diff --git a/bin/qml/QtQuick/Controls/Windows/SpinBox.qml b/bin/qml/QtQuick/Controls/Windows/SpinBox.qml new file mode 100644 index 000000000..982a5868a --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/SpinBox.qml @@ -0,0 +1,96 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.SpinBox { + id: control + + property bool nativeIndicators: up.indicator.hasOwnProperty("_qt_default") + && down.indicator.hasOwnProperty("_qt_default") + readonly property bool __notCustomizable: true + + // Note: the indicators are inside the contentItem + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentItem.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + up.implicitIndicatorHeight + down.implicitIndicatorHeight) + + spacing: 2 + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextField { + text: control.displayText + font: control.font + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + horizontalAlignment: Qt.AlignLeft + verticalAlignment: Qt.AlignVCenter + implicitWidth: Math.max(90 /* minimum */, contentWidth + leftPadding + rightPadding) + + topPadding: 0 + bottomPadding: 0 + leftPadding: 10 + rightPadding: up.indicator.width + 10 + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + + clip: width < implicitWidth + + readonly property bool __ignoreNotCustomizable: true + + // Since the indicators are embedded inside the TextField we need to avoid that + // the TextField consumes mouse events for that area. + // We achieve that by setting a containmentMask + containmentMask: Item { height: contentItem.height; width: contentItem.width - upAndDown.width } + } + + NativeStyle.SpinBox { + id: upAndDown + control: control + subControl: NativeStyle.SpinBox.Up + visible: nativeIndicators + x: up.indicator.x + y: up.indicator.y + //implicitHeight: contentItem.implicitHeight-2 + height: parent.height-2 + useNinePatchImage: false + z:99 + } + + up.indicator: Item { + x: parent.width - width - 2 + y: 1 + height: upAndDown.height >> 1 + implicitWidth: upAndDown.implicitWidth + implicitHeight: (upAndDown.implicitHeight >> 1) + property bool _qt_default + readonly property bool __ignoreNotCustomizable: true + } + + down.indicator: Item { + x: parent.width - width - 2 + y: up.indicator.y + (upAndDown.height >> 1) + height: upAndDown.height - up.indicator.height + implicitWidth: upAndDown.implicitWidth + implicitHeight: upAndDown.implicitHeight >> 1 + property bool _qt_default + readonly property bool __ignoreNotCustomizable: true + } + + // No background, the TextField will cover the whole control + background: Item { + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/Controls/Windows/TextArea.qml b/bin/qml/QtQuick/Controls/Windows/TextArea.qml new file mode 100644 index 000000000..9dbd0863b --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/TextArea.qml @@ -0,0 +1,8 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.NativeStyle as NativeStyle + +NativeStyle.DefaultTextArea { +} diff --git a/bin/qml/QtQuick/Controls/Windows/TextField.qml b/bin/qml/QtQuick/Controls/Windows/TextField.qml new file mode 100644 index 000000000..1cedb1738 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/TextField.qml @@ -0,0 +1,8 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.NativeStyle as NativeStyle + +NativeStyle.DefaultTextField { +} diff --git a/bin/qml/QtQuick/Controls/Windows/plugins.qmltypes b/bin/qml/QtQuick/Controls/Windows/plugins.qmltypes new file mode 100644 index 000000000..91181ef12 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/plugins.qmltypes @@ -0,0 +1,8 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module {} diff --git a/bin/qml/QtQuick/Controls/Windows/qmldir b/bin/qml/QtQuick/Controls/Windows/qmldir new file mode 100644 index 000000000..f56e09e83 --- /dev/null +++ b/bin/qml/QtQuick/Controls/Windows/qmldir @@ -0,0 +1,38 @@ +module QtQuick.Controls.Windows +linktarget Qt6::qtquickcontrols2windowsstyleplugin +plugin qtquickcontrols2windowsstyleplugin +classname QtQuickControls2WindowsStylePlugin +typeinfo plugins.qmltypes +import QtQuick.Controls.Fusion auto +prefer :/qt-project.org/imports/QtQuick/Controls/Windows/ +ApplicationWindow 6.0 ApplicationWindow.qml +ApplicationWindow 2.0 ApplicationWindow.qml +Button 6.0 Button.qml +Button 2.0 Button.qml +CheckBox 6.0 CheckBox.qml +CheckBox 2.0 CheckBox.qml +ComboBox 6.0 ComboBox.qml +ComboBox 2.0 ComboBox.qml +Frame 6.0 Frame.qml +Frame 2.0 Frame.qml +GroupBox 6.0 GroupBox.qml +GroupBox 2.0 GroupBox.qml +ProgressBar 6.0 ProgressBar.qml +ProgressBar 2.0 ProgressBar.qml +RadioButton 6.0 RadioButton.qml +RadioButton 2.0 RadioButton.qml +SelectionRectangle 6.0 SelectionRectangle.qml +SelectionRectangle 2.0 SelectionRectangle.qml +Slider 6.0 Slider.qml +Slider 2.0 Slider.qml +SpinBox 6.0 SpinBox.qml +SpinBox 2.0 SpinBox.qml +TextArea 6.0 TextArea.qml +TextArea 2.0 TextArea.qml +TextField 6.0 TextField.qml +TextField 2.0 TextField.qml +ScrollBar 6.0 ScrollBar.qml +ScrollBar 2.0 ScrollBar.qml +ScrollView 6.0 ScrollView.qml +ScrollView 2.0 ScrollView.qml + diff --git a/bin/qml/QtQuick/Controls/Windows/qtquickcontrols2windowsstyleplugin.dll b/bin/qml/QtQuick/Controls/Windows/qtquickcontrols2windowsstyleplugin.dll new file mode 100644 index 000000000..ad6c86191 Binary files /dev/null and b/bin/qml/QtQuick/Controls/Windows/qtquickcontrols2windowsstyleplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/impl/plugins.qmltypes b/bin/qml/QtQuick/Controls/impl/plugins.qmltypes new file mode 100644 index 000000000..b55fd80ea --- /dev/null +++ b/bin/qml/QtQuick/Controls/impl/plugins.qmltypes @@ -0,0 +1,1551 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qplatformtheme.h" + name: "QPlatformTheme" + accessSemantics: "value" + Enum { + name: "ThemeHint" + values: [ + "CursorFlashTime", + "KeyboardInputInterval", + "MouseDoubleClickInterval", + "StartDragDistance", + "StartDragTime", + "KeyboardAutoRepeatRate", + "PasswordMaskDelay", + "StartDragVelocity", + "TextCursorWidth", + "DropShadow", + "MaximumScrollBarDragDistance", + "ToolButtonStyle", + "ToolBarIconSize", + "ItemViewActivateItemOnSingleClick", + "SystemIconThemeName", + "SystemIconFallbackThemeName", + "IconThemeSearchPaths", + "StyleNames", + "WindowAutoPlacement", + "DialogButtonBoxLayout", + "DialogButtonBoxButtonsHaveIcons", + "UseFullScreenForPopupMenu", + "KeyboardScheme", + "UiEffects", + "SpellCheckUnderlineStyle", + "TabFocusBehavior", + "IconPixmapSizes", + "PasswordMaskCharacter", + "DialogSnapToDefaultButton", + "ContextMenuOnMouseRelease", + "MousePressAndHoldInterval", + "MouseDoubleClickDistance", + "WheelScrollLines", + "TouchDoubleTapDistance", + "ShowShortcutsInContextMenus", + "IconFallbackSearchPaths", + "MouseQuickSelectionThreshold", + "InteractiveResizeAcrossScreens", + "ShowDirectoriesFirst", + "PreselectFirstFileInDirectory", + "ButtonPressKeys", + "SetFocusOnTouchRelease", + "FlickStartDistance", + "FlickMaximumVelocity", + "FlickDeceleration", + "MenuBarFocusOnAltPressRelease", + "MouseCursorTheme", + "MouseCursorSize", + "UnderlineShortcut" + ] + } + Enum { + name: "DialogType" + values: [ + "FileDialog", + "ColorDialog", + "FontDialog", + "MessageDialog" + ] + } + Enum { + name: "Palette" + values: [ + "SystemPalette", + "ToolTipPalette", + "ToolButtonPalette", + "ButtonPalette", + "CheckBoxPalette", + "RadioButtonPalette", + "HeaderPalette", + "ComboBoxPalette", + "ItemViewPalette", + "MessageBoxLabelPelette", + "MessageBoxLabelPalette", + "TabBarPalette", + "LabelPalette", + "GroupBoxPalette", + "MenuPalette", + "MenuBarPalette", + "TextEditPalette", + "TextLineEditPalette", + "NPalettes" + ] + } + Enum { + name: "Font" + values: [ + "SystemFont", + "MenuFont", + "MenuBarFont", + "MenuItemFont", + "MessageBoxFont", + "LabelFont", + "TipLabelFont", + "StatusBarFont", + "TitleBarFont", + "MdiSubWindowTitleFont", + "DockWidgetTitleFont", + "PushButtonFont", + "CheckBoxFont", + "RadioButtonFont", + "ToolButtonFont", + "ItemViewFont", + "ListViewFont", + "HeaderViewFont", + "ListBoxFont", + "ComboMenuItemFont", + "ComboLineEditFont", + "SmallFont", + "MiniFont", + "FixedFont", + "GroupBoxTitleFont", + "TabButtonFont", + "EditorFont", + "NFonts" + ] + } + Enum { + name: "StandardPixmap" + values: [ + "TitleBarMenuButton", + "TitleBarMinButton", + "TitleBarMaxButton", + "TitleBarCloseButton", + "TitleBarNormalButton", + "TitleBarShadeButton", + "TitleBarUnshadeButton", + "TitleBarContextHelpButton", + "DockWidgetCloseButton", + "MessageBoxInformation", + "MessageBoxWarning", + "MessageBoxCritical", + "MessageBoxQuestion", + "DesktopIcon", + "TrashIcon", + "ComputerIcon", + "DriveFDIcon", + "DriveHDIcon", + "DriveCDIcon", + "DriveDVDIcon", + "DriveNetIcon", + "DirOpenIcon", + "DirClosedIcon", + "DirLinkIcon", + "DirLinkOpenIcon", + "FileIcon", + "FileLinkIcon", + "ToolBarHorizontalExtensionButton", + "ToolBarVerticalExtensionButton", + "FileDialogStart", + "FileDialogEnd", + "FileDialogToParent", + "FileDialogNewFolder", + "FileDialogDetailedView", + "FileDialogInfoView", + "FileDialogContentsView", + "FileDialogListView", + "FileDialogBack", + "DirIcon", + "DialogOkButton", + "DialogCancelButton", + "DialogHelpButton", + "DialogOpenButton", + "DialogSaveButton", + "DialogCloseButton", + "DialogApplyButton", + "DialogResetButton", + "DialogDiscardButton", + "DialogYesButton", + "DialogNoButton", + "ArrowUp", + "ArrowDown", + "ArrowLeft", + "ArrowRight", + "ArrowBack", + "ArrowForward", + "DirHomeIcon", + "CommandLink", + "VistaShield", + "BrowserReload", + "BrowserStop", + "MediaPlay", + "MediaStop", + "MediaPause", + "MediaSkipForward", + "MediaSkipBackward", + "MediaSeekForward", + "MediaSeekBackward", + "MediaVolume", + "MediaVolumeMuted", + "LineEditClearButton", + "DialogYesToAllButton", + "DialogNoToAllButton", + "DialogSaveAllButton", + "DialogAbortButton", + "DialogRetryButton", + "DialogIgnoreButton", + "RestoreDefaultsButton", + "TabCloseButton", + "NStandardPixmap", + "CustomBase" + ] + } + Enum { + name: "KeyboardSchemes" + values: [ + "WindowsKeyboardScheme", + "MacKeyboardScheme", + "X11KeyboardScheme", + "KdeKeyboardScheme", + "GnomeKeyboardScheme", + "CdeKeyboardScheme" + ] + } + Enum { + name: "UiEffect" + values: [ + "GeneralUiEffect", + "AnimateMenuUiEffect", + "FadeMenuUiEffect", + "AnimateComboUiEffect", + "AnimateTooltipUiEffect", + "FadeTooltipUiEffect", + "AnimateToolBoxUiEffect", + "HoverEffect" + ] + } + } + Component { + file: "private/qquickimageselector_p.h" + name: "QQuickAnimatedImageSelector" + accessSemantics: "reference" + prototype: "QQuickImageSelector" + exports: [ + "QtQuick.Controls.impl/AnimatedImageSelector 2.3", + "QtQuick.Controls.impl/AnimatedImageSelector 6.0" + ] + exportMetaObjectRevisions: [515, 1536] + } + Component { + file: "private/qquickchecklabel_p.h" + name: "QQuickCheckLabel" + accessSemantics: "reference" + prototype: "QQuickText" + exports: [ + "QtQuick.Controls.impl/CheckLabel 2.3", + "QtQuick.Controls.impl/CheckLabel 2.4", + "QtQuick.Controls.impl/CheckLabel 2.6", + "QtQuick.Controls.impl/CheckLabel 2.7", + "QtQuick.Controls.impl/CheckLabel 2.9", + "QtQuick.Controls.impl/CheckLabel 2.10", + "QtQuick.Controls.impl/CheckLabel 2.11", + "QtQuick.Controls.impl/CheckLabel 6.0", + "QtQuick.Controls.impl/CheckLabel 6.2", + "QtQuick.Controls.impl/CheckLabel 6.3" + ] + exportMetaObjectRevisions: [ + 515, + 516, + 518, + 519, + 521, + 522, + 523, + 1536, + 1538, + 1539 + ] + } + Component { + file: "private/qquickclippedtext_p.h" + name: "QQuickClippedText" + accessSemantics: "reference" + prototype: "QQuickText" + exports: [ + "QtQuick.Controls.impl/ClippedText 2.2", + "QtQuick.Controls.impl/ClippedText 2.3", + "QtQuick.Controls.impl/ClippedText 2.4", + "QtQuick.Controls.impl/ClippedText 2.6", + "QtQuick.Controls.impl/ClippedText 2.7", + "QtQuick.Controls.impl/ClippedText 2.9", + "QtQuick.Controls.impl/ClippedText 2.10", + "QtQuick.Controls.impl/ClippedText 2.11", + "QtQuick.Controls.impl/ClippedText 6.0", + "QtQuick.Controls.impl/ClippedText 6.2", + "QtQuick.Controls.impl/ClippedText 6.3" + ] + exportMetaObjectRevisions: [ + 514, + 515, + 516, + 518, + 519, + 521, + 522, + 523, + 1536, + 1538, + 1539 + ] + Property { name: "clipX"; type: "double"; read: "clipX"; write: "setClipX"; index: 0; isFinal: true } + Property { name: "clipY"; type: "double"; read: "clipY"; write: "setClipY"; index: 1; isFinal: true } + Property { + name: "clipWidth" + type: "double" + read: "clipWidth" + write: "setClipWidth" + index: 2 + isFinal: true + } + Property { + name: "clipHeight" + type: "double" + read: "clipHeight" + write: "setClipHeight" + index: 3 + isFinal: true + } + } + Component { + file: "private/qquickcolor_p.h" + name: "QQuickColor" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick.Controls.impl/Color 2.3", + "QtQuick.Controls.impl/Color 6.0" + ] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [515, 1536] + Method { + name: "transparent" + type: "QColor" + Parameter { name: "color"; type: "QColor" } + Parameter { name: "opacity"; type: "double" } + } + Method { + name: "blend" + type: "QColor" + Parameter { name: "a"; type: "QColor" } + Parameter { name: "b"; type: "QColor" } + Parameter { name: "factor"; type: "double" } + } + } + Component { + file: "private/qquickcolorimage_p.h" + name: "QQuickColorImage" + accessSemantics: "reference" + prototype: "QQuickImage" + exports: [ + "QtQuick.Controls.impl/ColorImage 2.3", + "QtQuick.Controls.impl/ColorImage 2.4", + "QtQuick.Controls.impl/ColorImage 2.5", + "QtQuick.Controls.impl/ColorImage 2.7", + "QtQuick.Controls.impl/ColorImage 2.11", + "QtQuick.Controls.impl/ColorImage 2.14", + "QtQuick.Controls.impl/ColorImage 2.15", + "QtQuick.Controls.impl/ColorImage 6.0", + "QtQuick.Controls.impl/ColorImage 6.2", + "QtQuick.Controls.impl/ColorImage 6.3" + ] + exportMetaObjectRevisions: [ + 515, + 516, + 517, + 519, + 523, + 526, + 527, + 1536, + 1538, + 1539 + ] + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + reset: "resetColor" + notify: "colorChanged" + index: 0 + isFinal: true + } + Property { + name: "defaultColor" + type: "QColor" + read: "defaultColor" + write: "setDefaultColor" + reset: "resetDefaultColor" + notify: "defaultColorChanged" + index: 1 + isFinal: true + } + Signal { name: "colorChanged" } + Signal { name: "defaultColorChanged" } + } + Component { + file: "private/qquickiconimage_p.h" + name: "QQuickIconImage" + accessSemantics: "reference" + prototype: "QQuickImage" + exports: [ + "QtQuick.Controls.impl/IconImage 2.3", + "QtQuick.Controls.impl/IconImage 2.4", + "QtQuick.Controls.impl/IconImage 2.5", + "QtQuick.Controls.impl/IconImage 2.7", + "QtQuick.Controls.impl/IconImage 2.11", + "QtQuick.Controls.impl/IconImage 2.14", + "QtQuick.Controls.impl/IconImage 2.15", + "QtQuick.Controls.impl/IconImage 6.0", + "QtQuick.Controls.impl/IconImage 6.2", + "QtQuick.Controls.impl/IconImage 6.3" + ] + exportMetaObjectRevisions: [ + 515, + 516, + 517, + 519, + 523, + 526, + 527, + 1536, + 1538, + 1539 + ] + Property { + name: "name" + type: "QString" + read: "name" + write: "setName" + notify: "nameChanged" + index: 0 + isFinal: true + } + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 1 + isFinal: true + } + Signal { name: "nameChanged" } + Signal { name: "colorChanged" } + } + Component { + file: "private/qquickiconlabel_p.h" + name: "QQuickIconLabel" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Controls.impl/IconLabel 2.3", + "QtQuick.Controls.impl/IconLabel 2.4", + "QtQuick.Controls.impl/IconLabel 2.7", + "QtQuick.Controls.impl/IconLabel 2.11", + "QtQuick.Controls.impl/IconLabel 6.0", + "QtQuick.Controls.impl/IconLabel 6.3" + ] + exportMetaObjectRevisions: [515, 516, 519, 523, 1536, 1539] + Enum { + name: "Display" + values: [ + "IconOnly", + "TextOnly", + "TextBesideIcon", + "TextUnderIcon" + ] + } + Property { name: "icon"; type: "QQuickIcon"; read: "icon"; write: "setIcon"; index: 0; isFinal: true } + Property { name: "text"; type: "QString"; read: "text"; write: "setText"; index: 1; isFinal: true } + Property { name: "font"; type: "QFont"; read: "font"; write: "setFont"; index: 2; isFinal: true } + Property { name: "color"; type: "QColor"; read: "color"; write: "setColor"; index: 3; isFinal: true } + Property { + name: "display" + type: "Display" + read: "display" + write: "setDisplay" + index: 4 + isFinal: true + } + Property { + name: "spacing" + type: "double" + read: "spacing" + write: "setSpacing" + index: 5 + isFinal: true + } + Property { + name: "mirrored" + type: "bool" + read: "isMirrored" + write: "setMirrored" + index: 6 + isFinal: true + } + Property { + name: "alignment" + type: "Qt::Alignment" + read: "alignment" + write: "setAlignment" + index: 7 + isFinal: true + } + Property { + name: "topPadding" + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + index: 8 + isFinal: true + } + Property { + name: "leftPadding" + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + index: 9 + isFinal: true + } + Property { + name: "rightPadding" + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + index: 10 + isFinal: true + } + Property { + name: "bottomPadding" + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + index: 11 + isFinal: true + } + } + Component { + file: "private/qquickimageselector_p.h" + name: "QQuickImageSelector" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus", "QQmlPropertyValueInterceptor"] + exports: [ + "QtQuick.Controls.impl/ImageSelector 2.3", + "QtQuick.Controls.impl/ImageSelector 6.0" + ] + exportMetaObjectRevisions: [515, 1536] + Property { + name: "source" + type: "QUrl" + read: "source" + notify: "sourceChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { name: "name"; type: "QString"; read: "name"; write: "setName"; index: 1; isFinal: true } + Property { name: "path"; type: "QString"; read: "path"; write: "setPath"; index: 2; isFinal: true } + Property { + name: "states" + type: "QVariantList" + read: "states" + write: "setStates" + index: 3 + isFinal: true + } + Property { + name: "separator" + type: "QString" + read: "separator" + write: "setSeparator" + index: 4 + isFinal: true + } + Property { name: "cache"; type: "bool"; read: "cache"; write: "setCache"; index: 5; isFinal: true } + Signal { name: "sourceChanged" } + } + Component { + file: "private/qquickitemgroup_p.h" + name: "QQuickItemGroup" + accessSemantics: "reference" + prototype: "QQuickImplicitSizeItem" + exports: [ + "QtQuick.Controls.impl/ItemGroup 2.2", + "QtQuick.Controls.impl/ItemGroup 2.4", + "QtQuick.Controls.impl/ItemGroup 2.7", + "QtQuick.Controls.impl/ItemGroup 2.11", + "QtQuick.Controls.impl/ItemGroup 6.0", + "QtQuick.Controls.impl/ItemGroup 6.2", + "QtQuick.Controls.impl/ItemGroup 6.3" + ] + exportMetaObjectRevisions: [514, 516, 519, 523, 1536, 1538, 1539] + } + Component { + file: "private/qquickmnemoniclabel_p.h" + name: "QQuickMnemonicLabel" + accessSemantics: "reference" + prototype: "QQuickText" + exports: [ + "QtQuick.Controls.impl/MnemonicLabel 2.3", + "QtQuick.Controls.impl/MnemonicLabel 2.4", + "QtQuick.Controls.impl/MnemonicLabel 2.6", + "QtQuick.Controls.impl/MnemonicLabel 2.7", + "QtQuick.Controls.impl/MnemonicLabel 2.9", + "QtQuick.Controls.impl/MnemonicLabel 2.10", + "QtQuick.Controls.impl/MnemonicLabel 2.11", + "QtQuick.Controls.impl/MnemonicLabel 6.0", + "QtQuick.Controls.impl/MnemonicLabel 6.2", + "QtQuick.Controls.impl/MnemonicLabel 6.3" + ] + exportMetaObjectRevisions: [ + 515, + 516, + 518, + 519, + 521, + 522, + 523, + 1536, + 1538, + 1539 + ] + Property { name: "text"; type: "QString"; read: "text"; write: "setText"; index: 0; isFinal: true } + Property { + name: "mnemonicVisible" + type: "bool" + read: "isMnemonicVisible" + write: "setMnemonicVisible" + index: 1 + isFinal: true + } + } + Component { + file: "private/qquickninepatchimage_p.h" + name: "QQuickNinePatchImage" + accessSemantics: "reference" + prototype: "QQuickImage" + exports: [ + "QtQuick.Controls.impl/NinePatchImage 2.3", + "QtQuick.Controls.impl/NinePatchImage 2.4", + "QtQuick.Controls.impl/NinePatchImage 2.5", + "QtQuick.Controls.impl/NinePatchImage 2.7", + "QtQuick.Controls.impl/NinePatchImage 2.11", + "QtQuick.Controls.impl/NinePatchImage 2.14", + "QtQuick.Controls.impl/NinePatchImage 2.15", + "QtQuick.Controls.impl/NinePatchImage 6.0", + "QtQuick.Controls.impl/NinePatchImage 6.2", + "QtQuick.Controls.impl/NinePatchImage 6.3" + ] + exportMetaObjectRevisions: [ + 515, + 516, + 517, + 519, + 523, + 526, + 527, + 1536, + 1538, + 1539 + ] + Property { + name: "topPadding" + type: "double" + read: "topPadding" + notify: "topPaddingChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "leftPadding" + type: "double" + read: "leftPadding" + notify: "leftPaddingChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "rightPadding" + type: "double" + read: "rightPadding" + notify: "rightPaddingChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "bottomPadding" + type: "double" + read: "bottomPadding" + notify: "bottomPaddingChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "topInset" + type: "double" + read: "topInset" + notify: "topInsetChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "leftInset" + type: "double" + read: "leftInset" + notify: "leftInsetChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "rightInset" + type: "double" + read: "rightInset" + notify: "rightInsetChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "bottomInset" + type: "double" + read: "bottomInset" + notify: "bottomInsetChanged" + index: 7 + isReadonly: true + isFinal: true + } + Signal { name: "topPaddingChanged" } + Signal { name: "leftPaddingChanged" } + Signal { name: "rightPaddingChanged" } + Signal { name: "bottomPaddingChanged" } + Signal { name: "topInsetChanged" } + Signal { name: "leftInsetChanged" } + Signal { name: "rightInsetChanged" } + Signal { name: "bottomInsetChanged" } + } + Component { + file: "private/qquickimageselector_p.h" + name: "QQuickNinePatchImageSelector" + accessSemantics: "reference" + prototype: "QQuickImageSelector" + exports: [ + "QtQuick.Controls.impl/NinePatchImageSelector 2.3", + "QtQuick.Controls.impl/NinePatchImageSelector 6.0" + ] + exportMetaObjectRevisions: [515, 1536] + } + Component { + file: "private/qquickoverlay_p.h" + name: "QQuickOverlayAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "overlay" + type: "QQuickOverlay" + isPointer: true + read: "overlay" + notify: "overlayChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "modal" + type: "QQmlComponent" + isPointer: true + read: "modal" + write: "setModal" + notify: "modalChanged" + index: 1 + isFinal: true + } + Property { + name: "modeless" + type: "QQmlComponent" + isPointer: true + read: "modeless" + write: "setModeless" + notify: "modelessChanged" + index: 2 + isFinal: true + } + Signal { name: "overlayChanged" } + Signal { name: "modalChanged" } + Signal { name: "modelessChanged" } + Signal { name: "pressed" } + Signal { name: "released" } + } + Component { + file: "private/qtquickcontrols2foreign_p.h" + name: "QQuickOverlay" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Controls.impl/Overlay 2.3", + "QtQuick.Controls.impl/Overlay 2.4", + "QtQuick.Controls.impl/Overlay 2.7", + "QtQuick.Controls.impl/Overlay 2.11", + "QtQuick.Controls.impl/Overlay 6.0", + "QtQuick.Controls.impl/Overlay 6.3" + ] + isCreatable: false + exportMetaObjectRevisions: [515, 516, 519, 523, 1536, 1539] + attachedType: "QQuickOverlayAttached" + Property { + name: "modal" + type: "QQmlComponent" + isPointer: true + read: "modal" + write: "setModal" + notify: "modalChanged" + index: 0 + isFinal: true + } + Property { + name: "modeless" + type: "QQmlComponent" + isPointer: true + read: "modeless" + write: "setModeless" + notify: "modelessChanged" + index: 1 + isFinal: true + } + Signal { name: "modalChanged" } + Signal { name: "modelessChanged" } + Signal { name: "pressed" } + Signal { name: "released" } + } + Component { + file: "private/qquickpaddedrectangle_p.h" + name: "QQuickPaddedRectangle" + accessSemantics: "reference" + prototype: "QQuickRectangle" + exports: [ + "QtQuick.Controls.impl/PaddedRectangle 2.0", + "QtQuick.Controls.impl/PaddedRectangle 2.1", + "QtQuick.Controls.impl/PaddedRectangle 2.4", + "QtQuick.Controls.impl/PaddedRectangle 2.7", + "QtQuick.Controls.impl/PaddedRectangle 2.11", + "QtQuick.Controls.impl/PaddedRectangle 6.0", + "QtQuick.Controls.impl/PaddedRectangle 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { + name: "padding" + type: "double" + read: "padding" + write: "setPadding" + reset: "resetPadding" + notify: "paddingChanged" + index: 0 + isFinal: true + } + Property { + name: "topPadding" + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + notify: "topPaddingChanged" + index: 1 + isFinal: true + } + Property { + name: "leftPadding" + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + notify: "leftPaddingChanged" + index: 2 + isFinal: true + } + Property { + name: "rightPadding" + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + notify: "rightPaddingChanged" + index: 3 + isFinal: true + } + Property { + name: "bottomPadding" + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + notify: "bottomPaddingChanged" + index: 4 + isFinal: true + } + Signal { name: "paddingChanged" } + Signal { name: "topPaddingChanged" } + Signal { name: "leftPaddingChanged" } + Signal { name: "rightPaddingChanged" } + Signal { name: "bottomPaddingChanged" } + } + Component { + file: "private/qquickplaceholdertext_p.h" + name: "QQuickPlaceholderText" + accessSemantics: "reference" + prototype: "QQuickText" + exports: [ + "QtQuick.Controls.impl/PlaceholderText 2.2", + "QtQuick.Controls.impl/PlaceholderText 2.3", + "QtQuick.Controls.impl/PlaceholderText 2.4", + "QtQuick.Controls.impl/PlaceholderText 2.6", + "QtQuick.Controls.impl/PlaceholderText 2.7", + "QtQuick.Controls.impl/PlaceholderText 2.9", + "QtQuick.Controls.impl/PlaceholderText 2.10", + "QtQuick.Controls.impl/PlaceholderText 2.11", + "QtQuick.Controls.impl/PlaceholderText 6.0", + "QtQuick.Controls.impl/PlaceholderText 6.2", + "QtQuick.Controls.impl/PlaceholderText 6.3" + ] + exportMetaObjectRevisions: [ + 514, + 515, + 516, + 518, + 519, + 521, + 522, + 523, + 1536, + 1538, + 1539 + ] + Method { name: "updateAlignment" } + } + Component { + file: "private/qquickplatformtheme_p.h" + name: "QQuickPlatformTheme" + accessSemantics: "reference" + prototype: "QObject" + extension: "QPlatformTheme" + extensionIsNamespace: true + exports: ["QtQuick.Controls.impl/PlatformTheme 6.3"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [1539] + Method { + name: "themeHint" + type: "QVariant" + Parameter { name: "themeHint"; type: "QPlatformTheme::ThemeHint" } + } + } + Component { + file: "private/qtquickcontrols2foreign_p.h" + name: "QQuickSplitHandleAttached" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick.Controls.impl/SplitHandle 2.13", + "QtQuick.Controls.impl/SplitHandle 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [525, 1536] + attachedType: "QQuickSplitHandleAttached" + Property { + name: "hovered" + type: "bool" + read: "isHovered" + notify: "hoveredChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + notify: "pressedChanged" + index: 1 + isReadonly: true + isFinal: true + } + Signal { name: "hoveredChanged" } + Signal { name: "pressedChanged" } + } + Component { + file: "private/qquickchecklabel_p.h" + name: "QQuickText" + accessSemantics: "reference" + prototype: "QQuickImplicitSizeItem" + interfaces: ["QQuickTextInterface"] + Enum { + name: "HAlignment" + values: [ + "AlignLeft", + "AlignRight", + "AlignHCenter", + "AlignJustify" + ] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Enum { + name: "TextStyle" + values: ["Normal", "Outline", "Raised", "Sunken"] + } + Enum { + name: "TextFormat" + values: [ + "PlainText", + "RichText", + "MarkdownText", + "AutoText", + "StyledText" + ] + } + Enum { + name: "TextElideMode" + values: ["ElideLeft", "ElideRight", "ElideMiddle", "ElideNone"] + } + Enum { + name: "WrapMode" + values: [ + "NoWrap", + "WordWrap", + "WrapAnywhere", + "WrapAtWordBoundaryOrAnywhere", + "Wrap" + ] + } + Enum { + name: "RenderType" + values: ["QtRendering", "NativeRendering"] + } + Enum { + name: "RenderTypeQuality" + values: [ + "DefaultRenderTypeQuality", + "LowRenderTypeQuality", + "NormalRenderTypeQuality", + "HighRenderTypeQuality", + "VeryHighRenderTypeQuality" + ] + } + Enum { + name: "LineHeightMode" + values: ["ProportionalHeight", "FixedHeight"] + } + Enum { + name: "FontSizeMode" + values: ["FixedSize", "HorizontalFit", "VerticalFit", "Fit"] + } + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + notify: "textChanged" + index: 0 + } + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + notify: "fontChanged" + index: 1 + } + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 2 + isFinal: true + } + Property { + name: "linkColor" + type: "QColor" + read: "linkColor" + write: "setLinkColor" + notify: "linkColorChanged" + index: 3 + isFinal: true + } + Property { + name: "style" + type: "TextStyle" + read: "style" + write: "setStyle" + notify: "styleChanged" + index: 4 + isFinal: true + } + Property { + name: "styleColor" + type: "QColor" + read: "styleColor" + write: "setStyleColor" + notify: "styleColorChanged" + index: 5 + isFinal: true + } + Property { + name: "horizontalAlignment" + type: "HAlignment" + read: "hAlign" + write: "setHAlign" + reset: "resetHAlign" + notify: "horizontalAlignmentChanged" + index: 6 + isFinal: true + } + Property { + name: "effectiveHorizontalAlignment" + type: "HAlignment" + read: "effectiveHAlign" + notify: "effectiveHorizontalAlignmentChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "verticalAlignment" + type: "VAlignment" + read: "vAlign" + write: "setVAlign" + notify: "verticalAlignmentChanged" + index: 8 + isFinal: true + } + Property { + name: "wrapMode" + type: "WrapMode" + read: "wrapMode" + write: "setWrapMode" + notify: "wrapModeChanged" + index: 9 + isFinal: true + } + Property { + name: "lineCount" + type: "int" + read: "lineCount" + notify: "lineCountChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "truncated" + type: "bool" + read: "truncated" + notify: "truncatedChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "maximumLineCount" + type: "int" + read: "maximumLineCount" + write: "setMaximumLineCount" + reset: "resetMaximumLineCount" + notify: "maximumLineCountChanged" + index: 12 + isFinal: true + } + Property { + name: "textFormat" + type: "TextFormat" + read: "textFormat" + write: "setTextFormat" + notify: "textFormatChanged" + index: 13 + isFinal: true + } + Property { + name: "elide" + type: "TextElideMode" + read: "elideMode" + write: "setElideMode" + notify: "elideModeChanged" + index: 14 + isFinal: true + } + Property { + name: "contentWidth" + type: "double" + read: "contentWidth" + notify: "contentWidthChanged" + index: 15 + isReadonly: true + isFinal: true + } + Property { + name: "contentHeight" + type: "double" + read: "contentHeight" + notify: "contentHeightChanged" + index: 16 + isReadonly: true + isFinal: true + } + Property { + name: "paintedWidth" + type: "double" + read: "contentWidth" + notify: "contentWidthChanged" + index: 17 + isReadonly: true + isFinal: true + } + Property { + name: "paintedHeight" + type: "double" + read: "contentHeight" + notify: "contentHeightChanged" + index: 18 + isReadonly: true + isFinal: true + } + Property { + name: "lineHeight" + type: "double" + read: "lineHeight" + write: "setLineHeight" + notify: "lineHeightChanged" + index: 19 + isFinal: true + } + Property { + name: "lineHeightMode" + type: "LineHeightMode" + read: "lineHeightMode" + write: "setLineHeightMode" + notify: "lineHeightModeChanged" + index: 20 + isFinal: true + } + Property { + name: "baseUrl" + type: "QUrl" + read: "baseUrl" + write: "setBaseUrl" + reset: "resetBaseUrl" + notify: "baseUrlChanged" + index: 21 + isFinal: true + } + Property { + name: "minimumPixelSize" + type: "int" + read: "minimumPixelSize" + write: "setMinimumPixelSize" + notify: "minimumPixelSizeChanged" + index: 22 + isFinal: true + } + Property { + name: "minimumPointSize" + type: "int" + read: "minimumPointSize" + write: "setMinimumPointSize" + notify: "minimumPointSizeChanged" + index: 23 + isFinal: true + } + Property { + name: "fontSizeMode" + type: "FontSizeMode" + read: "fontSizeMode" + write: "setFontSizeMode" + notify: "fontSizeModeChanged" + index: 24 + isFinal: true + } + Property { + name: "renderType" + type: "RenderType" + read: "renderType" + write: "setRenderType" + notify: "renderTypeChanged" + index: 25 + isFinal: true + } + Property { + name: "hoveredLink" + revision: 514 + type: "QString" + read: "hoveredLink" + notify: "linkHovered" + index: 26 + isReadonly: true + isFinal: true + } + Property { + name: "renderTypeQuality" + revision: 1536 + type: "int" + read: "renderTypeQuality" + write: "setRenderTypeQuality" + notify: "renderTypeQualityChanged" + index: 27 + isFinal: true + } + Property { + name: "padding" + revision: 518 + type: "double" + read: "padding" + write: "setPadding" + reset: "resetPadding" + notify: "paddingChanged" + index: 28 + isFinal: true + } + Property { + name: "topPadding" + revision: 518 + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + notify: "topPaddingChanged" + index: 29 + isFinal: true + } + Property { + name: "leftPadding" + revision: 518 + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + notify: "leftPaddingChanged" + index: 30 + isFinal: true + } + Property { + name: "rightPadding" + revision: 518 + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + notify: "rightPaddingChanged" + index: 31 + isFinal: true + } + Property { + name: "bottomPadding" + revision: 518 + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + notify: "bottomPaddingChanged" + index: 32 + isFinal: true + } + Property { + name: "fontInfo" + revision: 521 + type: "QJSValue" + read: "fontInfo" + notify: "fontInfoChanged" + index: 33 + isReadonly: true + isFinal: true + } + Property { + name: "advance" + revision: 522 + type: "QSizeF" + read: "advance" + notify: "contentSizeChanged" + index: 34 + isReadonly: true + isFinal: true + } + Signal { + name: "textChanged" + Parameter { name: "text"; type: "QString" } + } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "QString" } + } + Signal { + name: "linkHovered" + revision: 514 + Parameter { name: "link"; type: "QString" } + } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { name: "colorChanged" } + Signal { name: "linkColorChanged" } + Signal { + name: "styleChanged" + Parameter { name: "style"; type: "QQuickText::TextStyle" } + } + Signal { name: "styleColorChanged" } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickText::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickText::VAlignment" } + } + Signal { name: "wrapModeChanged" } + Signal { name: "lineCountChanged" } + Signal { name: "truncatedChanged" } + Signal { name: "maximumLineCountChanged" } + Signal { + name: "textFormatChanged" + Parameter { name: "textFormat"; type: "QQuickText::TextFormat" } + } + Signal { + name: "elideModeChanged" + Parameter { name: "mode"; type: "QQuickText::TextElideMode" } + } + Signal { name: "contentSizeChanged" } + Signal { + name: "contentWidthChanged" + Parameter { name: "contentWidth"; type: "double" } + } + Signal { + name: "contentHeightChanged" + Parameter { name: "contentHeight"; type: "double" } + } + Signal { + name: "lineHeightChanged" + Parameter { name: "lineHeight"; type: "double" } + } + Signal { + name: "lineHeightModeChanged" + Parameter { name: "mode"; type: "LineHeightMode" } + } + Signal { name: "fontSizeModeChanged" } + Signal { name: "minimumPixelSizeChanged" } + Signal { name: "minimumPointSizeChanged" } + Signal { name: "effectiveHorizontalAlignmentChanged" } + Signal { + name: "lineLaidOut" + Parameter { name: "line"; type: "QQuickTextLine"; isPointer: true } + } + Signal { name: "baseUrlChanged" } + Signal { name: "renderTypeChanged" } + Signal { name: "paddingChanged"; revision: 518 } + Signal { name: "topPaddingChanged"; revision: 518 } + Signal { name: "leftPaddingChanged"; revision: 518 } + Signal { name: "rightPaddingChanged"; revision: 518 } + Signal { name: "bottomPaddingChanged"; revision: 518 } + Signal { name: "fontInfoChanged"; revision: 521 } + Signal { name: "renderTypeQualityChanged"; revision: 1536 } + Method { name: "q_updateLayout" } + Method { name: "triggerPreprocess" } + Method { name: "imageDownloadFinished" } + Method { name: "forceLayout"; revision: 521 } + Method { + name: "linkAt" + revision: 515 + type: "QString" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + file: "private/qquicktumblerview_p.h" + name: "QQuickTumblerView" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Controls.impl/TumblerView 2.1", + "QtQuick.Controls.impl/TumblerView 2.4", + "QtQuick.Controls.impl/TumblerView 2.7", + "QtQuick.Controls.impl/TumblerView 2.11", + "QtQuick.Controls.impl/TumblerView 6.0", + "QtQuick.Controls.impl/TumblerView 6.3" + ] + exportMetaObjectRevisions: [513, 516, 519, 523, 1536, 1539] + Property { + name: "model" + type: "QVariant" + read: "model" + write: "setModel" + notify: "modelChanged" + index: 0 + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 1 + } + Property { + name: "path" + type: "QQuickPath" + isPointer: true + read: "path" + write: "setPath" + notify: "pathChanged" + index: 2 + } + Signal { name: "modelChanged" } + Signal { name: "delegateChanged" } + Signal { name: "pathChanged" } + } +} diff --git a/bin/qml/QtQuick/Controls/impl/qmldir b/bin/qml/QtQuick/Controls/impl/qmldir new file mode 100644 index 000000000..84355c3b9 --- /dev/null +++ b/bin/qml/QtQuick/Controls/impl/qmldir @@ -0,0 +1,9 @@ +module QtQuick.Controls.impl +linktarget Qt6::qtquickcontrols2implplugin +optional plugin qtquickcontrols2implplugin +classname QtQuickControls2ImplPlugin +typeinfo plugins.qmltypes +depends QtQuick auto +depends QtQuick.Templates auto +prefer :/qt-project.org/imports/QtQuick/Controls/impl/ + diff --git a/bin/qml/QtQuick/Controls/impl/qtquickcontrols2implplugin.dll b/bin/qml/QtQuick/Controls/impl/qtquickcontrols2implplugin.dll new file mode 100644 index 000000000..f62437ede Binary files /dev/null and b/bin/qml/QtQuick/Controls/impl/qtquickcontrols2implplugin.dll differ diff --git a/bin/qml/QtQuick/Controls/plugins.qmltypes b/bin/qml/QtQuick/Controls/plugins.qmltypes new file mode 100644 index 000000000..91181ef12 --- /dev/null +++ b/bin/qml/QtQuick/Controls/plugins.qmltypes @@ -0,0 +1,8 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module {} diff --git a/bin/qml/QtQuick/Controls/qmldir b/bin/qml/QtQuick/Controls/qmldir new file mode 100644 index 000000000..86f42c227 --- /dev/null +++ b/bin/qml/QtQuick/Controls/qmldir @@ -0,0 +1,16 @@ +module QtQuick.Controls +linktarget Qt6::qtquickcontrols2plugin +plugin qtquickcontrols2plugin +classname QtQuickControls2Plugin +designersupported +typeinfo plugins.qmltypes +optional import QtQuick.Controls.Fusion auto +optional import QtQuick.Controls.Material auto +optional import QtQuick.Controls.Imagine auto +optional import QtQuick.Controls.Universal auto +optional import QtQuick.Controls.Windows auto +optional import QtQuick.Controls.macOS auto +optional import QtQuick.Controls.iOS auto +default import QtQuick.Controls.Basic auto +prefer :/qt-project.org/imports/QtQuick/Controls/ + diff --git a/bin/qml/QtQuick/Controls/qtquickcontrols2plugin.dll b/bin/qml/QtQuick/Controls/qtquickcontrols2plugin.dll new file mode 100644 index 000000000..95f2857ae Binary files /dev/null and b/bin/qml/QtQuick/Controls/qtquickcontrols2plugin.dll differ diff --git a/bin/qml/QtQuick/Dialogs/plugins.qmltypes b/bin/qml/QtQuick/Dialogs/plugins.qmltypes new file mode 100644 index 000000000..ebf349126 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/plugins.qmltypes @@ -0,0 +1,558 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qtquickdialogs2foreign_p.h" + name: "QPlatformDialogHelper" + accessSemantics: "reference" + prototype: "QObject" + Enum { + name: "StandardButtons" + alias: "StandardButton" + isFlag: true + values: [ + "NoButton", + "Ok", + "Save", + "SaveAll", + "Open", + "Yes", + "YesToAll", + "No", + "NoToAll", + "Abort", + "Retry", + "Ignore", + "Close", + "Cancel", + "Discard", + "Help", + "Apply", + "Reset", + "RestoreDefaults", + "FirstButton", + "LastButton", + "LowestBit", + "HighestBit" + ] + } + Enum { + name: "ButtonRole" + values: [ + "InvalidRole", + "AcceptRole", + "RejectRole", + "DestructiveRole", + "ActionRole", + "HelpRole", + "YesRole", + "NoRole", + "ResetRole", + "ApplyRole", + "NRoles", + "RoleMask", + "AlternateRole", + "Stretch", + "Reverse", + "EOL" + ] + } + Enum { + name: "ButtonLayout" + values: [ + "UnknownLayout", + "WinLayout", + "MacLayout", + "KdeLayout", + "GnomeLayout", + "AndroidLayout" + ] + } + Signal { name: "accept" } + Signal { name: "reject" } + } + Component { + file: "private/qquickabstractdialog_p.h" + name: "QQuickAbstractDialog" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + Enum { + name: "StandardCode" + values: ["Rejected", "Accepted"] + } + Property { + name: "data" + type: "QObject" + isList: true + read: "data" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "parentWindow" + type: "QWindow" + isPointer: true + read: "parentWindow" + write: "setParentWindow" + reset: "resetParentWindow" + notify: "parentWindowChanged" + index: 1 + isFinal: true + } + Property { + name: "title" + type: "QString" + read: "title" + write: "setTitle" + notify: "titleChanged" + index: 2 + isFinal: true + } + Property { + name: "flags" + type: "Qt::WindowFlags" + read: "flags" + write: "setFlags" + notify: "flagsChanged" + index: 3 + isFinal: true + } + Property { + name: "modality" + type: "Qt::WindowModality" + read: "modality" + write: "setModality" + notify: "modalityChanged" + index: 4 + isFinal: true + } + Property { + name: "visible" + type: "bool" + read: "isVisible" + write: "setVisible" + notify: "visibleChanged" + index: 5 + isFinal: true + } + Property { + name: "result" + type: "StandardCode" + read: "result" + write: "setResult" + notify: "resultChanged" + index: 6 + isFinal: true + } + Signal { name: "accepted" } + Signal { name: "rejected" } + Signal { name: "parentWindowChanged" } + Signal { name: "titleChanged" } + Signal { name: "flagsChanged" } + Signal { name: "modalityChanged" } + Signal { name: "visibleChanged" } + Signal { name: "resultChanged" } + Method { name: "open" } + Method { name: "close" } + Method { name: "accept" } + Method { name: "reject" } + Method { + name: "done" + Parameter { name: "result"; type: "StandardCode" } + } + } + Component { + file: "private/qquickcolordialog_p.h" + name: "QQuickColorDialog" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QQuickAbstractDialog" + exports: ["QtQuick.Dialogs/ColorDialog 6.4"] + exportMetaObjectRevisions: [1540] + Property { + name: "selectedColor" + type: "QColor" + read: "selectedColor" + write: "setSelectedColor" + notify: "selectedColorChanged" + index: 0 + } + Property { + name: "options" + type: "QColorDialogOptions::ColorDialogOptions" + read: "options" + write: "setOptions" + reset: "resetOptions" + notify: "optionsChanged" + index: 1 + } + Signal { name: "selectedColorChanged" } + Signal { name: "optionsChanged" } + } + Component { + file: "private/qquickfiledialog_p.h" + name: "QQuickFileDialog" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QQuickAbstractDialog" + exports: ["QtQuick.Dialogs/FileDialog 6.2"] + exportMetaObjectRevisions: [1538] + Enum { + name: "FileMode" + values: ["OpenFile", "OpenFiles", "SaveFile"] + } + Property { + name: "fileMode" + type: "FileMode" + read: "fileMode" + write: "setFileMode" + notify: "fileModeChanged" + index: 0 + isFinal: true + } + Property { + name: "selectedFile" + type: "QUrl" + read: "selectedFile" + write: "setSelectedFile" + notify: "selectedFileChanged" + index: 1 + isFinal: true + } + Property { + name: "selectedFiles" + type: "QUrl" + isList: true + read: "selectedFiles" + notify: "selectedFilesChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "currentFile" + type: "QUrl" + read: "currentFile" + write: "setCurrentFile" + notify: "currentFileChanged" + index: 3 + isFinal: true + } + Property { + name: "currentFiles" + type: "QUrl" + isList: true + read: "currentFiles" + write: "setCurrentFiles" + notify: "currentFilesChanged" + index: 4 + isFinal: true + } + Property { + name: "currentFolder" + type: "QUrl" + read: "currentFolder" + write: "setCurrentFolder" + notify: "currentFolderChanged" + index: 5 + isFinal: true + } + Property { + name: "options" + type: "QFileDialogOptions::FileDialogOptions" + read: "options" + write: "setOptions" + reset: "resetOptions" + notify: "optionsChanged" + index: 6 + isFinal: true + } + Property { + name: "nameFilters" + type: "QStringList" + read: "nameFilters" + write: "setNameFilters" + reset: "resetNameFilters" + notify: "nameFiltersChanged" + index: 7 + isFinal: true + } + Property { + name: "selectedNameFilter" + type: "QQuickFileNameFilter" + isPointer: true + read: "selectedNameFilter" + index: 8 + isReadonly: true + isConstant: true + } + Property { + name: "defaultSuffix" + type: "QString" + read: "defaultSuffix" + write: "setDefaultSuffix" + reset: "resetDefaultSuffix" + notify: "defaultSuffixChanged" + index: 9 + isFinal: true + } + Property { + name: "acceptLabel" + type: "QString" + read: "acceptLabel" + write: "setAcceptLabel" + reset: "resetAcceptLabel" + notify: "acceptLabelChanged" + index: 10 + isFinal: true + } + Property { + name: "rejectLabel" + type: "QString" + read: "rejectLabel" + write: "setRejectLabel" + reset: "resetRejectLabel" + notify: "rejectLabelChanged" + index: 11 + isFinal: true + } + Signal { name: "fileModeChanged" } + Signal { name: "selectedFileChanged" } + Signal { name: "selectedFilesChanged" } + Signal { name: "currentFileChanged" } + Signal { name: "currentFilesChanged" } + Signal { name: "currentFolderChanged" } + Signal { name: "optionsChanged" } + Signal { name: "nameFiltersChanged" } + Signal { name: "defaultSuffixChanged" } + Signal { name: "acceptLabelChanged" } + Signal { name: "rejectLabelChanged" } + } + Component { + file: "private/qtquickdialogs2foreign_p.h" + name: "QQuickFileNameFilter" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "index" + type: "int" + read: "index" + write: "setIndex" + notify: "indexChanged" + index: 0 + isFinal: true + } + Property { + name: "name" + type: "QString" + read: "name" + notify: "nameChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "extensions" + type: "QStringList" + read: "extensions" + notify: "extensionsChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "globs" + type: "QStringList" + read: "globs" + notify: "globsChanged" + index: 3 + isReadonly: true + isFinal: true + } + Signal { + name: "indexChanged" + Parameter { name: "index"; type: "int" } + } + Signal { + name: "nameChanged" + Parameter { name: "name"; type: "QString" } + } + Signal { + name: "extensionsChanged" + Parameter { name: "extensions"; type: "QStringList" } + } + Signal { + name: "globsChanged" + Parameter { name: "globs"; type: "QStringList" } + } + } + Component { + file: "private/qquickfolderdialog_p.h" + name: "QQuickFolderDialog" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QQuickAbstractDialog" + exports: ["QtQuick.Dialogs/FolderDialog 6.3"] + exportMetaObjectRevisions: [1539] + Property { + name: "currentFolder" + type: "QUrl" + read: "currentFolder" + write: "setCurrentFolder" + notify: "currentFolderChanged" + index: 0 + isFinal: true + } + Property { + name: "selectedFolder" + type: "QUrl" + read: "selectedFolder" + write: "setSelectedFolder" + notify: "selectedFolderChanged" + index: 1 + isFinal: true + } + Property { + name: "options" + type: "QFileDialogOptions::FileDialogOptions" + read: "options" + write: "setOptions" + reset: "resetOptions" + notify: "optionsChanged" + index: 2 + isFinal: true + } + Property { + name: "acceptLabel" + type: "QString" + read: "acceptLabel" + write: "setAcceptLabel" + reset: "resetAcceptLabel" + notify: "acceptLabelChanged" + index: 3 + isFinal: true + } + Property { + name: "rejectLabel" + type: "QString" + read: "rejectLabel" + write: "setRejectLabel" + reset: "resetRejectLabel" + notify: "rejectLabelChanged" + index: 4 + isFinal: true + } + Signal { name: "currentFolderChanged" } + Signal { name: "selectedFolderChanged" } + Signal { name: "optionsChanged" } + Signal { name: "acceptLabelChanged" } + Signal { name: "rejectLabelChanged" } + } + Component { + file: "private/qquickfontdialog_p.h" + name: "QQuickFontDialog" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QQuickAbstractDialog" + exports: ["QtQuick.Dialogs/FontDialog 6.2"] + exportMetaObjectRevisions: [1538] + Property { + name: "selectedFont" + type: "QFont" + read: "selectedFont" + write: "setSelectedFont" + notify: "selectedFontChanged" + index: 0 + } + Property { + name: "currentFont" + type: "QFont" + read: "currentFont" + write: "setCurrentFont" + notify: "currentFontChanged" + index: 1 + isFinal: true + } + Property { + name: "options" + type: "QFontDialogOptions::FontDialogOptions" + read: "options" + write: "setOptions" + reset: "resetOptions" + notify: "optionsChanged" + index: 2 + } + Signal { name: "selectedFontChanged" } + Signal { name: "currentFontChanged" } + Signal { name: "optionsChanged" } + } + Component { + file: "private/qquickmessagedialog_p.h" + name: "QQuickMessageDialog" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QQuickAbstractDialog" + extension: "QPlatformDialogHelper" + extensionIsNamespace: true + exports: ["QtQuick.Dialogs/MessageDialog 6.3"] + exportMetaObjectRevisions: [1539] + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + notify: "textChanged" + index: 0 + isFinal: true + } + Property { + name: "informativeText" + type: "QString" + read: "informativeText" + write: "setInformativeText" + notify: "informativeTextChanged" + index: 1 + isFinal: true + } + Property { + name: "detailedText" + type: "QString" + read: "detailedText" + write: "setDetailedText" + notify: "detailedTextChanged" + index: 2 + isFinal: true + } + Property { + name: "buttons" + type: "QPlatformDialogHelper::StandardButtons" + read: "buttons" + write: "setButtons" + notify: "buttonsChanged" + index: 3 + isFinal: true + } + Signal { name: "textChanged" } + Signal { name: "informativeTextChanged" } + Signal { name: "detailedTextChanged" } + Signal { name: "buttonsChanged" } + Signal { + name: "buttonClicked" + Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } + Parameter { name: "role"; type: "QPlatformDialogHelper::ButtonRole" } + } + Method { + name: "handleClick" + Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } + Parameter { name: "role"; type: "QPlatformDialogHelper::ButtonRole" } + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/qmldir b/bin/qml/QtQuick/Dialogs/qmldir new file mode 100644 index 000000000..8ada0cdb3 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/qmldir @@ -0,0 +1,9 @@ +module QtQuick.Dialogs +linktarget Qt6::qtquickdialogsplugin +optional plugin qtquickdialogsplugin +classname QtQuickDialogsPlugin +typeinfo plugins.qmltypes +depends QtQuick auto +depends QtQuick.Dialogs.quickimpl auto +prefer :/qt-project.org/imports/QtQuick/Dialogs/ + diff --git a/bin/qml/QtQuick/Dialogs/qtquickdialogsplugin.dll b/bin/qml/QtQuick/Dialogs/qtquickdialogsplugin.dll new file mode 100644 index 000000000..64b1c2139 Binary files /dev/null and b/bin/qml/QtQuick/Dialogs/qtquickdialogsplugin.dll differ diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/plugins.qmltypes b/bin/qml/QtQuick/Dialogs/quickimpl/plugins.qmltypes new file mode 100644 index 000000000..da281d2fe --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/plugins.qmltypes @@ -0,0 +1,2584 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qplatformdialoghelper.h" + name: "QPlatformDialogHelper" + accessSemantics: "reference" + prototype: "QObject" + Enum { + name: "StandardButtons" + alias: "StandardButton" + isFlag: true + values: [ + "NoButton", + "Ok", + "Save", + "SaveAll", + "Open", + "Yes", + "YesToAll", + "No", + "NoToAll", + "Abort", + "Retry", + "Ignore", + "Close", + "Cancel", + "Discard", + "Help", + "Apply", + "Reset", + "RestoreDefaults", + "FirstButton", + "LastButton", + "LowestBit", + "HighestBit" + ] + } + Enum { + name: "ButtonRole" + values: [ + "InvalidRole", + "AcceptRole", + "RejectRole", + "DestructiveRole", + "ActionRole", + "HelpRole", + "YesRole", + "NoRole", + "ResetRole", + "ApplyRole", + "NRoles", + "RoleMask", + "AlternateRole", + "Stretch", + "Reverse", + "EOL" + ] + } + Enum { + name: "ButtonLayout" + values: [ + "UnknownLayout", + "WinLayout", + "MacLayout", + "KdeLayout", + "GnomeLayout", + "AndroidLayout" + ] + } + Signal { name: "accept" } + Signal { name: "reject" } + } + Component { + file: "private/qtquickdialogs2quickimplforeign_p.h" + name: "QQuickAbstractButton" + accessSemantics: "reference" + prototype: "QQuickControl" + Enum { + name: "Display" + values: [ + "IconOnly", + "TextOnly", + "TextBesideIcon", + "TextUnderIcon" + ] + } + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + reset: "resetText" + notify: "textChanged" + index: 0 + isFinal: true + } + Property { + name: "down" + type: "bool" + read: "isDown" + write: "setDown" + reset: "resetDown" + notify: "downChanged" + index: 1 + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + notify: "pressedChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "checked" + type: "bool" + read: "isChecked" + write: "setChecked" + notify: "checkedChanged" + index: 3 + isFinal: true + } + Property { + name: "checkable" + type: "bool" + read: "isCheckable" + write: "setCheckable" + notify: "checkableChanged" + index: 4 + isFinal: true + } + Property { + name: "autoExclusive" + type: "bool" + read: "autoExclusive" + write: "setAutoExclusive" + notify: "autoExclusiveChanged" + index: 5 + isFinal: true + } + Property { + name: "autoRepeat" + type: "bool" + read: "autoRepeat" + write: "setAutoRepeat" + notify: "autoRepeatChanged" + index: 6 + isFinal: true + } + Property { + name: "indicator" + type: "QQuickItem" + isPointer: true + read: "indicator" + write: "setIndicator" + notify: "indicatorChanged" + index: 7 + isFinal: true + } + Property { + name: "icon" + revision: 515 + type: "QQuickIcon" + read: "icon" + write: "setIcon" + notify: "iconChanged" + index: 8 + isFinal: true + } + Property { + name: "display" + revision: 515 + type: "Display" + read: "display" + write: "setDisplay" + notify: "displayChanged" + index: 9 + isFinal: true + } + Property { + name: "action" + revision: 515 + type: "QQuickAction" + isPointer: true + read: "action" + write: "setAction" + notify: "actionChanged" + index: 10 + isFinal: true + } + Property { + name: "autoRepeatDelay" + revision: 516 + type: "int" + read: "autoRepeatDelay" + write: "setAutoRepeatDelay" + notify: "autoRepeatDelayChanged" + index: 11 + isFinal: true + } + Property { + name: "autoRepeatInterval" + revision: 516 + type: "int" + read: "autoRepeatInterval" + write: "setAutoRepeatInterval" + notify: "autoRepeatIntervalChanged" + index: 12 + isFinal: true + } + Property { + name: "pressX" + revision: 516 + type: "double" + read: "pressX" + notify: "pressXChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "pressY" + revision: 516 + type: "double" + read: "pressY" + notify: "pressYChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "implicitIndicatorWidth" + revision: 517 + type: "double" + read: "implicitIndicatorWidth" + notify: "implicitIndicatorWidthChanged" + index: 15 + isReadonly: true + isFinal: true + } + Property { + name: "implicitIndicatorHeight" + revision: 517 + type: "double" + read: "implicitIndicatorHeight" + notify: "implicitIndicatorHeightChanged" + index: 16 + isReadonly: true + isFinal: true + } + Signal { name: "pressed" } + Signal { name: "released" } + Signal { name: "canceled" } + Signal { name: "clicked" } + Signal { name: "pressAndHold" } + Signal { name: "doubleClicked" } + Signal { name: "textChanged" } + Signal { name: "downChanged" } + Signal { name: "pressedChanged" } + Signal { name: "checkedChanged" } + Signal { name: "checkableChanged" } + Signal { name: "autoExclusiveChanged" } + Signal { name: "autoRepeatChanged" } + Signal { name: "indicatorChanged" } + Signal { name: "toggled"; revision: 514 } + Signal { name: "iconChanged"; revision: 515 } + Signal { name: "displayChanged"; revision: 515 } + Signal { name: "actionChanged"; revision: 515 } + Signal { name: "autoRepeatDelayChanged"; revision: 516 } + Signal { name: "autoRepeatIntervalChanged"; revision: 516 } + Signal { name: "pressXChanged"; revision: 516 } + Signal { name: "pressYChanged"; revision: 516 } + Signal { name: "implicitIndicatorWidthChanged"; revision: 517 } + Signal { name: "implicitIndicatorHeightChanged"; revision: 517 } + Method { name: "toggle" } + Method { name: "accessiblePressAction" } + } + Component { + file: "private/qquickabstractcolorpicker_p.h" + name: "QQuickAbstractColorPicker" + accessSemantics: "reference" + prototype: "QQuickControl" + deferredNames: ["background", "contentItem", "handle"] + exports: ["QtQuick.Dialogs.quickimpl/AbstractColorPicker 6.4"] + isCreatable: false + exportMetaObjectRevisions: [1540] + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 0 + } + Property { + name: "hue" + type: "double" + read: "hue" + write: "setHue" + notify: "colorChanged" + index: 1 + } + Property { + name: "saturation" + type: "double" + read: "saturation" + write: "setSaturation" + notify: "colorChanged" + index: 2 + } + Property { + name: "value" + type: "double" + read: "value" + write: "setValue" + notify: "colorChanged" + index: 3 + } + Property { + name: "lightness" + type: "double" + read: "lightness" + write: "setLightness" + notify: "colorChanged" + index: 4 + } + Property { + name: "alpha" + type: "double" + read: "alpha" + write: "setAlpha" + notify: "colorChanged" + index: 5 + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + write: "setPressed" + notify: "pressedChanged" + index: 6 + isFinal: true + } + Property { + name: "handle" + type: "QQuickItem" + isPointer: true + read: "handle" + write: "setHandle" + notify: "handleChanged" + index: 7 + isFinal: true + } + Property { + name: "implicitHandleWidth" + type: "double" + read: "implicitHandleWidth" + notify: "implicitHandleWidthChanged" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "implicitHandleHeight" + type: "double" + read: "implicitHandleHeight" + notify: "implicitHandleHeightChanged" + index: 9 + isReadonly: true + isFinal: true + } + Signal { + name: "colorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { name: "pressedChanged" } + Signal { name: "handleChanged" } + Signal { name: "implicitHandleWidthChanged" } + Signal { name: "implicitHandleHeightChanged" } + Signal { + name: "colorPicked" + Parameter { name: "color"; type: "QColor" } + } + } + Component { + file: "private/qquickcolordialogimpl_p.h" + name: "QQuickColorDialogImpl" + accessSemantics: "reference" + prototype: "QQuickDialog" + exports: ["QtQuick.Dialogs.quickimpl/ColorDialogImpl 6.4"] + exportMetaObjectRevisions: [1540] + attachedType: "QQuickColorDialogImplAttached" + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 0 + } + Property { + name: "hue" + type: "double" + read: "hue" + write: "setHue" + notify: "colorChanged" + index: 1 + } + Property { + name: "saturation" + type: "double" + read: "saturation" + write: "setSaturation" + notify: "colorChanged" + index: 2 + } + Property { + name: "value" + type: "double" + read: "value" + write: "setValue" + notify: "colorChanged" + index: 3 + } + Property { + name: "lightness" + type: "double" + read: "lightness" + write: "setLightness" + notify: "colorChanged" + index: 4 + } + Property { + name: "alpha" + type: "double" + read: "alpha" + write: "setAlpha" + notify: "colorChanged" + index: 5 + isFinal: true + } + Property { + name: "red" + type: "int" + read: "red" + write: "setRed" + notify: "colorChanged" + index: 6 + isFinal: true + } + Property { + name: "green" + type: "int" + read: "green" + write: "setGreen" + notify: "colorChanged" + index: 7 + isFinal: true + } + Property { + name: "blue" + type: "int" + read: "blue" + write: "setBlue" + notify: "colorChanged" + index: 8 + isFinal: true + } + Property { + name: "isHsl" + type: "bool" + read: "isHsl" + write: "setHsl" + notify: "specChanged" + index: 9 + isFinal: true + } + Signal { + name: "colorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { name: "specChanged" } + Method { name: "invokeEyeDropper" } + } + Component { + file: "private/qquickcolordialogimpl_p.h" + name: "QQuickColorDialogImplAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "buttonBox" + type: "QQuickDialogButtonBox" + isPointer: true + read: "buttonBox" + write: "setButtonBox" + notify: "buttonBoxChanged" + index: 0 + isFinal: true + } + Property { + name: "eyeDropperButton" + type: "QQuickAbstractButton" + isPointer: true + read: "eyeDropperButton" + write: "setEyeDropperButton" + notify: "eyeDropperButtonChanged" + index: 1 + isFinal: true + } + Property { + name: "colorPicker" + type: "QQuickAbstractColorPicker" + isPointer: true + read: "colorPicker" + write: "setColorPicker" + notify: "colorPickerChanged" + index: 2 + isFinal: true + } + Property { + name: "colorInputs" + type: "QQuickColorInputs" + isPointer: true + read: "colorInputs" + write: "setColorInputs" + notify: "colorInputsChanged" + index: 3 + isFinal: true + } + Property { + name: "alphaSlider" + type: "QQuickSlider" + isPointer: true + read: "alphaSlider" + write: "setAlphaSlider" + notify: "alphaSliderChanged" + index: 4 + isFinal: true + } + Signal { name: "buttonBoxChanged" } + Signal { name: "eyeDropperButtonChanged" } + Signal { name: "colorPickerChanged" } + Signal { name: "colorInputsChanged" } + Signal { name: "alphaSliderChanged" } + } + Component { + file: "private/qquickcolorinputs_p.h" + name: "QQuickColorInputs" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Dialogs.quickimpl/ColorInputsImpl 6.0", + "QtQuick.Dialogs.quickimpl/ColorInputsImpl 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 0 + } + Property { name: "red"; type: "int"; read: "red"; notify: "colorChanged"; index: 1; isReadonly: true } + Property { + name: "green" + type: "int" + read: "green" + notify: "colorChanged" + index: 2 + isReadonly: true + } + Property { + name: "blue" + type: "int" + read: "blue" + notify: "colorChanged" + index: 3 + isReadonly: true + } + Property { + name: "hue" + type: "double" + read: "hue" + notify: "colorChanged" + index: 4 + isReadonly: true + } + Property { + name: "hslSaturation" + type: "double" + read: "hslSaturation" + notify: "colorChanged" + index: 5 + isReadonly: true + } + Property { + name: "hsvSaturation" + type: "double" + read: "hsvSaturation" + notify: "colorChanged" + index: 6 + isReadonly: true + } + Property { + name: "value" + type: "double" + read: "value" + notify: "colorChanged" + index: 7 + isReadonly: true + } + Property { + name: "lightness" + type: "double" + read: "lightness" + notify: "colorChanged" + index: 8 + isReadonly: true + } + Property { + name: "alpha" + type: "double" + read: "alpha" + notify: "colorChanged" + index: 9 + isReadonly: true + } + Property { + name: "showAlpha" + type: "bool" + read: "showAlpha" + write: "setShowAlpha" + notify: "showAlphaChanged" + index: 10 + } + Property { + name: "hexInput" + type: "QQuickTextInput" + isPointer: true + read: "hexInput" + write: "setHexInput" + notify: "hexInputChanged" + index: 11 + } + Property { + name: "redInput" + type: "QQuickTextInput" + isPointer: true + read: "redInput" + write: "setRedInput" + notify: "redInputChanged" + index: 12 + } + Property { + name: "greenInput" + type: "QQuickTextInput" + isPointer: true + read: "greenInput" + write: "setGreenInput" + notify: "greenInputChanged" + index: 13 + } + Property { + name: "blueInput" + type: "QQuickTextInput" + isPointer: true + read: "blueInput" + write: "setBlueInput" + notify: "blueInputChanged" + index: 14 + } + Property { + name: "hsvHueInput" + type: "QQuickTextInput" + isPointer: true + read: "hsvHueInput" + write: "setHsvHueInput" + notify: "hsvHueInputChanged" + index: 15 + } + Property { + name: "hslHueInput" + type: "QQuickTextInput" + isPointer: true + read: "hslHueInput" + write: "setHslHueInput" + notify: "hslHueInputChanged" + index: 16 + } + Property { + name: "hsvSaturationInput" + type: "QQuickTextInput" + isPointer: true + read: "hsvSaturationInput" + write: "setHsvSaturationInput" + notify: "hsvSaturationInputChanged" + index: 17 + } + Property { + name: "hslSaturationInput" + type: "QQuickTextInput" + isPointer: true + read: "hslSaturationInput" + write: "setHslSaturationInput" + notify: "hslSaturationInputChanged" + index: 18 + } + Property { + name: "valueInput" + type: "QQuickTextInput" + isPointer: true + read: "valueInput" + write: "setValueInput" + notify: "valueInputChanged" + index: 19 + } + Property { + name: "lightnessInput" + type: "QQuickTextInput" + isPointer: true + read: "lightnessInput" + write: "setLightnessInput" + notify: "lightnessInputChanged" + index: 20 + } + Property { + name: "rgbAlphaInput" + type: "QQuickTextInput" + isPointer: true + read: "rgbAlphaInput" + write: "setRgbAlphaInput" + notify: "rgbAlphaInputChanged" + index: 21 + } + Property { + name: "hsvAlphaInput" + type: "QQuickTextInput" + isPointer: true + read: "hsvAlphaInput" + write: "setHsvAlphaInput" + notify: "hsvAlphaInputChanged" + index: 22 + } + Property { + name: "hslAlphaInput" + type: "QQuickTextInput" + isPointer: true + read: "hslAlphaInput" + write: "setHslAlphaInput" + notify: "hslAlphaInputChanged" + index: 23 + } + Signal { + name: "colorChanged" + Parameter { name: "c"; type: "QColor" } + } + Signal { + name: "colorModified" + Parameter { name: "c"; type: "QColor" } + } + Signal { name: "hslChanged" } + Signal { + name: "showAlphaChanged" + Parameter { type: "bool" } + } + Signal { name: "hexInputChanged" } + Signal { name: "redInputChanged" } + Signal { name: "greenInputChanged" } + Signal { name: "blueInputChanged" } + Signal { name: "hsvHueInputChanged" } + Signal { name: "hslHueInputChanged" } + Signal { name: "hsvSaturationInputChanged" } + Signal { name: "hslSaturationInputChanged" } + Signal { name: "valueInputChanged" } + Signal { name: "lightnessInputChanged" } + Signal { name: "rgbAlphaInputChanged" } + Signal { name: "hsvAlphaInputChanged" } + Signal { name: "hslAlphaInputChanged" } + } + Component { + file: "private/qtquickdialogs2quickimplforeign_p.h" + name: "QQuickControl" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + reset: "resetFont" + notify: "fontChanged" + index: 0 + isFinal: true + } + Property { + name: "availableWidth" + type: "double" + read: "availableWidth" + notify: "availableWidthChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "availableHeight" + type: "double" + read: "availableHeight" + notify: "availableHeightChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "padding" + type: "double" + read: "padding" + write: "setPadding" + reset: "resetPadding" + notify: "paddingChanged" + index: 3 + isFinal: true + } + Property { + name: "topPadding" + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + notify: "topPaddingChanged" + index: 4 + isFinal: true + } + Property { + name: "leftPadding" + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + notify: "leftPaddingChanged" + index: 5 + isFinal: true + } + Property { + name: "rightPadding" + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + notify: "rightPaddingChanged" + index: 6 + isFinal: true + } + Property { + name: "bottomPadding" + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + notify: "bottomPaddingChanged" + index: 7 + isFinal: true + } + Property { + name: "spacing" + type: "double" + read: "spacing" + write: "setSpacing" + reset: "resetSpacing" + notify: "spacingChanged" + index: 8 + isFinal: true + } + Property { + name: "locale" + type: "QLocale" + read: "locale" + write: "setLocale" + reset: "resetLocale" + notify: "localeChanged" + index: 9 + isFinal: true + } + Property { + name: "mirrored" + type: "bool" + read: "isMirrored" + notify: "mirroredChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "focusPolicy" + type: "Qt::FocusPolicy" + read: "focusPolicy" + write: "setFocusPolicy" + notify: "focusPolicyChanged" + index: 11 + isFinal: true + } + Property { + name: "focusReason" + type: "Qt::FocusReason" + read: "focusReason" + write: "setFocusReason" + notify: "focusReasonChanged" + index: 12 + isFinal: true + } + Property { + name: "visualFocus" + type: "bool" + read: "hasVisualFocus" + notify: "visualFocusChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "hovered" + type: "bool" + read: "isHovered" + notify: "hoveredChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "hoverEnabled" + type: "bool" + read: "isHoverEnabled" + write: "setHoverEnabled" + reset: "resetHoverEnabled" + notify: "hoverEnabledChanged" + index: 15 + isFinal: true + } + Property { + name: "wheelEnabled" + type: "bool" + read: "isWheelEnabled" + write: "setWheelEnabled" + notify: "wheelEnabledChanged" + index: 16 + isFinal: true + } + Property { + name: "background" + type: "QQuickItem" + isPointer: true + read: "background" + write: "setBackground" + notify: "backgroundChanged" + index: 17 + isFinal: true + } + Property { + name: "contentItem" + type: "QQuickItem" + isPointer: true + read: "contentItem" + write: "setContentItem" + notify: "contentItemChanged" + index: 18 + isFinal: true + } + Property { + name: "baselineOffset" + type: "double" + read: "baselineOffset" + write: "setBaselineOffset" + reset: "resetBaselineOffset" + notify: "baselineOffsetChanged" + index: 19 + isFinal: true + } + Property { + name: "horizontalPadding" + revision: 517 + type: "double" + read: "horizontalPadding" + write: "setHorizontalPadding" + reset: "resetHorizontalPadding" + notify: "horizontalPaddingChanged" + index: 20 + isFinal: true + } + Property { + name: "verticalPadding" + revision: 517 + type: "double" + read: "verticalPadding" + write: "setVerticalPadding" + reset: "resetVerticalPadding" + notify: "verticalPaddingChanged" + index: 21 + isFinal: true + } + Property { + name: "implicitContentWidth" + revision: 517 + type: "double" + read: "implicitContentWidth" + notify: "implicitContentWidthChanged" + index: 22 + isReadonly: true + isFinal: true + } + Property { + name: "implicitContentHeight" + revision: 517 + type: "double" + read: "implicitContentHeight" + notify: "implicitContentHeightChanged" + index: 23 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundWidth" + revision: 517 + type: "double" + read: "implicitBackgroundWidth" + notify: "implicitBackgroundWidthChanged" + index: 24 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundHeight" + revision: 517 + type: "double" + read: "implicitBackgroundHeight" + notify: "implicitBackgroundHeightChanged" + index: 25 + isReadonly: true + isFinal: true + } + Property { + name: "topInset" + revision: 517 + type: "double" + read: "topInset" + write: "setTopInset" + reset: "resetTopInset" + notify: "topInsetChanged" + index: 26 + isFinal: true + } + Property { + name: "leftInset" + revision: 517 + type: "double" + read: "leftInset" + write: "setLeftInset" + reset: "resetLeftInset" + notify: "leftInsetChanged" + index: 27 + isFinal: true + } + Property { + name: "rightInset" + revision: 517 + type: "double" + read: "rightInset" + write: "setRightInset" + reset: "resetRightInset" + notify: "rightInsetChanged" + index: 28 + isFinal: true + } + Property { + name: "bottomInset" + revision: 517 + type: "double" + read: "bottomInset" + write: "setBottomInset" + reset: "resetBottomInset" + notify: "bottomInsetChanged" + index: 29 + isFinal: true + } + Signal { name: "fontChanged" } + Signal { name: "availableWidthChanged" } + Signal { name: "availableHeightChanged" } + Signal { name: "paddingChanged" } + Signal { name: "topPaddingChanged" } + Signal { name: "leftPaddingChanged" } + Signal { name: "rightPaddingChanged" } + Signal { name: "bottomPaddingChanged" } + Signal { name: "spacingChanged" } + Signal { name: "localeChanged" } + Signal { name: "mirroredChanged" } + Signal { name: "focusPolicyChanged" } + Signal { name: "focusReasonChanged" } + Signal { name: "visualFocusChanged" } + Signal { name: "hoveredChanged" } + Signal { name: "hoverEnabledChanged" } + Signal { name: "wheelEnabledChanged" } + Signal { name: "backgroundChanged" } + Signal { name: "contentItemChanged" } + Signal { name: "baselineOffsetChanged" } + Signal { name: "horizontalPaddingChanged"; revision: 517 } + Signal { name: "verticalPaddingChanged"; revision: 517 } + Signal { name: "implicitContentWidthChanged"; revision: 517 } + Signal { name: "implicitContentHeightChanged"; revision: 517 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 517 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 517 } + Signal { name: "topInsetChanged"; revision: 517 } + Signal { name: "leftInsetChanged"; revision: 517 } + Signal { name: "rightInsetChanged"; revision: 517 } + Signal { name: "bottomInsetChanged"; revision: 517 } + } + Component { + file: "private/qtquickdialogs2quickimplforeign_p.h" + name: "QQuickDialog" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickPopup" + extension: "QPlatformDialogHelper" + extensionIsNamespace: true + Enum { + name: "StandardCode" + values: ["Rejected", "Accepted"] + } + Property { + name: "title" + type: "QString" + read: "title" + write: "setTitle" + notify: "titleChanged" + index: 0 + isFinal: true + } + Property { + name: "header" + type: "QQuickItem" + isPointer: true + read: "header" + write: "setHeader" + notify: "headerChanged" + index: 1 + isFinal: true + } + Property { + name: "footer" + type: "QQuickItem" + isPointer: true + read: "footer" + write: "setFooter" + notify: "footerChanged" + index: 2 + isFinal: true + } + Property { + name: "standardButtons" + type: "QPlatformDialogHelper::StandardButtons" + read: "standardButtons" + write: "setStandardButtons" + notify: "standardButtonsChanged" + index: 3 + isFinal: true + } + Property { + name: "result" + revision: 515 + type: "int" + read: "result" + write: "setResult" + notify: "resultChanged" + index: 4 + isFinal: true + } + Property { + name: "implicitHeaderWidth" + revision: 517 + type: "double" + read: "implicitHeaderWidth" + notify: "implicitHeaderWidthChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "implicitHeaderHeight" + revision: 517 + type: "double" + read: "implicitHeaderHeight" + notify: "implicitHeaderHeightChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "implicitFooterWidth" + revision: 517 + type: "double" + read: "implicitFooterWidth" + notify: "implicitFooterWidthChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "implicitFooterHeight" + revision: 517 + type: "double" + read: "implicitFooterHeight" + notify: "implicitFooterHeightChanged" + index: 8 + isReadonly: true + isFinal: true + } + Signal { name: "accepted" } + Signal { name: "rejected" } + Signal { name: "titleChanged" } + Signal { name: "headerChanged" } + Signal { name: "footerChanged" } + Signal { name: "standardButtonsChanged" } + Signal { name: "applied"; revision: 515 } + Signal { name: "reset"; revision: 515 } + Signal { name: "discarded"; revision: 515 } + Signal { name: "helpRequested"; revision: 515 } + Signal { name: "resultChanged"; revision: 515 } + Signal { name: "implicitHeaderWidthChanged" } + Signal { name: "implicitHeaderHeightChanged" } + Signal { name: "implicitFooterWidthChanged" } + Signal { name: "implicitFooterHeightChanged" } + Method { name: "accept" } + Method { name: "reject" } + Method { + name: "done" + Parameter { name: "result"; type: "int" } + } + Method { + name: "standardButton" + revision: 515 + type: "QQuickAbstractButton" + isPointer: true + Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } + } + } + Component { + file: "private/qquickfiledialogdelegate_p.h" + name: "QQuickFileDialogDelegate" + accessSemantics: "reference" + prototype: "QQuickItemDelegate" + exports: [ + "QtQuick.Dialogs.quickimpl/FileDialogDelegate 6.2", + "QtQuick.Dialogs.quickimpl/FileDialogDelegate 6.3" + ] + exportMetaObjectRevisions: [1538, 1539] + Property { + name: "dialog" + type: "QQuickDialog" + isPointer: true + read: "dialog" + write: "setDialog" + notify: "dialogChanged" + index: 0 + } + Property { + name: "file" + type: "QUrl" + read: "file" + write: "setFile" + notify: "fileChanged" + index: 1 + } + Signal { name: "dialogChanged" } + Signal { name: "fileChanged" } + } + Component { + file: "private/qquickfiledialogimpl_p.h" + name: "QQuickFileDialogImpl" + accessSemantics: "reference" + prototype: "QQuickDialog" + exports: ["QtQuick.Dialogs.quickimpl/FileDialogImpl 6.2"] + exportMetaObjectRevisions: [1538] + attachedType: "QQuickFileDialogImplAttached" + Property { + name: "currentFolder" + type: "QUrl" + read: "currentFolder" + write: "setCurrentFolder" + notify: "currentFolderChanged" + index: 0 + isFinal: true + } + Property { + name: "selectedFile" + type: "QUrl" + read: "selectedFile" + write: "setSelectedFile" + notify: "selectedFileChanged" + index: 1 + isFinal: true + } + Property { + name: "nameFilters" + type: "QStringList" + read: "nameFilters" + notify: "nameFiltersChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "selectedNameFilter" + type: "QQuickFileNameFilter" + isPointer: true + read: "selectedNameFilter" + index: 3 + isReadonly: true + isConstant: true + } + Property { + name: "fileName" + type: "QString" + read: "fileName" + write: "setFileName" + notify: "selectedFileChanged" + index: 4 + isFinal: true + } + Property { + name: "currentFolderName" + type: "QString" + read: "currentFolderName" + notify: "selectedFileChanged" + index: 5 + isReadonly: true + isFinal: true + } + Signal { + name: "currentFolderChanged" + Parameter { name: "folderUrl"; type: "QUrl" } + } + Signal { + name: "selectedFileChanged" + Parameter { name: "selectedFileUrl"; type: "QUrl" } + } + Signal { name: "nameFiltersChanged" } + Signal { + name: "fileSelected" + Parameter { name: "fileUrl"; type: "QUrl" } + } + Signal { + name: "filterSelected" + Parameter { name: "filter"; type: "QString" } + } + Method { + name: "selectNameFilter" + Parameter { name: "filter"; type: "QString" } + } + } + Component { + file: "private/qquickfiledialogimpl_p.h" + name: "QQuickFileDialogImplAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "buttonBox" + type: "QQuickDialogButtonBox" + isPointer: true + read: "buttonBox" + write: "setButtonBox" + notify: "buttonBoxChanged" + index: 0 + isFinal: true + } + Property { + name: "nameFiltersComboBox" + type: "QQuickComboBox" + isPointer: true + read: "nameFiltersComboBox" + write: "setNameFiltersComboBox" + notify: "nameFiltersComboBoxChanged" + index: 1 + } + Property { + name: "fileDialogListView" + type: "QQuickListView" + isPointer: true + read: "fileDialogListView" + write: "setFileDialogListView" + notify: "fileDialogListViewChanged" + index: 2 + } + Property { + name: "breadcrumbBar" + type: "QQuickFolderBreadcrumbBar" + isPointer: true + read: "breadcrumbBar" + write: "setBreadcrumbBar" + notify: "breadcrumbBarChanged" + index: 3 + } + Property { + name: "fileNameLabel" + type: "QQuickLabel" + isPointer: true + read: "fileNameLabel" + write: "setFileNameLabel" + notify: "fileNameLabelChanged" + index: 4 + isFinal: true + } + Property { + name: "fileNameTextField" + type: "QQuickTextField" + isPointer: true + read: "fileNameTextField" + write: "setFileNameTextField" + notify: "fileNameTextFieldChanged" + index: 5 + isFinal: true + } + Property { + name: "overwriteConfirmationDialog" + type: "QQuickDialog" + isPointer: true + read: "overwriteConfirmationDialog" + write: "setOverwriteConfirmationDialog" + notify: "overwriteConfirmationDialogChanged" + index: 6 + isFinal: true + } + Signal { name: "buttonBoxChanged" } + Signal { name: "nameFiltersComboBoxChanged" } + Signal { name: "fileDialogListViewChanged" } + Signal { name: "breadcrumbBarChanged" } + Signal { name: "fileNameLabelChanged" } + Signal { name: "fileNameTextFieldChanged" } + Signal { name: "overwriteConfirmationDialogChanged" } + } + Component { + file: "private/qtquickdialogs2quickimplforeign_p.h" + name: "QQuickFileNameFilter" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "index" + type: "int" + read: "index" + write: "setIndex" + notify: "indexChanged" + index: 0 + isFinal: true + } + Property { + name: "name" + type: "QString" + read: "name" + notify: "nameChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "extensions" + type: "QStringList" + read: "extensions" + notify: "extensionsChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "globs" + type: "QStringList" + read: "globs" + notify: "globsChanged" + index: 3 + isReadonly: true + isFinal: true + } + Signal { + name: "indexChanged" + Parameter { name: "index"; type: "int" } + } + Signal { + name: "nameChanged" + Parameter { name: "name"; type: "QString" } + } + Signal { + name: "extensionsChanged" + Parameter { name: "extensions"; type: "QStringList" } + } + Signal { + name: "globsChanged" + Parameter { name: "globs"; type: "QStringList" } + } + } + Component { + file: "private/qquickfolderbreadcrumbbar_p.h" + name: "QQuickFolderBreadcrumbBar" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickContainer" + exports: [ + "QtQuick.Dialogs.quickimpl/FolderBreadcrumbBar 6.2", + "QtQuick.Dialogs.quickimpl/FolderBreadcrumbBar 6.3" + ] + exportMetaObjectRevisions: [1538, 1539] + Property { + name: "dialog" + type: "QQuickDialog" + isPointer: true + read: "dialog" + write: "setDialog" + notify: "dialogChanged" + index: 0 + } + Property { + name: "buttonDelegate" + type: "QQmlComponent" + isPointer: true + read: "buttonDelegate" + write: "setButtonDelegate" + notify: "buttonDelegateChanged" + index: 1 + } + Property { + name: "separatorDelegate" + type: "QQmlComponent" + isPointer: true + read: "separatorDelegate" + write: "setSeparatorDelegate" + notify: "separatorDelegateChanged" + index: 2 + } + Property { + name: "upButton" + type: "QQuickAbstractButton" + isPointer: true + read: "upButton" + write: "setUpButton" + notify: "upButtonChanged" + index: 3 + } + Property { + name: "textField" + type: "QQuickTextField" + isPointer: true + read: "textField" + write: "setTextField" + notify: "textFieldChanged" + index: 4 + } + Property { + name: "upButtonSpacing" + type: "int" + read: "upButtonSpacing" + write: "setUpButtonSpacing" + notify: "upButtonSpacingChanged" + index: 5 + } + Signal { name: "dialogChanged" } + Signal { name: "buttonDelegateChanged" } + Signal { name: "separatorDelegateChanged" } + Signal { name: "upButtonChanged" } + Signal { name: "upButtonSpacingChanged" } + Signal { name: "textFieldChanged" } + } + Component { + file: "private/qquickfolderdialogimpl_p.h" + name: "QQuickFolderDialogImpl" + accessSemantics: "reference" + prototype: "QQuickDialog" + exports: ["QtQuick.Dialogs.quickimpl/FolderDialogImpl 6.3"] + exportMetaObjectRevisions: [1539] + attachedType: "QQuickFolderDialogImplAttached" + Property { + name: "currentFolder" + type: "QUrl" + read: "currentFolder" + write: "setCurrentFolder" + notify: "currentFolderChanged" + index: 0 + isFinal: true + } + Property { + name: "selectedFolder" + type: "QUrl" + read: "selectedFolder" + write: "setSelectedFolder" + notify: "selectedFolderChanged" + index: 1 + isFinal: true + } + Signal { + name: "currentFolderChanged" + Parameter { name: "folderUrl"; type: "QUrl" } + } + Signal { + name: "selectedFolderChanged" + Parameter { name: "folderUrl"; type: "QUrl" } + } + Signal { name: "nameFiltersChanged" } + } + Component { + file: "private/qquickfolderdialogimpl_p.h" + name: "QQuickFolderDialogImplAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "folderDialogListView" + type: "QQuickListView" + isPointer: true + read: "folderDialogListView" + write: "setFolderDialogListView" + notify: "folderDialogListViewChanged" + index: 0 + } + Property { + name: "breadcrumbBar" + type: "QQuickFolderBreadcrumbBar" + isPointer: true + read: "breadcrumbBar" + write: "setBreadcrumbBar" + notify: "breadcrumbBarChanged" + index: 1 + } + Signal { name: "folderDialogListViewChanged" } + Signal { name: "breadcrumbBarChanged" } + } + Component { + file: "private/qquickfontdialogimpl_p.h" + name: "QQuickFontDialogImpl" + accessSemantics: "reference" + prototype: "QQuickDialog" + exports: ["QtQuick.Dialogs.quickimpl/FontDialogImpl 6.2"] + exportMetaObjectRevisions: [1538] + attachedType: "QQuickFontDialogImplAttached" + Property { + name: "currentFont" + type: "QFont" + read: "currentFont" + write: "setCurrentFont" + notify: "currentFontChanged" + index: 0 + isFinal: true + } + Signal { name: "optionsChanged" } + Signal { + name: "currentFontChanged" + Parameter { name: "font"; type: "QFont" } + } + } + Component { + file: "private/qquickfontdialogimpl_p.h" + name: "QQuickFontDialogImplAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "familyListView" + type: "QQuickListView" + isPointer: true + read: "familyListView" + write: "setFamilyListView" + notify: "familyListViewChanged" + index: 0 + } + Property { + name: "styleListView" + type: "QQuickListView" + isPointer: true + read: "styleListView" + write: "setStyleListView" + notify: "styleListViewChanged" + index: 1 + } + Property { + name: "sizeListView" + type: "QQuickListView" + isPointer: true + read: "sizeListView" + write: "setSizeListView" + notify: "sizeListViewChanged" + index: 2 + } + Property { + name: "sampleEdit" + type: "QQuickTextEdit" + isPointer: true + read: "sampleEdit" + write: "setSampleEdit" + notify: "sampleEditChanged" + index: 3 + } + Property { + name: "buttonBox" + type: "QQuickDialogButtonBox" + isPointer: true + read: "buttonBox" + write: "setButtonBox" + notify: "buttonBoxChanged" + index: 4 + } + Property { + name: "writingSystemComboBox" + type: "QQuickComboBox" + isPointer: true + read: "writingSystemComboBox" + write: "setWritingSystemComboBox" + notify: "writingSystemComboBoxChanged" + index: 5 + } + Property { + name: "underlineCheckBox" + type: "QQuickCheckBox" + isPointer: true + read: "underlineCheckBox" + write: "setUnderlineCheckBox" + notify: "underlineCheckBoxChanged" + index: 6 + } + Property { + name: "strikeoutCheckBox" + type: "QQuickCheckBox" + isPointer: true + read: "strikeoutCheckBox" + write: "setStrikeoutCheckBox" + notify: "strikeoutCheckBoxChanged" + index: 7 + } + Property { + name: "familyEdit" + type: "QQuickTextField" + isPointer: true + read: "familyEdit" + write: "setFamilyEdit" + notify: "familyEditChanged" + index: 8 + } + Property { + name: "styleEdit" + type: "QQuickTextField" + isPointer: true + read: "styleEdit" + write: "setStyleEdit" + notify: "styleEditChanged" + index: 9 + } + Property { + name: "sizeEdit" + type: "QQuickTextField" + isPointer: true + read: "sizeEdit" + write: "setSizeEdit" + notify: "sizeEditChanged" + index: 10 + } + Signal { name: "buttonBoxChanged" } + Signal { name: "familyListViewChanged" } + Signal { name: "styleListViewChanged" } + Signal { name: "sizeListViewChanged" } + Signal { name: "sampleEditChanged" } + Signal { name: "writingSystemComboBoxChanged" } + Signal { name: "underlineCheckBoxChanged" } + Signal { name: "strikeoutCheckBoxChanged" } + Signal { name: "familyEditChanged" } + Signal { name: "styleEditChanged" } + Signal { name: "sizeEditChanged" } + } + Component { + file: "private/qtquickdialogs2quickimplforeign_p.h" + name: "QQuickIcon" + accessSemantics: "value" + Property { + name: "name" + type: "QString" + read: "name" + write: "setName" + reset: "resetName" + index: 0 + isFinal: true + } + Property { + name: "source" + type: "QUrl" + read: "source" + write: "setSource" + reset: "resetSource" + index: 1 + isFinal: true + } + Property { + name: "width" + type: "int" + read: "width" + write: "setWidth" + reset: "resetWidth" + index: 2 + isFinal: true + } + Property { + name: "height" + type: "int" + read: "height" + write: "setHeight" + reset: "resetHeight" + index: 3 + isFinal: true + } + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + reset: "resetColor" + index: 4 + isFinal: true + } + Property { + name: "cache" + type: "bool" + read: "cache" + write: "setCache" + reset: "resetCache" + index: 5 + isFinal: true + } + } + Component { + file: "private/qquickmessagedialogimpl_p.h" + name: "QQuickMessageDialogImpl" + accessSemantics: "reference" + prototype: "QQuickDialog" + exports: ["QtQuick.Dialogs.quickimpl/MessageDialogImpl 6.3"] + exportMetaObjectRevisions: [1539] + attachedType: "QQuickMessageDialogImplAttached" + Property { + name: "text" + type: "QString" + read: "text" + notify: "optionsChanged" + index: 0 + isReadonly: true + } + Property { + name: "informativeText" + type: "QString" + read: "informativeText" + notify: "optionsChanged" + index: 1 + isReadonly: true + } + Property { + name: "detailedText" + type: "QString" + read: "detailedText" + notify: "optionsChanged" + index: 2 + isReadonly: true + } + Property { + name: "showDetailedText" + type: "bool" + read: "showDetailedText" + notify: "showDetailedTextChanged" + index: 3 + isReadonly: true + } + Signal { + name: "buttonClicked" + Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } + Parameter { name: "role"; type: "QPlatformDialogHelper::ButtonRole" } + } + Signal { name: "showDetailedTextChanged" } + Signal { name: "optionsChanged" } + Method { name: "toggleShowDetailedText" } + } + Component { + file: "private/qquickmessagedialogimpl_p.h" + name: "QQuickMessageDialogImplAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "buttonBox" + type: "QQuickDialogButtonBox" + isPointer: true + read: "buttonBox" + write: "setButtonBox" + notify: "buttonBoxChanged" + index: 0 + } + Property { + name: "detailedTextButton" + type: "QQuickButton" + isPointer: true + read: "detailedTextButton" + write: "setDetailedTextButton" + notify: "detailedTextButtonChanged" + index: 1 + } + Signal { name: "buttonBoxChanged" } + Signal { name: "detailedTextButtonChanged" } + } + Component { + file: "private/qtquickdialogs2quickimplforeign_p.h" + name: "QQuickPopup" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + Enum { + name: "ClosePolicy" + alias: "ClosePolicyFlag" + isFlag: true + values: [ + "NoAutoClose", + "CloseOnPressOutside", + "CloseOnPressOutsideParent", + "CloseOnReleaseOutside", + "CloseOnReleaseOutsideParent", + "CloseOnEscape" + ] + } + Enum { + name: "TransformOrigin" + values: [ + "TopLeft", + "Top", + "TopRight", + "Left", + "Center", + "Right", + "BottomLeft", + "Bottom", + "BottomRight" + ] + } + Property { + name: "x" + type: "double" + read: "x" + write: "setX" + notify: "xChanged" + index: 0 + isFinal: true + } + Property { + name: "y" + type: "double" + read: "y" + write: "setY" + notify: "yChanged" + index: 1 + isFinal: true + } + Property { + name: "z" + type: "double" + read: "z" + write: "setZ" + reset: "resetZ" + notify: "zChanged" + index: 2 + isFinal: true + } + Property { + name: "width" + type: "double" + read: "width" + write: "setWidth" + reset: "resetWidth" + notify: "widthChanged" + index: 3 + isFinal: true + } + Property { + name: "height" + type: "double" + read: "height" + write: "setHeight" + reset: "resetHeight" + notify: "heightChanged" + index: 4 + isFinal: true + } + Property { + name: "implicitWidth" + type: "double" + read: "implicitWidth" + write: "setImplicitWidth" + notify: "implicitWidthChanged" + index: 5 + isFinal: true + } + Property { + name: "implicitHeight" + type: "double" + read: "implicitHeight" + write: "setImplicitHeight" + notify: "implicitHeightChanged" + index: 6 + isFinal: true + } + Property { + name: "contentWidth" + type: "double" + read: "contentWidth" + write: "setContentWidth" + notify: "contentWidthChanged" + index: 7 + isFinal: true + } + Property { + name: "contentHeight" + type: "double" + read: "contentHeight" + write: "setContentHeight" + notify: "contentHeightChanged" + index: 8 + isFinal: true + } + Property { + name: "availableWidth" + type: "double" + read: "availableWidth" + notify: "availableWidthChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "availableHeight" + type: "double" + read: "availableHeight" + notify: "availableHeightChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "margins" + type: "double" + read: "margins" + write: "setMargins" + reset: "resetMargins" + notify: "marginsChanged" + index: 11 + isFinal: true + } + Property { + name: "topMargin" + type: "double" + read: "topMargin" + write: "setTopMargin" + reset: "resetTopMargin" + notify: "topMarginChanged" + index: 12 + isFinal: true + } + Property { + name: "leftMargin" + type: "double" + read: "leftMargin" + write: "setLeftMargin" + reset: "resetLeftMargin" + notify: "leftMarginChanged" + index: 13 + isFinal: true + } + Property { + name: "rightMargin" + type: "double" + read: "rightMargin" + write: "setRightMargin" + reset: "resetRightMargin" + notify: "rightMarginChanged" + index: 14 + isFinal: true + } + Property { + name: "bottomMargin" + type: "double" + read: "bottomMargin" + write: "setBottomMargin" + reset: "resetBottomMargin" + notify: "bottomMarginChanged" + index: 15 + isFinal: true + } + Property { + name: "padding" + type: "double" + read: "padding" + write: "setPadding" + reset: "resetPadding" + notify: "paddingChanged" + index: 16 + isFinal: true + } + Property { + name: "topPadding" + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + notify: "topPaddingChanged" + index: 17 + isFinal: true + } + Property { + name: "leftPadding" + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + notify: "leftPaddingChanged" + index: 18 + isFinal: true + } + Property { + name: "rightPadding" + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + notify: "rightPaddingChanged" + index: 19 + isFinal: true + } + Property { + name: "bottomPadding" + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + notify: "bottomPaddingChanged" + index: 20 + isFinal: true + } + Property { + name: "locale" + type: "QLocale" + read: "locale" + write: "setLocale" + reset: "resetLocale" + notify: "localeChanged" + index: 21 + isFinal: true + } + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + reset: "resetFont" + notify: "fontChanged" + index: 22 + isFinal: true + } + Property { + name: "parent" + type: "QQuickItem" + isPointer: true + read: "parentItem" + write: "setParentItem" + reset: "resetParentItem" + notify: "parentChanged" + index: 23 + isFinal: true + } + Property { + name: "background" + type: "QQuickItem" + isPointer: true + read: "background" + write: "setBackground" + notify: "backgroundChanged" + index: 24 + isFinal: true + } + Property { + name: "contentItem" + type: "QQuickItem" + isPointer: true + read: "contentItem" + write: "setContentItem" + notify: "contentItemChanged" + index: 25 + isFinal: true + } + Property { + name: "contentData" + type: "QObject" + isList: true + read: "contentData" + index: 26 + privateClass: "QQuickPopupPrivate" + isReadonly: true + } + Property { + name: "contentChildren" + type: "QQuickItem" + isList: true + read: "contentChildren" + notify: "contentChildrenChanged" + index: 27 + privateClass: "QQuickPopupPrivate" + isReadonly: true + isFinal: true + } + Property { + name: "clip" + type: "bool" + read: "clip" + write: "setClip" + notify: "clipChanged" + index: 28 + isFinal: true + } + Property { + name: "focus" + type: "bool" + read: "hasFocus" + write: "setFocus" + notify: "focusChanged" + index: 29 + isFinal: true + } + Property { + name: "activeFocus" + type: "bool" + read: "hasActiveFocus" + notify: "activeFocusChanged" + index: 30 + isReadonly: true + isFinal: true + } + Property { + name: "modal" + type: "bool" + read: "isModal" + write: "setModal" + notify: "modalChanged" + index: 31 + isFinal: true + } + Property { + name: "dim" + type: "bool" + read: "dim" + write: "setDim" + reset: "resetDim" + notify: "dimChanged" + index: 32 + isFinal: true + } + Property { + name: "visible" + type: "bool" + read: "isVisible" + write: "setVisible" + notify: "visibleChanged" + index: 33 + isFinal: true + } + Property { + name: "opacity" + type: "double" + read: "opacity" + write: "setOpacity" + notify: "opacityChanged" + index: 34 + isFinal: true + } + Property { + name: "scale" + type: "double" + read: "scale" + write: "setScale" + notify: "scaleChanged" + index: 35 + isFinal: true + } + Property { + name: "closePolicy" + type: "ClosePolicy" + read: "closePolicy" + write: "setClosePolicy" + reset: "resetClosePolicy" + notify: "closePolicyChanged" + index: 36 + isFinal: true + } + Property { + name: "transformOrigin" + type: "TransformOrigin" + read: "transformOrigin" + write: "setTransformOrigin" + index: 37 + isFinal: true + } + Property { + name: "enter" + type: "QQuickTransition" + isPointer: true + read: "enter" + write: "setEnter" + notify: "enterChanged" + index: 38 + isFinal: true + } + Property { + name: "exit" + type: "QQuickTransition" + isPointer: true + read: "exit" + write: "setExit" + notify: "exitChanged" + index: 39 + isFinal: true + } + Property { + name: "spacing" + revision: 513 + type: "double" + read: "spacing" + write: "setSpacing" + reset: "resetSpacing" + notify: "spacingChanged" + index: 40 + isFinal: true + } + Property { + name: "opened" + revision: 515 + type: "bool" + read: "isOpened" + notify: "openedChanged" + index: 41 + isReadonly: true + isFinal: true + } + Property { + name: "mirrored" + revision: 515 + type: "bool" + read: "isMirrored" + notify: "mirroredChanged" + index: 42 + isReadonly: true + isFinal: true + } + Property { + name: "enabled" + revision: 515 + type: "bool" + read: "isEnabled" + write: "setEnabled" + notify: "enabledChanged" + index: 43 + isFinal: true + } + Property { + name: "palette" + revision: 515 + type: "QQuickPalette" + isPointer: true + read: "palette" + write: "setPalette" + reset: "resetPalette" + notify: "paletteChanged" + index: 44 + privateClass: "QQuickPopupPrivate" + } + Property { + name: "horizontalPadding" + type: "double" + read: "horizontalPadding" + write: "setHorizontalPadding" + reset: "resetHorizontalPadding" + notify: "horizontalPaddingChanged" + index: 45 + isFinal: true + } + Property { + name: "verticalPadding" + type: "double" + read: "verticalPadding" + write: "setVerticalPadding" + reset: "resetVerticalPadding" + notify: "verticalPaddingChanged" + index: 46 + isFinal: true + } + Property { + name: "anchors" + revision: 517 + type: "QQuickPopupAnchors" + isPointer: true + read: "getAnchors" + index: 47 + privateClass: "QQuickPopupPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "implicitContentWidth" + revision: 517 + type: "double" + read: "implicitContentWidth" + notify: "implicitContentWidthChanged" + index: 48 + isReadonly: true + isFinal: true + } + Property { + name: "implicitContentHeight" + revision: 517 + type: "double" + read: "implicitContentHeight" + notify: "implicitContentHeightChanged" + index: 49 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundWidth" + revision: 517 + type: "double" + read: "implicitBackgroundWidth" + notify: "implicitBackgroundWidthChanged" + index: 50 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundHeight" + revision: 517 + type: "double" + read: "implicitBackgroundHeight" + notify: "implicitBackgroundHeightChanged" + index: 51 + isReadonly: true + isFinal: true + } + Property { + name: "topInset" + revision: 517 + type: "double" + read: "topInset" + write: "setTopInset" + reset: "resetTopInset" + notify: "topInsetChanged" + index: 52 + isFinal: true + } + Property { + name: "leftInset" + revision: 517 + type: "double" + read: "leftInset" + write: "setLeftInset" + reset: "resetLeftInset" + notify: "leftInsetChanged" + index: 53 + isFinal: true + } + Property { + name: "rightInset" + revision: 517 + type: "double" + read: "rightInset" + write: "setRightInset" + reset: "resetRightInset" + notify: "rightInsetChanged" + index: 54 + isFinal: true + } + Property { + name: "bottomInset" + revision: 517 + type: "double" + read: "bottomInset" + write: "setBottomInset" + reset: "resetBottomInset" + notify: "bottomInsetChanged" + index: 55 + isFinal: true + } + Signal { name: "opened" } + Signal { name: "closed" } + Signal { name: "aboutToShow" } + Signal { name: "aboutToHide" } + Signal { name: "xChanged" } + Signal { name: "yChanged" } + Signal { name: "zChanged" } + Signal { name: "widthChanged" } + Signal { name: "heightChanged" } + Signal { name: "implicitWidthChanged" } + Signal { name: "implicitHeightChanged" } + Signal { name: "contentWidthChanged" } + Signal { name: "contentHeightChanged" } + Signal { name: "availableWidthChanged" } + Signal { name: "availableHeightChanged" } + Signal { name: "marginsChanged" } + Signal { name: "topMarginChanged" } + Signal { name: "leftMarginChanged" } + Signal { name: "rightMarginChanged" } + Signal { name: "bottomMarginChanged" } + Signal { name: "paddingChanged" } + Signal { name: "topPaddingChanged" } + Signal { name: "leftPaddingChanged" } + Signal { name: "rightPaddingChanged" } + Signal { name: "bottomPaddingChanged" } + Signal { name: "fontChanged" } + Signal { name: "localeChanged" } + Signal { name: "parentChanged" } + Signal { name: "backgroundChanged" } + Signal { name: "contentItemChanged" } + Signal { name: "contentChildrenChanged" } + Signal { name: "clipChanged" } + Signal { name: "focusChanged" } + Signal { name: "activeFocusChanged" } + Signal { name: "modalChanged" } + Signal { name: "dimChanged" } + Signal { name: "visibleChanged" } + Signal { name: "opacityChanged" } + Signal { name: "scaleChanged" } + Signal { name: "closePolicyChanged" } + Signal { name: "enterChanged" } + Signal { name: "exitChanged" } + Signal { + name: "windowChanged" + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Signal { name: "spacingChanged"; revision: 513 } + Signal { name: "openedChanged"; revision: 515 } + Signal { name: "mirroredChanged"; revision: 515 } + Signal { name: "enabledChanged"; revision: 515 } + Signal { name: "paletteChanged"; revision: 515 } + Signal { name: "paletteCreated"; revision: 515 } + Signal { name: "horizontalPaddingChanged"; revision: 517 } + Signal { name: "verticalPaddingChanged"; revision: 517 } + Signal { name: "implicitContentWidthChanged"; revision: 517 } + Signal { name: "implicitContentHeightChanged"; revision: 517 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 517 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 517 } + Signal { name: "topInsetChanged"; revision: 517 } + Signal { name: "leftInsetChanged"; revision: 517 } + Signal { name: "rightInsetChanged"; revision: 517 } + Signal { name: "bottomInsetChanged"; revision: 517 } + Method { name: "open" } + Method { name: "close" } + Method { + name: "forceActiveFocus" + Parameter { name: "reason"; type: "Qt::FocusReason" } + } + Method { name: "forceActiveFocus"; isCloned: true } + } + Component { + file: "private/qquicksaturationlightnesspicker_p.h" + name: "QQuickSaturationLightnessPicker" + accessSemantics: "reference" + prototype: "QQuickAbstractColorPicker" + exports: [ + "QtQuick.Dialogs.quickimpl/SaturationLightnessPickerImpl 6.0", + "QtQuick.Dialogs.quickimpl/SaturationLightnessPickerImpl 6.3", + "QtQuick.Dialogs.quickimpl/SaturationLightnessPickerImpl 6.4" + ] + exportMetaObjectRevisions: [1536, 1539, 1540] + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/ColorDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/ColorDialog.qml new file mode 100644 index 000000000..edf5b11bc --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/ColorDialog.qml @@ -0,0 +1,256 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +ColorDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 6 + horizontalPadding: 12 + + isHsl: true + + standardButtons: T.Dialog.Ok | T.Dialog.Cancel + + ColorDialogImpl.eyeDropperButton: eyeDropperButton + ColorDialogImpl.buttonBox: buttonBox + ColorDialogImpl.colorPicker: colorPicker + ColorDialogImpl.colorInputs: inputs + ColorDialogImpl.alphaSlider: alphaSlider + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 400 + color: control.palette.window + border.color: control.palette.mid + radius: 2 + + Rectangle { + z: -1 + x: 1 + y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + radius: 2 + } + } + + header: RowLayout { + Label { + objectName: "titleLabel" + text: control.title + elide: Label.ElideRight + font.bold: true + padding: 6 + + Layout.preferredWidth: control.title.length > 0 ? implicitWidth : 0 + Layout.leftMargin: 12 + Layout.alignment: Qt.AlignLeft + } + Button { + id: eyeDropperButton + objectName: "eyeDropperButton" + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/eye-dropper.png" + flat: true + visible: false + + Layout.preferredWidth: implicitHeight + Layout.alignment: Qt.AlignRight + Layout.rightMargin: 6 + } + } + + contentItem: ColumnLayout { + spacing: 12 + SaturationLightnessPicker { + id: colorPicker + objectName: "colorPicker" + color: control.color + + Layout.fillWidth: true + Layout.fillHeight: true + } + + Slider { + id: hueSlider + objectName: "hueSlider" + orientation: Qt.Horizontal + value: control.hue + implicitHeight: 20 + onMoved: function() { control.hue = value; } + handle: PickerHandle { + x: hueSlider.leftPadding + (hueSlider.horizontal + ? hueSlider.visualPosition * (hueSlider.availableWidth - width) + : (hueSlider.availableWidth - width) / 2) + y: hueSlider.topPadding + (hueSlider.horizontal + ? (hueSlider.availableHeight - height) / 2 + : hueSlider.visualPosition * (hueSlider.availableHeight - height)) + picker: hueSlider + } + background: Rectangle { + anchors.fill: parent + anchors.leftMargin: hueSlider.handle.width / 2 + anchors.rightMargin: hueSlider.handle.width / 2 + border.width: 2 + border.color: control.palette.dark + radius: 10 + color: "transparent" + Rectangle { + anchors.fill: parent + anchors.margins: 4 + radius: 10 + gradient: HueGradient { + orientation: Gradient.Horizontal + } + } + } + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + } + + Slider { + id: alphaSlider + objectName: "alphaSlider" + orientation: Qt.Horizontal + value: control.alpha + implicitHeight: 20 + handle: PickerHandle { + x: alphaSlider.leftPadding + (alphaSlider.horizontal + ? alphaSlider.visualPosition * (alphaSlider.availableWidth - width) + : (alphaSlider.availableWidth - width) / 2) + y: alphaSlider.topPadding + (alphaSlider.horizontal + ? (alphaSlider.availableHeight - height) / 2 + : alphaSlider.visualPosition * (alphaSlider.availableHeight - height)) + picker: alphaSlider + } + background: Rectangle { + anchors.fill: parent + anchors.leftMargin: parent.handle.width / 2 + anchors.rightMargin: parent.handle.width / 2 + border.width: 2 + border.color: control.palette.dark + radius: 10 + color: "transparent" + + Image { + anchors.fill: alphaSliderGradient + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/checkers.png" + fillMode: Image.Tile + } + + Rectangle { + id: alphaSliderGradient + anchors.fill: parent + anchors.margins: 4 + radius: 10 + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { + position: 0 + color: "transparent" + } + GradientStop { + position: 1 + color: Qt.rgba(control.color.r, control.color.g, control.color.b, 1) + } + } + } + } + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + } + + ColorInputs { + id: inputs + + color: control.color + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + Layout.bottomMargin: 12 + } + } + + footer: RowLayout { + spacing: 12 + + Label { + text: qsTr("Color") + + Layout.leftMargin: 12 + Layout.topMargin: 6 + Layout.bottomMargin: 6 + } + + Rectangle { + implicitWidth: (parent.height - 24) * 2 + implicitHeight: implicitWidth / 2 + color: "transparent" + + Image { + anchors.fill: parent + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/checkers.png" + fillMode: Image.Tile + } + + Rectangle { + anchors.fill: parent + color: control.color + } + + Layout.topMargin: 6 + Layout.bottomMargin: 6 + } + + Item { + Layout.fillWidth: true + Layout.topMargin: 6 + Layout.bottomMargin: 6 + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 6 + horizontalPadding: 0 + verticalPadding: 0 + + Layout.rightMargin: 12 + Layout.topMargin: 6 + Layout.bottomMargin: 6 + } + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FileDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FileDialog.qml new file mode 100644 index 000000000..965f56bdc --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FileDialog.qml @@ -0,0 +1,217 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import Qt.labs.folderlistmodel +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +import "." as DialogsImpl + +FileDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 6 + horizontalPadding: 12 + + standardButtons: T.Dialog.Open | T.Dialog.Cancel + + Dialog { + id: overwriteConfirmationDialog + objectName: "confirmationDialog" + anchors.centerIn: parent + closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent + dim: true + modal: true + title: qsTr("“%1” already exists. Do you want to replace it?").arg(control.fileName) + + Label { + text: qsTr("A file with the same name already exists in %1.\nReplacing it will overwrite its current contents.").arg(control.currentFolderName) + } + + footer: DialogButtonBox { + alignment: Qt.AlignHCenter + standardButtons: DialogButtonBox.Yes | DialogButtonBox.No + } + + Overlay.modal: Rectangle { + color: Fusion.darkShade + } + } + + /* + We use attached properties because we want to handle logic in C++, and: + - We can't assume the footer only contains a DialogButtonBox (which would allow us + to connect up to it in QQuickFileDialogImpl); it also needs to hold a ComboBox + and therefore the root footer item will be e.g. a layout item instead. + - We don't want to create our own "FileDialogButtonBox" (in order to be able to handle the logic + in C++) because we'd need to copy (and hence duplicate code in) DialogButtonBox.qml. + */ + FileDialogImpl.buttonBox: buttonBox + FileDialogImpl.nameFiltersComboBox: nameFiltersComboBox + FileDialogImpl.fileDialogListView: fileDialogListView + FileDialogImpl.breadcrumbBar: breadcrumbBar + FileDialogImpl.fileNameLabel: fileNameLabel + FileDialogImpl.fileNameTextField: fileNameTextField + FileDialogImpl.overwriteConfirmationDialog: overwriteConfirmationDialog + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + color: control.palette.window + border.color: control.palette.mid + radius: 2 + + Rectangle { + z: -1 + x: 1 + y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + radius: 2 + } + } + + header: ColumnLayout { + spacing: 0 + + Label { + objectName: "dialogTitleBarLabel" + text: control.title + horizontalAlignment: Label.AlignHCenter + elide: Label.ElideRight + font.bold: true + padding: 6 + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + Layout.topMargin: control.title.length > 0 ? 0 : 12 + Layout.preferredHeight: control.title.length > 0 ? implicitHeight : 0 + } + + DialogsImpl.FolderBreadcrumbBar { + id: breadcrumbBar + dialog: control + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + + KeyNavigation.tab: fileDialogListView + } + } + + contentItem: Frame { + padding: 0 + verticalPadding: 1 + + ListView { + id: fileDialogListView + objectName: "fileDialogListView" + anchors.fill: parent + clip: true + focus: true + boundsBehavior: Flickable.StopAtBounds + + ScrollBar.vertical: ScrollBar {} + + model: FolderListModel { + folder: control.currentFolder + nameFilters: control.selectedNameFilter.globs + showDirsFirst: PlatformTheme.themeHint(PlatformTheme.ShowDirectoriesFirst) + sortCaseSensitive: false + } + delegate: DialogsImpl.FileDialogDelegate { + objectName: "fileDialogDelegate" + index + x: 1 + width: ListView.view.width - 2 + highlighted: ListView.isCurrentItem + dialog: control + fileDetailRowWidth: nameFiltersComboBox.width + + KeyNavigation.backtab: breadcrumbBar + KeyNavigation.tab: fileNameTextField.visible ? fileNameTextField : nameFiltersComboBox + } + } + } + + footer: GridLayout { + columnSpacing: 12 + columns: 3 + + Label { + id: fileNameLabel + text: qsTr("File name") + Layout.leftMargin: 12 + visible: false + } + + TextField { + id: fileNameTextField + objectName: "fileNameTextField" + visible: false + + Layout.fillWidth: true + } + + Label { + text: qsTr("Filter") + Layout.column: 0 + Layout.row: 1 + Layout.leftMargin: 12 + Layout.bottomMargin: 12 + } + + + ComboBox { + // OK to use IDs here, since users shouldn't be overriding this stuff. + id: nameFiltersComboBox + model: control.nameFilters + + Layout.fillWidth: true + Layout.bottomMargin: 12 + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 6 + horizontalPadding: 0 + verticalPadding: 0 + background: null + + // TODO: make the orientation vertical + Layout.row: 1 + Layout.column: 2 + Layout.columnSpan: 1 + Layout.rightMargin: 12 + Layout.bottomMargin: 12 + } + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FileDialogDelegate.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FileDialogDelegate.qml new file mode 100644 index 000000000..46cdb06f0 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FileDialogDelegate.qml @@ -0,0 +1,55 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl as ControlsImpl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FileDialogDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + file: fileUrl + + icon.width: 16 + icon.height: 16 + icon.color: highlighted ? palette.highlightedText : palette.text + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/" + + (fileIsDir ? "folder" : "file") + "-icon-round.png" + + // We don't use index here, but in C++. Since we're using required + // properties, the index context property will not be injected, so we can't + // use its QQmlContext to access it. + required property int index + required property string fileName + required property url fileUrl + required property string fileSize + required property date fileModified + required property bool fileIsDir + + required property int fileDetailRowWidth + + contentItem: FileDialogDelegateLabel { + delegate: control + fileDetailRowTextColor: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.text + fileDetailRowWidth: control.fileDetailRowWidth + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderBreadcrumbBar.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderBreadcrumbBar.qml new file mode 100644 index 000000000..75f196336 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderBreadcrumbBar.qml @@ -0,0 +1,74 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FolderBreadcrumbBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + (upButton ? upButton.implicitWidth + upButtonSpacing : 0) + + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + upButtonSpacing: 6 + + contentItem: ListView { + currentIndex: control.currentIndex + model: control.contentModel + orientation: ListView.Horizontal + snapMode: ListView.SnapToItem + highlightMoveDuration: 0 + interactive: false + clip: true + + Rectangle { + anchors.fill: parent + color: control.palette.light + border.color: control.palette.mid + radius: 2 + z: -1 + } + } + buttonDelegate: Button { + id: buttonDelegateRoot + text: folderName + flat: true + + // The default of 100 is a bit too wide for short directory names. + Binding { + target: buttonDelegateRoot.background + property: "implicitWidth" + value: 24 + } + + required property int index + required property string folderName + } + separatorDelegate: IconImage { + id: iconImage + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/crumb-separator-icon-round.png" + sourceSize: Qt.size(8, 8) + width: 8 + 6 + height: control.contentItem.height + color: control.palette.dark + y: (control.height - height) / 2 + } + upButton: Button { + x: control.leftPadding + y: control.topPadding + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/up-icon-round.png" + icon.width: 16 + icon.height: 16 + width: height + height: Math.max(implicitHeight, control.contentItem.height) + focusPolicy: Qt.TabFocus + } + textField: TextField { + text: (control.dialog as DialogsQuickImpl.FileDialogImpl)?.selectedFile + ?? (control.dialog as DialogsQuickImpl.FolderDialogImpl).currentFolder + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderDialog.qml new file mode 100644 index 000000000..fbe0fa9c1 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderDialog.qml @@ -0,0 +1,136 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import Qt.labs.folderlistmodel +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +import "." as DialogsImpl + +FolderDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 6 + horizontalPadding: 12 + + standardButtons: T.Dialog.Open | T.Dialog.Cancel + + FolderDialogImpl.folderDialogListView: folderDialogListView + FolderDialogImpl.breadcrumbBar: breadcrumbBar + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + color: control.palette.window + border.color: control.palette.mid + radius: 2 + + Rectangle { + z: -1 + x: 1 + y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + radius: 2 + } + } + + header: ColumnLayout { + spacing: 0 + + Label { + objectName: "dialogTitleBarLabel" + text: control.title + horizontalAlignment: Label.AlignHCenter + elide: Label.ElideRight + font.bold: true + padding: 6 + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + Layout.topMargin: control.title.length > 0 ? 0 : 12 + Layout.preferredHeight: control.title.length > 0 ? implicitHeight : 0 + } + + DialogsImpl.FolderBreadcrumbBar { + id: breadcrumbBar + dialog: control + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + + KeyNavigation.tab: folderDialogListView + } + } + + contentItem: Frame { + padding: 0 + verticalPadding: 1 + + ListView { + id: folderDialogListView + objectName: "fileDialogListView" + anchors.fill: parent + clip: true + focus: true + boundsBehavior: Flickable.StopAtBounds + + ScrollBar.vertical: ScrollBar {} + + model: FolderListModel { + folder: control.currentFolder + showFiles: false + sortCaseSensitive: false + } + delegate: DialogsImpl.FolderDialogDelegate { + objectName: "folderDialogDelegate" + index + x: 1 + width: ListView.view.width - 2 + highlighted: ListView.isCurrentItem + dialog: control + + KeyNavigation.backtab: breadcrumbBar + KeyNavigation.tab: control.footer + } + } + } + + footer: DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 6 + leftPadding: 0 + rightPadding: 12 + topPadding: 0 + bottomPadding: 12 + background: null + } + + T.Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + T.Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderDialogDelegate.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderDialogDelegate.qml new file mode 100644 index 000000000..e18f0de3e --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderDialogDelegate.qml @@ -0,0 +1,49 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl as ControlsImpl +import QtQuick.Controls.Fusion +import QtQuick.Controls.Fusion.impl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FileDialogDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 6 + spacing: 6 + + file: fileUrl + + icon.width: 16 + icon.height: 16 + icon.color: highlighted ? palette.highlightedText : palette.text + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/folder-icon-round.png" + + // We don't use index here, but in C++. Since we're using required + // properties, the index context property will not be injected, so we can't + // use its QQmlContext to access it. + required property int index + required property string fileName + required property url fileUrl + required property date fileModified + + contentItem: FolderDialogDelegateLabel { + delegate: control + fileDetailRowTextColor: control.highlighted ? Fusion.highlightedText(control.palette) : control.palette.placeholderText + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 20 + color: control.down ? Fusion.buttonColor(control.palette, false, true, true) + : control.highlighted ? Fusion.highlight(control.palette) : control.palette.base + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FontDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FontDialog.qml new file mode 100644 index 000000000..cca4e96ee --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FontDialog.qml @@ -0,0 +1,118 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Fusion +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +FontDialogImpl { + id: control + + implicitWidth: Math.max(control.implicitBackgroundWidth + control.leftInset + control.rightInset, + control.contentWidth + control.leftPadding + control.rightPadding, + control.implicitHeaderWidth, + control.implicitFooterWidth) + implicitHeight: Math.max(control.implicitBackgroundHeight + control.topInset + control.bottomInset, + control.contentHeight + control.topPadding + control.bottomPadding + + (control.implicitHeaderHeight > 0 ? control.implicitHeaderHeight + control.spacing : 0) + + (control.implicitFooterHeight > 0 ? control.implicitFooterHeight + control.spacing : 0)) + + leftPadding: 20 + rightPadding: 20 + // Ensure that the background's border is visible. + leftInset: -1 + rightInset: -1 + topInset: -1 + bottomInset: -1 + + standardButtons: T.Dialog.Ok | T.Dialog.Cancel + + FontDialogImpl.buttonBox: buttonBox + FontDialogImpl.familyListView: content.familyListView + FontDialogImpl.styleListView: content.styleListView + FontDialogImpl.sizeListView: content.sizeListView + FontDialogImpl.sampleEdit: content.sampleEdit + FontDialogImpl.writingSystemComboBox: writingSystemComboBox + FontDialogImpl.underlineCheckBox: content.underline + FontDialogImpl.strikeoutCheckBox: content.strikeout + FontDialogImpl.familyEdit: content.familyEdit + FontDialogImpl.styleEdit: content.styleEdit + FontDialogImpl.sizeEdit: content.sizeEdit + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + color: control.palette.window + border.color: control.palette.mid + radius: 2 + + Rectangle { + z: -1 + x: 1 + y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + radius: 2 + } + } + + Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + Overlay.modeless: Rectangle { + color: Fusion.topShadow + } + + header: Label { + text: control.title + horizontalAlignment: Label.AlignHCenter + elide: Label.ElideRight + font.bold: true + padding: 6 + } + + contentItem: FontDialogContent { + id: content + } + + footer: RowLayout { + id: rowLayout + spacing: 12 + + Label { + text: qsTr("Writing System") + + Layout.leftMargin: 12 + Layout.topMargin: 6 + Layout.bottomMargin: 6 + } + ComboBox{ + id: writingSystemComboBox + + Layout.fillWidth: true + Layout.topMargin: 6 + Layout.bottomMargin: 6 + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 6 + horizontalPadding: 0 + verticalPadding: 0 + background: null + + Layout.rightMargin: 12 + Layout.topMargin: 6 + Layout.bottomMargin: 6 + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/MessageDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/MessageDialog.qml new file mode 100644 index 000000000..cb3eb1cc6 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/MessageDialog.qml @@ -0,0 +1,135 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.Fusion +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts + +MessageDialogImpl { + id: control + + implicitWidth: Math.max(control.implicitBackgroundWidth + control.leftInset + control.rightInset, + control.implicitHeaderWidth, + rowLayout.implicitWidth) + implicitHeight: Math.max(control.implicitBackgroundHeight + control.topInset + control.bottomInset, + control.contentHeight + control.topPadding + control.bottomPadding + + (control.implicitHeaderHeight > 0 ? control.implicitHeaderHeight + control.spacing : 0) + + (control.implicitFooterHeight > 0 ? control.implicitFooterHeight + control.spacing : 0)) + + padding: 6 + horizontalPadding: 12 + + MessageDialogImpl.buttonBox: buttonBox + MessageDialogImpl.detailedTextButton: detailedTextButton + + background: Rectangle { + implicitWidth: 320 + implicitHeight: 120 + color: control.palette.window + border.color: control.palette.mid + radius: 2 + + Rectangle { + z: -1 + x: 1 + y: 1 + width: parent.width + height: parent.height + color: control.palette.shadow + opacity: 0.2 + radius: 2 + } + } + + header: Label { + text: control.title + horizontalAlignment: Label.AlignHCenter + elide: Label.ElideRight + font.bold: true + padding: 6 + } + + contentItem: Column { + padding: 6 + spacing: 24 + + Label { + id: textLabel + objectName: "textLabel" + text: control.text + visible: text.length > 0 + wrapMode: Text.Wrap + width: parent.width - parent.leftPadding - parent.rightPadding + } + + Label { + id: informativeTextLabel + objectName: "informativeTextLabel" + text: control.informativeText + visible: text.length > 0 + wrapMode: Text.Wrap + width: parent.width - parent.leftPadding - parent.rightPadding + } + } + + footer: ColumnLayout { + id: columnLayout + + RowLayout { + id: rowLayout + + Button { + id: detailedTextButton + objectName: "detailedTextButton" + text: control.showDetailedText ? qsTr("Hide Details...") : qsTr("Show Details...") + + Layout.leftMargin: 12 + } + + DialogButtonBox { + id: buttonBox + objectName: "buttonBox" + spacing: 6 + horizontalPadding: 0 + verticalPadding: 12 + + Layout.fillWidth: true + Layout.leftMargin: detailedTextButton.visible ? 6 : 12 + Layout.rightMargin: 12 + } + } + + TextArea { + id: detailedTextArea + objectName: "detailedText" + text: control.detailedText + visible: control.showDetailedText + wrapMode: TextEdit.WordWrap + readOnly: true + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + Layout.bottomMargin: 12 + + background: Rectangle { + color: Qt.rgba(1,1,1,1) + radius: 3 + border.color: Qt.darker(control.palette.light) + border.width: 1 + } + } + } + + Overlay.modal: Rectangle { + color: Fusion.topShadow + } + + Overlay.modeless: Rectangle { + color: Fusion.topShadow + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/ColorDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/ColorDialog.qml new file mode 100644 index 000000000..fb2bfd259 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/ColorDialog.qml @@ -0,0 +1,273 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +ColorDialogImpl { + id: control + + // Can't set implicitWidth of the NinePatchImage background, so we do it here. + implicitWidth: Math.max(200, + implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(600, + implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + standardButtons: T.Dialog.Ok | T.Dialog.Cancel + + isHsl: true + + ColorDialogImpl.eyeDropperButton: eyeDropperButton + ColorDialogImpl.buttonBox: buttonBox + ColorDialogImpl.colorPicker: colorPicker + ColorDialogImpl.alphaSlider: alphaSlider + ColorDialogImpl.colorInputs: inputs + + background: NinePatchImage { + source: Imagine.url + "dialog-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + header: RowLayout { + Label { + text: control.title + elide: Label.ElideRight + font.bold: true + font.pixelSize: 16 + leftPadding: 16 + rightPadding: 16 + topPadding: 16 + bottomPadding: 16 + + Layout.preferredWidth: control.title.length > 0 ? implicitWidth : 0 + } + + Button { + id: eyeDropperButton + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/eye-dropper.png" + flat: true + topPadding: 16 + bottomPadding: 16 + visible: false + + Layout.alignment: Qt.AlignRight + Layout.rightMargin: 16 + } + } + + contentItem: ColumnLayout { + SaturationLightnessPicker { + id: colorPicker + objectName: "colorPicker" + color: control.color + + Layout.fillWidth: true + Layout.fillHeight: true + } + + Slider { + id: hueSlider + objectName: "hueSlider" + orientation: Qt.Horizontal + value: control.hue + onMoved: function() { control.hue = value; } + + Layout.fillWidth: true + Layout.leftMargin: 16 + Layout.rightMargin: 16 + + handle: PickerHandle { + x: hueSlider.leftPadding + (hueSlider.horizontal + ? hueSlider.visualPosition * (hueSlider.availableWidth - width) + : (hueSlider.availableWidth - width) / 2) + y: hueSlider.topPadding + (hueSlider.horizontal + ? (hueSlider.availableHeight - height) / 2 + : hueSlider.visualPosition * (hueSlider.availableHeight - height)) + picker: hueSlider + } + + implicitHeight: 20 + + background: Rectangle { + anchors.fill: parent + anchors.leftMargin: hueSlider.handle.width / 2 + anchors.rightMargin: hueSlider.handle.width / 2 + border.width: 2 + border.color: control.palette.dark + radius: 10 + color: "transparent" + Rectangle { + anchors.fill: parent + anchors.margins: 4 + radius: 10 + gradient: HueGradient { + orientation: Gradient.Horizontal + } + } + } + } + + Slider { + id: alphaSlider + objectName: "alphaSlider" + orientation: Qt.Horizontal + value: control.alpha + implicitHeight: 20 + handle: PickerHandle { + x: alphaSlider.leftPadding + (alphaSlider.horizontal + ? alphaSlider.visualPosition * (alphaSlider.availableWidth - width) + : (alphaSlider.availableWidth - width) / 2) + y: alphaSlider.topPadding + (alphaSlider.horizontal + ? (alphaSlider.availableHeight - height) / 2 + : alphaSlider.visualPosition * (alphaSlider.availableHeight - height)) + picker: alphaSlider + } + background: Rectangle { + anchors.fill: parent + anchors.leftMargin: parent.handle.width / 2 + anchors.rightMargin: parent.handle.width / 2 + border.width: 2 + border.color: control.palette.dark + radius: 10 + color: "transparent" + + Image { + anchors.fill: alphaSliderGradient + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/checkers.png" + fillMode: Image.Tile + } + + Rectangle { + id: alphaSliderGradient + anchors.fill: parent + anchors.margins: 4 + radius: 10 + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { + position: 0 + color: "transparent" + } + GradientStop { + position: 1 + color: Qt.rgba(control.color.r, + control.color.g, + control.color.b, + 1) + } + } + } + } + + Layout.fillWidth: true + Layout.leftMargin: 16 + Layout.rightMargin: 16 + } + + ColorInputs { + id: inputs + + color: control.color + + Layout.fillWidth: true + Layout.leftMargin: 16 + Layout.rightMargin: 16 + Layout.bottomMargin: 16 + } + } + + footer: RowLayout { + spacing: 20 + + Label { + text: qsTr("Color") + + Layout.leftMargin: 16 + Layout.bottomMargin: 16 + } + + Rectangle { + implicitWidth: 32 + implicitHeight: 32 + border.width: 2 + border.color: control.palette.dark + color: "transparent" + + Image { + anchors.fill: parent + anchors.margins: 4 + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/checkers.png" + fillMode: Image.Tile + } + + Rectangle { + anchors.fill: parent + anchors.margins: 4 + color: control.color + } + + Layout.bottomMargin: 16 + } + + Item { + // empty filler + Layout.fillWidth: true + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + + Layout.bottomMargin: 16 + Layout.rightMargin: 16 + Layout.alignment: Qt.AlignRight + } + } + + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FileDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FileDialog.qml new file mode 100644 index 000000000..8568be710 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FileDialog.qml @@ -0,0 +1,213 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import Qt.labs.folderlistmodel +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts + +import "." as DialogsImpl + +FileDialogImpl { + id: control + + // Can't set implicitWidth of the NinePatchImage background, so we do it here. + implicitWidth: Math.max(600, + implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(400, + implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + standardButtons: T.Dialog.Open | T.Dialog.Cancel + + Dialog { + id: overwriteConfirmationDialog + objectName: "confirmationDialog" + anchors.centerIn: parent + closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent + dim: true + modal: true + spacing: 12 + title: qsTr("“%1” already exists. Do you want to replace it?").arg(control.fileName) + + Label { + anchors.horizontalCenter: parent.horizontalCenter + text: qsTr("A file with the same name already exists in %1.\nReplacing it will overwrite its current contents.").arg(control.currentFolderName) + horizontalAlignment: Text.AlignHCenter + } + + footer: DialogButtonBox { + standardButtons: DialogButtonBox.Yes | DialogButtonBox.No + } + } + + FileDialogImpl.buttonBox: buttonBox + FileDialogImpl.nameFiltersComboBox: nameFiltersComboBox + FileDialogImpl.fileDialogListView: fileDialogListView + FileDialogImpl.breadcrumbBar: breadcrumbBar + FileDialogImpl.fileNameLabel: fileNameLabel + FileDialogImpl.fileNameTextField: fileNameTextField + FileDialogImpl.overwriteConfirmationDialog: overwriteConfirmationDialog + + background: NinePatchImage { + source: Imagine.url + "dialog-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + header: ColumnLayout { + spacing: 12 + + Label { + text: control.title + elide: Label.ElideRight + font.bold: true + + Layout.leftMargin: 16 + Layout.rightMargin: 16 + Layout.topMargin: 12 + Layout.fillWidth: true + Layout.preferredHeight: control.title.length > 0 ? implicitHeight : 0 + + background: NinePatchImage { + width: parent.width + height: parent.height + + source: Imagine.url + "dialog-title" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + } + + DialogsImpl.FolderBreadcrumbBar { + id: breadcrumbBar + dialog: control + + Layout.leftMargin: 16 + Layout.rightMargin: 16 + Layout.fillWidth: true + Layout.maximumWidth: parent.width - 28 + } + } + + contentItem: ListView { + id: fileDialogListView + objectName: "fileDialogListView" + clip: true + boundsBehavior: Flickable.StopAtBounds + + ScrollBar.vertical: ScrollBar {} + + model: FolderListModel { + folder: control.currentFolder + nameFilters: control.selectedNameFilter.globs + showDirsFirst: PlatformTheme.themeHint(PlatformTheme.ShowDirectoriesFirst) + sortCaseSensitive: false + } + delegate: DialogsImpl.FileDialogDelegate { + objectName: "fileDialogDelegate" + index + width: ListView.view.width + highlighted: ListView.isCurrentItem + dialog: control + fileDetailRowWidth: nameFiltersComboBox.width + + KeyNavigation.backtab: breadcrumbBar + KeyNavigation.tab: fileNameTextField.visible ? fileNameTextField : nameFiltersComboBox + } + } + + footer: GridLayout { + columnSpacing: 20 + columns: 3 + + Label { + id: fileNameLabel + text: qsTr("File name") + visible: false + + Layout.leftMargin: 16 + } + + TextField { + id: fileNameTextField + objectName: "fileNameTextField" + visible: false + + Layout.fillWidth: true + } + + Label { + text: qsTr("Filter") + + Layout.column: 0 + Layout.row: 1 + Layout.leftMargin: 16 + Layout.bottomMargin: 16 + } + + ComboBox { + id: nameFiltersComboBox + model: control.nameFilters + + Layout.fillWidth: true + Layout.bottomMargin: 16 + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + + Layout.row: 1 + Layout.column: 2 + Layout.columnSpan: 1 + Layout.bottomMargin: 16 + Layout.rightMargin: 16 + } + } + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FileDialogDelegate.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FileDialogDelegate.qml new file mode 100644 index 000000000..88c6f99d1 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FileDialogDelegate.qml @@ -0,0 +1,67 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick.Controls +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl +import QtQuick.Controls.impl as ControlsImpl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FileDialogDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + file: fileUrl + + icon.width: 16 + icon.height: 16 + icon.color: highlighted ? palette.highlightedText : palette.text + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/" + + (fileIsDir ? "folder" : "file") + "-icon-round.png" + + required property int index + required property string fileName + required property url fileUrl + required property string fileSize + required property date fileModified + required property bool fileIsDir + + required property int fileDetailRowWidth + + contentItem: FileDialogDelegateLabel { + delegate: control + fileDetailRowTextColor: control.icon.color + fileDetailRowWidth: control.fileDetailRowWidth + } + + background: NinePatchImage { + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/imagine/filedialogdelegate-background" + NinePatchImageSelector on source { + states: [ + { "disabled": !control.enabled }, + { "pressed": control.down }, + { "focused": control.visualFocus }, + { "highlighted": control.highlighted }, + { "mirrored": control.mirrored }, + { "hovered": control.enabled && control.hovered } + ] + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderBreadcrumbBar.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderBreadcrumbBar.qml new file mode 100644 index 000000000..8becba510 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderBreadcrumbBar.qml @@ -0,0 +1,58 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FolderBreadcrumbBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + (upButton ? upButton.implicitWidth + upButtonSpacing : 0) + + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + upButtonSpacing: 20 + padding: 1 + + background: Rectangle {} + contentItem: ListView { + currentIndex: control.currentIndex + model: control.contentModel + orientation: ListView.Horizontal + snapMode: ListView.SnapToItem + highlightMoveDuration: 0 + interactive: false + clip: true + } + buttonDelegate: Button { + id: buttonDelegateRoot + text: folderName + flat: true + + required property int index + required property string folderName + } + separatorDelegate: IconImage { + id: iconImage + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/crumb-separator-icon-round.png" + sourceSize: Qt.size(8, 8) + width: 8 + height: control.contentItem.height + y: (control.height - height) / 2 + } + upButton: ToolButton { + x: control.leftPadding + y: control.topPadding + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/up-icon-thick-square.png" + icon.width: 16 + icon.height: 16 + focusPolicy: Qt.TabFocus + } + textField: TextField { + text: (control.dialog as DialogsQuickImpl.FileDialogImpl)?.selectedFile + ?? (control.dialog as DialogsQuickImpl.FolderDialogImpl).currentFolder + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderDialog.qml new file mode 100644 index 000000000..d0af142af --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderDialog.qml @@ -0,0 +1,141 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import Qt.labs.folderlistmodel +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts + +import "." as DialogsImpl + +FolderDialogImpl { + id: control + + // Can't set implicitWidth of the NinePatchImage background, so we do it here. + implicitWidth: Math.max(600, + implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(400, + implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + standardButtons: T.Dialog.Open | T.Dialog.Cancel + + FolderDialogImpl.folderDialogListView: folderDialogListView + FolderDialogImpl.breadcrumbBar: breadcrumbBar + + background: NinePatchImage { + source: Imagine.url + "dialog-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + header: ColumnLayout { + spacing: 12 + + Label { + text: control.title + elide: Label.ElideRight + font.bold: true + + Layout.leftMargin: 16 + Layout.rightMargin: 16 + Layout.topMargin: 12 + Layout.fillWidth: true + Layout.preferredHeight: control.title.length > 0 ? implicitHeight : 0 + + background: NinePatchImage { + width: parent.width + height: parent.height + + source: Imagine.url + "dialog-title" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + } + + DialogsImpl.FolderBreadcrumbBar { + id: breadcrumbBar + dialog: control + + Layout.leftMargin: 16 + Layout.rightMargin: 16 + Layout.fillWidth: true + Layout.maximumWidth: parent.width - 28 + } + } + + contentItem: ListView { + id: folderDialogListView + objectName: "folderDialogListView" + clip: true + boundsBehavior: Flickable.StopAtBounds + + ScrollBar.vertical: ScrollBar {} + + model: FolderListModel { + folder: control.currentFolder + showFiles: false + sortCaseSensitive: false + } + delegate: DialogsImpl.FolderDialogDelegate { + objectName: "folderDialogDelegate" + index + width: ListView.view.width + highlighted: ListView.isCurrentItem + dialog: control + } + } + + footer: DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + leftPadding: 16 + rightPadding: 16 + bottomPadding: 16 + } + + T.Overlay.modal: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + T.Overlay.modeless: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderDialogDelegate.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderDialogDelegate.qml new file mode 100644 index 000000000..64195c725 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderDialogDelegate.qml @@ -0,0 +1,61 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick.Controls +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl +import QtQuick.Controls.impl as ControlsImpl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FileDialogDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + file: fileUrl + + icon.width: 16 + icon.height: 16 + icon.color: highlighted ? palette.highlightedText : palette.text + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/folder-icon-round.png" + + required property int index + required property string fileName + required property url fileUrl + required property date fileModified + + contentItem: FolderDialogDelegateLabel { + delegate: control + fileDetailRowTextColor: Qt.lighter(control.icon.color) + } + + background: NinePatchImage { + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/imagine/filedialogdelegate-background" + NinePatchImageSelector on source { + states: [ + { "disabled": !control.enabled }, + { "pressed": control.down }, + { "focused": control.visualFocus }, + { "highlighted": control.highlighted }, + { "mirrored": control.mirrored }, + { "hovered": control.enabled && control.hovered } + ] + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FontDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FontDialog.qml new file mode 100644 index 000000000..87660b87b --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FontDialog.qml @@ -0,0 +1,134 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +FontDialogImpl { + id: control + + // Can't set implicitWidth of the NinePatchImage background, so we do it here. + implicitWidth: Math.max(600, + implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(400, + implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + standardButtons: T.Dialog.Ok | T.Dialog.Cancel + + FontDialogImpl.buttonBox: buttonBox + FontDialogImpl.familyListView: content.familyListView + FontDialogImpl.styleListView: content.styleListView + FontDialogImpl.sizeListView: content.sizeListView + FontDialogImpl.sampleEdit: content.sampleEdit + FontDialogImpl.writingSystemComboBox: writingSystemComboBox + FontDialogImpl.underlineCheckBox: content.underline + FontDialogImpl.strikeoutCheckBox: content.strikeout + FontDialogImpl.familyEdit: content.familyEdit + FontDialogImpl.styleEdit: content.styleEdit + FontDialogImpl.sizeEdit: content.sizeEdit + + background: NinePatchImage { + source: Imagine.url + "dialog-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + Overlay.modal: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + Overlay.modeless: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } + + header: Label { + text: control.title + elide: Label.ElideRight + font.bold: true + + leftPadding: 16 + rightPadding: 16 + topPadding: 12 + visible: control.title.length > 0 + + background: NinePatchImage { + width: parent.width + height: parent.height + + source: Imagine.url + "dialog-title" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + } + + contentItem: FontDialogContent { + id: content + rowSpacing: 16 + } + + footer: RowLayout { + id: rowLayout + spacing: 20 + + Label { + text: qsTr("Writing System") + Layout.leftMargin: 16 + Layout.bottomMargin: 16 + } + ComboBox{ + id: writingSystemComboBox + + Layout.fillWidth: true + Layout.bottomMargin: 16 + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + Layout.rightMargin: 16 + Layout.bottomMargin: 16 + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/MessageDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/MessageDialog.qml new file mode 100644 index 000000000..9ec3a550d --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/MessageDialog.qml @@ -0,0 +1,163 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.Imagine +import QtQuick.Controls.Imagine.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts + +MessageDialogImpl { + id: control + + // Can't set implicitWidth of the NinePatchImage background, so we do it here. + implicitWidth: Math.max(320, + implicitBackgroundWidth + leftInset + rightInset, + implicitHeaderWidth, + rowLayout.implicitWidth) + implicitHeight: Math.max(160, + implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + topPadding: background ? background.topPadding : 0 + leftPadding: background ? background.leftPadding : 0 + rightPadding: background ? background.rightPadding : 0 + bottomPadding: background ? background.bottomPadding : 0 + + topInset: background ? -background.topInset || 0 : 0 + leftInset: background ? -background.leftInset || 0 : 0 + rightInset: background ? -background.rightInset || 0 : 0 + bottomInset: background ? -background.bottomInset || 0 : 0 + + MessageDialogImpl.buttonBox: buttonBox + MessageDialogImpl.detailedTextButton: detailedTextButton + + background: NinePatchImage { + source: Imagine.url + "dialog-background" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + + header: Label { + text: control.title + elide: Label.ElideRight + font.bold: true + + leftPadding: 16 + rightPadding: 16 + topPadding: 12 + visible: control.title.length > 0 + + background: NinePatchImage { + width: parent.width + height: parent.height + + source: Imagine.url + "dialog-title" + NinePatchImageSelector on source { + states: [ + {"modal": control.modal}, + {"dim": control.dim} + ] + } + } + } + + contentItem: Column { + padding: 8 + spacing: 16 + + Label { + id: textLabel + objectName: "textLabel" + text: control.text + visible: text.length > 0 + wrapMode: Text.Wrap + width: parent.width - parent.leftPadding - parent.rightPadding + } + Label { + id: informativeTextLabel + objectName: "informativeTextLabel" + text: control.informativeText + visible: text.length > 0 + wrapMode: Text.Wrap + width: parent.width - parent.leftPadding - parent.rightPadding + } + } + + footer: ColumnLayout { + id: columnLayout + + RowLayout { + id: rowLayout + spacing: 12 + + Layout.leftMargin: 16 + Layout.rightMargin: 16 + Layout.bottomMargin: 16 + + Button { + id: detailedTextButton + objectName: "detailedTextButton" + text: control.showDetailedText ? qsTr("Hide Details...") : qsTr("Show Details...") + } + + DialogButtonBox { + id: buttonBox + objectName: "buttonBox" + spacing: 12 + padding: 0 + + Layout.fillWidth: true + } + } + + TextArea { + id: detailedTextArea + objectName: "detailedText" + text: control.detailedText + visible: control.showDetailedText + wrapMode: TextEdit.WordWrap + readOnly: true + + padding: 12 + + Layout.fillWidth: true + Layout.leftMargin: 16 + Layout.rightMargin: 16 + Layout.bottomMargin: 16 + + background: Rectangle { + color: Qt.rgba(1,1,1,1) + radius: 3 + border.color: Qt.darker(control.palette.light) + border.width: 1 + } + } + } + + Overlay.modal: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": true} + ] + } + } + + Overlay.modeless: NinePatchImage { + source: Imagine.url + "dialog-overlay" + NinePatchImageSelector on source { + states: [ + {"modal": false} + ] + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/ColorDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/ColorDialog.qml new file mode 100644 index 000000000..7fff2702b --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/ColorDialog.qml @@ -0,0 +1,249 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +ColorDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + leftPadding: 0 + rightPadding: 0 + + standardButtons: T.Dialog.Ok | T.Dialog.Cancel + + isHsl: true + + ColorDialogImpl.eyeDropperButton: eyeDropperButton + ColorDialogImpl.buttonBox: buttonBox + ColorDialogImpl.colorPicker: colorPicker + ColorDialogImpl.alphaSlider: alphaSlider + ColorDialogImpl.colorInputs: inputs + + Material.elevation: 24 + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 560 + radius: 2 + color: control.Material.dialogColor + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } + + header: RowLayout { + Label { + text: control.title + elide: Label.ElideRight + font.bold: true + font.pixelSize: 16 + leftPadding: 24 + rightPadding: 24 + topPadding: 24 + bottomPadding: 24 + + Layout.preferredWidth: control.title.length > 0 ? implicitWidth : 0 + } + + Button { + id: eyeDropperButton + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/eye-dropper.png" + flat: true + topPadding: 24 + bottomPadding: 24 + visible: false + + Layout.alignment: Qt.AlignRight + Layout.rightMargin: 24 + } + } + + contentItem: ColumnLayout { + spacing: 12 + SaturationLightnessPicker { + id: colorPicker + objectName: "colorPicker" + color: control.color + + Layout.fillWidth: true + Layout.fillHeight: true + } + + Slider { + id: hueSlider + objectName: "hueSlider" + orientation: Qt.Horizontal + value: control.hue + implicitHeight: 20 + onMoved: function() { control.hue = value; } + handle: PickerHandle { + x: hueSlider.leftPadding + (hueSlider.horizontal + ? hueSlider.visualPosition * (hueSlider.availableWidth - width) + : (hueSlider.availableWidth - width) / 2) + y: hueSlider.topPadding + (hueSlider.horizontal + ? (hueSlider.availableHeight - height) / 2 + : hueSlider.visualPosition * (hueSlider.availableHeight - height)) + picker: hueSlider + } + background: Rectangle { + anchors.fill: parent + anchors.leftMargin: hueSlider.handle.width / 2 + anchors.rightMargin: hueSlider.handle.width / 2 + border.width: 2 + border.color: control.palette.dark + radius: 10 + color: "transparent" + Rectangle { + anchors.fill: parent + anchors.margins: 4 + radius: 10 + gradient: HueGradient { + orientation: Gradient.Horizontal + } + } + } + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + } + + Slider { + id: alphaSlider + objectName: "alphaSlider" + orientation: Qt.Horizontal + value: control.alpha + implicitHeight: 20 + handle: PickerHandle { + x: alphaSlider.leftPadding + (alphaSlider.horizontal + ? alphaSlider.visualPosition * (alphaSlider.availableWidth - width) + : (alphaSlider.availableWidth - width) / 2) + y: alphaSlider.topPadding + (alphaSlider.horizontal + ? (alphaSlider.availableHeight - height) / 2 + : alphaSlider.visualPosition * (alphaSlider.availableHeight - height)) + picker: alphaSlider + } + background: Rectangle { + anchors.fill: parent + anchors.leftMargin: parent.handle.width / 2 + anchors.rightMargin: parent.handle.width / 2 + border.width: 2 + border.color: control.palette.dark + radius: 10 + color: "transparent" + + Image { + anchors.fill: alphaSliderGradient + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/checkers.png" + fillMode: Image.Tile + } + + Rectangle { + id: alphaSliderGradient + anchors.fill: parent + anchors.margins: 4 + radius: 10 + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { + position: 0 + color: "transparent" + } + GradientStop { + position: 1 + color: Qt.rgba(control.color.r, + control.color.g, + control.color.b, + 1) + } + } + } + } + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + } + + ColorInputs { + id: inputs + + color: control.color + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + Layout.bottomMargin: 12 + } + } + + footer: RowLayout { + spacing: 20 + + Label { + text: qsTr("Color") + + Layout.leftMargin: 20 + } + + Rectangle { + implicitWidth: 32 + implicitHeight: 32 + border.width: 2 + border.color: control.palette.dark + color: "transparent" + + Image { + anchors.fill: parent + anchors.margins: 4 + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/checkers.png" + fillMode: Image.Tile + } + + Rectangle { + anchors.fill: parent + anchors.margins: 4 + color: control.color + } + } + + Item { + Layout.fillWidth: true + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + horizontalPadding: 0 + + Layout.rightMargin: 20 + Layout.alignment: Qt.AlignRight + } + } + + Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FileDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FileDialog.qml new file mode 100644 index 000000000..9700aeba7 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FileDialog.qml @@ -0,0 +1,190 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import Qt.labs.folderlistmodel +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +import "." as DialogsImpl + +FileDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + leftPadding: 24 + rightPadding: 24 + + standardButtons: T.Dialog.Open | T.Dialog.Cancel + + Material.elevation: 24 + + Dialog { + id: overwriteConfirmationDialog + objectName: "confirmationDialog" + anchors.centerIn: parent + closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent + dim: true + modal: true + title: qsTr("“%1” already exists. Do you want to replace it?").arg(control.fileName) + + Label { + text: qsTr("A file with the same name already exists in %1.\nReplacing it will overwrite its current contents.").arg(control.currentFolderName) + } + + footer: DialogButtonBox { + alignment: Qt.AlignHCenter + standardButtons: DialogButtonBox.Yes | DialogButtonBox.No + } + } + + FileDialogImpl.buttonBox: buttonBox + FileDialogImpl.nameFiltersComboBox: nameFiltersComboBox + FileDialogImpl.fileDialogListView: fileDialogListView + FileDialogImpl.breadcrumbBar: breadcrumbBar + FileDialogImpl.fileNameLabel: fileNameLabel + FileDialogImpl.fileNameTextField: fileNameTextField + FileDialogImpl.overwriteConfirmationDialog: overwriteConfirmationDialog + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + radius: 2 + color: control.Material.dialogColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } + + header: ColumnLayout { + spacing: 12 + + Label { + text: control.title + visible: control.title.length > 0 + elide: Label.ElideRight + font.bold: true + font.pixelSize: 16 + + Layout.leftMargin: 24 + Layout.rightMargin: 24 + Layout.topMargin: 24 + Layout.fillWidth: true + } + + DialogsImpl.FolderBreadcrumbBar { + id: breadcrumbBar + dialog: control + + Layout.leftMargin: 24 + Layout.rightMargin: 24 + Layout.fillWidth: true + Layout.maximumWidth: parent.width - 48 + } + } + + contentItem: ListView { + id: fileDialogListView + objectName: "fileDialogListView" + clip: true + + ScrollBar.vertical: ScrollBar {} + + model: FolderListModel { + folder: control.currentFolder + nameFilters: control.selectedNameFilter.globs + showDirsFirst: PlatformTheme.themeHint(PlatformTheme.ShowDirectoriesFirst) + sortCaseSensitive: false + } + delegate: DialogsImpl.FileDialogDelegate { + objectName: "fileDialogDelegate" + index + width: ListView.view.width + highlighted: ListView.isCurrentItem + dialog: control + fileDetailRowWidth: nameFiltersComboBox.width + + KeyNavigation.backtab: breadcrumbBar + KeyNavigation.tab: fileNameTextField.visible ? fileNameTextField : nameFiltersComboBox + } + } + + footer: GridLayout { + columnSpacing: 20 + columns: 3 + + Label { + id: fileNameLabel + text: qsTr("File name") + visible: false + + Layout.topMargin: 12 + Layout.leftMargin: 20 + } + + TextField { + id: fileNameTextField + objectName: "fileNameTextField" + visible: false + + Layout.topMargin: 12 + Layout.fillWidth: true + } + + Label { + text: qsTr("Filter") + + Layout.row: 1 + Layout.topMargin: fileNameTextField.visible ? 0 : 12 + Layout.leftMargin: 20 + } + + ComboBox { + id: nameFiltersComboBox + model: control.nameFilters + flat: true + + verticalPadding: 0 + topInset: 0 + bottomInset: 0 + Layout.topMargin: fileNameTextField.visible ? 0 : 12 + Layout.fillWidth: true + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + padding: 0 + topInset: 0 + bottomInset: 0 + + Layout.row: 1 + Layout.column: 2 + Layout.topMargin: fileNameTextField.visible ? 0 : 12 + Layout.rightMargin: 20 + } + } + + Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FileDialogDelegate.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FileDialogDelegate.qml new file mode 100644 index 000000000..ff06ea8d4 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FileDialogDelegate.qml @@ -0,0 +1,62 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FileDialogDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 8 + spacing: 16 + + icon.width: 16 + icon.height: 16 + icon.color: enabled ? Material.foreground : Material.hintTextColor + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/" + + (fileIsDir ? "folder" : "file") + "-icon-square.png" + + file: fileUrl + + required property int index + required property string fileName + required property url fileUrl + required property string fileSize + required property date fileModified + required property bool fileIsDir + + required property int fileDetailRowWidth + + contentItem: FileDialogDelegateLabel { + delegate: control + fileDetailRowTextColor: control.Material.hintTextColor + fileDetailRowWidth: control.fileDetailRowWidth + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.highlighted ? Color.transparent(control.Material.accentColor, 0.08) : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.highlighted ? control.Material.highlightedRippleColor : control.Material.rippleColor + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderBreadcrumbBar.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderBreadcrumbBar.qml new file mode 100644 index 000000000..f04930440 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderBreadcrumbBar.qml @@ -0,0 +1,72 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FolderBreadcrumbBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + (upButton ? upButton.implicitWidth + upButtonSpacing : 0) + + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + upButtonSpacing: 20 + padding: 1 + + background: Rectangle { + color: control.Material.backgroundColor + } + contentItem: ListView { + currentIndex: control.currentIndex + model: control.contentModel + orientation: ListView.Horizontal + snapMode: ListView.SnapToItem + highlightMoveDuration: 0 + interactive: false + clip: true + } + buttonDelegate: Button { + id: buttonDelegateRoot + text: folderName + flat: true + font.capitalization: Font.MixedCase + + // The default of 100 is a bit too wide for short directory names. + Binding { + target: buttonDelegateRoot.background + property: "implicitWidth" + value: control.Material.buttonHeight + } + + required property int index + required property string folderName + } + separatorDelegate: IconImage { + id: iconImage + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/crumb-separator-icon-square.png" + sourceSize: Qt.size(8, 8) + // The image is 8x8, and add 2 px padding on each side. + width: 8 + 4 + height: control.contentItem.height + color: control.Material.hintTextColor + y: (control.height - height) / 2 + } + upButton: ToolButton { + x: control.leftPadding + y: control.topPadding + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/up-icon-thick-square.png" + icon.width: 16 + icon.height: 16 + width: height + focusPolicy: Qt.TabFocus + } + textField: TextField { + text: (control.dialog as DialogsQuickImpl.FileDialogImpl)?.selectedFile + ?? (control.dialog as DialogsQuickImpl.FolderDialogImpl).currentFolder + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderDialog.qml new file mode 100644 index 000000000..4e33a067f --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderDialog.qml @@ -0,0 +1,113 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import Qt.labs.folderlistmodel +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +import "." as DialogsImpl + +FolderDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + leftPadding: 24 + rightPadding: 24 + + standardButtons: T.Dialog.Open | T.Dialog.Cancel + + Material.elevation: 24 + + FolderDialogImpl.folderDialogListView: folderDialogListView + FolderDialogImpl.breadcrumbBar: breadcrumbBar + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + radius: 2 + color: control.Material.dialogColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } + + header: ColumnLayout { + spacing: 12 + + Label { + text: control.title + visible: control.title.length > 0 + elide: Label.ElideRight + font.bold: true + font.pixelSize: 16 + + Layout.leftMargin: 24 + Layout.rightMargin: 24 + Layout.topMargin: 24 + Layout.fillWidth: true + } + + DialogsImpl.FolderBreadcrumbBar { + id: breadcrumbBar + dialog: control + + Layout.leftMargin: 24 + Layout.rightMargin: 24 + Layout.fillWidth: true + Layout.maximumWidth: parent.width - 48 + } + } + + contentItem: ListView { + id: folderDialogListView + objectName: "folderDialogListView" + clip: true + + ScrollBar.vertical: ScrollBar {} + + model: FolderListModel { + folder: control.currentFolder + showFiles: false + sortCaseSensitive: false + } + delegate: DialogsImpl.FolderDialogDelegate { + objectName: "folderDialogDelegate" + index + width: ListView.view.width + highlighted: ListView.isCurrentItem + dialog: control + } + } + + footer: DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + leftPadding: 20 + rightPadding: 20 + verticalPadding: 20 + } + + Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderDialogDelegate.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderDialogDelegate.qml new file mode 100644 index 000000000..8b3e6af33 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderDialogDelegate.qml @@ -0,0 +1,56 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FileDialogDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 16 + verticalPadding: 8 + spacing: 16 + + icon.width: 16 + icon.height: 16 + icon.color: enabled ? Material.foreground : Material.hintTextColor + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/folder-icon-square.png" + + file: fileUrl + + required property int index + required property string fileName + required property url fileUrl + required property date fileModified + + contentItem: FolderDialogDelegateLabel { + delegate: control + fileDetailRowTextColor: control.Material.hintTextColor + } + + background: Rectangle { + implicitHeight: control.Material.delegateHeight + + color: control.highlighted ? Color.transparent(control.Material.accentColor, 0.08) : "transparent" + + Ripple { + width: parent.width + height: parent.height + + clip: visible + pressed: control.pressed + anchor: control + active: control.down || control.visualFocus || control.hovered + color: control.highlighted ? control.Material.highlightedRippleColor : control.Material.rippleColor + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FontDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FontDialog.qml new file mode 100644 index 000000000..2322a6542 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FontDialog.qml @@ -0,0 +1,109 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +FontDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + leftPadding: 24 + rightPadding: 24 + + standardButtons: T.Dialog.Ok | T.Dialog.Cancel + + Material.elevation: 24 + + FontDialogImpl.buttonBox: buttonBox + FontDialogImpl.familyListView: content.familyListView + FontDialogImpl.styleListView: content.styleListView + FontDialogImpl.sizeListView: content.sizeListView + FontDialogImpl.sampleEdit: content.sampleEdit + FontDialogImpl.writingSystemComboBox: writingSystemComboBox + FontDialogImpl.underlineCheckBox: content.underline + FontDialogImpl.strikeoutCheckBox: content.strikeout + FontDialogImpl.familyEdit: content.familyEdit + FontDialogImpl.styleEdit: content.styleEdit + FontDialogImpl.sizeEdit: content.sizeEdit + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + radius: 2 + color: control.Material.dialogColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } + + Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } + + header: Label { + text: control.title + visible: control.title.length > 0 + elide: Label.ElideRight + font.bold: true + font.pixelSize: 16 + + leftPadding: 24 + rightPadding: 24 + topPadding: 24 + bottomPadding: 24 + } + + contentItem: FontDialogContent { + id: content + familyEdit.bottomPadding: 8 + styleEdit.bottomPadding: 8 + sizeEdit.bottomPadding: 8 + } + + footer: RowLayout { + id: rowLayout + spacing: 20 + + Label { + text: qsTr("Writing System") + + Layout.leftMargin: 20 + } + ComboBox{ + id: writingSystemComboBox + + Layout.fillWidth: true + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + horizontalPadding: 0 + verticalPadding: 20 + + Layout.rightMargin: 20 + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/MessageDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/MessageDialog.qml new file mode 100644 index 000000000..a678503d6 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/MessageDialog.qml @@ -0,0 +1,135 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.Material +import QtQuick.Controls.Material.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts + +MessageDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + rowLayout.implicitWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + leftPadding: 24 + rightPadding: 24 + + Material.elevation: 24 + + MessageDialogImpl.buttonBox: buttonBox + MessageDialogImpl.detailedTextButton: detailedTextButton + + background: Rectangle { + implicitWidth: 320 + implicitHeight: 160 + radius: 2 + color: control.Material.dialogColor + + layer.enabled: control.Material.elevation > 0 + layer.effect: ElevationEffect { + elevation: control.Material.elevation + } + } + + header: Label { + text: control.title + visible: control.title.length > 0 + elide: Label.ElideRight + font.bold: true + font.pixelSize: 16 + + leftPadding: 24 + rightPadding: 24 + topPadding: 24 + bottomPadding: 24 + } + + contentItem: Column { + spacing: 24 + + Label { + id: textLabel + objectName: "textLabel" + text: control.text + visible: text.length > 0 + wrapMode: Text.Wrap + width: parent.width - parent.leftPadding - parent.rightPadding + } + + Label { + id: informativeTextLabel + objectName: "informativeTextLabel" + text: control.informativeText + visible: text.length > 0 + wrapMode: Text.Wrap + width: parent.width - parent.leftPadding - parent.rightPadding + } + } + + footer: ColumnLayout { + id: columnLayout + + RowLayout { + id: rowLayout + + Button { + id: detailedTextButton + objectName: "detailedTextButton" + text: control.showDetailedText ? qsTr("Hide Details...") : qsTr("Show Details...") + + Layout.leftMargin: 20 + } + + DialogButtonBox { + id: buttonBox + objectName: "buttonBox" + spacing: 12 + horizontalPadding: 0 + verticalPadding: 20 + + Layout.fillWidth: true + Layout.leftMargin: detailedTextButton.visible ? 12 : 20 + Layout.rightMargin: 20 + } + } + + TextArea { + id: detailedTextArea + objectName: "detailedText" + text: control.detailedText + visible: control.showDetailedText + wrapMode: TextEdit.WordWrap + readOnly: true + padding: 12 + + Layout.fillWidth: true + Layout.leftMargin: 20 + Layout.rightMargin: 20 + Layout.bottomMargin: 20 + + background: Rectangle { + color: Qt.rgba(1,1,1,1) + radius: 3 + border.color: Qt.darker(control.palette.light) + border.width: 1 + } + } + } + + Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/ColorDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/ColorDialog.qml new file mode 100644 index 000000000..fff97131f --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/ColorDialog.qml @@ -0,0 +1,257 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Universal +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +ColorDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 24 + verticalPadding: 18 + + standardButtons: T.Dialog.Ok | T.Dialog.Cancel + + isHsl: true + + ColorDialogImpl.eyeDropperButton: eyeDropperButton + ColorDialogImpl.buttonBox: buttonBox + ColorDialogImpl.colorPicker: colorPicker + ColorDialogImpl.alphaSlider: alphaSlider + ColorDialogImpl.colorInputs: inputs + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 600 + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + header: RowLayout { + spacing: 12 + + Label { + text: control.title + elide: Label.ElideRight + // TODO: QPlatformTheme::TitleBarFont + font.pixelSize: 20 + background: Rectangle { + x: 1; y: 1 // // FlyoutBorderThemeThickness + color: control.Universal.chromeMediumLowColor + width: parent.width - 2 + height: parent.height - 1 + } + + Layout.topMargin: 24 + Layout.bottomMargin: 24 + Layout.leftMargin: 18 + Layout.fillWidth: true + Layout.preferredWidth: control.title.length > 0 ? implicitHeight : 0 + } + + Button { + id: eyeDropperButton + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/eye-dropper.png" + flat: true + topPadding: 24 + bottomPadding: 24 + visible: false + + Layout.alignment: Qt.AlignRight + Layout.rightMargin: 18 + } + } + + contentItem: ColumnLayout { + spacing: 12 + SaturationLightnessPicker { + id: colorPicker + objectName: "colorPicker" + color: control.color + + Layout.fillWidth: true + Layout.fillHeight: true + } + + Slider { + id: hueSlider + objectName: "hueSlider" + orientation: Qt.Horizontal + value: control.hue + implicitHeight: 20 + onMoved: function() { control.hue = value; } + handle: PickerHandle { + x: hueSlider.leftPadding + (hueSlider.horizontal + ? hueSlider.visualPosition * (hueSlider.availableWidth - width) + : (hueSlider.availableWidth - width) / 2) + y: hueSlider.topPadding + (hueSlider.horizontal + ? (hueSlider.availableHeight - height) / 2 + : hueSlider.visualPosition * (hueSlider.availableHeight - height)) + picker: hueSlider + } + background: Rectangle { + anchors.fill: parent + anchors.leftMargin: hueSlider.handle.width / 2 + anchors.rightMargin: hueSlider.handle.width / 2 + border.width: 2 + border.color: control.palette.dark + radius: 10 + color: "transparent" + Rectangle { + anchors.fill: parent + anchors.margins: 4 + radius: 10 + gradient: HueGradient { + orientation: Gradient.Horizontal + } + } + } + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + } + + Slider { + id: alphaSlider + objectName: "alphaSlider" + orientation: Qt.Horizontal + value: control.alpha + implicitHeight: 20 + handle: PickerHandle { + x: alphaSlider.leftPadding + (alphaSlider.horizontal + ? alphaSlider.visualPosition * (alphaSlider.availableWidth - width) + : (alphaSlider.availableWidth - width) / 2) + y: alphaSlider.topPadding + (alphaSlider.horizontal + ? (alphaSlider.availableHeight - height) / 2 + : alphaSlider.visualPosition * (alphaSlider.availableHeight - height)) + picker: alphaSlider + } + background: Rectangle { + anchors.fill: parent + anchors.leftMargin: parent.handle.width / 2 + anchors.rightMargin: parent.handle.width / 2 + border.width: 2 + border.color: control.palette.dark + radius: 10 + color: "transparent" + + Image { + anchors.fill: alphaSliderGradient + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/checkers.png" + fillMode: Image.Tile + } + + Rectangle { + id: alphaSliderGradient + anchors.fill: parent + anchors.margins: 4 + radius: 10 + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { + position: 0 + color: "transparent" + } + GradientStop { + position: 1 + color: Qt.rgba(control.color.r, + control.color.g, + control.color.b, + 1) + } + } + } + } + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + } + + ColorInputs { + id: inputs + + color: control.color + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + Layout.bottomMargin: 12 + } + } + + footer: RowLayout { + spacing: 24 + + Label { + text: qsTr("Color") + + Layout.topMargin: 6 + Layout.leftMargin: 24 + Layout.bottomMargin: 24 + } + + Rectangle { + implicitWidth: 56 + implicitHeight: 36 + border.width: 2 + border.color: control.palette.dark + color: "transparent" + + Image { + anchors.fill: parent + anchors.margins: 6 + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/checkers.png" + fillMode: Image.Tile + } + + Rectangle { + anchors.fill: parent + anchors.margins: 6 + color: control.color + } + + Layout.topMargin: 6 + Layout.bottomMargin: 24 + } + + Item { + Layout.fillWidth: true + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + horizontalPadding: 0 + + Layout.rightMargin: 24 + Layout.alignment: Qt.AlignRight + } + } + + Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FileDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FileDialog.qml new file mode 100644 index 000000000..0d2db8b42 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FileDialog.qml @@ -0,0 +1,186 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import Qt.labs.folderlistmodel +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Universal +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +import "." as DialogsImpl + +FileDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 24 + verticalPadding: 18 + + standardButtons: T.Dialog.Open | T.Dialog.Cancel + + Dialog { + id: overwriteConfirmationDialog + objectName: "confirmationDialog" + anchors.centerIn: parent + closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent + dim: true + modal: true + title: qsTr("“%1” already exists. Do you want to replace it?").arg(control.fileName) + + Label { + text: qsTr("A file with the same name already exists in %1.\nReplacing it will overwrite its current contents.").arg(control.currentFolderName) + } + + footer: DialogButtonBox { + standardButtons: DialogButtonBox.Yes | DialogButtonBox.No + } + + Overlay.modal: Rectangle { + color: overwriteConfirmationDialog.Universal.baseMediumColor + } + } + + FileDialogImpl.buttonBox: buttonBox + FileDialogImpl.nameFiltersComboBox: nameFiltersComboBox + FileDialogImpl.fileDialogListView: fileDialogListView + FileDialogImpl.breadcrumbBar: breadcrumbBar + FileDialogImpl.fileNameLabel: fileNameLabel + FileDialogImpl.fileNameTextField: fileNameTextField + FileDialogImpl.overwriteConfirmationDialog: overwriteConfirmationDialog + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + header: ColumnLayout { + spacing: 12 + + Label { + text: control.title + elide: Label.ElideRight + // TODO: QPlatformTheme::TitleBarFont + font.pixelSize: 20 + + Layout.leftMargin: 24 + Layout.rightMargin: 24 + Layout.topMargin: 18 + Layout.fillWidth: true + Layout.preferredHeight: control.title.length > 0 ? implicitHeight : 0 + + background: Rectangle { + x: 1; y: 1 // // FlyoutBorderThemeThickness + color: control.Universal.chromeMediumLowColor + width: parent.width - 2 + height: parent.height - 1 + } + } + + DialogsImpl.FolderBreadcrumbBar { + id: breadcrumbBar + dialog: control + + Layout.leftMargin: 24 + Layout.rightMargin: 24 + Layout.fillWidth: true + Layout.maximumWidth: parent.width - 48 + } + } + + contentItem: ListView { + id: fileDialogListView + objectName: "fileDialogListView" + clip: true + boundsBehavior: Flickable.StopAtBounds + + ScrollBar.vertical: ScrollBar {} + + model: FolderListModel { + folder: control.currentFolder + nameFilters: control.selectedNameFilter.globs + showDirsFirst: PlatformTheme.themeHint(PlatformTheme.ShowDirectoriesFirst) + sortCaseSensitive: false + } + delegate: DialogsImpl.FileDialogDelegate { + objectName: "fileDialogDelegate" + index + width: ListView.view.width + highlighted: ListView.isCurrentItem + dialog: control + fileDetailRowWidth: nameFiltersComboBox.width + + KeyNavigation.backtab: breadcrumbBar + KeyNavigation.tab: fileNameTextField.visible ? fileNameTextField : nameFiltersComboBox + } + } + + footer: GridLayout { + columnSpacing: 24 + columns: 3 + + Label { + id: fileNameLabel + text: qsTr("File name") + visible: false + + Layout.leftMargin: 24 + } + + TextField { + id: fileNameTextField + objectName: "fileNameTextField" + visible: false + + Layout.fillWidth: true + } + + Label { + text: qsTr("Filter") + + Layout.row: 1 + Layout.column: 0 + Layout.leftMargin: 24 + Layout.bottomMargin: 24 + } + + ComboBox { + id: nameFiltersComboBox + model: control.nameFilters + + Layout.fillWidth: true + Layout.topMargin: 6 + Layout.bottomMargin: 24 + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + horizontalPadding: 0 + + Layout.rightMargin: 24 + } + } + + T.Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + T.Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FileDialogDelegate.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FileDialogDelegate.qml new file mode 100644 index 000000000..92c16f406 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FileDialogDelegate.qml @@ -0,0 +1,60 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Controls.Universal +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FileDialogDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/" + + (fileIsDir ? "folder" : "file") + "-icon-square.png" + + file: fileUrl + + required property int index + required property string fileName + required property url fileUrl + required property string fileSize + required property date fileModified + required property bool fileIsDir + + required property int fileDetailRowWidth + + contentItem: FileDialogDelegateLabel { + delegate: control + fileDetailRowTextColor: control.icon.color + fileDetailRowWidth: control.fileDetailRowWidth + } + + background: Rectangle { + visible: control.down || control.highlighted || control.visualFocus || control.hovered + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderBreadcrumbBar.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderBreadcrumbBar.qml new file mode 100644 index 000000000..4e730c7d0 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderBreadcrumbBar.qml @@ -0,0 +1,70 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Universal +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FolderBreadcrumbBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + (upButton ? upButton.implicitWidth + upButtonSpacing : 0) + + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + upButtonSpacing: 20 + padding: 1 + + background: Rectangle { + color: control.Universal.background + } + contentItem: ListView { + currentIndex: control.currentIndex + model: control.contentModel + orientation: ListView.Horizontal + snapMode: ListView.SnapToItem + highlightMoveDuration: 0 + interactive: false + clip: true + } + buttonDelegate: ToolButton { + id: buttonDelegateRoot + text: folderName + + // The default is a bit too wide for short directory names. + Binding { + target: buttonDelegateRoot.background + property: "implicitWidth" + value: 48 + } + + required property int index + required property string folderName + } + separatorDelegate: IconImage { + id: iconImage + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/crumb-separator-icon-square.png" + sourceSize: Qt.size(8, 8) + // The image is 8x8, and add 2 px padding on each side. + width: 8 + 4 + height: control.contentItem.height + color: Color.transparent(control.Universal.foreground, enabled ? 1.0 : 0.2) + y: (control.height - height) / 2 + } + upButton: ToolButton { + x: control.leftPadding + y: control.topPadding + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/up-icon-square.png" + icon.width: 16 + icon.height: 16 + width: height + focusPolicy: Qt.TabFocus + } + textField: TextField { + text: (control.dialog as DialogsQuickImpl.FileDialogImpl)?.selectedFile + ?? (control.dialog as DialogsQuickImpl.FolderDialogImpl).currentFolder + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderDialog.qml new file mode 100644 index 000000000..9ae0a50d2 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderDialog.qml @@ -0,0 +1,119 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import Qt.labs.folderlistmodel +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Universal +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +import "." as DialogsImpl + +FolderDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 24 + verticalPadding: 18 + + standardButtons: T.Dialog.Open | T.Dialog.Cancel + + FolderDialogImpl.folderDialogListView: folderDialogListView + FolderDialogImpl.breadcrumbBar: breadcrumbBar + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + header: ColumnLayout { + spacing: 12 + + Label { + text: control.title + elide: Label.ElideRight + // TODO: QPlatformTheme::TitleBarFont + font.pixelSize: 20 + + Layout.leftMargin: 24 + Layout.rightMargin: 24 + Layout.topMargin: 18 + Layout.fillWidth: true + Layout.preferredHeight: control.title.length > 0 ? implicitHeight : 0 + + background: Rectangle { + // FlyoutBorderThemeThickness + x: 1 + y: 1 + color: control.Universal.chromeMediumLowColor + width: parent.width - 2 + height: parent.height - 1 + } + } + + DialogsImpl.FolderBreadcrumbBar { + id: breadcrumbBar + dialog: control + + Layout.leftMargin: 24 + Layout.rightMargin: 24 + Layout.preferredWidth: 400 + Layout.fillWidth: true + } + } + + contentItem: ListView { + id: folderDialogListView + objectName: "folderDialogListView" + clip: true + boundsBehavior: Flickable.StopAtBounds + + ScrollBar.vertical: ScrollBar {} + + model: FolderListModel { + folder: control.currentFolder + showFiles: false + sortCaseSensitive: false + } + delegate: DialogsImpl.FolderDialogDelegate { + objectName: "folderDialogDelegate" + index + width: ListView.view.width + highlighted: ListView.isCurrentItem + dialog: control + } + } + + footer: DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + leftPadding: 24 + rightPadding: 24 + topPadding: 6 + bottomPadding: 24 + alignment: Qt.AlignRight + } + + T.Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + T.Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderDialogDelegate.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderDialogDelegate.qml new file mode 100644 index 000000000..97da6d739 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderDialogDelegate.qml @@ -0,0 +1,54 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls.impl +import QtQuick.Controls.Universal +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FileDialogDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: 12 + + padding: 12 + topPadding: padding - 1 + bottomPadding: padding + 1 + + icon.width: 20 + icon.height: 20 + icon.color: Color.transparent(Universal.foreground, enabled ? 1.0 : 0.2) + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/folder-icon-square.png" + + file: fileUrl + + required property int index + required property string fileName + required property url fileUrl + required property date fileModified + + contentItem: FolderDialogDelegateLabel { + delegate: control + fileDetailRowTextColor: control.Universal.baseMediumColor + } + + background: Rectangle { + visible: control.down || control.highlighted || control.visualFocus || control.hovered + color: control.down ? control.Universal.listMediumColor : + control.hovered ? control.Universal.listLowColor : control.Universal.altMediumLowColor + + Rectangle { + width: parent.width + height: parent.height + visible: control.visualFocus || control.highlighted + color: control.Universal.accent + opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FontDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FontDialog.qml new file mode 100644 index 000000000..aa9f38c5e --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FontDialog.qml @@ -0,0 +1,111 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Controls.Universal +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +FontDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 24 + verticalPadding: 18 + + standardButtons: T.Dialog.Ok | T.Dialog.Cancel + + FontDialogImpl.buttonBox: buttonBox + FontDialogImpl.familyListView: content.familyListView + FontDialogImpl.styleListView: content.styleListView + FontDialogImpl.sizeListView: content.sizeListView + FontDialogImpl.sampleEdit: content.sampleEdit + FontDialogImpl.writingSystemComboBox: writingSystemComboBox + FontDialogImpl.underlineCheckBox: content.underline + FontDialogImpl.strikeoutCheckBox: content.strikeout + FontDialogImpl.familyEdit: content.familyEdit + FontDialogImpl.styleEdit: content.styleEdit + FontDialogImpl.sizeEdit: content.sizeEdit + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + header: Label { + text: control.title + elide: Label.ElideRight + // TODO: QPlatformTheme::TitleBarFont + font.pixelSize: 20 + + leftPadding: 24 + rightPadding: 24 + topPadding: 18 + height: control.title.length > 0 ? implicitHeight : 0 + + background: Rectangle { + x: 1; y: 1 // // FlyoutBorderThemeThickness + color: control.Universal.chromeMediumLowColor + width: parent.width - 2 + height: parent.height - 1 + } + } + + contentItem: FontDialogContent { + id: content + rowSpacing: 12 + } + + footer: RowLayout { + id: rowLayout + spacing: 24 + + Label { + text: qsTr("Writing System") + + Layout.leftMargin: 24 + Layout.topMargin: 6 + Layout.bottomMargin: 24 + } + ComboBox{ + id: writingSystemComboBox + + Layout.fillWidth: true + Layout.topMargin: 6 + Layout.bottomMargin: 24 + + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + spacing: 12 + horizontalPadding: 0 + + Layout.rightMargin: 24 + } + } + + Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/MessageDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/MessageDialog.qml new file mode 100644 index 000000000..ac63d281d --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/MessageDialog.qml @@ -0,0 +1,133 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.Universal +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts + +MessageDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHeaderWidth, + rowLayout.implicitWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + padding: 24 + verticalPadding: 18 + + MessageDialogImpl.buttonBox: buttonBox + MessageDialogImpl.detailedTextButton: detailedTextButton + + background: Rectangle { + implicitWidth: 320 + implicitHeight: 160 + color: control.Universal.chromeMediumLowColor + border.color: control.Universal.chromeHighColor + border.width: 1 // FlyoutBorderThemeThickness + } + + header: Label { + text: control.title + elide: Label.ElideRight + // TODO: QPlatformTheme::TitleBarFont + font.pixelSize: 20 + visible: control.title.length > 0 + + leftPadding: 24 + rightPadding: 24 + topPadding: 18 + + background: Rectangle { + x: 1; y: 1 // // FlyoutBorderThemeThickness + color: control.Universal.chromeMediumLowColor + width: parent.width - 2 + height: parent.height - 1 + } + } + + contentItem: Column { + spacing: 24 + + Label { + id: textLabel + objectName: "textLabel" + text: control.text + visible: text.length > 0 + wrapMode: Text.Wrap + width: parent.width + } + + Label { + id: informativeTextLabel + objectName: "informativeTextLabel" + text: control.informativeText + visible: text.length > 0 + wrapMode: Text.Wrap + width: parent.width + } + } + + footer: ColumnLayout { + id: columnLayout + + RowLayout { + id: rowLayout + spacing: 12 + + Layout.margins: 20 + + Button { + id: detailedTextButton + objectName: "detailedTextButton" + text: control.showDetailedText ? qsTr("Hide Details...") : qsTr("Show Details...") + } + + DialogButtonBox { + id: buttonBox + objectName: "buttonBox" + spacing: 12 + horizontalPadding: 0 + topPadding: 0 + bottomPadding: 0 + + Layout.fillWidth: true + } + } + + TextArea { + id: detailedTextArea + objectName: "detailedText" + text: control.detailedText + visible: control.showDetailedText + wrapMode: TextEdit.WordWrap + readOnly: true + + Layout.fillWidth: true + Layout.leftMargin: 20 + Layout.rightMargin: 20 + Layout.bottomMargin: 20 + + background: Rectangle { + color: Qt.rgba(1,1,1,1) + radius: 3 + border.color: Qt.darker(control.palette.light) + border.width: 1 + } + } + } + + Overlay.modal: Rectangle { + color: control.Universal.baseLowColor + } + + Overlay.modeless: Rectangle { + color: control.Universal.baseLowColor + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/ColorDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/ColorDialog.qml new file mode 100644 index 000000000..4a3cf955b --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/ColorDialog.qml @@ -0,0 +1,261 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +ColorDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + leftPadding: 6 + rightPadding: 6 + + // Ensure that the background's border is visible. + leftInset: -1 + rightInset: -1 + topInset: -1 + bottomInset: -1 + + standardButtons: T.Dialog.Ok | T.Dialog.Cancel + + isHsl: true + + ColorDialogImpl.eyeDropperButton: eyeDropperButton + ColorDialogImpl.buttonBox: buttonBox + ColorDialogImpl.colorPicker: colorPicker + ColorDialogImpl.colorInputs: inputs + ColorDialogImpl.alphaSlider: alphaSlider + + background: Rectangle { + implicitWidth: 200 + implicitHeight: 600 + color: control.palette.window + border.color: control.palette.dark + } + + header: Pane { + palette.window: control.palette.light + padding: 20 + + contentItem: RowLayout { + Label { + objectName: "titleLabel" + text: control.title + elide: Label.ElideRight + font.bold: true + + Layout.preferredWidth: control.title.length > 0 ? implicitWidth : 0 + Layout.leftMargin: 12 + Layout.alignment: Qt.AlignLeft + } + Button { + id: eyeDropperButton + objectName: "eyeDropperButton" + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/eye-dropper.png" + flat: true + visible: false + + Layout.preferredWidth: implicitHeight + Layout.alignment: Qt.AlignRight + Layout.rightMargin: 6 + } + } + } + + contentItem: ColumnLayout { + spacing: 12 + SaturationLightnessPicker { + id: colorPicker + objectName: "colorPicker" + color: control.color + + Layout.fillWidth: true + Layout.fillHeight: true + } + + Slider { + id: hueSlider + objectName: "hueSlider" + orientation: Qt.Horizontal + value: control.hue + implicitHeight: 20 + onMoved: function() { control.hue = value; } + handle: PickerHandle { + x: hueSlider.leftPadding + (hueSlider.horizontal + ? hueSlider.visualPosition * (hueSlider.availableWidth - width) + : (hueSlider.availableWidth - width) / 2) + y: hueSlider.topPadding + (hueSlider.horizontal + ? (hueSlider.availableHeight - height) / 2 + : hueSlider.visualPosition * (hueSlider.availableHeight - height)) + picker: hueSlider + } + background: Rectangle { + anchors.fill: parent + anchors.leftMargin: hueSlider.handle.width / 2 + anchors.rightMargin: hueSlider.handle.width / 2 + border.width: 2 + border.color: control.palette.dark + radius: 10 + color: "transparent" + Rectangle { + anchors.fill: parent + anchors.margins: 4 + radius: 10 + gradient: HueGradient { + orientation: Gradient.Horizontal + } + } + } + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + } + + Slider { + id: alphaSlider + objectName: "alphaSlider" + orientation: Qt.Horizontal + value: control.alpha + implicitHeight: 20 + handle: PickerHandle { + x: alphaSlider.leftPadding + (alphaSlider.horizontal + ? alphaSlider.visualPosition * (alphaSlider.availableWidth - width) + : (alphaSlider.availableWidth - width) / 2) + y: alphaSlider.topPadding + (alphaSlider.horizontal + ? (alphaSlider.availableHeight - height) / 2 + : alphaSlider.visualPosition * (alphaSlider.availableHeight - height)) + picker: alphaSlider + } + background: Rectangle { + anchors.fill: parent + anchors.leftMargin: parent.handle.width / 2 + anchors.rightMargin: parent.handle.width / 2 + border.width: 2 + border.color: control.palette.dark + radius: 10 + color: "transparent" + + Image { + anchors.fill: alphaSliderGradient + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/checkers.png" + fillMode: Image.Tile + } + + Rectangle { + id: alphaSliderGradient + anchors.fill: parent + anchors.margins: 4 + radius: 10 + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { + position: 0 + color: "transparent" + } + GradientStop { + position: 1 + color: Qt.rgba(control.color.r, + control.color.g, + control.color.b, + 1) + } + } + } + } + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + } + + ColorInputs { + id: inputs + + color: control.color + + Layout.fillWidth: true + Layout.leftMargin: 12 + Layout.rightMargin: 12 + Layout.bottomMargin: 12 + } + } + + footer: Rectangle { + color: control.palette.light + implicitWidth: rowLayout.implicitWidth + implicitHeight: rowLayout.implicitHeight + + RowLayout { + id: rowLayout + width: parent.width + height: parent.height + spacing: 20 + + Label { + text: qsTr("Color") + + Layout.leftMargin: 20 + } + + Rectangle { + implicitWidth: 32 + implicitHeight: 32 + border.width: 2 + border.color: control.palette.dark + color: "transparent" + + Image { + anchors.fill: parent + anchors.margins: 4 + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/checkers.png" + fillMode: Image.Tile + } + + Rectangle { + anchors.fill: parent + anchors.margins: 4 + color: control.color + } + } + + Item { + // empty space filler + Layout.fillWidth: true + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + palette.window: control.palette.light + spacing: 12 + horizontalPadding: 0 + verticalPadding: 20 + + Layout.rightMargin: 20 + } + } + } + + Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/ColorInputs.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/ColorInputs.qml new file mode 100644 index 000000000..8fc0e0df0 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/ColorInputs.qml @@ -0,0 +1,260 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts +import QtQuick.Dialogs.quickimpl + +ColorInputsImpl { + id: root + + hexInput: hex + redInput: rgbRed + greenInput: rgbGreen + blueInput: rgbBlue + rgbAlphaInput: rgbAlpha + hsvHueInput: hsvHue + hsvSaturationInput: hsvSaturation + valueInput: hsvValue + hsvAlphaInput: hsvAlpha + hslHueInput: hslHue + hslSaturationInput: hslSaturation + lightnessInput: hslLightness + hslAlphaInput: hslAlpha + + implicitWidth: content.implicitWidth + implicitHeight: content.implicitHeight + + TextMetrics { + id: fourM + text: "MMMM" + font: colorSystemComboBox.font + } + + RowLayout { + id: content + anchors.fill: parent + spacing: 12 + + ComboBox { + id: colorSystemComboBox + objectName: "colorSystemComboBox" + editable: false + flat: true + background.implicitWidth: 0 + implicitContentWidthPolicy: ComboBox.WidestTextWhenCompleted + implicitWidth: implicitContentWidth + leftPadding + rightPadding // Workaround QTBUG-106098 + model: ListModel { + ListElement { + name: qsTr("Hex") + } + ListElement { + name: qsTr("RGB") + } + ListElement { + name: qsTr("HSV") + } + ListElement { + name: qsTr("HSL") + } + } + } + + StackLayout { + objectName: "colorParameters" + currentIndex: colorSystemComboBox.currentIndex + + Layout.fillWidth: true + + TextField { + id: hex + horizontalAlignment: Qt.AlignLeft + text: root.color + maximumLength: 9 + validator: RegularExpressionValidator { + regularExpression: root.showAlpha ? /^#[0-9A-f]{6}(?:[0-9A-f]{2})?$/ : /^#[0-9A-f]{6}$/ + } + Layout.fillWidth: true + } + + // TODO: QTBUG-106246 + // Using RowLayout as the root type should work here, but doesn't: + // when ShowAlphaChannel is true, switching from hex to rgba causes a + // jump in the StackLayout's implicitWidth. + Item { + implicitWidth: rgbRed.implicitWidth + rgbGreen.implicitWidth + rgbBlue.implicitWidth + rgbAlpha.implicitWidth + implicitHeight: Math.max(rgbRed.implicitHeight, rgbGreen.implicitHeight, rgbBlue.implicitHeight, rgbAlpha.implicitHeight) + + RowLayout { + width: parent.implicitWidth + TextField { + id: rgbRed + objectName: "rgbRed" + horizontalAlignment: Qt.AlignHCenter + text: root.red + maximumLength: 3 + validator: IntValidator { + bottom: 0 + top: 999 + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + TextField { + id: rgbGreen + objectName: "rgbGreen" + horizontalAlignment: Qt.AlignHCenter + text: root.green + maximumLength: 3 + validator: IntValidator { + bottom: 0 + top: 999 + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + TextField { + id: rgbBlue + objectName: "rgbBlue" + horizontalAlignment: Qt.AlignHCenter + text: root.blue + maximumLength: 3 + validator: IntValidator { + bottom: 0 + top: 999 + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + TextField { + id: rgbAlpha + objectName: "rgbAlpha" + horizontalAlignment: Qt.AlignHCenter + text: Math.round(root.alpha * 100).toString() + "%" + maximumLength: 4 + validator: RegularExpressionValidator { + regularExpression: /^[0-9]{0,3}%?$/ + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + } + } + + Item { + implicitWidth: hsvHue.implicitWidth + hsvSaturation.implicitWidth + hsvValue.implicitWidth + hsvAlpha.implicitWidth + implicitHeight: Math.max(hsvHue.implicitHeight, hsvSaturation.implicitHeight, hsvValue.implicitHeight, hsvAlpha.implicitHeight) + + RowLayout { + width: parent.implicitWidth + TextField { + id: hsvHue + objectName: "hsvHue" + horizontalAlignment: Qt.AlignHCenter + text: Math.round(root.hue * 360).toString() + "°" + maximumLength: 4 + validator: RegularExpressionValidator { + regularExpression: /^[0-9]{0,3}°?$/ + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + TextField { + id: hsvSaturation + objectName: "hsvSaturation" + horizontalAlignment: Qt.AlignHCenter + text: Math.round(root.hsvSaturation * 100).toString() + "%" + maximumLength: 4 + validator: RegularExpressionValidator { + regularExpression: /^[0-9]{0,3}%?$/ + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + TextField { + id: hsvValue + objectName: "hsvValue" + horizontalAlignment: Qt.AlignHCenter + text: Math.round(root.value * 100).toString() + "%" + maximumLength: 4 + validator: RegularExpressionValidator { + regularExpression: /^[0-9]{0,3}%?$/ + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + TextField { + id: hsvAlpha + objectName: "hsvAlpha" + horizontalAlignment: Qt.AlignHCenter + text: Math.round(root.alpha * 100).toString() + "%" + maximumLength: 4 + validator: RegularExpressionValidator { + regularExpression: /^[0-9]{0,3}%?$/ + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + } + } + Item { + implicitWidth: hslHue.implicitWidth + hsvSaturation.implicitWidth + hslLightness.implicitWidth + hslAlpha.implicitWidth + implicitHeight: Math.max(hslHue.implicitHeight, hsvSaturation.implicitHeight, hslLightness.implicitHeight, hslAlpha.implicitHeight) + + RowLayout { + width: parent.implicitWidth + + TextField { + id: hslHue + objectName: "hslHue" + horizontalAlignment: Qt.AlignHCenter + text: Math.round(root.hue * 360).toString() + "°" + maximumLength: 4 + validator: RegularExpressionValidator { + regularExpression: /^[0-9]{0,3}°?$/ + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + TextField { + id: hslSaturation + objectName: "hslSaturation" + horizontalAlignment: Qt.AlignHCenter + text: Math.round(root.hslSaturation * 100).toString() + "%" + maximumLength: 4 + validator: RegularExpressionValidator { + regularExpression: /^[0-9]{0,3}%?$/ + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + TextField { + id: hslLightness + objectName: "hslLightness" + horizontalAlignment: Qt.AlignHCenter + text: Math.round(root.lightness * 100).toString() + "%" + maximumLength: 4 + validator: RegularExpressionValidator { + regularExpression: /^[0-9]{0,3}%?$/ + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + TextField { + id: hslAlpha + objectName: "hslAlpha" + horizontalAlignment: Qt.AlignHCenter + text: Math.round(root.alpha * 100).toString() + "%" + maximumLength: 4 + validator: RegularExpressionValidator { + regularExpression: /^[0-9]{0,3}%?$/ + } + implicitWidth: fourM.width + leftPadding + rightPadding + Layout.fillWidth: true + } + } + } + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialog.qml new file mode 100644 index 000000000..defb7dd4e --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialog.qml @@ -0,0 +1,200 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import Qt.labs.folderlistmodel +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +import "." as DialogsImpl + +FileDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + leftPadding: 20 + rightPadding: 20 + // Ensure that the background's border is visible. + leftInset: -1 + rightInset: -1 + topInset: -1 + bottomInset: -1 + + standardButtons: T.Dialog.Open | T.Dialog.Cancel + + Dialog { + id: overwriteConfirmationDialog + objectName: "confirmationDialog" + anchors.centerIn: parent + closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent + dim: true + modal: true + title: qsTr("“%1” already exists. Do you want to replace it?").arg(control.fileName) + + Label { + text: qsTr("A file with the same name already exists in %1.\nReplacing it will overwrite its current contents.").arg(control.currentFolderName) + } + + footer: DialogButtonBox { + alignment: Qt.AlignHCenter + standardButtons: DialogButtonBox.Yes | DialogButtonBox.No + } + } + + /* + We use attached properties because we want to handle logic in C++, and: + - We can't assume the footer only contains a DialogButtonBox (which would allow us + to connect up to it in QQuickFileDialogImpl); it also needs to hold a ComboBox + and therefore the root footer item will be e.g. a layout item instead. + - We don't want to create our own "FileDialogButtonBox" (in order to be able to handle the logic + in C++) because we'd need to copy (and hence duplicate code in) DialogButtonBox.qml. + */ + FileDialogImpl.buttonBox: buttonBox + FileDialogImpl.nameFiltersComboBox: nameFiltersComboBox + FileDialogImpl.fileDialogListView: fileDialogListView + FileDialogImpl.breadcrumbBar: breadcrumbBar + FileDialogImpl.fileNameLabel: fileNameLabel + FileDialogImpl.fileNameTextField: fileNameTextField + FileDialogImpl.overwriteConfirmationDialog: overwriteConfirmationDialog + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + color: control.palette.window + border.color: control.palette.dark + } + + header: Pane { + palette.window: control.palette.light + padding: 20 + + contentItem: Column { + spacing: 12 + + Label { + objectName: "dialogTitleBarLabel" + width: parent.width + text: control.title + visible: control.title.length > 0 + horizontalAlignment: Label.AlignHCenter + elide: Label.ElideRight + font.bold: true + } + + DialogsImpl.FolderBreadcrumbBar { + id: breadcrumbBar + width: parent.width + dialog: control + + KeyNavigation.tab: fileDialogListView + } + } + } + + contentItem: ListView { + id: fileDialogListView + objectName: "fileDialogListView" + clip: true + focus: true + boundsBehavior: Flickable.StopAtBounds + + ScrollBar.vertical: ScrollBar {} + + model: FolderListModel { + folder: control.currentFolder + nameFilters: control.selectedNameFilter.globs + showDirsFirst: PlatformTheme.themeHint(PlatformTheme.ShowDirectoriesFirst) + sortCaseSensitive: false + } + delegate: DialogsImpl.FileDialogDelegate { + objectName: "fileDialogDelegate" + index + width: ListView.view.width + highlighted: ListView.isCurrentItem + dialog: control + fileDetailRowWidth: nameFiltersComboBox.width + + KeyNavigation.backtab: breadcrumbBar + KeyNavigation.tab: fileNameTextField.visible ? fileNameTextField : nameFiltersComboBox + } + } + + footer: Rectangle { + color: control.palette.light + implicitWidth: gridLayout.implicitWidth + implicitHeight: gridLayout.implicitHeight + 12 + + GridLayout { + // OK to use IDs here, since users shouldn't be overriding this stuff. + id: gridLayout + anchors.fill: parent + anchors.topMargin: 6 + anchors.bottomMargin: 6 + columnSpacing: 20 + columns: 3 + + Label { + id: fileNameLabel + text: qsTr("File name") + visible: false + + Layout.leftMargin: 20 + } + + TextField { + id: fileNameTextField + objectName: "fileNameTextField" + visible: false + + Layout.fillWidth: true + } + + Label { + text: qsTr("Filter") + + Layout.row: 1 + Layout.column: 0 + Layout.leftMargin: 20 + } + + ComboBox { + id: nameFiltersComboBox + model: control.nameFilters + verticalPadding: 0 + + Layout.fillWidth: true + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + palette.window: control.palette.light + spacing: 12 + padding: 0 + + Layout.row: 1 + Layout.column: 2 + Layout.rightMargin: 20 + } + } + } + + Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialogDelegate.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialogDelegate.qml new file mode 100644 index 000000000..6f62375a8 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialogDelegate.qml @@ -0,0 +1,56 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl as ControlsImpl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FileDialogDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 8 + topPadding: 0 + bottomPadding: 0 + + file: fileUrl + + icon.width: 16 + icon.height: 16 + icon.color: highlighted ? palette.highlightedText : palette.text + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/" + + (fileIsDir ? "folder" : "file") + "-icon-round.png" + + // We don't use index here, but in C++. Since we're using required + // properties, the index context property will not be injected, so we can't + // use its QQmlContext to access it. + required property int index + required property string fileName + required property url fileUrl + required property string fileSize + required property date fileModified + required property bool fileIsDir + + property int fileDetailRowWidth + + contentItem: FileDialogDelegateLabel { + delegate: control + fileDetailRowTextColor: control.icon.color + fileDetailRowWidth: control.fileDetailRowWidth + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: control.down || control.highlighted || control.visualFocus + color: Color.blend(control.down ? control.palette.midlight : control.palette.light, + control.palette.highlight, control.highlighted ? 0.15 : 0.0) + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialogDelegateLabel.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialogDelegateLabel.qml new file mode 100644 index 000000000..ac543e735 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialogDelegateLabel.qml @@ -0,0 +1,65 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +/* + Most of the elements in here are the same between styles, so we + have a reusable component for it and provide some properties to enable style-specific tweaks. +*/ +Item { + id: root + implicitWidth: column.implicitWidth + implicitHeight: column.implicitHeight + + required property DialogsQuickImpl.FileDialogDelegate delegate + required property int fileDetailRowWidth + + property color fileDetailRowTextColor + + Column { + id: column + y: (parent.height - height) / 2 + + Row { + spacing: root.delegate.spacing + + IconImage { + id: iconImage + source: root.delegate.icon.source + sourceSize: Qt.size(root.delegate.icon.width, root.delegate.icon.height) + width: root.delegate.icon.width + height: root.delegate.icon.height + color: root.delegate.icon.color + y: (parent.height - height) / 2 + } + Label { + text: root.delegate.fileName + color: root.delegate.icon.color + y: (parent.height - height) / 2 + } + } + + Item { + id: fileDetailRow + x: iconImage.width + root.delegate.spacing + width: fileDetailRowWidth - x - root.delegate.leftPadding + implicitHeight: childrenRect.height + + Label { + text: locale.formattedDataSize(root.delegate.fileSize) + font.pixelSize: root.delegate.font.pixelSize * 0.75 + color: root.fileDetailRowTextColor + } + Label { + text: Qt.formatDateTime(root.delegate.fileModified) + font.pixelSize: root.delegate.font.pixelSize * 0.75 + color: root.fileDetailRowTextColor + x: parent.width - width + } + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderBreadcrumbBar.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderBreadcrumbBar.qml new file mode 100644 index 000000000..1ee10dada --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderBreadcrumbBar.qml @@ -0,0 +1,69 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FolderBreadcrumbBar { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + (upButton ? upButton.implicitWidth + upButtonSpacing : 0) + + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + upButtonSpacing: 20 + padding: 1 + + background: Rectangle { + border.color: control.palette.button + } + contentItem: ListView { + currentIndex: control.currentIndex + model: control.contentModel + orientation: ListView.Horizontal + snapMode: ListView.SnapToItem + highlightMoveDuration: 0 + interactive: false + clip: true + } + buttonDelegate: Button { + id: buttonDelegateRoot + text: folderName + flat: true + + // The default of 100 is a bit too wide for short directory names. + Binding { + target: buttonDelegateRoot.background + property: "implicitWidth" + value: 40 + } + + required property int index + required property string folderName + } + separatorDelegate: IconImage { + id: iconImage + source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/crumb-separator-icon-round.png" + sourceSize: Qt.size(8, 8) + width: 8 + height: control.contentItem.height + color: control.palette.button + y: (control.height - height) / 2 + } + upButton: ToolButton { + x: control.leftPadding + y: control.topPadding + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/up-icon-round.png" + icon.width: 16 + icon.height: 16 + width: height + focusPolicy: Qt.TabFocus + } + textField: TextField { + text: (control.dialog as DialogsQuickImpl.FileDialogImpl)?.selectedFile + ?? (control.dialog as DialogsQuickImpl.FolderDialogImpl).currentFolder + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialog.qml new file mode 100644 index 000000000..7df617584 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialog.qml @@ -0,0 +1,114 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import Qt.labs.folderlistmodel +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +import "." as DialogsImpl + +FolderDialogImpl { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitHeaderWidth, + implicitFooterWidth) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding + + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) + + leftPadding: 20 + rightPadding: 20 + // Ensure that the background's border is visible. + leftInset: -1 + rightInset: -1 + topInset: -1 + bottomInset: -1 + + standardButtons: T.Dialog.Open | T.Dialog.Cancel + + FolderDialogImpl.folderDialogListView: folderDialogListView + FolderDialogImpl.breadcrumbBar: breadcrumbBar + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + color: control.palette.window + border.color: control.palette.dark + } + + header: Pane { + palette.window: control.palette.light + padding: 20 + + contentItem: Column { + spacing: 12 + + Label { + objectName: "dialogTitleBarLabel" + width: parent.width + text: control.title + visible: control.title.length > 0 + horizontalAlignment: Label.AlignHCenter + elide: Label.ElideRight + font.bold: true + } + + DialogsImpl.FolderBreadcrumbBar { + id: breadcrumbBar + width: parent.width + dialog: control + + KeyNavigation.tab: folderDialogListView + } + } + } + + contentItem: ListView { + id: folderDialogListView + objectName: "folderDialogListView" + clip: true + focus: true + boundsBehavior: Flickable.StopAtBounds + + ScrollBar.vertical: ScrollBar {} + + model: FolderListModel { + folder: control.currentFolder + showFiles: false + sortCaseSensitive: false + } + delegate: DialogsImpl.FolderDialogDelegate { + objectName: "folderDialogDelegate" + index + width: ListView.view.width + highlighted: ListView.isCurrentItem + dialog: control + + KeyNavigation.backtab: breadcrumbBar + KeyNavigation.tab: control.footer + } + } + + footer: DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + palette.window: control.palette.light + spacing: 12 + alignment: Qt.AlignRight + } + + Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialogDelegate.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialogDelegate.qml new file mode 100644 index 000000000..750a581a5 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialogDelegate.qml @@ -0,0 +1,50 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl as ControlsImpl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +DialogsQuickImpl.FileDialogDelegate { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + padding: 12 + spacing: 8 + topPadding: 0 + bottomPadding: 0 + + file: fileUrl + + icon.width: 16 + icon.height: 16 + icon.color: highlighted ? palette.highlightedText : palette.text + icon.source: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/images/folder-icon-round.png" + + // We don't use index here, but in C++. Since we're using required + // properties, the index context property will not be injected, so we can't + // use its QQmlContext to access it. + required property int index + required property string fileName + required property url fileUrl + required property date fileModified + + contentItem: FolderDialogDelegateLabel { + delegate: control + fileDetailRowTextColor: Qt.lighter(control.icon.color) + } + + background: Rectangle { + implicitWidth: 100 + implicitHeight: 40 + visible: control.down || control.highlighted || control.visualFocus + color: Color.blend(control.down ? control.palette.midlight : control.palette.light, + control.palette.highlight, control.highlighted ? 0.15 : 0.0) + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialogDelegateLabel.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialogDelegateLabel.qml new file mode 100644 index 000000000..ada6fdd63 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialogDelegateLabel.qml @@ -0,0 +1,52 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Dialogs.quickimpl as DialogsQuickImpl + +/* + Most of the elements in here are the same between styles, so we + have a reusable component for it and provide some properties to enable style-specific tweaks. +*/ +Item { + id: root + implicitWidth: column.implicitWidth + implicitHeight: column.implicitHeight + + required property DialogsQuickImpl.FileDialogDelegate delegate + + property color fileDetailRowTextColor + + Column { + id: column + y: (parent.height - height) / 2 + + Row { + spacing: root.delegate.spacing + + IconImage { + id: iconImage + source: root.delegate.icon.source + sourceSize: Qt.size(root.delegate.icon.width, root.delegate.icon.height) + width: root.delegate.icon.width + height: root.delegate.icon.height + color: root.delegate.icon.color + y: (parent.height - height) / 2 + } + Label { + text: root.delegate.fileName + color: root.delegate.icon.color + y: (parent.height - height) / 2 + } + } + + Label { + x: iconImage.width + root.delegate.spacing + text: Qt.formatDateTime(root.delegate.fileModified) + font.pixelSize: root.delegate.font.pixelSize * 0.75 + color: root.fileDetailRowTextColor + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/FontDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FontDialog.qml new file mode 100644 index 000000000..2643b88e3 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FontDialog.qml @@ -0,0 +1,115 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts +import QtQuick.Templates as T + +FontDialogImpl { + id: control + + implicitWidth: Math.max(control.implicitBackgroundWidth + control.leftInset + control.rightInset, + control.contentWidth + control.leftPadding + control.rightPadding, + control.implicitHeaderWidth, + control.implicitFooterWidth) + implicitHeight: Math.max(control.implicitBackgroundHeight + control.topInset + control.bottomInset, + control.contentHeight + control.topPadding + control.bottomPadding + + (control.implicitHeaderHeight > 0 ? control.implicitHeaderHeight + control.spacing : 0) + + (control.implicitFooterHeight > 0 ? control.implicitFooterHeight + control.spacing : 0)) + + leftPadding: 20 + rightPadding: 20 + // Ensure that the background's border is visible. + leftInset: -1 + rightInset: -1 + topInset: -1 + bottomInset: -1 + + spacing: 12 + + standardButtons: T.Dialog.Ok | T.Dialog.Cancel + + FontDialogImpl.buttonBox: buttonBox + FontDialogImpl.familyListView: content.familyListView + FontDialogImpl.styleListView: content.styleListView + FontDialogImpl.sizeListView: content.sizeListView + FontDialogImpl.sampleEdit: content.sampleEdit + FontDialogImpl.writingSystemComboBox: writingSystemComboBox + FontDialogImpl.underlineCheckBox: content.underline + FontDialogImpl.strikeoutCheckBox: content.strikeout + FontDialogImpl.familyEdit: content.familyEdit + FontDialogImpl.styleEdit: content.styleEdit + FontDialogImpl.sizeEdit: content.sizeEdit + + background: Rectangle { + implicitWidth: 600 + implicitHeight: 400 + color: control.palette.window + border.color: control.palette.dark + } + + Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } + + header: Pane { + palette.window: control.palette.light + padding: 20 + + contentItem: Label { + width: parent.width + text: control.title + visible: control.title.length > 0 + horizontalAlignment: Label.AlignHCenter + elide: Label.ElideRight + font.bold: true + } + } + + contentItem: FontDialogContent { + id: content + } + + footer: Rectangle { + color: control.palette.light + implicitWidth: rowLayout.implicitWidth + implicitHeight: rowLayout.implicitHeight + + RowLayout { + id: rowLayout + width: parent.width + height: parent.height + spacing: 20 + + Label { + text: qsTr("Writing System") + + Layout.leftMargin: 20 + } + ComboBox{ + id: writingSystemComboBox + + Layout.fillWidth: true + } + + DialogButtonBox { + id: buttonBox + standardButtons: control.standardButtons + palette.window: control.palette.light + spacing: 12 + horizontalPadding: 0 + verticalPadding: 20 + + Layout.rightMargin: 20 + } + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/FontDialogContent.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FontDialogContent.qml new file mode 100644 index 000000000..a2b4ae043 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/FontDialogContent.qml @@ -0,0 +1,234 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts + +GridLayout { + property alias familyListView: fontFamilyListView + property alias styleListView: fontStyleListView + property alias sizeListView: fontSizeListView + property alias sampleEdit: fontSample + property alias underline: fontUnderline + property alias strikeout: fontStrikeout + property alias familyEdit: fontFamilyEdit + property alias styleEdit: fontStyleEdit + property alias sizeEdit: fontSizeEdit + + columns: 3 + + ColumnLayout { + spacing: 0 + + Layout.preferredWidth: 50 + + Label { + text: qsTr("Family") + Layout.alignment: Qt.AlignLeft + } + TextField { + id: fontFamilyEdit + objectName: "familyEdit" + readOnly: true + Layout.fillWidth: true + focus: true + } + Frame { + Layout.fillWidth: true + Layout.fillHeight: true + background: Rectangle { + color: "white" + } + ListView { + id: fontFamilyListView + objectName: "familyListView" + implicitHeight: 200 + anchors.fill: parent + clip: true + + ScrollBar.vertical: ScrollBar { + policy: ScrollBar.AlwaysOn + } + + boundsBehavior: Flickable.StopAtBounds + + highlightMoveVelocity: -1 + highlightMoveDuration: 1 + highlightFollowsCurrentItem: true + keyNavigationEnabled: true + + delegate: ItemDelegate { + width: ListView.view.width + highlighted: ListView.isCurrentItem + onClicked: () => fontFamilyListView.currentIndex = index + text: modelData + } + } + } + } + + ColumnLayout { + spacing: 0 + + Layout.preferredWidth: 30 + + Label { + text: qsTr("Style") + Layout.alignment: Qt.AlignLeft + } + TextField { + id: fontStyleEdit + objectName: "styleEdit" + readOnly: true + Layout.fillWidth: true + } + Frame { + Layout.fillWidth: true + Layout.fillHeight: true + background: Rectangle { + color: "white" + } + ListView { + id: fontStyleListView + objectName: "styleListView" + implicitHeight: 200 + anchors.fill: parent + clip: true + + ScrollBar.vertical: ScrollBar {} + boundsBehavior: Flickable.StopAtBounds + + highlightMoveVelocity: -1 + highlightMoveDuration: 1 + highlightFollowsCurrentItem: true + keyNavigationEnabled: true + + delegate: ItemDelegate { + width: ListView.view.width + highlighted: ListView.isCurrentItem + onClicked: () => fontStyleListView.currentIndex = index + text: modelData + } + } + } + } + + ColumnLayout { + spacing: 0 + + Layout.preferredWidth: 20 + + Label { + text: qsTr("Size") + Layout.alignment: Qt.AlignLeft + } + TextField { + id: fontSizeEdit + objectName: "sizeEdit" + Layout.fillWidth: true + validator: IntValidator { + bottom: 1 + top: 512 + } + } + Frame { + Layout.fillWidth: true + Layout.fillHeight: true + + background: Rectangle { + color: "white" + } + ListView { + id: fontSizeListView + objectName: "sizeListView" + implicitHeight: 200 + anchors.fill: parent + clip: true + + ScrollBar.vertical: ScrollBar { + policy: ScrollBar.AlwaysOn + } + + boundsBehavior: Flickable.StopAtBounds + + highlightMoveVelocity: -1 + highlightMoveDuration: 1 + highlightFollowsCurrentItem: true + keyNavigationEnabled: true + + delegate: ItemDelegate { + width: ListView.view.width + highlighted: ListView.isCurrentItem + onClicked: () => fontSizeListView.currentIndex = index + text: modelData + } + } + } + } + + ColumnLayout { + Layout.preferredWidth: 80 + + GroupBox { + id: effectsGroupBox + title: qsTr("Effects") + + Layout.fillWidth: true + Layout.fillHeight: true + + label: Label { + anchors.left: effectsGroupBox.left + text: parent.title + } + + RowLayout { + anchors.fill: parent + CheckBox { + id: fontUnderline + objectName: "underlineEffect" + text: qsTr("Underline") + } + CheckBox{ + id: fontStrikeout + objectName: "strikeoutEffect" + text: qsTr("Strikeout") + } + } + } + } + + GroupBox { + id: sample + padding: label.implicitHeight + title: qsTr("Sample") + + Layout.fillWidth: true + Layout.preferredWidth: 80 + Layout.fillHeight: true + Layout.columnSpan: 2 + clip: true + + background: Rectangle { + y: sample.topPadding - sample.bottomPadding + width: sample.width - sample.leftPadding + sample.rightPadding + height: sample.height - sample.topPadding + sample.bottomPadding + radius: 3 + } + + label: Label { + anchors.left: sample.left + text: sample.title + } + + TextEdit { + id: fontSample + objectName: "sampleEdit" + anchors.centerIn: parent + readOnly: true + } + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/HueGradient.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/HueGradient.qml new file mode 100644 index 000000000..a32a336ba --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/HueGradient.qml @@ -0,0 +1,35 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick + +Gradient { + GradientStop { + position: 0 + color: "#ff0000" + } + GradientStop { + position: 0.166666 + color: "#ffff00" + } + GradientStop { + position: 0.333333 + color: "#00ff00" + } + GradientStop { + position: 0.5 + color: "#00ffff" + } + GradientStop { + position: 0.666666 + color: "#0000ff" + } + GradientStop { + position: 0.833333 + color: "#ff00ff" + } + GradientStop { + position: 1 + color: "#ff0000" + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml new file mode 100644 index 000000000..5dc7ee787 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml @@ -0,0 +1,136 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl +import QtQuick.Layouts + +MessageDialogImpl { + id: control + + implicitWidth: Math.max(control.implicitBackgroundWidth + control.leftInset + control.rightInset, + control.implicitHeaderWidth, + rowLayout.implicitWidth) + implicitHeight: Math.max(control.implicitBackgroundHeight + control.topInset + control.bottomInset, + control.contentHeight + control.topPadding + control.bottomPadding + + (control.implicitHeaderHeight > 0 ? control.implicitHeaderHeight + control.spacing : 0) + + (control.implicitFooterHeight > 0 ? control.implicitFooterHeight + control.spacing : 0)) + leftPadding: 20 + rightPadding: 20 + + // Ensure that the background's border is visible. + leftInset: -1 + rightInset: -1 + topInset: -1 + bottomInset: -1 + + spacing: 16 + + MessageDialogImpl.buttonBox: buttonBox + MessageDialogImpl.detailedTextButton: detailedTextButton + + background: Rectangle { + implicitWidth: 320 + implicitHeight: 160 + color: control.palette.window + border.color: control.palette.dark + } + + header: Pane { + palette.window: control.palette.light + padding: 20 + + contentItem: Label { + width: parent.width + text: control.title + visible: control.title.length > 0 + horizontalAlignment: Label.AlignHCenter + elide: Label.ElideRight + font.bold: true + } + } + + contentItem: Column { + padding: 10 + spacing: 16 + + Label { + id: textLabel + objectName: "textLabel" + text: control.text + visible: text.length > 0 + wrapMode: Text.Wrap + width: parent.width - parent.leftPadding - parent.rightPadding + + } + + Label { + id: informativeTextLabel + objectName: "informativeTextLabel" + text: control.informativeText + visible: text.length > 0 + wrapMode: Text.Wrap + width: parent.width - parent.leftPadding - parent.rightPadding + } + } + + footer: ColumnLayout { + id: columnLayout + + RowLayout { + id: rowLayout + spacing: 12 + + Layout.leftMargin: 20 + Layout.rightMargin: 20 + Layout.bottomMargin: 20 + + Button { + id: detailedTextButton + objectName: "detailedTextButton" + text: control.showDetailedText ? qsTr("Hide Details...") : qsTr("Show Details...") + padding: 0 + } + + DialogButtonBox { + id: buttonBox + objectName: "buttonBox" + spacing: 12 + padding: 0 + + Layout.fillWidth: true + } + } + + TextArea { + id: detailedTextArea + objectName: "detailedText" + text: control.detailedText + visible: control.showDetailedText + wrapMode: TextEdit.WordWrap + readOnly: true + + Layout.fillWidth: true + Layout.leftMargin: 20 + Layout.rightMargin: 20 + Layout.bottomMargin: 20 + + background: Rectangle { + color: Qt.rgba(1,1,1,1) + radius: 3 + border.color: Qt.darker(control.palette.light) + border.width: 1 + } + } + } + + Overlay.modal: Rectangle { + color: Color.transparent(control.palette.shadow, 0.5) + } + + Overlay.modeless: Rectangle { + color: Color.transparent(control.palette.shadow, 0.12) + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/PickerHandle.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/PickerHandle.qml new file mode 100644 index 000000000..cdea430c4 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/PickerHandle.qml @@ -0,0 +1,31 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T + +Rectangle { + id: root + implicitWidth: 16 + implicitHeight: 16 + radius: 8 + color: "transparent" + border.color: picker.visualFocus ? "#0066ff" : (picker.pressed ? "#36383a" : "#454647") + border.width: 1 + + required property T.Control picker + + property alias handleColor: circle.color + + Rectangle { + id: circle + x: 1 + y: 1 + width: 14 + height: 14 + radius: 7 + color: "transparent" + border.color: root.picker.visualFocus ? "#0066ff" : (root.picker.pressed ? "#86888a" : "#959697") + border.width: 1 + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qml/SaturationLightnessPicker.qml b/bin/qml/QtQuick/Dialogs/quickimpl/qml/SaturationLightnessPicker.qml new file mode 100644 index 000000000..6f4316a65 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qml/SaturationLightnessPicker.qml @@ -0,0 +1,38 @@ +// Copyright (C) 2022 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Dialogs +import QtQuick.Dialogs.quickimpl + +SaturationLightnessPickerImpl { + id: control + + implicitWidth: Math.max(background ? background.implicitWidth : 0, contentItem.implicitWidth) + implicitHeight: Math.max(background ? background.implicitHeight : 0, contentItem.implicitHeight) + + background: Rectangle { + anchors.fill: parent + color: control.visualFocus ? (control.pressed ? "#cce0ff" : "#f0f6ff") : (control.pressed ? "#d6d6d6" : "#f6f6f6") + border.color: "#353637" + } + + contentItem: ShaderEffect { + scale: contentItem.width / width + layer.enabled: true + layer.smooth: true + anchors.fill: parent + + property alias hue: control.hue + + fragmentShader: "qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/shaders/SaturationLightness.frag.qsb" + } + + handle: PickerHandle { + x: control.leftPadding + control.lightness * control.availableWidth - width / 2 + y: control.topPadding + (1.0 - control.saturation) * control.availableHeight - height / 2 + picker: control + handleColor: control.color + z: 1 + } +} diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qmldir b/bin/qml/QtQuick/Dialogs/quickimpl/qmldir new file mode 100644 index 000000000..85a331e30 --- /dev/null +++ b/bin/qml/QtQuick/Dialogs/quickimpl/qmldir @@ -0,0 +1,57 @@ +module QtQuick.Dialogs.quickimpl +linktarget Qt6::qtquickdialogs2quickimplplugin +optional plugin qtquickdialogs2quickimplplugin +classname QtQuickDialogs2QuickImplPlugin +typeinfo plugins.qmltypes +depends QtQuick auto +depends QtQuick.Templates auto +depends QtQuick.Layouts auto +prefer :/qt-project.org/imports/QtQuick/Dialogs/quickimpl/ +ColorDialog 6.0 qml/ColorDialog.qml +ColorInputs 6.0 qml/ColorInputs.qml +FileDialog 6.0 qml/FileDialog.qml +FileDialogDelegate 6.0 qml/FileDialogDelegate.qml +FileDialogDelegateLabel 6.0 qml/FileDialogDelegateLabel.qml +FolderBreadcrumbBar 6.0 qml/FolderBreadcrumbBar.qml +FolderDialog 6.0 qml/FolderDialog.qml +FolderDialogDelegate 6.0 qml/FolderDialogDelegate.qml +FolderDialogDelegateLabel 6.0 qml/FolderDialogDelegateLabel.qml +FontDialog 6.0 qml/FontDialog.qml +FontDialogContent 6.0 qml/FontDialogContent.qml +HueGradient 6.0 qml/HueGradient.qml +MessageDialog 6.0 qml/MessageDialog.qml +PickerHandle 6.0 qml/PickerHandle.qml +SaturationLightnessPicker 6.0 qml/SaturationLightnessPicker.qml +ColorDialog 6.0 qml/+Fusion/ColorDialog.qml +FileDialog 6.0 qml/+Fusion/FileDialog.qml +FileDialogDelegate 6.0 qml/+Fusion/FileDialogDelegate.qml +FolderBreadcrumbBar 6.0 qml/+Fusion/FolderBreadcrumbBar.qml +FolderDialog 6.0 qml/+Fusion/FolderDialog.qml +FolderDialogDelegate 6.0 qml/+Fusion/FolderDialogDelegate.qml +FontDialog 6.0 qml/+Fusion/FontDialog.qml +MessageDialog 6.0 qml/+Fusion/MessageDialog.qml +ColorDialog 6.0 qml/+Imagine/ColorDialog.qml +FileDialog 6.0 qml/+Imagine/FileDialog.qml +FileDialogDelegate 6.0 qml/+Imagine/FileDialogDelegate.qml +FolderBreadcrumbBar 6.0 qml/+Imagine/FolderBreadcrumbBar.qml +FolderDialog 6.0 qml/+Imagine/FolderDialog.qml +FolderDialogDelegate 6.0 qml/+Imagine/FolderDialogDelegate.qml +FontDialog 6.0 qml/+Imagine/FontDialog.qml +MessageDialog 6.0 qml/+Imagine/MessageDialog.qml +ColorDialog 6.0 qml/+Material/ColorDialog.qml +FileDialog 6.0 qml/+Material/FileDialog.qml +FileDialogDelegate 6.0 qml/+Material/FileDialogDelegate.qml +FolderBreadcrumbBar 6.0 qml/+Material/FolderBreadcrumbBar.qml +FolderDialog 6.0 qml/+Material/FolderDialog.qml +FolderDialogDelegate 6.0 qml/+Material/FolderDialogDelegate.qml +FontDialog 6.0 qml/+Material/FontDialog.qml +MessageDialog 6.0 qml/+Material/MessageDialog.qml +ColorDialog 6.0 qml/+Universal/ColorDialog.qml +FileDialog 6.0 qml/+Universal/FileDialog.qml +FileDialogDelegate 6.0 qml/+Universal/FileDialogDelegate.qml +FolderBreadcrumbBar 6.0 qml/+Universal/FolderBreadcrumbBar.qml +FolderDialog 6.0 qml/+Universal/FolderDialog.qml +FolderDialogDelegate 6.0 qml/+Universal/FolderDialogDelegate.qml +FontDialog 6.0 qml/+Universal/FontDialog.qml +MessageDialog 6.0 qml/+Universal/MessageDialog.qml + diff --git a/bin/qml/QtQuick/Dialogs/quickimpl/qtquickdialogs2quickimplplugin.dll b/bin/qml/QtQuick/Dialogs/quickimpl/qtquickdialogs2quickimplplugin.dll new file mode 100644 index 000000000..5c05f749d Binary files /dev/null and b/bin/qml/QtQuick/Dialogs/quickimpl/qtquickdialogs2quickimplplugin.dll differ diff --git a/bin/qml/QtQuick/Effects/effectsplugin.dll b/bin/qml/QtQuick/Effects/effectsplugin.dll new file mode 100644 index 000000000..855d1d4bf Binary files /dev/null and b/bin/qml/QtQuick/Effects/effectsplugin.dll differ diff --git a/bin/qml/QtQuick/Effects/plugins.qmltypes b/bin/qml/QtQuick/Effects/plugins.qmltypes new file mode 100644 index 000000000..98ebdb444 --- /dev/null +++ b/bin/qml/QtQuick/Effects/plugins.qmltypes @@ -0,0 +1,293 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickmultieffect_p.h" + name: "QQuickMultiEffect" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: ["QtQuick.Effects/MultiEffect 6.5"] + exportMetaObjectRevisions: [1541] + Property { + name: "source" + type: "QQuickItem" + isPointer: true + read: "source" + write: "setSource" + notify: "sourceChanged" + index: 0 + } + Property { + name: "autoPaddingEnabled" + type: "bool" + read: "autoPaddingEnabled" + write: "setAutoPaddingEnabled" + notify: "autoPaddingEnabledChanged" + index: 1 + } + Property { + name: "paddingRect" + type: "QRectF" + read: "paddingRect" + write: "setPaddingRect" + notify: "paddingRectChanged" + index: 2 + } + Property { + name: "brightness" + type: "double" + read: "brightness" + write: "setBrightness" + notify: "brightnessChanged" + index: 3 + } + Property { + name: "contrast" + type: "double" + read: "contrast" + write: "setContrast" + notify: "contrastChanged" + index: 4 + } + Property { + name: "saturation" + type: "double" + read: "saturation" + write: "setSaturation" + notify: "saturationChanged" + index: 5 + } + Property { + name: "colorization" + type: "double" + read: "colorization" + write: "setColorization" + notify: "colorizationChanged" + index: 6 + } + Property { + name: "colorizationColor" + type: "QColor" + read: "colorizationColor" + write: "setColorizationColor" + notify: "colorizationColorChanged" + index: 7 + } + Property { + name: "blurEnabled" + type: "bool" + read: "blurEnabled" + write: "setBlurEnabled" + notify: "blurEnabledChanged" + index: 8 + } + Property { + name: "blur" + type: "double" + read: "blur" + write: "setBlur" + notify: "blurChanged" + index: 9 + } + Property { + name: "blurMax" + type: "int" + read: "blurMax" + write: "setBlurMax" + notify: "blurMaxChanged" + index: 10 + } + Property { + name: "blurMultiplier" + type: "double" + read: "blurMultiplier" + write: "setBlurMultiplier" + notify: "blurMultiplierChanged" + index: 11 + } + Property { + name: "shadowEnabled" + type: "bool" + read: "shadowEnabled" + write: "setShadowEnabled" + notify: "shadowEnabledChanged" + index: 12 + } + Property { + name: "shadowOpacity" + type: "double" + read: "shadowOpacity" + write: "setShadowOpacity" + notify: "shadowOpacityChanged" + index: 13 + } + Property { + name: "shadowBlur" + type: "double" + read: "shadowBlur" + write: "setShadowBlur" + notify: "shadowBlurChanged" + index: 14 + } + Property { + name: "shadowHorizontalOffset" + type: "double" + read: "shadowHorizontalOffset" + write: "setShadowHorizontalOffset" + notify: "shadowHorizontalOffsetChanged" + index: 15 + } + Property { + name: "shadowVerticalOffset" + type: "double" + read: "shadowVerticalOffset" + write: "setShadowVerticalOffset" + notify: "shadowVerticalOffsetChanged" + index: 16 + } + Property { + name: "shadowColor" + type: "QColor" + read: "shadowColor" + write: "setShadowColor" + notify: "shadowColorChanged" + index: 17 + } + Property { + name: "shadowScale" + type: "double" + read: "shadowScale" + write: "setShadowScale" + notify: "shadowScaleChanged" + index: 18 + } + Property { + name: "maskEnabled" + type: "bool" + read: "maskEnabled" + write: "setMaskEnabled" + notify: "maskEnabledChanged" + index: 19 + } + Property { + name: "maskSource" + type: "QQuickItem" + isPointer: true + read: "maskSource" + write: "setMaskSource" + notify: "maskSourceChanged" + index: 20 + } + Property { + name: "maskThresholdMin" + type: "double" + read: "maskThresholdMin" + write: "setMaskThresholdMin" + notify: "maskThresholdMinChanged" + index: 21 + } + Property { + name: "maskSpreadAtMin" + type: "double" + read: "maskSpreadAtMin" + write: "setMaskSpreadAtMin" + notify: "maskSpreadAtMinChanged" + index: 22 + } + Property { + name: "maskThresholdMax" + type: "double" + read: "maskThresholdMax" + write: "setMaskThresholdMax" + notify: "maskThresholdMaxChanged" + index: 23 + } + Property { + name: "maskSpreadAtMax" + type: "double" + read: "maskSpreadAtMax" + write: "setMaskSpreadAtMax" + notify: "maskSpreadAtMaxChanged" + index: 24 + } + Property { + name: "maskInverted" + type: "bool" + read: "maskInverted" + write: "setMaskInverted" + notify: "maskInvertedChanged" + index: 25 + } + Property { + name: "itemRect" + type: "QRectF" + read: "itemRect" + notify: "itemRectChanged" + index: 26 + isReadonly: true + } + Property { + name: "fragmentShader" + type: "QString" + read: "fragmentShader" + notify: "fragmentShaderChanged" + index: 27 + isReadonly: true + } + Property { + name: "vertexShader" + type: "QString" + read: "vertexShader" + notify: "vertexShaderChanged" + index: 28 + isReadonly: true + } + Property { + name: "hasProxySource" + type: "bool" + read: "hasProxySource" + notify: "hasProxySourceChanged" + index: 29 + isReadonly: true + } + Signal { name: "shaderChanged" } + Signal { name: "itemSizeChanged" } + Signal { name: "sourceChanged" } + Signal { name: "autoPaddingEnabledChanged" } + Signal { name: "paddingRectChanged" } + Signal { name: "brightnessChanged" } + Signal { name: "contrastChanged" } + Signal { name: "saturationChanged" } + Signal { name: "colorizationChanged" } + Signal { name: "colorizationColorChanged" } + Signal { name: "blurEnabledChanged" } + Signal { name: "blurChanged" } + Signal { name: "blurMaxChanged" } + Signal { name: "blurMultiplierChanged" } + Signal { name: "shadowEnabledChanged" } + Signal { name: "shadowOpacityChanged" } + Signal { name: "shadowBlurChanged" } + Signal { name: "shadowHorizontalOffsetChanged" } + Signal { name: "shadowVerticalOffsetChanged" } + Signal { name: "shadowColorChanged" } + Signal { name: "shadowScaleChanged" } + Signal { name: "maskEnabledChanged" } + Signal { name: "maskSourceChanged" } + Signal { name: "maskThresholdMinChanged" } + Signal { name: "maskSpreadAtMinChanged" } + Signal { name: "maskThresholdMaxChanged" } + Signal { name: "maskSpreadAtMaxChanged" } + Signal { name: "maskInvertedChanged" } + Signal { name: "itemRectChanged" } + Signal { name: "fragmentShaderChanged" } + Signal { name: "vertexShaderChanged" } + Signal { name: "hasProxySourceChanged" } + } +} diff --git a/bin/qml/QtQuick/Effects/qmldir b/bin/qml/QtQuick/Effects/qmldir new file mode 100644 index 000000000..4fbc513d2 --- /dev/null +++ b/bin/qml/QtQuick/Effects/qmldir @@ -0,0 +1,8 @@ +module QtQuick.Effects +linktarget Qt6::effectsplugin +optional plugin effectsplugin +classname QtQuickEffectsPlugin +typeinfo plugins.qmltypes +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Effects/ + diff --git a/bin/qml/QtQuick/Layouts/plugins.qmltypes b/bin/qml/QtQuick/Layouts/plugins.qmltypes new file mode 100644 index 000000000..e4be3dbc4 --- /dev/null +++ b/bin/qml/QtQuick/Layouts/plugins.qmltypes @@ -0,0 +1,622 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquicklinearlayout_p.h" + name: "QQuickColumnLayout" + accessSemantics: "reference" + prototype: "QQuickLinearLayout" + exports: [ + "QtQuick.Layouts/ColumnLayout 1.0", + "QtQuick.Layouts/ColumnLayout 1.1", + "QtQuick.Layouts/ColumnLayout 2.0", + "QtQuick.Layouts/ColumnLayout 2.1", + "QtQuick.Layouts/ColumnLayout 2.4", + "QtQuick.Layouts/ColumnLayout 2.7", + "QtQuick.Layouts/ColumnLayout 2.11", + "QtQuick.Layouts/ColumnLayout 6.0", + "QtQuick.Layouts/ColumnLayout 6.3", + "QtQuick.Layouts/ColumnLayout 6.6" + ] + exportMetaObjectRevisions: [ + 256, + 257, + 512, + 513, + 516, + 519, + 523, + 1536, + 1539, + 1542 + ] + } + Component { + file: "private/qquicklinearlayout_p.h" + name: "QQuickGridLayout" + accessSemantics: "reference" + prototype: "QQuickGridLayoutBase" + exports: [ + "QtQuick.Layouts/GridLayout 1.0", + "QtQuick.Layouts/GridLayout 1.1", + "QtQuick.Layouts/GridLayout 2.0", + "QtQuick.Layouts/GridLayout 2.1", + "QtQuick.Layouts/GridLayout 2.4", + "QtQuick.Layouts/GridLayout 2.7", + "QtQuick.Layouts/GridLayout 2.11", + "QtQuick.Layouts/GridLayout 6.0", + "QtQuick.Layouts/GridLayout 6.3", + "QtQuick.Layouts/GridLayout 6.6" + ] + exportMetaObjectRevisions: [ + 256, + 257, + 512, + 513, + 516, + 519, + 523, + 1536, + 1539, + 1542 + ] + Enum { + name: "Flow" + values: ["LeftToRight", "TopToBottom"] + } + Property { + name: "columnSpacing" + type: "double" + read: "columnSpacing" + write: "setColumnSpacing" + notify: "columnSpacingChanged" + index: 0 + isFinal: true + } + Property { + name: "rowSpacing" + type: "double" + read: "rowSpacing" + write: "setRowSpacing" + notify: "rowSpacingChanged" + index: 1 + isFinal: true + } + Property { + name: "columns" + type: "int" + read: "columns" + write: "setColumns" + notify: "columnsChanged" + index: 2 + isFinal: true + } + Property { + name: "rows" + type: "int" + read: "rows" + write: "setRows" + notify: "rowsChanged" + index: 3 + isFinal: true + } + Property { + name: "flow" + type: "Flow" + read: "flow" + write: "setFlow" + notify: "flowChanged" + index: 4 + isFinal: true + } + Property { + name: "uniformCellWidths" + revision: 1542 + type: "bool" + read: "uniformCellWidths" + write: "setUniformCellWidths" + notify: "uniformCellWidthsChanged" + index: 5 + isFinal: true + } + Property { + name: "uniformCellHeights" + revision: 1542 + type: "bool" + read: "uniformCellHeights" + write: "setUniformCellHeights" + notify: "uniformCellHeightsChanged" + index: 6 + isFinal: true + } + Signal { name: "columnSpacingChanged" } + Signal { name: "rowSpacingChanged" } + Signal { name: "columnsChanged" } + Signal { name: "rowsChanged" } + Signal { name: "flowChanged" } + Signal { name: "uniformCellWidthsChanged"; revision: 1542 } + Signal { name: "uniformCellHeightsChanged"; revision: 1542 } + } + Component { + file: "private/qquicklinearlayout_p.h" + name: "QQuickGridLayoutBase" + accessSemantics: "reference" + prototype: "QQuickLayout" + Property { + name: "layoutDirection" + revision: 257 + type: "Qt::LayoutDirection" + read: "layoutDirection" + write: "setLayoutDirection" + notify: "layoutDirectionChanged" + index: 0 + isFinal: true + } + Signal { name: "layoutDirectionChanged"; revision: 257 } + } + Component { + file: "private/qquicklayout_p.h" + name: "QQuickLayout" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Layouts/Layout 1.0", + "QtQuick.Layouts/Layout 2.0", + "QtQuick.Layouts/Layout 2.1", + "QtQuick.Layouts/Layout 2.4", + "QtQuick.Layouts/Layout 2.7", + "QtQuick.Layouts/Layout 2.11", + "QtQuick.Layouts/Layout 6.0", + "QtQuick.Layouts/Layout 6.3" + ] + isCreatable: false + exportMetaObjectRevisions: [256, 512, 513, 516, 519, 523, 1536, 1539] + attachedType: "QQuickLayoutAttached" + Method { name: "invalidateSenderItem" } + Method { name: "_q_dumpLayoutTree" } + } + Component { + file: "private/qquicklayout_p.h" + name: "QQuickLayoutAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "minimumWidth" + type: "double" + read: "minimumWidth" + write: "setMinimumWidth" + notify: "minimumWidthChanged" + index: 0 + isFinal: true + } + Property { + name: "minimumHeight" + type: "double" + read: "minimumHeight" + write: "setMinimumHeight" + notify: "minimumHeightChanged" + index: 1 + isFinal: true + } + Property { + name: "preferredWidth" + type: "double" + read: "preferredWidth" + write: "setPreferredWidth" + notify: "preferredWidthChanged" + index: 2 + isFinal: true + } + Property { + name: "preferredHeight" + type: "double" + read: "preferredHeight" + write: "setPreferredHeight" + notify: "preferredHeightChanged" + index: 3 + isFinal: true + } + Property { + name: "maximumWidth" + type: "double" + read: "maximumWidth" + write: "setMaximumWidth" + notify: "maximumWidthChanged" + index: 4 + isFinal: true + } + Property { + name: "maximumHeight" + type: "double" + read: "maximumHeight" + write: "setMaximumHeight" + notify: "maximumHeightChanged" + index: 5 + isFinal: true + } + Property { + name: "fillHeight" + type: "bool" + read: "fillHeight" + write: "setFillHeight" + notify: "fillHeightChanged" + index: 6 + isFinal: true + } + Property { + name: "fillWidth" + type: "bool" + read: "fillWidth" + write: "setFillWidth" + notify: "fillWidthChanged" + index: 7 + isFinal: true + } + Property { + name: "row" + type: "int" + read: "row" + write: "setRow" + notify: "rowChanged" + index: 8 + isFinal: true + } + Property { + name: "column" + type: "int" + read: "column" + write: "setColumn" + notify: "columnChanged" + index: 9 + isFinal: true + } + Property { + name: "rowSpan" + type: "int" + read: "rowSpan" + write: "setRowSpan" + notify: "rowSpanChanged" + index: 10 + isFinal: true + } + Property { + name: "columnSpan" + type: "int" + read: "columnSpan" + write: "setColumnSpan" + notify: "columnSpanChanged" + index: 11 + isFinal: true + } + Property { + name: "alignment" + type: "Qt::Alignment" + read: "alignment" + write: "setAlignment" + notify: "alignmentChanged" + index: 12 + isFinal: true + } + Property { + name: "horizontalStretchFactor" + type: "int" + read: "horizontalStretchFactor" + write: "setHorizontalStretchFactor" + notify: "horizontalStretchFactorChanged" + index: 13 + isFinal: true + } + Property { + name: "verticalStretchFactor" + type: "int" + read: "verticalStretchFactor" + write: "setVerticalStretchFactor" + notify: "verticalStretchFactorChanged" + index: 14 + isFinal: true + } + Property { + name: "margins" + type: "double" + read: "margins" + write: "setMargins" + notify: "marginsChanged" + index: 15 + isFinal: true + } + Property { + name: "leftMargin" + type: "double" + read: "leftMargin" + write: "setLeftMargin" + reset: "resetLeftMargin" + notify: "leftMarginChanged" + index: 16 + isFinal: true + } + Property { + name: "topMargin" + type: "double" + read: "topMargin" + write: "setTopMargin" + reset: "resetTopMargin" + notify: "topMarginChanged" + index: 17 + isFinal: true + } + Property { + name: "rightMargin" + type: "double" + read: "rightMargin" + write: "setRightMargin" + reset: "resetRightMargin" + notify: "rightMarginChanged" + index: 18 + isFinal: true + } + Property { + name: "bottomMargin" + type: "double" + read: "bottomMargin" + write: "setBottomMargin" + reset: "resetBottomMargin" + notify: "bottomMarginChanged" + index: 19 + isFinal: true + } + Signal { name: "minimumWidthChanged" } + Signal { name: "minimumHeightChanged" } + Signal { name: "preferredWidthChanged" } + Signal { name: "preferredHeightChanged" } + Signal { name: "maximumWidthChanged" } + Signal { name: "maximumHeightChanged" } + Signal { name: "fillWidthChanged" } + Signal { name: "fillHeightChanged" } + Signal { name: "leftMarginChanged" } + Signal { name: "topMarginChanged" } + Signal { name: "rightMarginChanged" } + Signal { name: "bottomMarginChanged" } + Signal { name: "marginsChanged" } + Signal { name: "rowChanged" } + Signal { name: "columnChanged" } + Signal { name: "rowSpanChanged" } + Signal { name: "columnSpanChanged" } + Signal { name: "alignmentChanged" } + Signal { name: "horizontalStretchFactorChanged" } + Signal { name: "verticalStretchFactorChanged" } + } + Component { + file: "private/qquicklayoutitemproxy_p.h" + name: "QQuickLayoutItemProxy" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: ["QtQuick.Layouts/LayoutItemProxy 6.6"] + exportMetaObjectRevisions: [1542] + Property { + name: "target" + type: "QQuickItem" + isPointer: true + read: "target" + write: "setTarget" + notify: "targetChanged" + index: 0 + } + Signal { name: "targetChanged" } + Method { name: "updatePos" } + Method { name: "targetMinimumWidthChanged" } + Method { name: "proxyMinimumWidthChanged" } + Method { name: "targetMinimumHeightChanged" } + Method { name: "proxyMinimumHeightChanged" } + Method { name: "targetPreferredWidthChanged" } + Method { name: "proxyPreferredWidthChanged" } + Method { name: "targetPreferredHeightChanged" } + Method { name: "proxyPreferredHeightChanged" } + Method { name: "targetMaximumWidthChanged" } + Method { name: "proxyMaximumWidthChanged" } + Method { name: "targetMaximumHeightChanged" } + Method { name: "proxyMaximumHeightChanged" } + Method { name: "targetFillWidthChanged" } + Method { name: "proxyFillWidthChanged" } + Method { name: "targetFillHeightChanged" } + Method { name: "proxyFillHeightChanged" } + Method { name: "targetAlignmentChanged" } + Method { name: "proxyAlignmentChanged" } + Method { name: "targetHorizontalStretchFactorChanged" } + Method { name: "proxyHorizontalStretchFactorChanged" } + Method { name: "targetVerticalStretchFactorChanged" } + Method { name: "proxyVerticalStretchFactorChanged" } + Method { name: "targetMarginsChanged" } + Method { name: "proxyMarginsChanged" } + Method { name: "targetLeftMarginChanged" } + Method { name: "proxyLeftMarginChanged" } + Method { name: "targetTopMarginChanged" } + Method { name: "proxyTopMarginChanged" } + Method { name: "targetRightMarginChanged" } + Method { name: "proxyRightMarginChanged" } + Method { name: "targetBottomMarginChanged" } + Method { name: "proxyBottomMarginChanged" } + Method { name: "effectiveTarget"; type: "QQuickItem"; isPointer: true } + } + Component { + file: "private/qquicklayoutitemproxy_p.h" + name: "QQuickLayoutItemProxyAttachedData" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "proxyHasControl" + type: "bool" + read: "proxyHasControl" + notify: "controllingProxyChanged" + index: 0 + isReadonly: true + } + Property { + name: "controllingProxy" + type: "QQuickLayoutItemProxy" + isPointer: true + read: "getControllingProxy" + notify: "controllingProxyChanged" + index: 1 + isReadonly: true + } + Property { + name: "proxies" + type: "QList" + read: "getProxies" + notify: "proxiesChanged" + index: 2 + isReadonly: true + } + Signal { name: "controlTaken" } + Signal { name: "controlReleased" } + Signal { name: "controllingProxyChanged" } + Signal { name: "proxiesChanged" } + } + Component { + file: "private/qquicklinearlayout_p.h" + name: "QQuickLinearLayout" + accessSemantics: "reference" + prototype: "QQuickGridLayoutBase" + Property { + name: "spacing" + type: "double" + read: "spacing" + write: "setSpacing" + notify: "spacingChanged" + index: 0 + isFinal: true + } + Property { + name: "uniformCellSizes" + revision: 1542 + type: "bool" + read: "uniformCellSizes" + write: "setUniformCellSizes" + notify: "uniformCellSizesChanged" + index: 1 + isFinal: true + } + Signal { name: "spacingChanged" } + Signal { name: "uniformCellSizesChanged"; revision: 1542 } + } + Component { + file: "private/qquicklinearlayout_p.h" + name: "QQuickRowLayout" + accessSemantics: "reference" + prototype: "QQuickLinearLayout" + exports: [ + "QtQuick.Layouts/RowLayout 1.0", + "QtQuick.Layouts/RowLayout 1.1", + "QtQuick.Layouts/RowLayout 2.0", + "QtQuick.Layouts/RowLayout 2.1", + "QtQuick.Layouts/RowLayout 2.4", + "QtQuick.Layouts/RowLayout 2.7", + "QtQuick.Layouts/RowLayout 2.11", + "QtQuick.Layouts/RowLayout 6.0", + "QtQuick.Layouts/RowLayout 6.3", + "QtQuick.Layouts/RowLayout 6.6" + ] + exportMetaObjectRevisions: [ + 256, + 257, + 512, + 513, + 516, + 519, + 523, + 1536, + 1539, + 1542 + ] + } + Component { + file: "private/qquickstacklayout_p.h" + name: "QQuickStackLayout" + accessSemantics: "reference" + prototype: "QQuickLayout" + exports: [ + "QtQuick.Layouts/StackLayout 1.3", + "QtQuick.Layouts/StackLayout 2.0", + "QtQuick.Layouts/StackLayout 2.1", + "QtQuick.Layouts/StackLayout 2.4", + "QtQuick.Layouts/StackLayout 2.7", + "QtQuick.Layouts/StackLayout 2.11", + "QtQuick.Layouts/StackLayout 6.0", + "QtQuick.Layouts/StackLayout 6.3" + ] + exportMetaObjectRevisions: [259, 512, 513, 516, 519, 523, 1536, 1539] + attachedType: "QQuickStackLayoutAttached" + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "currentIndex" + type: "int" + read: "currentIndex" + write: "setCurrentIndex" + notify: "currentIndexChanged" + index: 1 + isFinal: true + } + Signal { name: "currentIndexChanged" } + Signal { name: "countChanged" } + Method { + name: "itemAt" + type: "QQuickItem" + isPointer: true + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qquickstacklayout_p.h" + name: "QQuickStackLayoutAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "index" + type: "int" + read: "index" + notify: "indexChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "isCurrentItem" + type: "bool" + read: "isCurrentItem" + notify: "isCurrentItemChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "layout" + type: "QQuickStackLayout" + isPointer: true + read: "layout" + notify: "layoutChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "indexChanged" } + Signal { name: "isCurrentItemChanged" } + Signal { name: "layoutChanged" } + } +} diff --git a/bin/qml/QtQuick/Layouts/qmldir b/bin/qml/QtQuick/Layouts/qmldir new file mode 100644 index 000000000..9fa0f0d84 --- /dev/null +++ b/bin/qml/QtQuick/Layouts/qmldir @@ -0,0 +1,9 @@ +module QtQuick.Layouts +linktarget Qt6::qquicklayoutsplugin +optional plugin qquicklayoutsplugin +classname QtQuickLayoutsPlugin +designersupported +typeinfo plugins.qmltypes +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Layouts/ + diff --git a/bin/qml/QtQuick/Layouts/qquicklayoutsplugin.dll b/bin/qml/QtQuick/Layouts/qquicklayoutsplugin.dll new file mode 100644 index 000000000..ec519630e Binary files /dev/null and b/bin/qml/QtQuick/Layouts/qquicklayoutsplugin.dll differ diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultButton.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultButton.qml new file mode 100644 index 000000000..ee20acce0 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultButton.qml @@ -0,0 +1,50 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.Button { + id: control + + readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + leftPadding: __nativeBackground ? background.contentPadding.left : 5 + rightPadding: __nativeBackground ? background.contentPadding.right : 5 + topPadding: __nativeBackground ? background.contentPadding.top : 5 + bottomPadding: __nativeBackground ? background.contentPadding.bottom : 5 + + background: NativeStyle.Button { + control: control + contentWidth: contentItem.implicitWidth + contentHeight: contentItem.implicitHeight + + readonly property bool __ignoreNotCustomizable: true + } + + icon.width: 24 + icon.height: 24 + icon.color: control.palette.buttonText + + contentItem: IconLabel { + spacing: control.spacing + mirrored: control.mirrored + display: control.display + + icon: control.icon + text: control.text + font: control.font + color: control.palette.buttonText + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultCheckBox.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultCheckBox.qml new file mode 100644 index 000000000..3a86ab436 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultCheckBox.qml @@ -0,0 +1,63 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.NativeStyle as NativeStyle + +T.CheckBox { + id: control + + readonly property bool nativeIndicator: indicator instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: nativeIndicator ? 0 : 6 + padding: nativeIndicator ? 0 : 6 + + indicator: NativeStyle.CheckBox { + control: control + y: control.topPadding + (control.availableHeight - height) >> 1 + contentWidth: contentItem.implicitWidth + contentHeight: contentItem.implicitHeight + useNinePatchImage: false + + readonly property bool __ignoreNotCustomizable: true + } + + contentItem: CheckLabel { + text: control.text + font: control.font + color: control.palette.windowText + + // For some reason, the other styles set padding here (in the delegate), instead of in + // the control above. And they also adjust the indicator position by setting x and y + // explicitly (instead of using insets). So we follow the same pattern to ensure that + // setting a custom contentItem delegate from the app will end up looking the same for + // all styles. But this should probably be fixed for all styles (to make them work the + // same way as e.g Buttons). + leftPadding: { + if (nativeIndicator) + indicator.contentPadding.left + else + indicator && !mirrored ? indicator.width + spacing : 0 + } + + topPadding: nativeIndicator ? indicator.contentPadding.top : 0 + rightPadding: { + if (nativeIndicator) + indicator.contentPadding.right + else + indicator && mirrored ? indicator.width + spacing : 0 + } + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultComboBox.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultComboBox.qml new file mode 100644 index 000000000..0876c522b --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultComboBox.qml @@ -0,0 +1,104 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +pragma ComponentBehavior: Bound + +import QtQuick +import QtQuick.Window +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.ComboBox { + id: control + + readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding, + 90 /* minimum */ ) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + leftPadding: __nativeBackground ? background.contentPadding.left : 5 + rightPadding: __nativeBackground ? background.contentPadding.right : 5 + topPadding: __nativeBackground ? background.contentPadding.top : 5 + bottomPadding: __nativeBackground ? background.contentPadding.bottom : 5 + + contentItem: T.TextField { + implicitWidth: contentWidth + implicitHeight: contentHeight + text: control.editable ? control.editText : control.displayText + + enabled: control.editable + autoScroll: control.editable + readOnly: control.down + inputMethodHints: control.inputMethodHints + validator: control.validator + selectByMouse: control.selectTextByMouse + + font: control.font + color: control.editable ? control.palette.text : control.palette.buttonText + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + verticalAlignment: Text.AlignVCenter + + readonly property bool __ignoreNotCustomizable: true + } + + background: NativeStyle.ComboBox { + control: control + contentWidth: contentItem.implicitWidth + contentHeight: contentItem.implicitHeight + + readonly property bool __ignoreNotCustomizable: true + } + + delegate: ItemDelegate { + required property var model + required property int index + + width: ListView.view.width + text: model[control.textRole] + palette.text: control.palette.text + palette.highlightedText: control.palette.highlightedText + font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal + highlighted: control.highlightedIndex === index + hoverEnabled: control.hoverEnabled + } + + popup: T.Popup { + readonly property var layoutMargins: control.__nativeBackground ? control.background.layoutMargins : null + x: layoutMargins ? layoutMargins.left : 0 + y: control.height - (layoutMargins ? layoutMargins.bottom : 0) + width: control.width - (layoutMargins ? layoutMargins.left + layoutMargins.right : 0) + height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) + topMargin: 6 + bottomMargin: 6 + + contentItem: ListView { + clip: true + implicitHeight: contentHeight + model: control.delegateModel + currentIndex: control.highlightedIndex + highlightMoveDuration: 0 + + Rectangle { + z: 10 + width: parent.width + height: parent.height + color: "transparent" + border.color: control.palette.mid + } + + T.ScrollIndicator.vertical: ScrollIndicator { } + } + + background: Rectangle { + color: control.palette.window + } + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultDial.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultDial.qml new file mode 100644 index 000000000..205be44f1 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultDial.qml @@ -0,0 +1,28 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.Dial { + id: control + + readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding, + 80 /* minimum */ ) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + 80 /* minimum */ ) + + background: NativeStyle.Dial { + control: control + useNinePatchImage: false + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultFrame.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultFrame.qml new file mode 100644 index 000000000..57c7d94c7 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultFrame.qml @@ -0,0 +1,32 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.Frame { + id: control + + readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + leftPadding: __nativeBackground ? background.contentPadding.left : 12 + rightPadding: __nativeBackground ? background.contentPadding.right : 12 + topPadding: __nativeBackground ? background.contentPadding.top : 12 + bottomPadding: __nativeBackground ? background.contentPadding.bottom : 12 + + background: NativeStyle.Frame { + control: control + contentWidth: control.contentWidth + contentHeight: control.contentHeight + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultGroupBox.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultGroupBox.qml new file mode 100644 index 000000000..97f3d6f70 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultGroupBox.qml @@ -0,0 +1,57 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.GroupBox { + id: control + + readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + contentWidth + leftPadding + rightPadding, + implicitLabelWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding) + + label: Rectangle { + color: control.palette.window + property point labelPos : control.__nativeBackground + ? background.labelPos + : Qt.point(0,0) + readonly property bool __ignoreNotCustomizable: true + x: labelPos.x + background.x + y: labelPos.y + background.y - (__nativeBackground ? background.groupBoxPadding.top : 0) + width: children[0].implicitWidth + height: children[0].implicitHeight + Text { + width: parent.width + height: parent.height + text: control.title + font: control.font + color: control.palette.windowText + elide: Text.ElideRight + verticalAlignment: Text.AlignVCenter + } + } + + leftPadding: __nativeBackground ? background.contentPadding.left : 0 + rightPadding: __nativeBackground ? background.contentPadding.right : 0 + topPadding: __nativeBackground ? background.contentPadding.top : 0 + bottomPadding: __nativeBackground ? background.contentPadding.bottom : 0 + + leftInset: __nativeBackground ? background.groupBoxPadding.left : 0 + topInset: __nativeBackground ? background.groupBoxPadding.top : 0 + + background: NativeStyle.GroupBox { + control: control + contentWidth: contentItem.implicitWidth + contentHeight: contentItem.implicitHeight + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultProgressBar.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultProgressBar.qml new file mode 100644 index 000000000..0b318a563 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultProgressBar.qml @@ -0,0 +1,27 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls +import QtQuick.NativeStyle as NativeStyle + +T.ProgressBar { + id: control + + readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding, + 90) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + background: NativeStyle.ProgressBar { + control: control + useNinePatchImage: false + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultRadioButton.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultRadioButton.qml new file mode 100644 index 000000000..0c5341624 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultRadioButton.qml @@ -0,0 +1,61 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.NativeStyle as NativeStyle + +T.RadioButton { + id: control + + readonly property bool nativeIndicator: indicator instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding, + implicitIndicatorHeight + topPadding + bottomPadding) + + spacing: nativeIndicator ? 0 : 6 + padding: nativeIndicator ? 0 : 6 + + indicator: NativeStyle.RadioButton { + control: control + contentWidth: contentItem.implicitWidth + contentHeight: contentItem.implicitHeight + useNinePatchImage: false + + readonly property bool __ignoreNotCustomizable: true + } + + contentItem: CheckLabel { + text: control.text + font: control.font + color: control.palette.windowText + + // For some reason, the other styles set padding here (in the delegate), instead of in + // the control above. And they also adjust the indicator position by setting x and y + // explicitly (instead of using insets). So we follow the same pattern to ensure that + // setting a custom contentItem delegate from the app will end up looking the same for + // all styles. But this should probably be fixed for all styles (to make them work the + // same way as e.g Buttons). + leftPadding: { + if (nativeIndicator) + indicator.contentPadding.left + else + indicator && !mirrored ? indicator.width + spacing : 0 + } + + rightPadding: { + if (nativeIndicator) + indicator.contentPadding.right + else + indicator && mirrored ? indicator.width + spacing : 0 + } + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultScrollBar.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultScrollBar.qml new file mode 100644 index 000000000..7394dd1e7 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultScrollBar.qml @@ -0,0 +1,32 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.ScrollBar { + id: control + + readonly property bool __nativeContentItem: contentItem instanceof NativeStyle.StyleItem + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitContentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitContentHeight + topPadding + bottomPadding) + + visible: policy === T.ScrollBar.AlwaysOn || (policy === T.ScrollBar.AsNeeded && size < 1.0) + minimumSize: !__nativeContentItem ? 10 : orientation === Qt.Vertical ? + contentItem.minimumSize.height / height : contentItem.minimumSize.width / width + + background: NativeStyle.ScrollBar { + control: control + subControl: NativeStyle.ScrollBar.Groove + } + + contentItem: NativeStyle.ScrollBar { + control: control + subControl: NativeStyle.ScrollBar.Handle + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultSlider.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultSlider.qml new file mode 100644 index 000000000..52f123a43 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultSlider.qml @@ -0,0 +1,43 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.Slider { + id: control + + implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, + implicitHandleWidth + leftPadding + rightPadding, + control.horizontal ? 90 : 0 /* minimum */ ) + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + implicitHandleHeight + topPadding + bottomPadding, + control.vertical ? 90 : 0 /* minimum */ ) + + readonly property bool __notCustomizable: true + + background: NativeStyle.Slider { + control: control + subControl: NativeStyle.Slider.Groove + // We normally cannot use a nine patch image for the + // groove if we draw tickmarks (since then the scaling + // would scale the tickmarks too). The groove might + // also use a different background color before, and + // after, the handle. + useNinePatchImage: false + + readonly property bool __ignoreNotCustomizable: true + } + + handle: NativeStyle.Slider { + control: control + subControl: NativeStyle.Slider.Handle + x: control.leftPadding + (control.horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2) + y: control.topPadding + (control.horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height)) + useNinePatchImage: false + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultSpinBox.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultSpinBox.qml new file mode 100644 index 000000000..beb49d98a --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultSpinBox.qml @@ -0,0 +1,75 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.SpinBox { + id: control + + readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: Math.max(implicitBackgroundWidth + spacing + up.implicitIndicatorWidth + + leftInset + rightInset, + 90 /* minimum */ ) + implicitHeight: Math.max(implicitBackgroundHeight, up.implicitIndicatorHeight + down.implicitIndicatorHeight + + (spacing * 3)) + topInset + bottomInset + + spacing: 2 + + leftPadding: (__nativeBackground ? background.contentPadding.left: 0) + topPadding: (__nativeBackground ? background.contentPadding.top: 0) + rightPadding: (__nativeBackground ? background.contentPadding.right : 0) + up.implicitIndicatorWidth + spacing + bottomPadding: (__nativeBackground ? background.contentPadding.bottom: 0) + spacing + + validator: IntValidator { + locale: control.locale.name + bottom: Math.min(control.from, control.to) + top: Math.max(control.from, control.to) + } + + contentItem: TextInput { + text: control.displayText + font: font.font + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + horizontalAlignment: Qt.AlignLeft + verticalAlignment: Qt.AlignVCenter + + topPadding: 2 + bottomPadding: 2 + leftPadding: 10 + rightPadding: 10 + + readOnly: !control.editable + validator: control.validator + inputMethodHints: control.inputMethodHints + } + + up.indicator: NativeStyle.SpinBox { + control: control + subControl: NativeStyle.SpinBox.Up + x: parent.width - width - spacing + y: (parent.height / 2) - height + useNinePatchImage: false + } + + down.indicator: NativeStyle.SpinBox { + control: control + subControl: NativeStyle.SpinBox.Down + x: up.indicator.x + y: up.indicator.y + up.indicator.height + useNinePatchImage: false + } + + background: NativeStyle.SpinBox { + control: control + subControl: NativeStyle.SpinBox.Frame + contentWidth: contentItem.implicitWidth + contentHeight: contentItem.implicitHeight + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultTextArea.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultTextArea.qml new file mode 100644 index 000000000..faab250fa --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultTextArea.qml @@ -0,0 +1,53 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.TextArea { + id: control + + implicitWidth: Math.max(contentWidth + leftPadding + rightPadding, + implicitBackgroundWidth + leftInset + rightInset, + placeholder.implicitWidth + leftPadding + rightPadding) + implicitHeight: Math.max(contentHeight + topPadding + bottomPadding, + implicitBackgroundHeight + topInset + bottomInset, + placeholder.implicitHeight + topPadding + bottomPadding) + + leftPadding: 7 + rightPadding: 7 + topPadding: 3 + bottomPadding: 3 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + placeholderTextColor: control.palette.placeholderText + verticalAlignment: TextInput.AlignTop + + readonly property bool __notCustomizable: true + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } + + background: Rectangle { + color: control.palette.light + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultTextField.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultTextField.qml new file mode 100644 index 000000000..dadfa5661 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultTextField.qml @@ -0,0 +1,56 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Controls +import QtQuick.Controls.impl +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle + +T.TextField { + id: control + + readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem + readonly property bool __notCustomizable: true + + implicitWidth: implicitBackgroundWidth + leftInset + rightInset + || Math.max(contentWidth, placeholder.implicitWidth) + leftPadding + rightPadding + + implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, + contentHeight + topPadding + bottomPadding, + placeholder.implicitHeight + topPadding + bottomPadding) + + leftPadding: __nativeBackground ? background.contentPadding.left: 7 + rightPadding: __nativeBackground ? background.contentPadding.right: 7 + topPadding: __nativeBackground ? background.contentPadding.top: 3 + bottomPadding: __nativeBackground ? background.contentPadding.bottom: 3 + + color: control.palette.text + selectionColor: control.palette.highlight + selectedTextColor: control.palette.highlightedText + placeholderTextColor: control.palette.placeholderText + verticalAlignment: TextInput.AlignTop + + PlaceholderText { + id: placeholder + x: control.leftPadding + y: control.topPadding + width: control.width - (control.leftPadding + control.rightPadding) + height: control.height - (control.topPadding + control.bottomPadding) + text: control.placeholderText + font: control.font + color: control.placeholderTextColor + verticalAlignment: control.verticalAlignment + visible: !control.length && !control.preeditText && (!control.activeFocus || control.horizontalAlignment !== Qt.AlignHCenter) + elide: Text.ElideRight + renderType: control.renderType + } + + background: NativeStyle.TextField { + control: control + contentWidth: Math.max(control.contentWidth, placeholder.implicitWidth) + contentHeight: control.contentHeight + + readonly property bool __ignoreNotCustomizable: true + } +} diff --git a/bin/qml/QtQuick/NativeStyle/controls/DefaultTreeViewDelegate.qml b/bin/qml/QtQuick/NativeStyle/controls/DefaultTreeViewDelegate.qml new file mode 100644 index 000000000..89130947b --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/controls/DefaultTreeViewDelegate.qml @@ -0,0 +1,104 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.NativeStyle as NativeStyle +import QtQuick.Controls + +T.TreeViewDelegate { + id: control + + implicitWidth: leftMargin + __contentIndent + implicitContentWidth + rightPadding + rightMargin + implicitHeight: Math.max(indicator ? indicator.height : 0, implicitContentHeight) * 1.25 + + indentation: indicator ? indicator.width : 12 + leftMargin: 4 + rightMargin: 4 + spacing: 4 + + topPadding: contentItem ? (height - contentItem.implicitHeight) / 2 : 0 + leftPadding: !mirrored ? leftMargin + __contentIndent : width - leftMargin - __contentIndent - implicitContentWidth + + highlighted: control.selected || control.current + || ((control.treeView.selectionBehavior === TableView.SelectRows + || control.treeView.selectionBehavior === TableView.SelectionDisabled) + && control.row === control.treeView.currentRow) + + required property int row + required property var model + readonly property real __contentIndent: !isTreeNode ? 0 : (depth * indentation) + (indicator ? indicator.width + spacing : 0) + readonly property bool __notCustomizable: true + + indicator: Item { + // Create an area that is big enough for the user to + // click on, since the image is a bit small. + readonly property real __indicatorIndent: control.leftMargin + (control.depth * control.indentation) + x: !control.mirrored ? __indicatorIndent : control.width - __indicatorIndent - width + y: (control.height - height) / 2 + width: 16 + height: 16 + NativeStyle.TreeIndicator { + x: (parent.width - width) / 2 + y: (parent.height - height) / 2 + control: control + useNinePatchImage: false + } + + readonly property bool __ignoreNotCustomizable: true + } + + background: Rectangle { + color: control.highlighted ? control.palette.highlight + : (control.treeView.alternatingRows && control.row % 2 !== 0 + ? control.palette.alternateBase : control.palette.base) + + readonly property bool __ignoreNotCustomizable: true + } + + contentItem: Label { + clip: false + text: control.model.display + elide: Text.ElideRight + color: control.highlighted ? control.palette.highlightedText : control.palette.buttonText + visible: !control.editing + + readonly property bool __ignoreNotCustomizable: true + } + + // The edit delegate is a separate component, and doesn't need + // to follow the same strict rules that are applied to a control. + // qmllint disable attached-property-reuse + // qmllint disable controls-attached-property-reuse + // qmllint disable controls-sanity + TableView.editDelegate: FocusScope { + width: parent.width + height: parent.height + + readonly property int __role: { + let model = control.treeView.model + let index = control.treeView.index(row, column) + let editText = model.data(index, Qt.EditRole) + return editText !== undefined ? Qt.EditRole : Qt.DisplayRole + } + + TextField { + id: textField + x: control.contentItem.x + y: (parent.height - height) / 2 + width: control.contentItem.width + text: control.treeView.model.data(control.treeView.index(row, column), __role) + focus: true + } + + TableView.onCommit: { + let index = TableView.view.index(row, column) + TableView.view.model.setData(index, textField.text, __role) + } + + Component.onCompleted: textField.selectAll() + } + // qmllint enable attached-property-reuse + // qmllint enable controls-attached-property-reuse + // qmllint enable controls-sanity +} diff --git a/bin/qml/QtQuick/NativeStyle/plugins.qmltypes b/bin/qml/QtQuick/NativeStyle/plugins.qmltypes new file mode 100644 index 000000000..171d91fa9 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/plugins.qmltypes @@ -0,0 +1,273 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qquickstyleitem.h" + name: "QQuickStyleItem" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.NativeStyle/StyleItem 6.0", + "QtQuick.NativeStyle/StyleItem 6.3" + ] + isCreatable: false + exportMetaObjectRevisions: [1536, 1539] + Enum { + name: "OverrideState" + values: ["None", "AlwaysHovered", "NeverHovered", "AlwaysSunken"] + } + Property { + name: "control" + type: "QQuickItem" + isPointer: true + notify: "controlChanged" + index: 0 + } + Property { + name: "contentWidth" + type: "double" + read: "contentWidth" + write: "setContentWidth" + index: 1 + } + Property { + name: "contentHeight" + type: "double" + read: "contentHeight" + write: "setContentHeight" + index: 2 + } + Property { name: "useNinePatchImage"; type: "bool"; index: 3 } + Property { name: "overrideState"; type: "OverrideState"; index: 4 } + Property { + name: "contentPadding" + type: "QQuickStyleMargins" + read: "contentPadding" + notify: "contentPaddingChanged" + index: 5 + isReadonly: true + } + Property { + name: "layoutMargins" + type: "QQuickStyleMargins" + read: "layoutMargins" + notify: "layoutMarginsChanged" + index: 6 + isReadonly: true + } + Property { + name: "minimumSize" + type: "QSize" + read: "minimumSize" + notify: "minimumSizeChanged" + index: 7 + isReadonly: true + } + Property { name: "transitionDuration"; type: "int"; index: 8; isConstant: true } + Signal { name: "controlChanged" } + Signal { name: "contentPaddingChanged" } + Signal { name: "layoutMarginsChanged" } + Signal { name: "fontChanged" } + Signal { name: "minimumSizeChanged" } + Method { + name: "styleFont" + type: "QFont" + Parameter { name: "control"; type: "QQuickItem"; isPointer: true } + } + } + Component { + file: "qquickstyleitembutton.h" + name: "QQuickStyleItemButton" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/Button 6.0", + "QtQuick.NativeStyle/Button 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + } + Component { + file: "qquickstyleitemcheckbox.h" + name: "QQuickStyleItemCheckBox" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/CheckBox 6.0", + "QtQuick.NativeStyle/CheckBox 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + } + Component { + file: "qquickstyleitemcombobox.h" + name: "QQuickStyleItemComboBox" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/ComboBox 6.0", + "QtQuick.NativeStyle/ComboBox 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + } + Component { + file: "qquickstyleitemdial.h" + name: "QQuickStyleItemDial" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/Dial 6.0", + "QtQuick.NativeStyle/Dial 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + } + Component { + file: "qquickstyleitemframe.h" + name: "QQuickStyleItemFrame" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/Frame 6.0", + "QtQuick.NativeStyle/Frame 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + } + Component { + file: "qquickstyleitemgroupbox.h" + name: "QQuickStyleItemGroupBox" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/GroupBox 6.0", + "QtQuick.NativeStyle/GroupBox 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + Property { + name: "groupBoxPadding" + type: "QQuickStyleMargins" + read: "groupBoxPadding" + notify: "groupBoxPaddingChanged" + index: 0 + isReadonly: true + } + Property { + name: "labelPos" + type: "QPointF" + read: "labelPos" + notify: "labelPosChanged" + index: 1 + isReadonly: true + } + Signal { name: "groupBoxPaddingChanged" } + Signal { name: "labelPosChanged" } + } + Component { + file: "qquickstyleitemprogressbar.h" + name: "QQuickStyleItemProgressBar" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/ProgressBar 6.0", + "QtQuick.NativeStyle/ProgressBar 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + } + Component { + file: "qquickstyleitemradiobutton.h" + name: "QQuickStyleItemRadioButton" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/RadioButton 6.0", + "QtQuick.NativeStyle/RadioButton 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + } + Component { + file: "qquickstyleitemscrollbar.h" + name: "QQuickStyleItemScrollBar" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/ScrollBar 6.0", + "QtQuick.NativeStyle/ScrollBar 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + Enum { + name: "SubControl" + values: ["Groove", "Handle", "AddLine", "SubLine"] + } + Property { name: "subControl"; type: "SubControl"; index: 0 } + } + Component { + file: "qquickstyleitemslider.h" + name: "QQuickStyleItemSlider" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/Slider 6.0", + "QtQuick.NativeStyle/Slider 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + Enum { + name: "SubControl" + values: ["Groove", "Handle"] + } + Property { name: "subControl"; type: "SubControl"; index: 0 } + } + Component { + file: "qquickstyleitemspinbox.h" + name: "QQuickStyleItemSpinBox" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/SpinBox 6.0", + "QtQuick.NativeStyle/SpinBox 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + Enum { + name: "SubControl" + values: ["Frame", "Up", "Down"] + } + Property { name: "subControl"; type: "SubControl"; index: 0 } + } + Component { + file: "qquickstyleitemtextfield.h" + name: "QQuickStyleItemTextField" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/TextField 6.0", + "QtQuick.NativeStyle/TextField 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + } + Component { + file: "qquickstyleitemtreeindicator.h" + name: "QQuickStyleItemTreeIndicator" + accessSemantics: "reference" + prototype: "QQuickStyleItem" + exports: [ + "QtQuick.NativeStyle/TreeIndicator 6.0", + "QtQuick.NativeStyle/TreeIndicator 6.3" + ] + exportMetaObjectRevisions: [1536, 1539] + } + Component { + file: "qquickstyleitem.h" + name: "QQuickStyleMargins" + accessSemantics: "value" + exports: ["QtQuick.NativeStyle/stylemargins 6.0"] + isCreatable: false + exportMetaObjectRevisions: [1536] + Property { name: "left"; type: "int"; read: "left"; index: 0; isReadonly: true } + Property { name: "top"; type: "int"; read: "top"; index: 1; isReadonly: true } + Property { name: "right"; type: "int"; read: "right"; index: 2; isReadonly: true } + Property { name: "bottom"; type: "int"; read: "bottom"; index: 3; isReadonly: true } + } +} diff --git a/bin/qml/QtQuick/NativeStyle/qmldir b/bin/qml/QtQuick/NativeStyle/qmldir new file mode 100644 index 000000000..4ab0813a4 --- /dev/null +++ b/bin/qml/QtQuick/NativeStyle/qmldir @@ -0,0 +1,38 @@ +module QtQuick.NativeStyle +linktarget Qt6::qtquickcontrols2nativestyleplugin +plugin qtquickcontrols2nativestyleplugin +classname QtQuickControls2NativeStylePlugin +typeinfo plugins.qmltypes +depends QtQuick.Controls auto +depends QtQuick.Layouts auto +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/NativeStyle/ +DefaultButton 6.0 controls/DefaultButton.qml +DefaultButton 2.0 controls/DefaultButton.qml +DefaultSlider 6.0 controls/DefaultSlider.qml +DefaultSlider 2.0 controls/DefaultSlider.qml +DefaultGroupBox 6.0 controls/DefaultGroupBox.qml +DefaultGroupBox 2.0 controls/DefaultGroupBox.qml +DefaultCheckBox 6.0 controls/DefaultCheckBox.qml +DefaultCheckBox 2.0 controls/DefaultCheckBox.qml +DefaultRadioButton 6.0 controls/DefaultRadioButton.qml +DefaultRadioButton 2.0 controls/DefaultRadioButton.qml +DefaultSpinBox 6.0 controls/DefaultSpinBox.qml +DefaultSpinBox 2.0 controls/DefaultSpinBox.qml +DefaultTextField 6.0 controls/DefaultTextField.qml +DefaultTextField 2.0 controls/DefaultTextField.qml +DefaultFrame 6.0 controls/DefaultFrame.qml +DefaultFrame 2.0 controls/DefaultFrame.qml +DefaultTextArea 6.0 controls/DefaultTextArea.qml +DefaultTextArea 2.0 controls/DefaultTextArea.qml +DefaultComboBox 6.0 controls/DefaultComboBox.qml +DefaultComboBox 2.0 controls/DefaultComboBox.qml +DefaultScrollBar 6.0 controls/DefaultScrollBar.qml +DefaultScrollBar 2.0 controls/DefaultScrollBar.qml +DefaultProgressBar 6.0 controls/DefaultProgressBar.qml +DefaultProgressBar 2.0 controls/DefaultProgressBar.qml +DefaultDial 6.0 controls/DefaultDial.qml +DefaultDial 2.0 controls/DefaultDial.qml +DefaultTreeViewDelegate 6.0 controls/DefaultTreeViewDelegate.qml +DefaultTreeViewDelegate 2.0 controls/DefaultTreeViewDelegate.qml + diff --git a/bin/qml/QtQuick/NativeStyle/qtquickcontrols2nativestyleplugin.dll b/bin/qml/QtQuick/NativeStyle/qtquickcontrols2nativestyleplugin.dll new file mode 100644 index 000000000..a3511f0a2 Binary files /dev/null and b/bin/qml/QtQuick/NativeStyle/qtquickcontrols2nativestyleplugin.dll differ diff --git a/bin/qml/QtQuick/Shapes/plugins.qmltypes b/bin/qml/QtQuick/Shapes/plugins.qmltypes new file mode 100644 index 000000000..b4ce11f32 --- /dev/null +++ b/bin/qml/QtQuick/Shapes/plugins.qmltypes @@ -0,0 +1,490 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickshape_p.h" + name: "QQuickShape" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Shapes/Shape 1.0", + "QtQuick.Shapes/Shape 1.11", + "QtQuick.Shapes/Shape 2.0", + "QtQuick.Shapes/Shape 2.1", + "QtQuick.Shapes/Shape 2.4", + "QtQuick.Shapes/Shape 2.7", + "QtQuick.Shapes/Shape 2.11", + "QtQuick.Shapes/Shape 6.0", + "QtQuick.Shapes/Shape 6.3", + "QtQuick.Shapes/Shape 6.6" + ] + exportMetaObjectRevisions: [ + 256, + 267, + 512, + 513, + 516, + 519, + 523, + 1536, + 1539, + 1542 + ] + Enum { + name: "RendererType" + values: [ + "UnknownRenderer", + "GeometryRenderer", + "NvprRenderer", + "SoftwareRenderer", + "CurveRenderer" + ] + } + Enum { + name: "Status" + values: ["Null", "Ready", "Processing"] + } + Enum { + name: "ContainsMode" + values: ["BoundingRectContains", "FillContains"] + } + Property { + name: "rendererType" + type: "RendererType" + read: "rendererType" + notify: "rendererChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "asynchronous" + type: "bool" + read: "asynchronous" + write: "setAsynchronous" + notify: "asynchronousChanged" + index: 1 + isFinal: true + } + Property { + name: "vendorExtensionsEnabled" + type: "bool" + read: "vendorExtensionsEnabled" + write: "setVendorExtensionsEnabled" + notify: "vendorExtensionsEnabledChanged" + index: 2 + isFinal: true + } + Property { + name: "preferredRendererType" + revision: 1542 + type: "RendererType" + read: "preferredRendererType" + write: "setPreferredRendererType" + notify: "preferredRendererTypeChanged" + index: 3 + isFinal: true + } + Property { + name: "status" + type: "Status" + read: "status" + notify: "statusChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "containsMode" + revision: 267 + type: "ContainsMode" + read: "containsMode" + write: "setContainsMode" + notify: "containsModeChanged" + index: 5 + isFinal: true + } + Property { + name: "boundingRect" + revision: 1542 + type: "QRectF" + read: "boundingRect" + notify: "boundingRectChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { name: "data"; type: "QObject"; isList: true; read: "data"; index: 7; isReadonly: true } + Signal { name: "rendererChanged" } + Signal { name: "asynchronousChanged" } + Signal { name: "vendorExtensionsEnabledChanged" } + Signal { name: "statusChanged" } + Signal { name: "preferredRendererTypeChanged"; revision: 1542 } + Signal { name: "boundingRectChanged"; revision: 1542 } + Signal { name: "containsModeChanged"; revision: 267 } + Method { name: "_q_shapePathChanged" } + } + Component { + file: "private/qquickshape_p.h" + name: "QQuickShapeConicalGradient" + accessSemantics: "reference" + defaultProperty: "stops" + prototype: "QQuickShapeGradient" + exports: [ + "QtQuick.Shapes/ConicalGradient 1.0", + "QtQuick.Shapes/ConicalGradient 2.0", + "QtQuick.Shapes/ConicalGradient 2.12", + "QtQuick.Shapes/ConicalGradient 6.0" + ] + exportMetaObjectRevisions: [256, 512, 524, 1536] + Property { + name: "centerX" + type: "double" + read: "centerX" + write: "setCenterX" + notify: "centerXChanged" + index: 0 + isFinal: true + } + Property { + name: "centerY" + type: "double" + read: "centerY" + write: "setCenterY" + notify: "centerYChanged" + index: 1 + isFinal: true + } + Property { + name: "angle" + type: "double" + read: "angle" + write: "setAngle" + notify: "angleChanged" + index: 2 + isFinal: true + } + Signal { name: "centerXChanged" } + Signal { name: "centerYChanged" } + Signal { name: "angleChanged" } + } + Component { + file: "private/qquickshape_p.h" + name: "QQuickShapeGradient" + accessSemantics: "reference" + defaultProperty: "stops" + prototype: "QQuickGradient" + exports: [ + "QtQuick.Shapes/ShapeGradient 1.0", + "QtQuick.Shapes/ShapeGradient 2.0", + "QtQuick.Shapes/ShapeGradient 2.12", + "QtQuick.Shapes/ShapeGradient 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [256, 512, 524, 1536] + Enum { + name: "SpreadMode" + values: ["PadSpread", "ReflectSpread", "RepeatSpread"] + } + Property { + name: "spread" + type: "SpreadMode" + read: "spread" + write: "setSpread" + notify: "spreadChanged" + index: 0 + isFinal: true + } + Signal { name: "spreadChanged" } + } + Component { + file: "private/qquickshape_p.h" + name: "QQuickShapeLinearGradient" + accessSemantics: "reference" + defaultProperty: "stops" + prototype: "QQuickShapeGradient" + exports: [ + "QtQuick.Shapes/LinearGradient 1.0", + "QtQuick.Shapes/LinearGradient 2.0", + "QtQuick.Shapes/LinearGradient 2.12", + "QtQuick.Shapes/LinearGradient 6.0" + ] + exportMetaObjectRevisions: [256, 512, 524, 1536] + Property { + name: "x1" + type: "double" + read: "x1" + write: "setX1" + notify: "x1Changed" + index: 0 + isFinal: true + } + Property { + name: "y1" + type: "double" + read: "y1" + write: "setY1" + notify: "y1Changed" + index: 1 + isFinal: true + } + Property { + name: "x2" + type: "double" + read: "x2" + write: "setX2" + notify: "x2Changed" + index: 2 + isFinal: true + } + Property { + name: "y2" + type: "double" + read: "y2" + write: "setY2" + notify: "y2Changed" + index: 3 + isFinal: true + } + Signal { name: "x1Changed" } + Signal { name: "y1Changed" } + Signal { name: "x2Changed" } + Signal { name: "y2Changed" } + } + Component { + file: "private/qquickshape_p.h" + name: "QQuickShapePath" + accessSemantics: "reference" + defaultProperty: "pathElements" + prototype: "QQuickPath" + exports: [ + "QtQuick.Shapes/ShapePath 1.0", + "QtQuick.Shapes/ShapePath 1.14", + "QtQuick.Shapes/ShapePath 2.0", + "QtQuick.Shapes/ShapePath 2.14", + "QtQuick.Shapes/ShapePath 6.0", + "QtQuick.Shapes/ShapePath 6.6" + ] + exportMetaObjectRevisions: [256, 270, 512, 526, 1536, 1542] + Enum { + name: "FillRule" + values: ["OddEvenFill", "WindingFill"] + } + Enum { + name: "JoinStyle" + values: ["MiterJoin", "BevelJoin", "RoundJoin"] + } + Enum { + name: "CapStyle" + values: ["FlatCap", "SquareCap", "RoundCap"] + } + Enum { + name: "StrokeStyle" + values: ["SolidLine", "DashLine"] + } + Property { + name: "strokeColor" + type: "QColor" + read: "strokeColor" + write: "setStrokeColor" + notify: "strokeColorChanged" + index: 0 + isFinal: true + } + Property { + name: "strokeWidth" + type: "double" + read: "strokeWidth" + write: "setStrokeWidth" + notify: "strokeWidthChanged" + index: 1 + isFinal: true + } + Property { + name: "fillColor" + type: "QColor" + read: "fillColor" + write: "setFillColor" + notify: "fillColorChanged" + index: 2 + isFinal: true + } + Property { + name: "fillRule" + type: "FillRule" + read: "fillRule" + write: "setFillRule" + notify: "fillRuleChanged" + index: 3 + isFinal: true + } + Property { + name: "joinStyle" + type: "JoinStyle" + read: "joinStyle" + write: "setJoinStyle" + notify: "joinStyleChanged" + index: 4 + isFinal: true + } + Property { + name: "miterLimit" + type: "int" + read: "miterLimit" + write: "setMiterLimit" + notify: "miterLimitChanged" + index: 5 + isFinal: true + } + Property { + name: "capStyle" + type: "CapStyle" + read: "capStyle" + write: "setCapStyle" + notify: "capStyleChanged" + index: 6 + isFinal: true + } + Property { + name: "strokeStyle" + type: "StrokeStyle" + read: "strokeStyle" + write: "setStrokeStyle" + notify: "strokeStyleChanged" + index: 7 + isFinal: true + } + Property { + name: "dashOffset" + type: "double" + read: "dashOffset" + write: "setDashOffset" + notify: "dashOffsetChanged" + index: 8 + isFinal: true + } + Property { + name: "dashPattern" + type: "double" + isList: true + read: "dashPattern" + write: "setDashPattern" + notify: "dashPatternChanged" + index: 9 + isFinal: true + } + Property { + name: "fillGradient" + type: "QQuickShapeGradient" + isPointer: true + read: "fillGradient" + write: "setFillGradient" + reset: "resetFillGradient" + index: 10 + isFinal: true + } + Property { + name: "scale" + revision: 270 + type: "QSizeF" + read: "scale" + write: "setScale" + notify: "scaleChanged" + index: 11 + isFinal: true + } + Signal { name: "shapePathChanged" } + Signal { name: "strokeColorChanged" } + Signal { name: "strokeWidthChanged" } + Signal { name: "fillColorChanged" } + Signal { name: "fillRuleChanged" } + Signal { name: "joinStyleChanged" } + Signal { name: "miterLimitChanged" } + Signal { name: "capStyleChanged" } + Signal { name: "strokeStyleChanged" } + Signal { name: "dashOffsetChanged" } + Signal { name: "dashPatternChanged" } + Method { name: "_q_fillGradientChanged" } + } + Component { + file: "private/qquickshape_p.h" + name: "QQuickShapeRadialGradient" + accessSemantics: "reference" + defaultProperty: "stops" + prototype: "QQuickShapeGradient" + exports: [ + "QtQuick.Shapes/RadialGradient 1.0", + "QtQuick.Shapes/RadialGradient 2.0", + "QtQuick.Shapes/RadialGradient 2.12", + "QtQuick.Shapes/RadialGradient 6.0" + ] + exportMetaObjectRevisions: [256, 512, 524, 1536] + Property { + name: "centerX" + type: "double" + read: "centerX" + write: "setCenterX" + notify: "centerXChanged" + index: 0 + isFinal: true + } + Property { + name: "centerY" + type: "double" + read: "centerY" + write: "setCenterY" + notify: "centerYChanged" + index: 1 + isFinal: true + } + Property { + name: "centerRadius" + type: "double" + read: "centerRadius" + write: "setCenterRadius" + notify: "centerRadiusChanged" + index: 2 + isFinal: true + } + Property { + name: "focalX" + type: "double" + read: "focalX" + write: "setFocalX" + notify: "focalXChanged" + index: 3 + isFinal: true + } + Property { + name: "focalY" + type: "double" + read: "focalY" + write: "setFocalY" + notify: "focalYChanged" + index: 4 + isFinal: true + } + Property { + name: "focalRadius" + type: "double" + read: "focalRadius" + write: "setFocalRadius" + notify: "focalRadiusChanged" + index: 5 + isFinal: true + } + Signal { name: "centerXChanged" } + Signal { name: "centerYChanged" } + Signal { name: "focalXChanged" } + Signal { name: "focalYChanged" } + Signal { name: "centerRadiusChanged" } + Signal { name: "focalRadiusChanged" } + } +} diff --git a/bin/qml/QtQuick/Shapes/qmldir b/bin/qml/QtQuick/Shapes/qmldir new file mode 100644 index 000000000..428ff391a --- /dev/null +++ b/bin/qml/QtQuick/Shapes/qmldir @@ -0,0 +1,8 @@ +module QtQuick.Shapes +linktarget Qt6::qmlshapesplugin +plugin qmlshapesplugin +classname QmlShapesPlugin +typeinfo plugins.qmltypes +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Shapes/ + diff --git a/bin/qml/QtQuick/Shapes/qmlshapesplugin.dll b/bin/qml/QtQuick/Shapes/qmlshapesplugin.dll new file mode 100644 index 000000000..2c7186136 Binary files /dev/null and b/bin/qml/QtQuick/Shapes/qmlshapesplugin.dll differ diff --git a/bin/qml/QtQuick/Templates/plugins.qmltypes b/bin/qml/QtQuick/Templates/plugins.qmltypes new file mode 100644 index 000000000..87ee65caa --- /dev/null +++ b/bin/qml/QtQuick/Templates/plugins.qmltypes @@ -0,0 +1,7818 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qplatformdialoghelper.h" + name: "QPlatformDialogHelper" + accessSemantics: "reference" + prototype: "QObject" + Enum { + name: "StandardButtons" + alias: "StandardButton" + isFlag: true + values: [ + "NoButton", + "Ok", + "Save", + "SaveAll", + "Open", + "Yes", + "YesToAll", + "No", + "NoToAll", + "Abort", + "Retry", + "Ignore", + "Close", + "Cancel", + "Discard", + "Help", + "Apply", + "Reset", + "RestoreDefaults", + "FirstButton", + "LastButton", + "LowestBit", + "HighestBit" + ] + } + Enum { + name: "ButtonRole" + values: [ + "InvalidRole", + "AcceptRole", + "RejectRole", + "DestructiveRole", + "ActionRole", + "HelpRole", + "YesRole", + "NoRole", + "ResetRole", + "ApplyRole", + "NRoles", + "RoleMask", + "AlternateRole", + "Stretch", + "Reverse", + "EOL" + ] + } + Enum { + name: "ButtonLayout" + values: [ + "UnknownLayout", + "WinLayout", + "MacLayout", + "KdeLayout", + "GnomeLayout", + "AndroidLayout" + ] + } + Signal { name: "accept" } + Signal { name: "reject" } + } + Component { + file: "private/qquickabstractbutton_p.h" + name: "QQuickAbstractButton" + accessSemantics: "reference" + prototype: "QQuickControl" + deferredNames: ["background", "contentItem", "indicator"] + exports: [ + "QtQuick.Templates/AbstractButton 2.0", + "QtQuick.Templates/AbstractButton 2.1", + "QtQuick.Templates/AbstractButton 2.2", + "QtQuick.Templates/AbstractButton 2.3", + "QtQuick.Templates/AbstractButton 2.4", + "QtQuick.Templates/AbstractButton 2.5", + "QtQuick.Templates/AbstractButton 2.7", + "QtQuick.Templates/AbstractButton 2.11", + "QtQuick.Templates/AbstractButton 6.0", + "QtQuick.Templates/AbstractButton 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Enum { + name: "Display" + values: [ + "IconOnly", + "TextOnly", + "TextBesideIcon", + "TextUnderIcon" + ] + } + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + reset: "resetText" + notify: "textChanged" + index: 0 + isFinal: true + } + Property { + name: "down" + type: "bool" + read: "isDown" + write: "setDown" + reset: "resetDown" + notify: "downChanged" + index: 1 + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + notify: "pressedChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "checked" + type: "bool" + read: "isChecked" + write: "setChecked" + notify: "checkedChanged" + index: 3 + isFinal: true + } + Property { + name: "checkable" + type: "bool" + read: "isCheckable" + write: "setCheckable" + notify: "checkableChanged" + index: 4 + isFinal: true + } + Property { + name: "autoExclusive" + type: "bool" + read: "autoExclusive" + write: "setAutoExclusive" + notify: "autoExclusiveChanged" + index: 5 + isFinal: true + } + Property { + name: "autoRepeat" + type: "bool" + read: "autoRepeat" + write: "setAutoRepeat" + notify: "autoRepeatChanged" + index: 6 + isFinal: true + } + Property { + name: "indicator" + type: "QQuickItem" + isPointer: true + read: "indicator" + write: "setIndicator" + notify: "indicatorChanged" + index: 7 + isFinal: true + } + Property { + name: "icon" + revision: 515 + type: "QQuickIcon" + read: "icon" + write: "setIcon" + notify: "iconChanged" + index: 8 + isFinal: true + } + Property { + name: "display" + revision: 515 + type: "Display" + read: "display" + write: "setDisplay" + notify: "displayChanged" + index: 9 + isFinal: true + } + Property { + name: "action" + revision: 515 + type: "QQuickAction" + isPointer: true + read: "action" + write: "setAction" + notify: "actionChanged" + index: 10 + isFinal: true + } + Property { + name: "autoRepeatDelay" + revision: 516 + type: "int" + read: "autoRepeatDelay" + write: "setAutoRepeatDelay" + notify: "autoRepeatDelayChanged" + index: 11 + isFinal: true + } + Property { + name: "autoRepeatInterval" + revision: 516 + type: "int" + read: "autoRepeatInterval" + write: "setAutoRepeatInterval" + notify: "autoRepeatIntervalChanged" + index: 12 + isFinal: true + } + Property { + name: "pressX" + revision: 516 + type: "double" + read: "pressX" + notify: "pressXChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "pressY" + revision: 516 + type: "double" + read: "pressY" + notify: "pressYChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "implicitIndicatorWidth" + revision: 517 + type: "double" + read: "implicitIndicatorWidth" + notify: "implicitIndicatorWidthChanged" + index: 15 + isReadonly: true + isFinal: true + } + Property { + name: "implicitIndicatorHeight" + revision: 517 + type: "double" + read: "implicitIndicatorHeight" + notify: "implicitIndicatorHeightChanged" + index: 16 + isReadonly: true + isFinal: true + } + Signal { name: "pressed" } + Signal { name: "released" } + Signal { name: "canceled" } + Signal { name: "clicked" } + Signal { name: "pressAndHold" } + Signal { name: "doubleClicked" } + Signal { name: "textChanged" } + Signal { name: "downChanged" } + Signal { name: "pressedChanged" } + Signal { name: "checkedChanged" } + Signal { name: "checkableChanged" } + Signal { name: "autoExclusiveChanged" } + Signal { name: "autoRepeatChanged" } + Signal { name: "indicatorChanged" } + Signal { name: "toggled"; revision: 514 } + Signal { name: "iconChanged"; revision: 515 } + Signal { name: "displayChanged"; revision: 515 } + Signal { name: "actionChanged"; revision: 515 } + Signal { name: "autoRepeatDelayChanged"; revision: 516 } + Signal { name: "autoRepeatIntervalChanged"; revision: 516 } + Signal { name: "pressXChanged"; revision: 516 } + Signal { name: "pressYChanged"; revision: 516 } + Signal { name: "implicitIndicatorWidthChanged"; revision: 517 } + Signal { name: "implicitIndicatorHeightChanged"; revision: 517 } + Method { name: "toggle" } + Method { name: "accessiblePressAction" } + } + Component { + file: "private/qquickaction_p.h" + name: "QQuickAction" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick.Templates/Action 2.3", + "QtQuick.Templates/Action 6.0" + ] + exportMetaObjectRevisions: [515, 1536] + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + notify: "textChanged" + index: 0 + isFinal: true + } + Property { + name: "icon" + type: "QQuickIcon" + read: "icon" + write: "setIcon" + notify: "iconChanged" + index: 1 + isFinal: true + } + Property { + name: "enabled" + type: "bool" + read: "isEnabled" + write: "setEnabled" + reset: "resetEnabled" + notify: "enabledChanged" + index: 2 + isFinal: true + } + Property { + name: "checked" + type: "bool" + read: "isChecked" + write: "setChecked" + notify: "checkedChanged" + index: 3 + isFinal: true + } + Property { + name: "checkable" + type: "bool" + read: "isCheckable" + write: "setCheckable" + notify: "checkableChanged" + index: 4 + isFinal: true + } + Property { + name: "shortcut" + type: "QVariant" + read: "shortcut" + write: "setShortcut" + notify: "shortcutChanged" + index: 5 + privateClass: "QQuickActionPrivate" + isFinal: true + } + Signal { + name: "textChanged" + Parameter { name: "text"; type: "QString" } + } + Signal { + name: "iconChanged" + Parameter { name: "icon"; type: "QQuickIcon" } + } + Signal { + name: "enabledChanged" + Parameter { name: "enabled"; type: "bool" } + } + Signal { + name: "checkedChanged" + Parameter { name: "checked"; type: "bool" } + } + Signal { + name: "checkableChanged" + Parameter { name: "checkable"; type: "bool" } + } + Signal { + name: "shortcutChanged" + Parameter { name: "shortcut"; type: "QKeySequence" } + } + Signal { + name: "toggled" + Parameter { name: "source"; type: "QObject"; isPointer: true } + } + Signal { name: "toggled"; isCloned: true } + Signal { + name: "triggered" + Parameter { name: "source"; type: "QObject"; isPointer: true } + } + Signal { name: "triggered"; isCloned: true } + Method { + name: "toggle" + Parameter { name: "source"; type: "QObject"; isPointer: true } + } + Method { name: "toggle"; isCloned: true } + Method { + name: "trigger" + Parameter { name: "source"; type: "QObject"; isPointer: true } + } + Method { name: "trigger"; isCloned: true } + } + Component { + file: "private/qquickactiongroup_p.h" + name: "QQuickActionGroup" + accessSemantics: "reference" + defaultProperty: "actions" + prototype: "QObject" + exports: [ + "QtQuick.Templates/ActionGroup 2.3", + "QtQuick.Templates/ActionGroup 6.0" + ] + exportMetaObjectRevisions: [515, 1536] + attachedType: "QQuickActionGroupAttached" + Property { + name: "checkedAction" + type: "QQuickAction" + isPointer: true + read: "checkedAction" + write: "setCheckedAction" + notify: "checkedActionChanged" + index: 0 + isFinal: true + } + Property { + name: "actions" + type: "QQuickAction" + isList: true + read: "actions" + notify: "actionsChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "exclusive" + type: "bool" + read: "isExclusive" + write: "setExclusive" + notify: "exclusiveChanged" + index: 2 + isFinal: true + } + Property { + name: "enabled" + type: "bool" + read: "isEnabled" + write: "setEnabled" + notify: "enabledChanged" + index: 3 + isFinal: true + } + Signal { name: "checkedActionChanged" } + Signal { name: "actionsChanged" } + Signal { name: "exclusiveChanged" } + Signal { name: "enabledChanged" } + Signal { + name: "triggered" + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { + name: "addAction" + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { + name: "removeAction" + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { name: "_q_updateCurrent" } + } + Component { + file: "private/qquickactiongroup_p.h" + name: "QQuickActionGroupAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "group" + type: "QQuickActionGroup" + isPointer: true + read: "group" + write: "setGroup" + notify: "groupChanged" + index: 0 + isFinal: true + } + Signal { name: "groupChanged" } + } + Component { + file: "private/qquickapplicationwindow_p.h" + name: "QQuickApplicationWindow" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickWindowQmlImpl" + deferredNames: ["background"] + exports: [ + "QtQuick.Templates/ApplicationWindow 2.0", + "QtQuick.Templates/ApplicationWindow 2.1", + "QtQuick.Templates/ApplicationWindow 2.2", + "QtQuick.Templates/ApplicationWindow 2.3", + "QtQuick.Templates/ApplicationWindow 2.13", + "QtQuick.Templates/ApplicationWindow 2.14", + "QtQuick.Templates/ApplicationWindow 6.0", + "QtQuick.Templates/ApplicationWindow 6.2" + ] + exportMetaObjectRevisions: [512, 513, 514, 515, 525, 526, 1536, 1538] + attachedType: "QQuickApplicationWindowAttached" + Property { + name: "background" + type: "QQuickItem" + isPointer: true + read: "background" + write: "setBackground" + notify: "backgroundChanged" + index: 0 + isFinal: true + } + Property { + name: "contentItem" + type: "QQuickItem" + isPointer: true + read: "contentItem" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "contentData" + type: "QObject" + isList: true + read: "contentData" + index: 2 + privateClass: "QQuickApplicationWindowPrivate" + isReadonly: true + isFinal: true + } + Property { + name: "activeFocusControl" + type: "QQuickItem" + isPointer: true + read: "activeFocusControl" + notify: "activeFocusControlChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "header" + type: "QQuickItem" + isPointer: true + read: "header" + write: "setHeader" + notify: "headerChanged" + index: 4 + isFinal: true + } + Property { + name: "footer" + type: "QQuickItem" + isPointer: true + read: "footer" + write: "setFooter" + notify: "footerChanged" + index: 5 + isFinal: true + } + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + reset: "resetFont" + notify: "fontChanged" + index: 6 + isFinal: true + } + Property { + name: "locale" + type: "QLocale" + read: "locale" + write: "setLocale" + reset: "resetLocale" + notify: "localeChanged" + index: 7 + isFinal: true + } + Property { + name: "menuBar" + revision: 515 + type: "QQuickItem" + isPointer: true + read: "menuBar" + write: "setMenuBar" + notify: "menuBarChanged" + index: 8 + isFinal: true + } + Property { + name: "palette" + revision: 515 + type: "QQuickPalette" + isPointer: true + read: "palette" + write: "setPalette" + reset: "resetPalette" + notify: "paletteChanged" + index: 9 + privateClass: "QQuickApplicationWindowPrivate" + } + Signal { name: "backgroundChanged" } + Signal { name: "activeFocusControlChanged" } + Signal { name: "headerChanged" } + Signal { name: "footerChanged" } + Signal { name: "fontChanged" } + Signal { name: "localeChanged" } + Signal { name: "menuBarChanged"; revision: 515 } + Method { name: "_q_updateActiveFocus" } + } + Component { + file: "private/qquickapplicationwindow_p.h" + name: "QQuickApplicationWindowAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "window" + type: "QQuickApplicationWindow" + isPointer: true + read: "window" + notify: "windowChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "contentItem" + type: "QQuickItem" + isPointer: true + read: "contentItem" + notify: "contentItemChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "activeFocusControl" + type: "QQuickItem" + isPointer: true + read: "activeFocusControl" + notify: "activeFocusControlChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "header" + type: "QQuickItem" + isPointer: true + read: "header" + notify: "headerChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "footer" + type: "QQuickItem" + isPointer: true + read: "footer" + notify: "footerChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "menuBar" + type: "QQuickItem" + isPointer: true + read: "menuBar" + notify: "menuBarChanged" + index: 5 + isReadonly: true + isFinal: true + } + Signal { name: "windowChanged" } + Signal { name: "contentItemChanged" } + Signal { name: "activeFocusControlChanged" } + Signal { name: "headerChanged" } + Signal { name: "footerChanged" } + Signal { name: "menuBarChanged" } + } + Component { + file: "private/qquickbusyindicator_p.h" + name: "QQuickBusyIndicator" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/BusyIndicator 2.0", + "QtQuick.Templates/BusyIndicator 2.1", + "QtQuick.Templates/BusyIndicator 2.4", + "QtQuick.Templates/BusyIndicator 2.5", + "QtQuick.Templates/BusyIndicator 2.7", + "QtQuick.Templates/BusyIndicator 2.11", + "QtQuick.Templates/BusyIndicator 6.0", + "QtQuick.Templates/BusyIndicator 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 517, 519, 523, 1536, 1539] + Property { + name: "running" + type: "bool" + read: "isRunning" + write: "setRunning" + notify: "runningChanged" + index: 0 + isFinal: true + } + Signal { name: "runningChanged" } + } + Component { + file: "private/qquickbutton_p.h" + name: "QQuickButton" + accessSemantics: "reference" + prototype: "QQuickAbstractButton" + exports: [ + "QtQuick.Templates/Button 2.0", + "QtQuick.Templates/Button 2.1", + "QtQuick.Templates/Button 2.2", + "QtQuick.Templates/Button 2.3", + "QtQuick.Templates/Button 2.4", + "QtQuick.Templates/Button 2.5", + "QtQuick.Templates/Button 2.7", + "QtQuick.Templates/Button 2.11", + "QtQuick.Templates/Button 6.0", + "QtQuick.Templates/Button 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Property { + name: "highlighted" + type: "bool" + read: "isHighlighted" + write: "setHighlighted" + notify: "highlightedChanged" + index: 0 + isFinal: true + } + Property { + name: "flat" + type: "bool" + read: "isFlat" + write: "setFlat" + notify: "flatChanged" + index: 1 + isFinal: true + } + Signal { name: "highlightedChanged" } + Signal { name: "flatChanged" } + } + Component { + file: "private/qquickbuttongroup_p.h" + name: "QQuickButtonGroup" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQuick.Templates/ButtonGroup 2.0", + "QtQuick.Templates/ButtonGroup 2.1", + "QtQuick.Templates/ButtonGroup 2.3", + "QtQuick.Templates/ButtonGroup 2.4", + "QtQuick.Templates/ButtonGroup 6.0" + ] + exportMetaObjectRevisions: [512, 513, 515, 516, 1536] + attachedType: "QQuickButtonGroupAttached" + Property { + name: "checkedButton" + type: "QQuickAbstractButton" + isPointer: true + read: "checkedButton" + write: "setCheckedButton" + notify: "checkedButtonChanged" + index: 0 + isFinal: true + } + Property { + name: "buttons" + type: "QQuickAbstractButton" + isList: true + read: "buttons" + notify: "buttonsChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "exclusive" + revision: 515 + type: "bool" + read: "isExclusive" + write: "setExclusive" + notify: "exclusiveChanged" + index: 2 + isFinal: true + } + Property { + name: "checkState" + revision: 516 + type: "Qt::CheckState" + read: "checkState" + write: "setCheckState" + notify: "checkStateChanged" + index: 3 + isFinal: true + } + Signal { name: "checkedButtonChanged" } + Signal { name: "buttonsChanged" } + Signal { + name: "clicked" + revision: 513 + Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } + } + Signal { name: "exclusiveChanged"; revision: 515 } + Signal { name: "checkStateChanged"; revision: 516 } + Method { + name: "addButton" + Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } + } + Method { + name: "removeButton" + Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } + } + Method { name: "_q_updateCurrent" } + } + Component { + file: "private/qquickbuttongroup_p.h" + name: "QQuickButtonGroupAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "group" + type: "QQuickButtonGroup" + isPointer: true + read: "group" + write: "setGroup" + notify: "groupChanged" + index: 0 + isFinal: true + } + Signal { name: "groupChanged" } + } + Component { + file: "private/qquickcalendar_p.h" + name: "QQuickCalendar" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick.Templates/Calendar 6.3"] + exportMetaObjectRevisions: [1539] + Enum { + name: "Month" + values: [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" + ] + } + } + Component { + file: "private/qquickcalendarmodel_p.h" + name: "QQuickCalendarModel" + accessSemantics: "reference" + prototype: "QAbstractListModel" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQuick.Templates/CalendarModel 6.3", + "QtQuick.Templates/CalendarModel 6.4" + ] + exportMetaObjectRevisions: [1539, 1540] + Property { + name: "from" + type: "QDate" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 0 + isFinal: true + } + Property { + name: "to" + type: "QDate" + read: "to" + write: "setTo" + notify: "toChanged" + index: 1 + isFinal: true + } + Property { + name: "count" + type: "int" + read: "rowCount" + notify: "countChanged" + index: 2 + isReadonly: true + } + Signal { name: "fromChanged" } + Signal { name: "toChanged" } + Signal { name: "countChanged" } + Method { + name: "monthAt" + type: "int" + Parameter { name: "index"; type: "int" } + } + Method { + name: "yearAt" + type: "int" + Parameter { name: "index"; type: "int" } + } + Method { + name: "indexOf" + type: "int" + Parameter { name: "date"; type: "QDate" } + } + Method { + name: "indexOf" + type: "int" + Parameter { name: "year"; type: "int" } + Parameter { name: "month"; type: "int" } + } + } + Component { + file: "private/qquickcheckbox_p.h" + name: "QQuickCheckBox" + accessSemantics: "reference" + prototype: "QQuickAbstractButton" + exports: [ + "QtQuick.Templates/CheckBox 2.0", + "QtQuick.Templates/CheckBox 2.1", + "QtQuick.Templates/CheckBox 2.2", + "QtQuick.Templates/CheckBox 2.3", + "QtQuick.Templates/CheckBox 2.4", + "QtQuick.Templates/CheckBox 2.5", + "QtQuick.Templates/CheckBox 2.7", + "QtQuick.Templates/CheckBox 2.11", + "QtQuick.Templates/CheckBox 6.0", + "QtQuick.Templates/CheckBox 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Property { + name: "tristate" + type: "bool" + read: "isTristate" + write: "setTristate" + notify: "tristateChanged" + index: 0 + isFinal: true + } + Property { + name: "checkState" + type: "Qt::CheckState" + read: "checkState" + write: "setCheckState" + notify: "checkStateChanged" + index: 1 + isFinal: true + } + Property { + name: "nextCheckState" + revision: 516 + type: "QJSValue" + read: "getNextCheckState" + write: "setNextCheckState" + notify: "nextCheckStateChanged" + index: 2 + isFinal: true + } + Signal { name: "tristateChanged" } + Signal { name: "checkStateChanged" } + Signal { name: "nextCheckStateChanged"; revision: 516 } + } + Component { + file: "private/qquickcheckdelegate_p.h" + name: "QQuickCheckDelegate" + accessSemantics: "reference" + prototype: "QQuickItemDelegate" + exports: [ + "QtQuick.Templates/CheckDelegate 2.0", + "QtQuick.Templates/CheckDelegate 2.1", + "QtQuick.Templates/CheckDelegate 2.2", + "QtQuick.Templates/CheckDelegate 2.3", + "QtQuick.Templates/CheckDelegate 2.4", + "QtQuick.Templates/CheckDelegate 2.5", + "QtQuick.Templates/CheckDelegate 2.7", + "QtQuick.Templates/CheckDelegate 2.11", + "QtQuick.Templates/CheckDelegate 6.0", + "QtQuick.Templates/CheckDelegate 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Property { + name: "tristate" + type: "bool" + read: "isTristate" + write: "setTristate" + notify: "tristateChanged" + index: 0 + isFinal: true + } + Property { + name: "checkState" + type: "Qt::CheckState" + read: "checkState" + write: "setCheckState" + notify: "checkStateChanged" + index: 1 + isFinal: true + } + Property { + name: "nextCheckState" + revision: 516 + type: "QJSValue" + write: "setNextCheckState" + notify: "nextCheckStateChanged" + index: 2 + privateClass: "QQuickCheckDelegatePrivate" + isFinal: true + } + Signal { name: "tristateChanged" } + Signal { name: "checkStateChanged" } + Signal { name: "nextCheckStateChanged"; revision: 516 } + } + Component { + file: "private/qquickcombobox_p.h" + name: "QQuickComboBox" + accessSemantics: "reference" + prototype: "QQuickControl" + deferredNames: ["background", "contentItem", "indicator", "popup"] + exports: [ + "QtQuick.Templates/ComboBox 2.0", + "QtQuick.Templates/ComboBox 2.1", + "QtQuick.Templates/ComboBox 2.2", + "QtQuick.Templates/ComboBox 2.4", + "QtQuick.Templates/ComboBox 2.5", + "QtQuick.Templates/ComboBox 2.7", + "QtQuick.Templates/ComboBox 2.11", + "QtQuick.Templates/ComboBox 2.14", + "QtQuick.Templates/ComboBox 2.15", + "QtQuick.Templates/ComboBox 6.0", + "QtQuick.Templates/ComboBox 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 516, + 517, + 519, + 523, + 526, + 527, + 1536, + 1539 + ] + Enum { + name: "ImplicitContentWidthPolicy" + values: [ + "ContentItemImplicitWidth", + "WidestText", + "WidestTextWhenCompleted" + ] + } + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "model" + type: "QVariant" + read: "model" + write: "setModel" + notify: "modelChanged" + index: 1 + isFinal: true + } + Property { + name: "delegateModel" + type: "QQmlInstanceModel" + isPointer: true + read: "delegateModel" + notify: "delegateModelChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + notify: "pressedChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "highlightedIndex" + type: "int" + read: "highlightedIndex" + notify: "highlightedIndexChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "currentIndex" + type: "int" + read: "currentIndex" + write: "setCurrentIndex" + notify: "currentIndexChanged" + index: 5 + isFinal: true + } + Property { + name: "currentText" + type: "QString" + read: "currentText" + notify: "currentTextChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "displayText" + type: "QString" + read: "displayText" + write: "setDisplayText" + reset: "resetDisplayText" + notify: "displayTextChanged" + index: 7 + isFinal: true + } + Property { + name: "textRole" + type: "QString" + read: "textRole" + write: "setTextRole" + notify: "textRoleChanged" + index: 8 + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 9 + isFinal: true + } + Property { + name: "indicator" + type: "QQuickItem" + isPointer: true + read: "indicator" + write: "setIndicator" + notify: "indicatorChanged" + index: 10 + isFinal: true + } + Property { + name: "popup" + type: "QQuickPopup" + isPointer: true + read: "popup" + write: "setPopup" + notify: "popupChanged" + index: 11 + isFinal: true + } + Property { + name: "flat" + revision: 513 + type: "bool" + read: "isFlat" + write: "setFlat" + notify: "flatChanged" + index: 12 + isFinal: true + } + Property { + name: "down" + revision: 514 + type: "bool" + read: "isDown" + write: "setDown" + reset: "resetDown" + notify: "downChanged" + index: 13 + isFinal: true + } + Property { + name: "editable" + revision: 514 + type: "bool" + read: "isEditable" + write: "setEditable" + notify: "editableChanged" + index: 14 + isFinal: true + } + Property { + name: "editText" + revision: 514 + type: "QString" + read: "editText" + write: "setEditText" + reset: "resetEditText" + notify: "editTextChanged" + index: 15 + isFinal: true + } + Property { + name: "validator" + revision: 514 + type: "QValidator" + isPointer: true + read: "validator" + write: "setValidator" + notify: "validatorChanged" + index: 16 + isFinal: true + } + Property { + name: "inputMethodHints" + revision: 514 + type: "Qt::InputMethodHints" + read: "inputMethodHints" + write: "setInputMethodHints" + notify: "inputMethodHintsChanged" + index: 17 + isFinal: true + } + Property { + name: "inputMethodComposing" + revision: 514 + type: "bool" + read: "isInputMethodComposing" + notify: "inputMethodComposingChanged" + index: 18 + isReadonly: true + isFinal: true + } + Property { + name: "acceptableInput" + revision: 514 + type: "bool" + read: "hasAcceptableInput" + notify: "acceptableInputChanged" + index: 19 + isReadonly: true + isFinal: true + } + Property { + name: "implicitIndicatorWidth" + revision: 517 + type: "double" + read: "implicitIndicatorWidth" + notify: "implicitIndicatorWidthChanged" + index: 20 + isReadonly: true + isFinal: true + } + Property { + name: "implicitIndicatorHeight" + revision: 517 + type: "double" + read: "implicitIndicatorHeight" + notify: "implicitIndicatorHeightChanged" + index: 21 + isReadonly: true + isFinal: true + } + Property { + name: "currentValue" + revision: 526 + type: "QVariant" + read: "currentValue" + notify: "currentValueChanged" + index: 22 + isReadonly: true + isFinal: true + } + Property { + name: "valueRole" + revision: 526 + type: "QString" + read: "valueRole" + write: "setValueRole" + notify: "valueRoleChanged" + index: 23 + isFinal: true + } + Property { + name: "selectTextByMouse" + revision: 527 + type: "bool" + read: "selectTextByMouse" + write: "setSelectTextByMouse" + notify: "selectTextByMouseChanged" + index: 24 + isFinal: true + } + Property { + name: "implicitContentWidthPolicy" + revision: 1536 + type: "ImplicitContentWidthPolicy" + read: "implicitContentWidthPolicy" + write: "setImplicitContentWidthPolicy" + notify: "implicitContentWidthPolicyChanged" + index: 25 + isFinal: true + } + Signal { + name: "activated" + Parameter { name: "index"; type: "int" } + } + Signal { + name: "highlighted" + Parameter { name: "index"; type: "int" } + } + Signal { name: "countChanged" } + Signal { name: "modelChanged" } + Signal { name: "delegateModelChanged" } + Signal { name: "pressedChanged" } + Signal { name: "highlightedIndexChanged" } + Signal { name: "currentIndexChanged" } + Signal { name: "currentTextChanged" } + Signal { name: "displayTextChanged" } + Signal { name: "textRoleChanged" } + Signal { name: "delegateChanged" } + Signal { name: "indicatorChanged" } + Signal { name: "popupChanged" } + Signal { name: "flatChanged"; revision: 513 } + Signal { name: "accepted"; revision: 514 } + Signal { name: "downChanged"; revision: 514 } + Signal { name: "editableChanged"; revision: 514 } + Signal { name: "editTextChanged"; revision: 514 } + Signal { name: "validatorChanged"; revision: 514 } + Signal { name: "inputMethodHintsChanged"; revision: 514 } + Signal { name: "inputMethodComposingChanged"; revision: 514 } + Signal { name: "acceptableInputChanged"; revision: 514 } + Signal { name: "implicitIndicatorWidthChanged"; revision: 517 } + Signal { name: "implicitIndicatorHeightChanged"; revision: 517 } + Signal { name: "valueRoleChanged"; revision: 526 } + Signal { name: "currentValueChanged"; revision: 526 } + Signal { name: "selectTextByMouseChanged"; revision: 527 } + Signal { name: "implicitContentWidthPolicyChanged"; revision: 1536 } + Method { name: "incrementCurrentIndex" } + Method { name: "decrementCurrentIndex" } + Method { name: "selectAll"; revision: 514 } + Method { + name: "textAt" + type: "QString" + Parameter { name: "index"; type: "int" } + } + Method { + name: "find" + type: "int" + Parameter { name: "text"; type: "QString" } + Parameter { name: "flags"; type: "Qt::MatchFlags" } + } + Method { + name: "find" + type: "int" + isCloned: true + Parameter { name: "text"; type: "QString" } + } + Method { + name: "valueAt" + revision: 526 + type: "QVariant" + Parameter { name: "index"; type: "int" } + } + Method { + name: "indexOfValue" + revision: 526 + type: "int" + Parameter { name: "value"; type: "QVariant" } + } + } + Component { + file: "private/qquickcontainer_p.h" + name: "QQuickContainer" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/Container 2.0", + "QtQuick.Templates/Container 2.1", + "QtQuick.Templates/Container 2.3", + "QtQuick.Templates/Container 2.4", + "QtQuick.Templates/Container 2.5", + "QtQuick.Templates/Container 2.7", + "QtQuick.Templates/Container 2.11", + "QtQuick.Templates/Container 6.0", + "QtQuick.Templates/Container 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "contentModel" + type: "QVariant" + read: "contentModel" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "contentData" + type: "QObject" + isList: true + read: "contentData" + index: 2 + isReadonly: true + } + Property { + name: "contentChildren" + type: "QQuickItem" + isList: true + read: "contentChildren" + notify: "contentChildrenChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "currentIndex" + type: "int" + read: "currentIndex" + write: "setCurrentIndex" + notify: "currentIndexChanged" + index: 4 + isFinal: true + } + Property { + name: "currentItem" + type: "QQuickItem" + isPointer: true + read: "currentItem" + notify: "currentItemChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "contentWidth" + revision: 517 + type: "double" + read: "contentWidth" + write: "setContentWidth" + reset: "resetContentWidth" + notify: "contentWidthChanged" + index: 6 + isFinal: true + } + Property { + name: "contentHeight" + revision: 517 + type: "double" + read: "contentHeight" + write: "setContentHeight" + reset: "resetContentHeight" + notify: "contentHeightChanged" + index: 7 + isFinal: true + } + Signal { name: "countChanged" } + Signal { name: "contentChildrenChanged" } + Signal { name: "currentIndexChanged" } + Signal { name: "currentItemChanged" } + Signal { name: "contentWidthChanged"; revision: 517 } + Signal { name: "contentHeightChanged"; revision: 517 } + Method { + name: "setCurrentIndex" + Parameter { name: "index"; type: "int" } + } + Method { name: "incrementCurrentIndex"; revision: 513 } + Method { name: "decrementCurrentIndex"; revision: 513 } + Method { name: "_q_currentIndexChanged" } + Method { + name: "itemAt" + type: "QQuickItem" + isPointer: true + Parameter { name: "index"; type: "int" } + } + Method { + name: "addItem" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "insertItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "moveItem" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + } + Method { + name: "removeItem" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "takeItem" + revision: 515 + type: "QQuickItem" + isPointer: true + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qquickcontrol_p.h" + name: "QQuickControl" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + deferredNames: ["background", "contentItem"] + exports: [ + "QtQuick.Templates/Control 2.0", + "QtQuick.Templates/Control 2.1", + "QtQuick.Templates/Control 2.4", + "QtQuick.Templates/Control 2.5", + "QtQuick.Templates/Control 2.7", + "QtQuick.Templates/Control 2.11", + "QtQuick.Templates/Control 6.0", + "QtQuick.Templates/Control 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 517, 519, 523, 1536, 1539] + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + reset: "resetFont" + notify: "fontChanged" + index: 0 + isFinal: true + } + Property { + name: "availableWidth" + type: "double" + read: "availableWidth" + notify: "availableWidthChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "availableHeight" + type: "double" + read: "availableHeight" + notify: "availableHeightChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "padding" + type: "double" + read: "padding" + write: "setPadding" + reset: "resetPadding" + notify: "paddingChanged" + index: 3 + isFinal: true + } + Property { + name: "topPadding" + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + notify: "topPaddingChanged" + index: 4 + isFinal: true + } + Property { + name: "leftPadding" + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + notify: "leftPaddingChanged" + index: 5 + isFinal: true + } + Property { + name: "rightPadding" + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + notify: "rightPaddingChanged" + index: 6 + isFinal: true + } + Property { + name: "bottomPadding" + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + notify: "bottomPaddingChanged" + index: 7 + isFinal: true + } + Property { + name: "spacing" + type: "double" + read: "spacing" + write: "setSpacing" + reset: "resetSpacing" + notify: "spacingChanged" + index: 8 + isFinal: true + } + Property { + name: "locale" + type: "QLocale" + read: "locale" + write: "setLocale" + reset: "resetLocale" + notify: "localeChanged" + index: 9 + isFinal: true + } + Property { + name: "mirrored" + type: "bool" + read: "isMirrored" + notify: "mirroredChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "focusPolicy" + type: "Qt::FocusPolicy" + read: "focusPolicy" + write: "setFocusPolicy" + notify: "focusPolicyChanged" + index: 11 + isFinal: true + } + Property { + name: "focusReason" + type: "Qt::FocusReason" + read: "focusReason" + write: "setFocusReason" + notify: "focusReasonChanged" + index: 12 + isFinal: true + } + Property { + name: "visualFocus" + type: "bool" + read: "hasVisualFocus" + notify: "visualFocusChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "hovered" + type: "bool" + read: "isHovered" + notify: "hoveredChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "hoverEnabled" + type: "bool" + read: "isHoverEnabled" + write: "setHoverEnabled" + reset: "resetHoverEnabled" + notify: "hoverEnabledChanged" + index: 15 + isFinal: true + } + Property { + name: "wheelEnabled" + type: "bool" + read: "isWheelEnabled" + write: "setWheelEnabled" + notify: "wheelEnabledChanged" + index: 16 + isFinal: true + } + Property { + name: "background" + type: "QQuickItem" + isPointer: true + read: "background" + write: "setBackground" + notify: "backgroundChanged" + index: 17 + isFinal: true + } + Property { + name: "contentItem" + type: "QQuickItem" + isPointer: true + read: "contentItem" + write: "setContentItem" + notify: "contentItemChanged" + index: 18 + isFinal: true + } + Property { + name: "baselineOffset" + type: "double" + read: "baselineOffset" + write: "setBaselineOffset" + reset: "resetBaselineOffset" + notify: "baselineOffsetChanged" + index: 19 + isFinal: true + } + Property { + name: "horizontalPadding" + revision: 517 + type: "double" + read: "horizontalPadding" + write: "setHorizontalPadding" + reset: "resetHorizontalPadding" + notify: "horizontalPaddingChanged" + index: 20 + isFinal: true + } + Property { + name: "verticalPadding" + revision: 517 + type: "double" + read: "verticalPadding" + write: "setVerticalPadding" + reset: "resetVerticalPadding" + notify: "verticalPaddingChanged" + index: 21 + isFinal: true + } + Property { + name: "implicitContentWidth" + revision: 517 + type: "double" + read: "implicitContentWidth" + notify: "implicitContentWidthChanged" + index: 22 + isReadonly: true + isFinal: true + } + Property { + name: "implicitContentHeight" + revision: 517 + type: "double" + read: "implicitContentHeight" + notify: "implicitContentHeightChanged" + index: 23 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundWidth" + revision: 517 + type: "double" + read: "implicitBackgroundWidth" + notify: "implicitBackgroundWidthChanged" + index: 24 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundHeight" + revision: 517 + type: "double" + read: "implicitBackgroundHeight" + notify: "implicitBackgroundHeightChanged" + index: 25 + isReadonly: true + isFinal: true + } + Property { + name: "topInset" + revision: 517 + type: "double" + read: "topInset" + write: "setTopInset" + reset: "resetTopInset" + notify: "topInsetChanged" + index: 26 + isFinal: true + } + Property { + name: "leftInset" + revision: 517 + type: "double" + read: "leftInset" + write: "setLeftInset" + reset: "resetLeftInset" + notify: "leftInsetChanged" + index: 27 + isFinal: true + } + Property { + name: "rightInset" + revision: 517 + type: "double" + read: "rightInset" + write: "setRightInset" + reset: "resetRightInset" + notify: "rightInsetChanged" + index: 28 + isFinal: true + } + Property { + name: "bottomInset" + revision: 517 + type: "double" + read: "bottomInset" + write: "setBottomInset" + reset: "resetBottomInset" + notify: "bottomInsetChanged" + index: 29 + isFinal: true + } + Signal { name: "fontChanged" } + Signal { name: "availableWidthChanged" } + Signal { name: "availableHeightChanged" } + Signal { name: "paddingChanged" } + Signal { name: "topPaddingChanged" } + Signal { name: "leftPaddingChanged" } + Signal { name: "rightPaddingChanged" } + Signal { name: "bottomPaddingChanged" } + Signal { name: "spacingChanged" } + Signal { name: "localeChanged" } + Signal { name: "mirroredChanged" } + Signal { name: "focusPolicyChanged" } + Signal { name: "focusReasonChanged" } + Signal { name: "visualFocusChanged" } + Signal { name: "hoveredChanged" } + Signal { name: "hoverEnabledChanged" } + Signal { name: "wheelEnabledChanged" } + Signal { name: "backgroundChanged" } + Signal { name: "contentItemChanged" } + Signal { name: "baselineOffsetChanged" } + Signal { name: "horizontalPaddingChanged"; revision: 517 } + Signal { name: "verticalPaddingChanged"; revision: 517 } + Signal { name: "implicitContentWidthChanged"; revision: 517 } + Signal { name: "implicitContentHeightChanged"; revision: 517 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 517 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 517 } + Signal { name: "topInsetChanged"; revision: 517 } + Signal { name: "leftInsetChanged"; revision: 517 } + Signal { name: "rightInsetChanged"; revision: 517 } + Signal { name: "bottomInsetChanged"; revision: 517 } + } + Component { + file: "private/qquickdayofweekrow_p.h" + name: "QQuickDayOfWeekRow" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: ["QtQuick.Templates/AbstractDayOfWeekRow 6.3"] + exportMetaObjectRevisions: [1539] + Property { + name: "source" + type: "QVariant" + read: "source" + write: "setSource" + notify: "sourceChanged" + index: 0 + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 1 + isFinal: true + } + Signal { name: "sourceChanged" } + Signal { name: "delegateChanged" } + } + Component { + file: "private/qquickdelaybutton_p.h" + name: "QQuickDelayButton" + accessSemantics: "reference" + prototype: "QQuickAbstractButton" + exports: [ + "QtQuick.Templates/DelayButton 2.2", + "QtQuick.Templates/DelayButton 2.3", + "QtQuick.Templates/DelayButton 2.4", + "QtQuick.Templates/DelayButton 2.5", + "QtQuick.Templates/DelayButton 2.7", + "QtQuick.Templates/DelayButton 2.11", + "QtQuick.Templates/DelayButton 6.0", + "QtQuick.Templates/DelayButton 6.3" + ] + exportMetaObjectRevisions: [514, 515, 516, 517, 519, 523, 1536, 1539] + Property { + name: "delay" + type: "int" + read: "delay" + write: "setDelay" + notify: "delayChanged" + index: 0 + isFinal: true + } + Property { + name: "progress" + type: "double" + read: "progress" + write: "setProgress" + notify: "progressChanged" + index: 1 + isFinal: true + } + Property { + name: "transition" + type: "QQuickTransition" + isPointer: true + read: "transition" + write: "setTransition" + notify: "transitionChanged" + index: 2 + isFinal: true + } + Signal { name: "activated" } + Signal { name: "delayChanged" } + Signal { name: "progressChanged" } + Signal { name: "transitionChanged" } + } + Component { + file: "private/qquickdial_p.h" + name: "QQuickDial" + accessSemantics: "reference" + prototype: "QQuickControl" + deferredNames: ["background", "handle"] + exports: [ + "QtQuick.Templates/Dial 2.0", + "QtQuick.Templates/Dial 2.1", + "QtQuick.Templates/Dial 2.2", + "QtQuick.Templates/Dial 2.4", + "QtQuick.Templates/Dial 2.5", + "QtQuick.Templates/Dial 2.7", + "QtQuick.Templates/Dial 2.11", + "QtQuick.Templates/Dial 6.0", + "QtQuick.Templates/Dial 6.3", + "QtQuick.Templates/Dial 6.6" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 516, + 517, + 519, + 523, + 1536, + 1539, + 1542 + ] + Enum { + name: "SnapMode" + values: ["NoSnap", "SnapAlways", "SnapOnRelease"] + } + Enum { + name: "InputMode" + values: ["Circular", "Horizontal", "Vertical"] + } + Enum { + name: "WrapDirection" + values: ["Clockwise", "CounterClockwise"] + } + Property { + name: "from" + type: "double" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 0 + isFinal: true + } + Property { + name: "to" + type: "double" + read: "to" + write: "setTo" + notify: "toChanged" + index: 1 + isFinal: true + } + Property { + name: "value" + type: "double" + read: "value" + write: "setValue" + notify: "valueChanged" + index: 2 + isFinal: true + } + Property { + name: "position" + type: "double" + read: "position" + notify: "positionChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "angle" + type: "double" + read: "angle" + notify: "angleChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "startAngle" + revision: 1542 + type: "double" + read: "startAngle" + write: "setStartAngle" + notify: "startAngleChanged" + index: 5 + isFinal: true + } + Property { + name: "endAngle" + revision: 1542 + type: "double" + read: "endAngle" + write: "setEndAngle" + notify: "endAngleChanged" + index: 6 + isFinal: true + } + Property { + name: "stepSize" + type: "double" + read: "stepSize" + write: "setStepSize" + notify: "stepSizeChanged" + index: 7 + isFinal: true + } + Property { + name: "snapMode" + type: "SnapMode" + read: "snapMode" + write: "setSnapMode" + notify: "snapModeChanged" + index: 8 + isFinal: true + } + Property { + name: "wrap" + type: "bool" + read: "wrap" + write: "setWrap" + notify: "wrapChanged" + index: 9 + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + notify: "pressedChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "handle" + type: "QQuickItem" + isPointer: true + read: "handle" + write: "setHandle" + notify: "handleChanged" + index: 11 + isFinal: true + } + Property { + name: "live" + revision: 514 + type: "bool" + read: "live" + write: "setLive" + notify: "liveChanged" + index: 12 + isFinal: true + } + Property { + name: "inputMode" + revision: 517 + type: "InputMode" + read: "inputMode" + write: "setInputMode" + notify: "inputModeChanged" + index: 13 + isFinal: true + } + Signal { name: "fromChanged" } + Signal { name: "toChanged" } + Signal { name: "valueChanged" } + Signal { name: "positionChanged" } + Signal { name: "angleChanged" } + Signal { name: "stepSizeChanged" } + Signal { name: "snapModeChanged" } + Signal { name: "wrapChanged" } + Signal { name: "pressedChanged" } + Signal { name: "handleChanged" } + Signal { name: "moved"; revision: 514 } + Signal { name: "liveChanged"; revision: 514 } + Signal { name: "inputModeChanged"; revision: 517 } + Signal { name: "startAngleChanged"; revision: 1542 } + Signal { name: "endAngleChanged"; revision: 1542 } + Signal { + name: "wrapped" + revision: 1542 + Parameter { type: "WrapDirection" } + } + Method { name: "increase" } + Method { name: "decrease" } + } + Component { + file: "private/qquickdialog_p.h" + name: "QQuickDialog" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickPopup" + extension: "QPlatformDialogHelper" + extensionIsNamespace: true + exports: [ + "QtQuick.Templates/Dialog 2.1", + "QtQuick.Templates/Dialog 2.3", + "QtQuick.Templates/Dialog 2.5", + "QtQuick.Templates/Dialog 6.0" + ] + exportMetaObjectRevisions: [513, 515, 517, 1536] + Enum { + name: "StandardCode" + values: ["Rejected", "Accepted"] + } + Property { + name: "title" + type: "QString" + read: "title" + write: "setTitle" + notify: "titleChanged" + index: 0 + isFinal: true + } + Property { + name: "header" + type: "QQuickItem" + isPointer: true + read: "header" + write: "setHeader" + notify: "headerChanged" + index: 1 + isFinal: true + } + Property { + name: "footer" + type: "QQuickItem" + isPointer: true + read: "footer" + write: "setFooter" + notify: "footerChanged" + index: 2 + isFinal: true + } + Property { + name: "standardButtons" + type: "QPlatformDialogHelper::StandardButtons" + read: "standardButtons" + write: "setStandardButtons" + notify: "standardButtonsChanged" + index: 3 + isFinal: true + } + Property { + name: "result" + revision: 515 + type: "int" + read: "result" + write: "setResult" + notify: "resultChanged" + index: 4 + isFinal: true + } + Property { + name: "implicitHeaderWidth" + revision: 517 + type: "double" + read: "implicitHeaderWidth" + notify: "implicitHeaderWidthChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "implicitHeaderHeight" + revision: 517 + type: "double" + read: "implicitHeaderHeight" + notify: "implicitHeaderHeightChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "implicitFooterWidth" + revision: 517 + type: "double" + read: "implicitFooterWidth" + notify: "implicitFooterWidthChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "implicitFooterHeight" + revision: 517 + type: "double" + read: "implicitFooterHeight" + notify: "implicitFooterHeightChanged" + index: 8 + isReadonly: true + isFinal: true + } + Signal { name: "accepted" } + Signal { name: "rejected" } + Signal { name: "titleChanged" } + Signal { name: "headerChanged" } + Signal { name: "footerChanged" } + Signal { name: "standardButtonsChanged" } + Signal { name: "applied"; revision: 515 } + Signal { name: "reset"; revision: 515 } + Signal { name: "discarded"; revision: 515 } + Signal { name: "helpRequested"; revision: 515 } + Signal { name: "resultChanged"; revision: 515 } + Signal { name: "implicitHeaderWidthChanged" } + Signal { name: "implicitHeaderHeightChanged" } + Signal { name: "implicitFooterWidthChanged" } + Signal { name: "implicitFooterHeightChanged" } + Method { name: "accept" } + Method { name: "reject" } + Method { + name: "done" + Parameter { name: "result"; type: "int" } + } + Method { + name: "standardButton" + revision: 515 + type: "QQuickAbstractButton" + isPointer: true + Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } + } + } + Component { + file: "private/qquickdialogbuttonbox_p.h" + name: "QQuickDialogButtonBox" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickContainer" + extension: "QPlatformDialogHelper" + extensionIsNamespace: true + exports: [ + "QtQuick.Templates/DialogButtonBox 2.1", + "QtQuick.Templates/DialogButtonBox 2.3", + "QtQuick.Templates/DialogButtonBox 2.4", + "QtQuick.Templates/DialogButtonBox 2.5", + "QtQuick.Templates/DialogButtonBox 2.7", + "QtQuick.Templates/DialogButtonBox 2.11", + "QtQuick.Templates/DialogButtonBox 6.0", + "QtQuick.Templates/DialogButtonBox 6.3" + ] + exportMetaObjectRevisions: [513, 515, 516, 517, 519, 523, 1536, 1539] + attachedType: "QQuickDialogButtonBoxAttached" + Enum { + name: "Position" + values: ["Header", "Footer"] + } + Property { + name: "position" + type: "Position" + read: "position" + write: "setPosition" + notify: "positionChanged" + index: 0 + isFinal: true + } + Property { + name: "alignment" + type: "Qt::Alignment" + read: "alignment" + write: "setAlignment" + reset: "resetAlignment" + notify: "alignmentChanged" + index: 1 + isFinal: true + } + Property { + name: "standardButtons" + type: "QPlatformDialogHelper::StandardButtons" + read: "standardButtons" + write: "setStandardButtons" + notify: "standardButtonsChanged" + index: 2 + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 3 + isFinal: true + } + Property { + name: "buttonLayout" + revision: 517 + type: "QPlatformDialogHelper::ButtonLayout" + read: "buttonLayout" + write: "setButtonLayout" + reset: "resetButtonLayout" + notify: "buttonLayoutChanged" + index: 4 + isFinal: true + } + Signal { name: "accepted" } + Signal { name: "rejected" } + Signal { name: "helpRequested" } + Signal { + name: "clicked" + Parameter { name: "button"; type: "QQuickAbstractButton"; isPointer: true } + } + Signal { name: "positionChanged" } + Signal { name: "alignmentChanged" } + Signal { name: "standardButtonsChanged" } + Signal { name: "delegateChanged" } + Signal { name: "applied"; revision: 515 } + Signal { name: "reset"; revision: 515 } + Signal { name: "discarded"; revision: 515 } + Signal { name: "buttonLayoutChanged"; revision: 517 } + Method { + name: "standardButton" + type: "QQuickAbstractButton" + isPointer: true + Parameter { name: "button"; type: "QPlatformDialogHelper::StandardButton" } + } + } + Component { + file: "private/qquickdialogbuttonbox_p.h" + name: "QQuickDialogButtonBoxAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "buttonBox" + type: "QQuickDialogButtonBox" + isPointer: true + read: "buttonBox" + notify: "buttonBoxChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "buttonRole" + type: "QPlatformDialogHelper::ButtonRole" + read: "buttonRole" + write: "setButtonRole" + notify: "buttonRoleChanged" + index: 1 + isFinal: true + } + Signal { name: "buttonBoxChanged" } + Signal { name: "buttonRoleChanged" } + } + Component { + file: "private/qquickdrawer_p.h" + name: "QQuickDrawer" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickPopup" + exports: [ + "QtQuick.Templates/Drawer 2.0", + "QtQuick.Templates/Drawer 2.1", + "QtQuick.Templates/Drawer 2.2", + "QtQuick.Templates/Drawer 2.3", + "QtQuick.Templates/Drawer 2.5", + "QtQuick.Templates/Drawer 6.0" + ] + exportMetaObjectRevisions: [512, 513, 514, 515, 517, 1536] + Property { + name: "edge" + type: "Qt::Edge" + read: "edge" + write: "setEdge" + notify: "edgeChanged" + index: 0 + isFinal: true + } + Property { + name: "position" + type: "double" + read: "position" + write: "setPosition" + notify: "positionChanged" + index: 1 + isFinal: true + } + Property { + name: "dragMargin" + type: "double" + read: "dragMargin" + write: "setDragMargin" + reset: "resetDragMargin" + notify: "dragMarginChanged" + index: 2 + isFinal: true + } + Property { + name: "interactive" + revision: 514 + type: "bool" + read: "isInteractive" + write: "setInteractive" + notify: "interactiveChanged" + index: 3 + isFinal: true + } + Signal { name: "edgeChanged" } + Signal { name: "positionChanged" } + Signal { name: "dragMarginChanged" } + Signal { name: "interactiveChanged"; revision: 514 } + } + Component { + file: "private/qquickframe_p.h" + name: "QQuickFrame" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickPane" + exports: [ + "QtQuick.Templates/Frame 2.0", + "QtQuick.Templates/Frame 2.1", + "QtQuick.Templates/Frame 2.4", + "QtQuick.Templates/Frame 2.5", + "QtQuick.Templates/Frame 2.7", + "QtQuick.Templates/Frame 2.11", + "QtQuick.Templates/Frame 6.0", + "QtQuick.Templates/Frame 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 517, 519, 523, 1536, 1539] + } + Component { + file: "private/qquickgroupbox_p.h" + name: "QQuickGroupBox" + accessSemantics: "reference" + prototype: "QQuickFrame" + deferredNames: ["background", "contentItem", "label"] + exports: [ + "QtQuick.Templates/GroupBox 2.0", + "QtQuick.Templates/GroupBox 2.1", + "QtQuick.Templates/GroupBox 2.4", + "QtQuick.Templates/GroupBox 2.5", + "QtQuick.Templates/GroupBox 2.7", + "QtQuick.Templates/GroupBox 2.11", + "QtQuick.Templates/GroupBox 6.0", + "QtQuick.Templates/GroupBox 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 517, 519, 523, 1536, 1539] + Property { + name: "title" + type: "QString" + read: "title" + write: "setTitle" + notify: "titleChanged" + index: 0 + isFinal: true + } + Property { + name: "label" + type: "QQuickItem" + isPointer: true + read: "label" + write: "setLabel" + notify: "labelChanged" + index: 1 + isFinal: true + } + Property { + name: "implicitLabelWidth" + revision: 517 + type: "double" + read: "implicitLabelWidth" + notify: "implicitLabelWidthChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "implicitLabelHeight" + revision: 517 + type: "double" + read: "implicitLabelHeight" + notify: "implicitLabelHeightChanged" + index: 3 + isReadonly: true + isFinal: true + } + Signal { name: "titleChanged" } + Signal { name: "labelChanged" } + Signal { name: "implicitLabelWidthChanged"; revision: 517 } + Signal { name: "implicitLabelHeightChanged"; revision: 517 } + } + Component { + file: "private/qquickheaderview_p.h" + name: "QQuickHeaderViewBase" + accessSemantics: "reference" + prototype: "QQuickTableView" + Property { + name: "textRole" + type: "QString" + read: "textRole" + write: "setTextRole" + notify: "textRoleChanged" + index: 0 + isFinal: true + } + Signal { name: "textRoleChanged" } + } + Component { + file: "private/qquickheaderview_p.h" + name: "QQuickHorizontalHeaderView" + accessSemantics: "reference" + prototype: "QQuickHeaderViewBase" + exports: [ + "QtQuick.Templates/HorizontalHeaderView 2.15", + "QtQuick.Templates/HorizontalHeaderView 6.0", + "QtQuick.Templates/HorizontalHeaderView 6.2", + "QtQuick.Templates/HorizontalHeaderView 6.3", + "QtQuick.Templates/HorizontalHeaderView 6.4", + "QtQuick.Templates/HorizontalHeaderView 6.5", + "QtQuick.Templates/HorizontalHeaderView 6.6" + ] + exportMetaObjectRevisions: [527, 1536, 1538, 1539, 1540, 1541, 1542] + } + Component { + file: "private/qquickicon_p.h" + name: "QQuickIcon" + accessSemantics: "value" + Property { + name: "name" + type: "QString" + read: "name" + write: "setName" + reset: "resetName" + index: 0 + isFinal: true + } + Property { + name: "source" + type: "QUrl" + read: "source" + write: "setSource" + reset: "resetSource" + index: 1 + isFinal: true + } + Property { + name: "width" + type: "int" + read: "width" + write: "setWidth" + reset: "resetWidth" + index: 2 + isFinal: true + } + Property { + name: "height" + type: "int" + read: "height" + write: "setHeight" + reset: "resetHeight" + index: 3 + isFinal: true + } + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + reset: "resetColor" + index: 4 + isFinal: true + } + Property { + name: "cache" + type: "bool" + read: "cache" + write: "setCache" + reset: "resetCache" + index: 5 + isFinal: true + } + } + Component { + file: "private/qquickindicatorbutton_p.h" + name: "QQuickIndicatorButton" + accessSemantics: "reference" + prototype: "QObject" + deferredNames: ["indicator"] + Property { + name: "pressed" + type: "bool" + read: "isPressed" + write: "setPressed" + notify: "pressedChanged" + index: 0 + isFinal: true + } + Property { + name: "indicator" + type: "QQuickItem" + isPointer: true + read: "indicator" + write: "setIndicator" + notify: "indicatorChanged" + index: 1 + isFinal: true + } + Property { + name: "hovered" + revision: 513 + type: "bool" + read: "isHovered" + write: "setHovered" + notify: "hoveredChanged" + index: 2 + isFinal: true + } + Property { + name: "implicitIndicatorWidth" + revision: 517 + type: "double" + read: "implicitIndicatorWidth" + notify: "implicitIndicatorWidthChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "implicitIndicatorHeight" + revision: 517 + type: "double" + read: "implicitIndicatorHeight" + notify: "implicitIndicatorHeightChanged" + index: 4 + isReadonly: true + isFinal: true + } + Signal { name: "pressedChanged" } + Signal { name: "indicatorChanged" } + Signal { name: "hoveredChanged"; revision: 513 } + Signal { name: "implicitIndicatorWidthChanged"; revision: 517 } + Signal { name: "implicitIndicatorHeightChanged"; revision: 517 } + } + Component { + file: "private/qquickitemdelegate_p.h" + name: "QQuickItemDelegate" + accessSemantics: "reference" + prototype: "QQuickAbstractButton" + exports: [ + "QtQuick.Templates/ItemDelegate 2.0", + "QtQuick.Templates/ItemDelegate 2.1", + "QtQuick.Templates/ItemDelegate 2.2", + "QtQuick.Templates/ItemDelegate 2.3", + "QtQuick.Templates/ItemDelegate 2.4", + "QtQuick.Templates/ItemDelegate 2.5", + "QtQuick.Templates/ItemDelegate 2.7", + "QtQuick.Templates/ItemDelegate 2.11", + "QtQuick.Templates/ItemDelegate 6.0", + "QtQuick.Templates/ItemDelegate 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Property { + name: "highlighted" + type: "bool" + read: "isHighlighted" + write: "setHighlighted" + notify: "highlightedChanged" + index: 0 + isFinal: true + } + Signal { name: "highlightedChanged" } + } + Component { + file: "private/qquicklabel_p.h" + name: "QQuickLabel" + accessSemantics: "reference" + prototype: "QQuickText" + deferredNames: ["background"] + exports: [ + "QtQuick.Templates/Label 2.0", + "QtQuick.Templates/Label 2.1", + "QtQuick.Templates/Label 2.2", + "QtQuick.Templates/Label 2.3", + "QtQuick.Templates/Label 2.4", + "QtQuick.Templates/Label 2.5", + "QtQuick.Templates/Label 2.6", + "QtQuick.Templates/Label 2.7", + "QtQuick.Templates/Label 2.9", + "QtQuick.Templates/Label 2.10", + "QtQuick.Templates/Label 2.11", + "QtQuick.Templates/Label 6.0", + "QtQuick.Templates/Label 6.2", + "QtQuick.Templates/Label 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 521, + 522, + 523, + 1536, + 1538, + 1539 + ] + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + notify: "fontChanged" + index: 0 + } + Property { + name: "background" + type: "QQuickItem" + isPointer: true + read: "background" + write: "setBackground" + notify: "backgroundChanged" + index: 1 + isFinal: true + } + Property { + name: "implicitBackgroundWidth" + revision: 517 + type: "double" + read: "implicitBackgroundWidth" + notify: "implicitBackgroundWidthChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundHeight" + revision: 517 + type: "double" + read: "implicitBackgroundHeight" + notify: "implicitBackgroundHeightChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "topInset" + revision: 517 + type: "double" + read: "topInset" + write: "setTopInset" + reset: "resetTopInset" + notify: "topInsetChanged" + index: 4 + isFinal: true + } + Property { + name: "leftInset" + revision: 517 + type: "double" + read: "leftInset" + write: "setLeftInset" + reset: "resetLeftInset" + notify: "leftInsetChanged" + index: 5 + isFinal: true + } + Property { + name: "rightInset" + revision: 517 + type: "double" + read: "rightInset" + write: "setRightInset" + reset: "resetRightInset" + notify: "rightInsetChanged" + index: 6 + isFinal: true + } + Property { + name: "bottomInset" + revision: 517 + type: "double" + read: "bottomInset" + write: "setBottomInset" + reset: "resetBottomInset" + notify: "bottomInsetChanged" + index: 7 + isFinal: true + } + Signal { name: "fontChanged" } + Signal { name: "backgroundChanged" } + Signal { name: "implicitBackgroundWidthChanged"; revision: 517 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 517 } + Signal { name: "topInsetChanged"; revision: 517 } + Signal { name: "leftInsetChanged"; revision: 517 } + Signal { name: "rightInsetChanged"; revision: 517 } + Signal { name: "bottomInsetChanged"; revision: 517 } + } + Component { + file: "private/qquickmenu_p.h" + name: "QQuickMenu" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickPopup" + exports: [ + "QtQuick.Templates/Menu 2.0", + "QtQuick.Templates/Menu 2.1", + "QtQuick.Templates/Menu 2.3", + "QtQuick.Templates/Menu 2.5", + "QtQuick.Templates/Menu 6.0", + "QtQuick.Templates/Menu 6.5" + ] + exportMetaObjectRevisions: [512, 513, 515, 517, 1536, 1541] + Property { + name: "contentModel" + type: "QVariant" + read: "contentModel" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "contentData" + type: "QObject" + isList: true + read: "contentData" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "title" + type: "QString" + read: "title" + write: "setTitle" + notify: "titleChanged" + index: 2 + isFinal: true + } + Property { + name: "count" + revision: 515 + type: "int" + read: "count" + notify: "countChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "cascade" + revision: 515 + type: "bool" + read: "cascade" + write: "setCascade" + reset: "resetCascade" + notify: "cascadeChanged" + index: 4 + isFinal: true + } + Property { + name: "overlap" + revision: 515 + type: "double" + read: "overlap" + write: "setOverlap" + notify: "overlapChanged" + index: 5 + isFinal: true + } + Property { + name: "delegate" + revision: 515 + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 6 + isFinal: true + } + Property { + name: "currentIndex" + revision: 515 + type: "int" + read: "currentIndex" + write: "setCurrentIndex" + notify: "currentIndexChanged" + index: 7 + isFinal: true + } + Property { + name: "icon" + revision: 1541 + type: "QQuickIcon" + read: "icon" + write: "setIcon" + notify: "iconChanged" + index: 8 + isFinal: true + } + Signal { + name: "titleChanged" + Parameter { name: "title"; type: "QString" } + } + Signal { name: "countChanged"; revision: 515 } + Signal { + name: "cascadeChanged" + revision: 515 + Parameter { name: "cascade"; type: "bool" } + } + Signal { name: "overlapChanged"; revision: 515 } + Signal { name: "delegateChanged"; revision: 515 } + Signal { name: "currentIndexChanged"; revision: 515 } + Signal { + name: "iconChanged" + revision: 1541 + Parameter { name: "icon"; type: "QQuickIcon" } + } + Method { + name: "itemAt" + type: "QQuickItem" + isPointer: true + Parameter { name: "index"; type: "int" } + } + Method { + name: "addItem" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "insertItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "moveItem" + Parameter { name: "from"; type: "int" } + Parameter { name: "to"; type: "int" } + } + Method { + name: "removeItem" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "takeItem" + revision: 515 + type: "QQuickItem" + isPointer: true + Parameter { name: "index"; type: "int" } + } + Method { + name: "menuAt" + revision: 515 + type: "QQuickMenu" + isPointer: true + Parameter { name: "index"; type: "int" } + } + Method { + name: "addMenu" + revision: 515 + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "insertMenu" + revision: 515 + Parameter { name: "index"; type: "int" } + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "removeMenu" + revision: 515 + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "takeMenu" + revision: 515 + type: "QQuickMenu" + isPointer: true + Parameter { name: "index"; type: "int" } + } + Method { + name: "actionAt" + revision: 515 + type: "QQuickAction" + isPointer: true + Parameter { name: "index"; type: "int" } + } + Method { + name: "addAction" + revision: 515 + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { + name: "insertAction" + revision: 515 + Parameter { name: "index"; type: "int" } + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { + name: "removeAction" + revision: 515 + Parameter { name: "action"; type: "QQuickAction"; isPointer: true } + } + Method { + name: "takeAction" + revision: 515 + type: "QQuickAction" + isPointer: true + Parameter { name: "index"; type: "int" } + } + Method { name: "popup"; revision: 515; isJavaScriptFunction: true } + Method { name: "dismiss"; revision: 515 } + } + Component { + file: "private/qquickmenubar_p.h" + name: "QQuickMenuBar" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickContainer" + exports: [ + "QtQuick.Templates/MenuBar 2.3", + "QtQuick.Templates/MenuBar 2.4", + "QtQuick.Templates/MenuBar 2.5", + "QtQuick.Templates/MenuBar 2.7", + "QtQuick.Templates/MenuBar 2.11", + "QtQuick.Templates/MenuBar 6.0", + "QtQuick.Templates/MenuBar 6.3" + ] + exportMetaObjectRevisions: [515, 516, 517, 519, 523, 1536, 1539] + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 0 + isFinal: true + } + Property { + name: "menus" + type: "QQuickMenu" + isList: true + read: "menus" + notify: "menusChanged" + index: 1 + privateClass: "QQuickMenuBarPrivate" + isReadonly: true + isFinal: true + } + Property { + name: "contentData" + type: "QObject" + isList: true + read: "contentData" + index: 2 + privateClass: "QQuickMenuBarPrivate" + isReadonly: true + isFinal: true + } + Signal { name: "delegateChanged" } + Signal { name: "menusChanged" } + Method { + name: "menuAt" + type: "QQuickMenu" + isPointer: true + Parameter { name: "index"; type: "int" } + } + Method { + name: "addMenu" + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "insertMenu" + Parameter { name: "index"; type: "int" } + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "removeMenu" + Parameter { name: "menu"; type: "QQuickMenu"; isPointer: true } + } + Method { + name: "takeMenu" + type: "QQuickMenu" + isPointer: true + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qquickmenubaritem_p.h" + name: "QQuickMenuBarItem" + accessSemantics: "reference" + prototype: "QQuickAbstractButton" + exports: [ + "QtQuick.Templates/MenuBarItem 2.3", + "QtQuick.Templates/MenuBarItem 2.4", + "QtQuick.Templates/MenuBarItem 2.5", + "QtQuick.Templates/MenuBarItem 2.7", + "QtQuick.Templates/MenuBarItem 2.11", + "QtQuick.Templates/MenuBarItem 6.0", + "QtQuick.Templates/MenuBarItem 6.3" + ] + exportMetaObjectRevisions: [515, 516, 517, 519, 523, 1536, 1539] + Property { + name: "menuBar" + type: "QQuickMenuBar" + isPointer: true + read: "menuBar" + notify: "menuBarChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "menu" + type: "QQuickMenu" + isPointer: true + read: "menu" + write: "setMenu" + notify: "menuChanged" + index: 1 + isFinal: true + } + Property { + name: "highlighted" + type: "bool" + read: "isHighlighted" + write: "setHighlighted" + notify: "highlightedChanged" + index: 2 + isFinal: true + } + Signal { name: "triggered" } + Signal { name: "menuBarChanged" } + Signal { name: "menuChanged" } + Signal { name: "highlightedChanged" } + } + Component { + file: "private/qquickmenuitem_p.h" + name: "QQuickMenuItem" + accessSemantics: "reference" + prototype: "QQuickAbstractButton" + deferredNames: ["arrow", "background", "contentItem", "indicator"] + exports: [ + "QtQuick.Templates/MenuItem 2.0", + "QtQuick.Templates/MenuItem 2.1", + "QtQuick.Templates/MenuItem 2.2", + "QtQuick.Templates/MenuItem 2.3", + "QtQuick.Templates/MenuItem 2.4", + "QtQuick.Templates/MenuItem 2.5", + "QtQuick.Templates/MenuItem 2.7", + "QtQuick.Templates/MenuItem 2.11", + "QtQuick.Templates/MenuItem 6.0", + "QtQuick.Templates/MenuItem 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Property { + name: "highlighted" + type: "bool" + read: "isHighlighted" + write: "setHighlighted" + notify: "highlightedChanged" + index: 0 + isFinal: true + } + Property { + name: "arrow" + revision: 515 + type: "QQuickItem" + isPointer: true + read: "arrow" + write: "setArrow" + notify: "arrowChanged" + index: 1 + isFinal: true + } + Property { + name: "menu" + revision: 515 + type: "QQuickMenu" + isPointer: true + read: "menu" + notify: "menuChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "subMenu" + revision: 515 + type: "QQuickMenu" + isPointer: true + read: "subMenu" + notify: "subMenuChanged" + index: 3 + isReadonly: true + isFinal: true + } + Signal { name: "triggered" } + Signal { name: "highlightedChanged" } + Signal { name: "arrowChanged"; revision: 515 } + Signal { name: "menuChanged"; revision: 515 } + Signal { name: "subMenuChanged"; revision: 515 } + } + Component { + file: "private/qquickmenuseparator_p.h" + name: "QQuickMenuSeparator" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/MenuSeparator 2.1", + "QtQuick.Templates/MenuSeparator 2.4", + "QtQuick.Templates/MenuSeparator 2.5", + "QtQuick.Templates/MenuSeparator 2.7", + "QtQuick.Templates/MenuSeparator 2.11", + "QtQuick.Templates/MenuSeparator 6.0", + "QtQuick.Templates/MenuSeparator 6.3" + ] + exportMetaObjectRevisions: [513, 516, 517, 519, 523, 1536, 1539] + } + Component { + file: "private/qquickmonthgrid_p.h" + name: "QQuickMonthGrid" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: ["QtQuick.Templates/AbstractMonthGrid 6.3"] + exportMetaObjectRevisions: [1539] + Property { + name: "month" + type: "int" + read: "month" + write: "setMonth" + notify: "monthChanged" + index: 0 + isFinal: true + } + Property { + name: "year" + type: "int" + read: "year" + write: "setYear" + notify: "yearChanged" + index: 1 + isFinal: true + } + Property { + name: "source" + type: "QVariant" + read: "source" + write: "setSource" + notify: "sourceChanged" + index: 2 + isFinal: true + } + Property { + name: "title" + type: "QString" + read: "title" + write: "setTitle" + notify: "titleChanged" + index: 3 + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 4 + isFinal: true + } + Signal { name: "monthChanged" } + Signal { name: "yearChanged" } + Signal { name: "sourceChanged" } + Signal { name: "titleChanged" } + Signal { name: "delegateChanged" } + Signal { + name: "pressed" + Parameter { name: "date"; type: "QDate" } + } + Signal { + name: "released" + Parameter { name: "date"; type: "QDate" } + } + Signal { + name: "clicked" + Parameter { name: "date"; type: "QDate" } + } + Signal { + name: "pressAndHold" + Parameter { name: "date"; type: "QDate" } + } + } + Component { + file: "private/qquickoverlay_p.h" + name: "QQuickOverlay" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick.Templates/Overlay 2.3", + "QtQuick.Templates/Overlay 2.4", + "QtQuick.Templates/Overlay 2.7", + "QtQuick.Templates/Overlay 2.11", + "QtQuick.Templates/Overlay 6.0", + "QtQuick.Templates/Overlay 6.3" + ] + isCreatable: false + exportMetaObjectRevisions: [515, 516, 519, 523, 1536, 1539] + attachedType: "QQuickOverlayAttached" + Property { + name: "modal" + type: "QQmlComponent" + isPointer: true + read: "modal" + write: "setModal" + notify: "modalChanged" + index: 0 + isFinal: true + } + Property { + name: "modeless" + type: "QQmlComponent" + isPointer: true + read: "modeless" + write: "setModeless" + notify: "modelessChanged" + index: 1 + isFinal: true + } + Signal { name: "modalChanged" } + Signal { name: "modelessChanged" } + Signal { name: "pressed" } + Signal { name: "released" } + } + Component { + file: "private/qquickoverlay_p.h" + name: "QQuickOverlayAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "overlay" + type: "QQuickOverlay" + isPointer: true + read: "overlay" + notify: "overlayChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "modal" + type: "QQmlComponent" + isPointer: true + read: "modal" + write: "setModal" + notify: "modalChanged" + index: 1 + isFinal: true + } + Property { + name: "modeless" + type: "QQmlComponent" + isPointer: true + read: "modeless" + write: "setModeless" + notify: "modelessChanged" + index: 2 + isFinal: true + } + Signal { name: "overlayChanged" } + Signal { name: "modalChanged" } + Signal { name: "modelessChanged" } + Signal { name: "pressed" } + Signal { name: "released" } + } + Component { + file: "private/qquickpage_p.h" + name: "QQuickPage" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickPane" + exports: [ + "QtQuick.Templates/Page 2.0", + "QtQuick.Templates/Page 2.1", + "QtQuick.Templates/Page 2.4", + "QtQuick.Templates/Page 2.5", + "QtQuick.Templates/Page 2.7", + "QtQuick.Templates/Page 2.11", + "QtQuick.Templates/Page 6.0", + "QtQuick.Templates/Page 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 517, 519, 523, 1536, 1539] + Property { + name: "title" + type: "QString" + read: "title" + write: "setTitle" + notify: "titleChanged" + index: 0 + isFinal: true + } + Property { + name: "header" + type: "QQuickItem" + isPointer: true + read: "header" + write: "setHeader" + notify: "headerChanged" + index: 1 + isFinal: true + } + Property { + name: "footer" + type: "QQuickItem" + isPointer: true + read: "footer" + write: "setFooter" + notify: "footerChanged" + index: 2 + isFinal: true + } + Property { + name: "implicitHeaderWidth" + revision: 517 + type: "double" + read: "implicitHeaderWidth" + notify: "implicitHeaderWidthChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "implicitHeaderHeight" + revision: 517 + type: "double" + read: "implicitHeaderHeight" + notify: "implicitHeaderHeightChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "implicitFooterWidth" + revision: 517 + type: "double" + read: "implicitFooterWidth" + notify: "implicitFooterWidthChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "implicitFooterHeight" + revision: 517 + type: "double" + read: "implicitFooterHeight" + notify: "implicitFooterHeightChanged" + index: 6 + isReadonly: true + isFinal: true + } + Signal { name: "titleChanged" } + Signal { name: "headerChanged" } + Signal { name: "footerChanged" } + Signal { name: "implicitHeaderWidthChanged" } + Signal { name: "implicitHeaderHeightChanged" } + Signal { name: "implicitFooterWidthChanged" } + Signal { name: "implicitFooterHeightChanged" } + } + Component { + file: "private/qquickpageindicator_p.h" + name: "QQuickPageIndicator" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/PageIndicator 2.0", + "QtQuick.Templates/PageIndicator 2.1", + "QtQuick.Templates/PageIndicator 2.4", + "QtQuick.Templates/PageIndicator 2.5", + "QtQuick.Templates/PageIndicator 2.7", + "QtQuick.Templates/PageIndicator 2.11", + "QtQuick.Templates/PageIndicator 6.0", + "QtQuick.Templates/PageIndicator 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 517, 519, 523, 1536, 1539] + Property { + name: "count" + type: "int" + read: "count" + write: "setCount" + notify: "countChanged" + index: 0 + isFinal: true + } + Property { + name: "currentIndex" + type: "int" + read: "currentIndex" + write: "setCurrentIndex" + notify: "currentIndexChanged" + index: 1 + isFinal: true + } + Property { + name: "interactive" + type: "bool" + read: "isInteractive" + write: "setInteractive" + notify: "interactiveChanged" + index: 2 + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 3 + isFinal: true + } + Signal { name: "countChanged" } + Signal { name: "currentIndexChanged" } + Signal { name: "interactiveChanged" } + Signal { name: "delegateChanged" } + } + Component { + file: "private/qquickpane_p.h" + name: "QQuickPane" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/Pane 2.0", + "QtQuick.Templates/Pane 2.1", + "QtQuick.Templates/Pane 2.4", + "QtQuick.Templates/Pane 2.5", + "QtQuick.Templates/Pane 2.7", + "QtQuick.Templates/Pane 2.11", + "QtQuick.Templates/Pane 6.0", + "QtQuick.Templates/Pane 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 517, 519, 523, 1536, 1539] + Property { + name: "contentWidth" + type: "double" + read: "contentWidth" + write: "setContentWidth" + reset: "resetContentWidth" + notify: "contentWidthChanged" + index: 0 + isFinal: true + } + Property { + name: "contentHeight" + type: "double" + read: "contentHeight" + write: "setContentHeight" + reset: "resetContentHeight" + notify: "contentHeightChanged" + index: 1 + isFinal: true + } + Property { + name: "contentData" + type: "QObject" + isList: true + read: "contentData" + index: 2 + privateClass: "QQuickPanePrivate" + isReadonly: true + isFinal: true + } + Property { + name: "contentChildren" + type: "QQuickItem" + isList: true + read: "contentChildren" + notify: "contentChildrenChanged" + index: 3 + privateClass: "QQuickPanePrivate" + isReadonly: true + isFinal: true + } + Signal { name: "contentWidthChanged" } + Signal { name: "contentHeightChanged" } + Signal { name: "contentChildrenChanged" } + } + Component { + file: "private/qquickpopup_p.h" + name: "QQuickPopup" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + deferredNames: ["background", "contentItem"] + exports: [ + "QtQuick.Templates/Popup 2.0", + "QtQuick.Templates/Popup 2.1", + "QtQuick.Templates/Popup 2.3", + "QtQuick.Templates/Popup 2.5", + "QtQuick.Templates/Popup 6.0" + ] + exportMetaObjectRevisions: [512, 513, 515, 517, 1536] + Enum { + name: "ClosePolicy" + alias: "ClosePolicyFlag" + isFlag: true + values: [ + "NoAutoClose", + "CloseOnPressOutside", + "CloseOnPressOutsideParent", + "CloseOnReleaseOutside", + "CloseOnReleaseOutsideParent", + "CloseOnEscape" + ] + } + Enum { + name: "TransformOrigin" + values: [ + "TopLeft", + "Top", + "TopRight", + "Left", + "Center", + "Right", + "BottomLeft", + "Bottom", + "BottomRight" + ] + } + Property { + name: "x" + type: "double" + read: "x" + write: "setX" + notify: "xChanged" + index: 0 + isFinal: true + } + Property { + name: "y" + type: "double" + read: "y" + write: "setY" + notify: "yChanged" + index: 1 + isFinal: true + } + Property { + name: "z" + type: "double" + read: "z" + write: "setZ" + reset: "resetZ" + notify: "zChanged" + index: 2 + isFinal: true + } + Property { + name: "width" + type: "double" + read: "width" + write: "setWidth" + reset: "resetWidth" + notify: "widthChanged" + index: 3 + isFinal: true + } + Property { + name: "height" + type: "double" + read: "height" + write: "setHeight" + reset: "resetHeight" + notify: "heightChanged" + index: 4 + isFinal: true + } + Property { + name: "implicitWidth" + type: "double" + read: "implicitWidth" + write: "setImplicitWidth" + notify: "implicitWidthChanged" + index: 5 + isFinal: true + } + Property { + name: "implicitHeight" + type: "double" + read: "implicitHeight" + write: "setImplicitHeight" + notify: "implicitHeightChanged" + index: 6 + isFinal: true + } + Property { + name: "contentWidth" + type: "double" + read: "contentWidth" + write: "setContentWidth" + notify: "contentWidthChanged" + index: 7 + isFinal: true + } + Property { + name: "contentHeight" + type: "double" + read: "contentHeight" + write: "setContentHeight" + notify: "contentHeightChanged" + index: 8 + isFinal: true + } + Property { + name: "availableWidth" + type: "double" + read: "availableWidth" + notify: "availableWidthChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "availableHeight" + type: "double" + read: "availableHeight" + notify: "availableHeightChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "margins" + type: "double" + read: "margins" + write: "setMargins" + reset: "resetMargins" + notify: "marginsChanged" + index: 11 + isFinal: true + } + Property { + name: "topMargin" + type: "double" + read: "topMargin" + write: "setTopMargin" + reset: "resetTopMargin" + notify: "topMarginChanged" + index: 12 + isFinal: true + } + Property { + name: "leftMargin" + type: "double" + read: "leftMargin" + write: "setLeftMargin" + reset: "resetLeftMargin" + notify: "leftMarginChanged" + index: 13 + isFinal: true + } + Property { + name: "rightMargin" + type: "double" + read: "rightMargin" + write: "setRightMargin" + reset: "resetRightMargin" + notify: "rightMarginChanged" + index: 14 + isFinal: true + } + Property { + name: "bottomMargin" + type: "double" + read: "bottomMargin" + write: "setBottomMargin" + reset: "resetBottomMargin" + notify: "bottomMarginChanged" + index: 15 + isFinal: true + } + Property { + name: "padding" + type: "double" + read: "padding" + write: "setPadding" + reset: "resetPadding" + notify: "paddingChanged" + index: 16 + isFinal: true + } + Property { + name: "topPadding" + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + notify: "topPaddingChanged" + index: 17 + isFinal: true + } + Property { + name: "leftPadding" + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + notify: "leftPaddingChanged" + index: 18 + isFinal: true + } + Property { + name: "rightPadding" + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + notify: "rightPaddingChanged" + index: 19 + isFinal: true + } + Property { + name: "bottomPadding" + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + notify: "bottomPaddingChanged" + index: 20 + isFinal: true + } + Property { + name: "locale" + type: "QLocale" + read: "locale" + write: "setLocale" + reset: "resetLocale" + notify: "localeChanged" + index: 21 + isFinal: true + } + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + reset: "resetFont" + notify: "fontChanged" + index: 22 + isFinal: true + } + Property { + name: "parent" + type: "QQuickItem" + isPointer: true + read: "parentItem" + write: "setParentItem" + reset: "resetParentItem" + notify: "parentChanged" + index: 23 + isFinal: true + } + Property { + name: "background" + type: "QQuickItem" + isPointer: true + read: "background" + write: "setBackground" + notify: "backgroundChanged" + index: 24 + isFinal: true + } + Property { + name: "contentItem" + type: "QQuickItem" + isPointer: true + read: "contentItem" + write: "setContentItem" + notify: "contentItemChanged" + index: 25 + isFinal: true + } + Property { + name: "contentData" + type: "QObject" + isList: true + read: "contentData" + index: 26 + privateClass: "QQuickPopupPrivate" + isReadonly: true + } + Property { + name: "contentChildren" + type: "QQuickItem" + isList: true + read: "contentChildren" + notify: "contentChildrenChanged" + index: 27 + privateClass: "QQuickPopupPrivate" + isReadonly: true + isFinal: true + } + Property { + name: "clip" + type: "bool" + read: "clip" + write: "setClip" + notify: "clipChanged" + index: 28 + isFinal: true + } + Property { + name: "focus" + type: "bool" + read: "hasFocus" + write: "setFocus" + notify: "focusChanged" + index: 29 + isFinal: true + } + Property { + name: "activeFocus" + type: "bool" + read: "hasActiveFocus" + notify: "activeFocusChanged" + index: 30 + isReadonly: true + isFinal: true + } + Property { + name: "modal" + type: "bool" + read: "isModal" + write: "setModal" + notify: "modalChanged" + index: 31 + isFinal: true + } + Property { + name: "dim" + type: "bool" + read: "dim" + write: "setDim" + reset: "resetDim" + notify: "dimChanged" + index: 32 + isFinal: true + } + Property { + name: "visible" + type: "bool" + read: "isVisible" + write: "setVisible" + notify: "visibleChanged" + index: 33 + isFinal: true + } + Property { + name: "opacity" + type: "double" + read: "opacity" + write: "setOpacity" + notify: "opacityChanged" + index: 34 + isFinal: true + } + Property { + name: "scale" + type: "double" + read: "scale" + write: "setScale" + notify: "scaleChanged" + index: 35 + isFinal: true + } + Property { + name: "closePolicy" + type: "ClosePolicy" + read: "closePolicy" + write: "setClosePolicy" + reset: "resetClosePolicy" + notify: "closePolicyChanged" + index: 36 + isFinal: true + } + Property { + name: "transformOrigin" + type: "TransformOrigin" + read: "transformOrigin" + write: "setTransformOrigin" + index: 37 + isFinal: true + } + Property { + name: "enter" + type: "QQuickTransition" + isPointer: true + read: "enter" + write: "setEnter" + notify: "enterChanged" + index: 38 + isFinal: true + } + Property { + name: "exit" + type: "QQuickTransition" + isPointer: true + read: "exit" + write: "setExit" + notify: "exitChanged" + index: 39 + isFinal: true + } + Property { + name: "spacing" + revision: 513 + type: "double" + read: "spacing" + write: "setSpacing" + reset: "resetSpacing" + notify: "spacingChanged" + index: 40 + isFinal: true + } + Property { + name: "opened" + revision: 515 + type: "bool" + read: "isOpened" + notify: "openedChanged" + index: 41 + isReadonly: true + isFinal: true + } + Property { + name: "mirrored" + revision: 515 + type: "bool" + read: "isMirrored" + notify: "mirroredChanged" + index: 42 + isReadonly: true + isFinal: true + } + Property { + name: "enabled" + revision: 515 + type: "bool" + read: "isEnabled" + write: "setEnabled" + notify: "enabledChanged" + index: 43 + isFinal: true + } + Property { + name: "palette" + revision: 515 + type: "QQuickPalette" + isPointer: true + read: "palette" + write: "setPalette" + reset: "resetPalette" + notify: "paletteChanged" + index: 44 + privateClass: "QQuickPopupPrivate" + } + Property { + name: "horizontalPadding" + type: "double" + read: "horizontalPadding" + write: "setHorizontalPadding" + reset: "resetHorizontalPadding" + notify: "horizontalPaddingChanged" + index: 45 + isFinal: true + } + Property { + name: "verticalPadding" + type: "double" + read: "verticalPadding" + write: "setVerticalPadding" + reset: "resetVerticalPadding" + notify: "verticalPaddingChanged" + index: 46 + isFinal: true + } + Property { + name: "anchors" + revision: 517 + type: "QQuickPopupAnchors" + isPointer: true + read: "getAnchors" + index: 47 + privateClass: "QQuickPopupPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "implicitContentWidth" + revision: 517 + type: "double" + read: "implicitContentWidth" + notify: "implicitContentWidthChanged" + index: 48 + isReadonly: true + isFinal: true + } + Property { + name: "implicitContentHeight" + revision: 517 + type: "double" + read: "implicitContentHeight" + notify: "implicitContentHeightChanged" + index: 49 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundWidth" + revision: 517 + type: "double" + read: "implicitBackgroundWidth" + notify: "implicitBackgroundWidthChanged" + index: 50 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundHeight" + revision: 517 + type: "double" + read: "implicitBackgroundHeight" + notify: "implicitBackgroundHeightChanged" + index: 51 + isReadonly: true + isFinal: true + } + Property { + name: "topInset" + revision: 517 + type: "double" + read: "topInset" + write: "setTopInset" + reset: "resetTopInset" + notify: "topInsetChanged" + index: 52 + isFinal: true + } + Property { + name: "leftInset" + revision: 517 + type: "double" + read: "leftInset" + write: "setLeftInset" + reset: "resetLeftInset" + notify: "leftInsetChanged" + index: 53 + isFinal: true + } + Property { + name: "rightInset" + revision: 517 + type: "double" + read: "rightInset" + write: "setRightInset" + reset: "resetRightInset" + notify: "rightInsetChanged" + index: 54 + isFinal: true + } + Property { + name: "bottomInset" + revision: 517 + type: "double" + read: "bottomInset" + write: "setBottomInset" + reset: "resetBottomInset" + notify: "bottomInsetChanged" + index: 55 + isFinal: true + } + Signal { name: "opened" } + Signal { name: "closed" } + Signal { name: "aboutToShow" } + Signal { name: "aboutToHide" } + Signal { name: "xChanged" } + Signal { name: "yChanged" } + Signal { name: "zChanged" } + Signal { name: "widthChanged" } + Signal { name: "heightChanged" } + Signal { name: "implicitWidthChanged" } + Signal { name: "implicitHeightChanged" } + Signal { name: "contentWidthChanged" } + Signal { name: "contentHeightChanged" } + Signal { name: "availableWidthChanged" } + Signal { name: "availableHeightChanged" } + Signal { name: "marginsChanged" } + Signal { name: "topMarginChanged" } + Signal { name: "leftMarginChanged" } + Signal { name: "rightMarginChanged" } + Signal { name: "bottomMarginChanged" } + Signal { name: "paddingChanged" } + Signal { name: "topPaddingChanged" } + Signal { name: "leftPaddingChanged" } + Signal { name: "rightPaddingChanged" } + Signal { name: "bottomPaddingChanged" } + Signal { name: "fontChanged" } + Signal { name: "localeChanged" } + Signal { name: "parentChanged" } + Signal { name: "backgroundChanged" } + Signal { name: "contentItemChanged" } + Signal { name: "contentChildrenChanged" } + Signal { name: "clipChanged" } + Signal { name: "focusChanged" } + Signal { name: "activeFocusChanged" } + Signal { name: "modalChanged" } + Signal { name: "dimChanged" } + Signal { name: "visibleChanged" } + Signal { name: "opacityChanged" } + Signal { name: "scaleChanged" } + Signal { name: "closePolicyChanged" } + Signal { name: "enterChanged" } + Signal { name: "exitChanged" } + Signal { + name: "windowChanged" + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Signal { name: "spacingChanged"; revision: 513 } + Signal { name: "openedChanged"; revision: 515 } + Signal { name: "mirroredChanged"; revision: 515 } + Signal { name: "enabledChanged"; revision: 515 } + Signal { name: "paletteChanged"; revision: 515 } + Signal { name: "paletteCreated"; revision: 515 } + Signal { name: "horizontalPaddingChanged"; revision: 517 } + Signal { name: "verticalPaddingChanged"; revision: 517 } + Signal { name: "implicitContentWidthChanged"; revision: 517 } + Signal { name: "implicitContentHeightChanged"; revision: 517 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 517 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 517 } + Signal { name: "topInsetChanged"; revision: 517 } + Signal { name: "leftInsetChanged"; revision: 517 } + Signal { name: "rightInsetChanged"; revision: 517 } + Signal { name: "bottomInsetChanged"; revision: 517 } + Method { name: "open" } + Method { name: "close" } + Method { + name: "forceActiveFocus" + Parameter { name: "reason"; type: "Qt::FocusReason" } + } + Method { name: "forceActiveFocus"; isCloned: true } + } + Component { + file: "private/qquickpopupanchors_p.h" + name: "QQuickPopupAnchors" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "centerIn" + type: "QQuickItem" + isPointer: true + read: "centerIn" + write: "setCenterIn" + reset: "resetCenterIn" + notify: "centerInChanged" + index: 0 + isFinal: true + } + Signal { name: "centerInChanged" } + } + Component { + file: "private/qquickprogressbar_p.h" + name: "QQuickProgressBar" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/ProgressBar 2.0", + "QtQuick.Templates/ProgressBar 2.1", + "QtQuick.Templates/ProgressBar 2.4", + "QtQuick.Templates/ProgressBar 2.5", + "QtQuick.Templates/ProgressBar 2.7", + "QtQuick.Templates/ProgressBar 2.11", + "QtQuick.Templates/ProgressBar 6.0", + "QtQuick.Templates/ProgressBar 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 517, 519, 523, 1536, 1539] + Property { + name: "from" + type: "double" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 0 + isFinal: true + } + Property { + name: "to" + type: "double" + read: "to" + write: "setTo" + notify: "toChanged" + index: 1 + isFinal: true + } + Property { + name: "value" + type: "double" + read: "value" + write: "setValue" + notify: "valueChanged" + index: 2 + isFinal: true + } + Property { + name: "position" + type: "double" + read: "position" + notify: "positionChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "visualPosition" + type: "double" + read: "visualPosition" + notify: "visualPositionChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "indeterminate" + type: "bool" + read: "isIndeterminate" + write: "setIndeterminate" + notify: "indeterminateChanged" + index: 5 + isFinal: true + } + Signal { name: "fromChanged" } + Signal { name: "toChanged" } + Signal { name: "valueChanged" } + Signal { name: "positionChanged" } + Signal { name: "visualPositionChanged" } + Signal { name: "indeterminateChanged" } + } + Component { + file: "private/qquickradiobutton_p.h" + name: "QQuickRadioButton" + accessSemantics: "reference" + prototype: "QQuickAbstractButton" + exports: [ + "QtQuick.Templates/RadioButton 2.0", + "QtQuick.Templates/RadioButton 2.1", + "QtQuick.Templates/RadioButton 2.2", + "QtQuick.Templates/RadioButton 2.3", + "QtQuick.Templates/RadioButton 2.4", + "QtQuick.Templates/RadioButton 2.5", + "QtQuick.Templates/RadioButton 2.7", + "QtQuick.Templates/RadioButton 2.11", + "QtQuick.Templates/RadioButton 6.0", + "QtQuick.Templates/RadioButton 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + } + Component { + file: "private/qquickradiodelegate_p.h" + name: "QQuickRadioDelegate" + accessSemantics: "reference" + prototype: "QQuickItemDelegate" + exports: [ + "QtQuick.Templates/RadioDelegate 2.0", + "QtQuick.Templates/RadioDelegate 2.1", + "QtQuick.Templates/RadioDelegate 2.2", + "QtQuick.Templates/RadioDelegate 2.3", + "QtQuick.Templates/RadioDelegate 2.4", + "QtQuick.Templates/RadioDelegate 2.5", + "QtQuick.Templates/RadioDelegate 2.7", + "QtQuick.Templates/RadioDelegate 2.11", + "QtQuick.Templates/RadioDelegate 6.0", + "QtQuick.Templates/RadioDelegate 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + } + Component { + file: "private/qquickrangeslider_p.h" + name: "QQuickRangeSlider" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/RangeSlider 2.0", + "QtQuick.Templates/RangeSlider 2.1", + "QtQuick.Templates/RangeSlider 2.2", + "QtQuick.Templates/RangeSlider 2.3", + "QtQuick.Templates/RangeSlider 2.4", + "QtQuick.Templates/RangeSlider 2.5", + "QtQuick.Templates/RangeSlider 2.7", + "QtQuick.Templates/RangeSlider 2.11", + "QtQuick.Templates/RangeSlider 6.0", + "QtQuick.Templates/RangeSlider 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Enum { + name: "SnapMode" + values: ["NoSnap", "SnapAlways", "SnapOnRelease"] + } + Property { + name: "from" + type: "double" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 0 + isFinal: true + } + Property { + name: "to" + type: "double" + read: "to" + write: "setTo" + notify: "toChanged" + index: 1 + isFinal: true + } + Property { + name: "first" + type: "QQuickRangeSliderNode" + isPointer: true + read: "first" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "second" + type: "QQuickRangeSliderNode" + isPointer: true + read: "second" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "stepSize" + type: "double" + read: "stepSize" + write: "setStepSize" + notify: "stepSizeChanged" + index: 4 + isFinal: true + } + Property { + name: "snapMode" + type: "SnapMode" + read: "snapMode" + write: "setSnapMode" + notify: "snapModeChanged" + index: 5 + isFinal: true + } + Property { + name: "orientation" + type: "Qt::Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 6 + isFinal: true + } + Property { + name: "live" + revision: 514 + type: "bool" + read: "live" + write: "setLive" + notify: "liveChanged" + index: 7 + isFinal: true + } + Property { + name: "horizontal" + revision: 515 + type: "bool" + read: "isHorizontal" + notify: "orientationChanged" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "vertical" + revision: 515 + type: "bool" + read: "isVertical" + notify: "orientationChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "touchDragThreshold" + revision: 517 + type: "double" + read: "touchDragThreshold" + write: "setTouchDragThreshold" + reset: "resetTouchDragThreshold" + notify: "touchDragThresholdChanged" + index: 10 + isFinal: true + } + Signal { name: "fromChanged" } + Signal { name: "toChanged" } + Signal { name: "stepSizeChanged" } + Signal { name: "snapModeChanged" } + Signal { name: "orientationChanged" } + Signal { name: "liveChanged"; revision: 514 } + Signal { name: "touchDragThresholdChanged"; revision: 517 } + Method { + name: "setValues" + Parameter { name: "firstValue"; type: "double" } + Parameter { name: "secondValue"; type: "double" } + } + Method { + name: "valueAt" + revision: 517 + type: "double" + Parameter { name: "position"; type: "double" } + } + } + Component { + file: "private/qquickrangeslider_p.h" + name: "QQuickRangeSliderNode" + accessSemantics: "reference" + prototype: "QObject" + deferredNames: ["handle"] + Property { + name: "value" + type: "double" + read: "value" + write: "setValue" + notify: "valueChanged" + index: 0 + isFinal: true + } + Property { + name: "position" + type: "double" + read: "position" + notify: "positionChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "visualPosition" + type: "double" + read: "visualPosition" + notify: "visualPositionChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "handle" + type: "QQuickItem" + isPointer: true + read: "handle" + write: "setHandle" + notify: "handleChanged" + index: 3 + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + write: "setPressed" + notify: "pressedChanged" + index: 4 + isFinal: true + } + Property { + name: "hovered" + revision: 513 + type: "bool" + read: "isHovered" + write: "setHovered" + notify: "hoveredChanged" + index: 5 + isFinal: true + } + Property { + name: "implicitHandleWidth" + revision: 517 + type: "double" + read: "implicitHandleWidth" + notify: "implicitHandleWidthChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "implicitHandleHeight" + revision: 517 + type: "double" + read: "implicitHandleHeight" + notify: "implicitHandleHeightChanged" + index: 7 + isReadonly: true + isFinal: true + } + Signal { name: "valueChanged" } + Signal { name: "positionChanged" } + Signal { name: "visualPositionChanged" } + Signal { name: "handleChanged" } + Signal { name: "pressedChanged" } + Signal { name: "hoveredChanged"; revision: 513 } + Signal { name: "moved" } + Signal { name: "implicitHandleWidthChanged" } + Signal { name: "implicitHandleHeightChanged" } + Method { name: "increase" } + Method { name: "decrease" } + } + Component { + file: "private/qquickroundbutton_p.h" + name: "QQuickRoundButton" + accessSemantics: "reference" + prototype: "QQuickButton" + exports: [ + "QtQuick.Templates/RoundButton 2.1", + "QtQuick.Templates/RoundButton 2.2", + "QtQuick.Templates/RoundButton 2.3", + "QtQuick.Templates/RoundButton 2.4", + "QtQuick.Templates/RoundButton 2.5", + "QtQuick.Templates/RoundButton 2.7", + "QtQuick.Templates/RoundButton 2.11", + "QtQuick.Templates/RoundButton 6.0", + "QtQuick.Templates/RoundButton 6.3" + ] + exportMetaObjectRevisions: [ + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Property { + name: "radius" + type: "double" + read: "radius" + write: "setRadius" + reset: "resetRadius" + notify: "radiusChanged" + index: 0 + isFinal: true + } + Signal { name: "radiusChanged" } + } + Component { + file: "private/qquickscrollbar_p.h" + name: "QQuickScrollBar" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/ScrollBar 2.0", + "QtQuick.Templates/ScrollBar 2.1", + "QtQuick.Templates/ScrollBar 2.2", + "QtQuick.Templates/ScrollBar 2.3", + "QtQuick.Templates/ScrollBar 2.4", + "QtQuick.Templates/ScrollBar 2.5", + "QtQuick.Templates/ScrollBar 2.7", + "QtQuick.Templates/ScrollBar 2.11", + "QtQuick.Templates/ScrollBar 6.0", + "QtQuick.Templates/ScrollBar 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + attachedType: "QQuickScrollBarAttached" + Enum { + name: "SnapMode" + values: ["NoSnap", "SnapAlways", "SnapOnRelease"] + } + Enum { + name: "Policy" + values: ["AsNeeded", "AlwaysOff", "AlwaysOn"] + } + Property { + name: "size" + type: "double" + read: "size" + write: "setSize" + notify: "sizeChanged" + index: 0 + isFinal: true + } + Property { + name: "position" + type: "double" + read: "position" + write: "setPosition" + notify: "positionChanged" + index: 1 + isFinal: true + } + Property { + name: "stepSize" + type: "double" + read: "stepSize" + write: "setStepSize" + notify: "stepSizeChanged" + index: 2 + isFinal: true + } + Property { + name: "active" + type: "bool" + read: "isActive" + write: "setActive" + notify: "activeChanged" + index: 3 + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + write: "setPressed" + notify: "pressedChanged" + index: 4 + isFinal: true + } + Property { + name: "orientation" + type: "Qt::Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 5 + isFinal: true + } + Property { + name: "snapMode" + revision: 514 + type: "SnapMode" + read: "snapMode" + write: "setSnapMode" + notify: "snapModeChanged" + index: 6 + isFinal: true + } + Property { + name: "interactive" + revision: 514 + type: "bool" + read: "isInteractive" + write: "setInteractive" + reset: "resetInteractive" + notify: "interactiveChanged" + index: 7 + isFinal: true + } + Property { + name: "policy" + revision: 514 + type: "Policy" + read: "policy" + write: "setPolicy" + notify: "policyChanged" + index: 8 + isFinal: true + } + Property { + name: "horizontal" + revision: 515 + type: "bool" + read: "isHorizontal" + notify: "orientationChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "vertical" + revision: 515 + type: "bool" + read: "isVertical" + notify: "orientationChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "minimumSize" + revision: 516 + type: "double" + read: "minimumSize" + write: "setMinimumSize" + notify: "minimumSizeChanged" + index: 11 + isFinal: true + } + Property { + name: "visualSize" + revision: 516 + type: "double" + read: "visualSize" + notify: "visualSizeChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "visualPosition" + revision: 516 + type: "double" + read: "visualPosition" + notify: "visualPositionChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "__decreaseVisual" + type: "QQuickIndicatorButton" + isPointer: true + read: "decreaseVisual" + index: 14 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "__increaseVisual" + type: "QQuickIndicatorButton" + isPointer: true + read: "increaseVisual" + index: 15 + isReadonly: true + isFinal: true + isConstant: true + } + Signal { name: "sizeChanged" } + Signal { name: "positionChanged" } + Signal { name: "stepSizeChanged" } + Signal { name: "activeChanged" } + Signal { name: "pressedChanged" } + Signal { name: "orientationChanged" } + Signal { name: "snapModeChanged"; revision: 514 } + Signal { name: "interactiveChanged"; revision: 514 } + Signal { name: "policyChanged"; revision: 514 } + Signal { name: "minimumSizeChanged"; revision: 516 } + Signal { name: "visualSizeChanged"; revision: 516 } + Signal { name: "visualPositionChanged"; revision: 516 } + Method { name: "increase" } + Method { name: "decrease" } + Method { + name: "setSize" + Parameter { name: "size"; type: "double" } + } + Method { + name: "setPosition" + Parameter { name: "position"; type: "double" } + } + } + Component { + file: "private/qquickscrollbar_p.h" + name: "QQuickScrollBarAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "horizontal" + type: "QQuickScrollBar" + isPointer: true + read: "horizontal" + write: "setHorizontal" + notify: "horizontalChanged" + index: 0 + isFinal: true + } + Property { + name: "vertical" + type: "QQuickScrollBar" + isPointer: true + read: "vertical" + write: "setVertical" + notify: "verticalChanged" + index: 1 + isFinal: true + } + Signal { name: "horizontalChanged" } + Signal { name: "verticalChanged" } + } + Component { + file: "private/qquickscrollindicator_p.h" + name: "QQuickScrollIndicator" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/ScrollIndicator 2.0", + "QtQuick.Templates/ScrollIndicator 2.1", + "QtQuick.Templates/ScrollIndicator 2.3", + "QtQuick.Templates/ScrollIndicator 2.4", + "QtQuick.Templates/ScrollIndicator 2.5", + "QtQuick.Templates/ScrollIndicator 2.7", + "QtQuick.Templates/ScrollIndicator 2.11", + "QtQuick.Templates/ScrollIndicator 6.0", + "QtQuick.Templates/ScrollIndicator 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + attachedType: "QQuickScrollIndicatorAttached" + Property { + name: "size" + type: "double" + read: "size" + write: "setSize" + notify: "sizeChanged" + index: 0 + isFinal: true + } + Property { + name: "position" + type: "double" + read: "position" + write: "setPosition" + notify: "positionChanged" + index: 1 + isFinal: true + } + Property { + name: "active" + type: "bool" + read: "isActive" + write: "setActive" + notify: "activeChanged" + index: 2 + isFinal: true + } + Property { + name: "orientation" + type: "Qt::Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 3 + isFinal: true + } + Property { + name: "horizontal" + revision: 515 + type: "bool" + read: "isHorizontal" + notify: "orientationChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "vertical" + revision: 515 + type: "bool" + read: "isVertical" + notify: "orientationChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "minimumSize" + revision: 516 + type: "double" + read: "minimumSize" + write: "setMinimumSize" + notify: "minimumSizeChanged" + index: 6 + isFinal: true + } + Property { + name: "visualSize" + revision: 516 + type: "double" + read: "visualSize" + notify: "visualSizeChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "visualPosition" + revision: 516 + type: "double" + read: "visualPosition" + notify: "visualPositionChanged" + index: 8 + isReadonly: true + isFinal: true + } + Signal { name: "sizeChanged" } + Signal { name: "positionChanged" } + Signal { name: "activeChanged" } + Signal { name: "orientationChanged" } + Signal { name: "minimumSizeChanged"; revision: 516 } + Signal { name: "visualSizeChanged"; revision: 516 } + Signal { name: "visualPositionChanged"; revision: 516 } + Method { + name: "setSize" + Parameter { name: "size"; type: "double" } + } + Method { + name: "setPosition" + Parameter { name: "position"; type: "double" } + } + } + Component { + file: "private/qquickscrollindicator_p.h" + name: "QQuickScrollIndicatorAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "horizontal" + type: "QQuickScrollIndicator" + isPointer: true + read: "horizontal" + write: "setHorizontal" + notify: "horizontalChanged" + index: 0 + isFinal: true + } + Property { + name: "vertical" + type: "QQuickScrollIndicator" + isPointer: true + read: "vertical" + write: "setVertical" + notify: "verticalChanged" + index: 1 + isFinal: true + } + Signal { name: "horizontalChanged" } + Signal { name: "verticalChanged" } + } + Component { + file: "private/qquickscrollview_p.h" + name: "QQuickScrollView" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickPane" + exports: [ + "QtQuick.Templates/ScrollView 2.2", + "QtQuick.Templates/ScrollView 2.4", + "QtQuick.Templates/ScrollView 2.5", + "QtQuick.Templates/ScrollView 2.7", + "QtQuick.Templates/ScrollView 2.11", + "QtQuick.Templates/ScrollView 6.0", + "QtQuick.Templates/ScrollView 6.3", + "QtQuick.Templates/ScrollView 6.6" + ] + exportMetaObjectRevisions: [514, 516, 517, 519, 523, 1536, 1539, 1542] + Property { + name: "effectiveScrollBarWidth" + revision: 1542 + type: "double" + read: "effectiveScrollBarWidth" + notify: "effectiveScrollBarWidthChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "effectiveScrollBarHeight" + revision: 1542 + type: "double" + read: "effectiveScrollBarHeight" + notify: "effectiveScrollBarHeightChanged" + index: 1 + isReadonly: true + isFinal: true + } + Signal { name: "effectiveScrollBarWidthChanged"; revision: 1542 } + Signal { name: "effectiveScrollBarHeightChanged"; revision: 1542 } + } + Component { + file: "private/qquickselectionrectangle_p.h" + name: "QQuickSelectionRectangle" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/SelectionRectangle 6.2", + "QtQuick.Templates/SelectionRectangle 6.3" + ] + exportMetaObjectRevisions: [1538, 1539] + attachedType: "QQuickSelectionRectangleAttached" + Enum { + name: "SelectionMode" + values: ["Drag", "PressAndHold", "Auto"] + } + Property { + name: "selectionMode" + type: "SelectionMode" + read: "selectionMode" + write: "setSelectionMode" + notify: "selectionModeChanged" + index: 0 + isFinal: true + } + Property { + name: "target" + type: "QQuickItem" + isPointer: true + read: "target" + write: "setTarget" + notify: "targetChanged" + index: 1 + isFinal: true + } + Property { + name: "topLeftHandle" + type: "QQmlComponent" + isPointer: true + read: "topLeftHandle" + write: "setTopLeftHandle" + notify: "topLeftHandleChanged" + index: 2 + isFinal: true + } + Property { + name: "bottomRightHandle" + type: "QQmlComponent" + isPointer: true + read: "bottomRightHandle" + write: "setBottomRightHandle" + notify: "bottomRightHandleChanged" + index: 3 + isFinal: true + } + Property { + name: "active" + type: "bool" + read: "active" + notify: "activeChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "dragging" + type: "bool" + read: "dragging" + notify: "draggingChanged" + index: 5 + isReadonly: true + isFinal: true + } + Signal { name: "targetChanged" } + Signal { name: "activeChanged" } + Signal { name: "draggingChanged" } + Signal { name: "topLeftHandleChanged" } + Signal { name: "bottomRightHandleChanged" } + Signal { name: "selectionModeChanged" } + } + Component { + file: "private/qquickselectionrectangle_p.h" + name: "QQuickSelectionRectangleAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "control" + type: "QQuickSelectionRectangle" + isPointer: true + read: "control" + notify: "controlChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "dragging" + type: "bool" + read: "dragging" + notify: "draggingChanged" + index: 1 + isReadonly: true + isFinal: true + } + Signal { name: "controlChanged" } + Signal { name: "draggingChanged" } + } + Component { + file: "private/qquickslider_p.h" + name: "QQuickSlider" + accessSemantics: "reference" + prototype: "QQuickControl" + deferredNames: ["background", "handle"] + exports: [ + "QtQuick.Templates/Slider 2.0", + "QtQuick.Templates/Slider 2.1", + "QtQuick.Templates/Slider 2.2", + "QtQuick.Templates/Slider 2.3", + "QtQuick.Templates/Slider 2.4", + "QtQuick.Templates/Slider 2.5", + "QtQuick.Templates/Slider 2.7", + "QtQuick.Templates/Slider 2.11", + "QtQuick.Templates/Slider 6.0", + "QtQuick.Templates/Slider 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Enum { + name: "SnapMode" + values: ["NoSnap", "SnapAlways", "SnapOnRelease"] + } + Property { + name: "from" + type: "double" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 0 + isFinal: true + } + Property { + name: "to" + type: "double" + read: "to" + write: "setTo" + notify: "toChanged" + index: 1 + isFinal: true + } + Property { + name: "value" + type: "double" + read: "value" + write: "setValue" + notify: "valueChanged" + index: 2 + isFinal: true + } + Property { + name: "position" + type: "double" + read: "position" + notify: "positionChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "visualPosition" + type: "double" + read: "visualPosition" + notify: "visualPositionChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "stepSize" + type: "double" + read: "stepSize" + write: "setStepSize" + notify: "stepSizeChanged" + index: 5 + isFinal: true + } + Property { + name: "snapMode" + type: "SnapMode" + read: "snapMode" + write: "setSnapMode" + notify: "snapModeChanged" + index: 6 + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + write: "setPressed" + notify: "pressedChanged" + index: 7 + isFinal: true + } + Property { + name: "orientation" + type: "Qt::Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 8 + isFinal: true + } + Property { + name: "handle" + type: "QQuickItem" + isPointer: true + read: "handle" + write: "setHandle" + notify: "handleChanged" + index: 9 + isFinal: true + } + Property { + name: "live" + revision: 514 + type: "bool" + read: "live" + write: "setLive" + notify: "liveChanged" + index: 10 + isFinal: true + } + Property { + name: "horizontal" + revision: 515 + type: "bool" + read: "isHorizontal" + notify: "orientationChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "vertical" + revision: 515 + type: "bool" + read: "isVertical" + notify: "orientationChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "touchDragThreshold" + revision: 517 + type: "double" + read: "touchDragThreshold" + write: "setTouchDragThreshold" + reset: "resetTouchDragThreshold" + notify: "touchDragThresholdChanged" + index: 13 + isFinal: true + } + Property { + name: "implicitHandleWidth" + revision: 517 + type: "double" + read: "implicitHandleWidth" + notify: "implicitHandleWidthChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "implicitHandleHeight" + revision: 517 + type: "double" + read: "implicitHandleHeight" + notify: "implicitHandleHeightChanged" + index: 15 + isReadonly: true + isFinal: true + } + Signal { name: "fromChanged" } + Signal { name: "toChanged" } + Signal { name: "valueChanged" } + Signal { name: "positionChanged" } + Signal { name: "visualPositionChanged" } + Signal { name: "stepSizeChanged" } + Signal { name: "snapModeChanged" } + Signal { name: "pressedChanged" } + Signal { name: "orientationChanged" } + Signal { name: "handleChanged" } + Signal { name: "moved"; revision: 514 } + Signal { name: "liveChanged"; revision: 514 } + Signal { name: "touchDragThresholdChanged"; revision: 517 } + Signal { name: "implicitHandleWidthChanged"; revision: 517 } + Signal { name: "implicitHandleHeightChanged"; revision: 517 } + Method { name: "increase" } + Method { name: "decrease" } + Method { + name: "valueAt" + revision: 513 + type: "double" + Parameter { name: "position"; type: "double" } + } + } + Component { + file: "private/qquickspinbox_p.h" + name: "QQuickSpinBox" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/SpinBox 2.0", + "QtQuick.Templates/SpinBox 2.1", + "QtQuick.Templates/SpinBox 2.2", + "QtQuick.Templates/SpinBox 2.3", + "QtQuick.Templates/SpinBox 2.4", + "QtQuick.Templates/SpinBox 2.5", + "QtQuick.Templates/SpinBox 2.7", + "QtQuick.Templates/SpinBox 2.11", + "QtQuick.Templates/SpinBox 6.0", + "QtQuick.Templates/SpinBox 6.3", + "QtQuick.Templates/SpinBox 6.6" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539, + 1542 + ] + Property { + name: "from" + type: "int" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 0 + isFinal: true + } + Property { + name: "to" + type: "int" + read: "to" + write: "setTo" + notify: "toChanged" + index: 1 + isFinal: true + } + Property { + name: "value" + type: "int" + read: "value" + write: "setValue" + notify: "valueChanged" + index: 2 + isFinal: true + } + Property { + name: "stepSize" + type: "int" + read: "stepSize" + write: "setStepSize" + notify: "stepSizeChanged" + index: 3 + isFinal: true + } + Property { + name: "editable" + type: "bool" + read: "isEditable" + write: "setEditable" + notify: "editableChanged" + index: 4 + isFinal: true + } + Property { + name: "live" + revision: 1542 + type: "bool" + read: "isLive" + write: "setLive" + notify: "liveChanged" + index: 5 + isFinal: true + } + Property { + name: "validator" + type: "QValidator" + isPointer: true + read: "validator" + write: "setValidator" + notify: "validatorChanged" + index: 6 + isFinal: true + } + Property { + name: "textFromValue" + type: "QJSValue" + read: "textFromValue" + write: "setTextFromValue" + notify: "textFromValueChanged" + index: 7 + isFinal: true + } + Property { + name: "valueFromText" + type: "QJSValue" + read: "valueFromText" + write: "setValueFromText" + notify: "valueFromTextChanged" + index: 8 + isFinal: true + } + Property { + name: "up" + type: "QQuickIndicatorButton" + isPointer: true + read: "up" + index: 9 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "down" + type: "QQuickIndicatorButton" + isPointer: true + read: "down" + index: 10 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "inputMethodHints" + revision: 514 + type: "Qt::InputMethodHints" + read: "inputMethodHints" + write: "setInputMethodHints" + notify: "inputMethodHintsChanged" + index: 11 + isFinal: true + } + Property { + name: "inputMethodComposing" + revision: 514 + type: "bool" + read: "isInputMethodComposing" + notify: "inputMethodComposingChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "wrap" + revision: 515 + type: "bool" + read: "wrap" + write: "setWrap" + notify: "wrapChanged" + index: 13 + isFinal: true + } + Property { + name: "displayText" + revision: 516 + type: "QString" + read: "displayText" + notify: "displayTextChanged" + index: 14 + isReadonly: true + isFinal: true + } + Signal { name: "fromChanged" } + Signal { name: "toChanged" } + Signal { name: "valueChanged" } + Signal { name: "stepSizeChanged" } + Signal { name: "editableChanged" } + Signal { name: "liveChanged"; revision: 1542 } + Signal { name: "validatorChanged" } + Signal { name: "textFromValueChanged" } + Signal { name: "valueFromTextChanged" } + Signal { name: "valueModified"; revision: 514 } + Signal { name: "inputMethodHintsChanged"; revision: 514 } + Signal { name: "inputMethodComposingChanged"; revision: 514 } + Signal { name: "wrapChanged"; revision: 515 } + Signal { name: "displayTextChanged"; revision: 516 } + Method { name: "increase" } + Method { name: "decrease" } + } + Component { + file: "private/qquicksplitview_p.h" + name: "QQuickSplitHandleAttached" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick.Templates/SplitHandle 2.13", + "QtQuick.Templates/SplitHandle 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [525, 1536] + attachedType: "QQuickSplitHandleAttached" + Property { + name: "hovered" + type: "bool" + read: "isHovered" + notify: "hoveredChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + notify: "pressedChanged" + index: 1 + isReadonly: true + isFinal: true + } + Signal { name: "hoveredChanged" } + Signal { name: "pressedChanged" } + } + Component { + file: "private/qquicksplitview_p.h" + name: "QQuickSplitView" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickContainer" + exports: [ + "QtQuick.Templates/SplitView 2.13", + "QtQuick.Templates/SplitView 6.0", + "QtQuick.Templates/SplitView 6.3" + ] + exportMetaObjectRevisions: [525, 1536, 1539] + attachedType: "QQuickSplitViewAttached" + Property { + name: "orientation" + type: "Qt::Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 0 + isFinal: true + } + Property { + name: "resizing" + type: "bool" + read: "isResizing" + notify: "resizingChanged" + index: 1 + isReadonly: true + } + Property { + name: "handle" + type: "QQmlComponent" + isPointer: true + read: "handle" + write: "setHandle" + notify: "handleChanged" + index: 2 + isFinal: true + } + Signal { name: "orientationChanged" } + Signal { name: "resizingChanged" } + Signal { name: "handleChanged" } + Method { name: "saveState"; type: "QVariant" } + Method { + name: "restoreState" + type: "bool" + Parameter { name: "state"; type: "QVariant" } + } + } + Component { + file: "private/qquicksplitview_p.h" + name: "QQuickSplitViewAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "view" + type: "QQuickSplitView" + isPointer: true + read: "view" + notify: "viewChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "minimumWidth" + type: "double" + read: "minimumWidth" + write: "setMinimumWidth" + reset: "resetMinimumWidth" + notify: "minimumWidthChanged" + index: 1 + isFinal: true + } + Property { + name: "minimumHeight" + type: "double" + read: "minimumHeight" + write: "setMinimumHeight" + reset: "resetMinimumHeight" + notify: "minimumHeightChanged" + index: 2 + isFinal: true + } + Property { + name: "preferredWidth" + type: "double" + read: "preferredWidth" + write: "setPreferredWidth" + reset: "resetPreferredWidth" + notify: "preferredWidthChanged" + index: 3 + isFinal: true + } + Property { + name: "preferredHeight" + type: "double" + read: "preferredHeight" + write: "setPreferredHeight" + reset: "resetPreferredHeight" + notify: "preferredHeightChanged" + index: 4 + isFinal: true + } + Property { + name: "maximumWidth" + type: "double" + read: "maximumWidth" + write: "setMaximumWidth" + reset: "resetMaximumWidth" + notify: "maximumWidthChanged" + index: 5 + isFinal: true + } + Property { + name: "maximumHeight" + type: "double" + read: "maximumHeight" + write: "setMaximumHeight" + reset: "resetMaximumHeight" + notify: "maximumHeightChanged" + index: 6 + isFinal: true + } + Property { + name: "fillHeight" + type: "bool" + read: "fillHeight" + write: "setFillHeight" + notify: "fillHeightChanged" + index: 7 + isFinal: true + } + Property { + name: "fillWidth" + type: "bool" + read: "fillWidth" + write: "setFillWidth" + notify: "fillWidthChanged" + index: 8 + isFinal: true + } + Signal { name: "viewChanged" } + Signal { name: "minimumWidthChanged" } + Signal { name: "minimumHeightChanged" } + Signal { name: "preferredWidthChanged" } + Signal { name: "preferredHeightChanged" } + Signal { name: "maximumWidthChanged" } + Signal { name: "maximumHeightChanged" } + Signal { name: "fillWidthChanged" } + Signal { name: "fillHeightChanged" } + } + Component { + file: "private/qquickstackview_p.h" + name: "QQuickStackView" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/StackView 2.0", + "QtQuick.Templates/StackView 2.1", + "QtQuick.Templates/StackView 2.3", + "QtQuick.Templates/StackView 2.4", + "QtQuick.Templates/StackView 2.5", + "QtQuick.Templates/StackView 2.7", + "QtQuick.Templates/StackView 2.11", + "QtQuick.Templates/StackView 6.0", + "QtQuick.Templates/StackView 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + attachedType: "QQuickStackViewAttached" + Enum { + name: "Status" + values: ["Inactive", "Deactivating", "Activating", "Active"] + } + Enum { + name: "LoadBehavior" + values: ["DontLoad", "ForceLoad"] + } + Enum { + name: "Operation" + values: [ + "Transition", + "Immediate", + "PushTransition", + "ReplaceTransition", + "PopTransition" + ] + } + Property { + name: "busy" + type: "bool" + read: "isBusy" + notify: "busyChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "depth" + type: "int" + read: "depth" + notify: "depthChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "currentItem" + type: "QQuickItem" + isPointer: true + read: "currentItem" + notify: "currentItemChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "initialItem" + type: "QJSValue" + read: "initialItem" + write: "setInitialItem" + index: 3 + isFinal: true + } + Property { + name: "popEnter" + type: "QQuickTransition" + isPointer: true + read: "popEnter" + write: "setPopEnter" + notify: "popEnterChanged" + index: 4 + isFinal: true + } + Property { + name: "popExit" + type: "QQuickTransition" + isPointer: true + read: "popExit" + write: "setPopExit" + notify: "popExitChanged" + index: 5 + isFinal: true + } + Property { + name: "pushEnter" + type: "QQuickTransition" + isPointer: true + read: "pushEnter" + write: "setPushEnter" + notify: "pushEnterChanged" + index: 6 + isFinal: true + } + Property { + name: "pushExit" + type: "QQuickTransition" + isPointer: true + read: "pushExit" + write: "setPushExit" + notify: "pushExitChanged" + index: 7 + isFinal: true + } + Property { + name: "replaceEnter" + type: "QQuickTransition" + isPointer: true + read: "replaceEnter" + write: "setReplaceEnter" + notify: "replaceEnterChanged" + index: 8 + isFinal: true + } + Property { + name: "replaceExit" + type: "QQuickTransition" + isPointer: true + read: "replaceExit" + write: "setReplaceExit" + notify: "replaceExitChanged" + index: 9 + isFinal: true + } + Property { + name: "empty" + revision: 515 + type: "bool" + read: "isEmpty" + notify: "emptyChanged" + index: 10 + isReadonly: true + isFinal: true + } + Signal { name: "busyChanged" } + Signal { name: "depthChanged" } + Signal { name: "currentItemChanged" } + Signal { name: "popEnterChanged" } + Signal { name: "popExitChanged" } + Signal { name: "pushEnterChanged" } + Signal { name: "pushExitChanged" } + Signal { name: "replaceEnterChanged" } + Signal { name: "replaceExitChanged" } + Signal { name: "emptyChanged"; revision: 515 } + Method { + name: "clear" + Parameter { name: "operation"; type: "Operation" } + } + Method { name: "clear"; isCloned: true } + Method { + name: "get" + type: "QQuickItem" + isPointer: true + Parameter { name: "index"; type: "int" } + Parameter { name: "behavior"; type: "QQuickStackView::LoadBehavior" } + } + Method { + name: "get" + type: "QQuickItem" + isPointer: true + isCloned: true + Parameter { name: "index"; type: "int" } + } + Method { + name: "find" + type: "QQuickItem" + isPointer: true + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "behavior"; type: "QQuickStackView::LoadBehavior" } + } + Method { + name: "find" + type: "QQuickItem" + isPointer: true + isCloned: true + Parameter { name: "callback"; type: "QJSValue" } + } + Method { name: "push"; isJavaScriptFunction: true } + Method { name: "pop"; isJavaScriptFunction: true } + Method { name: "replace"; isJavaScriptFunction: true } + } + Component { + file: "private/qquickstackview_p.h" + name: "QQuickStackViewAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "index" + type: "int" + read: "index" + notify: "indexChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "view" + type: "QQuickStackView" + isPointer: true + read: "view" + notify: "viewChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "status" + type: "QQuickStackView::Status" + read: "status" + notify: "statusChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "visible" + type: "bool" + read: "isVisible" + write: "setVisible" + reset: "resetVisible" + notify: "visibleChanged" + index: 3 + isFinal: true + } + Signal { name: "indexChanged" } + Signal { name: "viewChanged" } + Signal { name: "statusChanged" } + Signal { name: "activated" } + Signal { name: "activating" } + Signal { name: "deactivated" } + Signal { name: "deactivating" } + Signal { name: "removed" } + Signal { name: "visibleChanged" } + } + Component { + file: "private/qquickswipe_p.h" + name: "QQuickSwipe" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "position" + type: "double" + read: "position" + write: "setPosition" + notify: "positionChanged" + index: 0 + isFinal: true + } + Property { + name: "complete" + type: "bool" + read: "isComplete" + notify: "completeChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "left" + type: "QQmlComponent" + isPointer: true + read: "left" + write: "setLeft" + notify: "leftChanged" + index: 2 + isFinal: true + } + Property { + name: "behind" + type: "QQmlComponent" + isPointer: true + read: "behind" + write: "setBehind" + notify: "behindChanged" + index: 3 + isFinal: true + } + Property { + name: "right" + type: "QQmlComponent" + isPointer: true + read: "right" + write: "setRight" + notify: "rightChanged" + index: 4 + isFinal: true + } + Property { + name: "leftItem" + type: "QQuickItem" + isPointer: true + read: "leftItem" + notify: "leftItemChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "behindItem" + type: "QQuickItem" + isPointer: true + read: "behindItem" + notify: "behindItemChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "rightItem" + type: "QQuickItem" + isPointer: true + read: "rightItem" + notify: "rightItemChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "enabled" + type: "bool" + read: "isEnabled" + write: "setEnabled" + notify: "enabledChanged" + index: 8 + isFinal: true + } + Property { + name: "transition" + type: "QQuickTransition" + isPointer: true + read: "transition" + write: "setTransition" + notify: "transitionChanged" + index: 9 + isFinal: true + } + Signal { name: "positionChanged" } + Signal { name: "completeChanged" } + Signal { name: "leftChanged" } + Signal { name: "behindChanged" } + Signal { name: "rightChanged" } + Signal { name: "leftItemChanged" } + Signal { name: "behindItemChanged" } + Signal { name: "rightItemChanged" } + Signal { name: "completed" } + Signal { name: "opened" } + Signal { name: "closed" } + Signal { name: "enabledChanged" } + Signal { name: "transitionChanged" } + Method { name: "close"; revision: 513 } + Method { + name: "open" + revision: 514 + Parameter { name: "side"; type: "QQuickSwipeDelegate::Side" } + } + } + Component { + file: "private/qquickswipedelegate_p.h" + name: "QQuickSwipeDelegate" + accessSemantics: "reference" + prototype: "QQuickItemDelegate" + exports: [ + "QtQuick.Templates/SwipeDelegate 2.0", + "QtQuick.Templates/SwipeDelegate 2.1", + "QtQuick.Templates/SwipeDelegate 2.2", + "QtQuick.Templates/SwipeDelegate 2.3", + "QtQuick.Templates/SwipeDelegate 2.4", + "QtQuick.Templates/SwipeDelegate 2.5", + "QtQuick.Templates/SwipeDelegate 2.7", + "QtQuick.Templates/SwipeDelegate 2.11", + "QtQuick.Templates/SwipeDelegate 6.0", + "QtQuick.Templates/SwipeDelegate 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + attachedType: "QQuickSwipeDelegateAttached" + Enum { + name: "Side" + values: ["Left", "Right"] + } + Property { + name: "swipe" + type: "QQuickSwipe" + isPointer: true + read: "swipe" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + } + Component { + file: "private/qquickswipedelegate_p.h" + name: "QQuickSwipeDelegateAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "pressed" + type: "bool" + read: "isPressed" + notify: "pressedChanged" + index: 0 + isReadonly: true + isFinal: true + } + Signal { name: "pressedChanged" } + Signal { name: "clicked" } + } + Component { + file: "private/qquickswipeview_p.h" + name: "QQuickSwipeView" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickContainer" + exports: [ + "QtQuick.Templates/SwipeView 2.0", + "QtQuick.Templates/SwipeView 2.1", + "QtQuick.Templates/SwipeView 2.2", + "QtQuick.Templates/SwipeView 2.3", + "QtQuick.Templates/SwipeView 2.4", + "QtQuick.Templates/SwipeView 2.5", + "QtQuick.Templates/SwipeView 2.7", + "QtQuick.Templates/SwipeView 2.11", + "QtQuick.Templates/SwipeView 6.0", + "QtQuick.Templates/SwipeView 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + attachedType: "QQuickSwipeViewAttached" + Property { + name: "interactive" + revision: 513 + type: "bool" + read: "isInteractive" + write: "setInteractive" + notify: "interactiveChanged" + index: 0 + isFinal: true + } + Property { + name: "orientation" + revision: 514 + type: "Qt::Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 1 + isFinal: true + } + Property { + name: "horizontal" + revision: 515 + type: "bool" + read: "isHorizontal" + notify: "orientationChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "vertical" + revision: 515 + type: "bool" + read: "isVertical" + notify: "orientationChanged" + index: 3 + isReadonly: true + isFinal: true + } + Signal { name: "interactiveChanged"; revision: 513 } + Signal { name: "orientationChanged"; revision: 514 } + } + Component { + file: "private/qquickswipeview_p.h" + name: "QQuickSwipeViewAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "index" + type: "int" + read: "index" + notify: "indexChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "isCurrentItem" + type: "bool" + read: "isCurrentItem" + notify: "isCurrentItemChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "view" + type: "QQuickSwipeView" + isPointer: true + read: "view" + notify: "viewChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "isNextItem" + revision: 513 + type: "bool" + read: "isNextItem" + notify: "isNextItemChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "isPreviousItem" + revision: 513 + type: "bool" + read: "isPreviousItem" + notify: "isPreviousItemChanged" + index: 4 + isReadonly: true + isFinal: true + } + Signal { name: "indexChanged" } + Signal { name: "isCurrentItemChanged" } + Signal { name: "viewChanged" } + Signal { name: "isNextItemChanged" } + Signal { name: "isPreviousItemChanged" } + } + Component { + file: "private/qquickswitch_p.h" + name: "QQuickSwitch" + accessSemantics: "reference" + prototype: "QQuickAbstractButton" + exports: [ + "QtQuick.Templates/Switch 2.0", + "QtQuick.Templates/Switch 2.1", + "QtQuick.Templates/Switch 2.2", + "QtQuick.Templates/Switch 2.3", + "QtQuick.Templates/Switch 2.4", + "QtQuick.Templates/Switch 2.5", + "QtQuick.Templates/Switch 2.7", + "QtQuick.Templates/Switch 2.11", + "QtQuick.Templates/Switch 6.0", + "QtQuick.Templates/Switch 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Property { + name: "position" + type: "double" + read: "position" + write: "setPosition" + notify: "positionChanged" + index: 0 + isFinal: true + } + Property { + name: "visualPosition" + type: "double" + read: "visualPosition" + notify: "visualPositionChanged" + index: 1 + isReadonly: true + isFinal: true + } + Signal { name: "positionChanged" } + Signal { name: "visualPositionChanged" } + } + Component { + file: "private/qquickswitchdelegate_p.h" + name: "QQuickSwitchDelegate" + accessSemantics: "reference" + prototype: "QQuickItemDelegate" + exports: [ + "QtQuick.Templates/SwitchDelegate 2.0", + "QtQuick.Templates/SwitchDelegate 2.1", + "QtQuick.Templates/SwitchDelegate 2.2", + "QtQuick.Templates/SwitchDelegate 2.3", + "QtQuick.Templates/SwitchDelegate 2.4", + "QtQuick.Templates/SwitchDelegate 2.5", + "QtQuick.Templates/SwitchDelegate 2.7", + "QtQuick.Templates/SwitchDelegate 2.11", + "QtQuick.Templates/SwitchDelegate 6.0", + "QtQuick.Templates/SwitchDelegate 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + Property { + name: "position" + type: "double" + read: "position" + write: "setPosition" + notify: "positionChanged" + index: 0 + isFinal: true + } + Property { + name: "visualPosition" + type: "double" + read: "visualPosition" + notify: "visualPositionChanged" + index: 1 + isReadonly: true + isFinal: true + } + Signal { name: "positionChanged" } + Signal { name: "visualPositionChanged" } + } + Component { + file: "private/qquicktabbar_p.h" + name: "QQuickTabBar" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickContainer" + exports: [ + "QtQuick.Templates/TabBar 2.0", + "QtQuick.Templates/TabBar 2.1", + "QtQuick.Templates/TabBar 2.3", + "QtQuick.Templates/TabBar 2.4", + "QtQuick.Templates/TabBar 2.5", + "QtQuick.Templates/TabBar 2.7", + "QtQuick.Templates/TabBar 2.11", + "QtQuick.Templates/TabBar 6.0", + "QtQuick.Templates/TabBar 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + attachedType: "QQuickTabBarAttached" + Enum { + name: "Position" + values: ["Header", "Footer"] + } + Property { + name: "position" + type: "Position" + read: "position" + write: "setPosition" + notify: "positionChanged" + index: 0 + isFinal: true + } + Signal { name: "positionChanged" } + } + Component { + file: "private/qquicktabbar_p.h" + name: "QQuickTabBarAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "index" + type: "int" + read: "index" + notify: "indexChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "tabBar" + type: "QQuickTabBar" + isPointer: true + read: "tabBar" + notify: "tabBarChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "position" + type: "QQuickTabBar::Position" + read: "position" + notify: "positionChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "indexChanged" } + Signal { name: "tabBarChanged" } + Signal { name: "positionChanged" } + } + Component { + file: "private/qquicktabbutton_p.h" + name: "QQuickTabButton" + accessSemantics: "reference" + prototype: "QQuickAbstractButton" + exports: [ + "QtQuick.Templates/TabButton 2.0", + "QtQuick.Templates/TabButton 2.1", + "QtQuick.Templates/TabButton 2.2", + "QtQuick.Templates/TabButton 2.3", + "QtQuick.Templates/TabButton 2.4", + "QtQuick.Templates/TabButton 2.5", + "QtQuick.Templates/TabButton 2.7", + "QtQuick.Templates/TabButton 2.11", + "QtQuick.Templates/TabButton 6.0", + "QtQuick.Templates/TabButton 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + } + Component { + file: "private/qquicktextarea_p.h" + name: "QQuickTextArea" + accessSemantics: "reference" + prototype: "QQuickTextEdit" + deferredNames: ["background"] + exports: [ + "QtQuick.Templates/TextArea 2.0", + "QtQuick.Templates/TextArea 2.1", + "QtQuick.Templates/TextArea 2.2", + "QtQuick.Templates/TextArea 2.3", + "QtQuick.Templates/TextArea 2.4", + "QtQuick.Templates/TextArea 2.5", + "QtQuick.Templates/TextArea 2.6", + "QtQuick.Templates/TextArea 2.7", + "QtQuick.Templates/TextArea 2.10", + "QtQuick.Templates/TextArea 2.11", + "QtQuick.Templates/TextArea 6.0", + "QtQuick.Templates/TextArea 6.2", + "QtQuick.Templates/TextArea 6.3", + "QtQuick.Templates/TextArea 6.4" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 522, + 523, + 1536, + 1538, + 1539, + 1540 + ] + attachedType: "QQuickTextAreaAttached" + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + notify: "fontChanged" + index: 0 + } + Property { + name: "implicitWidth" + type: "double" + read: "implicitWidth" + write: "setImplicitWidth" + notify: "implicitWidthChanged3" + index: 1 + isFinal: true + } + Property { + name: "implicitHeight" + type: "double" + read: "implicitHeight" + write: "setImplicitHeight" + notify: "implicitHeightChanged3" + index: 2 + isFinal: true + } + Property { + name: "background" + type: "QQuickItem" + isPointer: true + read: "background" + write: "setBackground" + notify: "backgroundChanged" + index: 3 + isFinal: true + } + Property { + name: "placeholderText" + type: "QString" + read: "placeholderText" + write: "setPlaceholderText" + notify: "placeholderTextChanged" + index: 4 + isFinal: true + } + Property { + name: "focusReason" + type: "Qt::FocusReason" + read: "focusReason" + write: "setFocusReason" + notify: "focusReasonChanged" + index: 5 + isFinal: true + } + Property { + name: "hovered" + revision: 513 + type: "bool" + read: "isHovered" + notify: "hoveredChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "hoverEnabled" + revision: 513 + type: "bool" + read: "isHoverEnabled" + write: "setHoverEnabled" + reset: "resetHoverEnabled" + notify: "hoverEnabledChanged" + index: 7 + isFinal: true + } + Property { + name: "placeholderTextColor" + revision: 517 + type: "QColor" + read: "placeholderTextColor" + write: "setPlaceholderTextColor" + notify: "placeholderTextColorChanged" + index: 8 + isFinal: true + } + Property { + name: "implicitBackgroundWidth" + revision: 517 + type: "double" + read: "implicitBackgroundWidth" + notify: "implicitBackgroundWidthChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundHeight" + revision: 517 + type: "double" + read: "implicitBackgroundHeight" + notify: "implicitBackgroundHeightChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "topInset" + revision: 517 + type: "double" + read: "topInset" + write: "setTopInset" + reset: "resetTopInset" + notify: "topInsetChanged" + index: 11 + isFinal: true + } + Property { + name: "leftInset" + revision: 517 + type: "double" + read: "leftInset" + write: "setLeftInset" + reset: "resetLeftInset" + notify: "leftInsetChanged" + index: 12 + isFinal: true + } + Property { + name: "rightInset" + revision: 517 + type: "double" + read: "rightInset" + write: "setRightInset" + reset: "resetRightInset" + notify: "rightInsetChanged" + index: 13 + isFinal: true + } + Property { + name: "bottomInset" + revision: 517 + type: "double" + read: "bottomInset" + write: "setBottomInset" + reset: "resetBottomInset" + notify: "bottomInsetChanged" + index: 14 + isFinal: true + } + Signal { name: "fontChanged" } + Signal { name: "implicitWidthChanged3" } + Signal { name: "implicitHeightChanged3" } + Signal { name: "backgroundChanged" } + Signal { name: "placeholderTextChanged" } + Signal { name: "focusReasonChanged" } + Signal { + name: "pressAndHold" + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "pressed" + revision: 513 + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "released" + revision: 513 + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { name: "hoveredChanged"; revision: 513 } + Signal { name: "hoverEnabledChanged"; revision: 513 } + Signal { name: "placeholderTextColorChanged"; revision: 517 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 517 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 517 } + Signal { name: "topInsetChanged"; revision: 517 } + Signal { name: "leftInsetChanged"; revision: 517 } + Signal { name: "rightInsetChanged"; revision: 517 } + Signal { name: "bottomInsetChanged"; revision: 517 } + } + Component { + file: "private/qquicktextarea_p.h" + name: "QQuickTextAreaAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "flickable" + type: "QQuickTextArea" + isPointer: true + read: "flickable" + write: "setFlickable" + notify: "flickableChanged" + index: 0 + isFinal: true + } + Signal { name: "flickableChanged" } + } + Component { + file: "private/qquicktextfield_p.h" + name: "QQuickTextField" + accessSemantics: "reference" + prototype: "QQuickTextInput" + deferredNames: ["background"] + exports: [ + "QtQuick.Templates/TextField 2.0", + "QtQuick.Templates/TextField 2.1", + "QtQuick.Templates/TextField 2.2", + "QtQuick.Templates/TextField 2.4", + "QtQuick.Templates/TextField 2.5", + "QtQuick.Templates/TextField 2.6", + "QtQuick.Templates/TextField 2.7", + "QtQuick.Templates/TextField 2.9", + "QtQuick.Templates/TextField 2.11", + "QtQuick.Templates/TextField 6.0", + "QtQuick.Templates/TextField 6.2", + "QtQuick.Templates/TextField 6.3", + "QtQuick.Templates/TextField 6.4" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 516, + 517, + 518, + 519, + 521, + 523, + 1536, + 1538, + 1539, + 1540 + ] + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + notify: "fontChanged" + index: 0 + } + Property { + name: "implicitWidth" + type: "double" + read: "implicitWidth" + write: "setImplicitWidth" + notify: "implicitWidthChanged3" + index: 1 + isFinal: true + } + Property { + name: "implicitHeight" + type: "double" + read: "implicitHeight" + write: "setImplicitHeight" + notify: "implicitHeightChanged3" + index: 2 + isFinal: true + } + Property { + name: "background" + type: "QQuickItem" + isPointer: true + read: "background" + write: "setBackground" + notify: "backgroundChanged" + index: 3 + isFinal: true + } + Property { + name: "placeholderText" + type: "QString" + read: "placeholderText" + write: "setPlaceholderText" + notify: "placeholderTextChanged" + index: 4 + isFinal: true + } + Property { + name: "focusReason" + type: "Qt::FocusReason" + read: "focusReason" + write: "setFocusReason" + notify: "focusReasonChanged" + index: 5 + isFinal: true + } + Property { + name: "hovered" + revision: 513 + type: "bool" + read: "isHovered" + notify: "hoveredChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "hoverEnabled" + revision: 513 + type: "bool" + read: "isHoverEnabled" + write: "setHoverEnabled" + reset: "resetHoverEnabled" + notify: "hoverEnabledChanged" + index: 7 + isFinal: true + } + Property { + name: "placeholderTextColor" + revision: 517 + type: "QColor" + read: "placeholderTextColor" + write: "setPlaceholderTextColor" + notify: "placeholderTextColorChanged" + index: 8 + isFinal: true + } + Property { + name: "implicitBackgroundWidth" + revision: 517 + type: "double" + read: "implicitBackgroundWidth" + notify: "implicitBackgroundWidthChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "implicitBackgroundHeight" + revision: 517 + type: "double" + read: "implicitBackgroundHeight" + notify: "implicitBackgroundHeightChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "topInset" + revision: 517 + type: "double" + read: "topInset" + write: "setTopInset" + reset: "resetTopInset" + notify: "topInsetChanged" + index: 11 + isFinal: true + } + Property { + name: "leftInset" + revision: 517 + type: "double" + read: "leftInset" + write: "setLeftInset" + reset: "resetLeftInset" + notify: "leftInsetChanged" + index: 12 + isFinal: true + } + Property { + name: "rightInset" + revision: 517 + type: "double" + read: "rightInset" + write: "setRightInset" + reset: "resetRightInset" + notify: "rightInsetChanged" + index: 13 + isFinal: true + } + Property { + name: "bottomInset" + revision: 517 + type: "double" + read: "bottomInset" + write: "setBottomInset" + reset: "resetBottomInset" + notify: "bottomInsetChanged" + index: 14 + isFinal: true + } + Signal { name: "fontChanged" } + Signal { name: "implicitWidthChanged3" } + Signal { name: "implicitHeightChanged3" } + Signal { name: "backgroundChanged" } + Signal { name: "placeholderTextChanged" } + Signal { name: "focusReasonChanged" } + Signal { + name: "pressAndHold" + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "pressed" + revision: 513 + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "released" + revision: 513 + Parameter { name: "event"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { name: "hoveredChanged"; revision: 513 } + Signal { name: "hoverEnabledChanged"; revision: 513 } + Signal { name: "placeholderTextColorChanged"; revision: 517 } + Signal { name: "implicitBackgroundWidthChanged"; revision: 517 } + Signal { name: "implicitBackgroundHeightChanged"; revision: 517 } + Signal { name: "topInsetChanged"; revision: 517 } + Signal { name: "leftInsetChanged"; revision: 517 } + Signal { name: "rightInsetChanged"; revision: 517 } + Signal { name: "bottomInsetChanged"; revision: 517 } + } + Component { + file: "private/qquicktoolbar_p.h" + name: "QQuickToolBar" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickPane" + exports: [ + "QtQuick.Templates/ToolBar 2.0", + "QtQuick.Templates/ToolBar 2.1", + "QtQuick.Templates/ToolBar 2.4", + "QtQuick.Templates/ToolBar 2.5", + "QtQuick.Templates/ToolBar 2.7", + "QtQuick.Templates/ToolBar 2.11", + "QtQuick.Templates/ToolBar 6.0", + "QtQuick.Templates/ToolBar 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 517, 519, 523, 1536, 1539] + Enum { + name: "Position" + values: ["Header", "Footer"] + } + Property { + name: "position" + type: "Position" + read: "position" + write: "setPosition" + notify: "positionChanged" + index: 0 + isFinal: true + } + Signal { name: "positionChanged" } + } + Component { + file: "private/qquicktoolbutton_p.h" + name: "QQuickToolButton" + accessSemantics: "reference" + prototype: "QQuickButton" + exports: [ + "QtQuick.Templates/ToolButton 2.0", + "QtQuick.Templates/ToolButton 2.1", + "QtQuick.Templates/ToolButton 2.2", + "QtQuick.Templates/ToolButton 2.3", + "QtQuick.Templates/ToolButton 2.4", + "QtQuick.Templates/ToolButton 2.5", + "QtQuick.Templates/ToolButton 2.7", + "QtQuick.Templates/ToolButton 2.11", + "QtQuick.Templates/ToolButton 6.0", + "QtQuick.Templates/ToolButton 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + } + Component { + file: "private/qquicktoolseparator_p.h" + name: "QQuickToolSeparator" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/ToolSeparator 2.1", + "QtQuick.Templates/ToolSeparator 2.4", + "QtQuick.Templates/ToolSeparator 2.5", + "QtQuick.Templates/ToolSeparator 2.7", + "QtQuick.Templates/ToolSeparator 2.11", + "QtQuick.Templates/ToolSeparator 6.0", + "QtQuick.Templates/ToolSeparator 6.3" + ] + exportMetaObjectRevisions: [513, 516, 517, 519, 523, 1536, 1539] + Property { + name: "orientation" + type: "Qt::Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 0 + isFinal: true + } + Property { + name: "horizontal" + type: "bool" + read: "isHorizontal" + notify: "orientationChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "vertical" + type: "bool" + read: "isVertical" + notify: "orientationChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "orientationChanged" } + } + Component { + file: "private/qquicktooltip_p.h" + name: "QQuickToolTip" + accessSemantics: "reference" + defaultProperty: "contentData" + prototype: "QQuickPopup" + exports: [ + "QtQuick.Templates/ToolTip 2.0", + "QtQuick.Templates/ToolTip 2.1", + "QtQuick.Templates/ToolTip 2.3", + "QtQuick.Templates/ToolTip 2.5", + "QtQuick.Templates/ToolTip 6.0" + ] + exportMetaObjectRevisions: [512, 513, 515, 517, 1536] + attachedType: "QQuickToolTipAttached" + Property { + name: "delay" + type: "int" + read: "delay" + write: "setDelay" + notify: "delayChanged" + index: 0 + isFinal: true + } + Property { + name: "timeout" + type: "int" + read: "timeout" + write: "setTimeout" + notify: "timeoutChanged" + index: 1 + isFinal: true + } + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + notify: "textChanged" + index: 2 + isFinal: true + } + Signal { name: "textChanged" } + Signal { name: "delayChanged" } + Signal { name: "timeoutChanged" } + Method { + name: "show" + revision: 517 + Parameter { name: "text"; type: "QString" } + Parameter { name: "ms"; type: "int" } + } + Method { + name: "show" + revision: 517 + isCloned: true + Parameter { name: "text"; type: "QString" } + } + Method { name: "hide"; revision: 517 } + } + Component { + file: "private/qquicktooltip_p.h" + name: "QQuickToolTipAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + notify: "textChanged" + index: 0 + isFinal: true + } + Property { + name: "delay" + type: "int" + read: "delay" + write: "setDelay" + notify: "delayChanged" + index: 1 + isFinal: true + } + Property { + name: "timeout" + type: "int" + read: "timeout" + write: "setTimeout" + notify: "timeoutChanged" + index: 2 + isFinal: true + } + Property { + name: "visible" + type: "bool" + read: "isVisible" + write: "setVisible" + notify: "visibleChanged" + index: 3 + isFinal: true + } + Property { + name: "toolTip" + type: "QQuickToolTip" + isPointer: true + read: "toolTip" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Signal { name: "textChanged" } + Signal { name: "delayChanged" } + Signal { name: "timeoutChanged" } + Signal { name: "visibleChanged" } + Method { + name: "show" + Parameter { name: "text"; type: "QString" } + Parameter { name: "ms"; type: "int" } + } + Method { + name: "show" + isCloned: true + Parameter { name: "text"; type: "QString" } + } + Method { name: "hide" } + } + Component { + file: "private/qquicktreeviewdelegate_p.h" + name: "QQuickTreeViewDelegate" + accessSemantics: "reference" + prototype: "QQuickItemDelegate" + exports: [ + "QtQuick.Templates/TreeViewDelegate 6.3", + "QtQuick.Templates/TreeViewDelegate 6.4", + "QtQuick.Templates/TreeViewDelegate 6.5" + ] + exportMetaObjectRevisions: [1539, 1540, 1541] + Property { + name: "indentation" + type: "double" + read: "indentation" + write: "setIndentation" + notify: "indentationChanged" + index: 0 + isFinal: true + } + Property { + name: "leftMargin" + type: "double" + read: "leftMargin" + write: "setLeftMargin" + notify: "leftMarginChanged" + index: 1 + isFinal: true + } + Property { + name: "rightMargin" + type: "double" + read: "rightMargin" + write: "setRightMargin" + notify: "rightMarginChanged" + index: 2 + isFinal: true + } + Property { + name: "treeView" + type: "QQuickTreeView" + isPointer: true + read: "treeView" + write: "setTreeView" + notify: "treeviewChanged" + index: 3 + isFinal: true + isRequired: true + } + Property { + name: "isTreeNode" + type: "bool" + read: "isTreeNode" + write: "setIsTreeNode" + notify: "isTreeNodeChanged" + index: 4 + isFinal: true + isRequired: true + } + Property { + name: "hasChildren" + type: "bool" + read: "hasChildren" + write: "setHasChildren" + notify: "hasChildrenChanged" + index: 5 + isFinal: true + isRequired: true + } + Property { + name: "expanded" + type: "bool" + read: "expanded" + write: "setExpanded" + notify: "expandedChanged" + index: 6 + isFinal: true + isRequired: true + } + Property { + name: "depth" + type: "int" + read: "depth" + write: "setDepth" + notify: "depthChanged" + index: 7 + isFinal: true + isRequired: true + } + Property { + name: "current" + revision: 1540 + type: "bool" + read: "current" + write: "setCurrent" + notify: "currentChanged" + index: 8 + isFinal: true + isRequired: true + } + Property { + name: "selected" + revision: 1540 + type: "bool" + read: "selected" + write: "setSelected" + notify: "selectedChanged" + index: 9 + isFinal: true + isRequired: true + } + Property { + name: "editing" + revision: 1541 + type: "bool" + read: "editing" + write: "setEditing" + notify: "editingChanged" + index: 10 + isFinal: true + isRequired: true + } + Signal { name: "indicatorChanged" } + Signal { name: "indentationChanged" } + Signal { name: "isTreeNodeChanged" } + Signal { name: "hasChildrenChanged" } + Signal { name: "expandedChanged" } + Signal { name: "depthChanged" } + Signal { name: "treeviewChanged" } + Signal { name: "leftMarginChanged" } + Signal { name: "rightMarginChanged" } + Signal { name: "currentChanged"; revision: 1540 } + Signal { name: "selectedChanged"; revision: 1540 } + Signal { name: "editingChanged"; revision: 1541 } + } + Component { + file: "private/qquicktumbler_p.h" + name: "QQuickTumbler" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: [ + "QtQuick.Templates/Tumbler 2.0", + "QtQuick.Templates/Tumbler 2.1", + "QtQuick.Templates/Tumbler 2.2", + "QtQuick.Templates/Tumbler 2.4", + "QtQuick.Templates/Tumbler 2.5", + "QtQuick.Templates/Tumbler 2.7", + "QtQuick.Templates/Tumbler 2.11", + "QtQuick.Templates/Tumbler 6.0", + "QtQuick.Templates/Tumbler 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 516, + 517, + 519, + 523, + 1536, + 1539 + ] + attachedType: "QQuickTumblerAttached" + Enum { + name: "PositionMode" + values: [ + "Beginning", + "Center", + "End", + "Visible", + "Contain", + "SnapPosition" + ] + } + Property { + name: "model" + type: "QVariant" + read: "model" + write: "setModel" + notify: "modelChanged" + index: 0 + isFinal: true + } + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "currentIndex" + type: "int" + read: "currentIndex" + write: "setCurrentIndex" + notify: "currentIndexChanged" + index: 2 + isFinal: true + } + Property { + name: "currentItem" + type: "QQuickItem" + isPointer: true + read: "currentItem" + notify: "currentItemChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 4 + isFinal: true + } + Property { + name: "visibleItemCount" + type: "int" + read: "visibleItemCount" + write: "setVisibleItemCount" + notify: "visibleItemCountChanged" + index: 5 + isFinal: true + } + Property { + name: "wrap" + revision: 513 + type: "bool" + read: "wrap" + write: "setWrap" + reset: "resetWrap" + notify: "wrapChanged" + index: 6 + isFinal: true + } + Property { + name: "moving" + revision: 514 + type: "bool" + read: "isMoving" + notify: "movingChanged" + index: 7 + isReadonly: true + isFinal: true + } + Signal { name: "modelChanged" } + Signal { name: "countChanged" } + Signal { name: "currentIndexChanged" } + Signal { name: "currentItemChanged" } + Signal { name: "delegateChanged" } + Signal { name: "visibleItemCountChanged" } + Signal { name: "wrapChanged"; revision: 513 } + Signal { name: "movingChanged"; revision: 514 } + Method { name: "_q_updateItemWidths" } + Method { name: "_q_updateItemHeights" } + Method { name: "_q_onViewCurrentIndexChanged" } + Method { name: "_q_onViewCountChanged" } + Method { name: "_q_onViewOffsetChanged" } + Method { name: "_q_onViewContentYChanged" } + Method { + name: "positionViewAtIndex" + revision: 517 + Parameter { name: "index"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + } + } + Component { + file: "private/qquicktumbler_p.h" + name: "QQuickTumblerAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "tumbler" + type: "QQuickTumbler" + isPointer: true + read: "tumbler" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "displacement" + type: "double" + read: "displacement" + notify: "displacementChanged" + index: 1 + isReadonly: true + isFinal: true + } + Signal { name: "displacementChanged" } + } + Component { + file: "private/qquickheaderview_p.h" + name: "QQuickVerticalHeaderView" + accessSemantics: "reference" + prototype: "QQuickHeaderViewBase" + exports: [ + "QtQuick.Templates/VerticalHeaderView 2.15", + "QtQuick.Templates/VerticalHeaderView 6.0", + "QtQuick.Templates/VerticalHeaderView 6.2", + "QtQuick.Templates/VerticalHeaderView 6.3", + "QtQuick.Templates/VerticalHeaderView 6.4", + "QtQuick.Templates/VerticalHeaderView 6.5", + "QtQuick.Templates/VerticalHeaderView 6.6" + ] + exportMetaObjectRevisions: [527, 1536, 1538, 1539, 1540, 1541, 1542] + } + Component { + file: "private/qquickweeknumbercolumn_p.h" + name: "QQuickWeekNumberColumn" + accessSemantics: "reference" + prototype: "QQuickControl" + exports: ["QtQuick.Templates/AbstractWeekNumberColumn 6.3"] + exportMetaObjectRevisions: [1539] + Property { + name: "month" + type: "int" + read: "month" + write: "setMonth" + notify: "monthChanged" + index: 0 + isFinal: true + } + Property { + name: "year" + type: "int" + read: "year" + write: "setYear" + notify: "yearChanged" + index: 1 + isFinal: true + } + Property { + name: "source" + type: "QVariant" + read: "source" + write: "setSource" + notify: "sourceChanged" + index: 2 + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 3 + isFinal: true + } + Signal { name: "monthChanged" } + Signal { name: "yearChanged" } + Signal { name: "sourceChanged" } + Signal { name: "delegateChanged" } + } +} diff --git a/bin/qml/QtQuick/Templates/qmldir b/bin/qml/QtQuick/Templates/qmldir new file mode 100644 index 000000000..bd7686653 --- /dev/null +++ b/bin/qml/QtQuick/Templates/qmldir @@ -0,0 +1,8 @@ +module QtQuick.Templates +linktarget Qt6::qtquicktemplates2plugin +plugin qtquicktemplates2plugin +classname QtQuickTemplates2Plugin +typeinfo plugins.qmltypes +depends QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Templates/ + diff --git a/bin/qml/QtQuick/Templates/qtquicktemplates2plugin.dll b/bin/qml/QtQuick/Templates/qtquicktemplates2plugin.dll new file mode 100644 index 000000000..2d10e3069 Binary files /dev/null and b/bin/qml/QtQuick/Templates/qtquicktemplates2plugin.dll differ diff --git a/bin/qml/QtQuick/Window/qmldir b/bin/qml/QtQuick/Window/qmldir new file mode 100644 index 000000000..5ff5ce84d --- /dev/null +++ b/bin/qml/QtQuick/Window/qmldir @@ -0,0 +1,8 @@ +module QtQuick.Window +linktarget Qt6::quickwindow +plugin quickwindowplugin +classname QtQuick_WindowPlugin +typeinfo quickwindow.qmltypes +import QtQuick auto +prefer :/qt-project.org/imports/QtQuick/Window/ + diff --git a/bin/qml/QtQuick/Window/quickwindow.qmltypes b/bin/qml/QtQuick/Window/quickwindow.qmltypes new file mode 100644 index 000000000..91181ef12 --- /dev/null +++ b/bin/qml/QtQuick/Window/quickwindow.qmltypes @@ -0,0 +1,8 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module {} diff --git a/bin/qml/QtQuick/Window/quickwindowplugin.dll b/bin/qml/QtQuick/Window/quickwindowplugin.dll new file mode 100644 index 000000000..f31ed4af1 Binary files /dev/null and b/bin/qml/QtQuick/Window/quickwindowplugin.dll differ diff --git a/bin/qml/QtQuick/plugins.qmltypes b/bin/qml/QtQuick/plugins.qmltypes new file mode 100644 index 000000000..c7dc1eb52 --- /dev/null +++ b/bin/qml/QtQuick/plugins.qmltypes @@ -0,0 +1,18272 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qaccessible_base.h" + name: "QAccessible" + accessSemantics: "value" + Enum { + name: "Event" + values: [ + "SoundPlayed", + "Alert", + "ForegroundChanged", + "MenuStart", + "MenuEnd", + "PopupMenuStart", + "PopupMenuEnd", + "ContextHelpStart", + "ContextHelpEnd", + "DragDropStart", + "DragDropEnd", + "DialogStart", + "DialogEnd", + "ScrollingStart", + "ScrollingEnd", + "MenuCommand", + "ActionChanged", + "ActiveDescendantChanged", + "AttributeChanged", + "DocumentContentChanged", + "DocumentLoadComplete", + "DocumentLoadStopped", + "DocumentReload", + "HyperlinkEndIndexChanged", + "HyperlinkNumberOfAnchorsChanged", + "HyperlinkSelectedLinkChanged", + "HypertextLinkActivated", + "HypertextLinkSelected", + "HyperlinkStartIndexChanged", + "HypertextChanged", + "HypertextNLinksChanged", + "ObjectAttributeChanged", + "PageChanged", + "SectionChanged", + "TableCaptionChanged", + "TableColumnDescriptionChanged", + "TableColumnHeaderChanged", + "TableModelChanged", + "TableRowDescriptionChanged", + "TableRowHeaderChanged", + "TableSummaryChanged", + "TextAttributeChanged", + "TextCaretMoved", + "TextColumnChanged", + "TextInserted", + "TextRemoved", + "TextUpdated", + "TextSelectionChanged", + "VisibleDataChanged", + "ObjectCreated", + "ObjectDestroyed", + "ObjectShow", + "ObjectHide", + "ObjectReorder", + "Focus", + "Selection", + "SelectionAdd", + "SelectionRemove", + "SelectionWithin", + "StateChanged", + "LocationChanged", + "NameChanged", + "DescriptionChanged", + "ValueChanged", + "ParentChanged", + "HelpChanged", + "DefaultActionChanged", + "AcceleratorChanged", + "InvalidEvent" + ] + } + Enum { + name: "Role" + values: [ + "NoRole", + "TitleBar", + "MenuBar", + "ScrollBar", + "Grip", + "Sound", + "Cursor", + "Caret", + "AlertMessage", + "Window", + "Client", + "PopupMenu", + "MenuItem", + "ToolTip", + "Application", + "Document", + "Pane", + "Chart", + "Dialog", + "Border", + "Grouping", + "Separator", + "ToolBar", + "StatusBar", + "Table", + "ColumnHeader", + "RowHeader", + "Column", + "Row", + "Cell", + "Link", + "HelpBalloon", + "Assistant", + "List", + "ListItem", + "Tree", + "TreeItem", + "PageTab", + "PropertyPage", + "Indicator", + "Graphic", + "StaticText", + "EditableText", + "Button", + "PushButton", + "CheckBox", + "RadioButton", + "ComboBox", + "ProgressBar", + "Dial", + "HotkeyField", + "Slider", + "SpinBox", + "Canvas", + "Animation", + "Equation", + "ButtonDropDown", + "ButtonMenu", + "ButtonDropGrid", + "Whitespace", + "PageTabList", + "Clock", + "Splitter", + "LayeredPane", + "Terminal", + "Desktop", + "Paragraph", + "WebDocument", + "Section", + "Notification", + "ColorChooser", + "Footer", + "Form", + "Heading", + "Note", + "ComplementaryContent", + "UserRole" + ] + } + } + Component { + file: "qvalidator.h" + name: "QDoubleValidator" + accessSemantics: "reference" + prototype: "QValidator" + Enum { + name: "Notation" + values: ["StandardNotation", "ScientificNotation"] + } + Property { + name: "bottom" + type: "double" + read: "bottom" + write: "setBottom" + notify: "bottomChanged" + index: 0 + } + Property { name: "top"; type: "double"; read: "top"; write: "setTop"; notify: "topChanged"; index: 1 } + Property { + name: "decimals" + type: "int" + read: "decimals" + write: "setDecimals" + notify: "decimalsChanged" + index: 2 + } + Property { + name: "notation" + type: "Notation" + read: "notation" + write: "setNotation" + notify: "notationChanged" + index: 3 + } + Signal { + name: "bottomChanged" + Parameter { name: "bottom"; type: "double" } + } + Signal { + name: "topChanged" + Parameter { name: "top"; type: "double" } + } + Signal { + name: "decimalsChanged" + Parameter { name: "decimals"; type: "int" } + } + Signal { + name: "notationChanged" + Parameter { name: "notation"; type: "QDoubleValidator::Notation" } + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QEventPoint" + accessSemantics: "value" + exports: ["QtQuick/eventPoint 6.5"] + isCreatable: false + exportMetaObjectRevisions: [1541] + Enum { + name: "States" + alias: "State" + isFlag: true + type: "quint8" + values: [ + "Unknown", + "Stationary", + "Pressed", + "Updated", + "Released" + ] + } + Property { name: "accepted"; type: "bool"; read: "isAccepted"; write: "setAccepted"; index: 0 } + Property { + name: "device" + type: "QPointingDevice" + isPointer: true + isConstant: true + read: "device" + index: 1 + isReadonly: true + isConstant: true + } + Property { name: "id"; type: "int"; read: "id"; index: 2; isReadonly: true; isConstant: true } + Property { + name: "uniqueId" + type: "QPointingDeviceUniqueId" + read: "uniqueId" + index: 3 + isReadonly: true + isConstant: true + } + Property { name: "state"; type: "State"; read: "state"; index: 4; isReadonly: true; isConstant: true } + Property { + name: "timestamp" + type: "ulong" + read: "timestamp" + index: 5 + isReadonly: true + isConstant: true + } + Property { + name: "pressTimestamp" + type: "ulong" + read: "pressTimestamp" + index: 6 + isReadonly: true + isConstant: true + } + Property { + name: "lastTimestamp" + type: "ulong" + read: "lastTimestamp" + index: 7 + isReadonly: true + isConstant: true + } + Property { + name: "timeHeld" + type: "double" + read: "timeHeld" + index: 8 + isReadonly: true + isConstant: true + } + Property { + name: "pressure" + type: "double" + read: "pressure" + index: 9 + isReadonly: true + isConstant: true + } + Property { + name: "rotation" + type: "double" + read: "rotation" + index: 10 + isReadonly: true + isConstant: true + } + Property { + name: "ellipseDiameters" + type: "QSizeF" + read: "ellipseDiameters" + index: 11 + isReadonly: true + isConstant: true + } + Property { + name: "velocity" + type: "QVector2D" + read: "velocity" + index: 12 + isReadonly: true + isConstant: true + } + Property { + name: "position" + type: "QPointF" + read: "position" + index: 13 + isReadonly: true + isConstant: true + } + Property { + name: "pressPosition" + type: "QPointF" + read: "pressPosition" + index: 14 + isReadonly: true + isConstant: true + } + Property { + name: "grabPosition" + type: "QPointF" + read: "grabPosition" + index: 15 + isReadonly: true + isConstant: true + } + Property { + name: "lastPosition" + type: "QPointF" + read: "lastPosition" + index: 16 + isReadonly: true + isConstant: true + } + Property { + name: "scenePosition" + type: "QPointF" + read: "scenePosition" + index: 17 + isReadonly: true + isConstant: true + } + Property { + name: "scenePressPosition" + type: "QPointF" + read: "scenePressPosition" + index: 18 + isReadonly: true + isConstant: true + } + Property { + name: "sceneGrabPosition" + type: "QPointF" + read: "sceneGrabPosition" + index: 19 + isReadonly: true + isConstant: true + } + Property { + name: "sceneLastPosition" + type: "QPointF" + read: "sceneLastPosition" + index: 20 + isReadonly: true + isConstant: true + } + Property { + name: "globalPosition" + type: "QPointF" + read: "globalPosition" + index: 21 + isReadonly: true + isConstant: true + } + Property { + name: "globalPressPosition" + type: "QPointF" + read: "globalPressPosition" + index: 22 + isReadonly: true + isConstant: true + } + Property { + name: "globalGrabPosition" + type: "QPointF" + read: "globalGrabPosition" + index: 23 + isReadonly: true + isConstant: true + } + Property { + name: "globalLastPosition" + type: "QPointF" + read: "globalLastPosition" + index: 24 + isReadonly: true + isConstant: true + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QEventPointDerived" + accessSemantics: "none" + prototype: "QEventPoint" + exports: ["QtQuick/EventPoint 6.6"] + isCreatable: false + exportMetaObjectRevisions: [1542] + } + Component { + file: "qbrush.h" + name: "QGradient" + accessSemantics: "value" + Enum { + name: "Type" + values: [ + "LinearGradient", + "RadialGradient", + "ConicalGradient", + "NoGradient" + ] + } + Enum { + name: "Spread" + values: ["PadSpread", "ReflectSpread", "RepeatSpread"] + } + Enum { + name: "CoordinateMode" + values: [ + "LogicalMode", + "StretchToDeviceMode", + "ObjectBoundingMode", + "ObjectMode" + ] + } + Enum { + name: "Preset" + values: [ + "WarmFlame", + "NightFade", + "SpringWarmth", + "JuicyPeach", + "YoungPassion", + "LadyLips", + "SunnyMorning", + "RainyAshville", + "FrozenDreams", + "WinterNeva", + "DustyGrass", + "TemptingAzure", + "HeavyRain", + "AmyCrisp", + "MeanFruit", + "DeepBlue", + "RipeMalinka", + "CloudyKnoxville", + "MalibuBeach", + "NewLife", + "TrueSunset", + "MorpheusDen", + "RareWind", + "NearMoon", + "WildApple", + "SaintPetersburg", + "PlumPlate", + "EverlastingSky", + "HappyFisher", + "Blessing", + "SharpeyeEagle", + "LadogaBottom", + "LemonGate", + "ItmeoBranding", + "ZeusMiracle", + "OldHat", + "StarWine", + "HappyAcid", + "AwesomePine", + "NewYork", + "ShyRainbow", + "MixedHopes", + "FlyHigh", + "StrongBliss", + "FreshMilk", + "SnowAgain", + "FebruaryInk", + "KindSteel", + "SoftGrass", + "GrownEarly", + "SharpBlues", + "ShadyWater", + "DirtyBeauty", + "GreatWhale", + "TeenNotebook", + "PoliteRumors", + "SweetPeriod", + "WideMatrix", + "SoftCherish", + "RedSalvation", + "BurningSpring", + "NightParty", + "SkyGlider", + "HeavenPeach", + "PurpleDivision", + "AquaSplash", + "SpikyNaga", + "LoveKiss", + "CleanMirror", + "PremiumDark", + "ColdEvening", + "CochitiLake", + "SummerGames", + "PassionateBed", + "MountainRock", + "DesertHump", + "JungleDay", + "PhoenixStart", + "OctoberSilence", + "FarawayRiver", + "AlchemistLab", + "OverSun", + "PremiumWhite", + "MarsParty", + "EternalConstance", + "JapanBlush", + "SmilingRain", + "CloudyApple", + "BigMango", + "HealthyWater", + "AmourAmour", + "RiskyConcrete", + "StrongStick", + "ViciousStance", + "PaloAlto", + "HappyMemories", + "MidnightBloom", + "Crystalline", + "PartyBliss", + "ConfidentCloud", + "LeCocktail", + "RiverCity", + "FrozenBerry", + "ChildCare", + "FlyingLemon", + "NewRetrowave", + "HiddenJaguar", + "AboveTheSky", + "Nega", + "DenseWater", + "Seashore", + "MarbleWall", + "CheerfulCaramel", + "NightSky", + "MagicLake", + "YoungGrass", + "ColorfulPeach", + "GentleCare", + "PlumBath", + "HappyUnicorn", + "AfricanField", + "SolidStone", + "OrangeJuice", + "GlassWater", + "NorthMiracle", + "FruitBlend", + "MillenniumPine", + "HighFlight", + "MoleHall", + "SpaceShift", + "ForestInei", + "RoyalGarden", + "RichMetal", + "JuicyCake", + "SmartIndigo", + "SandStrike", + "NorseBeauty", + "AquaGuidance", + "SunVeggie", + "SeaLord", + "BlackSea", + "GrassShampoo", + "LandingAircraft", + "WitchDance", + "SleeplessNight", + "AngelCare", + "CrystalRiver", + "SoftLipstick", + "SaltMountain", + "PerfectWhite", + "FreshOasis", + "StrictNovember", + "MorningSalad", + "DeepRelief", + "SeaStrike", + "NightCall", + "SupremeSky", + "LightBlue", + "MindCrawl", + "LilyMeadow", + "SugarLollipop", + "SweetDessert", + "MagicRay", + "TeenParty", + "FrozenHeat", + "GagarinView", + "FabledSunset", + "PerfectBlue", + "NumPresets" + ] + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QImage" + accessSemantics: "value" + Enum { + name: "Format" + values: [ + "Format_Invalid", + "Format_Mono", + "Format_MonoLSB", + "Format_Indexed8", + "Format_RGB32", + "Format_ARGB32", + "Format_ARGB32_Premultiplied", + "Format_RGB16", + "Format_ARGB8565_Premultiplied", + "Format_RGB666", + "Format_ARGB6666_Premultiplied", + "Format_RGB555", + "Format_ARGB8555_Premultiplied", + "Format_RGB888", + "Format_RGB444", + "Format_ARGB4444_Premultiplied", + "Format_RGBX8888", + "Format_RGBA8888", + "Format_RGBA8888_Premultiplied", + "Format_BGR30", + "Format_A2BGR30_Premultiplied", + "Format_RGB30", + "Format_A2RGB30_Premultiplied", + "Format_Alpha8", + "Format_Grayscale8", + "Format_RGBX64", + "Format_RGBA64", + "Format_RGBA64_Premultiplied", + "Format_Grayscale16", + "Format_BGR888", + "Format_RGBX16FPx4", + "Format_RGBA16FPx4", + "Format_RGBA16FPx4_Premultiplied", + "Format_RGBX32FPx4", + "Format_RGBA32FPx4", + "Format_RGBA32FPx4_Premultiplied", + "NImageFormats" + ] + } + } + Component { + file: "private/qquickitemsmodule_p.h" + name: "QInputDevice" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/InputDevice 6.0"] + isCreatable: false + exportMetaObjectRevisions: [1536] + Enum { + name: "DeviceTypes" + alias: "DeviceType" + isFlag: true + values: [ + "Unknown", + "Mouse", + "TouchScreen", + "TouchPad", + "Puck", + "Stylus", + "Airbrush", + "Keyboard", + "AllDevices" + ] + } + Enum { + name: "Capabilities" + alias: "Capability" + isFlag: true + values: [ + "None", + "Position", + "Area", + "Pressure", + "Velocity", + "NormalizedPosition", + "MouseEmulation", + "PixelScroll", + "Scroll", + "Hover", + "Rotation", + "XTilt", + "YTilt", + "TangentialPressure", + "ZPosition", + "All" + ] + } + Property { name: "name"; type: "QString"; read: "name"; index: 0; isReadonly: true; isConstant: true } + Property { + name: "type" + type: "DeviceType" + read: "type" + index: 1 + isReadonly: true + isConstant: true + } + Property { + name: "capabilities" + type: "Capabilities" + read: "capabilities" + index: 2 + isReadonly: true + isConstant: true + } + Property { + name: "systemId" + type: "qlonglong" + read: "systemId" + index: 3 + isReadonly: true + isConstant: true + } + Property { + name: "seatName" + type: "QString" + read: "seatName" + index: 4 + isReadonly: true + isConstant: true + } + Property { + name: "availableVirtualGeometry" + type: "QRect" + read: "availableVirtualGeometry" + notify: "availableVirtualGeometryChanged" + index: 5 + isReadonly: true + } + Signal { + name: "availableVirtualGeometryChanged" + Parameter { name: "area"; type: "QRect" } + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QInputMethod" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/InputMethod 2.0", "QtQuick/InputMethod 6.0"] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + Enum { + name: "Action" + values: ["Click", "ContextMenu"] + } + Property { + name: "cursorRectangle" + type: "QRectF" + read: "cursorRectangle" + notify: "cursorRectangleChanged" + index: 0 + isReadonly: true + } + Property { + name: "anchorRectangle" + type: "QRectF" + read: "anchorRectangle" + notify: "anchorRectangleChanged" + index: 1 + isReadonly: true + } + Property { + name: "keyboardRectangle" + type: "QRectF" + read: "keyboardRectangle" + notify: "keyboardRectangleChanged" + index: 2 + isReadonly: true + } + Property { + name: "inputItemClipRectangle" + type: "QRectF" + read: "inputItemClipRectangle" + notify: "inputItemClipRectangleChanged" + index: 3 + isReadonly: true + } + Property { + name: "visible" + type: "bool" + read: "isVisible" + notify: "visibleChanged" + index: 4 + isReadonly: true + } + Property { + name: "animating" + type: "bool" + read: "isAnimating" + notify: "animatingChanged" + index: 5 + isReadonly: true + } + Property { + name: "locale" + type: "QLocale" + read: "locale" + notify: "localeChanged" + index: 6 + isReadonly: true + } + Property { + name: "inputDirection" + type: "Qt::LayoutDirection" + read: "inputDirection" + notify: "inputDirectionChanged" + index: 7 + isReadonly: true + } + Signal { name: "cursorRectangleChanged" } + Signal { name: "anchorRectangleChanged" } + Signal { name: "keyboardRectangleChanged" } + Signal { name: "inputItemClipRectangleChanged" } + Signal { name: "visibleChanged" } + Signal { name: "animatingChanged" } + Signal { name: "localeChanged" } + Signal { + name: "inputDirectionChanged" + Parameter { name: "newDirection"; type: "Qt::LayoutDirection" } + } + Method { name: "show" } + Method { name: "hide" } + Method { + name: "update" + Parameter { name: "queries"; type: "Qt::InputMethodQueries" } + } + Method { name: "reset" } + Method { name: "commit" } + Method { + name: "invokeAction" + Parameter { name: "a"; type: "Action" } + Parameter { name: "cursorPosition"; type: "int" } + } + } + Component { + file: "qvalidator.h" + name: "QIntValidator" + accessSemantics: "reference" + prototype: "QValidator" + Property { + name: "bottom" + type: "int" + read: "bottom" + write: "setBottom" + notify: "bottomChanged" + index: 0 + } + Property { name: "top"; type: "int"; read: "top"; write: "setTop"; notify: "topChanged"; index: 1 } + Signal { + name: "bottomChanged" + Parameter { name: "bottom"; type: "int" } + } + Signal { + name: "topChanged" + Parameter { name: "top"; type: "int" } + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QKeySequence" + accessSemantics: "none" + exports: ["QtQuick/StandardKey 2.2", "QtQuick/StandardKey 6.0"] + isCreatable: false + exportMetaObjectRevisions: [514, 1536] + Enum { + name: "StandardKey" + values: [ + "UnknownKey", + "HelpContents", + "WhatsThis", + "Open", + "Close", + "Save", + "New", + "Delete", + "Cut", + "Copy", + "Paste", + "Undo", + "Redo", + "Back", + "Forward", + "Refresh", + "ZoomIn", + "ZoomOut", + "Print", + "AddTab", + "NextChild", + "PreviousChild", + "Find", + "FindNext", + "FindPrevious", + "Replace", + "SelectAll", + "Bold", + "Italic", + "Underline", + "MoveToNextChar", + "MoveToPreviousChar", + "MoveToNextWord", + "MoveToPreviousWord", + "MoveToNextLine", + "MoveToPreviousLine", + "MoveToNextPage", + "MoveToPreviousPage", + "MoveToStartOfLine", + "MoveToEndOfLine", + "MoveToStartOfBlock", + "MoveToEndOfBlock", + "MoveToStartOfDocument", + "MoveToEndOfDocument", + "SelectNextChar", + "SelectPreviousChar", + "SelectNextWord", + "SelectPreviousWord", + "SelectNextLine", + "SelectPreviousLine", + "SelectNextPage", + "SelectPreviousPage", + "SelectStartOfLine", + "SelectEndOfLine", + "SelectStartOfBlock", + "SelectEndOfBlock", + "SelectStartOfDocument", + "SelectEndOfDocument", + "DeleteStartOfWord", + "DeleteEndOfWord", + "DeleteEndOfLine", + "InsertParagraphSeparator", + "InsertLineSeparator", + "SaveAs", + "Preferences", + "Quit", + "FullScreen", + "Deselect", + "DeleteCompleteLine", + "Backspace", + "Cancel" + ] + } + } + Component { + file: "private/qquickitemsmodule_p.h" + name: "QPointingDevice" + accessSemantics: "reference" + prototype: "QInputDevice" + exports: ["QtQuick/PointerDevice 2.12", "QtQuick/PointerDevice 6.0"] + isCreatable: false + exportMetaObjectRevisions: [524, 1536] + Enum { + name: "PointerTypes" + alias: "PointerType" + isFlag: true + values: [ + "Unknown", + "Generic", + "Finger", + "Pen", + "Eraser", + "Cursor", + "AllPointerTypes" + ] + } + Enum { + name: "GrabTransition" + values: [ + "GrabPassive", + "UngrabPassive", + "CancelGrabPassive", + "OverrideGrabPassive", + "GrabExclusive", + "UngrabExclusive", + "CancelGrabExclusive" + ] + } + Property { + name: "pointerType" + type: "PointerType" + read: "pointerType" + index: 0 + isReadonly: true + isConstant: true + } + Property { + name: "maximumPoints" + type: "int" + read: "maximumPoints" + index: 1 + isReadonly: true + isConstant: true + } + Property { + name: "buttonCount" + type: "int" + read: "buttonCount" + index: 2 + isReadonly: true + isConstant: true + } + Property { + name: "uniqueId" + type: "QPointingDeviceUniqueId" + read: "uniqueId" + index: 3 + isReadonly: true + isConstant: true + } + Signal { + name: "grabChanged" + Parameter { name: "grabber"; type: "QObject"; isPointer: true } + Parameter { name: "transition"; type: "GrabTransition" } + Parameter { name: "event"; type: "QPointerEvent"; isPointer: true; isConstant: true } + Parameter { name: "point"; type: "QEventPoint" } + } + } + Component { + file: "private/qquickitemsmodule_p.h" + name: "QPointingDeviceUniqueId" + accessSemantics: "value" + exports: [ + "QtQuick/pointingDeviceUniqueId 2.9", + "QtQuick/pointingDeviceUniqueId 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [521, 1536] + Property { + name: "numericId" + type: "qlonglong" + read: "numericId" + index: 0 + isReadonly: true + isConstant: true + } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickAbstractAnimation" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus", "QQmlPropertyValueSource"] + exports: [ + "QtQuick/Animation 2.0", + "QtQuick/Animation 2.12", + "QtQuick/Animation 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [512, 524, 1536] + Enum { + name: "Loops" + values: ["Infinite"] + } + Property { + name: "running" + type: "bool" + read: "isRunning" + write: "setRunning" + notify: "runningChanged" + index: 0 + isFinal: true + } + Property { + name: "paused" + type: "bool" + read: "isPaused" + write: "setPaused" + notify: "pausedChanged" + index: 1 + isFinal: true + } + Property { + name: "alwaysRunToEnd" + type: "bool" + read: "alwaysRunToEnd" + write: "setAlwaysRunToEnd" + notify: "alwaysRunToEndChanged" + index: 2 + isFinal: true + } + Property { + name: "loops" + type: "int" + read: "loops" + write: "setLoops" + notify: "loopCountChanged" + index: 3 + isFinal: true + } + Signal { name: "started" } + Signal { name: "stopped" } + Signal { + name: "runningChanged" + Parameter { type: "bool" } + } + Signal { + name: "pausedChanged" + Parameter { type: "bool" } + } + Signal { + name: "alwaysRunToEndChanged" + Parameter { type: "bool" } + } + Signal { + name: "loopCountChanged" + Parameter { type: "int" } + } + Signal { name: "finished"; revision: 524 } + Method { name: "restart" } + Method { name: "start" } + Method { name: "pause" } + Method { name: "resume" } + Method { name: "stop" } + Method { name: "complete" } + } + Component { + file: "private/qquickaccessibleattached_p.h" + name: "QQuickAccessibleAttached" + accessSemantics: "reference" + prototype: "QObject" + extension: "QAccessible" + extensionIsNamespace: true + exports: [ + "QtQuick/Accessible 2.0", + "QtQuick/Accessible 6.0", + "QtQuick/Accessible 6.2" + ] + isCreatable: false + exportMetaObjectRevisions: [512, 1536, 1538] + attachedType: "QQuickAccessibleAttached" + Property { + name: "role" + type: "QAccessible::Role" + read: "role" + write: "setRole" + notify: "roleChanged" + index: 0 + isFinal: true + } + Property { + name: "name" + type: "QString" + read: "name" + write: "setName" + notify: "nameChanged" + index: 1 + isFinal: true + } + Property { + name: "description" + type: "QString" + read: "description" + write: "setDescription" + notify: "descriptionChanged" + index: 2 + isFinal: true + } + Property { + name: "ignored" + type: "bool" + read: "ignored" + write: "setIgnored" + notify: "ignoredChanged" + index: 3 + isFinal: true + } + Property { + name: "checkable" + type: "bool" + read: "checkable" + write: "set_checkable" + notify: "checkableChanged" + index: 4 + isFinal: true + } + Property { + name: "checked" + type: "bool" + read: "checked" + write: "set_checked" + notify: "checkedChanged" + index: 5 + isFinal: true + } + Property { + name: "editable" + type: "bool" + read: "editable" + write: "set_editable" + notify: "editableChanged" + index: 6 + isFinal: true + } + Property { + name: "focusable" + type: "bool" + read: "focusable" + write: "set_focusable" + notify: "focusableChanged" + index: 7 + isFinal: true + } + Property { + name: "focused" + type: "bool" + read: "focused" + write: "set_focused" + notify: "focusedChanged" + index: 8 + isFinal: true + } + Property { + name: "multiLine" + type: "bool" + read: "multiLine" + write: "set_multiLine" + notify: "multiLineChanged" + index: 9 + isFinal: true + } + Property { + name: "readOnly" + type: "bool" + read: "readOnly" + write: "set_readOnly" + notify: "readOnlyChanged" + index: 10 + isFinal: true + } + Property { + name: "selected" + type: "bool" + read: "selected" + write: "set_selected" + notify: "selectedChanged" + index: 11 + isFinal: true + } + Property { + name: "selectable" + type: "bool" + read: "selectable" + write: "set_selectable" + notify: "selectableChanged" + index: 12 + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "pressed" + write: "set_pressed" + notify: "pressedChanged" + index: 13 + isFinal: true + } + Property { + name: "checkStateMixed" + type: "bool" + read: "checkStateMixed" + write: "set_checkStateMixed" + notify: "checkStateMixedChanged" + index: 14 + isFinal: true + } + Property { + name: "defaultButton" + type: "bool" + read: "defaultButton" + write: "set_defaultButton" + notify: "defaultButtonChanged" + index: 15 + isFinal: true + } + Property { + name: "passwordEdit" + type: "bool" + read: "passwordEdit" + write: "set_passwordEdit" + notify: "passwordEditChanged" + index: 16 + isFinal: true + } + Property { + name: "selectableText" + type: "bool" + read: "selectableText" + write: "set_selectableText" + notify: "selectableTextChanged" + index: 17 + isFinal: true + } + Property { + name: "searchEdit" + type: "bool" + read: "searchEdit" + write: "set_searchEdit" + notify: "searchEditChanged" + index: 18 + isFinal: true + } + Signal { + name: "checkableChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "checkedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "editableChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "focusableChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "focusedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "multiLineChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "readOnlyChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "selectedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "selectableChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "pressedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "checkStateMixedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "defaultButtonChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "passwordEditChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "selectableTextChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "searchEditChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { name: "roleChanged" } + Signal { name: "nameChanged" } + Signal { name: "descriptionChanged" } + Signal { name: "ignoredChanged" } + Signal { name: "pressAction" } + Signal { name: "toggleAction" } + Signal { name: "increaseAction" } + Signal { name: "decreaseAction" } + Signal { name: "scrollUpAction" } + Signal { name: "scrollDownAction" } + Signal { name: "scrollLeftAction" } + Signal { name: "scrollRightAction" } + Signal { name: "previousPageAction" } + Signal { name: "nextPageAction" } + Method { name: "valueChanged" } + Method { name: "cursorPositionChanged" } + Method { + name: "setIgnored" + Parameter { name: "ignored"; type: "bool" } + } + Method { + name: "stripHtml" + revision: 1538 + type: "QString" + Parameter { name: "html"; type: "QString" } + } + } + Component { + file: "private/qquickitemanimation_p.h" + name: "QQuickAnchorAnimation" + accessSemantics: "reference" + prototype: "QQuickAbstractAnimation" + exports: [ + "QtQuick/AnchorAnimation 2.0", + "QtQuick/AnchorAnimation 2.12", + "QtQuick/AnchorAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Property { + name: "targets" + type: "QQuickItem" + isList: true + read: "targets" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "duration" + type: "int" + read: "duration" + write: "setDuration" + notify: "durationChanged" + index: 1 + isFinal: true + } + Property { + name: "easing" + type: "QEasingCurve" + read: "easing" + write: "setEasing" + notify: "easingChanged" + index: 2 + isFinal: true + } + Signal { + name: "durationChanged" + Parameter { type: "int" } + } + Signal { + name: "easingChanged" + Parameter { type: "QEasingCurve" } + } + } + Component { + file: "private/qquickstateoperations_p.h" + name: "QQuickAnchorChanges" + accessSemantics: "reference" + prototype: "QQuickStateOperation" + exports: ["QtQuick/AnchorChanges 2.0", "QtQuick/AnchorChanges 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "target" + type: "QQuickItem" + isPointer: true + read: "object" + write: "setObject" + index: 0 + isFinal: true + } + Property { + name: "anchors" + type: "QQuickAnchorSet" + isPointer: true + read: "anchors" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + } + Component { + file: "private/qquickanchors_p_p.h" + name: "QQuickAnchorLine" + accessSemantics: "value" + } + Component { + file: "private/qquickstateoperations_p.h" + name: "QQuickAnchorSet" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "left" + type: "QQmlScriptString" + read: "left" + write: "setLeft" + reset: "resetLeft" + index: 0 + isFinal: true + } + Property { + name: "right" + type: "QQmlScriptString" + read: "right" + write: "setRight" + reset: "resetRight" + index: 1 + isFinal: true + } + Property { + name: "horizontalCenter" + type: "QQmlScriptString" + read: "horizontalCenter" + write: "setHorizontalCenter" + reset: "resetHorizontalCenter" + index: 2 + isFinal: true + } + Property { + name: "top" + type: "QQmlScriptString" + read: "top" + write: "setTop" + reset: "resetTop" + index: 3 + isFinal: true + } + Property { + name: "bottom" + type: "QQmlScriptString" + read: "bottom" + write: "setBottom" + reset: "resetBottom" + index: 4 + isFinal: true + } + Property { + name: "verticalCenter" + type: "QQmlScriptString" + read: "verticalCenter" + write: "setVerticalCenter" + reset: "resetVerticalCenter" + index: 5 + isFinal: true + } + Property { + name: "baseline" + type: "QQmlScriptString" + read: "baseline" + write: "setBaseline" + reset: "resetBaseline" + index: 6 + isFinal: true + } + } + Component { + file: "private/qquickanchors_p.h" + name: "QQuickAnchors" + accessSemantics: "reference" + prototype: "QObject" + Enum { + name: "Anchors" + alias: "Anchor" + isFlag: true + type: "uint" + values: [ + "InvalidAnchor", + "LeftAnchor", + "RightAnchor", + "TopAnchor", + "BottomAnchor", + "HCenterAnchor", + "VCenterAnchor", + "BaselineAnchor", + "Horizontal_Mask", + "Vertical_Mask" + ] + } + Property { + name: "left" + type: "QQuickAnchorLine" + read: "left" + write: "setLeft" + reset: "resetLeft" + notify: "leftChanged" + index: 0 + isFinal: true + } + Property { + name: "right" + type: "QQuickAnchorLine" + read: "right" + write: "setRight" + reset: "resetRight" + notify: "rightChanged" + index: 1 + isFinal: true + } + Property { + name: "horizontalCenter" + type: "QQuickAnchorLine" + read: "horizontalCenter" + write: "setHorizontalCenter" + reset: "resetHorizontalCenter" + notify: "horizontalCenterChanged" + index: 2 + isFinal: true + } + Property { + name: "top" + type: "QQuickAnchorLine" + read: "top" + write: "setTop" + reset: "resetTop" + notify: "topChanged" + index: 3 + isFinal: true + } + Property { + name: "bottom" + type: "QQuickAnchorLine" + read: "bottom" + write: "setBottom" + reset: "resetBottom" + notify: "bottomChanged" + index: 4 + isFinal: true + } + Property { + name: "verticalCenter" + type: "QQuickAnchorLine" + read: "verticalCenter" + write: "setVerticalCenter" + reset: "resetVerticalCenter" + notify: "verticalCenterChanged" + index: 5 + isFinal: true + } + Property { + name: "baseline" + type: "QQuickAnchorLine" + read: "baseline" + write: "setBaseline" + reset: "resetBaseline" + notify: "baselineChanged" + index: 6 + isFinal: true + } + Property { + name: "margins" + type: "double" + read: "margins" + write: "setMargins" + notify: "marginsChanged" + index: 7 + isFinal: true + } + Property { + name: "leftMargin" + type: "double" + read: "leftMargin" + write: "setLeftMargin" + reset: "resetLeftMargin" + notify: "leftMarginChanged" + index: 8 + isFinal: true + } + Property { + name: "rightMargin" + type: "double" + read: "rightMargin" + write: "setRightMargin" + reset: "resetRightMargin" + notify: "rightMarginChanged" + index: 9 + isFinal: true + } + Property { + name: "horizontalCenterOffset" + type: "double" + read: "horizontalCenterOffset" + write: "setHorizontalCenterOffset" + notify: "horizontalCenterOffsetChanged" + index: 10 + isFinal: true + } + Property { + name: "topMargin" + type: "double" + read: "topMargin" + write: "setTopMargin" + reset: "resetTopMargin" + notify: "topMarginChanged" + index: 11 + isFinal: true + } + Property { + name: "bottomMargin" + type: "double" + read: "bottomMargin" + write: "setBottomMargin" + reset: "resetBottomMargin" + notify: "bottomMarginChanged" + index: 12 + isFinal: true + } + Property { + name: "verticalCenterOffset" + type: "double" + read: "verticalCenterOffset" + write: "setVerticalCenterOffset" + notify: "verticalCenterOffsetChanged" + index: 13 + isFinal: true + } + Property { + name: "baselineOffset" + type: "double" + read: "baselineOffset" + write: "setBaselineOffset" + notify: "baselineOffsetChanged" + index: 14 + isFinal: true + } + Property { + name: "fill" + type: "QQuickItem" + isPointer: true + read: "fill" + write: "setFill" + reset: "resetFill" + notify: "fillChanged" + index: 15 + isFinal: true + } + Property { + name: "centerIn" + type: "QQuickItem" + isPointer: true + read: "centerIn" + write: "setCenterIn" + reset: "resetCenterIn" + notify: "centerInChanged" + index: 16 + isFinal: true + } + Property { + name: "alignWhenCentered" + type: "bool" + read: "alignWhenCentered" + write: "setAlignWhenCentered" + notify: "centerAlignedChanged" + index: 17 + isFinal: true + } + Signal { name: "leftChanged" } + Signal { name: "rightChanged" } + Signal { name: "topChanged" } + Signal { name: "bottomChanged" } + Signal { name: "verticalCenterChanged" } + Signal { name: "horizontalCenterChanged" } + Signal { name: "baselineChanged" } + Signal { name: "fillChanged" } + Signal { name: "centerInChanged" } + Signal { name: "leftMarginChanged" } + Signal { name: "rightMarginChanged" } + Signal { name: "topMarginChanged" } + Signal { name: "bottomMarginChanged" } + Signal { name: "marginsChanged" } + Signal { name: "verticalCenterOffsetChanged" } + Signal { name: "horizontalCenterOffsetChanged" } + Signal { name: "baselineOffsetChanged" } + Signal { name: "centerAlignedChanged" } + } + Component { + file: "private/qquickanimatedimage_p.h" + name: "QQuickAnimatedImage" + accessSemantics: "reference" + prototype: "QQuickImage" + exports: [ + "QtQuick/AnimatedImage 2.0", + "QtQuick/AnimatedImage 2.1", + "QtQuick/AnimatedImage 2.3", + "QtQuick/AnimatedImage 2.4", + "QtQuick/AnimatedImage 2.5", + "QtQuick/AnimatedImage 2.7", + "QtQuick/AnimatedImage 2.11", + "QtQuick/AnimatedImage 2.14", + "QtQuick/AnimatedImage 2.15", + "QtQuick/AnimatedImage 6.0", + "QtQuick/AnimatedImage 6.2", + "QtQuick/AnimatedImage 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 515, + 516, + 517, + 519, + 523, + 526, + 527, + 1536, + 1538, + 1539 + ] + Property { + name: "playing" + type: "bool" + read: "isPlaying" + write: "setPlaying" + notify: "playingChanged" + index: 0 + isFinal: true + } + Property { + name: "paused" + type: "bool" + read: "isPaused" + write: "setPaused" + notify: "pausedChanged" + index: 1 + isFinal: true + } + Property { + name: "currentFrame" + type: "int" + read: "currentFrame" + write: "setCurrentFrame" + notify: "frameChanged" + index: 2 + isFinal: true + } + Property { + name: "frameCount" + type: "int" + read: "frameCount" + notify: "frameCountChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "speed" + revision: 523 + type: "double" + read: "speed" + write: "setSpeed" + notify: "speedChanged" + index: 4 + isFinal: true + } + Signal { name: "playingChanged" } + Signal { name: "pausedChanged" } + Signal { name: "frameChanged" } + Signal { name: "currentFrameChanged" } + Signal { name: "frameCountChanged" } + Signal { name: "speedChanged"; revision: 523 } + Method { name: "movieUpdate" } + Method { name: "movieRequestFinished" } + Method { name: "playingStatusChanged" } + Method { name: "onCacheChanged" } + } + Component { + file: "private/qquickanimatedsprite_p.h" + name: "QQuickAnimatedSprite" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/AnimatedSprite 2.0", + "QtQuick/AnimatedSprite 2.1", + "QtQuick/AnimatedSprite 2.4", + "QtQuick/AnimatedSprite 2.7", + "QtQuick/AnimatedSprite 2.11", + "QtQuick/AnimatedSprite 2.12", + "QtQuick/AnimatedSprite 2.15", + "QtQuick/AnimatedSprite 6.0", + "QtQuick/AnimatedSprite 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 516, + 519, + 523, + 524, + 527, + 1536, + 1539 + ] + Enum { + name: "LoopParameters" + values: ["Infinite"] + } + Enum { + name: "FinishBehavior" + values: ["FinishAtInitialFrame", "FinishAtFinalFrame"] + } + Property { + name: "running" + type: "bool" + read: "running" + write: "setRunning" + notify: "runningChanged" + index: 0 + isFinal: true + } + Property { + name: "interpolate" + type: "bool" + read: "interpolate" + write: "setInterpolate" + notify: "interpolateChanged" + index: 1 + isFinal: true + } + Property { + name: "source" + type: "QUrl" + read: "source" + write: "setSource" + notify: "sourceChanged" + index: 2 + isFinal: true + } + Property { + name: "reverse" + type: "bool" + read: "reverse" + write: "setReverse" + notify: "reverseChanged" + index: 3 + isFinal: true + } + Property { + name: "frameSync" + type: "bool" + read: "frameSync" + write: "setFrameSync" + notify: "frameSyncChanged" + index: 4 + isFinal: true + } + Property { + name: "frameCount" + type: "int" + read: "frameCount" + write: "setFrameCount" + notify: "frameCountChanged" + index: 5 + isFinal: true + } + Property { + name: "frameHeight" + type: "int" + read: "frameHeight" + write: "setFrameHeight" + notify: "frameHeightChanged" + index: 6 + isFinal: true + } + Property { + name: "frameWidth" + type: "int" + read: "frameWidth" + write: "setFrameWidth" + notify: "frameWidthChanged" + index: 7 + isFinal: true + } + Property { + name: "frameX" + type: "int" + read: "frameX" + write: "setFrameX" + notify: "frameXChanged" + index: 8 + isFinal: true + } + Property { + name: "frameY" + type: "int" + read: "frameY" + write: "setFrameY" + notify: "frameYChanged" + index: 9 + isFinal: true + } + Property { + name: "frameRate" + type: "double" + read: "frameRate" + write: "setFrameRate" + reset: "resetFrameRate" + notify: "frameRateChanged" + index: 10 + isFinal: true + } + Property { + name: "frameDuration" + type: "int" + read: "frameDuration" + write: "setFrameDuration" + reset: "resetFrameDuration" + notify: "frameDurationChanged" + index: 11 + isFinal: true + } + Property { + name: "loops" + type: "int" + read: "loops" + write: "setLoops" + notify: "loopsChanged" + index: 12 + isFinal: true + } + Property { + name: "paused" + type: "bool" + read: "paused" + write: "setPaused" + notify: "pausedChanged" + index: 13 + isFinal: true + } + Property { + name: "currentFrame" + type: "int" + read: "currentFrame" + write: "setCurrentFrame" + notify: "currentFrameChanged" + index: 14 + isFinal: true + } + Property { + name: "finishBehavior" + revision: 527 + type: "FinishBehavior" + read: "finishBehavior" + write: "setFinishBehavior" + notify: "finishBehaviorChanged" + index: 15 + isFinal: true + } + Signal { + name: "pausedChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "runningChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "interpolateChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "sourceChanged" + Parameter { name: "arg"; type: "QUrl" } + } + Signal { + name: "reverseChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "frameSyncChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "frameCountChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameXChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameYChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameRateChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "frameDurationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "loopsChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "currentFrameChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "finishBehaviorChanged" + revision: 527 + Parameter { name: "arg"; type: "FinishBehavior" } + } + Signal { name: "finished"; revision: 524 } + Method { name: "start" } + Method { name: "stop" } + Method { name: "restart" } + Method { + name: "advance" + Parameter { name: "frames"; type: "int" } + } + Method { name: "advance"; isCloned: true } + Method { name: "pause" } + Method { name: "resume" } + Method { + name: "setRunning" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setPaused" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setInterpolate" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setSource" + Parameter { name: "arg"; type: "QUrl" } + } + Method { + name: "setReverse" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setFrameSync" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setFrameCount" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameHeight" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameWidth" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameX" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameY" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameRate" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setFrameDuration" + Parameter { name: "arg"; type: "int" } + } + Method { name: "resetFrameRate" } + Method { name: "resetFrameDuration" } + Method { + name: "setLoops" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setCurrentFrame" + Parameter { name: "arg"; type: "int" } + } + Method { name: "createEngine" } + Method { name: "reset" } + } + Component { + file: "private/qquickanimationcontroller_p.h" + name: "QQuickAnimationController" + accessSemantics: "reference" + defaultProperty: "animation" + prototype: "QObject" + interfaces: ["QQmlFinalizerHook"] + exports: [ + "QtQuick/AnimationController 2.0", + "QtQuick/AnimationController 6.0" + ] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "progress" + type: "double" + read: "progress" + write: "setProgress" + notify: "progressChanged" + index: 0 + isFinal: true + } + Property { + name: "animation" + type: "QQuickAbstractAnimation" + isPointer: true + read: "animation" + write: "setAnimation" + notify: "animationChanged" + index: 1 + isFinal: true + } + Signal { name: "progressChanged" } + Signal { name: "animationChanged" } + Method { name: "reload" } + Method { name: "completeToBeginning" } + Method { name: "completeToEnd" } + Method { name: "updateProgress" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickAnimationGroup" + accessSemantics: "reference" + defaultProperty: "animations" + prototype: "QQuickAbstractAnimation" + Property { + name: "animations" + type: "QQuickAbstractAnimation" + isList: true + read: "animations" + index: 0 + isReadonly: true + isFinal: true + } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickAnimator" + accessSemantics: "reference" + prototype: "QQuickAbstractAnimation" + exports: [ + "QtQuick/Animator 2.2", + "QtQuick/Animator 2.12", + "QtQuick/Animator 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [514, 524, 1536] + Property { + name: "target" + type: "QQuickItem" + isPointer: true + read: "targetItem" + write: "setTargetItem" + notify: "targetItemChanged" + index: 0 + isFinal: true + } + Property { + name: "easing" + type: "QEasingCurve" + read: "easing" + write: "setEasing" + notify: "easingChanged" + index: 1 + isFinal: true + } + Property { + name: "duration" + type: "int" + read: "duration" + write: "setDuration" + notify: "durationChanged" + index: 2 + isFinal: true + } + Property { + name: "to" + type: "double" + read: "to" + write: "setTo" + notify: "toChanged" + index: 3 + isFinal: true + } + Property { + name: "from" + type: "double" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 4 + isFinal: true + } + Signal { + name: "targetItemChanged" + Parameter { type: "QQuickItem"; isPointer: true } + } + Signal { + name: "durationChanged" + Parameter { name: "duration"; type: "int" } + } + Signal { + name: "easingChanged" + Parameter { name: "curve"; type: "QEasingCurve" } + } + Signal { + name: "toChanged" + Parameter { name: "to"; type: "double" } + } + Signal { + name: "fromChanged" + Parameter { name: "from"; type: "double" } + } + } + Component { + file: "private/qquickapplication_p.h" + name: "QQuickApplication" + accessSemantics: "reference" + prototype: "QQmlApplication" + exports: ["QtQuick/Application 2.0", "QtQuick/Application 6.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [512, 1536] + Property { + name: "active" + type: "bool" + read: "active" + notify: "activeChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "layoutDirection" + type: "Qt::LayoutDirection" + read: "layoutDirection" + notify: "layoutDirectionChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "supportsMultipleWindows" + type: "bool" + read: "supportsMultipleWindows" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "state" + type: "Qt::ApplicationState" + read: "state" + notify: "stateChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "font" + type: "QFont" + read: "font" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "displayName" + type: "QString" + read: "displayName" + write: "setDisplayName" + notify: "displayNameChanged" + index: 5 + isFinal: true + } + Property { + name: "screens" + type: "QQuickScreenInfo" + isList: true + read: "screens" + notify: "screensChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "styleHints" + type: "QStyleHints" + isPointer: true + read: "styleHints" + index: 7 + isReadonly: true + isFinal: true + isConstant: true + } + Signal { name: "activeChanged" } + Signal { name: "displayNameChanged" } + Signal { name: "layoutDirectionChanged" } + Signal { + name: "stateChanged" + Parameter { name: "state"; type: "Qt::ApplicationState" } + } + Signal { name: "screensChanged" } + Method { name: "updateScreens" } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickBasePositioner" + accessSemantics: "reference" + prototype: "QQuickImplicitSizeItem" + exports: [ + "QtQuick/Positioner 2.0", + "QtQuick/Positioner 2.1", + "QtQuick/Positioner 2.4", + "QtQuick/Positioner 2.6", + "QtQuick/Positioner 2.7", + "QtQuick/Positioner 2.9", + "QtQuick/Positioner 2.11", + "QtQuick/Positioner 6.0", + "QtQuick/Positioner 6.2", + "QtQuick/Positioner 6.3" + ] + isCreatable: false + exportMetaObjectRevisions: [ + 512, + 513, + 516, + 518, + 519, + 521, + 523, + 1536, + 1538, + 1539 + ] + attachedType: "QQuickPositionerAttached" + Property { + name: "spacing" + type: "double" + read: "spacing" + write: "setSpacing" + notify: "spacingChanged" + index: 0 + isFinal: true + } + Property { + name: "populate" + type: "QQuickTransition" + isPointer: true + read: "populate" + write: "setPopulate" + notify: "populateChanged" + index: 1 + isFinal: true + } + Property { + name: "move" + type: "QQuickTransition" + isPointer: true + read: "move" + write: "setMove" + notify: "moveChanged" + index: 2 + isFinal: true + } + Property { + name: "add" + type: "QQuickTransition" + isPointer: true + read: "add" + write: "setAdd" + notify: "addChanged" + index: 3 + isFinal: true + } + Property { + name: "padding" + revision: 518 + type: "double" + read: "padding" + write: "setPadding" + reset: "resetPadding" + notify: "paddingChanged" + index: 4 + isFinal: true + } + Property { + name: "topPadding" + revision: 518 + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + notify: "topPaddingChanged" + index: 5 + isFinal: true + } + Property { + name: "leftPadding" + revision: 518 + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + notify: "leftPaddingChanged" + index: 6 + isFinal: true + } + Property { + name: "rightPadding" + revision: 518 + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + notify: "rightPaddingChanged" + index: 7 + isFinal: true + } + Property { + name: "bottomPadding" + revision: 518 + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + notify: "bottomPaddingChanged" + index: 8 + isFinal: true + } + Signal { name: "spacingChanged" } + Signal { name: "populateChanged" } + Signal { name: "moveChanged" } + Signal { name: "addChanged" } + Signal { name: "paddingChanged"; revision: 518 } + Signal { name: "topPaddingChanged"; revision: 518 } + Signal { name: "leftPaddingChanged"; revision: 518 } + Signal { name: "rightPaddingChanged"; revision: 518 } + Signal { name: "bottomPaddingChanged"; revision: 518 } + Signal { name: "positioningComplete"; revision: 521 } + Method { name: "prePositioning" } + Method { name: "forceLayout"; revision: 521 } + } + Component { + file: "private/qquickbehavior_p.h" + name: "QQuickBehavior" + accessSemantics: "reference" + defaultProperty: "animation" + prototype: "QObject" + interfaces: ["QQmlFinalizerHook", "QQmlPropertyValueInterceptor"] + deferredNames: ["animation"] + exports: [ + "QtQuick/Behavior 2.0", + "QtQuick/Behavior 2.13", + "QtQuick/Behavior 2.15", + "QtQuick/Behavior 6.0" + ] + exportMetaObjectRevisions: [512, 525, 527, 1536] + Property { + name: "animation" + type: "QQuickAbstractAnimation" + isPointer: true + read: "animation" + write: "setAnimation" + index: 0 + isFinal: true + } + Property { + name: "enabled" + type: "bool" + read: "enabled" + write: "setEnabled" + notify: "enabledChanged" + index: 1 + isFinal: true + } + Property { + name: "targetValue" + revision: 525 + type: "QVariant" + read: "targetValue" + notify: "targetValueChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "targetProperty" + revision: 527 + type: "QQmlProperty" + read: "targetProperty" + notify: "targetPropertyChanged" + index: 3 + isReadonly: true + isFinal: true + } + Signal { name: "enabledChanged" } + Signal { name: "targetValueChanged" } + Signal { name: "targetPropertyChanged" } + } + Component { + file: "private/qquickborderimage_p.h" + name: "QQuickBorderImage" + accessSemantics: "reference" + prototype: "QQuickImageBase" + exports: [ + "QtQuick/BorderImage 2.0", + "QtQuick/BorderImage 2.1", + "QtQuick/BorderImage 2.4", + "QtQuick/BorderImage 2.7", + "QtQuick/BorderImage 2.11", + "QtQuick/BorderImage 2.14", + "QtQuick/BorderImage 2.15", + "QtQuick/BorderImage 6.0", + "QtQuick/BorderImage 6.2", + "QtQuick/BorderImage 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 516, + 519, + 523, + 526, + 527, + 1536, + 1538, + 1539 + ] + Enum { + name: "TileMode" + values: ["Stretch", "Repeat", "Round"] + } + Property { + name: "border" + type: "QQuickScaleGrid" + isPointer: true + read: "border" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "horizontalTileMode" + type: "TileMode" + read: "horizontalTileMode" + write: "setHorizontalTileMode" + notify: "horizontalTileModeChanged" + index: 1 + isFinal: true + } + Property { + name: "verticalTileMode" + type: "TileMode" + read: "verticalTileMode" + write: "setVerticalTileMode" + notify: "verticalTileModeChanged" + index: 2 + isFinal: true + } + Property { + name: "sourceSize" + type: "QSize" + read: "sourceSize" + notify: "sourceSizeChanged" + index: 3 + isReadonly: true + isFinal: true + } + Signal { name: "horizontalTileModeChanged" } + Signal { name: "verticalTileModeChanged" } + Signal { name: "sourceSizeChanged" } + Method { name: "doUpdate" } + Method { name: "requestFinished" } + Method { name: "sciRequestFinished" } + } + Component { + file: "private/qquickshadereffectmesh_p.h" + name: "QQuickBorderImageMesh" + accessSemantics: "reference" + prototype: "QQuickShaderEffectMesh" + exports: [ + "QtQuick/BorderImageMesh 2.8", + "QtQuick/BorderImageMesh 6.0" + ] + exportMetaObjectRevisions: [520, 1536] + Enum { + name: "TileMode" + values: ["Stretch", "Repeat", "Round"] + } + Property { + name: "border" + type: "QQuickScaleGrid" + isPointer: true + read: "border" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "size" + type: "QSize" + read: "size" + write: "setSize" + notify: "sizeChanged" + index: 1 + isFinal: true + } + Property { + name: "horizontalTileMode" + type: "TileMode" + read: "horizontalTileMode" + write: "setHorizontalTileMode" + notify: "horizontalTileModeChanged" + index: 2 + isFinal: true + } + Property { + name: "verticalTileMode" + type: "TileMode" + read: "verticalTileMode" + write: "setVerticalTileMode" + notify: "verticalTileModeChanged" + index: 3 + isFinal: true + } + Signal { name: "sizeChanged" } + Signal { name: "horizontalTileModeChanged" } + Signal { name: "verticalTileModeChanged" } + } + Component { + file: "private/qquickcanvasitem_p.h" + name: "QQuickCanvasItem" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/Canvas 2.0", + "QtQuick/Canvas 2.1", + "QtQuick/Canvas 2.4", + "QtQuick/Canvas 2.7", + "QtQuick/Canvas 2.11", + "QtQuick/Canvas 6.0", + "QtQuick/Canvas 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Enum { + name: "RenderTarget" + values: ["Image", "FramebufferObject"] + } + Enum { + name: "RenderStrategy" + values: ["Immediate", "Threaded", "Cooperative"] + } + Property { + name: "available" + type: "bool" + read: "isAvailable" + notify: "availableChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "contextType" + type: "QString" + read: "contextType" + write: "setContextType" + notify: "contextTypeChanged" + index: 1 + isFinal: true + } + Property { + name: "context" + type: "QJSValue" + read: "context" + notify: "contextChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "canvasSize" + type: "QSizeF" + read: "canvasSize" + write: "setCanvasSize" + notify: "canvasSizeChanged" + index: 3 + isFinal: true + } + Property { + name: "tileSize" + type: "QSize" + read: "tileSize" + write: "setTileSize" + notify: "tileSizeChanged" + index: 4 + isFinal: true + } + Property { + name: "canvasWindow" + type: "QRectF" + read: "canvasWindow" + write: "setCanvasWindow" + notify: "canvasWindowChanged" + index: 5 + isFinal: true + } + Property { + name: "renderTarget" + type: "RenderTarget" + read: "renderTarget" + write: "setRenderTarget" + notify: "renderTargetChanged" + index: 6 + isFinal: true + } + Property { + name: "renderStrategy" + type: "RenderStrategy" + read: "renderStrategy" + write: "setRenderStrategy" + notify: "renderStrategyChanged" + index: 7 + isFinal: true + } + Signal { + name: "paint" + Parameter { name: "region"; type: "QRect" } + } + Signal { name: "painted" } + Signal { name: "availableChanged" } + Signal { name: "contextTypeChanged" } + Signal { name: "contextChanged" } + Signal { name: "canvasSizeChanged" } + Signal { name: "tileSizeChanged" } + Signal { name: "canvasWindowChanged" } + Signal { name: "renderTargetChanged" } + Signal { name: "renderStrategyChanged" } + Signal { name: "imageLoaded" } + Method { + name: "loadImage" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "unloadImage" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "isImageLoaded" + type: "bool" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "isImageLoading" + type: "bool" + Parameter { name: "url"; type: "QUrl" } + } + Method { + name: "isImageError" + type: "bool" + Parameter { name: "url"; type: "QUrl" } + } + Method { name: "sceneGraphInitialized" } + Method { name: "checkAnimationCallbacks" } + Method { name: "invalidateSceneGraph" } + Method { name: "schedulePolish" } + Method { name: "getContext"; isJavaScriptFunction: true } + Method { name: "requestAnimationFrame"; isJavaScriptFunction: true } + Method { name: "cancelRequestAnimationFrame"; isJavaScriptFunction: true } + Method { name: "requestPaint" } + Method { + name: "markDirty" + Parameter { name: "dirtyRect"; type: "QRectF" } + } + Method { name: "markDirty"; isCloned: true } + Method { + name: "save" + type: "bool" + Parameter { name: "filename"; type: "QString" } + Parameter { name: "imageSize"; type: "QSizeF" } + } + Method { + name: "save" + type: "bool" + isCloned: true + Parameter { name: "filename"; type: "QString" } + } + Method { + name: "toDataURL" + type: "QString" + Parameter { name: "type"; type: "QString" } + } + Method { name: "toDataURL"; type: "QString"; isCloned: true } + Method { name: "delayedCreate" } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickCloseEvent" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 0 + isFinal: true + } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickColorAnimation" + accessSemantics: "reference" + prototype: "QQuickPropertyAnimation" + exports: [ + "QtQuick/ColorAnimation 2.0", + "QtQuick/ColorAnimation 2.12", + "QtQuick/ColorAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Property { name: "from"; type: "QColor"; read: "from"; write: "setFrom"; index: 0; isFinal: true } + Property { name: "to"; type: "QColor"; read: "to"; write: "setTo"; index: 1; isFinal: true } + } + Component { + file: "private/qquickcolorgroup_p.h" + name: "QQuickColorGroup" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick/ColorGroup 6.0", + "QtQuick/ColorGroup 6.2", + "QtQuick/ColorGroup 6.6" + ] + exportMetaObjectRevisions: [1536, 1538, 1542] + Property { + name: "alternateBase" + type: "QColor" + read: "alternateBase" + write: "setAlternateBase" + reset: "resetAlternateBase" + notify: "alternateBaseChanged" + index: 0 + isFinal: true + } + Property { + name: "base" + type: "QColor" + read: "base" + write: "setBase" + reset: "resetBase" + notify: "baseChanged" + index: 1 + isFinal: true + } + Property { + name: "brightText" + type: "QColor" + read: "brightText" + write: "setBrightText" + reset: "resetBrightText" + notify: "brightTextChanged" + index: 2 + isFinal: true + } + Property { + name: "button" + type: "QColor" + read: "button" + write: "setButton" + reset: "resetButton" + notify: "buttonChanged" + index: 3 + isFinal: true + } + Property { + name: "buttonText" + type: "QColor" + read: "buttonText" + write: "setButtonText" + reset: "resetButtonText" + notify: "buttonTextChanged" + index: 4 + isFinal: true + } + Property { + name: "dark" + type: "QColor" + read: "dark" + write: "setDark" + reset: "resetDark" + notify: "darkChanged" + index: 5 + isFinal: true + } + Property { + name: "highlight" + type: "QColor" + read: "highlight" + write: "setHighlight" + reset: "resetHighlight" + notify: "highlightChanged" + index: 6 + isFinal: true + } + Property { + name: "highlightedText" + type: "QColor" + read: "highlightedText" + write: "setHighlightedText" + reset: "resetHighlightedText" + notify: "highlightedTextChanged" + index: 7 + isFinal: true + } + Property { + name: "light" + type: "QColor" + read: "light" + write: "setLight" + reset: "resetLight" + notify: "lightChanged" + index: 8 + isFinal: true + } + Property { + name: "link" + type: "QColor" + read: "link" + write: "setLink" + reset: "resetLink" + notify: "linkChanged" + index: 9 + isFinal: true + } + Property { + name: "linkVisited" + type: "QColor" + read: "linkVisited" + write: "setLinkVisited" + reset: "resetLinkVisited" + notify: "linkVisitedChanged" + index: 10 + isFinal: true + } + Property { + name: "mid" + type: "QColor" + read: "mid" + write: "setMid" + reset: "resetMid" + notify: "midChanged" + index: 11 + isFinal: true + } + Property { + name: "midlight" + type: "QColor" + read: "midlight" + write: "setMidlight" + reset: "resetMidlight" + notify: "midlightChanged" + index: 12 + isFinal: true + } + Property { + name: "shadow" + type: "QColor" + read: "shadow" + write: "setShadow" + reset: "resetShadow" + notify: "shadowChanged" + index: 13 + isFinal: true + } + Property { + name: "text" + type: "QColor" + read: "text" + write: "setText" + reset: "resetText" + notify: "textChanged" + index: 14 + isFinal: true + } + Property { + name: "toolTipBase" + type: "QColor" + read: "toolTipBase" + write: "setToolTipBase" + reset: "resetToolTipBase" + notify: "toolTipBaseChanged" + index: 15 + isFinal: true + } + Property { + name: "toolTipText" + type: "QColor" + read: "toolTipText" + write: "setToolTipText" + reset: "resetToolTipText" + notify: "toolTipTextChanged" + index: 16 + isFinal: true + } + Property { + name: "window" + type: "QColor" + read: "window" + write: "setWindow" + reset: "resetWindow" + notify: "windowChanged" + index: 17 + isFinal: true + } + Property { + name: "windowText" + type: "QColor" + read: "windowText" + write: "setWindowText" + reset: "resetWindowText" + notify: "windowTextChanged" + index: 18 + isFinal: true + } + Property { + name: "placeholderText" + revision: 1538 + type: "QColor" + read: "placeholderText" + write: "setPlaceholderText" + reset: "resetPlaceholderText" + notify: "placeholderTextChanged" + index: 19 + isFinal: true + } + Property { + name: "accent" + revision: 1542 + type: "QColor" + read: "accent" + write: "setAccent" + reset: "resetAccent" + notify: "accentChanged" + index: 20 + isFinal: true + } + Signal { name: "alternateBaseChanged" } + Signal { name: "baseChanged" } + Signal { name: "brightTextChanged" } + Signal { name: "buttonChanged" } + Signal { name: "buttonTextChanged" } + Signal { name: "darkChanged" } + Signal { name: "highlightChanged" } + Signal { name: "highlightedTextChanged" } + Signal { name: "lightChanged" } + Signal { name: "linkChanged" } + Signal { name: "linkVisitedChanged" } + Signal { name: "midChanged" } + Signal { name: "midlightChanged" } + Signal { name: "shadowChanged" } + Signal { name: "textChanged" } + Signal { name: "toolTipBaseChanged" } + Signal { name: "toolTipTextChanged" } + Signal { name: "windowChanged" } + Signal { name: "windowTextChanged" } + Signal { name: "placeholderTextChanged"; revision: 1538 } + Signal { name: "accentChanged"; revision: 1542 } + Signal { name: "changed" } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickColorSpaceEnums" + accessSemantics: "none" + exports: ["QtQuick/ColorSpace 2.15", "QtQuick/ColorSpace 6.0"] + isCreatable: false + exportMetaObjectRevisions: [527, 1536] + Enum { + name: "NamedColorSpace" + values: [ + "Unknown", + "SRgb", + "SRgbLinear", + "AdobeRgb", + "DisplayP3", + "ProPhotoRgb" + ] + } + Enum { + name: "Primaries" + values: ["Custom", "SRgb", "AdobeRgb", "DciP3D65", "ProPhotoRgb"] + } + Enum { + name: "TransferFunction" + values: ["Custom", "Linear", "Gamma", "SRgb", "ProPhotoRgb"] + } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QColorSpace" + accessSemantics: "value" + extension: "QQuickColorSpaceValueType" + Enum { + name: "NamedColorSpace" + values: [ + "SRgb", + "SRgbLinear", + "AdobeRgb", + "DisplayP3", + "ProPhotoRgb" + ] + } + Enum { + name: "Primaries" + values: ["Custom", "SRgb", "AdobeRgb", "DciP3D65", "ProPhotoRgb"] + } + Enum { + name: "TransferFunction" + values: ["Custom", "Linear", "Gamma", "SRgb", "ProPhotoRgb"] + } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickColorSpaceValueType" + accessSemantics: "value" + Property { + name: "namedColorSpace" + type: "QQuickColorSpaceEnums::NamedColorSpace" + read: "namedColorSpace" + write: "setNamedColorSpace" + index: 0 + isFinal: true + } + Property { + name: "primaries" + type: "QQuickColorSpaceEnums::Primaries" + read: "primaries" + write: "setPrimaries" + index: 1 + isFinal: true + } + Property { + name: "transferFunction" + type: "QQuickColorSpaceEnums::TransferFunction" + read: "transferFunction" + write: "setTransferFunction" + index: 2 + isFinal: true + } + Property { name: "gamma"; type: "float"; read: "gamma"; write: "setGamma"; index: 3; isFinal: true } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QColor" + accessSemantics: "value" + extension: "QQuickColorValueType" + exports: ["QtQuick/color 2.0", "QtQuick/color 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickColorValueType" + accessSemantics: "value" + Property { name: "r"; type: "double"; read: "r"; write: "setR"; index: 0; isFinal: true } + Property { name: "g"; type: "double"; read: "g"; write: "setG"; index: 1; isFinal: true } + Property { name: "b"; type: "double"; read: "b"; write: "setB"; index: 2; isFinal: true } + Property { name: "a"; type: "double"; read: "a"; write: "setA"; index: 3; isFinal: true } + Property { + name: "hsvHue" + type: "double" + read: "hsvHue" + write: "setHsvHue" + index: 4 + isFinal: true + } + Property { + name: "hsvSaturation" + type: "double" + read: "hsvSaturation" + write: "setHsvSaturation" + index: 5 + isFinal: true + } + Property { + name: "hsvValue" + type: "double" + read: "hsvValue" + write: "setHsvValue" + index: 6 + isFinal: true + } + Property { + name: "hslHue" + type: "double" + read: "hslHue" + write: "setHslHue" + index: 7 + isFinal: true + } + Property { + name: "hslSaturation" + type: "double" + read: "hslSaturation" + write: "setHslSaturation" + index: 8 + isFinal: true + } + Property { + name: "hslLightness" + type: "double" + read: "hslLightness" + write: "setHslLightness" + index: 9 + isFinal: true + } + Property { name: "valid"; type: "bool"; read: "isValid"; index: 10; isReadonly: true; isFinal: true } + Method { name: "toString"; type: "QString" } + Method { + name: "alpha" + type: "QVariant" + Parameter { name: "value"; type: "double" } + } + Method { + name: "lighter" + type: "QVariant" + Parameter { name: "factor"; type: "double" } + } + Method { name: "lighter"; type: "QVariant"; isCloned: true } + Method { + name: "darker" + type: "QVariant" + Parameter { name: "factor"; type: "double" } + } + Method { name: "darker"; type: "QVariant"; isCloned: true } + Method { + name: "tint" + type: "QVariant" + Parameter { name: "factor"; type: "QVariant" } + } + Method { + name: "QQuickColorValueType" + isConstructor: true + Parameter { name: "string"; type: "QString" } + } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickColumn" + accessSemantics: "reference" + prototype: "QQuickBasePositioner" + exports: [ + "QtQuick/Column 2.0", + "QtQuick/Column 2.1", + "QtQuick/Column 2.4", + "QtQuick/Column 2.6", + "QtQuick/Column 2.7", + "QtQuick/Column 2.9", + "QtQuick/Column 2.11", + "QtQuick/Column 6.0", + "QtQuick/Column 6.2", + "QtQuick/Column 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 516, + 518, + 519, + 521, + 523, + 1536, + 1538, + 1539 + ] + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickCurve" + accessSemantics: "reference" + prototype: "QQuickPathElement" + Property { + name: "x" + type: "double" + read: "x" + write: "setX" + notify: "xChanged" + index: 0 + isFinal: true + } + Property { + name: "y" + type: "double" + read: "y" + write: "setY" + notify: "yChanged" + index: 1 + isFinal: true + } + Property { + name: "relativeX" + type: "double" + read: "relativeX" + write: "setRelativeX" + notify: "relativeXChanged" + index: 2 + isFinal: true + } + Property { + name: "relativeY" + type: "double" + read: "relativeY" + write: "setRelativeY" + notify: "relativeYChanged" + index: 3 + isFinal: true + } + Signal { name: "xChanged" } + Signal { name: "yChanged" } + Signal { name: "relativeXChanged" } + Signal { name: "relativeYChanged" } + } + Component { + file: "private/qquickvalidator_p.h" + name: "QQuickDoubleValidator" + accessSemantics: "reference" + prototype: "QDoubleValidator" + exports: [ + "QtQuick/DoubleValidator 2.0", + "QtQuick/DoubleValidator 6.0" + ] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "locale" + type: "QString" + read: "localeName" + write: "setLocaleName" + reset: "resetLocaleName" + notify: "localeNameChanged" + index: 0 + isFinal: true + } + Signal { name: "localeNameChanged" } + } + Component { + file: "private/qquickdrag_p.h" + name: "QQuickDrag" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/Drag 2.0", "QtQuick/Drag 6.0"] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + attachedType: "QQuickDragAttached" + Enum { + name: "DragType" + values: ["None", "Automatic", "Internal"] + } + Enum { + name: "Axis" + values: ["XAxis", "YAxis", "XAndYAxis", "XandYAxis"] + } + Property { + name: "target" + type: "QQuickItem" + isPointer: true + read: "target" + write: "setTarget" + reset: "resetTarget" + notify: "targetChanged" + index: 0 + isFinal: true + } + Property { + name: "axis" + type: "Axis" + read: "axis" + write: "setAxis" + notify: "axisChanged" + index: 1 + isFinal: true + } + Property { + name: "minimumX" + type: "double" + read: "xmin" + write: "setXmin" + notify: "minimumXChanged" + index: 2 + isFinal: true + } + Property { + name: "maximumX" + type: "double" + read: "xmax" + write: "setXmax" + notify: "maximumXChanged" + index: 3 + isFinal: true + } + Property { + name: "minimumY" + type: "double" + read: "ymin" + write: "setYmin" + notify: "minimumYChanged" + index: 4 + isFinal: true + } + Property { + name: "maximumY" + type: "double" + read: "ymax" + write: "setYmax" + notify: "maximumYChanged" + index: 5 + isFinal: true + } + Property { + name: "active" + type: "bool" + read: "active" + notify: "activeChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "filterChildren" + type: "bool" + read: "filterChildren" + write: "setFilterChildren" + notify: "filterChildrenChanged" + index: 7 + isFinal: true + } + Property { + name: "smoothed" + type: "bool" + read: "smoothed" + write: "setSmoothed" + notify: "smoothedChanged" + index: 8 + isFinal: true + } + Property { + name: "threshold" + type: "double" + read: "threshold" + write: "setThreshold" + reset: "resetThreshold" + notify: "thresholdChanged" + index: 9 + isFinal: true + } + Signal { name: "targetChanged" } + Signal { name: "axisChanged" } + Signal { name: "minimumXChanged" } + Signal { name: "maximumXChanged" } + Signal { name: "minimumYChanged" } + Signal { name: "maximumYChanged" } + Signal { name: "activeChanged" } + Signal { name: "filterChildrenChanged" } + Signal { name: "smoothedChanged" } + Signal { name: "thresholdChanged" } + } + Component { + file: "private/qquickdrag_p.h" + name: "QQuickDragAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "active" + type: "bool" + read: "isActive" + write: "setActive" + notify: "activeChanged" + index: 0 + isFinal: true + } + Property { + name: "source" + type: "QObject" + isPointer: true + read: "source" + write: "setSource" + reset: "resetSource" + notify: "sourceChanged" + index: 1 + isFinal: true + } + Property { + name: "target" + type: "QObject" + isPointer: true + read: "target" + notify: "targetChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "hotSpot" + type: "QPointF" + read: "hotSpot" + write: "setHotSpot" + notify: "hotSpotChanged" + index: 3 + isFinal: true + } + Property { + name: "imageSource" + type: "QUrl" + read: "imageSource" + write: "setImageSource" + notify: "imageSourceChanged" + index: 4 + isFinal: true + } + Property { + name: "keys" + type: "QStringList" + read: "keys" + write: "setKeys" + notify: "keysChanged" + index: 5 + isFinal: true + } + Property { + name: "mimeData" + type: "QVariantMap" + read: "mimeData" + write: "setMimeData" + notify: "mimeDataChanged" + index: 6 + isFinal: true + } + Property { + name: "supportedActions" + type: "Qt::DropActions" + read: "supportedActions" + write: "setSupportedActions" + notify: "supportedActionsChanged" + index: 7 + isFinal: true + } + Property { + name: "proposedAction" + type: "Qt::DropAction" + read: "proposedAction" + write: "setProposedAction" + notify: "proposedActionChanged" + index: 8 + isFinal: true + } + Property { + name: "dragType" + type: "QQuickDrag::DragType" + read: "dragType" + write: "setDragType" + notify: "dragTypeChanged" + index: 9 + isFinal: true + } + Signal { name: "dragStarted" } + Signal { + name: "dragFinished" + Parameter { name: "dropAction"; type: "Qt::DropAction" } + } + Signal { name: "activeChanged" } + Signal { name: "sourceChanged" } + Signal { name: "targetChanged" } + Signal { name: "hotSpotChanged" } + Signal { name: "imageSourceChanged" } + Signal { name: "keysChanged" } + Signal { name: "mimeDataChanged" } + Signal { name: "supportedActionsChanged" } + Signal { name: "proposedActionChanged" } + Signal { name: "dragTypeChanged" } + Method { name: "start"; isJavaScriptFunction: true } + Method { name: "startDrag"; isJavaScriptFunction: true } + Method { name: "cancel" } + Method { name: "drop"; type: "int" } + } + Component { + file: "private/qquickdragaxis_p.h" + name: "QQuickDragAxis" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick/DragAxis 2.12", + "QtQuick/DragAxis 6.0", + "QtQuick/DragAxis 6.5" + ] + isCreatable: false + exportMetaObjectRevisions: [524, 1536, 1541] + Property { + name: "minimum" + type: "double" + read: "minimum" + write: "setMinimum" + notify: "minimumChanged" + index: 0 + isFinal: true + } + Property { + name: "maximum" + type: "double" + read: "maximum" + write: "setMaximum" + notify: "maximumChanged" + index: 1 + isFinal: true + } + Property { + name: "enabled" + type: "bool" + read: "enabled" + write: "setEnabled" + notify: "enabledChanged" + index: 2 + isFinal: true + } + Property { + name: "activeValue" + revision: 1541 + type: "double" + read: "activeValue" + notify: "activeValueChanged" + index: 3 + isReadonly: true + isFinal: true + } + Signal { name: "minimumChanged" } + Signal { name: "maximumChanged" } + Signal { name: "enabledChanged" } + Signal { + name: "activeValueChanged" + revision: 1541 + Parameter { name: "delta"; type: "double" } + } + } + Component { + file: "private/qquickdroparea_p.h" + name: "QQuickDragEvent" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/DragEvent 2.0", "QtQuick/DragEvent 6.0"] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + Property { name: "x"; type: "double"; read: "x"; index: 0; isReadonly: true; isFinal: true } + Property { name: "y"; type: "double"; read: "y"; index: 1; isReadonly: true; isFinal: true } + Property { + name: "source" + type: "QObject" + isPointer: true + read: "source" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "keys" + type: "QStringList" + read: "keys" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "supportedActions" + type: "Qt::DropActions" + read: "supportedActions" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "proposedAction" + type: "Qt::DropActions" + read: "proposedAction" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "action" + type: "Qt::DropAction" + read: "action" + write: "setAction" + reset: "resetAction" + index: 6 + isFinal: true + } + Property { + name: "accepted" + type: "bool" + read: "accepted" + write: "setAccepted" + index: 7 + isFinal: true + } + Property { + name: "hasColor" + type: "bool" + read: "hasColor" + index: 8 + isReadonly: true + isFinal: true + } + Property { name: "hasHtml"; type: "bool"; read: "hasHtml"; index: 9; isReadonly: true; isFinal: true } + Property { + name: "hasText" + type: "bool" + read: "hasText" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "hasUrls" + type: "bool" + read: "hasUrls" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "colorData" + type: "QVariant" + read: "colorData" + index: 12 + isReadonly: true + isFinal: true + } + Property { name: "html"; type: "QString"; read: "html"; index: 13; isReadonly: true; isFinal: true } + Property { name: "text"; type: "QString"; read: "text"; index: 14; isReadonly: true; isFinal: true } + Property { + name: "urls" + type: "QUrl" + isList: true + read: "urls" + index: 15 + isReadonly: true + isFinal: true + } + Property { + name: "formats" + type: "QStringList" + read: "formats" + index: 16 + isReadonly: true + isFinal: true + } + Method { + name: "getDataAsString" + type: "QString" + Parameter { name: "format"; type: "QString" } + } + Method { + name: "getDataAsArrayBuffer" + type: "QByteArray" + Parameter { name: "format"; type: "QString" } + } + Method { name: "acceptProposedAction" } + Method { name: "accept" } + Method { + name: "accept" + Parameter { name: "action"; type: "Qt::DropAction" } + } + } + Component { + file: "private/qquickdraghandler_p.h" + name: "QQuickDragHandler" + accessSemantics: "reference" + prototype: "QQuickMultiPointHandler" + exports: [ + "QtQuick/DragHandler 2.12", + "QtQuick/DragHandler 2.14", + "QtQuick/DragHandler 2.15", + "QtQuick/DragHandler 6.0", + "QtQuick/DragHandler 6.2", + "QtQuick/DragHandler 6.3" + ] + exportMetaObjectRevisions: [524, 526, 527, 1536, 1538, 1539] + Enum { + name: "SnapMode" + values: [ + "NoSnap", + "SnapAuto", + "SnapIfPressedOutsideTarget", + "SnapAlways" + ] + } + Property { + name: "xAxis" + type: "QQuickDragAxis" + isPointer: true + read: "xAxis" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "yAxis" + type: "QQuickDragAxis" + isPointer: true + read: "yAxis" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "translation" + type: "QVector2D" + read: "translation" + notify: "translationChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "activeTranslation" + revision: 1538 + type: "QVector2D" + read: "activeTranslation" + notify: "translationChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "persistentTranslation" + revision: 1538 + type: "QVector2D" + read: "persistentTranslation" + write: "setPersistentTranslation" + notify: "translationChanged" + index: 4 + isFinal: true + } + Property { + name: "snapMode" + revision: 526 + type: "SnapMode" + read: "snapMode" + write: "setSnapMode" + notify: "snapModeChanged" + index: 5 + isFinal: true + } + Signal { + name: "translationChanged" + Parameter { name: "delta"; type: "QVector2D" } + } + Signal { name: "snapModeChanged"; revision: 526 } + } + Component { + file: "private/qquickdroparea_p.h" + name: "QQuickDropArea" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/DropArea 2.0", + "QtQuick/DropArea 2.1", + "QtQuick/DropArea 2.4", + "QtQuick/DropArea 2.7", + "QtQuick/DropArea 2.11", + "QtQuick/DropArea 6.0", + "QtQuick/DropArea 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { + name: "containsDrag" + type: "bool" + read: "containsDrag" + notify: "containsDragChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "keys" + type: "QStringList" + read: "keys" + write: "setKeys" + notify: "keysChanged" + index: 1 + isFinal: true + } + Property { + name: "drag" + type: "QQuickDropAreaDrag" + isPointer: true + read: "drag" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Signal { name: "containsDragChanged" } + Signal { name: "keysChanged" } + Signal { name: "sourceChanged" } + Signal { + name: "entered" + Parameter { name: "drag"; type: "QQuickDragEvent"; isPointer: true } + } + Signal { name: "exited" } + Signal { + name: "positionChanged" + Parameter { name: "drag"; type: "QQuickDragEvent"; isPointer: true } + } + Signal { + name: "dropped" + Parameter { name: "drop"; type: "QQuickDragEvent"; isPointer: true } + } + } + Component { + file: "private/qquickdroparea_p.h" + name: "QQuickDropAreaDrag" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "x" + type: "double" + read: "x" + notify: "positionChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "y" + type: "double" + read: "y" + notify: "positionChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "source" + type: "QObject" + isPointer: true + read: "source" + notify: "sourceChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "positionChanged" } + Signal { name: "sourceChanged" } + } + Component { + file: "private/qquickitem_p.h" + name: "QQuickEnterKeyAttached" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/EnterKey 2.6", "QtQuick/EnterKey 6.0"] + isCreatable: false + exportMetaObjectRevisions: [518, 1536] + attachedType: "QQuickEnterKeyAttached" + Property { + name: "type" + type: "Qt::EnterKeyType" + read: "type" + write: "setType" + notify: "typeChanged" + index: 0 + isFinal: true + } + Signal { name: "typeChanged" } + } + Component { + file: "private/qquickflickable_p.h" + name: "QQuickFlickable" + accessSemantics: "reference" + defaultProperty: "flickableData" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/Flickable 2.0", + "QtQuick/Flickable 2.1", + "QtQuick/Flickable 2.4", + "QtQuick/Flickable 2.7", + "QtQuick/Flickable 2.9", + "QtQuick/Flickable 2.10", + "QtQuick/Flickable 2.11", + "QtQuick/Flickable 2.12", + "QtQuick/Flickable 6.0", + "QtQuick/Flickable 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 516, + 519, + 521, + 522, + 523, + 524, + 1536, + 1539 + ] + Enum { + name: "BoundsBehavior" + alias: "BoundsBehaviorFlag" + isFlag: true + values: [ + "StopAtBounds", + "DragOverBounds", + "OvershootBounds", + "DragAndOvershootBounds" + ] + } + Enum { + name: "BoundsMovement" + values: ["FollowBoundsBehavior"] + } + Enum { + name: "FlickableDirection" + values: [ + "AutoFlickDirection", + "HorizontalFlick", + "VerticalFlick", + "HorizontalAndVerticalFlick", + "AutoFlickIfNeeded" + ] + } + Property { + name: "contentWidth" + type: "double" + read: "contentWidth" + write: "setContentWidth" + notify: "contentWidthChanged" + index: 0 + } + Property { + name: "contentHeight" + type: "double" + read: "contentHeight" + write: "setContentHeight" + notify: "contentHeightChanged" + index: 1 + } + Property { + name: "contentX" + type: "double" + read: "contentX" + write: "setContentX" + notify: "contentXChanged" + index: 2 + isFinal: true + } + Property { + name: "contentY" + type: "double" + read: "contentY" + write: "setContentY" + notify: "contentYChanged" + index: 3 + isFinal: true + } + Property { + name: "contentItem" + type: "QQuickItem" + isPointer: true + read: "contentItem" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "topMargin" + type: "double" + read: "topMargin" + write: "setTopMargin" + notify: "topMarginChanged" + index: 5 + isFinal: true + } + Property { + name: "bottomMargin" + type: "double" + read: "bottomMargin" + write: "setBottomMargin" + notify: "bottomMarginChanged" + index: 6 + isFinal: true + } + Property { + name: "originY" + type: "double" + read: "originY" + notify: "originYChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "leftMargin" + type: "double" + read: "leftMargin" + write: "setLeftMargin" + notify: "leftMarginChanged" + index: 8 + isFinal: true + } + Property { + name: "rightMargin" + type: "double" + read: "rightMargin" + write: "setRightMargin" + notify: "rightMarginChanged" + index: 9 + isFinal: true + } + Property { + name: "originX" + type: "double" + read: "originX" + notify: "originXChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "horizontalVelocity" + type: "double" + read: "horizontalVelocity" + notify: "horizontalVelocityChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "verticalVelocity" + type: "double" + read: "verticalVelocity" + notify: "verticalVelocityChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "boundsBehavior" + type: "BoundsBehavior" + read: "boundsBehavior" + write: "setBoundsBehavior" + notify: "boundsBehaviorChanged" + index: 13 + isFinal: true + } + Property { + name: "boundsMovement" + revision: 522 + type: "BoundsMovement" + read: "boundsMovement" + write: "setBoundsMovement" + notify: "boundsMovementChanged" + index: 14 + isFinal: true + } + Property { + name: "rebound" + type: "QQuickTransition" + isPointer: true + read: "rebound" + write: "setRebound" + notify: "reboundChanged" + index: 15 + isFinal: true + } + Property { + name: "maximumFlickVelocity" + type: "double" + read: "maximumFlickVelocity" + write: "setMaximumFlickVelocity" + notify: "maximumFlickVelocityChanged" + index: 16 + isFinal: true + } + Property { + name: "flickDeceleration" + type: "double" + read: "flickDeceleration" + write: "setFlickDeceleration" + notify: "flickDecelerationChanged" + index: 17 + isFinal: true + } + Property { + name: "moving" + type: "bool" + read: "isMoving" + notify: "movingChanged" + index: 18 + isReadonly: true + isFinal: true + } + Property { + name: "movingHorizontally" + type: "bool" + read: "isMovingHorizontally" + notify: "movingHorizontallyChanged" + index: 19 + isReadonly: true + isFinal: true + } + Property { + name: "movingVertically" + type: "bool" + read: "isMovingVertically" + notify: "movingVerticallyChanged" + index: 20 + isReadonly: true + isFinal: true + } + Property { + name: "flicking" + type: "bool" + read: "isFlicking" + notify: "flickingChanged" + index: 21 + isReadonly: true + isFinal: true + } + Property { + name: "flickingHorizontally" + type: "bool" + read: "isFlickingHorizontally" + notify: "flickingHorizontallyChanged" + index: 22 + isReadonly: true + isFinal: true + } + Property { + name: "flickingVertically" + type: "bool" + read: "isFlickingVertically" + notify: "flickingVerticallyChanged" + index: 23 + isReadonly: true + isFinal: true + } + Property { + name: "dragging" + type: "bool" + read: "isDragging" + notify: "draggingChanged" + index: 24 + isReadonly: true + isFinal: true + } + Property { + name: "draggingHorizontally" + type: "bool" + read: "isDraggingHorizontally" + notify: "draggingHorizontallyChanged" + index: 25 + isReadonly: true + isFinal: true + } + Property { + name: "draggingVertically" + type: "bool" + read: "isDraggingVertically" + notify: "draggingVerticallyChanged" + index: 26 + isReadonly: true + isFinal: true + } + Property { + name: "flickableDirection" + type: "FlickableDirection" + read: "flickableDirection" + write: "setFlickableDirection" + notify: "flickableDirectionChanged" + index: 27 + isFinal: true + } + Property { + name: "interactive" + type: "bool" + read: "isInteractive" + write: "setInteractive" + notify: "interactiveChanged" + index: 28 + isFinal: true + } + Property { + name: "pressDelay" + type: "int" + read: "pressDelay" + write: "setPressDelay" + notify: "pressDelayChanged" + index: 29 + isFinal: true + } + Property { + name: "atXEnd" + type: "bool" + read: "isAtXEnd" + notify: "atXEndChanged" + index: 30 + isReadonly: true + isFinal: true + } + Property { + name: "atYEnd" + type: "bool" + read: "isAtYEnd" + notify: "atYEndChanged" + index: 31 + isReadonly: true + isFinal: true + } + Property { + name: "atXBeginning" + type: "bool" + read: "isAtXBeginning" + notify: "atXBeginningChanged" + index: 32 + isReadonly: true + isFinal: true + } + Property { + name: "atYBeginning" + type: "bool" + read: "isAtYBeginning" + notify: "atYBeginningChanged" + index: 33 + isReadonly: true + isFinal: true + } + Property { + name: "visibleArea" + type: "QQuickFlickableVisibleArea" + isPointer: true + read: "visibleArea" + index: 34 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "pixelAligned" + type: "bool" + read: "pixelAligned" + write: "setPixelAligned" + notify: "pixelAlignedChanged" + index: 35 + isFinal: true + } + Property { + name: "synchronousDrag" + revision: 524 + type: "bool" + read: "synchronousDrag" + write: "setSynchronousDrag" + notify: "synchronousDragChanged" + index: 36 + isFinal: true + } + Property { + name: "horizontalOvershoot" + revision: 521 + type: "double" + read: "horizontalOvershoot" + notify: "horizontalOvershootChanged" + index: 37 + isReadonly: true + isFinal: true + } + Property { + name: "verticalOvershoot" + revision: 521 + type: "double" + read: "verticalOvershoot" + notify: "verticalOvershootChanged" + index: 38 + isReadonly: true + isFinal: true + } + Property { + name: "flickableData" + type: "QObject" + isList: true + read: "flickableData" + index: 39 + isReadonly: true + isFinal: true + } + Property { + name: "flickableChildren" + type: "QQuickItem" + isList: true + read: "flickableChildren" + index: 40 + isReadonly: true + isFinal: true + } + Signal { name: "contentWidthChanged" } + Signal { name: "contentHeightChanged" } + Signal { name: "contentXChanged" } + Signal { name: "contentYChanged" } + Signal { name: "topMarginChanged" } + Signal { name: "bottomMarginChanged" } + Signal { name: "leftMarginChanged" } + Signal { name: "rightMarginChanged" } + Signal { name: "originYChanged" } + Signal { name: "originXChanged" } + Signal { name: "movingChanged" } + Signal { name: "movingHorizontallyChanged" } + Signal { name: "movingVerticallyChanged" } + Signal { name: "flickingChanged" } + Signal { name: "flickingHorizontallyChanged" } + Signal { name: "flickingVerticallyChanged" } + Signal { name: "draggingChanged" } + Signal { name: "draggingHorizontallyChanged" } + Signal { name: "draggingVerticallyChanged" } + Signal { name: "horizontalVelocityChanged" } + Signal { name: "verticalVelocityChanged" } + Signal { name: "isAtBoundaryChanged" } + Signal { name: "flickableDirectionChanged" } + Signal { name: "interactiveChanged" } + Signal { name: "boundsBehaviorChanged" } + Signal { name: "boundsMovementChanged"; revision: 522 } + Signal { name: "reboundChanged" } + Signal { name: "maximumFlickVelocityChanged" } + Signal { name: "flickDecelerationChanged" } + Signal { name: "pressDelayChanged" } + Signal { name: "movementStarted" } + Signal { name: "movementEnded" } + Signal { name: "flickStarted" } + Signal { name: "flickEnded" } + Signal { name: "dragStarted" } + Signal { name: "dragEnded" } + Signal { name: "pixelAlignedChanged" } + Signal { name: "synchronousDragChanged"; revision: 524 } + Signal { name: "horizontalOvershootChanged"; revision: 521 } + Signal { name: "verticalOvershootChanged"; revision: 521 } + Signal { name: "atXEndChanged" } + Signal { name: "atYEndChanged" } + Signal { name: "atXBeginningChanged" } + Signal { name: "atYBeginningChanged" } + Method { name: "movementStarting" } + Method { name: "movementEnding" } + Method { + name: "movementEnding" + Parameter { name: "hMovementEnding"; type: "bool" } + Parameter { name: "vMovementEnding"; type: "bool" } + } + Method { name: "velocityTimelineCompleted" } + Method { name: "timelineCompleted" } + Method { + name: "resizeContent" + Parameter { name: "w"; type: "double" } + Parameter { name: "h"; type: "double" } + Parameter { name: "center"; type: "QPointF" } + } + Method { name: "returnToBounds" } + Method { + name: "flick" + Parameter { name: "xVelocity"; type: "double" } + Parameter { name: "yVelocity"; type: "double" } + } + Method { name: "cancelFlick" } + } + Component { + file: "private/qquickflickable_p_p.h" + name: "QQuickFlickableVisibleArea" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "xPosition" + type: "double" + read: "xPosition" + notify: "xPositionChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "yPosition" + type: "double" + read: "yPosition" + notify: "yPositionChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "widthRatio" + type: "double" + read: "widthRatio" + notify: "widthRatioChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "heightRatio" + type: "double" + read: "heightRatio" + notify: "heightRatioChanged" + index: 3 + isReadonly: true + isFinal: true + } + Signal { + name: "xPositionChanged" + Parameter { name: "xPosition"; type: "double" } + } + Signal { + name: "yPositionChanged" + Parameter { name: "yPosition"; type: "double" } + } + Signal { + name: "widthRatioChanged" + Parameter { name: "widthRatio"; type: "double" } + } + Signal { + name: "heightRatioChanged" + Parameter { name: "heightRatio"; type: "double" } + } + } + Component { + file: "private/qquickflipable_p.h" + name: "QQuickFlipable" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/Flipable 2.0", + "QtQuick/Flipable 2.1", + "QtQuick/Flipable 2.4", + "QtQuick/Flipable 2.7", + "QtQuick/Flipable 2.11", + "QtQuick/Flipable 6.0", + "QtQuick/Flipable 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Enum { + name: "Side" + values: ["Front", "Back"] + } + Property { + name: "front" + type: "QQuickItem" + isPointer: true + read: "front" + write: "setFront" + notify: "frontChanged" + index: 0 + isFinal: true + } + Property { + name: "back" + type: "QQuickItem" + isPointer: true + read: "back" + write: "setBack" + notify: "backChanged" + index: 1 + isFinal: true + } + Property { + name: "side" + type: "Side" + read: "side" + notify: "sideChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "frontChanged" } + Signal { name: "backChanged" } + Signal { name: "sideChanged" } + Method { name: "retransformBack" } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickFlow" + accessSemantics: "reference" + prototype: "QQuickBasePositioner" + exports: [ + "QtQuick/Flow 2.0", + "QtQuick/Flow 2.1", + "QtQuick/Flow 2.4", + "QtQuick/Flow 2.6", + "QtQuick/Flow 2.7", + "QtQuick/Flow 2.9", + "QtQuick/Flow 2.11", + "QtQuick/Flow 6.0", + "QtQuick/Flow 6.2", + "QtQuick/Flow 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 516, + 518, + 519, + 521, + 523, + 1536, + 1538, + 1539 + ] + Enum { + name: "Flow" + values: ["LeftToRight", "TopToBottom"] + } + Property { + name: "flow" + type: "Flow" + read: "flow" + write: "setFlow" + notify: "flowChanged" + index: 0 + isFinal: true + } + Property { + name: "layoutDirection" + type: "Qt::LayoutDirection" + read: "layoutDirection" + write: "setLayoutDirection" + notify: "layoutDirectionChanged" + index: 1 + isFinal: true + } + Property { + name: "effectiveLayoutDirection" + type: "Qt::LayoutDirection" + read: "effectiveLayoutDirection" + notify: "effectiveLayoutDirectionChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "flowChanged" } + Signal { name: "layoutDirectionChanged" } + Signal { name: "effectiveLayoutDirectionChanged" } + } + Component { + file: "private/qquickfocusscope_p.h" + name: "QQuickFocusScope" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/FocusScope 2.0", + "QtQuick/FocusScope 2.1", + "QtQuick/FocusScope 2.4", + "QtQuick/FocusScope 2.7", + "QtQuick/FocusScope 2.11", + "QtQuick/FocusScope 6.0", + "QtQuick/FocusScope 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickFontEnums" + accessSemantics: "none" + exports: ["QtQuick/Font 2.0", "QtQuick/Font 6.0"] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + Enum { + name: "FontWeight" + values: [ + "Thin", + "ExtraLight", + "Light", + "Normal", + "Medium", + "DemiBold", + "Bold", + "ExtraBold", + "Black" + ] + } + Enum { + name: "Capitalization" + values: [ + "MixedCase", + "AllUppercase", + "AllLowercase", + "SmallCaps", + "Capitalize" + ] + } + Enum { + name: "HintingPreference" + values: [ + "PreferDefaultHinting", + "PreferNoHinting", + "PreferVerticalHinting", + "PreferFullHinting" + ] + } + } + Component { + file: "private/qquickfontloader_p.h" + name: "QQuickFontLoader" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/FontLoader 2.0", "QtQuick/FontLoader 6.0"] + exportMetaObjectRevisions: [512, 1536] + Enum { + name: "Status" + values: ["Null", "Ready", "Loading", "Error"] + } + Property { + name: "source" + type: "QUrl" + read: "source" + write: "setSource" + notify: "sourceChanged" + index: 0 + isFinal: true + } + Property { + name: "name" + type: "QString" + read: "name" + notify: "nameChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "status" + type: "Status" + read: "status" + notify: "statusChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "font" + type: "QFont" + read: "font" + notify: "fontChanged" + index: 3 + isReadonly: true + isFinal: true + } + Signal { name: "sourceChanged" } + Signal { name: "nameChanged" } + Signal { name: "fontChanged" } + Signal { name: "statusChanged" } + Method { + name: "updateFontInfo" + Parameter { type: "int" } + } + } + Component { + file: "private/qquickfontmetrics_p.h" + name: "QQuickFontMetrics" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/FontMetrics 2.4", "QtQuick/FontMetrics 6.0"] + exportMetaObjectRevisions: [516, 1536] + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + notify: "fontChanged" + index: 0 + isFinal: true + } + Property { + name: "ascent" + type: "double" + read: "ascent" + notify: "fontChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "descent" + type: "double" + read: "descent" + notify: "fontChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "height" + type: "double" + read: "height" + notify: "fontChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "leading" + type: "double" + read: "leading" + notify: "fontChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "lineSpacing" + type: "double" + read: "lineSpacing" + notify: "fontChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "minimumLeftBearing" + type: "double" + read: "minimumLeftBearing" + notify: "fontChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "minimumRightBearing" + type: "double" + read: "minimumRightBearing" + notify: "fontChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "maximumCharacterWidth" + type: "double" + read: "maximumCharacterWidth" + notify: "fontChanged" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "xHeight" + type: "double" + read: "xHeight" + notify: "fontChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "averageCharacterWidth" + type: "double" + read: "averageCharacterWidth" + notify: "fontChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "underlinePosition" + type: "double" + read: "underlinePosition" + notify: "fontChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "overlinePosition" + type: "double" + read: "overlinePosition" + notify: "fontChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "strikeOutPosition" + type: "double" + read: "strikeOutPosition" + notify: "fontChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "lineWidth" + type: "double" + read: "lineWidth" + notify: "fontChanged" + index: 14 + isReadonly: true + isFinal: true + } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Method { + name: "advanceWidth" + type: "double" + Parameter { name: "text"; type: "QString" } + } + Method { + name: "boundingRect" + type: "QRectF" + Parameter { name: "text"; type: "QString" } + } + Method { + name: "tightBoundingRect" + type: "QRectF" + Parameter { name: "text"; type: "QString" } + } + Method { + name: "elidedText" + type: "QString" + Parameter { name: "text"; type: "QString" } + Parameter { name: "mode"; type: "Qt::TextElideMode" } + Parameter { name: "width"; type: "double" } + Parameter { name: "flags"; type: "int" } + } + Method { + name: "elidedText" + type: "QString" + isCloned: true + Parameter { name: "text"; type: "QString" } + Parameter { name: "mode"; type: "Qt::TextElideMode" } + Parameter { name: "width"; type: "double" } + } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QFont" + accessSemantics: "value" + extension: "QQuickFontValueType" + exports: ["QtQuick/font 2.0", "QtQuick/font 6.0"] + exportMetaObjectRevisions: [512, 1536] + Enum { + name: "StyleHint" + values: [ + "Helvetica", + "SansSerif", + "Times", + "Serif", + "Courier", + "TypeWriter", + "OldEnglish", + "Decorative", + "System", + "AnyStyle", + "Cursive", + "Monospace", + "Fantasy" + ] + } + Enum { + name: "StyleStrategy" + values: [ + "PreferDefault", + "PreferBitmap", + "PreferDevice", + "PreferOutline", + "ForceOutline", + "PreferMatch", + "PreferQuality", + "PreferAntialias", + "NoAntialias", + "NoSubpixelAntialias", + "PreferNoShaping", + "NoFontMerging" + ] + } + Enum { + name: "HintingPreference" + values: [ + "PreferDefaultHinting", + "PreferNoHinting", + "PreferVerticalHinting", + "PreferFullHinting" + ] + } + Enum { + name: "Weight" + values: [ + "Thin", + "ExtraLight", + "Light", + "Normal", + "Medium", + "DemiBold", + "Bold", + "ExtraBold", + "Black" + ] + } + Enum { + name: "Style" + values: ["StyleNormal", "StyleItalic", "StyleOblique"] + } + Enum { + name: "Stretch" + values: [ + "AnyStretch", + "UltraCondensed", + "ExtraCondensed", + "Condensed", + "SemiCondensed", + "Unstretched", + "SemiExpanded", + "Expanded", + "ExtraExpanded", + "UltraExpanded" + ] + } + Enum { + name: "Capitalization" + values: [ + "MixedCase", + "AllUppercase", + "AllLowercase", + "SmallCaps", + "Capitalize" + ] + } + Enum { + name: "SpacingType" + values: ["PercentageSpacing", "AbsoluteSpacing"] + } + Enum { + name: "ResolveProperties" + values: [ + "NoPropertiesResolved", + "FamilyResolved", + "SizeResolved", + "StyleHintResolved", + "StyleStrategyResolved", + "WeightResolved", + "StyleResolved", + "UnderlineResolved", + "OverlineResolved", + "StrikeOutResolved", + "FixedPitchResolved", + "StretchResolved", + "KerningResolved", + "CapitalizationResolved", + "LetterSpacingResolved", + "WordSpacingResolved", + "HintingPreferenceResolved", + "StyleNameResolved", + "FamiliesResolved", + "FeaturesResolved", + "AllPropertiesResolved" + ] + } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickFontValueType" + accessSemantics: "value" + Property { + name: "family" + type: "QString" + read: "family" + write: "setFamily" + index: 0 + isFinal: true + } + Property { + name: "styleName" + type: "QString" + read: "styleName" + write: "setStyleName" + index: 1 + isFinal: true + } + Property { name: "bold"; type: "bool"; read: "bold"; write: "setBold"; index: 2; isFinal: true } + Property { name: "weight"; type: "int"; read: "weight"; write: "setWeight"; index: 3; isFinal: true } + Property { name: "italic"; type: "bool"; read: "italic"; write: "setItalic"; index: 4; isFinal: true } + Property { + name: "underline" + type: "bool" + read: "underline" + write: "setUnderline" + index: 5 + isFinal: true + } + Property { + name: "overline" + type: "bool" + read: "overline" + write: "setOverline" + index: 6 + isFinal: true + } + Property { + name: "strikeout" + type: "bool" + read: "strikeout" + write: "setStrikeout" + index: 7 + isFinal: true + } + Property { + name: "pointSize" + type: "double" + read: "pointSize" + write: "setPointSize" + index: 8 + isFinal: true + } + Property { + name: "pixelSize" + type: "int" + read: "pixelSize" + write: "setPixelSize" + index: 9 + isFinal: true + } + Property { + name: "capitalization" + type: "QQuickFontEnums::Capitalization" + read: "capitalization" + write: "setCapitalization" + index: 10 + isFinal: true + } + Property { + name: "letterSpacing" + type: "double" + read: "letterSpacing" + write: "setLetterSpacing" + index: 11 + isFinal: true + } + Property { + name: "wordSpacing" + type: "double" + read: "wordSpacing" + write: "setWordSpacing" + index: 12 + isFinal: true + } + Property { + name: "hintingPreference" + type: "QQuickFontEnums::HintingPreference" + read: "hintingPreference" + write: "setHintingPreference" + index: 13 + isFinal: true + } + Property { + name: "kerning" + type: "bool" + read: "kerning" + write: "setKerning" + index: 14 + isFinal: true + } + Property { + name: "preferShaping" + type: "bool" + read: "preferShaping" + write: "setPreferShaping" + index: 15 + isFinal: true + } + Property { + name: "features" + type: "QVariantMap" + read: "features" + write: "setFeatures" + index: 16 + isFinal: true + } + Method { name: "toString"; type: "QString" } + } + Component { + file: "private/qquickframeanimation_p.h" + name: "QQuickFrameAnimation" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: ["QtQuick/FrameAnimation 6.4"] + exportMetaObjectRevisions: [1540] + Property { + name: "running" + type: "bool" + read: "isRunning" + write: "setRunning" + notify: "runningChanged" + index: 0 + isFinal: true + } + Property { + name: "paused" + type: "bool" + read: "isPaused" + write: "setPaused" + notify: "pausedChanged" + index: 1 + isFinal: true + } + Property { + name: "currentFrame" + type: "int" + read: "currentFrame" + notify: "currentFrameChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "frameTime" + type: "double" + read: "frameTime" + notify: "frameTimeChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "smoothFrameTime" + type: "double" + read: "smoothFrameTime" + notify: "smoothFrameTimeChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "elapsedTime" + type: "double" + read: "elapsedTime" + notify: "elapsedTimeChanged" + index: 5 + isReadonly: true + isFinal: true + } + Signal { name: "triggered" } + Signal { name: "runningChanged" } + Signal { name: "pausedChanged" } + Signal { name: "currentFrameChanged" } + Signal { name: "frameTimeChanged" } + Signal { name: "smoothFrameTimeChanged" } + Signal { name: "elapsedTimeChanged" } + Method { name: "start" } + Method { name: "stop" } + Method { name: "restart" } + Method { name: "pause" } + Method { name: "resume" } + Method { name: "reset" } + } + Component { + file: "private/qquickmultipointtoucharea_p.h" + name: "QQuickGrabGestureEvent" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/GestureEvent 2.0", "QtQuick/GestureEvent 6.0"] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + Property { + name: "touchPoints" + type: "QObject" + isList: true + read: "touchPoints" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "dragThreshold" + type: "double" + read: "dragThreshold" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Method { name: "grab" } + } + Component { + file: "private/qquickrectangle_p.h" + name: "QQuickGradient" + accessSemantics: "reference" + defaultProperty: "stops" + prototype: "QObject" + extension: "QGradient" + extensionIsNamespace: true + exports: [ + "QtQuick/Gradient 2.0", + "QtQuick/Gradient 2.12", + "QtQuick/Gradient 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Enum { + name: "Orientation" + values: ["Vertical", "Horizontal"] + } + Property { + name: "stops" + type: "QQuickGradientStop" + isList: true + read: "stops" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "orientation" + revision: 524 + type: "Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 1 + isFinal: true + } + Signal { name: "updated" } + Signal { name: "orientationChanged" } + } + Component { + file: "private/qquickrectangle_p.h" + name: "QQuickGradientStop" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/GradientStop 2.0", "QtQuick/GradientStop 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "position" + type: "double" + read: "position" + write: "setPosition" + index: 0 + isFinal: true + } + Property { name: "color"; type: "QColor"; read: "color"; write: "setColor"; index: 1; isFinal: true } + } + Component { + file: "private/qquickgraphicsinfo_p.h" + name: "QQuickGraphicsInfo" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/GraphicsInfo 2.8", "QtQuick/GraphicsInfo 6.0"] + isCreatable: false + exportMetaObjectRevisions: [520, 1536] + attachedType: "QQuickGraphicsInfo" + Enum { + name: "GraphicsApi" + values: [ + "Unknown", + "Software", + "OpenVG", + "OpenGL", + "Direct3D11", + "Vulkan", + "Metal", + "Null", + "Direct3D12", + "OpenGLRhi", + "Direct3D11Rhi", + "VulkanRhi", + "MetalRhi", + "NullRhi" + ] + } + Enum { + name: "ShaderType" + values: ["UnknownShadingLanguage", "GLSL", "HLSL", "RhiShader"] + } + Enum { + name: "ShaderCompilationType" + values: ["RuntimeCompilation", "OfflineCompilation"] + } + Enum { + name: "ShaderSourceType" + values: [ + "ShaderSourceString", + "ShaderSourceFile", + "ShaderByteCode" + ] + } + Enum { + name: "OpenGLContextProfile" + values: [ + "OpenGLNoProfile", + "OpenGLCoreProfile", + "OpenGLCompatibilityProfile" + ] + } + Enum { + name: "RenderableType" + values: [ + "SurfaceFormatUnspecified", + "SurfaceFormatOpenGL", + "SurfaceFormatOpenGLES" + ] + } + Property { + name: "api" + type: "GraphicsApi" + read: "api" + notify: "apiChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "shaderType" + type: "ShaderType" + read: "shaderType" + notify: "shaderTypeChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "shaderCompilationType" + type: "ShaderCompilationType" + read: "shaderCompilationType" + notify: "shaderCompilationTypeChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "shaderSourceType" + type: "ShaderSourceType" + read: "shaderSourceType" + notify: "shaderSourceTypeChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "majorVersion" + type: "int" + read: "majorVersion" + notify: "majorVersionChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "minorVersion" + type: "int" + read: "minorVersion" + notify: "minorVersionChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "profile" + type: "OpenGLContextProfile" + read: "profile" + notify: "profileChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "renderableType" + type: "RenderableType" + read: "renderableType" + notify: "renderableTypeChanged" + index: 7 + isReadonly: true + isFinal: true + } + Signal { name: "apiChanged" } + Signal { name: "shaderTypeChanged" } + Signal { name: "shaderCompilationTypeChanged" } + Signal { name: "shaderSourceTypeChanged" } + Signal { name: "majorVersionChanged" } + Signal { name: "minorVersionChanged" } + Signal { name: "profileChanged" } + Signal { name: "renderableTypeChanged" } + Method { name: "updateInfo" } + Method { + name: "setWindow" + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickGrid" + accessSemantics: "reference" + prototype: "QQuickBasePositioner" + exports: [ + "QtQuick/Grid 2.0", + "QtQuick/Grid 2.1", + "QtQuick/Grid 2.4", + "QtQuick/Grid 2.6", + "QtQuick/Grid 2.7", + "QtQuick/Grid 2.9", + "QtQuick/Grid 2.11", + "QtQuick/Grid 6.0", + "QtQuick/Grid 6.2", + "QtQuick/Grid 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 516, + 518, + 519, + 521, + 523, + 1536, + 1538, + 1539 + ] + Enum { + name: "Flow" + values: ["LeftToRight", "TopToBottom"] + } + Enum { + name: "HAlignment" + values: ["AlignLeft", "AlignRight", "AlignHCenter"] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Property { + name: "rows" + type: "int" + read: "rows" + write: "setRows" + notify: "rowsChanged" + index: 0 + isFinal: true + } + Property { + name: "columns" + type: "int" + read: "columns" + write: "setColumns" + notify: "columnsChanged" + index: 1 + isFinal: true + } + Property { + name: "rowSpacing" + type: "double" + read: "rowSpacing" + write: "setRowSpacing" + reset: "resetRowSpacing" + notify: "rowSpacingChanged" + index: 2 + isFinal: true + } + Property { + name: "columnSpacing" + type: "double" + read: "columnSpacing" + write: "setColumnSpacing" + reset: "resetColumnSpacing" + notify: "columnSpacingChanged" + index: 3 + isFinal: true + } + Property { + name: "flow" + type: "Flow" + read: "flow" + write: "setFlow" + notify: "flowChanged" + index: 4 + isFinal: true + } + Property { + name: "layoutDirection" + type: "Qt::LayoutDirection" + read: "layoutDirection" + write: "setLayoutDirection" + notify: "layoutDirectionChanged" + index: 5 + isFinal: true + } + Property { + name: "effectiveLayoutDirection" + type: "Qt::LayoutDirection" + read: "effectiveLayoutDirection" + notify: "effectiveLayoutDirectionChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "horizontalItemAlignment" + revision: 513 + type: "HAlignment" + read: "hItemAlign" + write: "setHItemAlign" + notify: "horizontalAlignmentChanged" + index: 7 + isFinal: true + } + Property { + name: "effectiveHorizontalItemAlignment" + revision: 513 + type: "HAlignment" + read: "effectiveHAlign" + notify: "effectiveHorizontalAlignmentChanged" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "verticalItemAlignment" + revision: 513 + type: "VAlignment" + read: "vItemAlign" + write: "setVItemAlign" + notify: "verticalAlignmentChanged" + index: 9 + isFinal: true + } + Signal { name: "rowsChanged" } + Signal { name: "columnsChanged" } + Signal { name: "flowChanged" } + Signal { name: "layoutDirectionChanged" } + Signal { name: "effectiveLayoutDirectionChanged" } + Signal { name: "rowSpacingChanged" } + Signal { name: "columnSpacingChanged" } + Signal { + name: "horizontalAlignmentChanged" + revision: 513 + Parameter { name: "alignment"; type: "HAlignment" } + } + Signal { + name: "effectiveHorizontalAlignmentChanged" + revision: 513 + Parameter { name: "alignment"; type: "HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + revision: 513 + Parameter { name: "alignment"; type: "VAlignment" } + } + } + Component { + file: "private/qquickshadereffectmesh_p.h" + name: "QQuickGridMesh" + accessSemantics: "reference" + prototype: "QQuickShaderEffectMesh" + exports: ["QtQuick/GridMesh 2.0", "QtQuick/GridMesh 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "resolution" + type: "QSize" + read: "resolution" + write: "setResolution" + notify: "resolutionChanged" + index: 0 + isFinal: true + } + Signal { name: "resolutionChanged" } + } + Component { + file: "private/qquickgridview_p.h" + name: "QQuickGridView" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QQuickItemView" + exports: [ + "QtQuick/GridView 2.0", + "QtQuick/GridView 2.1", + "QtQuick/GridView 2.3", + "QtQuick/GridView 2.4", + "QtQuick/GridView 2.7", + "QtQuick/GridView 2.9", + "QtQuick/GridView 2.10", + "QtQuick/GridView 2.11", + "QtQuick/GridView 2.12", + "QtQuick/GridView 2.13", + "QtQuick/GridView 2.15", + "QtQuick/GridView 6.0", + "QtQuick/GridView 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 515, + 516, + 519, + 521, + 522, + 523, + 524, + 525, + 527, + 1536, + 1539 + ] + attachedType: "QQuickGridViewAttached" + Enum { + name: "Flow" + values: ["FlowLeftToRight", "FlowTopToBottom"] + } + Enum { + name: "SnapMode" + values: ["NoSnap", "SnapToRow", "SnapOneRow"] + } + Property { + name: "flow" + type: "Flow" + read: "flow" + write: "setFlow" + notify: "flowChanged" + index: 0 + isFinal: true + } + Property { + name: "cellWidth" + type: "double" + read: "cellWidth" + write: "setCellWidth" + notify: "cellWidthChanged" + index: 1 + isFinal: true + } + Property { + name: "cellHeight" + type: "double" + read: "cellHeight" + write: "setCellHeight" + notify: "cellHeightChanged" + index: 2 + isFinal: true + } + Property { + name: "snapMode" + type: "SnapMode" + read: "snapMode" + write: "setSnapMode" + notify: "snapModeChanged" + index: 3 + isFinal: true + } + Signal { name: "cellWidthChanged" } + Signal { name: "cellHeightChanged" } + Signal { name: "highlightMoveDurationChanged" } + Signal { name: "flowChanged" } + Signal { name: "snapModeChanged" } + Method { name: "moveCurrentIndexUp" } + Method { name: "moveCurrentIndexDown" } + Method { name: "moveCurrentIndexLeft" } + Method { name: "moveCurrentIndexRight" } + } + Component { + file: "private/qquickgridview_p.h" + name: "QQuickGridViewAttached" + accessSemantics: "reference" + prototype: "QQuickItemViewAttached" + } + Component { + file: "private/qquickhandlerpoint_p.h" + name: "QQuickHandlerPoint" + accessSemantics: "value" + Property { name: "id"; type: "int"; read: "id"; index: 0; isReadonly: true; isFinal: true } + Property { + name: "uniqueId" + type: "QPointingDeviceUniqueId" + read: "uniqueId" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "position" + type: "QPointF" + read: "position" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "scenePosition" + type: "QPointF" + read: "scenePosition" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "pressPosition" + type: "QPointF" + read: "pressPosition" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "scenePressPosition" + type: "QPointF" + read: "scenePressPosition" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "sceneGrabPosition" + type: "QPointF" + read: "sceneGrabPosition" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "pressedButtons" + type: "Qt::MouseButtons" + read: "pressedButtons" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "modifiers" + type: "Qt::KeyboardModifiers" + read: "modifiers" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "velocity" + type: "QVector2D" + read: "velocity" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "rotation" + type: "double" + read: "rotation" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "pressure" + type: "double" + read: "pressure" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "ellipseDiameters" + type: "QSizeF" + read: "ellipseDiameters" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "device" + type: "QPointingDevice" + isPointer: true + read: "device" + index: 13 + isReadonly: true + isFinal: true + } + } + Component { + file: "private/qquickhoverhandler_p.h" + name: "QQuickHoverHandler" + accessSemantics: "reference" + prototype: "QQuickSinglePointHandler" + exports: [ + "QtQuick/HoverHandler 2.12", + "QtQuick/HoverHandler 2.15", + "QtQuick/HoverHandler 6.0", + "QtQuick/HoverHandler 6.3" + ] + exportMetaObjectRevisions: [524, 527, 1536, 1539] + Property { + name: "hovered" + type: "bool" + read: "isHovered" + notify: "hoveredChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "blocking" + revision: 1539 + type: "bool" + read: "isBlocking" + write: "setBlocking" + notify: "blockingChanged" + index: 1 + isFinal: true + } + Signal { name: "hoveredChanged" } + Signal { name: "blockingChanged"; revision: 1539 } + } + Component { + file: "private/qquickimage_p.h" + name: "QQuickImage" + accessSemantics: "reference" + prototype: "QQuickImageBase" + exports: [ + "QtQuick/Image 2.0", + "QtQuick/Image 2.1", + "QtQuick/Image 2.3", + "QtQuick/Image 2.4", + "QtQuick/Image 2.5", + "QtQuick/Image 2.7", + "QtQuick/Image 2.11", + "QtQuick/Image 2.14", + "QtQuick/Image 2.15", + "QtQuick/Image 6.0", + "QtQuick/Image 6.2", + "QtQuick/Image 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 515, + 516, + 517, + 519, + 523, + 526, + 527, + 1536, + 1538, + 1539 + ] + Enum { + name: "HAlignment" + values: ["AlignLeft", "AlignRight", "AlignHCenter"] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Enum { + name: "FillMode" + values: [ + "Stretch", + "PreserveAspectFit", + "PreserveAspectCrop", + "Tile", + "TileVertically", + "TileHorizontally", + "Pad" + ] + } + Property { + name: "fillMode" + type: "FillMode" + read: "fillMode" + write: "setFillMode" + notify: "fillModeChanged" + index: 0 + isFinal: true + } + Property { + name: "paintedWidth" + type: "double" + read: "paintedWidth" + notify: "paintedGeometryChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "paintedHeight" + type: "double" + read: "paintedHeight" + notify: "paintedGeometryChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "horizontalAlignment" + type: "HAlignment" + read: "horizontalAlignment" + write: "setHorizontalAlignment" + notify: "horizontalAlignmentChanged" + index: 3 + isFinal: true + } + Property { + name: "verticalAlignment" + type: "VAlignment" + read: "verticalAlignment" + write: "setVerticalAlignment" + notify: "verticalAlignmentChanged" + index: 4 + isFinal: true + } + Property { + name: "sourceSize" + type: "QSize" + read: "sourceSize" + write: "setSourceSize" + reset: "resetSourceSize" + notify: "sourceSizeChanged" + index: 5 + isFinal: true + } + Property { + name: "mipmap" + revision: 515 + type: "bool" + read: "mipmap" + write: "setMipmap" + notify: "mipmapChanged" + index: 6 + isFinal: true + } + Property { + name: "autoTransform" + revision: 517 + type: "bool" + read: "autoTransform" + write: "setAutoTransform" + notify: "autoTransformChanged" + index: 7 + isFinal: true + } + Property { + name: "sourceClipRect" + revision: 527 + type: "QRectF" + read: "sourceClipRect" + write: "setSourceClipRect" + reset: "resetSourceClipRect" + notify: "sourceClipRectChanged" + index: 8 + isFinal: true + } + Signal { name: "fillModeChanged" } + Signal { name: "paintedGeometryChanged" } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "VAlignment" } + } + Signal { + name: "mipmapChanged" + revision: 515 + Parameter { type: "bool" } + } + Signal { name: "autoTransformChanged"; revision: 517 } + Method { name: "invalidateSceneGraph" } + } + Component { + file: "private/qquickimagebase_p.h" + name: "QQuickImageBase" + accessSemantics: "reference" + prototype: "QQuickImplicitSizeItem" + exports: [ + "QtQuick/ImageBase 2.14", + "QtQuick/ImageBase 2.15", + "QtQuick/ImageBase 6.0", + "QtQuick/ImageBase 6.2", + "QtQuick/ImageBase 6.3" + ] + isCreatable: false + exportMetaObjectRevisions: [526, 527, 1536, 1538, 1539] + Enum { + name: "LoadPixmapOptions" + alias: "LoadPixmapOption" + isFlag: true + values: ["NoOption", "HandleDPR", "UseProviderOptions"] + } + Enum { + name: "Status" + values: ["Null", "Ready", "Loading", "Error"] + } + Property { + name: "status" + type: "Status" + read: "status" + notify: "statusChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "source" + type: "QUrl" + read: "source" + write: "setSource" + notify: "sourceChanged" + index: 1 + isFinal: true + } + Property { + name: "progress" + type: "double" + read: "progress" + notify: "progressChanged" + index: 2 + isReadonly: true + } + Property { + name: "asynchronous" + type: "bool" + read: "asynchronous" + write: "setAsynchronous" + notify: "asynchronousChanged" + index: 3 + isFinal: true + } + Property { + name: "cache" + type: "bool" + read: "cache" + write: "setCache" + notify: "cacheChanged" + index: 4 + isFinal: true + } + Property { + name: "mirror" + type: "bool" + read: "mirror" + write: "setMirror" + notify: "mirrorChanged" + index: 5 + isFinal: true + } + Property { + name: "mirrorVertically" + revision: 1538 + type: "bool" + read: "mirrorVertically" + write: "setMirrorVertically" + notify: "mirrorVerticallyChanged" + index: 6 + isFinal: true + } + Property { + name: "currentFrame" + revision: 526 + type: "int" + read: "currentFrame" + write: "setCurrentFrame" + notify: "currentFrameChanged" + index: 7 + } + Property { + name: "frameCount" + revision: 526 + type: "int" + read: "frameCount" + notify: "frameCountChanged" + index: 8 + isReadonly: true + } + Property { + name: "colorSpace" + revision: 527 + type: "QColorSpace" + read: "colorSpace" + write: "setColorSpace" + notify: "colorSpaceChanged" + index: 9 + isFinal: true + } + Signal { + name: "sourceChanged" + Parameter { type: "QUrl" } + } + Signal { name: "sourceSizeChanged" } + Signal { + name: "statusChanged" + Parameter { type: "QQuickImageBase::Status" } + } + Signal { + name: "progressChanged" + Parameter { name: "progress"; type: "double" } + } + Signal { name: "asynchronousChanged" } + Signal { name: "cacheChanged" } + Signal { name: "mirrorChanged" } + Signal { name: "currentFrameChanged"; revision: 526 } + Signal { name: "frameCountChanged"; revision: 526 } + Signal { name: "sourceClipRectChanged"; revision: 527 } + Signal { name: "colorSpaceChanged"; revision: 527 } + Signal { name: "mirrorVerticallyChanged"; revision: 1538 } + Method { name: "requestFinished" } + Method { + name: "requestProgress" + Parameter { type: "qlonglong" } + Parameter { type: "qlonglong" } + } + } + Component { + file: "private/qquickimplicitsizeitem_p.h" + name: "QQuickImplicitSizeItem" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + Property { + name: "implicitWidth" + type: "double" + read: "implicitWidth" + notify: "implicitWidthChanged" + index: 0 + isReadonly: true + } + Property { + name: "implicitHeight" + type: "double" + read: "implicitHeight" + notify: "implicitHeightChanged" + index: 1 + isReadonly: true + } + } + Component { + file: "private/qquickinputmethod_p.h" + name: "QQuickInputMethod" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/InputMethod 6.4"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [1540] + Property { + name: "cursorRectangle" + type: "QRectF" + read: "cursorRectangle" + notify: "cursorRectangleChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "anchorRectangle" + type: "QRectF" + read: "anchorRectangle" + notify: "anchorRectangleChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "keyboardRectangle" + type: "QRectF" + read: "keyboardRectangle" + notify: "keyboardRectangleChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "inputItemClipRectangle" + type: "QRectF" + read: "inputItemClipRectangle" + notify: "inputItemClipRectangleChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "visible" + type: "bool" + read: "isVisible" + notify: "visibleChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "animating" + type: "bool" + read: "isAnimating" + notify: "animatingChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "locale" + type: "QLocale" + read: "locale" + notify: "localeChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "inputDirection" + type: "Qt::LayoutDirection" + read: "inputDirection" + notify: "inputDirectionChanged" + index: 7 + isReadonly: true + isFinal: true + } + Signal { name: "anchorRectangleChanged" } + Signal { name: "animatingChanged" } + Signal { name: "cursorRectangleChanged" } + Signal { + name: "inputDirectionChanged" + Parameter { name: "newDirection"; type: "Qt::LayoutDirection" } + } + Signal { name: "inputItemClipRectangleChanged" } + Signal { name: "keyboardRectangleChanged" } + Signal { name: "localeChanged" } + Signal { name: "visibleChanged" } + Method { name: "commit" } + Method { name: "hide" } + Method { + name: "invokeAction" + Parameter { name: "a"; type: "QInputMethod::Action" } + Parameter { name: "cursorPosition"; type: "int" } + } + Method { name: "reset" } + Method { name: "show" } + Method { + name: "update" + Parameter { name: "queries"; type: "Qt::InputMethodQueries" } + } + } + Component { + file: "private/qquickvalidator_p.h" + name: "QQuickIntValidator" + accessSemantics: "reference" + prototype: "QIntValidator" + exports: ["QtQuick/IntValidator 2.0", "QtQuick/IntValidator 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "locale" + type: "QString" + read: "localeName" + write: "setLocaleName" + reset: "resetLocaleName" + notify: "localeNameChanged" + index: 0 + isFinal: true + } + Signal { name: "localeNameChanged" } + } + Component { + file: "qquickitem.h" + name: "QQuickItem" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQuick/Item 2.0", + "QtQuick/Item 2.1", + "QtQuick/Item 2.4", + "QtQuick/Item 2.7", + "QtQuick/Item 2.11", + "QtQuick/Item 6.0", + "QtQuick/Item 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Enum { + name: "Flags" + alias: "Flag" + isFlag: true + values: [ + "ItemClipsChildrenToShape", + "ItemAcceptsInputMethod", + "ItemIsFocusScope", + "ItemHasContents", + "ItemAcceptsDrops", + "ItemIsViewport", + "ItemObservesViewport" + ] + } + Enum { + name: "ItemChange" + values: [ + "ItemChildAddedChange", + "ItemChildRemovedChange", + "ItemSceneChange", + "ItemVisibleHasChanged", + "ItemParentHasChanged", + "ItemOpacityHasChanged", + "ItemActiveFocusHasChanged", + "ItemRotationHasChanged", + "ItemAntialiasingHasChanged", + "ItemDevicePixelRatioHasChanged", + "ItemEnabledHasChanged" + ] + } + Enum { + name: "TransformOrigin" + values: [ + "TopLeft", + "Top", + "TopRight", + "Left", + "Center", + "Right", + "BottomLeft", + "Bottom", + "BottomRight" + ] + } + Property { + name: "parent" + type: "QQuickItem" + isPointer: true + read: "parentItem" + write: "setParentItem" + notify: "parentChanged" + index: 0 + isFinal: true + } + Property { + name: "data" + type: "QObject" + isList: true + read: "data" + index: 1 + privateClass: "QQuickItemPrivate" + isReadonly: true + } + Property { + name: "resources" + type: "QObject" + isList: true + read: "resources" + index: 2 + privateClass: "QQuickItemPrivate" + isReadonly: true + } + Property { + name: "children" + type: "QQuickItem" + isList: true + read: "children" + notify: "childrenChanged" + index: 3 + privateClass: "QQuickItemPrivate" + isReadonly: true + } + Property { + name: "x" + type: "double" + bindable: "bindableX" + read: "x" + write: "setX" + notify: "xChanged" + index: 4 + isFinal: true + } + Property { + name: "y" + type: "double" + bindable: "bindableY" + read: "y" + write: "setY" + notify: "yChanged" + index: 5 + isFinal: true + } + Property { + name: "z" + type: "double" + read: "z" + write: "setZ" + notify: "zChanged" + index: 6 + isFinal: true + } + Property { + name: "width" + type: "double" + bindable: "bindableWidth" + read: "width" + write: "setWidth" + reset: "resetWidth" + notify: "widthChanged" + index: 7 + isFinal: true + } + Property { + name: "height" + type: "double" + bindable: "bindableHeight" + read: "height" + write: "setHeight" + reset: "resetHeight" + notify: "heightChanged" + index: 8 + isFinal: true + } + Property { + name: "opacity" + type: "double" + read: "opacity" + write: "setOpacity" + notify: "opacityChanged" + index: 9 + isFinal: true + } + Property { + name: "enabled" + type: "bool" + read: "isEnabled" + write: "setEnabled" + notify: "enabledChanged" + index: 10 + } + Property { + name: "visible" + type: "bool" + read: "isVisible" + write: "setVisible" + notify: "visibleChanged" + index: 11 + isFinal: true + } + Property { + name: "palette" + revision: 1536 + type: "QQuickPalette" + isPointer: true + read: "palette" + write: "setPalette" + reset: "resetPalette" + notify: "paletteChanged" + index: 12 + privateClass: "QQuickItemPrivate" + } + Property { + name: "visibleChildren" + type: "QQuickItem" + isList: true + read: "visibleChildren" + notify: "visibleChildrenChanged" + index: 13 + privateClass: "QQuickItemPrivate" + isReadonly: true + } + Property { + name: "states" + type: "QQuickState" + isList: true + read: "states" + index: 14 + privateClass: "QQuickItemPrivate" + isReadonly: true + } + Property { + name: "transitions" + type: "QQuickTransition" + isList: true + read: "transitions" + index: 15 + privateClass: "QQuickItemPrivate" + isReadonly: true + } + Property { + name: "state" + type: "QString" + read: "state" + write: "setState" + notify: "stateChanged" + index: 16 + } + Property { + name: "childrenRect" + type: "QRectF" + read: "childrenRect" + notify: "childrenRectChanged" + index: 17 + isReadonly: true + isFinal: true + } + Property { + name: "anchors" + type: "QQuickAnchors" + isPointer: true + read: "anchors" + index: 18 + privateClass: "QQuickItemPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "left" + type: "QQuickAnchorLine" + read: "left" + index: 19 + privateClass: "QQuickItemPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "right" + type: "QQuickAnchorLine" + read: "right" + index: 20 + privateClass: "QQuickItemPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "horizontalCenter" + type: "QQuickAnchorLine" + read: "horizontalCenter" + index: 21 + privateClass: "QQuickItemPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "top" + type: "QQuickAnchorLine" + read: "top" + index: 22 + privateClass: "QQuickItemPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "bottom" + type: "QQuickAnchorLine" + read: "bottom" + index: 23 + privateClass: "QQuickItemPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "verticalCenter" + type: "QQuickAnchorLine" + read: "verticalCenter" + index: 24 + privateClass: "QQuickItemPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "baseline" + type: "QQuickAnchorLine" + read: "baseline" + index: 25 + privateClass: "QQuickItemPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "baselineOffset" + type: "double" + read: "baselineOffset" + write: "setBaselineOffset" + notify: "baselineOffsetChanged" + index: 26 + } + Property { + name: "clip" + type: "bool" + read: "clip" + write: "setClip" + notify: "clipChanged" + index: 27 + isFinal: true + } + Property { + name: "focus" + type: "bool" + read: "hasFocus" + write: "setFocus" + notify: "focusChanged" + index: 28 + isFinal: true + } + Property { + name: "activeFocus" + type: "bool" + read: "hasActiveFocus" + notify: "activeFocusChanged" + index: 29 + isReadonly: true + isFinal: true + } + Property { + name: "activeFocusOnTab" + revision: 513 + type: "bool" + read: "activeFocusOnTab" + write: "setActiveFocusOnTab" + notify: "activeFocusOnTabChanged" + index: 30 + isFinal: true + } + Property { + name: "rotation" + type: "double" + read: "rotation" + write: "setRotation" + notify: "rotationChanged" + index: 31 + } + Property { + name: "scale" + type: "double" + read: "scale" + write: "setScale" + notify: "scaleChanged" + index: 32 + } + Property { + name: "transformOrigin" + type: "TransformOrigin" + read: "transformOrigin" + write: "setTransformOrigin" + notify: "transformOriginChanged" + index: 33 + isFinal: true + } + Property { + name: "transformOriginPoint" + type: "QPointF" + read: "transformOriginPoint" + index: 34 + isReadonly: true + isFinal: true + } + Property { + name: "transform" + type: "QQuickTransform" + isList: true + read: "transform" + index: 35 + isReadonly: true + isFinal: true + } + Property { + name: "smooth" + type: "bool" + read: "smooth" + write: "setSmooth" + notify: "smoothChanged" + index: 36 + isFinal: true + } + Property { + name: "antialiasing" + type: "bool" + read: "antialiasing" + write: "setAntialiasing" + reset: "resetAntialiasing" + notify: "antialiasingChanged" + index: 37 + isFinal: true + } + Property { + name: "implicitWidth" + type: "double" + read: "implicitWidth" + write: "setImplicitWidth" + notify: "implicitWidthChanged" + index: 38 + } + Property { + name: "implicitHeight" + type: "double" + read: "implicitHeight" + write: "setImplicitHeight" + notify: "implicitHeightChanged" + index: 39 + } + Property { + name: "containmentMask" + revision: 523 + type: "QObject" + isPointer: true + read: "containmentMask" + write: "setContainmentMask" + notify: "containmentMaskChanged" + index: 40 + isFinal: true + } + Property { + name: "layer" + type: "QQuickItemLayer" + isPointer: true + read: "layer" + index: 41 + privateClass: "QQuickItemPrivate" + isReadonly: true + isFinal: true + isConstant: true + } + Signal { + name: "childrenRectChanged" + Parameter { type: "QRectF" } + } + Signal { + name: "baselineOffsetChanged" + Parameter { type: "double" } + } + Signal { + name: "stateChanged" + Parameter { type: "QString" } + } + Signal { + name: "focusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusChanged" + Parameter { type: "bool" } + } + Signal { + name: "activeFocusOnTabChanged" + revision: 513 + Parameter { type: "bool" } + } + Signal { + name: "parentChanged" + Parameter { type: "QQuickItem"; isPointer: true } + } + Signal { + name: "transformOriginChanged" + Parameter { type: "TransformOrigin" } + } + Signal { + name: "smoothChanged" + Parameter { type: "bool" } + } + Signal { + name: "antialiasingChanged" + Parameter { type: "bool" } + } + Signal { + name: "clipChanged" + Parameter { type: "bool" } + } + Signal { + name: "windowChanged" + revision: 513 + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Signal { name: "childrenChanged" } + Signal { name: "opacityChanged" } + Signal { name: "enabledChanged" } + Signal { name: "visibleChanged" } + Signal { name: "visibleChildrenChanged" } + Signal { name: "rotationChanged" } + Signal { name: "scaleChanged" } + Signal { name: "xChanged" } + Signal { name: "yChanged" } + Signal { name: "widthChanged" } + Signal { name: "heightChanged" } + Signal { name: "zChanged" } + Signal { name: "implicitWidthChanged" } + Signal { name: "implicitHeightChanged" } + Signal { name: "containmentMaskChanged"; revision: 523 } + Signal { name: "paletteChanged"; revision: 1536 } + Signal { name: "paletteCreated"; revision: 1536 } + Method { name: "update" } + Method { + name: "_q_resourceObjectDeleted" + Parameter { type: "QObject"; isPointer: true } + } + Method { + name: "_q_createJSWrapper" + type: "qulonglong" + Parameter { type: "QV4::ExecutionEngine"; isPointer: true } + } + Method { + name: "grabToImage" + revision: 516 + type: "bool" + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "targetSize"; type: "QSize" } + } + Method { + name: "grabToImage" + revision: 516 + type: "bool" + isCloned: true + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "contains" + type: "bool" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapFromItem" + type: "QPointF" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true; isConstant: true } + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapFromItem" + type: "QPointF" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true; isConstant: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "mapFromItem" + type: "QRectF" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true; isConstant: true } + Parameter { name: "rect"; type: "QRectF" } + } + Method { + name: "mapFromItem" + type: "QRectF" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true; isConstant: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "width"; type: "double" } + Parameter { name: "height"; type: "double" } + } + Method { + name: "mapToItem" + type: "QPointF" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true; isConstant: true } + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapToItem" + type: "QPointF" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true; isConstant: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "mapToItem" + type: "QRectF" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true; isConstant: true } + Parameter { name: "rect"; type: "QRectF" } + } + Method { + name: "mapToItem" + type: "QRectF" + Parameter { name: "item"; type: "QQuickItem"; isPointer: true; isConstant: true } + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "width"; type: "double" } + Parameter { name: "height"; type: "double" } + } + Method { + name: "mapFromGlobal" + revision: 519 + type: "QPointF" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "mapFromGlobal" + revision: 519 + type: "QPointF" + Parameter { name: "point"; type: "QPointF" } + } + Method { + name: "mapToGlobal" + revision: 519 + type: "QPointF" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "mapToGlobal" + revision: 519 + type: "QPointF" + Parameter { name: "point"; type: "QPointF" } + } + Method { name: "forceActiveFocus" } + Method { + name: "forceActiveFocus" + Parameter { name: "reason"; type: "Qt::FocusReason" } + } + Method { + name: "nextItemInFocusChain" + revision: 513 + type: "QQuickItem" + isPointer: true + Parameter { name: "forward"; type: "bool" } + } + Method { + name: "nextItemInFocusChain" + revision: 513 + type: "QQuickItem" + isPointer: true + isCloned: true + } + Method { + name: "childAt" + type: "QQuickItem" + isPointer: true + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { name: "ensurePolished"; revision: 1539 } + Method { name: "dumpItemTree"; revision: 1539 } + } + Component { + file: "qquickitemgrabresult.h" + name: "QQuickItemGrabResult" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "image" + type: "QImage" + read: "image" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "url" + type: "QUrl" + read: "url" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Signal { name: "ready" } + Method { name: "setup" } + Method { name: "render" } + Method { + name: "saveToFile" + type: "bool" + Parameter { name: "fileName"; type: "QString" } + } + Method { + name: "saveToFile" + revision: 1538 + type: "bool" + Parameter { name: "fileName"; type: "QUrl" } + } + } + Component { + file: "private/qquickitem_p.h" + name: "QQuickItemLayer" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "enabled" + type: "bool" + read: "enabled" + write: "setEnabled" + notify: "enabledChanged" + index: 0 + isFinal: true + } + Property { + name: "textureSize" + type: "QSize" + read: "size" + write: "setSize" + notify: "sizeChanged" + index: 1 + isFinal: true + } + Property { + name: "sourceRect" + type: "QRectF" + read: "sourceRect" + write: "setSourceRect" + notify: "sourceRectChanged" + index: 2 + isFinal: true + } + Property { + name: "mipmap" + type: "bool" + read: "mipmap" + write: "setMipmap" + notify: "mipmapChanged" + index: 3 + isFinal: true + } + Property { + name: "smooth" + type: "bool" + read: "smooth" + write: "setSmooth" + notify: "smoothChanged" + index: 4 + isFinal: true + } + Property { + name: "live" + revision: 1541 + type: "bool" + read: "live" + write: "setLive" + notify: "liveChanged" + index: 5 + isFinal: true + } + Property { + name: "wrapMode" + type: "QQuickShaderEffectSource::WrapMode" + read: "wrapMode" + write: "setWrapMode" + notify: "wrapModeChanged" + index: 6 + isFinal: true + } + Property { + name: "format" + type: "QQuickShaderEffectSource::Format" + read: "format" + write: "setFormat" + notify: "formatChanged" + index: 7 + isFinal: true + } + Property { + name: "samplerName" + type: "QByteArray" + read: "name" + write: "setName" + notify: "nameChanged" + index: 8 + isFinal: true + } + Property { + name: "effect" + type: "QQmlComponent" + isPointer: true + read: "effect" + write: "setEffect" + notify: "effectChanged" + index: 9 + isFinal: true + } + Property { + name: "textureMirroring" + type: "QQuickShaderEffectSource::TextureMirroring" + read: "textureMirroring" + write: "setTextureMirroring" + notify: "textureMirroringChanged" + index: 10 + isFinal: true + } + Property { + name: "samples" + type: "int" + read: "samples" + write: "setSamples" + notify: "samplesChanged" + index: 11 + isFinal: true + } + Signal { + name: "enabledChanged" + Parameter { name: "enabled"; type: "bool" } + } + Signal { + name: "sizeChanged" + Parameter { name: "size"; type: "QSize" } + } + Signal { + name: "mipmapChanged" + Parameter { name: "mipmap"; type: "bool" } + } + Signal { + name: "wrapModeChanged" + Parameter { name: "mode"; type: "QQuickShaderEffectSource::WrapMode" } + } + Signal { + name: "nameChanged" + Parameter { name: "name"; type: "QByteArray" } + } + Signal { + name: "effectChanged" + Parameter { name: "component"; type: "QQmlComponent"; isPointer: true } + } + Signal { + name: "smoothChanged" + Parameter { name: "smooth"; type: "bool" } + } + Signal { + name: "liveChanged" + Parameter { name: "live"; type: "bool" } + } + Signal { + name: "formatChanged" + Parameter { name: "format"; type: "QQuickShaderEffectSource::Format" } + } + Signal { + name: "sourceRectChanged" + Parameter { name: "sourceRect"; type: "QRectF" } + } + Signal { + name: "textureMirroringChanged" + Parameter { name: "mirroring"; type: "QQuickShaderEffectSource::TextureMirroring" } + } + Signal { + name: "samplesChanged" + Parameter { name: "count"; type: "int" } + } + } + Component { + file: "private/qquickitemview_p.h" + name: "QQuickItemView" + accessSemantics: "reference" + defaultProperty: "flickableData" + prototype: "QQuickFlickable" + exports: [ + "QtQuick/ItemView 2.1", + "QtQuick/ItemView 2.3", + "QtQuick/ItemView 2.4", + "QtQuick/ItemView 2.7", + "QtQuick/ItemView 2.9", + "QtQuick/ItemView 2.10", + "QtQuick/ItemView 2.11", + "QtQuick/ItemView 2.12", + "QtQuick/ItemView 2.13", + "QtQuick/ItemView 2.15", + "QtQuick/ItemView 6.0", + "QtQuick/ItemView 6.3" + ] + isCreatable: false + exportMetaObjectRevisions: [ + 513, + 515, + 516, + 519, + 521, + 522, + 523, + 524, + 525, + 527, + 1536, + 1539 + ] + Enum { + name: "LayoutDirection" + values: [ + "LeftToRight", + "RightToLeft", + "VerticalTopToBottom", + "VerticalBottomToTop" + ] + } + Enum { + name: "VerticalLayoutDirection" + values: ["TopToBottom", "BottomToTop"] + } + Enum { + name: "HighlightRangeMode" + values: ["NoHighlightRange", "ApplyRange", "StrictlyEnforceRange"] + } + Enum { + name: "PositionMode" + values: [ + "Beginning", + "Center", + "End", + "Visible", + "Contain", + "SnapPosition" + ] + } + Property { + name: "model" + type: "QVariant" + read: "model" + write: "setModel" + notify: "modelChanged" + index: 0 + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 1 + isFinal: true + } + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 2 + isReadonly: true + } + Property { + name: "currentIndex" + type: "int" + read: "currentIndex" + write: "setCurrentIndex" + notify: "currentIndexChanged" + index: 3 + isFinal: true + } + Property { + name: "currentItem" + type: "QQuickItem" + isPointer: true + read: "currentItem" + notify: "currentItemChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "keyNavigationWraps" + type: "bool" + read: "isWrapEnabled" + write: "setWrapEnabled" + notify: "keyNavigationWrapsChanged" + index: 5 + isFinal: true + } + Property { + name: "keyNavigationEnabled" + revision: 519 + type: "bool" + read: "isKeyNavigationEnabled" + write: "setKeyNavigationEnabled" + notify: "keyNavigationEnabledChanged" + index: 6 + isFinal: true + } + Property { + name: "cacheBuffer" + type: "int" + read: "cacheBuffer" + write: "setCacheBuffer" + notify: "cacheBufferChanged" + index: 7 + isFinal: true + } + Property { + name: "displayMarginBeginning" + revision: 515 + type: "int" + read: "displayMarginBeginning" + write: "setDisplayMarginBeginning" + notify: "displayMarginBeginningChanged" + index: 8 + isFinal: true + } + Property { + name: "displayMarginEnd" + revision: 515 + type: "int" + read: "displayMarginEnd" + write: "setDisplayMarginEnd" + notify: "displayMarginEndChanged" + index: 9 + isFinal: true + } + Property { + name: "layoutDirection" + type: "Qt::LayoutDirection" + read: "layoutDirection" + write: "setLayoutDirection" + notify: "layoutDirectionChanged" + index: 10 + isFinal: true + } + Property { + name: "effectiveLayoutDirection" + type: "Qt::LayoutDirection" + read: "effectiveLayoutDirection" + notify: "effectiveLayoutDirectionChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "verticalLayoutDirection" + type: "VerticalLayoutDirection" + read: "verticalLayoutDirection" + write: "setVerticalLayoutDirection" + notify: "verticalLayoutDirectionChanged" + index: 12 + isFinal: true + } + Property { + name: "header" + type: "QQmlComponent" + isPointer: true + read: "header" + write: "setHeader" + notify: "headerChanged" + index: 13 + isFinal: true + } + Property { + name: "headerItem" + type: "QQuickItem" + isPointer: true + read: "headerItem" + notify: "headerItemChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "footer" + type: "QQmlComponent" + isPointer: true + read: "footer" + write: "setFooter" + notify: "footerChanged" + index: 15 + isFinal: true + } + Property { + name: "footerItem" + type: "QQuickItem" + isPointer: true + read: "footerItem" + notify: "footerItemChanged" + index: 16 + isReadonly: true + isFinal: true + } + Property { + name: "populate" + type: "QQuickTransition" + isPointer: true + read: "populateTransition" + write: "setPopulateTransition" + notify: "populateTransitionChanged" + index: 17 + isFinal: true + } + Property { + name: "add" + type: "QQuickTransition" + isPointer: true + read: "addTransition" + write: "setAddTransition" + notify: "addTransitionChanged" + index: 18 + isFinal: true + } + Property { + name: "addDisplaced" + type: "QQuickTransition" + isPointer: true + read: "addDisplacedTransition" + write: "setAddDisplacedTransition" + notify: "addDisplacedTransitionChanged" + index: 19 + isFinal: true + } + Property { + name: "move" + type: "QQuickTransition" + isPointer: true + read: "moveTransition" + write: "setMoveTransition" + notify: "moveTransitionChanged" + index: 20 + isFinal: true + } + Property { + name: "moveDisplaced" + type: "QQuickTransition" + isPointer: true + read: "moveDisplacedTransition" + write: "setMoveDisplacedTransition" + notify: "moveDisplacedTransitionChanged" + index: 21 + isFinal: true + } + Property { + name: "remove" + type: "QQuickTransition" + isPointer: true + read: "removeTransition" + write: "setRemoveTransition" + notify: "removeTransitionChanged" + index: 22 + isFinal: true + } + Property { + name: "removeDisplaced" + type: "QQuickTransition" + isPointer: true + read: "removeDisplacedTransition" + write: "setRemoveDisplacedTransition" + notify: "removeDisplacedTransitionChanged" + index: 23 + isFinal: true + } + Property { + name: "displaced" + type: "QQuickTransition" + isPointer: true + read: "displacedTransition" + write: "setDisplacedTransition" + notify: "displacedTransitionChanged" + index: 24 + isFinal: true + } + Property { + name: "highlight" + type: "QQmlComponent" + isPointer: true + read: "highlight" + write: "setHighlight" + notify: "highlightChanged" + index: 25 + isFinal: true + } + Property { + name: "highlightItem" + type: "QQuickItem" + isPointer: true + read: "highlightItem" + notify: "highlightItemChanged" + index: 26 + isReadonly: true + isFinal: true + } + Property { + name: "highlightFollowsCurrentItem" + type: "bool" + read: "highlightFollowsCurrentItem" + write: "setHighlightFollowsCurrentItem" + notify: "highlightFollowsCurrentItemChanged" + index: 27 + isFinal: true + } + Property { + name: "highlightRangeMode" + type: "HighlightRangeMode" + read: "highlightRangeMode" + write: "setHighlightRangeMode" + notify: "highlightRangeModeChanged" + index: 28 + isFinal: true + } + Property { + name: "preferredHighlightBegin" + type: "double" + read: "preferredHighlightBegin" + write: "setPreferredHighlightBegin" + reset: "resetPreferredHighlightBegin" + notify: "preferredHighlightBeginChanged" + index: 29 + isFinal: true + } + Property { + name: "preferredHighlightEnd" + type: "double" + read: "preferredHighlightEnd" + write: "setPreferredHighlightEnd" + reset: "resetPreferredHighlightEnd" + notify: "preferredHighlightEndChanged" + index: 30 + isFinal: true + } + Property { + name: "highlightMoveDuration" + type: "int" + read: "highlightMoveDuration" + write: "setHighlightMoveDuration" + notify: "highlightMoveDurationChanged" + index: 31 + isFinal: true + } + Property { + name: "reuseItems" + revision: 527 + type: "bool" + read: "reuseItems" + write: "setReuseItems" + notify: "reuseItemsChanged" + index: 32 + isFinal: true + } + Signal { name: "modelChanged" } + Signal { name: "delegateChanged" } + Signal { name: "countChanged" } + Signal { name: "currentIndexChanged" } + Signal { name: "currentItemChanged" } + Signal { name: "keyNavigationWrapsChanged" } + Signal { name: "keyNavigationEnabledChanged"; revision: 519 } + Signal { name: "cacheBufferChanged" } + Signal { name: "displayMarginBeginningChanged" } + Signal { name: "displayMarginEndChanged" } + Signal { name: "layoutDirectionChanged" } + Signal { name: "effectiveLayoutDirectionChanged" } + Signal { name: "verticalLayoutDirectionChanged" } + Signal { name: "headerChanged" } + Signal { name: "footerChanged" } + Signal { name: "headerItemChanged" } + Signal { name: "footerItemChanged" } + Signal { name: "populateTransitionChanged" } + Signal { name: "addTransitionChanged" } + Signal { name: "addDisplacedTransitionChanged" } + Signal { name: "moveTransitionChanged" } + Signal { name: "moveDisplacedTransitionChanged" } + Signal { name: "removeTransitionChanged" } + Signal { name: "removeDisplacedTransitionChanged" } + Signal { name: "displacedTransitionChanged" } + Signal { name: "highlightChanged" } + Signal { name: "highlightItemChanged" } + Signal { name: "highlightFollowsCurrentItemChanged" } + Signal { name: "highlightRangeModeChanged" } + Signal { name: "preferredHighlightBeginChanged" } + Signal { name: "preferredHighlightEndChanged" } + Signal { name: "highlightMoveDurationChanged" } + Signal { name: "reuseItemsChanged"; revision: 527 } + Method { name: "destroyRemoved" } + Method { + name: "createdItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "initItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "modelUpdated" + Parameter { name: "changeSet"; type: "QQmlChangeSet" } + Parameter { name: "reset"; type: "bool" } + } + Method { + name: "destroyingItem" + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "onItemPooled" + revision: 527 + Parameter { name: "modelIndex"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "onItemReused" + revision: 527 + Parameter { name: "modelIndex"; type: "int" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { name: "animStopped" } + Method { name: "trackedPositionChanged" } + Method { + name: "positionViewAtIndex" + Parameter { name: "index"; type: "int" } + Parameter { name: "mode"; type: "int" } + } + Method { + name: "indexAt" + type: "int" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "itemAt" + type: "QQuickItem" + isPointer: true + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "itemAtIndex" + revision: 525 + type: "QQuickItem" + isPointer: true + Parameter { name: "index"; type: "int" } + } + Method { name: "positionViewAtBeginning" } + Method { name: "positionViewAtEnd" } + Method { name: "forceLayout"; revision: 513 } + } + Component { + file: "private/qquickitemview_p.h" + name: "QQuickItemViewAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "view" + type: "QQuickItemView" + isPointer: true + read: "view" + notify: "viewChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "isCurrentItem" + type: "bool" + read: "isCurrentItem" + notify: "currentItemChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "delayRemove" + type: "bool" + read: "delayRemove" + write: "setDelayRemove" + notify: "delayRemoveChanged" + index: 2 + isFinal: true + } + Property { + name: "section" + type: "QString" + read: "section" + notify: "sectionChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "previousSection" + type: "QString" + read: "prevSection" + notify: "prevSectionChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "nextSection" + type: "QString" + read: "nextSection" + notify: "nextSectionChanged" + index: 5 + isReadonly: true + isFinal: true + } + Signal { name: "viewChanged" } + Signal { name: "currentItemChanged" } + Signal { name: "delayRemoveChanged" } + Signal { name: "add" } + Signal { name: "remove" } + Signal { name: "sectionChanged" } + Signal { name: "prevSectionChanged" } + Signal { name: "nextSectionChanged" } + Signal { name: "pooled" } + Signal { name: "reused" } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickKeyEvent" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "key" + type: "int" + read: "key" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "text" + type: "QString" + read: "text" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "modifiers" + type: "int" + read: "modifiers" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "isAutoRepeat" + type: "bool" + read: "isAutoRepeat" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "count" + type: "int" + read: "count" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "nativeScanCode" + type: "uint" + read: "nativeScanCode" + index: 5 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 6 + isFinal: true + } + Method { + name: "matches" + revision: 514 + type: "bool" + Parameter { name: "key"; type: "QKeySequence::StandardKey" } + } + } + Component { + file: "private/qquickitem_p.h" + name: "QQuickKeyNavigationAttached" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/KeyNavigation 2.0", "QtQuick/KeyNavigation 6.0"] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + attachedType: "QQuickKeyNavigationAttached" + Enum { + name: "Priority" + values: ["BeforeItem", "AfterItem"] + } + Property { + name: "left" + type: "QQuickItem" + isPointer: true + read: "left" + write: "setLeft" + notify: "leftChanged" + index: 0 + isFinal: true + } + Property { + name: "right" + type: "QQuickItem" + isPointer: true + read: "right" + write: "setRight" + notify: "rightChanged" + index: 1 + isFinal: true + } + Property { + name: "up" + type: "QQuickItem" + isPointer: true + read: "up" + write: "setUp" + notify: "upChanged" + index: 2 + isFinal: true + } + Property { + name: "down" + type: "QQuickItem" + isPointer: true + read: "down" + write: "setDown" + notify: "downChanged" + index: 3 + isFinal: true + } + Property { + name: "tab" + type: "QQuickItem" + isPointer: true + read: "tab" + write: "setTab" + notify: "tabChanged" + index: 4 + isFinal: true + } + Property { + name: "backtab" + type: "QQuickItem" + isPointer: true + read: "backtab" + write: "setBacktab" + notify: "backtabChanged" + index: 5 + isFinal: true + } + Property { + name: "priority" + type: "Priority" + read: "priority" + write: "setPriority" + notify: "priorityChanged" + index: 6 + isFinal: true + } + Signal { name: "leftChanged" } + Signal { name: "rightChanged" } + Signal { name: "upChanged" } + Signal { name: "downChanged" } + Signal { name: "tabChanged" } + Signal { name: "backtabChanged" } + Signal { name: "priorityChanged" } + } + Component { + file: "private/qquickitem_p.h" + name: "QQuickKeysAttached" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/Keys 2.0", "QtQuick/Keys 6.0"] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + attachedType: "QQuickKeysAttached" + Enum { + name: "Priority" + values: ["BeforeItem", "AfterItem"] + } + Property { + name: "enabled" + type: "bool" + read: "enabled" + write: "setEnabled" + notify: "enabledChanged" + index: 0 + isFinal: true + } + Property { + name: "forwardTo" + type: "QQuickItem" + isList: true + read: "forwardTo" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "priority" + type: "Priority" + read: "priority" + write: "setPriority" + notify: "priorityChanged" + index: 2 + isFinal: true + } + Signal { name: "enabledChanged" } + Signal { name: "priorityChanged" } + Signal { + name: "pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "released" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "shortcutOverride" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit0Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit1Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit2Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit3Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit4Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit5Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit6Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit7Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit8Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "digit9Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "leftPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "rightPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "upPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "downPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "tabPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "backtabPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "asteriskPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "numberSignPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "escapePressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "returnPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "enterPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "deletePressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "spacePressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "backPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "cancelPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "selectPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "yesPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "noPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "context1Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "context2Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "context3Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "context4Pressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "callPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "hangupPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "flipPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "menuPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "volumeUpPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + Signal { + name: "volumeDownPressed" + Parameter { name: "event"; type: "QQuickKeyEvent"; isPointer: true } + } + } + Component { + file: "private/qquickitem_p.h" + name: "QQuickLayoutMirroringAttached" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick/LayoutMirroring 2.0", + "QtQuick/LayoutMirroring 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + attachedType: "QQuickLayoutMirroringAttached" + Property { + name: "enabled" + type: "bool" + read: "enabled" + write: "setEnabled" + reset: "resetEnabled" + notify: "enabledChanged" + index: 0 + isFinal: true + } + Property { + name: "childrenInherit" + type: "bool" + read: "childrenInherit" + write: "setChildrenInherit" + notify: "childrenInheritChanged" + index: 1 + isFinal: true + } + Signal { name: "enabledChanged" } + Signal { name: "childrenInheritChanged" } + } + Component { + file: "private/qquicklistview_p.h" + name: "QQuickListView" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QQuickItemView" + exports: [ + "QtQuick/ListView 2.0", + "QtQuick/ListView 2.1", + "QtQuick/ListView 2.3", + "QtQuick/ListView 2.4", + "QtQuick/ListView 2.7", + "QtQuick/ListView 2.9", + "QtQuick/ListView 2.10", + "QtQuick/ListView 2.11", + "QtQuick/ListView 2.12", + "QtQuick/ListView 2.13", + "QtQuick/ListView 2.15", + "QtQuick/ListView 6.0", + "QtQuick/ListView 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 515, + 516, + 519, + 521, + 522, + 523, + 524, + 525, + 527, + 1536, + 1539 + ] + attachedType: "QQuickListViewAttached" + Enum { + name: "Orientation" + values: ["Horizontal", "Vertical"] + } + Enum { + name: "SnapMode" + values: ["NoSnap", "SnapToItem", "SnapOneItem"] + } + Enum { + name: "HeaderPositioning" + values: ["InlineHeader", "OverlayHeader", "PullBackHeader"] + } + Enum { + name: "FooterPositioning" + values: ["InlineFooter", "OverlayFooter", "PullBackFooter"] + } + Property { + name: "highlightMoveVelocity" + type: "double" + read: "highlightMoveVelocity" + write: "setHighlightMoveVelocity" + notify: "highlightMoveVelocityChanged" + index: 0 + isFinal: true + } + Property { + name: "highlightResizeVelocity" + type: "double" + read: "highlightResizeVelocity" + write: "setHighlightResizeVelocity" + notify: "highlightResizeVelocityChanged" + index: 1 + isFinal: true + } + Property { + name: "highlightResizeDuration" + type: "int" + read: "highlightResizeDuration" + write: "setHighlightResizeDuration" + notify: "highlightResizeDurationChanged" + index: 2 + isFinal: true + } + Property { + name: "spacing" + type: "double" + read: "spacing" + write: "setSpacing" + notify: "spacingChanged" + index: 3 + isFinal: true + } + Property { + name: "orientation" + type: "Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 4 + isFinal: true + } + Property { + name: "section" + type: "QQuickViewSection" + isPointer: true + read: "sectionCriteria" + index: 5 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "currentSection" + type: "QString" + read: "currentSection" + notify: "currentSectionChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "snapMode" + type: "SnapMode" + read: "snapMode" + write: "setSnapMode" + notify: "snapModeChanged" + index: 7 + isFinal: true + } + Property { + name: "headerPositioning" + revision: 516 + type: "HeaderPositioning" + read: "headerPositioning" + write: "setHeaderPositioning" + notify: "headerPositioningChanged" + index: 8 + isFinal: true + } + Property { + name: "footerPositioning" + revision: 516 + type: "FooterPositioning" + read: "footerPositioning" + write: "setFooterPositioning" + notify: "footerPositioningChanged" + index: 9 + isFinal: true + } + Signal { name: "spacingChanged" } + Signal { name: "orientationChanged" } + Signal { name: "currentSectionChanged" } + Signal { name: "highlightMoveVelocityChanged" } + Signal { name: "highlightResizeVelocityChanged" } + Signal { name: "highlightResizeDurationChanged" } + Signal { name: "snapModeChanged" } + Signal { name: "headerPositioningChanged"; revision: 516 } + Signal { name: "footerPositioningChanged"; revision: 516 } + Method { name: "incrementCurrentIndex" } + Method { name: "decrementCurrentIndex" } + } + Component { + file: "private/qquicklistview_p.h" + name: "QQuickListViewAttached" + accessSemantics: "reference" + prototype: "QQuickItemViewAttached" + } + Component { + file: "private/qquickloader_p.h" + name: "QQuickLoader" + accessSemantics: "reference" + prototype: "QQuickImplicitSizeItem" + exports: [ + "QtQuick/Loader 2.0", + "QtQuick/Loader 2.1", + "QtQuick/Loader 2.4", + "QtQuick/Loader 2.7", + "QtQuick/Loader 2.11", + "QtQuick/Loader 6.0", + "QtQuick/Loader 6.2", + "QtQuick/Loader 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1538, 1539] + Enum { + name: "Status" + values: ["Null", "Ready", "Loading", "Error"] + } + Property { + name: "active" + type: "bool" + read: "active" + write: "setActive" + notify: "activeChanged" + index: 0 + isFinal: true + } + Property { + name: "source" + type: "QUrl" + read: "source" + write: "setSourceWithoutResolve" + notify: "sourceChanged" + index: 1 + isFinal: true + } + Property { + name: "sourceComponent" + type: "QQmlComponent" + isPointer: true + read: "sourceComponent" + write: "setSourceComponent" + reset: "resetSourceComponent" + notify: "sourceComponentChanged" + index: 2 + isFinal: true + } + Property { + name: "item" + type: "QObject" + isPointer: true + read: "item" + notify: "itemChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "status" + type: "Status" + read: "status" + notify: "statusChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "progress" + type: "double" + read: "progress" + notify: "progressChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "asynchronous" + type: "bool" + read: "asynchronous" + write: "setAsynchronous" + notify: "asynchronousChanged" + index: 6 + isFinal: true + } + Signal { name: "itemChanged" } + Signal { name: "activeChanged" } + Signal { name: "sourceChanged" } + Signal { name: "sourceComponentChanged" } + Signal { name: "statusChanged" } + Signal { name: "progressChanged" } + Signal { name: "loaded" } + Signal { name: "asynchronousChanged" } + Method { name: "_q_sourceLoaded" } + Method { name: "_q_updateSize" } + Method { + name: "setSource" + Parameter { name: "source"; type: "QUrl" } + Parameter { name: "initialProperties"; type: "QJSValue" } + } + Method { + name: "setSource" + Parameter { name: "source"; type: "QUrl" } + } + } + Component { + file: "private/qquicktranslate_p.h" + name: "QQuickMatrix4x4" + accessSemantics: "reference" + prototype: "QQuickTransform" + exports: ["QtQuick/Matrix4x4 2.3", "QtQuick/Matrix4x4 6.0"] + exportMetaObjectRevisions: [515, 1536] + Property { + name: "matrix" + type: "QMatrix4x4" + read: "matrix" + write: "setMatrix" + notify: "matrixChanged" + index: 0 + isFinal: true + } + Signal { name: "matrixChanged" } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QMatrix4x4" + accessSemantics: "value" + extension: "QQuickMatrix4x4ValueType" + exports: ["QtQuick/matrix4x4 2.0", "QtQuick/matrix4x4 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickMatrix4x4ValueType" + accessSemantics: "value" + Property { name: "m11"; type: "double"; read: "m11"; write: "setM11"; index: 0; isFinal: true } + Property { name: "m12"; type: "double"; read: "m12"; write: "setM12"; index: 1; isFinal: true } + Property { name: "m13"; type: "double"; read: "m13"; write: "setM13"; index: 2; isFinal: true } + Property { name: "m14"; type: "double"; read: "m14"; write: "setM14"; index: 3; isFinal: true } + Property { name: "m21"; type: "double"; read: "m21"; write: "setM21"; index: 4; isFinal: true } + Property { name: "m22"; type: "double"; read: "m22"; write: "setM22"; index: 5; isFinal: true } + Property { name: "m23"; type: "double"; read: "m23"; write: "setM23"; index: 6; isFinal: true } + Property { name: "m24"; type: "double"; read: "m24"; write: "setM24"; index: 7; isFinal: true } + Property { name: "m31"; type: "double"; read: "m31"; write: "setM31"; index: 8; isFinal: true } + Property { name: "m32"; type: "double"; read: "m32"; write: "setM32"; index: 9; isFinal: true } + Property { name: "m33"; type: "double"; read: "m33"; write: "setM33"; index: 10; isFinal: true } + Property { name: "m34"; type: "double"; read: "m34"; write: "setM34"; index: 11; isFinal: true } + Property { name: "m41"; type: "double"; read: "m41"; write: "setM41"; index: 12; isFinal: true } + Property { name: "m42"; type: "double"; read: "m42"; write: "setM42"; index: 13; isFinal: true } + Property { name: "m43"; type: "double"; read: "m43"; write: "setM43"; index: 14; isFinal: true } + Property { name: "m44"; type: "double"; read: "m44"; write: "setM44"; index: 15; isFinal: true } + Method { + name: "translate" + Parameter { name: "t"; type: "QVector3D" } + } + Method { + name: "rotate" + Parameter { name: "angle"; type: "float" } + Parameter { name: "axis"; type: "QVector3D" } + } + Method { + name: "rotate" + Parameter { name: "q"; type: "QQuaternion" } + } + Method { + name: "scale" + Parameter { name: "s"; type: "float" } + } + Method { + name: "scale" + Parameter { name: "sx"; type: "float" } + Parameter { name: "sy"; type: "float" } + Parameter { name: "sz"; type: "float" } + } + Method { + name: "scale" + Parameter { name: "s"; type: "QVector3D" } + } + Method { + name: "lookAt" + Parameter { name: "eye"; type: "QVector3D" } + Parameter { name: "center"; type: "QVector3D" } + Parameter { name: "up"; type: "QVector3D" } + } + Method { + name: "times" + type: "QMatrix4x4" + Parameter { name: "m"; type: "QMatrix4x4" } + } + Method { + name: "times" + type: "QVector4D" + Parameter { name: "vec"; type: "QVector4D" } + } + Method { + name: "times" + type: "QVector3D" + Parameter { name: "vec"; type: "QVector3D" } + } + Method { + name: "times" + type: "QMatrix4x4" + Parameter { name: "factor"; type: "double" } + } + Method { + name: "plus" + type: "QMatrix4x4" + Parameter { name: "m"; type: "QMatrix4x4" } + } + Method { + name: "minus" + type: "QMatrix4x4" + Parameter { name: "m"; type: "QMatrix4x4" } + } + Method { + name: "row" + type: "QVector4D" + Parameter { name: "n"; type: "int" } + } + Method { + name: "column" + type: "QVector4D" + Parameter { name: "m"; type: "int" } + } + Method { name: "determinant"; type: "double" } + Method { name: "inverted"; type: "QMatrix4x4" } + Method { name: "transposed"; type: "QMatrix4x4" } + Method { + name: "map" + type: "QPointF" + Parameter { name: "p"; type: "QPointF" } + } + Method { + name: "mapRect" + type: "QRectF" + Parameter { name: "r"; type: "QRectF" } + } + Method { + name: "fuzzyEquals" + type: "bool" + Parameter { name: "m"; type: "QMatrix4x4" } + Parameter { name: "epsilon"; type: "double" } + } + Method { + name: "fuzzyEquals" + type: "bool" + Parameter { name: "m"; type: "QMatrix4x4" } + } + } + Component { + file: "private/qquickmousearea_p.h" + name: "QQuickMouseArea" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/MouseArea 2.0", + "QtQuick/MouseArea 2.1", + "QtQuick/MouseArea 2.4", + "QtQuick/MouseArea 2.5", + "QtQuick/MouseArea 2.7", + "QtQuick/MouseArea 2.9", + "QtQuick/MouseArea 2.11", + "QtQuick/MouseArea 6.0", + "QtQuick/MouseArea 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 516, + 517, + 519, + 521, + 523, + 1536, + 1539 + ] + Property { + name: "mouseX" + type: "double" + read: "mouseX" + notify: "mouseXChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "mouseY" + type: "double" + read: "mouseY" + notify: "mouseYChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "containsMouse" + type: "bool" + read: "hovered" + notify: "hoveredChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + notify: "pressedChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "enabled" + type: "bool" + read: "isEnabled" + write: "setEnabled" + notify: "enabledChanged" + index: 4 + isFinal: true + } + Property { + name: "scrollGestureEnabled" + revision: 517 + type: "bool" + read: "isScrollGestureEnabled" + write: "setScrollGestureEnabled" + notify: "scrollGestureEnabledChanged" + index: 5 + isFinal: true + } + Property { + name: "pressedButtons" + type: "Qt::MouseButtons" + read: "pressedButtons" + notify: "pressedButtonsChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "acceptedButtons" + type: "Qt::MouseButtons" + read: "acceptedButtons" + write: "setAcceptedButtons" + notify: "acceptedButtonsChanged" + index: 7 + isFinal: true + } + Property { + name: "hoverEnabled" + type: "bool" + read: "hoverEnabled" + write: "setHoverEnabled" + notify: "hoverEnabledChanged" + index: 8 + isFinal: true + } + Property { + name: "drag" + type: "QQuickDrag" + isPointer: true + read: "drag" + index: 9 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "preventStealing" + type: "bool" + read: "preventStealing" + write: "setPreventStealing" + notify: "preventStealingChanged" + index: 10 + isFinal: true + } + Property { + name: "propagateComposedEvents" + type: "bool" + read: "propagateComposedEvents" + write: "setPropagateComposedEvents" + notify: "propagateComposedEventsChanged" + index: 11 + isFinal: true + } + Property { + name: "cursorShape" + type: "Qt::CursorShape" + read: "cursorShape" + write: "setCursorShape" + reset: "unsetCursor" + notify: "cursorShapeChanged" + index: 12 + isFinal: true + } + Property { + name: "containsPress" + revision: 516 + type: "bool" + read: "containsPress" + notify: "containsPressChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "pressAndHoldInterval" + revision: 521 + type: "int" + read: "pressAndHoldInterval" + write: "setPressAndHoldInterval" + reset: "resetPressAndHoldInterval" + notify: "pressAndHoldIntervalChanged" + index: 14 + isFinal: true + } + Signal { name: "hoveredChanged" } + Signal { name: "pressedChanged" } + Signal { name: "enabledChanged" } + Signal { name: "scrollGestureEnabledChanged"; revision: 517 } + Signal { name: "pressedButtonsChanged" } + Signal { name: "acceptedButtonsChanged" } + Signal { name: "hoverEnabledChanged" } + Signal { name: "cursorShapeChanged" } + Signal { + name: "positionChanged" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "mouseXChanged" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "mouseYChanged" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { name: "preventStealingChanged" } + Signal { name: "propagateComposedEventsChanged" } + Signal { + name: "pressed" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "pressAndHold" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "released" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "clicked" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "doubleClicked" + Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } + } + Signal { + name: "wheel" + Parameter { name: "wheel"; type: "QQuickWheelEvent"; isPointer: true } + } + Signal { name: "entered" } + Signal { name: "exited" } + Signal { name: "canceled" } + Signal { name: "containsPressChanged"; revision: 516 } + Signal { name: "pressAndHoldIntervalChanged"; revision: 521 } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickMouseEvent" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "x" + type: "double" + read: "x" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "y" + type: "double" + read: "y" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "button" + type: "int" + read: "button" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buttons" + type: "int" + read: "buttons" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "modifiers" + type: "int" + read: "modifiers" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "source" + revision: 519 + type: "int" + read: "source" + index: 5 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "wasHeld" + type: "bool" + read: "wasHeld" + index: 6 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "isClick" + type: "bool" + read: "isClick" + index: 7 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 8 + isFinal: true + } + Property { + name: "flags" + revision: 523 + type: "int" + read: "flags" + index: 9 + isReadonly: true + isFinal: true + isConstant: true + } + } + Component { + file: "private/qquickmultipointhandler_p.h" + name: "QQuickMultiPointHandler" + accessSemantics: "reference" + prototype: "QQuickPointerDeviceHandler" + Property { + name: "minimumPointCount" + type: "int" + read: "minimumPointCount" + write: "setMinimumPointCount" + notify: "minimumPointCountChanged" + index: 0 + isFinal: true + } + Property { + name: "maximumPointCount" + type: "int" + read: "maximumPointCount" + write: "setMaximumPointCount" + notify: "maximumPointCountChanged" + index: 1 + isFinal: true + } + Property { + name: "centroid" + type: "QQuickHandlerPoint" + read: "centroid" + notify: "centroidChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "minimumPointCountChanged" } + Signal { name: "maximumPointCountChanged" } + Signal { name: "centroidChanged" } + } + Component { + file: "private/qquickmultipointtoucharea_p.h" + name: "QQuickMultiPointTouchArea" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/MultiPointTouchArea 2.0", + "QtQuick/MultiPointTouchArea 2.1", + "QtQuick/MultiPointTouchArea 2.4", + "QtQuick/MultiPointTouchArea 2.7", + "QtQuick/MultiPointTouchArea 2.11", + "QtQuick/MultiPointTouchArea 6.0", + "QtQuick/MultiPointTouchArea 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { + name: "touchPoints" + type: "QQuickTouchPoint" + isList: true + read: "touchPoints" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "minimumTouchPoints" + type: "int" + read: "minimumTouchPoints" + write: "setMinimumTouchPoints" + notify: "minimumTouchPointsChanged" + index: 1 + isFinal: true + } + Property { + name: "maximumTouchPoints" + type: "int" + read: "maximumTouchPoints" + write: "setMaximumTouchPoints" + notify: "maximumTouchPointsChanged" + index: 2 + isFinal: true + } + Property { + name: "mouseEnabled" + type: "bool" + read: "mouseEnabled" + write: "setMouseEnabled" + notify: "mouseEnabledChanged" + index: 3 + isFinal: true + } + Signal { + name: "pressed" + Parameter { name: "touchPoints"; type: "QObjectList" } + } + Signal { + name: "updated" + Parameter { name: "touchPoints"; type: "QObjectList" } + } + Signal { + name: "released" + Parameter { name: "touchPoints"; type: "QObjectList" } + } + Signal { + name: "canceled" + Parameter { name: "touchPoints"; type: "QObjectList" } + } + Signal { + name: "gestureStarted" + Parameter { name: "gesture"; type: "QQuickGrabGestureEvent"; isPointer: true } + } + Signal { + name: "touchUpdated" + Parameter { name: "touchPoints"; type: "QObjectList" } + } + Signal { name: "minimumTouchPointsChanged" } + Signal { name: "maximumTouchPointsChanged" } + Signal { name: "mouseEnabledChanged" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickNumberAnimation" + accessSemantics: "reference" + prototype: "QQuickPropertyAnimation" + exports: [ + "QtQuick/NumberAnimation 2.0", + "QtQuick/NumberAnimation 2.12", + "QtQuick/NumberAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Property { + name: "from" + type: "double" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 0 + isFinal: true + } + Property { + name: "to" + type: "double" + read: "to" + write: "setTo" + notify: "toChanged" + index: 1 + isFinal: true + } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickOpacityAnimator" + accessSemantics: "reference" + prototype: "QQuickAnimator" + exports: [ + "QtQuick/OpacityAnimator 2.2", + "QtQuick/OpacityAnimator 2.12", + "QtQuick/OpacityAnimator 6.0" + ] + exportMetaObjectRevisions: [514, 524, 1536] + } + Component { + file: "qquickpainteditem.h" + name: "QQuickPaintedItem" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/PaintedItem 2.0", + "QtQuick/PaintedItem 2.1", + "QtQuick/PaintedItem 2.4", + "QtQuick/PaintedItem 2.7", + "QtQuick/PaintedItem 2.11", + "QtQuick/PaintedItem 6.0", + "QtQuick/PaintedItem 6.3" + ] + isCreatable: false + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Enum { + name: "RenderTarget" + values: [ + "Image", + "FramebufferObject", + "InvertedYFramebufferObject" + ] + } + Enum { + name: "PerformanceHints" + alias: "PerformanceHint" + isFlag: true + values: ["FastFBOResizing"] + } + Property { + name: "contentsSize" + type: "QSize" + read: "contentsSize" + write: "setContentsSize" + notify: "contentsSizeChanged" + index: 0 + isFinal: true + } + Property { + name: "fillColor" + type: "QColor" + read: "fillColor" + write: "setFillColor" + notify: "fillColorChanged" + index: 1 + } + Property { + name: "contentsScale" + type: "double" + read: "contentsScale" + write: "setContentsScale" + notify: "contentsScaleChanged" + index: 2 + isFinal: true + } + Property { + name: "renderTarget" + type: "RenderTarget" + read: "renderTarget" + write: "setRenderTarget" + notify: "renderTargetChanged" + index: 3 + isFinal: true + } + Property { + name: "textureSize" + type: "QSize" + read: "textureSize" + write: "setTextureSize" + notify: "textureSizeChanged" + index: 4 + isFinal: true + } + Signal { name: "fillColorChanged" } + Signal { name: "contentsSizeChanged" } + Signal { name: "contentsScaleChanged" } + Signal { name: "renderTargetChanged" } + Signal { name: "textureSizeChanged" } + Method { name: "invalidateSceneGraph" } + } + Component { + file: "private/qquickpalette_p.h" + name: "QQuickPalette" + accessSemantics: "reference" + prototype: "QQuickColorGroup" + exports: [ + "QtQuick/Palette 6.0", + "QtQuick/Palette 6.2", + "QtQuick/Palette 6.6" + ] + exportMetaObjectRevisions: [1536, 1538, 1542] + Property { + name: "active" + type: "QQuickColorGroup" + isPointer: true + read: "active" + write: "setActive" + notify: "activeChanged" + index: 0 + isFinal: true + } + Property { + name: "inactive" + type: "QQuickColorGroup" + isPointer: true + read: "inactive" + write: "setInactive" + notify: "inactiveChanged" + index: 1 + isFinal: true + } + Property { + name: "disabled" + type: "QQuickColorGroup" + isPointer: true + read: "disabled" + write: "setDisabled" + notify: "disabledChanged" + index: 2 + isFinal: true + } + Signal { name: "activeChanged" } + Signal { name: "inactiveChanged" } + Signal { name: "disabledChanged" } + Method { + name: "setActive" + Parameter { name: "active"; type: "QQuickColorGroup"; isPointer: true } + } + Method { + name: "setInactive" + Parameter { name: "inactive"; type: "QQuickColorGroup"; isPointer: true } + } + Method { + name: "setDisabled" + Parameter { name: "disabled"; type: "QQuickColorGroup"; isPointer: true } + } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickParallelAnimation" + accessSemantics: "reference" + defaultProperty: "animations" + prototype: "QQuickAnimationGroup" + exports: [ + "QtQuick/ParallelAnimation 2.0", + "QtQuick/ParallelAnimation 2.12", + "QtQuick/ParallelAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + } + Component { + file: "private/qquickitemanimation_p.h" + name: "QQuickParentAnimation" + accessSemantics: "reference" + defaultProperty: "animations" + prototype: "QQuickAnimationGroup" + exports: [ + "QtQuick/ParentAnimation 2.0", + "QtQuick/ParentAnimation 2.12", + "QtQuick/ParentAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Property { + name: "target" + type: "QQuickItem" + isPointer: true + read: "target" + write: "setTargetObject" + notify: "targetChanged" + index: 0 + isFinal: true + } + Property { + name: "newParent" + type: "QQuickItem" + isPointer: true + read: "newParent" + write: "setNewParent" + notify: "newParentChanged" + index: 1 + isFinal: true + } + Property { + name: "via" + type: "QQuickItem" + isPointer: true + read: "via" + write: "setVia" + notify: "viaChanged" + index: 2 + isFinal: true + } + Signal { name: "targetChanged" } + Signal { name: "newParentChanged" } + Signal { name: "viaChanged" } + } + Component { + file: "private/qquickstateoperations_p.h" + name: "QQuickParentChange" + accessSemantics: "reference" + parentProperty: "parent" + prototype: "QQuickStateOperation" + exports: ["QtQuick/ParentChange 2.0", "QtQuick/ParentChange 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "target" + type: "QQuickItem" + isPointer: true + read: "object" + write: "setObject" + index: 0 + isFinal: true + } + Property { + name: "parent" + type: "QQuickItem" + isPointer: true + read: "parent" + write: "setParent" + index: 1 + isFinal: true + } + Property { name: "x"; type: "QQmlScriptString"; read: "x"; write: "setX"; index: 2; isFinal: true } + Property { name: "y"; type: "QQmlScriptString"; read: "y"; write: "setY"; index: 3; isFinal: true } + Property { + name: "width" + type: "QQmlScriptString" + read: "width" + write: "setWidth" + index: 4 + isFinal: true + } + Property { + name: "height" + type: "QQmlScriptString" + read: "height" + write: "setHeight" + index: 5 + isFinal: true + } + Property { + name: "scale" + type: "QQmlScriptString" + read: "scale" + write: "setScale" + index: 6 + isFinal: true + } + Property { + name: "rotation" + type: "QQmlScriptString" + read: "rotation" + write: "setRotation" + index: 7 + isFinal: true + } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPath" + accessSemantics: "reference" + defaultProperty: "pathElements" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQuick/Path 2.0", + "QtQuick/Path 2.14", + "QtQuick/Path 6.0", + "QtQuick/Path 6.6" + ] + exportMetaObjectRevisions: [512, 526, 1536, 1542] + Property { + name: "pathElements" + type: "QQuickPathElement" + isList: true + read: "pathElements" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "startX" + type: "double" + read: "startX" + write: "setStartX" + notify: "startXChanged" + index: 1 + isFinal: true + } + Property { + name: "startY" + type: "double" + read: "startY" + write: "setStartY" + notify: "startYChanged" + index: 2 + isFinal: true + } + Property { + name: "closed" + type: "bool" + read: "isClosed" + notify: "changed" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "simplify" + revision: 1542 + type: "bool" + read: "simplify" + write: "setSimplify" + notify: "simplifyChanged" + index: 4 + isFinal: true + } + Property { + name: "scale" + revision: 526 + type: "QSizeF" + read: "scale" + write: "setScale" + notify: "scaleChanged" + index: 5 + } + Signal { name: "changed" } + Signal { name: "startXChanged" } + Signal { name: "startYChanged" } + Signal { name: "simplifyChanged"; revision: 1542 } + Signal { name: "scaleChanged"; revision: 526 } + Method { name: "processPath" } + Method { + name: "pointAtPercent" + revision: 526 + type: "QPointF" + Parameter { name: "t"; type: "double" } + } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathAngleArc" + accessSemantics: "reference" + prototype: "QQuickCurve" + exports: ["QtQuick/PathAngleArc 2.11", "QtQuick/PathAngleArc 6.0"] + exportMetaObjectRevisions: [523, 1536] + Property { + name: "centerX" + type: "double" + read: "centerX" + write: "setCenterX" + notify: "centerXChanged" + index: 0 + isFinal: true + } + Property { + name: "centerY" + type: "double" + read: "centerY" + write: "setCenterY" + notify: "centerYChanged" + index: 1 + isFinal: true + } + Property { + name: "radiusX" + type: "double" + read: "radiusX" + write: "setRadiusX" + notify: "radiusXChanged" + index: 2 + isFinal: true + } + Property { + name: "radiusY" + type: "double" + read: "radiusY" + write: "setRadiusY" + notify: "radiusYChanged" + index: 3 + isFinal: true + } + Property { + name: "startAngle" + type: "double" + read: "startAngle" + write: "setStartAngle" + notify: "startAngleChanged" + index: 4 + isFinal: true + } + Property { + name: "sweepAngle" + type: "double" + read: "sweepAngle" + write: "setSweepAngle" + notify: "sweepAngleChanged" + index: 5 + isFinal: true + } + Property { + name: "moveToStart" + type: "bool" + read: "moveToStart" + write: "setMoveToStart" + notify: "moveToStartChanged" + index: 6 + isFinal: true + } + Signal { name: "centerXChanged" } + Signal { name: "centerYChanged" } + Signal { name: "radiusXChanged" } + Signal { name: "radiusYChanged" } + Signal { name: "startAngleChanged" } + Signal { name: "sweepAngleChanged" } + Signal { name: "moveToStartChanged" } + } + Component { + file: "private/qquickitemanimation_p.h" + name: "QQuickPathAnimation" + accessSemantics: "reference" + prototype: "QQuickAbstractAnimation" + exports: [ + "QtQuick/PathAnimation 2.0", + "QtQuick/PathAnimation 2.12", + "QtQuick/PathAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Enum { + name: "Orientation" + values: [ + "Fixed", + "RightFirst", + "LeftFirst", + "BottomFirst", + "TopFirst" + ] + } + Property { + name: "duration" + type: "int" + read: "duration" + write: "setDuration" + notify: "durationChanged" + index: 0 + isFinal: true + } + Property { + name: "easing" + type: "QEasingCurve" + read: "easing" + write: "setEasing" + notify: "easingChanged" + index: 1 + isFinal: true + } + Property { + name: "path" + type: "QQuickPath" + isPointer: true + read: "path" + write: "setPath" + notify: "pathChanged" + index: 2 + isFinal: true + } + Property { + name: "target" + type: "QQuickItem" + isPointer: true + read: "target" + write: "setTargetObject" + notify: "targetChanged" + index: 3 + isFinal: true + } + Property { + name: "orientation" + type: "Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 4 + isFinal: true + } + Property { + name: "anchorPoint" + type: "QPointF" + read: "anchorPoint" + write: "setAnchorPoint" + notify: "anchorPointChanged" + index: 5 + isFinal: true + } + Property { + name: "orientationEntryDuration" + type: "int" + read: "orientationEntryDuration" + write: "setOrientationEntryDuration" + notify: "orientationEntryDurationChanged" + index: 6 + isFinal: true + } + Property { + name: "orientationExitDuration" + type: "int" + read: "orientationExitDuration" + write: "setOrientationExitDuration" + notify: "orientationExitDurationChanged" + index: 7 + isFinal: true + } + Property { + name: "endRotation" + type: "double" + read: "endRotation" + write: "setEndRotation" + notify: "endRotationChanged" + index: 8 + isFinal: true + } + Signal { + name: "durationChanged" + Parameter { type: "int" } + } + Signal { + name: "easingChanged" + Parameter { type: "QEasingCurve" } + } + Signal { name: "pathChanged" } + Signal { name: "targetChanged" } + Signal { + name: "orientationChanged" + Parameter { type: "Orientation" } + } + Signal { + name: "anchorPointChanged" + Parameter { type: "QPointF" } + } + Signal { + name: "orientationEntryDurationChanged" + Parameter { type: "double" } + } + Signal { + name: "orientationExitDurationChanged" + Parameter { type: "double" } + } + Signal { + name: "endRotationChanged" + Parameter { type: "double" } + } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathArc" + accessSemantics: "reference" + prototype: "QQuickCurve" + exports: [ + "QtQuick/PathArc 2.0", + "QtQuick/PathArc 2.9", + "QtQuick/PathArc 6.0" + ] + exportMetaObjectRevisions: [512, 521, 1536] + Enum { + name: "ArcDirection" + values: ["Clockwise", "Counterclockwise"] + } + Property { + name: "radiusX" + type: "double" + read: "radiusX" + write: "setRadiusX" + notify: "radiusXChanged" + index: 0 + isFinal: true + } + Property { + name: "radiusY" + type: "double" + read: "radiusY" + write: "setRadiusY" + notify: "radiusYChanged" + index: 1 + isFinal: true + } + Property { + name: "useLargeArc" + type: "bool" + read: "useLargeArc" + write: "setUseLargeArc" + notify: "useLargeArcChanged" + index: 2 + isFinal: true + } + Property { + name: "direction" + type: "ArcDirection" + read: "direction" + write: "setDirection" + notify: "directionChanged" + index: 3 + isFinal: true + } + Property { + name: "xAxisRotation" + revision: 521 + type: "double" + read: "xAxisRotation" + write: "setXAxisRotation" + notify: "xAxisRotationChanged" + index: 4 + isFinal: true + } + Signal { name: "radiusXChanged" } + Signal { name: "radiusYChanged" } + Signal { name: "useLargeArcChanged" } + Signal { name: "directionChanged" } + Signal { name: "xAxisRotationChanged"; revision: 521 } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathAttribute" + accessSemantics: "reference" + prototype: "QQuickPathElement" + exports: ["QtQuick/PathAttribute 2.0", "QtQuick/PathAttribute 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "name" + type: "QString" + read: "name" + write: "setName" + notify: "nameChanged" + index: 0 + isFinal: true + } + Property { + name: "value" + type: "double" + read: "value" + write: "setValue" + notify: "valueChanged" + index: 1 + isFinal: true + } + Signal { name: "nameChanged" } + Signal { name: "valueChanged" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathCatmullRomCurve" + accessSemantics: "reference" + prototype: "QQuickCurve" + exports: ["QtQuick/PathCurve 2.0", "QtQuick/PathCurve 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathCubic" + accessSemantics: "reference" + prototype: "QQuickCurve" + exports: ["QtQuick/PathCubic 2.0", "QtQuick/PathCubic 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "control1X" + type: "double" + read: "control1X" + write: "setControl1X" + notify: "control1XChanged" + index: 0 + isFinal: true + } + Property { + name: "control1Y" + type: "double" + read: "control1Y" + write: "setControl1Y" + notify: "control1YChanged" + index: 1 + isFinal: true + } + Property { + name: "control2X" + type: "double" + read: "control2X" + write: "setControl2X" + notify: "control2XChanged" + index: 2 + isFinal: true + } + Property { + name: "control2Y" + type: "double" + read: "control2Y" + write: "setControl2Y" + notify: "control2YChanged" + index: 3 + isFinal: true + } + Property { + name: "relativeControl1X" + type: "double" + read: "relativeControl1X" + write: "setRelativeControl1X" + notify: "relativeControl1XChanged" + index: 4 + isFinal: true + } + Property { + name: "relativeControl1Y" + type: "double" + read: "relativeControl1Y" + write: "setRelativeControl1Y" + notify: "relativeControl1YChanged" + index: 5 + isFinal: true + } + Property { + name: "relativeControl2X" + type: "double" + read: "relativeControl2X" + write: "setRelativeControl2X" + notify: "relativeControl2XChanged" + index: 6 + isFinal: true + } + Property { + name: "relativeControl2Y" + type: "double" + read: "relativeControl2Y" + write: "setRelativeControl2Y" + notify: "relativeControl2YChanged" + index: 7 + isFinal: true + } + Signal { name: "control1XChanged" } + Signal { name: "control1YChanged" } + Signal { name: "control2XChanged" } + Signal { name: "control2YChanged" } + Signal { name: "relativeControl1XChanged" } + Signal { name: "relativeControl1YChanged" } + Signal { name: "relativeControl2XChanged" } + Signal { name: "relativeControl2YChanged" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathElement" + accessSemantics: "reference" + prototype: "QObject" + Signal { name: "changed" } + } + Component { + file: "private/qquickpathinterpolator_p.h" + name: "QQuickPathInterpolator" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick/PathInterpolator 2.0", + "QtQuick/PathInterpolator 6.0" + ] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "path" + type: "QQuickPath" + isPointer: true + read: "path" + write: "setPath" + notify: "pathChanged" + index: 0 + isFinal: true + } + Property { + name: "progress" + type: "double" + read: "progress" + write: "setProgress" + notify: "progressChanged" + index: 1 + isFinal: true + } + Property { + name: "x" + type: "double" + read: "x" + notify: "xChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "y" + type: "double" + read: "y" + notify: "yChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "angle" + type: "double" + read: "angle" + notify: "angleChanged" + index: 4 + isReadonly: true + isFinal: true + } + Signal { name: "pathChanged" } + Signal { name: "progressChanged" } + Signal { name: "xChanged" } + Signal { name: "yChanged" } + Signal { name: "angleChanged" } + Method { name: "_q_pathUpdated" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathLine" + accessSemantics: "reference" + prototype: "QQuickCurve" + exports: ["QtQuick/PathLine 2.0", "QtQuick/PathLine 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathMove" + accessSemantics: "reference" + prototype: "QQuickCurve" + exports: ["QtQuick/PathMove 2.9", "QtQuick/PathMove 6.0"] + exportMetaObjectRevisions: [521, 1536] + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathMultiline" + accessSemantics: "reference" + prototype: "QQuickCurve" + exports: ["QtQuick/PathMultiline 2.14", "QtQuick/PathMultiline 6.0"] + exportMetaObjectRevisions: [526, 1536] + Property { + name: "start" + type: "QPointF" + read: "start" + notify: "startChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "paths" + type: "QVariant" + read: "paths" + write: "setPaths" + notify: "pathsChanged" + index: 1 + isFinal: true + } + Signal { name: "pathsChanged" } + Signal { name: "startChanged" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathPercent" + accessSemantics: "reference" + prototype: "QQuickPathElement" + exports: ["QtQuick/PathPercent 2.0", "QtQuick/PathPercent 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "value" + type: "double" + read: "value" + write: "setValue" + notify: "valueChanged" + index: 0 + isFinal: true + } + Signal { name: "valueChanged" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathPolyline" + accessSemantics: "reference" + prototype: "QQuickCurve" + exports: ["QtQuick/PathPolyline 2.14", "QtQuick/PathPolyline 6.0"] + exportMetaObjectRevisions: [526, 1536] + Property { + name: "start" + type: "QPointF" + read: "start" + notify: "startChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "path" + type: "QVariant" + read: "path" + write: "setPath" + notify: "pathChanged" + index: 1 + isFinal: true + } + Signal { name: "pathChanged" } + Signal { name: "startChanged" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathQuad" + accessSemantics: "reference" + prototype: "QQuickCurve" + exports: ["QtQuick/PathQuad 2.0", "QtQuick/PathQuad 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "controlX" + type: "double" + read: "controlX" + write: "setControlX" + notify: "controlXChanged" + index: 0 + isFinal: true + } + Property { + name: "controlY" + type: "double" + read: "controlY" + write: "setControlY" + notify: "controlYChanged" + index: 1 + isFinal: true + } + Property { + name: "relativeControlX" + type: "double" + read: "relativeControlX" + write: "setRelativeControlX" + notify: "relativeControlXChanged" + index: 2 + isFinal: true + } + Property { + name: "relativeControlY" + type: "double" + read: "relativeControlY" + write: "setRelativeControlY" + notify: "relativeControlYChanged" + index: 3 + isFinal: true + } + Signal { name: "controlXChanged" } + Signal { name: "controlYChanged" } + Signal { name: "relativeControlXChanged" } + Signal { name: "relativeControlYChanged" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathSvg" + accessSemantics: "reference" + prototype: "QQuickCurve" + exports: ["QtQuick/PathSvg 2.0", "QtQuick/PathSvg 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "path" + type: "QString" + read: "path" + write: "setPath" + notify: "pathChanged" + index: 0 + isFinal: true + } + Signal { name: "pathChanged" } + } + Component { + file: "private/qquickpath_p.h" + name: "QQuickPathText" + accessSemantics: "reference" + prototype: "QQuickPathElement" + exports: ["QtQuick/PathText 2.15", "QtQuick/PathText 6.0"] + exportMetaObjectRevisions: [527, 1536] + Property { + name: "x" + type: "double" + read: "x" + write: "setX" + notify: "xChanged" + index: 0 + isFinal: true + } + Property { + name: "y" + type: "double" + read: "y" + write: "setY" + notify: "yChanged" + index: 1 + isFinal: true + } + Property { + name: "width" + type: "double" + read: "width" + notify: "changed" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "height" + type: "double" + read: "height" + notify: "changed" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + notify: "textChanged" + index: 4 + isFinal: true + } + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + notify: "fontChanged" + index: 5 + isFinal: true + } + Signal { name: "xChanged" } + Signal { name: "yChanged" } + Signal { name: "textChanged" } + Signal { name: "fontChanged" } + Method { name: "invalidate" } + } + Component { + file: "private/qquickpathview_p.h" + name: "QQuickPathView" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/PathView 2.0", + "QtQuick/PathView 2.1", + "QtQuick/PathView 2.4", + "QtQuick/PathView 2.7", + "QtQuick/PathView 2.11", + "QtQuick/PathView 2.13", + "QtQuick/PathView 6.0", + "QtQuick/PathView 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 525, 1536, 1539] + attachedType: "QQuickPathViewAttached" + Enum { + name: "HighlightRangeMode" + values: ["NoHighlightRange", "ApplyRange", "StrictlyEnforceRange"] + } + Enum { + name: "SnapMode" + values: ["NoSnap", "SnapToItem", "SnapOneItem"] + } + Enum { + name: "MovementDirection" + values: ["Shortest", "Negative", "Positive"] + } + Enum { + name: "PositionMode" + values: ["Beginning", "Center", "End", "Contain", "SnapPosition"] + } + Property { + name: "model" + type: "QVariant" + read: "model" + write: "setModel" + notify: "modelChanged" + index: 0 + isFinal: true + } + Property { + name: "path" + type: "QQuickPath" + isPointer: true + read: "path" + write: "setPath" + notify: "pathChanged" + index: 1 + isFinal: true + } + Property { + name: "currentIndex" + type: "int" + read: "currentIndex" + write: "setCurrentIndex" + notify: "currentIndexChanged" + index: 2 + isFinal: true + } + Property { + name: "currentItem" + type: "QQuickItem" + isPointer: true + read: "currentItem" + notify: "currentItemChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "offset" + type: "double" + read: "offset" + write: "setOffset" + notify: "offsetChanged" + index: 4 + isFinal: true + } + Property { + name: "highlight" + type: "QQmlComponent" + isPointer: true + read: "highlight" + write: "setHighlight" + notify: "highlightChanged" + index: 5 + isFinal: true + } + Property { + name: "highlightItem" + type: "QQuickItem" + isPointer: true + read: "highlightItem" + notify: "highlightItemChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "preferredHighlightBegin" + type: "double" + read: "preferredHighlightBegin" + write: "setPreferredHighlightBegin" + notify: "preferredHighlightBeginChanged" + index: 7 + isFinal: true + } + Property { + name: "preferredHighlightEnd" + type: "double" + read: "preferredHighlightEnd" + write: "setPreferredHighlightEnd" + notify: "preferredHighlightEndChanged" + index: 8 + isFinal: true + } + Property { + name: "highlightRangeMode" + type: "HighlightRangeMode" + read: "highlightRangeMode" + write: "setHighlightRangeMode" + notify: "highlightRangeModeChanged" + index: 9 + isFinal: true + } + Property { + name: "highlightMoveDuration" + type: "int" + read: "highlightMoveDuration" + write: "setHighlightMoveDuration" + notify: "highlightMoveDurationChanged" + index: 10 + isFinal: true + } + Property { + name: "dragMargin" + type: "double" + read: "dragMargin" + write: "setDragMargin" + notify: "dragMarginChanged" + index: 11 + isFinal: true + } + Property { + name: "maximumFlickVelocity" + type: "double" + read: "maximumFlickVelocity" + write: "setMaximumFlickVelocity" + notify: "maximumFlickVelocityChanged" + index: 12 + isFinal: true + } + Property { + name: "flickDeceleration" + type: "double" + read: "flickDeceleration" + write: "setFlickDeceleration" + notify: "flickDecelerationChanged" + index: 13 + isFinal: true + } + Property { + name: "interactive" + type: "bool" + read: "isInteractive" + write: "setInteractive" + notify: "interactiveChanged" + index: 14 + isFinal: true + } + Property { + name: "moving" + type: "bool" + read: "isMoving" + notify: "movingChanged" + index: 15 + isReadonly: true + isFinal: true + } + Property { + name: "flicking" + type: "bool" + read: "isFlicking" + notify: "flickingChanged" + index: 16 + isReadonly: true + isFinal: true + } + Property { + name: "dragging" + type: "bool" + read: "isDragging" + notify: "draggingChanged" + index: 17 + isReadonly: true + isFinal: true + } + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 18 + isReadonly: true + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 19 + isFinal: true + } + Property { + name: "pathItemCount" + type: "int" + read: "pathItemCount" + write: "setPathItemCount" + reset: "resetPathItemCount" + notify: "pathItemCountChanged" + index: 20 + isFinal: true + } + Property { + name: "snapMode" + type: "SnapMode" + read: "snapMode" + write: "setSnapMode" + notify: "snapModeChanged" + index: 21 + isFinal: true + } + Property { + name: "movementDirection" + revision: 519 + type: "MovementDirection" + read: "movementDirection" + write: "setMovementDirection" + notify: "movementDirectionChanged" + index: 22 + isFinal: true + } + Property { + name: "cacheItemCount" + type: "int" + read: "cacheItemCount" + write: "setCacheItemCount" + notify: "cacheItemCountChanged" + index: 23 + isFinal: true + } + Signal { name: "currentIndexChanged" } + Signal { name: "currentItemChanged" } + Signal { name: "offsetChanged" } + Signal { name: "modelChanged" } + Signal { name: "countChanged" } + Signal { name: "pathChanged" } + Signal { name: "preferredHighlightBeginChanged" } + Signal { name: "preferredHighlightEndChanged" } + Signal { name: "highlightRangeModeChanged" } + Signal { name: "dragMarginChanged" } + Signal { name: "snapPositionChanged" } + Signal { name: "delegateChanged" } + Signal { name: "pathItemCountChanged" } + Signal { name: "maximumFlickVelocityChanged" } + Signal { name: "flickDecelerationChanged" } + Signal { name: "interactiveChanged" } + Signal { name: "movingChanged" } + Signal { name: "flickingChanged" } + Signal { name: "draggingChanged" } + Signal { name: "highlightChanged" } + Signal { name: "highlightItemChanged" } + Signal { name: "highlightMoveDurationChanged" } + Signal { name: "movementStarted" } + Signal { name: "movementEnded" } + Signal { name: "movementDirectionChanged"; revision: 519 } + Signal { name: "flickStarted" } + Signal { name: "flickEnded" } + Signal { name: "dragStarted" } + Signal { name: "dragEnded" } + Signal { name: "snapModeChanged" } + Signal { name: "cacheItemCountChanged" } + Method { name: "incrementCurrentIndex" } + Method { name: "decrementCurrentIndex" } + Method { name: "refill" } + Method { name: "ticked" } + Method { name: "movementEnding" } + Method { + name: "modelUpdated" + Parameter { name: "changeSet"; type: "QQmlChangeSet" } + Parameter { name: "reset"; type: "bool" } + } + Method { + name: "createdItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "initItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "destroyingItem" + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { name: "pathUpdated" } + Method { + name: "positionViewAtIndex" + Parameter { name: "index"; type: "int" } + Parameter { name: "mode"; type: "int" } + } + Method { + name: "indexAt" + type: "int" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "itemAt" + type: "QQuickItem" + isPointer: true + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "itemAtIndex" + revision: 525 + type: "QQuickItem" + isPointer: true + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qquickpathview_p.h" + name: "QQuickPathViewAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "view" + type: "QQuickPathView" + isPointer: true + read: "view" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "isCurrentItem" + type: "bool" + read: "isCurrentItem" + notify: "currentItemChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "onPath" + type: "bool" + read: "isOnPath" + notify: "pathChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "currentItemChanged" } + Signal { name: "pathChanged" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickPauseAnimation" + accessSemantics: "reference" + prototype: "QQuickAbstractAnimation" + exports: [ + "QtQuick/PauseAnimation 2.0", + "QtQuick/PauseAnimation 2.12", + "QtQuick/PauseAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Property { + name: "duration" + type: "int" + read: "duration" + write: "setDuration" + notify: "durationChanged" + index: 0 + isFinal: true + } + Signal { + name: "durationChanged" + Parameter { type: "int" } + } + } + Component { + file: "private/qquickrectangle_p.h" + name: "QQuickPen" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "width" + type: "double" + read: "width" + write: "setWidth" + notify: "widthChanged" + index: 0 + isFinal: true + } + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 1 + isFinal: true + } + Property { + name: "pixelAligned" + type: "bool" + read: "pixelAligned" + write: "setPixelAligned" + notify: "pixelAlignedChanged" + index: 2 + isFinal: true + } + Signal { name: "widthChanged" } + Signal { name: "colorChanged" } + Signal { name: "pixelAlignedChanged" } + } + Component { + file: "private/qquickpincharea_p.h" + name: "QQuickPinch" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/Pinch 2.0", "QtQuick/Pinch 6.0"] + exportMetaObjectRevisions: [512, 1536] + Enum { + name: "Axis" + values: ["NoDrag", "XAxis", "YAxis", "XAndYAxis", "XandYAxis"] + } + Property { + name: "target" + type: "QQuickItem" + isPointer: true + read: "target" + write: "setTarget" + reset: "resetTarget" + notify: "targetChanged" + index: 0 + isFinal: true + } + Property { + name: "minimumScale" + type: "double" + read: "minimumScale" + write: "setMinimumScale" + notify: "minimumScaleChanged" + index: 1 + isFinal: true + } + Property { + name: "maximumScale" + type: "double" + read: "maximumScale" + write: "setMaximumScale" + notify: "maximumScaleChanged" + index: 2 + isFinal: true + } + Property { + name: "minimumRotation" + type: "double" + read: "minimumRotation" + write: "setMinimumRotation" + notify: "minimumRotationChanged" + index: 3 + isFinal: true + } + Property { + name: "maximumRotation" + type: "double" + read: "maximumRotation" + write: "setMaximumRotation" + notify: "maximumRotationChanged" + index: 4 + isFinal: true + } + Property { + name: "dragAxis" + type: "Axis" + read: "axis" + write: "setAxis" + notify: "dragAxisChanged" + index: 5 + isFinal: true + } + Property { + name: "minimumX" + type: "double" + read: "xmin" + write: "setXmin" + notify: "minimumXChanged" + index: 6 + isFinal: true + } + Property { + name: "maximumX" + type: "double" + read: "xmax" + write: "setXmax" + notify: "maximumXChanged" + index: 7 + isFinal: true + } + Property { + name: "minimumY" + type: "double" + read: "ymin" + write: "setYmin" + notify: "minimumYChanged" + index: 8 + isFinal: true + } + Property { + name: "maximumY" + type: "double" + read: "ymax" + write: "setYmax" + notify: "maximumYChanged" + index: 9 + isFinal: true + } + Property { + name: "active" + type: "bool" + read: "active" + notify: "activeChanged" + index: 10 + isReadonly: true + isFinal: true + } + Signal { name: "targetChanged" } + Signal { name: "minimumScaleChanged" } + Signal { name: "maximumScaleChanged" } + Signal { name: "minimumRotationChanged" } + Signal { name: "maximumRotationChanged" } + Signal { name: "dragAxisChanged" } + Signal { name: "minimumXChanged" } + Signal { name: "maximumXChanged" } + Signal { name: "minimumYChanged" } + Signal { name: "maximumYChanged" } + Signal { name: "activeChanged" } + } + Component { + file: "private/qquickpincharea_p.h" + name: "QQuickPinchArea" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/PinchArea 2.0", + "QtQuick/PinchArea 2.1", + "QtQuick/PinchArea 2.4", + "QtQuick/PinchArea 2.5", + "QtQuick/PinchArea 2.7", + "QtQuick/PinchArea 2.11", + "QtQuick/PinchArea 6.0", + "QtQuick/PinchArea 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 517, 519, 523, 1536, 1539] + Property { + name: "enabled" + type: "bool" + read: "isEnabled" + write: "setEnabled" + notify: "enabledChanged" + index: 0 + isFinal: true + } + Property { + name: "pinch" + type: "QQuickPinch" + isPointer: true + read: "pinch" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Signal { name: "enabledChanged" } + Signal { + name: "pinchStarted" + Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } + } + Signal { + name: "pinchUpdated" + Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } + } + Signal { + name: "pinchFinished" + Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } + } + Signal { + name: "smartZoom" + revision: 517 + Parameter { name: "pinch"; type: "QQuickPinchEvent"; isPointer: true } + } + } + Component { + file: "private/qquickpincharea_p.h" + name: "QQuickPinchEvent" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "center" + type: "QPointF" + read: "center" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "startCenter" + type: "QPointF" + read: "startCenter" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "previousCenter" + type: "QPointF" + read: "previousCenter" + index: 2 + isReadonly: true + isFinal: true + } + Property { name: "scale"; type: "double"; read: "scale"; index: 3; isReadonly: true; isFinal: true } + Property { + name: "previousScale" + type: "double" + read: "previousScale" + index: 4 + isReadonly: true + isFinal: true + } + Property { name: "angle"; type: "double"; read: "angle"; index: 5; isReadonly: true; isFinal: true } + Property { + name: "previousAngle" + type: "double" + read: "previousAngle" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "rotation" + type: "double" + read: "rotation" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "point1" + type: "QPointF" + read: "point1" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "startPoint1" + type: "QPointF" + read: "startPoint1" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "point2" + type: "QPointF" + read: "point2" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "startPoint2" + type: "QPointF" + read: "startPoint2" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "pointCount" + type: "int" + read: "pointCount" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "accepted" + type: "bool" + read: "accepted" + write: "setAccepted" + index: 13 + isFinal: true + } + } + Component { + file: "private/qquickpinchhandler_p.h" + name: "QQuickPinchHandler" + accessSemantics: "reference" + prototype: "QQuickMultiPointHandler" + exports: [ + "QtQuick/PinchHandler 2.12", + "QtQuick/PinchHandler 2.15", + "QtQuick/PinchHandler 6.0", + "QtQuick/PinchHandler 6.3", + "QtQuick/PinchHandler 6.5" + ] + exportMetaObjectRevisions: [524, 527, 1536, 1539, 1541] + Property { + name: "scaleAxis" + type: "QQuickDragAxis" + isPointer: true + read: "scaleAxis" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "minimumScale" + type: "double" + read: "minimumScale" + write: "setMinimumScale" + notify: "minimumScaleChanged" + index: 1 + isFinal: true + } + Property { + name: "maximumScale" + type: "double" + read: "maximumScale" + write: "setMaximumScale" + notify: "maximumScaleChanged" + index: 2 + isFinal: true + } + Property { + name: "scale" + type: "double" + read: "scale" + notify: "updated" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "activeScale" + type: "double" + read: "activeScale" + notify: "scaleChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "persistentScale" + type: "double" + read: "persistentScale" + write: "setPersistentScale" + notify: "scaleChanged" + index: 5 + isFinal: true + } + Property { + name: "rotationAxis" + type: "QQuickDragAxis" + isPointer: true + read: "rotationAxis" + index: 6 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "minimumRotation" + type: "double" + read: "minimumRotation" + write: "setMinimumRotation" + notify: "minimumRotationChanged" + index: 7 + isFinal: true + } + Property { + name: "maximumRotation" + type: "double" + read: "maximumRotation" + write: "setMaximumRotation" + notify: "maximumRotationChanged" + index: 8 + isFinal: true + } + Property { + name: "rotation" + type: "double" + read: "rotation" + notify: "updated" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "activeRotation" + type: "double" + read: "activeRotation" + notify: "rotationChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "persistentRotation" + type: "double" + read: "persistentRotation" + write: "setPersistentRotation" + notify: "rotationChanged" + index: 11 + isFinal: true + } + Property { + name: "xAxis" + type: "QQuickDragAxis" + isPointer: true + read: "xAxis" + index: 12 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "yAxis" + type: "QQuickDragAxis" + isPointer: true + read: "yAxis" + index: 13 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "translation" + type: "QVector2D" + read: "translation" + notify: "updated" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "activeTranslation" + revision: 1541 + type: "QPointF" + read: "activeTranslation" + notify: "translationChanged" + index: 15 + isReadonly: true + isFinal: true + } + Property { + name: "persistentTranslation" + revision: 1541 + type: "QPointF" + read: "persistentTranslation" + write: "setPersistentTranslation" + notify: "translationChanged" + index: 16 + isFinal: true + } + Signal { name: "minimumScaleChanged" } + Signal { name: "maximumScaleChanged" } + Signal { name: "minimumRotationChanged" } + Signal { name: "maximumRotationChanged" } + Signal { name: "updated" } + Signal { + name: "scaleChanged" + Parameter { name: "delta"; type: "double" } + } + Signal { + name: "rotationChanged" + Parameter { name: "delta"; type: "double" } + } + Signal { + name: "translationChanged" + Parameter { name: "delta"; type: "QVector2D" } + } + } + Component { + file: "private/qquickpointhandler_p.h" + name: "QQuickPointHandler" + accessSemantics: "reference" + prototype: "QQuickSinglePointHandler" + exports: [ + "QtQuick/PointHandler 2.12", + "QtQuick/PointHandler 2.15", + "QtQuick/PointHandler 6.0", + "QtQuick/PointHandler 6.3" + ] + exportMetaObjectRevisions: [524, 527, 1536, 1539] + Property { + name: "translation" + type: "QVector2D" + read: "translation" + notify: "translationChanged" + index: 0 + isReadonly: true + isFinal: true + } + Signal { name: "translationChanged" } + } + Component { + file: "private/qquickpointerdevicehandler_p.h" + name: "QQuickPointerDeviceHandler" + accessSemantics: "reference" + parentProperty: "parent" + prototype: "QQuickPointerHandler" + Property { + name: "acceptedDevices" + type: "QInputDevice::DeviceTypes" + read: "acceptedDevices" + write: "setAcceptedDevices" + notify: "acceptedDevicesChanged" + index: 0 + isFinal: true + } + Property { + name: "acceptedPointerTypes" + type: "QPointingDevice::PointerTypes" + read: "acceptedPointerTypes" + write: "setAcceptedPointerTypes" + notify: "acceptedPointerTypesChanged" + index: 1 + isFinal: true + } + Property { + name: "acceptedButtons" + type: "Qt::MouseButtons" + read: "acceptedButtons" + write: "setAcceptedButtons" + notify: "acceptedButtonsChanged" + index: 2 + isFinal: true + } + Property { + name: "acceptedModifiers" + type: "Qt::KeyboardModifiers" + read: "acceptedModifiers" + write: "setAcceptedModifiers" + notify: "acceptedModifiersChanged" + index: 3 + isFinal: true + } + Signal { name: "acceptedDevicesChanged" } + Signal { name: "acceptedPointerTypesChanged" } + Signal { name: "acceptedButtonsChanged" } + Signal { name: "acceptedModifiersChanged" } + Method { + name: "setAcceptedDevices" + Parameter { name: "acceptedDevices"; type: "QInputDevice::DeviceTypes" } + } + Method { + name: "setAcceptedPointerTypes" + Parameter { name: "acceptedPointerTypes"; type: "QPointingDevice::PointerTypes" } + } + Method { + name: "setAcceptedButtons" + Parameter { name: "buttons"; type: "Qt::MouseButtons" } + } + Method { + name: "setAcceptedModifiers" + Parameter { name: "acceptedModifiers"; type: "Qt::KeyboardModifiers" } + } + } + Component { + file: "private/qquickpointerhandler_p.h" + name: "QQuickPointerHandler" + accessSemantics: "reference" + parentProperty: "parent" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQuick/PointerHandler 2.12", + "QtQuick/PointerHandler 2.15", + "QtQuick/PointerHandler 6.0", + "QtQuick/PointerHandler 6.3" + ] + isCreatable: false + exportMetaObjectRevisions: [524, 527, 1536, 1539] + Enum { + name: "GrabPermissions" + alias: "GrabPermission" + isFlag: true + values: [ + "TakeOverForbidden", + "CanTakeOverFromHandlersOfSameType", + "CanTakeOverFromHandlersOfDifferentType", + "CanTakeOverFromItems", + "CanTakeOverFromAnything", + "ApprovesTakeOverByHandlersOfSameType", + "ApprovesTakeOverByHandlersOfDifferentType", + "ApprovesTakeOverByItems", + "ApprovesCancellation", + "ApprovesTakeOverByAnything" + ] + } + Property { + name: "enabled" + type: "bool" + read: "enabled" + write: "setEnabled" + notify: "enabledChanged" + index: 0 + isFinal: true + } + Property { + name: "active" + type: "bool" + read: "active" + notify: "activeChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "target" + type: "QQuickItem" + isPointer: true + read: "target" + write: "setTarget" + notify: "targetChanged" + index: 2 + isFinal: true + } + Property { + name: "parent" + type: "QQuickItem" + isPointer: true + read: "parentItem" + write: "setParentItem" + notify: "parentChanged" + index: 3 + isFinal: true + } + Property { + name: "grabPermissions" + type: "GrabPermissions" + read: "grabPermissions" + write: "setGrabPermissions" + notify: "grabPermissionChanged" + index: 4 + isFinal: true + } + Property { + name: "margin" + type: "double" + read: "margin" + write: "setMargin" + notify: "marginChanged" + index: 5 + isFinal: true + } + Property { + name: "dragThreshold" + revision: 527 + type: "int" + read: "dragThreshold" + write: "setDragThreshold" + reset: "resetDragThreshold" + notify: "dragThresholdChanged" + index: 6 + isFinal: true + } + Property { + name: "cursorShape" + revision: 527 + type: "Qt::CursorShape" + read: "cursorShape" + write: "setCursorShape" + reset: "resetCursorShape" + notify: "cursorShapeChanged" + index: 7 + isFinal: true + } + Signal { name: "enabledChanged" } + Signal { name: "activeChanged" } + Signal { name: "targetChanged" } + Signal { name: "marginChanged" } + Signal { name: "dragThresholdChanged"; revision: 527 } + Signal { + name: "grabChanged" + Parameter { name: "transition"; type: "QPointingDevice::GrabTransition" } + Parameter { name: "point"; type: "QEventPoint" } + } + Signal { name: "grabPermissionChanged" } + Signal { + name: "canceled" + Parameter { name: "point"; type: "QEventPoint" } + } + Signal { name: "cursorShapeChanged"; revision: 527 } + Signal { name: "parentChanged"; revision: 1539 } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickPositionerAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "index" + type: "int" + read: "index" + notify: "indexChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "isFirstItem" + type: "bool" + read: "isFirstItem" + notify: "isFirstItemChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "isLastItem" + type: "bool" + read: "isLastItem" + notify: "isLastItemChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "indexChanged" } + Signal { name: "isFirstItemChanged" } + Signal { name: "isLastItemChanged" } + } + Component { + file: "private/qquicktextedit_p.h" + name: "QQuickPre64TextEdit" + accessSemantics: "reference" + prototype: "QQuickTextEdit" + exports: [ + "QtQuick/TextEdit 2.0", + "QtQuick/TextEdit 2.1", + "QtQuick/TextEdit 2.2", + "QtQuick/TextEdit 2.3", + "QtQuick/TextEdit 2.4", + "QtQuick/TextEdit 2.6", + "QtQuick/TextEdit 2.7", + "QtQuick/TextEdit 2.10", + "QtQuick/TextEdit 2.11", + "QtQuick/TextEdit 6.0", + "QtQuick/TextEdit 6.2", + "QtQuick/TextEdit 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 518, + 519, + 522, + 523, + 1536, + 1538, + 1539 + ] + } + Component { + file: "private/qquicktextinput_p.h" + name: "QQuickPre64TextInput" + accessSemantics: "reference" + prototype: "QQuickTextInput" + exports: [ + "QtQuick/TextInput 2.0", + "QtQuick/TextInput 2.1", + "QtQuick/TextInput 2.2", + "QtQuick/TextInput 2.4", + "QtQuick/TextInput 2.6", + "QtQuick/TextInput 2.7", + "QtQuick/TextInput 2.9", + "QtQuick/TextInput 2.11", + "QtQuick/TextInput 6.0", + "QtQuick/TextInput 6.2", + "QtQuick/TextInput 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 516, + 518, + 519, + 521, + 523, + 1536, + 1538, + 1539 + ] + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickPropertyAction" + accessSemantics: "reference" + prototype: "QQuickAbstractAnimation" + exports: [ + "QtQuick/PropertyAction 2.0", + "QtQuick/PropertyAction 2.12", + "QtQuick/PropertyAction 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Property { + name: "target" + type: "QObject" + isPointer: true + read: "target" + write: "setTargetObject" + notify: "targetChanged" + index: 0 + isFinal: true + } + Property { + name: "property" + type: "QString" + read: "property" + write: "setProperty" + notify: "propertyChanged" + index: 1 + isFinal: true + } + Property { + name: "properties" + type: "QString" + read: "properties" + write: "setProperties" + notify: "propertiesChanged" + index: 2 + isFinal: true + } + Property { + name: "targets" + type: "QObject" + isList: true + read: "targets" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "exclude" + type: "QObject" + isList: true + read: "exclude" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "value" + type: "QVariant" + read: "value" + write: "setValue" + notify: "valueChanged" + index: 5 + isFinal: true + } + Signal { + name: "valueChanged" + Parameter { type: "QVariant" } + } + Signal { + name: "propertiesChanged" + Parameter { type: "QString" } + } + Signal { name: "targetChanged" } + Signal { name: "propertyChanged" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickPropertyAnimation" + accessSemantics: "reference" + prototype: "QQuickAbstractAnimation" + exports: [ + "QtQuick/PropertyAnimation 2.0", + "QtQuick/PropertyAnimation 2.12", + "QtQuick/PropertyAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Property { + name: "duration" + type: "int" + read: "duration" + write: "setDuration" + notify: "durationChanged" + index: 0 + isFinal: true + } + Property { + name: "from" + type: "QVariant" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 1 + } + Property { name: "to"; type: "QVariant"; read: "to"; write: "setTo"; notify: "toChanged"; index: 2 } + Property { + name: "easing" + type: "QEasingCurve" + read: "easing" + write: "setEasing" + notify: "easingChanged" + index: 3 + isFinal: true + } + Property { + name: "target" + type: "QObject" + isPointer: true + read: "target" + write: "setTargetObject" + notify: "targetChanged" + index: 4 + isFinal: true + } + Property { + name: "property" + type: "QString" + read: "property" + write: "setProperty" + notify: "propertyChanged" + index: 5 + isFinal: true + } + Property { + name: "properties" + type: "QString" + read: "properties" + write: "setProperties" + notify: "propertiesChanged" + index: 6 + isFinal: true + } + Property { + name: "targets" + type: "QObject" + isList: true + read: "targets" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "exclude" + type: "QObject" + isList: true + read: "exclude" + index: 8 + isReadonly: true + isFinal: true + } + Signal { + name: "durationChanged" + Parameter { type: "int" } + } + Signal { name: "fromChanged" } + Signal { name: "toChanged" } + Signal { + name: "easingChanged" + Parameter { type: "QEasingCurve" } + } + Signal { + name: "propertiesChanged" + Parameter { type: "QString" } + } + Signal { name: "targetChanged" } + Signal { name: "propertyChanged" } + } + Component { + file: "private/qquickpropertychanges_p.h" + name: "QQuickPropertyChanges" + accessSemantics: "reference" + prototype: "QQuickStateOperation" + immediateNames: [ + "target", + "restoreEntryValues", + "explicit", + "objectName" + ] + exports: [ + "QtQuick/PropertyChanges 2.0", + "QtQuick/PropertyChanges 6.0" + ] + hasCustomParser: true + exportMetaObjectRevisions: [512, 1536] + Property { + name: "target" + type: "QObject" + isPointer: true + read: "object" + write: "setObject" + notify: "objectChanged" + index: 0 + isFinal: true + } + Property { + name: "restoreEntryValues" + type: "bool" + read: "restoreEntryValues" + write: "setRestoreEntryValues" + notify: "restoreEntryValuesChanged" + index: 1 + isFinal: true + } + Property { + name: "explicit" + type: "bool" + read: "isExplicit" + write: "setIsExplicit" + notify: "isExplicitChanged" + index: 2 + isFinal: true + } + Signal { name: "objectChanged" } + Signal { name: "restoreEntryValuesChanged" } + Signal { name: "isExplicitChanged" } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuaternion" + accessSemantics: "value" + extension: "QQuickQuaternionValueType" + exports: ["QtQuick/quaternion 2.0", "QtQuick/quaternion 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickQuaternionValueType" + accessSemantics: "value" + Property { + name: "scalar" + type: "double" + read: "scalar" + write: "setScalar" + index: 0 + isFinal: true + } + Property { name: "x"; type: "double"; read: "x"; write: "setX"; index: 1; isFinal: true } + Property { name: "y"; type: "double"; read: "y"; write: "setY"; index: 2; isFinal: true } + Property { name: "z"; type: "double"; read: "z"; write: "setZ"; index: 3; isFinal: true } + Method { name: "toString"; type: "QString" } + Method { + name: "dotProduct" + type: "double" + Parameter { name: "q"; type: "QQuaternion" } + } + Method { + name: "times" + type: "QQuaternion" + Parameter { name: "q"; type: "QQuaternion" } + } + Method { + name: "times" + type: "QVector3D" + Parameter { name: "vec"; type: "QVector3D" } + } + Method { + name: "times" + type: "QQuaternion" + Parameter { name: "factor"; type: "double" } + } + Method { + name: "plus" + type: "QQuaternion" + Parameter { name: "q"; type: "QQuaternion" } + } + Method { + name: "minus" + type: "QQuaternion" + Parameter { name: "q"; type: "QQuaternion" } + } + Method { name: "normalized"; type: "QQuaternion" } + Method { name: "inverted"; type: "QQuaternion" } + Method { name: "conjugated"; type: "QQuaternion" } + Method { name: "length"; type: "double" } + Method { name: "toEulerAngles"; type: "QVector3D" } + Method { name: "toVector4d"; type: "QVector4D" } + Method { + name: "fuzzyEquals" + type: "bool" + Parameter { name: "q"; type: "QQuaternion" } + Parameter { name: "epsilon"; type: "double" } + } + Method { + name: "fuzzyEquals" + type: "bool" + Parameter { name: "q"; type: "QQuaternion" } + } + } + Component { + file: "private/qquickrectangle_p.h" + name: "QQuickRectangle" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/Rectangle 2.0", + "QtQuick/Rectangle 2.1", + "QtQuick/Rectangle 2.4", + "QtQuick/Rectangle 2.7", + "QtQuick/Rectangle 2.11", + "QtQuick/Rectangle 6.0", + "QtQuick/Rectangle 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 0 + } + Property { + name: "gradient" + type: "QJSValue" + read: "gradient" + write: "setGradient" + reset: "resetGradient" + index: 1 + isFinal: true + } + Property { + name: "border" + type: "QQuickPen" + isPointer: true + read: "border" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "radius" + type: "double" + read: "radius" + write: "setRadius" + notify: "radiusChanged" + index: 3 + isFinal: true + } + Signal { name: "colorChanged" } + Signal { name: "radiusChanged" } + Method { name: "doUpdate" } + } + Component { + file: "private/qquickrepeater_p.h" + name: "QQuickRepeater" + accessSemantics: "reference" + defaultProperty: "delegate" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/Repeater 2.0", + "QtQuick/Repeater 2.1", + "QtQuick/Repeater 2.4", + "QtQuick/Repeater 2.7", + "QtQuick/Repeater 2.11", + "QtQuick/Repeater 6.0", + "QtQuick/Repeater 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { + name: "model" + type: "QVariant" + read: "model" + write: "setModel" + notify: "modelChanged" + index: 0 + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 1 + isFinal: true + } + Property { + name: "count" + type: "int" + read: "count" + notify: "countChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "modelChanged" } + Signal { name: "delegateChanged" } + Signal { name: "countChanged" } + Signal { + name: "itemAdded" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Signal { + name: "itemRemoved" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QQuickItem"; isPointer: true } + } + Method { + name: "createdItem" + Parameter { name: "index"; type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "initItem" + Parameter { type: "int" } + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { + name: "modelUpdated" + Parameter { name: "changeSet"; type: "QQmlChangeSet" } + Parameter { name: "reset"; type: "bool" } + } + Method { + name: "itemAt" + type: "QQuickItem" + isPointer: true + Parameter { name: "index"; type: "int" } + } + } + Component { + file: "private/qquickwindow_p.h" + name: "QQuickRootItem" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + Method { + name: "setWidth" + Parameter { name: "w"; type: "int" } + } + Method { + name: "setHeight" + Parameter { name: "h"; type: "int" } + } + } + Component { + file: "private/qquicktranslate_p.h" + name: "QQuickRotation" + accessSemantics: "reference" + prototype: "QQuickTransform" + exports: ["QtQuick/Rotation 2.0", "QtQuick/Rotation 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "origin" + type: "QVector3D" + read: "origin" + write: "setOrigin" + notify: "originChanged" + index: 0 + isFinal: true + } + Property { + name: "angle" + type: "double" + read: "angle" + write: "setAngle" + notify: "angleChanged" + index: 1 + isFinal: true + } + Property { + name: "axis" + type: "QVector3D" + read: "axis" + write: "setAxis" + notify: "axisChanged" + index: 2 + isFinal: true + } + Signal { name: "originChanged" } + Signal { name: "angleChanged" } + Signal { name: "axisChanged" } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickRotationAnimation" + accessSemantics: "reference" + prototype: "QQuickPropertyAnimation" + exports: [ + "QtQuick/RotationAnimation 2.0", + "QtQuick/RotationAnimation 2.12", + "QtQuick/RotationAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Enum { + name: "RotationDirection" + values: ["Numerical", "Shortest", "Clockwise", "Counterclockwise"] + } + Property { + name: "from" + type: "double" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 0 + isFinal: true + } + Property { + name: "to" + type: "double" + read: "to" + write: "setTo" + notify: "toChanged" + index: 1 + isFinal: true + } + Property { + name: "direction" + type: "RotationDirection" + read: "direction" + write: "setDirection" + notify: "directionChanged" + index: 2 + isFinal: true + } + Signal { name: "directionChanged" } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickRotationAnimator" + accessSemantics: "reference" + prototype: "QQuickAnimator" + exports: [ + "QtQuick/RotationAnimator 2.2", + "QtQuick/RotationAnimator 2.12", + "QtQuick/RotationAnimator 6.0" + ] + exportMetaObjectRevisions: [514, 524, 1536] + Enum { + name: "RotationDirection" + values: ["Numerical", "Shortest", "Clockwise", "Counterclockwise"] + } + Property { + name: "direction" + type: "RotationDirection" + read: "direction" + write: "setDirection" + notify: "directionChanged" + index: 0 + isFinal: true + } + Signal { + name: "directionChanged" + Parameter { name: "dir"; type: "RotationDirection" } + } + } + Component { + file: "private/qquickpositioners_p.h" + name: "QQuickRow" + accessSemantics: "reference" + prototype: "QQuickBasePositioner" + exports: [ + "QtQuick/Row 2.0", + "QtQuick/Row 2.1", + "QtQuick/Row 2.4", + "QtQuick/Row 2.6", + "QtQuick/Row 2.7", + "QtQuick/Row 2.9", + "QtQuick/Row 2.11", + "QtQuick/Row 6.0", + "QtQuick/Row 6.2", + "QtQuick/Row 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 516, + 518, + 519, + 521, + 523, + 1536, + 1538, + 1539 + ] + Property { + name: "layoutDirection" + type: "Qt::LayoutDirection" + read: "layoutDirection" + write: "setLayoutDirection" + notify: "layoutDirectionChanged" + index: 0 + isFinal: true + } + Property { + name: "effectiveLayoutDirection" + type: "Qt::LayoutDirection" + read: "effectiveLayoutDirection" + notify: "effectiveLayoutDirectionChanged" + index: 1 + isReadonly: true + isFinal: true + } + Signal { name: "layoutDirectionChanged" } + Signal { name: "effectiveLayoutDirectionChanged" } + } + Component { + file: "private/qquicktranslate_p.h" + name: "QQuickScale" + accessSemantics: "reference" + prototype: "QQuickTransform" + exports: ["QtQuick/Scale 2.0", "QtQuick/Scale 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "origin" + type: "QVector3D" + read: "origin" + write: "setOrigin" + notify: "originChanged" + index: 0 + isFinal: true + } + Property { + name: "xScale" + type: "double" + read: "xScale" + write: "setXScale" + notify: "xScaleChanged" + index: 1 + isFinal: true + } + Property { + name: "yScale" + type: "double" + read: "yScale" + write: "setYScale" + notify: "yScaleChanged" + index: 2 + isFinal: true + } + Property { + name: "zScale" + type: "double" + read: "zScale" + write: "setZScale" + notify: "zScaleChanged" + index: 3 + isFinal: true + } + Signal { name: "originChanged" } + Signal { name: "xScaleChanged" } + Signal { name: "yScaleChanged" } + Signal { name: "zScaleChanged" } + Signal { name: "scaleChanged" } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickScaleAnimator" + accessSemantics: "reference" + prototype: "QQuickAnimator" + exports: [ + "QtQuick/ScaleAnimator 2.2", + "QtQuick/ScaleAnimator 2.12", + "QtQuick/ScaleAnimator 6.0" + ] + exportMetaObjectRevisions: [514, 524, 1536] + } + Component { + file: "private/qquickscalegrid_p_p.h" + name: "QQuickScaleGrid" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "left" + type: "int" + read: "left" + write: "setLeft" + notify: "leftBorderChanged" + index: 0 + isFinal: true + } + Property { + name: "top" + type: "int" + read: "top" + write: "setTop" + notify: "topBorderChanged" + index: 1 + isFinal: true + } + Property { + name: "right" + type: "int" + read: "right" + write: "setRight" + notify: "rightBorderChanged" + index: 2 + isFinal: true + } + Property { + name: "bottom" + type: "int" + read: "bottom" + write: "setBottom" + notify: "bottomBorderChanged" + index: 3 + isFinal: true + } + Signal { name: "borderChanged" } + Signal { name: "leftBorderChanged" } + Signal { name: "topBorderChanged" } + Signal { name: "rightBorderChanged" } + Signal { name: "bottomBorderChanged" } + } + Component { + file: "private/qquickscreen_p.h" + name: "QQuickScreen" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick/Screen 2.0", + "QtQuick/Screen 2.3", + "QtQuick/Screen 2.10", + "QtQuick/Screen 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [512, 515, 522, 1536] + attachedType: "QQuickScreenAttached" + } + Component { + file: "private/qquickscreen_p.h" + name: "QQuickScreenAttached" + accessSemantics: "reference" + prototype: "QQuickScreenInfo" + Method { + name: "screenChanged" + Parameter { type: "QScreen"; isPointer: true } + } + Method { + name: "angleBetween" + type: "int" + Parameter { name: "a"; type: "int" } + Parameter { name: "b"; type: "int" } + } + } + Component { + file: "private/qquickscreen_p.h" + name: "QQuickScreenInfo" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick/ScreenInfo 2.3", + "QtQuick/ScreenInfo 2.10", + "QtQuick/ScreenInfo 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [515, 522, 1536] + Property { + name: "name" + type: "QString" + read: "name" + notify: "nameChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "manufacturer" + revision: 522 + type: "QString" + read: "manufacturer" + notify: "manufacturerChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "model" + revision: 522 + type: "QString" + read: "model" + notify: "modelChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "serialNumber" + revision: 522 + type: "QString" + read: "serialNumber" + notify: "serialNumberChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "width" + type: "int" + read: "width" + notify: "widthChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "height" + type: "int" + read: "height" + notify: "heightChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "desktopAvailableWidth" + type: "int" + read: "desktopAvailableWidth" + notify: "desktopGeometryChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "desktopAvailableHeight" + type: "int" + read: "desktopAvailableHeight" + notify: "desktopGeometryChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "logicalPixelDensity" + type: "double" + read: "logicalPixelDensity" + notify: "logicalPixelDensityChanged" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "pixelDensity" + type: "double" + read: "pixelDensity" + notify: "pixelDensityChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "devicePixelRatio" + type: "double" + read: "devicePixelRatio" + notify: "devicePixelRatioChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "primaryOrientation" + type: "Qt::ScreenOrientation" + read: "primaryOrientation" + notify: "primaryOrientationChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "orientation" + type: "Qt::ScreenOrientation" + read: "orientation" + notify: "orientationChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "virtualX" + revision: 515 + type: "int" + read: "virtualX" + notify: "virtualXChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "virtualY" + revision: 515 + type: "int" + read: "virtualY" + notify: "virtualYChanged" + index: 14 + isReadonly: true + isFinal: true + } + Signal { name: "nameChanged" } + Signal { name: "manufacturerChanged"; revision: 522 } + Signal { name: "modelChanged"; revision: 522 } + Signal { name: "serialNumberChanged"; revision: 522 } + Signal { name: "widthChanged" } + Signal { name: "heightChanged" } + Signal { name: "desktopGeometryChanged" } + Signal { name: "logicalPixelDensityChanged" } + Signal { name: "pixelDensityChanged" } + Signal { name: "devicePixelRatioChanged" } + Signal { name: "primaryOrientationChanged" } + Signal { name: "orientationChanged" } + Signal { name: "virtualXChanged"; revision: 515 } + Signal { name: "virtualYChanged"; revision: 515 } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickScriptAction" + accessSemantics: "reference" + prototype: "QQuickAbstractAnimation" + exports: [ + "QtQuick/ScriptAction 2.0", + "QtQuick/ScriptAction 2.12", + "QtQuick/ScriptAction 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Property { + name: "script" + type: "QQmlScriptString" + read: "script" + write: "setScript" + index: 0 + isFinal: true + } + Property { + name: "scriptName" + type: "QString" + read: "stateChangeScriptName" + write: "setStateChangeScriptName" + index: 1 + isFinal: true + } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickSequentialAnimation" + accessSemantics: "reference" + defaultProperty: "animations" + prototype: "QQuickAnimationGroup" + exports: [ + "QtQuick/SequentialAnimation 2.0", + "QtQuick/SequentialAnimation 2.12", + "QtQuick/SequentialAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + } + Component { + file: "private/qquickshadereffect_p.h" + name: "QQuickShaderEffect" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/ShaderEffect 2.0", + "QtQuick/ShaderEffect 2.1", + "QtQuick/ShaderEffect 2.4", + "QtQuick/ShaderEffect 2.7", + "QtQuick/ShaderEffect 2.11", + "QtQuick/ShaderEffect 6.0", + "QtQuick/ShaderEffect 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Enum { + name: "CullMode" + values: ["NoCulling", "BackFaceCulling", "FrontFaceCulling"] + } + Enum { + name: "Status" + values: ["Compiled", "Uncompiled", "Error"] + } + Property { + name: "fragmentShader" + type: "QUrl" + read: "fragmentShader" + write: "setFragmentShader" + notify: "fragmentShaderChanged" + index: 0 + isFinal: true + } + Property { + name: "vertexShader" + type: "QUrl" + read: "vertexShader" + write: "setVertexShader" + notify: "vertexShaderChanged" + index: 1 + isFinal: true + } + Property { + name: "blending" + type: "bool" + read: "blending" + write: "setBlending" + notify: "blendingChanged" + index: 2 + isFinal: true + } + Property { + name: "mesh" + type: "QVariant" + read: "mesh" + write: "setMesh" + notify: "meshChanged" + index: 3 + isFinal: true + } + Property { + name: "cullMode" + type: "CullMode" + read: "cullMode" + write: "setCullMode" + notify: "cullModeChanged" + index: 4 + isFinal: true + } + Property { + name: "log" + type: "QString" + read: "log" + notify: "logChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "status" + type: "Status" + read: "status" + notify: "statusChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "supportsAtlasTextures" + revision: 516 + type: "bool" + read: "supportsAtlasTextures" + write: "setSupportsAtlasTextures" + notify: "supportsAtlasTexturesChanged" + index: 7 + isFinal: true + } + Signal { name: "fragmentShaderChanged" } + Signal { name: "vertexShaderChanged" } + Signal { name: "blendingChanged" } + Signal { name: "meshChanged" } + Signal { name: "cullModeChanged" } + Signal { name: "logChanged" } + Signal { name: "statusChanged" } + Signal { name: "supportsAtlasTexturesChanged" } + } + Component { + file: "private/qquickshadereffectmesh_p.h" + name: "QQuickShaderEffectMesh" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick/ShaderEffectMesh 2.0", + "QtQuick/ShaderEffectMesh 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + Signal { name: "geometryChanged" } + } + Component { + file: "private/qquickshadereffectsource_p.h" + name: "QQuickShaderEffectSource" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/ShaderEffectSource 2.0", + "QtQuick/ShaderEffectSource 2.1", + "QtQuick/ShaderEffectSource 2.4", + "QtQuick/ShaderEffectSource 2.6", + "QtQuick/ShaderEffectSource 2.7", + "QtQuick/ShaderEffectSource 2.9", + "QtQuick/ShaderEffectSource 2.11", + "QtQuick/ShaderEffectSource 6.0", + "QtQuick/ShaderEffectSource 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 516, + 518, + 519, + 521, + 523, + 1536, + 1539 + ] + Enum { + name: "WrapMode" + values: [ + "ClampToEdge", + "RepeatHorizontally", + "RepeatVertically", + "Repeat" + ] + } + Enum { + name: "Format" + values: ["RGBA8", "RGBA16F", "RGBA32F", "Alpha", "RGB", "RGBA"] + } + Enum { + name: "TextureMirroring" + values: ["NoMirroring", "MirrorHorizontally", "MirrorVertically"] + } + Property { + name: "wrapMode" + type: "WrapMode" + read: "wrapMode" + write: "setWrapMode" + notify: "wrapModeChanged" + index: 0 + isFinal: true + } + Property { + name: "sourceItem" + type: "QQuickItem" + isPointer: true + read: "sourceItem" + write: "setSourceItem" + notify: "sourceItemChanged" + index: 1 + isFinal: true + } + Property { + name: "sourceRect" + type: "QRectF" + read: "sourceRect" + write: "setSourceRect" + notify: "sourceRectChanged" + index: 2 + isFinal: true + } + Property { + name: "textureSize" + type: "QSize" + read: "textureSize" + write: "setTextureSize" + notify: "textureSizeChanged" + index: 3 + isFinal: true + } + Property { + name: "format" + type: "Format" + read: "format" + write: "setFormat" + notify: "formatChanged" + index: 4 + isFinal: true + } + Property { + name: "live" + type: "bool" + read: "live" + write: "setLive" + notify: "liveChanged" + index: 5 + isFinal: true + } + Property { + name: "hideSource" + type: "bool" + read: "hideSource" + write: "setHideSource" + notify: "hideSourceChanged" + index: 6 + isFinal: true + } + Property { + name: "mipmap" + type: "bool" + read: "mipmap" + write: "setMipmap" + notify: "mipmapChanged" + index: 7 + isFinal: true + } + Property { + name: "recursive" + type: "bool" + read: "recursive" + write: "setRecursive" + notify: "recursiveChanged" + index: 8 + isFinal: true + } + Property { + name: "textureMirroring" + revision: 518 + type: "TextureMirroring" + read: "textureMirroring" + write: "setTextureMirroring" + notify: "textureMirroringChanged" + index: 9 + isFinal: true + } + Property { + name: "samples" + revision: 521 + type: "int" + read: "samples" + write: "setSamples" + notify: "samplesChanged" + index: 10 + isFinal: true + } + Signal { name: "wrapModeChanged" } + Signal { name: "sourceItemChanged" } + Signal { name: "sourceRectChanged" } + Signal { name: "textureSizeChanged" } + Signal { name: "formatChanged" } + Signal { name: "liveChanged" } + Signal { name: "hideSourceChanged" } + Signal { name: "mipmapChanged" } + Signal { name: "recursiveChanged" } + Signal { name: "textureMirroringChanged" } + Signal { name: "samplesChanged" } + Signal { name: "scheduledUpdateCompleted" } + Method { + name: "sourceItemDestroyed" + Parameter { name: "item"; type: "QObject"; isPointer: true } + } + Method { name: "invalidateSceneGraph" } + Method { name: "scheduleUpdate" } + } + Component { + file: "private/qquickshortcut_p.h" + name: "QQuickShortcut" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQuick/Shortcut 2.5", + "QtQuick/Shortcut 2.6", + "QtQuick/Shortcut 2.9", + "QtQuick/Shortcut 6.0" + ] + exportMetaObjectRevisions: [517, 518, 521, 1536] + Property { + name: "sequence" + type: "QVariant" + read: "sequence" + write: "setSequence" + notify: "sequenceChanged" + index: 0 + isFinal: true + } + Property { + name: "sequences" + revision: 521 + type: "QVariantList" + read: "sequences" + write: "setSequences" + notify: "sequencesChanged" + index: 1 + isFinal: true + } + Property { + name: "nativeText" + revision: 518 + type: "QString" + read: "nativeText" + notify: "sequenceChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "portableText" + revision: 518 + type: "QString" + read: "portableText" + notify: "sequenceChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "enabled" + type: "bool" + read: "isEnabled" + write: "setEnabled" + notify: "enabledChanged" + index: 4 + isFinal: true + } + Property { + name: "autoRepeat" + type: "bool" + read: "autoRepeat" + write: "setAutoRepeat" + notify: "autoRepeatChanged" + index: 5 + isFinal: true + } + Property { + name: "context" + type: "Qt::ShortcutContext" + read: "context" + write: "setContext" + notify: "contextChanged" + index: 6 + isFinal: true + } + Signal { name: "sequenceChanged" } + Signal { name: "sequencesChanged"; revision: 521 } + Signal { name: "enabledChanged" } + Signal { name: "autoRepeatChanged" } + Signal { name: "contextChanged" } + Signal { name: "activated" } + Signal { name: "activatedAmbiguously" } + } + Component { + file: "private/qquicksinglepointhandler_p.h" + name: "QQuickSinglePointHandler" + accessSemantics: "reference" + prototype: "QQuickPointerDeviceHandler" + Property { + name: "point" + type: "QQuickHandlerPoint" + read: "point" + notify: "pointChanged" + index: 0 + isReadonly: true + isFinal: true + } + Signal { name: "pointChanged" } + } + Component { + file: "private/qquicksmoothedanimation_p.h" + name: "QQuickSmoothedAnimation" + accessSemantics: "reference" + prototype: "QQuickNumberAnimation" + exports: [ + "QtQuick/SmoothedAnimation 2.0", + "QtQuick/SmoothedAnimation 2.12", + "QtQuick/SmoothedAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Enum { + name: "ReversingMode" + values: ["Eased", "Immediate", "Sync"] + } + Property { + name: "velocity" + type: "double" + read: "velocity" + write: "setVelocity" + notify: "velocityChanged" + index: 0 + isFinal: true + } + Property { + name: "reversingMode" + type: "ReversingMode" + read: "reversingMode" + write: "setReversingMode" + notify: "reversingModeChanged" + index: 1 + isFinal: true + } + Property { + name: "maximumEasingTime" + type: "double" + read: "maximumEasingTime" + write: "setMaximumEasingTime" + notify: "maximumEasingTimeChanged" + index: 2 + isFinal: true + } + Signal { name: "velocityChanged" } + Signal { name: "reversingModeChanged" } + Signal { name: "maximumEasingTimeChanged" } + } + Component { + file: "private/qquickspringanimation_p.h" + name: "QQuickSpringAnimation" + accessSemantics: "reference" + prototype: "QQuickNumberAnimation" + interfaces: ["QQmlPropertyValueSource"] + exports: [ + "QtQuick/SpringAnimation 2.0", + "QtQuick/SpringAnimation 2.12", + "QtQuick/SpringAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Property { + name: "velocity" + type: "double" + read: "velocity" + write: "setVelocity" + index: 0 + isFinal: true + } + Property { + name: "spring" + type: "double" + read: "spring" + write: "setSpring" + index: 1 + isFinal: true + } + Property { + name: "damping" + type: "double" + read: "damping" + write: "setDamping" + index: 2 + isFinal: true + } + Property { + name: "epsilon" + type: "double" + read: "epsilon" + write: "setEpsilon" + index: 3 + isFinal: true + } + Property { + name: "modulus" + type: "double" + read: "modulus" + write: "setModulus" + notify: "modulusChanged" + index: 4 + isFinal: true + } + Property { + name: "mass" + type: "double" + read: "mass" + write: "setMass" + notify: "massChanged" + index: 5 + isFinal: true + } + Signal { name: "modulusChanged" } + Signal { name: "massChanged" } + Signal { name: "syncChanged" } + } + Component { + file: "private/qquicksprite_p.h" + name: "QQuickSprite" + accessSemantics: "reference" + prototype: "QQuickStochasticState" + exports: ["QtQuick/Sprite 2.0", "QtQuick/Sprite 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "source" + type: "QUrl" + read: "source" + write: "setSource" + notify: "sourceChanged" + index: 0 + isFinal: true + } + Property { + name: "reverse" + type: "bool" + read: "reverse" + write: "setReverse" + notify: "reverseChanged" + index: 1 + isFinal: true + } + Property { + name: "frameSync" + type: "bool" + read: "frameSync" + write: "setFrameSync" + notify: "frameSyncChanged" + index: 2 + isFinal: true + } + Property { + name: "frames" + type: "int" + read: "frames" + write: "setFrames" + notify: "frameCountChanged" + index: 3 + isFinal: true + } + Property { + name: "frameCount" + type: "int" + read: "frameCount" + write: "setFrameCount" + notify: "frameCountChanged" + index: 4 + isFinal: true + } + Property { + name: "frameHeight" + type: "int" + read: "frameHeight" + write: "setFrameHeight" + notify: "frameHeightChanged" + index: 5 + isFinal: true + } + Property { + name: "frameWidth" + type: "int" + read: "frameWidth" + write: "setFrameWidth" + notify: "frameWidthChanged" + index: 6 + isFinal: true + } + Property { + name: "frameX" + type: "int" + read: "frameX" + write: "setFrameX" + notify: "frameXChanged" + index: 7 + isFinal: true + } + Property { + name: "frameY" + type: "int" + read: "frameY" + write: "setFrameY" + notify: "frameYChanged" + index: 8 + isFinal: true + } + Property { + name: "frameRate" + type: "double" + read: "frameRate" + write: "setFrameRate" + reset: "resetFrameRate" + notify: "frameRateChanged" + index: 9 + isFinal: true + } + Property { + name: "frameRateVariation" + type: "double" + read: "frameRateVariation" + write: "setFrameRateVariation" + notify: "frameRateVariationChanged" + index: 10 + isFinal: true + } + Property { + name: "frameDuration" + type: "int" + read: "frameDuration" + write: "setFrameDuration" + reset: "resetFrameDuration" + notify: "frameDurationChanged" + index: 11 + isFinal: true + } + Property { + name: "frameDurationVariation" + type: "int" + read: "frameDurationVariation" + write: "setFrameDurationVariation" + notify: "frameDurationVariationChanged" + index: 12 + isFinal: true + } + Signal { + name: "sourceChanged" + Parameter { name: "arg"; type: "QUrl" } + } + Signal { + name: "frameHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "reverseChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "frameCountChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameXChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameYChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameRateChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "frameRateVariationChanged" + Parameter { name: "arg"; type: "double" } + } + Signal { + name: "frameDurationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameDurationVariationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "frameSyncChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setSource" + Parameter { name: "arg"; type: "QUrl" } + } + Method { + name: "setFrameHeight" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameWidth" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setReverse" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setFrames" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameCount" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameX" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameY" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameRate" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setFrameRateVariation" + Parameter { name: "arg"; type: "double" } + } + Method { + name: "setFrameDuration" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameDurationVariation" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setFrameSync" + Parameter { name: "arg"; type: "bool" } + } + Method { name: "startImageLoading" } + } + Component { + file: "private/qquickspritesequence_p.h" + name: "QQuickSpriteSequence" + accessSemantics: "reference" + defaultProperty: "sprites" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtQuick/SpriteSequence 2.0", + "QtQuick/SpriteSequence 2.1", + "QtQuick/SpriteSequence 2.4", + "QtQuick/SpriteSequence 2.7", + "QtQuick/SpriteSequence 2.11", + "QtQuick/SpriteSequence 6.0", + "QtQuick/SpriteSequence 6.3" + ] + exportMetaObjectRevisions: [512, 513, 516, 519, 523, 1536, 1539] + Property { + name: "running" + type: "bool" + read: "running" + write: "setRunning" + notify: "runningChanged" + index: 0 + isFinal: true + } + Property { + name: "interpolate" + type: "bool" + read: "interpolate" + write: "setInterpolate" + notify: "interpolateChanged" + index: 1 + isFinal: true + } + Property { + name: "goalSprite" + type: "QString" + read: "goalSprite" + write: "setGoalSprite" + notify: "goalSpriteChanged" + index: 2 + isFinal: true + } + Property { + name: "currentSprite" + type: "QString" + read: "currentSprite" + notify: "currentSpriteChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "sprites" + type: "QQuickSprite" + isList: true + read: "sprites" + index: 4 + isReadonly: true + isFinal: true + } + Signal { + name: "runningChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "interpolateChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "goalSpriteChanged" + Parameter { name: "arg"; type: "QString" } + } + Signal { + name: "currentSpriteChanged" + Parameter { name: "arg"; type: "QString" } + } + Method { + name: "jumpTo" + Parameter { name: "sprite"; type: "QString" } + } + Method { + name: "setGoalSprite" + Parameter { name: "sprite"; type: "QString" } + } + Method { + name: "setRunning" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setInterpolate" + Parameter { name: "arg"; type: "bool" } + } + Method { name: "createEngine" } + } + Component { + file: "private/qquickstate_p.h" + name: "QQuickState" + accessSemantics: "reference" + defaultProperty: "changes" + prototype: "QObject" + deferredNames: ["changes"] + exports: ["QtQuick/State 2.0", "QtQuick/State 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { name: "name"; type: "QString"; read: "name"; write: "setName"; index: 0; isFinal: true } + Property { name: "when"; type: "bool"; read: "when"; write: "setWhen"; index: 1; isFinal: true } + Property { + name: "extend" + type: "QString" + read: "extends" + write: "setExtends" + index: 2 + isFinal: true + } + Property { + name: "changes" + type: "QQuickStateOperation" + isList: true + read: "changes" + index: 3 + isReadonly: true + isFinal: true + } + Signal { name: "completed" } + } + Component { + file: "private/qquickstatechangescript_p.h" + name: "QQuickStateChangeScript" + accessSemantics: "reference" + prototype: "QQuickStateOperation" + exports: [ + "QtQuick/StateChangeScript 2.0", + "QtQuick/StateChangeScript 6.0" + ] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "script" + type: "QQmlScriptString" + read: "script" + write: "setScript" + index: 0 + isFinal: true + } + Property { name: "name"; type: "QString"; read: "name"; write: "setName"; index: 1; isFinal: true } + } + Component { + file: "private/qquickstategroup_p.h" + name: "QQuickStateGroup" + accessSemantics: "reference" + prototype: "QObject" + interfaces: ["QQmlParserStatus"] + exports: ["QtQuick/StateGroup 2.0", "QtQuick/StateGroup 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "state" + type: "QString" + read: "state" + write: "setState" + notify: "stateChanged" + index: 0 + isFinal: true + } + Property { + name: "states" + type: "QQuickState" + isList: true + read: "statesProperty" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "transitions" + type: "QQuickTransition" + isList: true + read: "transitionsProperty" + index: 2 + isReadonly: true + isFinal: true + } + Signal { + name: "stateChanged" + Parameter { type: "QString" } + } + } + Component { + file: "private/qquickstate_p.h" + name: "QQuickStateOperation" + accessSemantics: "reference" + prototype: "QObject" + } + Component { + file: "private/qquickspriteengine_p.h" + name: "QQuickStochasticState" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "duration" + type: "int" + read: "duration" + write: "setDuration" + notify: "durationChanged" + index: 0 + isFinal: true + } + Property { + name: "durationVariation" + type: "int" + read: "durationVariation" + write: "setDurationVariation" + notify: "durationVariationChanged" + index: 1 + isFinal: true + } + Property { + name: "randomStart" + type: "bool" + read: "randomStart" + write: "setRandomStart" + notify: "randomStartChanged" + index: 2 + isFinal: true + } + Property { + name: "to" + type: "QVariantMap" + read: "to" + write: "setTo" + notify: "toChanged" + index: 3 + isFinal: true + } + Property { + name: "name" + type: "QString" + read: "name" + write: "setName" + notify: "nameChanged" + index: 4 + isFinal: true + } + Signal { + name: "durationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "nameChanged" + Parameter { name: "arg"; type: "QString" } + } + Signal { + name: "toChanged" + Parameter { name: "arg"; type: "QVariantMap" } + } + Signal { + name: "durationVariationChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { name: "entered" } + Signal { + name: "randomStartChanged" + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "setDuration" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setName" + Parameter { name: "arg"; type: "QString" } + } + Method { + name: "setTo" + Parameter { name: "arg"; type: "QVariantMap" } + } + Method { + name: "setDurationVariation" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setRandomStart" + Parameter { name: "arg"; type: "bool" } + } + } + Component { + file: "private/qquicksystempalette_p.h" + name: "QQuickSystemPalette" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick/SystemPalette 2.0", + "QtQuick/SystemPalette 6.0", + "QtQuick/SystemPalette 6.2" + ] + exportMetaObjectRevisions: [512, 1536, 1538] + Enum { + name: "ColorGroup" + values: ["Active", "Inactive", "Disabled"] + } + Property { + name: "colorGroup" + type: "QQuickSystemPalette::ColorGroup" + read: "colorGroup" + write: "setColorGroup" + notify: "paletteChanged" + index: 0 + isFinal: true + } + Property { + name: "window" + type: "QColor" + read: "window" + notify: "paletteChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "windowText" + type: "QColor" + read: "windowText" + notify: "paletteChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "base" + type: "QColor" + read: "base" + notify: "paletteChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "text" + type: "QColor" + read: "text" + notify: "paletteChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "alternateBase" + type: "QColor" + read: "alternateBase" + notify: "paletteChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "button" + type: "QColor" + read: "button" + notify: "paletteChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "buttonText" + type: "QColor" + read: "buttonText" + notify: "paletteChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "light" + type: "QColor" + read: "light" + notify: "paletteChanged" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "midlight" + type: "QColor" + read: "midlight" + notify: "paletteChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "dark" + type: "QColor" + read: "dark" + notify: "paletteChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "mid" + type: "QColor" + read: "mid" + notify: "paletteChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "shadow" + type: "QColor" + read: "shadow" + notify: "paletteChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "highlight" + type: "QColor" + read: "highlight" + notify: "paletteChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "highlightedText" + type: "QColor" + read: "highlightedText" + notify: "paletteChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "placeholderText" + revision: 1538 + type: "QColor" + read: "placeholderText" + notify: "paletteChanged" + index: 15 + isReadonly: true + isFinal: true + } + Signal { name: "paletteChanged" } + } + Component { + file: "private/qquicktableview_p.h" + name: "QQuickTableView" + accessSemantics: "reference" + defaultProperty: "flickableData" + prototype: "QQuickFlickable" + interfaces: ["QQmlFinalizerHook"] + exports: [ + "QtQuick/TableView 2.12", + "QtQuick/TableView 2.14", + "QtQuick/TableView 6.0", + "QtQuick/TableView 6.2", + "QtQuick/TableView 6.3", + "QtQuick/TableView 6.4", + "QtQuick/TableView 6.5", + "QtQuick/TableView 6.6" + ] + exportMetaObjectRevisions: [ + 524, + 526, + 1536, + 1538, + 1539, + 1540, + 1541, + 1542 + ] + attachedType: "QQuickTableViewAttached" + Enum { + name: "PositionMode" + alias: "PositionModeFlag" + isFlag: true + values: [ + "AlignLeft", + "AlignRight", + "AlignHCenter", + "AlignTop", + "AlignBottom", + "AlignVCenter", + "AlignCenter", + "Visible", + "Contain" + ] + } + Enum { + name: "SelectionBehavior" + values: [ + "SelectionDisabled", + "SelectCells", + "SelectRows", + "SelectColumns" + ] + } + Enum { + name: "SelectionMode" + values: [ + "SingleSelection", + "ContiguousSelection", + "ExtendedSelection" + ] + } + Enum { + name: "EditTriggers" + alias: "EditTrigger" + isFlag: true + values: [ + "NoEditTriggers", + "SingleTapped", + "DoubleTapped", + "SelectedTapped", + "EditKeyPressed", + "AnyKeyPressed" + ] + } + Property { + name: "rows" + type: "int" + read: "rows" + notify: "rowsChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "columns" + type: "int" + read: "columns" + notify: "columnsChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "rowSpacing" + type: "double" + read: "rowSpacing" + write: "setRowSpacing" + notify: "rowSpacingChanged" + index: 2 + isFinal: true + } + Property { + name: "columnSpacing" + type: "double" + read: "columnSpacing" + write: "setColumnSpacing" + notify: "columnSpacingChanged" + index: 3 + isFinal: true + } + Property { + name: "rowHeightProvider" + type: "QJSValue" + read: "rowHeightProvider" + write: "setRowHeightProvider" + notify: "rowHeightProviderChanged" + index: 4 + isFinal: true + } + Property { + name: "columnWidthProvider" + type: "QJSValue" + read: "columnWidthProvider" + write: "setColumnWidthProvider" + notify: "columnWidthProviderChanged" + index: 5 + isFinal: true + } + Property { + name: "model" + type: "QVariant" + read: "model" + write: "setModel" + notify: "modelChanged" + index: 6 + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 7 + isFinal: true + } + Property { + name: "reuseItems" + type: "bool" + read: "reuseItems" + write: "setReuseItems" + notify: "reuseItemsChanged" + index: 8 + isFinal: true + } + Property { + name: "contentWidth" + type: "double" + read: "contentWidth" + write: "setContentWidth" + notify: "contentWidthChanged" + index: 9 + isFinal: true + } + Property { + name: "contentHeight" + type: "double" + read: "contentHeight" + write: "setContentHeight" + notify: "contentHeightChanged" + index: 10 + isFinal: true + } + Property { + name: "syncView" + revision: 526 + type: "QQuickTableView" + isPointer: true + read: "syncView" + write: "setSyncView" + notify: "syncViewChanged" + index: 11 + isFinal: true + } + Property { + name: "syncDirection" + revision: 526 + type: "Qt::Orientations" + read: "syncDirection" + write: "setSyncDirection" + notify: "syncDirectionChanged" + index: 12 + isFinal: true + } + Property { + name: "leftColumn" + revision: 1536 + type: "int" + read: "leftColumn" + notify: "leftColumnChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "rightColumn" + revision: 1536 + type: "int" + read: "rightColumn" + notify: "rightColumnChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "topRow" + revision: 1536 + type: "int" + read: "topRow" + notify: "topRowChanged" + index: 15 + isReadonly: true + isFinal: true + } + Property { + name: "bottomRow" + revision: 1536 + type: "int" + read: "bottomRow" + notify: "bottomRowChanged" + index: 16 + isReadonly: true + isFinal: true + } + Property { + name: "selectionModel" + revision: 1538 + type: "QItemSelectionModel" + isPointer: true + read: "selectionModel" + write: "setSelectionModel" + notify: "selectionModelChanged" + index: 17 + isFinal: true + } + Property { + name: "animate" + revision: 1540 + type: "bool" + read: "animate" + write: "setAnimate" + notify: "animateChanged" + index: 18 + isFinal: true + } + Property { + name: "keyNavigationEnabled" + revision: 1540 + type: "bool" + read: "keyNavigationEnabled" + write: "setKeyNavigationEnabled" + notify: "keyNavigationEnabledChanged" + index: 19 + isFinal: true + } + Property { + name: "pointerNavigationEnabled" + revision: 1540 + type: "bool" + read: "pointerNavigationEnabled" + write: "setPointerNavigationEnabled" + notify: "pointerNavigationEnabledChanged" + index: 20 + isFinal: true + } + Property { + name: "currentRow" + revision: 1540 + type: "int" + read: "currentRow" + notify: "currentRowChanged" + index: 21 + isReadonly: true + isFinal: true + } + Property { + name: "currentColumn" + revision: 1540 + type: "int" + read: "currentColumn" + notify: "currentColumnChanged" + index: 22 + isReadonly: true + isFinal: true + } + Property { + name: "alternatingRows" + revision: 1540 + type: "bool" + read: "alternatingRows" + write: "setAlternatingRows" + notify: "alternatingRowsChanged" + index: 23 + isFinal: true + } + Property { + name: "selectionBehavior" + revision: 1540 + type: "SelectionBehavior" + read: "selectionBehavior" + write: "setSelectionBehavior" + notify: "selectionBehaviorChanged" + index: 24 + isFinal: true + } + Property { + name: "resizableColumns" + revision: 1541 + type: "bool" + read: "resizableColumns" + write: "setResizableColumns" + notify: "resizableColumnsChanged" + index: 25 + isFinal: true + } + Property { + name: "resizableRows" + revision: 1541 + type: "bool" + read: "resizableRows" + write: "setResizableRows" + notify: "resizableRowsChanged" + index: 26 + isFinal: true + } + Property { + name: "editTriggers" + revision: 1541 + type: "EditTriggers" + read: "editTriggers" + write: "setEditTriggers" + notify: "editTriggersChanged" + index: 27 + isFinal: true + } + Property { + name: "selectionMode" + revision: 1542 + type: "SelectionMode" + read: "selectionMode" + write: "setSelectionMode" + notify: "selectionModeChanged" + index: 28 + isFinal: true + } + Signal { name: "rowsChanged" } + Signal { name: "columnsChanged" } + Signal { name: "rowSpacingChanged" } + Signal { name: "columnSpacingChanged" } + Signal { name: "rowHeightProviderChanged" } + Signal { name: "columnWidthProviderChanged" } + Signal { name: "modelChanged" } + Signal { name: "delegateChanged" } + Signal { name: "reuseItemsChanged" } + Signal { name: "syncViewChanged"; revision: 526 } + Signal { name: "syncDirectionChanged"; revision: 526 } + Signal { name: "leftColumnChanged"; revision: 1536 } + Signal { name: "rightColumnChanged"; revision: 1536 } + Signal { name: "topRowChanged"; revision: 1536 } + Signal { name: "bottomRowChanged"; revision: 1536 } + Signal { name: "selectionModelChanged"; revision: 1538 } + Signal { name: "animateChanged"; revision: 1540 } + Signal { name: "keyNavigationEnabledChanged"; revision: 1540 } + Signal { name: "pointerNavigationEnabledChanged"; revision: 1540 } + Signal { name: "currentRowChanged"; revision: 1540 } + Signal { name: "currentColumnChanged"; revision: 1540 } + Signal { name: "alternatingRowsChanged"; revision: 1540 } + Signal { name: "selectionBehaviorChanged"; revision: 1540 } + Signal { name: "resizableColumnsChanged"; revision: 1541 } + Signal { name: "resizableRowsChanged"; revision: 1541 } + Signal { name: "editTriggersChanged"; revision: 1541 } + Signal { name: "layoutChanged"; revision: 1541 } + Signal { name: "selectionModeChanged"; revision: 1542 } + Method { name: "forceLayout" } + Method { + name: "positionViewAtCell" + Parameter { name: "cell"; type: "QPoint" } + Parameter { name: "mode"; type: "PositionMode" } + Parameter { name: "offset"; type: "QPointF" } + Parameter { name: "subRect"; type: "QRectF" } + } + Method { + name: "positionViewAtCell" + isCloned: true + Parameter { name: "cell"; type: "QPoint" } + Parameter { name: "mode"; type: "PositionMode" } + Parameter { name: "offset"; type: "QPointF" } + } + Method { + name: "positionViewAtCell" + isCloned: true + Parameter { name: "cell"; type: "QPoint" } + Parameter { name: "mode"; type: "PositionMode" } + } + Method { + name: "positionViewAtIndex" + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "mode"; type: "PositionMode" } + Parameter { name: "offset"; type: "QPointF" } + Parameter { name: "subRect"; type: "QRectF" } + } + Method { + name: "positionViewAtIndex" + isCloned: true + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "mode"; type: "PositionMode" } + Parameter { name: "offset"; type: "QPointF" } + } + Method { + name: "positionViewAtIndex" + isCloned: true + Parameter { name: "index"; type: "QModelIndex" } + Parameter { name: "mode"; type: "PositionMode" } + } + Method { + name: "positionViewAtRow" + Parameter { name: "row"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + Parameter { name: "offset"; type: "double" } + Parameter { name: "subRect"; type: "QRectF" } + } + Method { + name: "positionViewAtRow" + isCloned: true + Parameter { name: "row"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + Parameter { name: "offset"; type: "double" } + } + Method { + name: "positionViewAtRow" + isCloned: true + Parameter { name: "row"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + } + Method { + name: "positionViewAtColumn" + Parameter { name: "column"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + Parameter { name: "offset"; type: "double" } + Parameter { name: "subRect"; type: "QRectF" } + } + Method { + name: "positionViewAtColumn" + isCloned: true + Parameter { name: "column"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + Parameter { name: "offset"; type: "double" } + } + Method { + name: "positionViewAtColumn" + isCloned: true + Parameter { name: "column"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + } + Method { + name: "itemAtCell" + type: "QQuickItem" + isPointer: true + Parameter { name: "cell"; type: "QPoint" } + } + Method { + name: "cellAtPosition" + revision: 1540 + type: "QPoint" + Parameter { name: "position"; type: "QPointF" } + Parameter { name: "includeSpacing"; type: "bool" } + } + Method { + name: "cellAtPosition" + revision: 1540 + type: "QPoint" + isCloned: true + Parameter { name: "position"; type: "QPointF" } + } + Method { + name: "cellAtPosition" + revision: 1540 + type: "QPoint" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "includeSpacing"; type: "bool" } + } + Method { + name: "cellAtPosition" + revision: 1540 + type: "QPoint" + isCloned: true + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "modelIndex" + revision: 1540 + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "cellAtPos" + type: "QPoint" + Parameter { name: "position"; type: "QPointF" } + Parameter { name: "includeSpacing"; type: "bool" } + } + Method { + name: "cellAtPos" + type: "QPoint" + isCloned: true + Parameter { name: "position"; type: "QPointF" } + } + Method { + name: "cellAtPos" + type: "QPoint" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + Parameter { name: "includeSpacing"; type: "bool" } + } + Method { + name: "cellAtPos" + type: "QPoint" + isCloned: true + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "isColumnLoaded" + revision: 1538 + type: "bool" + Parameter { name: "column"; type: "int" } + } + Method { + name: "isRowLoaded" + revision: 1538 + type: "bool" + Parameter { name: "row"; type: "int" } + } + Method { + name: "columnWidth" + revision: 1538 + type: "double" + Parameter { name: "column"; type: "int" } + } + Method { + name: "rowHeight" + revision: 1538 + type: "double" + Parameter { name: "row"; type: "int" } + } + Method { + name: "implicitColumnWidth" + revision: 1538 + type: "double" + Parameter { name: "column"; type: "int" } + } + Method { + name: "implicitRowHeight" + revision: 1538 + type: "double" + Parameter { name: "row"; type: "int" } + } + Method { + name: "index" + revision: 1540 + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + Method { + name: "modelIndex" + revision: 1540 + type: "QModelIndex" + Parameter { name: "cell"; type: "QPoint" } + } + Method { + name: "cellAtIndex" + revision: 1540 + type: "QPoint" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "rowAtIndex" + revision: 1540 + type: "int" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "columnAtIndex" + revision: 1540 + type: "int" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "setColumnWidth" + revision: 1541 + Parameter { name: "column"; type: "int" } + Parameter { name: "size"; type: "double" } + } + Method { name: "clearColumnWidths"; revision: 1541 } + Method { + name: "explicitColumnWidth" + revision: 1541 + type: "double" + Parameter { name: "column"; type: "int" } + } + Method { + name: "setRowHeight" + revision: 1541 + Parameter { name: "row"; type: "int" } + Parameter { name: "size"; type: "double" } + } + Method { name: "clearRowHeights"; revision: 1541 } + Method { + name: "explicitRowHeight" + revision: 1541 + type: "double" + Parameter { name: "row"; type: "int" } + } + Method { + name: "edit" + revision: 1541 + Parameter { name: "index"; type: "QModelIndex" } + } + Method { name: "closeEditor"; revision: 1541 } + Method { + name: "itemAtIndex" + revision: 1541 + type: "QQuickItem" + isPointer: true + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "itemAtCell" + type: "QQuickItem" + isPointer: true + Parameter { name: "column"; type: "int" } + Parameter { name: "row"; type: "int" } + } + Method { + name: "positionViewAtCell" + Parameter { name: "column"; type: "int" } + Parameter { name: "row"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + Parameter { name: "offset"; type: "QPointF" } + Parameter { name: "subRect"; type: "QRectF" } + } + Method { + name: "positionViewAtCell" + isCloned: true + Parameter { name: "column"; type: "int" } + Parameter { name: "row"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + Parameter { name: "offset"; type: "QPointF" } + } + Method { + name: "positionViewAtCell" + isCloned: true + Parameter { name: "column"; type: "int" } + Parameter { name: "row"; type: "int" } + Parameter { name: "mode"; type: "PositionMode" } + } + } + Component { + file: "private/qquicktableview_p.h" + name: "QQuickTableViewAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "view" + type: "QQuickTableView" + isPointer: true + read: "view" + notify: "viewChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "editDelegate" + type: "QQmlComponent" + isPointer: true + read: "editDelegate" + write: "setEditDelegate" + notify: "editDelegateChanged" + index: 1 + isFinal: true + } + Signal { name: "viewChanged" } + Signal { name: "pooled" } + Signal { name: "reused" } + Signal { name: "editDelegateChanged" } + Signal { name: "commit" } + } + Component { + file: "private/qquicktaphandler_p.h" + name: "QQuickTapHandler" + accessSemantics: "reference" + prototype: "QQuickSinglePointHandler" + exports: [ + "QtQuick/TapHandler 2.12", + "QtQuick/TapHandler 2.15", + "QtQuick/TapHandler 6.0", + "QtQuick/TapHandler 6.3", + "QtQuick/TapHandler 6.5" + ] + exportMetaObjectRevisions: [524, 527, 1536, 1539, 1541] + Enum { + name: "GesturePolicy" + values: [ + "DragThreshold", + "WithinBounds", + "ReleaseWithinBounds", + "DragWithinBounds" + ] + } + Enum { + name: "ExclusiveSignals" + alias: "ExclusiveSignal" + isFlag: true + values: ["NotExclusive", "SingleTap", "DoubleTap"] + } + Property { + name: "pressed" + type: "bool" + read: "isPressed" + notify: "pressedChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "tapCount" + type: "int" + read: "tapCount" + notify: "tapCountChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "timeHeld" + type: "double" + read: "timeHeld" + notify: "timeHeldChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "longPressThreshold" + type: "double" + read: "longPressThreshold" + write: "setLongPressThreshold" + reset: "resetLongPressThreshold" + notify: "longPressThresholdChanged" + index: 3 + isFinal: true + } + Property { + name: "gesturePolicy" + type: "GesturePolicy" + read: "gesturePolicy" + write: "setGesturePolicy" + notify: "gesturePolicyChanged" + index: 4 + isFinal: true + } + Property { + name: "exclusiveSignals" + revision: 1541 + type: "QQuickTapHandler::ExclusiveSignals" + read: "exclusiveSignals" + write: "setExclusiveSignals" + notify: "exclusiveSignalsChanged" + index: 5 + isFinal: true + } + Signal { name: "pressedChanged" } + Signal { name: "tapCountChanged" } + Signal { name: "timeHeldChanged" } + Signal { name: "longPressThresholdChanged" } + Signal { name: "gesturePolicyChanged" } + Signal { name: "exclusiveSignalsChanged"; revision: 1541 } + Signal { + name: "tapped" + Parameter { name: "eventPoint"; type: "QEventPoint" } + Parameter { type: "Qt::MouseButton" } + } + Signal { + name: "singleTapped" + Parameter { name: "eventPoint"; type: "QEventPoint" } + Parameter { type: "Qt::MouseButton" } + } + Signal { + name: "doubleTapped" + Parameter { name: "eventPoint"; type: "QEventPoint" } + Parameter { type: "Qt::MouseButton" } + } + Signal { name: "longPressed" } + } + Component { + file: "private/qquicktext_p.h" + name: "QQuickText" + accessSemantics: "reference" + prototype: "QQuickImplicitSizeItem" + interfaces: ["QQuickTextInterface"] + exports: [ + "QtQuick/Text 2.0", + "QtQuick/Text 2.1", + "QtQuick/Text 2.2", + "QtQuick/Text 2.3", + "QtQuick/Text 2.4", + "QtQuick/Text 2.6", + "QtQuick/Text 2.7", + "QtQuick/Text 2.9", + "QtQuick/Text 2.10", + "QtQuick/Text 2.11", + "QtQuick/Text 6.0", + "QtQuick/Text 6.2", + "QtQuick/Text 6.3" + ] + exportMetaObjectRevisions: [ + 512, + 513, + 514, + 515, + 516, + 518, + 519, + 521, + 522, + 523, + 1536, + 1538, + 1539 + ] + Enum { + name: "HAlignment" + values: [ + "AlignLeft", + "AlignRight", + "AlignHCenter", + "AlignJustify" + ] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Enum { + name: "TextStyle" + values: ["Normal", "Outline", "Raised", "Sunken"] + } + Enum { + name: "TextFormat" + values: [ + "PlainText", + "RichText", + "MarkdownText", + "AutoText", + "StyledText" + ] + } + Enum { + name: "TextElideMode" + values: ["ElideLeft", "ElideRight", "ElideMiddle", "ElideNone"] + } + Enum { + name: "WrapMode" + values: [ + "NoWrap", + "WordWrap", + "WrapAnywhere", + "WrapAtWordBoundaryOrAnywhere", + "Wrap" + ] + } + Enum { + name: "RenderType" + values: ["QtRendering", "NativeRendering"] + } + Enum { + name: "RenderTypeQuality" + values: [ + "DefaultRenderTypeQuality", + "LowRenderTypeQuality", + "NormalRenderTypeQuality", + "HighRenderTypeQuality", + "VeryHighRenderTypeQuality" + ] + } + Enum { + name: "LineHeightMode" + values: ["ProportionalHeight", "FixedHeight"] + } + Enum { + name: "FontSizeMode" + values: ["FixedSize", "HorizontalFit", "VerticalFit", "Fit"] + } + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + notify: "textChanged" + index: 0 + } + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + notify: "fontChanged" + index: 1 + } + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 2 + isFinal: true + } + Property { + name: "linkColor" + type: "QColor" + read: "linkColor" + write: "setLinkColor" + notify: "linkColorChanged" + index: 3 + isFinal: true + } + Property { + name: "style" + type: "TextStyle" + read: "style" + write: "setStyle" + notify: "styleChanged" + index: 4 + isFinal: true + } + Property { + name: "styleColor" + type: "QColor" + read: "styleColor" + write: "setStyleColor" + notify: "styleColorChanged" + index: 5 + isFinal: true + } + Property { + name: "horizontalAlignment" + type: "HAlignment" + read: "hAlign" + write: "setHAlign" + reset: "resetHAlign" + notify: "horizontalAlignmentChanged" + index: 6 + isFinal: true + } + Property { + name: "effectiveHorizontalAlignment" + type: "HAlignment" + read: "effectiveHAlign" + notify: "effectiveHorizontalAlignmentChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "verticalAlignment" + type: "VAlignment" + read: "vAlign" + write: "setVAlign" + notify: "verticalAlignmentChanged" + index: 8 + isFinal: true + } + Property { + name: "wrapMode" + type: "WrapMode" + read: "wrapMode" + write: "setWrapMode" + notify: "wrapModeChanged" + index: 9 + isFinal: true + } + Property { + name: "lineCount" + type: "int" + read: "lineCount" + notify: "lineCountChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "truncated" + type: "bool" + read: "truncated" + notify: "truncatedChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "maximumLineCount" + type: "int" + read: "maximumLineCount" + write: "setMaximumLineCount" + reset: "resetMaximumLineCount" + notify: "maximumLineCountChanged" + index: 12 + isFinal: true + } + Property { + name: "textFormat" + type: "TextFormat" + read: "textFormat" + write: "setTextFormat" + notify: "textFormatChanged" + index: 13 + isFinal: true + } + Property { + name: "elide" + type: "TextElideMode" + read: "elideMode" + write: "setElideMode" + notify: "elideModeChanged" + index: 14 + isFinal: true + } + Property { + name: "contentWidth" + type: "double" + read: "contentWidth" + notify: "contentWidthChanged" + index: 15 + isReadonly: true + isFinal: true + } + Property { + name: "contentHeight" + type: "double" + read: "contentHeight" + notify: "contentHeightChanged" + index: 16 + isReadonly: true + isFinal: true + } + Property { + name: "paintedWidth" + type: "double" + read: "contentWidth" + notify: "contentWidthChanged" + index: 17 + isReadonly: true + isFinal: true + } + Property { + name: "paintedHeight" + type: "double" + read: "contentHeight" + notify: "contentHeightChanged" + index: 18 + isReadonly: true + isFinal: true + } + Property { + name: "lineHeight" + type: "double" + read: "lineHeight" + write: "setLineHeight" + notify: "lineHeightChanged" + index: 19 + isFinal: true + } + Property { + name: "lineHeightMode" + type: "LineHeightMode" + read: "lineHeightMode" + write: "setLineHeightMode" + notify: "lineHeightModeChanged" + index: 20 + isFinal: true + } + Property { + name: "baseUrl" + type: "QUrl" + read: "baseUrl" + write: "setBaseUrl" + reset: "resetBaseUrl" + notify: "baseUrlChanged" + index: 21 + isFinal: true + } + Property { + name: "minimumPixelSize" + type: "int" + read: "minimumPixelSize" + write: "setMinimumPixelSize" + notify: "minimumPixelSizeChanged" + index: 22 + isFinal: true + } + Property { + name: "minimumPointSize" + type: "int" + read: "minimumPointSize" + write: "setMinimumPointSize" + notify: "minimumPointSizeChanged" + index: 23 + isFinal: true + } + Property { + name: "fontSizeMode" + type: "FontSizeMode" + read: "fontSizeMode" + write: "setFontSizeMode" + notify: "fontSizeModeChanged" + index: 24 + isFinal: true + } + Property { + name: "renderType" + type: "RenderType" + read: "renderType" + write: "setRenderType" + notify: "renderTypeChanged" + index: 25 + isFinal: true + } + Property { + name: "hoveredLink" + revision: 514 + type: "QString" + read: "hoveredLink" + notify: "linkHovered" + index: 26 + isReadonly: true + isFinal: true + } + Property { + name: "renderTypeQuality" + revision: 1536 + type: "int" + read: "renderTypeQuality" + write: "setRenderTypeQuality" + notify: "renderTypeQualityChanged" + index: 27 + isFinal: true + } + Property { + name: "padding" + revision: 518 + type: "double" + read: "padding" + write: "setPadding" + reset: "resetPadding" + notify: "paddingChanged" + index: 28 + isFinal: true + } + Property { + name: "topPadding" + revision: 518 + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + notify: "topPaddingChanged" + index: 29 + isFinal: true + } + Property { + name: "leftPadding" + revision: 518 + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + notify: "leftPaddingChanged" + index: 30 + isFinal: true + } + Property { + name: "rightPadding" + revision: 518 + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + notify: "rightPaddingChanged" + index: 31 + isFinal: true + } + Property { + name: "bottomPadding" + revision: 518 + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + notify: "bottomPaddingChanged" + index: 32 + isFinal: true + } + Property { + name: "fontInfo" + revision: 521 + type: "QJSValue" + read: "fontInfo" + notify: "fontInfoChanged" + index: 33 + isReadonly: true + isFinal: true + } + Property { + name: "advance" + revision: 522 + type: "QSizeF" + read: "advance" + notify: "contentSizeChanged" + index: 34 + isReadonly: true + isFinal: true + } + Signal { + name: "textChanged" + Parameter { name: "text"; type: "QString" } + } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "QString" } + } + Signal { + name: "linkHovered" + revision: 514 + Parameter { name: "link"; type: "QString" } + } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { name: "colorChanged" } + Signal { name: "linkColorChanged" } + Signal { + name: "styleChanged" + Parameter { name: "style"; type: "QQuickText::TextStyle" } + } + Signal { name: "styleColorChanged" } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickText::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickText::VAlignment" } + } + Signal { name: "wrapModeChanged" } + Signal { name: "lineCountChanged" } + Signal { name: "truncatedChanged" } + Signal { name: "maximumLineCountChanged" } + Signal { + name: "textFormatChanged" + Parameter { name: "textFormat"; type: "QQuickText::TextFormat" } + } + Signal { + name: "elideModeChanged" + Parameter { name: "mode"; type: "QQuickText::TextElideMode" } + } + Signal { name: "contentSizeChanged" } + Signal { + name: "contentWidthChanged" + Parameter { name: "contentWidth"; type: "double" } + } + Signal { + name: "contentHeightChanged" + Parameter { name: "contentHeight"; type: "double" } + } + Signal { + name: "lineHeightChanged" + Parameter { name: "lineHeight"; type: "double" } + } + Signal { + name: "lineHeightModeChanged" + Parameter { name: "mode"; type: "LineHeightMode" } + } + Signal { name: "fontSizeModeChanged" } + Signal { name: "minimumPixelSizeChanged" } + Signal { name: "minimumPointSizeChanged" } + Signal { name: "effectiveHorizontalAlignmentChanged" } + Signal { + name: "lineLaidOut" + Parameter { name: "line"; type: "QQuickTextLine"; isPointer: true } + } + Signal { name: "baseUrlChanged" } + Signal { name: "renderTypeChanged" } + Signal { name: "paddingChanged"; revision: 518 } + Signal { name: "topPaddingChanged"; revision: 518 } + Signal { name: "leftPaddingChanged"; revision: 518 } + Signal { name: "rightPaddingChanged"; revision: 518 } + Signal { name: "bottomPaddingChanged"; revision: 518 } + Signal { name: "fontInfoChanged"; revision: 521 } + Signal { name: "renderTypeQualityChanged"; revision: 1536 } + Method { name: "q_updateLayout" } + Method { name: "triggerPreprocess" } + Method { name: "imageDownloadFinished" } + Method { name: "forceLayout"; revision: 521 } + Method { + name: "linkAt" + revision: 515 + type: "QString" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + file: "qquicktextdocument.h" + name: "QQuickTextDocument" + accessSemantics: "reference" + prototype: "QObject" + } + Component { + file: "private/qquicktextedit_p.h" + name: "QQuickTextEdit" + accessSemantics: "reference" + prototype: "QQuickImplicitSizeItem" + interfaces: ["QQuickTextInterface"] + exports: ["QtQuick/TextEdit 6.4"] + exportMetaObjectRevisions: [1540] + Enum { + name: "HAlignment" + values: [ + "AlignLeft", + "AlignRight", + "AlignHCenter", + "AlignJustify" + ] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Enum { + name: "TextFormat" + values: ["PlainText", "RichText", "AutoText", "MarkdownText"] + } + Enum { + name: "WrapMode" + values: [ + "NoWrap", + "WordWrap", + "WrapAnywhere", + "WrapAtWordBoundaryOrAnywhere", + "Wrap" + ] + } + Enum { + name: "SelectionMode" + values: ["SelectCharacters", "SelectWords"] + } + Enum { + name: "RenderType" + values: ["QtRendering", "NativeRendering"] + } + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + notify: "textChanged" + index: 0 + isFinal: true + } + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 1 + isFinal: true + } + Property { + name: "selectionColor" + type: "QColor" + read: "selectionColor" + write: "setSelectionColor" + notify: "selectionColorChanged" + index: 2 + isFinal: true + } + Property { + name: "selectedTextColor" + type: "QColor" + read: "selectedTextColor" + write: "setSelectedTextColor" + notify: "selectedTextColorChanged" + index: 3 + isFinal: true + } + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + notify: "fontChanged" + index: 4 + } + Property { + name: "horizontalAlignment" + type: "HAlignment" + read: "hAlign" + write: "setHAlign" + reset: "resetHAlign" + notify: "horizontalAlignmentChanged" + index: 5 + isFinal: true + } + Property { + name: "effectiveHorizontalAlignment" + type: "HAlignment" + read: "effectiveHAlign" + notify: "effectiveHorizontalAlignmentChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "verticalAlignment" + type: "VAlignment" + read: "vAlign" + write: "setVAlign" + notify: "verticalAlignmentChanged" + index: 7 + isFinal: true + } + Property { + name: "wrapMode" + type: "WrapMode" + read: "wrapMode" + write: "setWrapMode" + notify: "wrapModeChanged" + index: 8 + isFinal: true + } + Property { + name: "lineCount" + type: "int" + read: "lineCount" + notify: "lineCountChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "length" + type: "int" + read: "length" + notify: "textChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "contentWidth" + type: "double" + read: "contentWidth" + notify: "contentSizeChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "contentHeight" + type: "double" + read: "contentHeight" + notify: "contentSizeChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "paintedWidth" + type: "double" + read: "contentWidth" + notify: "contentSizeChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "paintedHeight" + type: "double" + read: "contentHeight" + notify: "contentSizeChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "textFormat" + type: "TextFormat" + read: "textFormat" + write: "setTextFormat" + notify: "textFormatChanged" + index: 15 + isFinal: true + } + Property { + name: "readOnly" + type: "bool" + read: "isReadOnly" + write: "setReadOnly" + notify: "readOnlyChanged" + index: 16 + isFinal: true + } + Property { + name: "cursorVisible" + type: "bool" + read: "isCursorVisible" + write: "setCursorVisible" + notify: "cursorVisibleChanged" + index: 17 + isFinal: true + } + Property { + name: "cursorPosition" + type: "int" + read: "cursorPosition" + write: "setCursorPosition" + notify: "cursorPositionChanged" + index: 18 + isFinal: true + } + Property { + name: "cursorRectangle" + type: "QRectF" + read: "cursorRectangle" + notify: "cursorRectangleChanged" + index: 19 + isReadonly: true + isFinal: true + } + Property { + name: "cursorDelegate" + type: "QQmlComponent" + isPointer: true + read: "cursorDelegate" + write: "setCursorDelegate" + notify: "cursorDelegateChanged" + index: 20 + isFinal: true + } + Property { + name: "overwriteMode" + type: "bool" + read: "overwriteMode" + write: "setOverwriteMode" + notify: "overwriteModeChanged" + index: 21 + isFinal: true + } + Property { + name: "selectionStart" + type: "int" + read: "selectionStart" + notify: "selectionStartChanged" + index: 22 + isReadonly: true + isFinal: true + } + Property { + name: "selectionEnd" + type: "int" + read: "selectionEnd" + notify: "selectionEndChanged" + index: 23 + isReadonly: true + isFinal: true + } + Property { + name: "selectedText" + type: "QString" + read: "selectedText" + notify: "selectedTextChanged" + index: 24 + isReadonly: true + isFinal: true + } + Property { + name: "activeFocusOnPress" + type: "bool" + read: "focusOnPress" + write: "setFocusOnPress" + notify: "activeFocusOnPressChanged" + index: 25 + isFinal: true + } + Property { + name: "persistentSelection" + type: "bool" + read: "persistentSelection" + write: "setPersistentSelection" + notify: "persistentSelectionChanged" + index: 26 + isFinal: true + } + Property { + name: "textMargin" + type: "double" + read: "textMargin" + write: "setTextMargin" + notify: "textMarginChanged" + index: 27 + isFinal: true + } + Property { + name: "inputMethodHints" + type: "Qt::InputMethodHints" + read: "inputMethodHints" + write: "setInputMethodHints" + notify: "inputMethodHintsChanged" + index: 28 + isFinal: true + } + Property { + name: "selectByKeyboard" + revision: 513 + type: "bool" + read: "selectByKeyboard" + write: "setSelectByKeyboard" + notify: "selectByKeyboardChanged" + index: 29 + isFinal: true + } + Property { + name: "selectByMouse" + type: "bool" + read: "selectByMouse" + write: "setSelectByMouse" + notify: "selectByMouseChanged" + index: 30 + isFinal: true + } + Property { + name: "mouseSelectionMode" + type: "SelectionMode" + read: "mouseSelectionMode" + write: "setMouseSelectionMode" + notify: "mouseSelectionModeChanged" + index: 31 + isFinal: true + } + Property { + name: "canPaste" + type: "bool" + read: "canPaste" + notify: "canPasteChanged" + index: 32 + isReadonly: true + isFinal: true + } + Property { + name: "canUndo" + type: "bool" + read: "canUndo" + notify: "canUndoChanged" + index: 33 + isReadonly: true + isFinal: true + } + Property { + name: "canRedo" + type: "bool" + read: "canRedo" + notify: "canRedoChanged" + index: 34 + isReadonly: true + isFinal: true + } + Property { + name: "inputMethodComposing" + type: "bool" + read: "isInputMethodComposing" + notify: "inputMethodComposingChanged" + index: 35 + isReadonly: true + isFinal: true + } + Property { + name: "baseUrl" + type: "QUrl" + read: "baseUrl" + write: "setBaseUrl" + reset: "resetBaseUrl" + notify: "baseUrlChanged" + index: 36 + isFinal: true + } + Property { + name: "renderType" + type: "RenderType" + read: "renderType" + write: "setRenderType" + notify: "renderTypeChanged" + index: 37 + isFinal: true + } + Property { + name: "textDocument" + revision: 513 + type: "QQuickTextDocument" + isPointer: true + read: "textDocument" + index: 38 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "hoveredLink" + revision: 514 + type: "QString" + read: "hoveredLink" + notify: "linkHovered" + index: 39 + isReadonly: true + isFinal: true + } + Property { + name: "padding" + revision: 518 + type: "double" + read: "padding" + write: "setPadding" + reset: "resetPadding" + notify: "paddingChanged" + index: 40 + isFinal: true + } + Property { + name: "topPadding" + revision: 518 + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + notify: "topPaddingChanged" + index: 41 + isFinal: true + } + Property { + name: "leftPadding" + revision: 518 + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + notify: "leftPaddingChanged" + index: 42 + isFinal: true + } + Property { + name: "rightPadding" + revision: 518 + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + notify: "rightPaddingChanged" + index: 43 + isFinal: true + } + Property { + name: "bottomPadding" + revision: 518 + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + notify: "bottomPaddingChanged" + index: 44 + isFinal: true + } + Property { + name: "preeditText" + revision: 519 + type: "QString" + read: "preeditText" + notify: "preeditTextChanged" + index: 45 + isReadonly: true + isFinal: true + } + Property { + name: "tabStopDistance" + revision: 522 + type: "double" + read: "tabStopDistance" + write: "setTabStopDistance" + notify: "tabStopDistanceChanged" + index: 46 + isFinal: true + } + Signal { name: "textChanged" } + Signal { name: "preeditTextChanged"; revision: 519 } + Signal { name: "contentSizeChanged" } + Signal { name: "cursorPositionChanged" } + Signal { name: "cursorRectangleChanged" } + Signal { name: "selectionStartChanged" } + Signal { name: "selectionEndChanged" } + Signal { name: "selectedTextChanged" } + Signal { + name: "colorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "selectionColorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "selectedTextColorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextEdit::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextEdit::VAlignment" } + } + Signal { name: "wrapModeChanged" } + Signal { name: "lineCountChanged" } + Signal { + name: "textFormatChanged" + Parameter { name: "textFormat"; type: "QQuickTextEdit::TextFormat" } + } + Signal { + name: "readOnlyChanged" + Parameter { name: "isReadOnly"; type: "bool" } + } + Signal { + name: "cursorVisibleChanged" + Parameter { name: "isCursorVisible"; type: "bool" } + } + Signal { name: "cursorDelegateChanged" } + Signal { + name: "overwriteModeChanged" + Parameter { name: "overwriteMode"; type: "bool" } + } + Signal { + name: "activeFocusOnPressChanged" + Parameter { name: "activeFocusOnPressed"; type: "bool" } + } + Signal { + name: "persistentSelectionChanged" + Parameter { name: "isPersistentSelection"; type: "bool" } + } + Signal { + name: "textMarginChanged" + Parameter { name: "textMargin"; type: "double" } + } + Signal { + name: "selectByKeyboardChanged" + revision: 513 + Parameter { name: "selectByKeyboard"; type: "bool" } + } + Signal { + name: "selectByMouseChanged" + Parameter { name: "selectByMouse"; type: "bool" } + } + Signal { + name: "mouseSelectionModeChanged" + Parameter { name: "mode"; type: "QQuickTextEdit::SelectionMode" } + } + Signal { + name: "linkActivated" + Parameter { name: "link"; type: "QString" } + } + Signal { + name: "linkHovered" + revision: 514 + Parameter { name: "link"; type: "QString" } + } + Signal { name: "canPasteChanged" } + Signal { name: "canUndoChanged" } + Signal { name: "canRedoChanged" } + Signal { name: "inputMethodComposingChanged" } + Signal { name: "effectiveHorizontalAlignmentChanged" } + Signal { name: "baseUrlChanged" } + Signal { name: "inputMethodHintsChanged" } + Signal { name: "renderTypeChanged" } + Signal { name: "editingFinished"; revision: 518 } + Signal { name: "paddingChanged"; revision: 518 } + Signal { name: "topPaddingChanged"; revision: 518 } + Signal { name: "leftPaddingChanged"; revision: 518 } + Signal { name: "rightPaddingChanged"; revision: 518 } + Signal { name: "bottomPaddingChanged"; revision: 518 } + Signal { + name: "tabStopDistanceChanged" + revision: 522 + Parameter { name: "distance"; type: "double" } + } + Method { name: "selectAll" } + Method { name: "selectWord" } + Method { + name: "select" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "deselect" } + Method { + name: "isRightToLeft" + type: "bool" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "cut" } + Method { name: "copy" } + Method { name: "paste" } + Method { name: "undo" } + Method { name: "redo" } + Method { + name: "insert" + Parameter { name: "position"; type: "int" } + Parameter { name: "text"; type: "QString" } + } + Method { + name: "remove" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "append" + revision: 514 + Parameter { name: "text"; type: "QString" } + } + Method { name: "clear"; revision: 519 } + Method { name: "q_invalidate" } + Method { name: "q_textChanged" } + Method { + name: "q_contentsChange" + Parameter { type: "int" } + Parameter { type: "int" } + Parameter { type: "int" } + } + Method { name: "updateSelection" } + Method { name: "moveCursorDelegate" } + Method { name: "createCursor" } + Method { name: "q_canPasteChanged" } + Method { name: "updateWholeDocument" } + Method { + name: "invalidateBlock" + Parameter { name: "block"; type: "QTextBlock" } + } + Method { name: "updateCursor" } + Method { + name: "q_linkHovered" + Parameter { name: "link"; type: "QString" } + } + Method { + name: "q_markerHovered" + Parameter { name: "hovered"; type: "bool" } + } + Method { name: "q_updateAlignment" } + Method { name: "updateSize" } + Method { name: "triggerPreprocess" } + Method { + name: "inputMethodQuery" + revision: 516 + type: "QVariant" + Parameter { name: "query"; type: "Qt::InputMethodQuery" } + Parameter { name: "argument"; type: "QVariant" } + } + Method { + name: "positionToRectangle" + type: "QRectF" + Parameter { type: "int" } + } + Method { + name: "positionAt" + type: "int" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + Parameter { name: "mode"; type: "SelectionMode" } + } + Method { + name: "getText" + type: "QString" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "getFormattedText" + type: "QString" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "linkAt" + revision: 515 + type: "QString" + Parameter { name: "x"; type: "double" } + Parameter { name: "y"; type: "double" } + } + } + Component { + file: "private/qquicktextinput_p.h" + name: "QQuickTextInput" + accessSemantics: "reference" + prototype: "QQuickImplicitSizeItem" + interfaces: ["QQuickTextInterface"] + exports: ["QtQuick/TextInput 6.4"] + exportMetaObjectRevisions: [1540] + Enum { + name: "EchoMode" + values: ["Normal", "NoEcho", "Password", "PasswordEchoOnEdit"] + } + Enum { + name: "HAlignment" + values: ["AlignLeft", "AlignRight", "AlignHCenter"] + } + Enum { + name: "VAlignment" + values: ["AlignTop", "AlignBottom", "AlignVCenter"] + } + Enum { + name: "WrapMode" + values: [ + "NoWrap", + "WordWrap", + "WrapAnywhere", + "WrapAtWordBoundaryOrAnywhere", + "Wrap" + ] + } + Enum { + name: "SelectionMode" + values: ["SelectCharacters", "SelectWords"] + } + Enum { + name: "CursorPosition" + values: ["CursorBetweenCharacters", "CursorOnCharacter"] + } + Enum { + name: "RenderType" + values: ["QtRendering", "NativeRendering"] + } + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + notify: "textChanged" + index: 0 + isFinal: true + } + Property { + name: "length" + type: "int" + read: "length" + notify: "textChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 2 + isFinal: true + } + Property { + name: "selectionColor" + type: "QColor" + read: "selectionColor" + write: "setSelectionColor" + notify: "selectionColorChanged" + index: 3 + isFinal: true + } + Property { + name: "selectedTextColor" + type: "QColor" + read: "selectedTextColor" + write: "setSelectedTextColor" + notify: "selectedTextColorChanged" + index: 4 + isFinal: true + } + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + notify: "fontChanged" + index: 5 + } + Property { + name: "horizontalAlignment" + type: "HAlignment" + read: "hAlign" + write: "setHAlign" + reset: "resetHAlign" + notify: "horizontalAlignmentChanged" + index: 6 + isFinal: true + } + Property { + name: "effectiveHorizontalAlignment" + type: "HAlignment" + read: "effectiveHAlign" + notify: "effectiveHorizontalAlignmentChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "verticalAlignment" + type: "VAlignment" + read: "vAlign" + write: "setVAlign" + notify: "verticalAlignmentChanged" + index: 8 + isFinal: true + } + Property { + name: "wrapMode" + type: "WrapMode" + read: "wrapMode" + write: "setWrapMode" + notify: "wrapModeChanged" + index: 9 + isFinal: true + } + Property { + name: "readOnly" + type: "bool" + read: "isReadOnly" + write: "setReadOnly" + notify: "readOnlyChanged" + index: 10 + isFinal: true + } + Property { + name: "cursorVisible" + type: "bool" + read: "isCursorVisible" + write: "setCursorVisible" + notify: "cursorVisibleChanged" + index: 11 + isFinal: true + } + Property { + name: "cursorPosition" + type: "int" + read: "cursorPosition" + write: "setCursorPosition" + notify: "cursorPositionChanged" + index: 12 + isFinal: true + } + Property { + name: "cursorRectangle" + type: "QRectF" + read: "cursorRectangle" + notify: "cursorRectangleChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "cursorDelegate" + type: "QQmlComponent" + isPointer: true + read: "cursorDelegate" + write: "setCursorDelegate" + notify: "cursorDelegateChanged" + index: 14 + isFinal: true + } + Property { + name: "overwriteMode" + type: "bool" + read: "overwriteMode" + write: "setOverwriteMode" + notify: "overwriteModeChanged" + index: 15 + isFinal: true + } + Property { + name: "selectionStart" + type: "int" + read: "selectionStart" + notify: "selectionStartChanged" + index: 16 + isReadonly: true + isFinal: true + } + Property { + name: "selectionEnd" + type: "int" + read: "selectionEnd" + notify: "selectionEndChanged" + index: 17 + isReadonly: true + isFinal: true + } + Property { + name: "selectedText" + type: "QString" + read: "selectedText" + notify: "selectedTextChanged" + index: 18 + isReadonly: true + isFinal: true + } + Property { + name: "maximumLength" + type: "int" + read: "maxLength" + write: "setMaxLength" + notify: "maximumLengthChanged" + index: 19 + isFinal: true + } + Property { + name: "validator" + type: "QValidator" + isPointer: true + read: "validator" + write: "setValidator" + notify: "validatorChanged" + index: 20 + isFinal: true + } + Property { + name: "inputMask" + type: "QString" + read: "inputMask" + write: "setInputMask" + notify: "inputMaskChanged" + index: 21 + isFinal: true + } + Property { + name: "inputMethodHints" + type: "Qt::InputMethodHints" + read: "inputMethodHints" + write: "setInputMethodHints" + notify: "inputMethodHintsChanged" + index: 22 + isFinal: true + } + Property { + name: "acceptableInput" + type: "bool" + read: "hasAcceptableInput" + notify: "acceptableInputChanged" + index: 23 + isReadonly: true + isFinal: true + } + Property { + name: "echoMode" + type: "EchoMode" + read: "echoMode" + write: "setEchoMode" + notify: "echoModeChanged" + index: 24 + isFinal: true + } + Property { + name: "activeFocusOnPress" + type: "bool" + read: "focusOnPress" + write: "setFocusOnPress" + notify: "activeFocusOnPressChanged" + index: 25 + isFinal: true + } + Property { + name: "passwordCharacter" + type: "QString" + read: "passwordCharacter" + write: "setPasswordCharacter" + notify: "passwordCharacterChanged" + index: 26 + isFinal: true + } + Property { + name: "passwordMaskDelay" + revision: 516 + type: "int" + read: "passwordMaskDelay" + write: "setPasswordMaskDelay" + reset: "resetPasswordMaskDelay" + notify: "passwordMaskDelayChanged" + index: 27 + isFinal: true + } + Property { + name: "displayText" + type: "QString" + read: "displayText" + notify: "displayTextChanged" + index: 28 + isReadonly: true + isFinal: true + } + Property { + name: "preeditText" + revision: 519 + type: "QString" + read: "preeditText" + notify: "preeditTextChanged" + index: 29 + isReadonly: true + isFinal: true + } + Property { + name: "autoScroll" + type: "bool" + read: "autoScroll" + write: "setAutoScroll" + notify: "autoScrollChanged" + index: 30 + isFinal: true + } + Property { + name: "selectByMouse" + type: "bool" + read: "selectByMouse" + write: "setSelectByMouse" + notify: "selectByMouseChanged" + index: 31 + isFinal: true + } + Property { + name: "mouseSelectionMode" + type: "SelectionMode" + read: "mouseSelectionMode" + write: "setMouseSelectionMode" + notify: "mouseSelectionModeChanged" + index: 32 + isFinal: true + } + Property { + name: "persistentSelection" + type: "bool" + read: "persistentSelection" + write: "setPersistentSelection" + notify: "persistentSelectionChanged" + index: 33 + isFinal: true + } + Property { + name: "canPaste" + type: "bool" + read: "canPaste" + notify: "canPasteChanged" + index: 34 + isReadonly: true + isFinal: true + } + Property { + name: "canUndo" + type: "bool" + read: "canUndo" + notify: "canUndoChanged" + index: 35 + isReadonly: true + isFinal: true + } + Property { + name: "canRedo" + type: "bool" + read: "canRedo" + notify: "canRedoChanged" + index: 36 + isReadonly: true + isFinal: true + } + Property { + name: "inputMethodComposing" + type: "bool" + read: "isInputMethodComposing" + notify: "inputMethodComposingChanged" + index: 37 + isReadonly: true + isFinal: true + } + Property { + name: "contentWidth" + type: "double" + read: "contentWidth" + notify: "contentSizeChanged" + index: 38 + isReadonly: true + isFinal: true + } + Property { + name: "contentHeight" + type: "double" + read: "contentHeight" + notify: "contentSizeChanged" + index: 39 + isReadonly: true + isFinal: true + } + Property { + name: "renderType" + type: "RenderType" + read: "renderType" + write: "setRenderType" + notify: "renderTypeChanged" + index: 40 + isFinal: true + } + Property { + name: "padding" + revision: 518 + type: "double" + read: "padding" + write: "setPadding" + reset: "resetPadding" + notify: "paddingChanged" + index: 41 + isFinal: true + } + Property { + name: "topPadding" + revision: 518 + type: "double" + read: "topPadding" + write: "setTopPadding" + reset: "resetTopPadding" + notify: "topPaddingChanged" + index: 42 + isFinal: true + } + Property { + name: "leftPadding" + revision: 518 + type: "double" + read: "leftPadding" + write: "setLeftPadding" + reset: "resetLeftPadding" + notify: "leftPaddingChanged" + index: 43 + isFinal: true + } + Property { + name: "rightPadding" + revision: 518 + type: "double" + read: "rightPadding" + write: "setRightPadding" + reset: "resetRightPadding" + notify: "rightPaddingChanged" + index: 44 + isFinal: true + } + Property { + name: "bottomPadding" + revision: 518 + type: "double" + read: "bottomPadding" + write: "setBottomPadding" + reset: "resetBottomPadding" + notify: "bottomPaddingChanged" + index: 45 + isFinal: true + } + Signal { name: "textChanged" } + Signal { name: "cursorPositionChanged" } + Signal { name: "cursorRectangleChanged" } + Signal { name: "selectionStartChanged" } + Signal { name: "selectionEndChanged" } + Signal { name: "selectedTextChanged" } + Signal { name: "accepted" } + Signal { name: "acceptableInputChanged" } + Signal { name: "editingFinished"; revision: 514 } + Signal { name: "textEdited"; revision: 521 } + Signal { name: "colorChanged" } + Signal { name: "selectionColorChanged" } + Signal { name: "selectedTextColorChanged" } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "horizontalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextInput::HAlignment" } + } + Signal { + name: "verticalAlignmentChanged" + Parameter { name: "alignment"; type: "QQuickTextInput::VAlignment" } + } + Signal { name: "wrapModeChanged" } + Signal { + name: "readOnlyChanged" + Parameter { name: "isReadOnly"; type: "bool" } + } + Signal { + name: "cursorVisibleChanged" + Parameter { name: "isCursorVisible"; type: "bool" } + } + Signal { name: "cursorDelegateChanged" } + Signal { + name: "overwriteModeChanged" + Parameter { name: "overwriteMode"; type: "bool" } + } + Signal { + name: "maximumLengthChanged" + Parameter { name: "maximumLength"; type: "int" } + } + Signal { name: "validatorChanged" } + Signal { + name: "inputMaskChanged" + Parameter { name: "inputMask"; type: "QString" } + } + Signal { + name: "echoModeChanged" + Parameter { name: "echoMode"; type: "QQuickTextInput::EchoMode" } + } + Signal { name: "passwordCharacterChanged" } + Signal { + name: "passwordMaskDelayChanged" + revision: 516 + Parameter { name: "delay"; type: "int" } + } + Signal { name: "displayTextChanged" } + Signal { name: "preeditTextChanged"; revision: 519 } + Signal { + name: "activeFocusOnPressChanged" + Parameter { name: "activeFocusOnPress"; type: "bool" } + } + Signal { + name: "autoScrollChanged" + Parameter { name: "autoScroll"; type: "bool" } + } + Signal { + name: "selectByMouseChanged" + Parameter { name: "selectByMouse"; type: "bool" } + } + Signal { + name: "mouseSelectionModeChanged" + Parameter { name: "mode"; type: "QQuickTextInput::SelectionMode" } + } + Signal { name: "persistentSelectionChanged" } + Signal { name: "canPasteChanged" } + Signal { name: "canUndoChanged" } + Signal { name: "canRedoChanged" } + Signal { name: "inputMethodComposingChanged" } + Signal { name: "effectiveHorizontalAlignmentChanged" } + Signal { name: "contentSizeChanged" } + Signal { name: "inputMethodHintsChanged" } + Signal { name: "renderTypeChanged" } + Signal { name: "paddingChanged"; revision: 518 } + Signal { name: "topPaddingChanged"; revision: 518 } + Signal { name: "leftPaddingChanged"; revision: 518 } + Signal { name: "rightPaddingChanged"; revision: 518 } + Signal { name: "bottomPaddingChanged"; revision: 518 } + Method { name: "selectAll" } + Method { name: "selectWord" } + Method { + name: "select" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "deselect" } + Method { + name: "isRightToLeft" + type: "bool" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { name: "cut" } + Method { name: "copy" } + Method { name: "paste" } + Method { name: "undo" } + Method { name: "redo" } + Method { + name: "insert" + Parameter { name: "position"; type: "int" } + Parameter { name: "text"; type: "QString" } + } + Method { + name: "remove" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + Method { + name: "ensureVisible" + revision: 516 + Parameter { name: "position"; type: "int" } + } + Method { name: "clear"; revision: 519 } + Method { name: "selectionChanged" } + Method { name: "createCursor" } + Method { + name: "updateCursorRectangle" + Parameter { name: "scroll"; type: "bool" } + } + Method { name: "updateCursorRectangle"; isCloned: true } + Method { name: "q_canPasteChanged" } + Method { name: "q_updateAlignment" } + Method { name: "triggerPreprocess" } + Method { name: "q_validatorChanged" } + Method { name: "positionAt"; isJavaScriptFunction: true } + Method { + name: "positionToRectangle" + type: "QRectF" + Parameter { name: "pos"; type: "int" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + } + Method { + name: "moveCursorSelection" + Parameter { name: "pos"; type: "int" } + Parameter { name: "mode"; type: "SelectionMode" } + } + Method { + name: "inputMethodQuery" + revision: 516 + type: "QVariant" + Parameter { name: "query"; type: "Qt::InputMethodQuery" } + Parameter { name: "argument"; type: "QVariant" } + } + Method { + name: "getText" + type: "QString" + Parameter { name: "start"; type: "int" } + Parameter { name: "end"; type: "int" } + } + } + Component { + file: "private/qquicktext_p.h" + name: "QQuickTextLine" + accessSemantics: "reference" + prototype: "QObject" + Property { name: "number"; type: "int"; read: "number"; index: 0; isReadonly: true; isFinal: true } + Property { name: "width"; type: "double"; read: "width"; write: "setWidth"; index: 1; isFinal: true } + Property { + name: "height" + type: "double" + read: "height" + write: "setHeight" + index: 2 + isFinal: true + } + Property { name: "x"; type: "double"; read: "x"; write: "setX"; index: 3; isFinal: true } + Property { name: "y"; type: "double"; read: "y"; write: "setY"; index: 4; isFinal: true } + Property { + name: "implicitWidth" + revision: 527 + type: "double" + read: "implicitWidth" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "isLast" + revision: 527 + type: "bool" + read: "isLast" + index: 6 + isReadonly: true + isFinal: true + } + } + Component { + file: "private/qquicktextmetrics_p.h" + name: "QQuickTextMetrics" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/TextMetrics 2.4", "QtQuick/TextMetrics 6.0"] + exportMetaObjectRevisions: [516, 1536] + Property { + name: "font" + type: "QFont" + read: "font" + write: "setFont" + notify: "fontChanged" + index: 0 + isFinal: true + } + Property { + name: "text" + type: "QString" + read: "text" + write: "setText" + notify: "textChanged" + index: 1 + isFinal: true + } + Property { + name: "advanceWidth" + type: "double" + read: "advanceWidth" + notify: "metricsChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "boundingRect" + type: "QRectF" + read: "boundingRect" + notify: "metricsChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "width" + type: "double" + read: "width" + notify: "metricsChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "height" + type: "double" + read: "height" + notify: "metricsChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "tightBoundingRect" + type: "QRectF" + read: "tightBoundingRect" + notify: "metricsChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "elidedText" + type: "QString" + read: "elidedText" + notify: "metricsChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "elide" + type: "Qt::TextElideMode" + read: "elide" + write: "setElide" + notify: "elideChanged" + index: 8 + isFinal: true + } + Property { + name: "elideWidth" + type: "double" + read: "elideWidth" + write: "setElideWidth" + notify: "elideWidthChanged" + index: 9 + isFinal: true + } + Property { + name: "renderType" + type: "QQuickText::RenderType" + read: "renderType" + write: "setRenderType" + notify: "renderTypeChanged" + index: 10 + } + Signal { name: "fontChanged" } + Signal { name: "textChanged" } + Signal { name: "elideChanged" } + Signal { name: "elideWidthChanged" } + Signal { name: "metricsChanged" } + Signal { name: "renderTypeChanged" } + } + Component { + file: "private/qquickmultipointtoucharea_p.h" + name: "QQuickTouchPoint" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtQuick/TouchPoint 2.0", + "QtQuick/TouchPoint 2.9", + "QtQuick/TouchPoint 6.0" + ] + exportMetaObjectRevisions: [512, 521, 1536] + Property { + name: "pointId" + type: "int" + read: "pointId" + notify: "pointIdChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "uniqueId" + revision: 521 + type: "QPointingDeviceUniqueId" + read: "uniqueId" + notify: "uniqueIdChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "pressed" + type: "bool" + read: "pressed" + notify: "pressedChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "x" + type: "double" + read: "x" + notify: "xChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "y" + type: "double" + read: "y" + notify: "yChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "ellipseDiameters" + revision: 521 + type: "QSizeF" + read: "ellipseDiameters" + notify: "ellipseDiametersChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "pressure" + type: "double" + read: "pressure" + notify: "pressureChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "rotation" + revision: 521 + type: "double" + read: "rotation" + notify: "rotationChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "velocity" + type: "QVector2D" + read: "velocity" + notify: "velocityChanged" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "area" + type: "QRectF" + read: "area" + notify: "areaChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "startX" + type: "double" + read: "startX" + notify: "startXChanged" + index: 10 + isReadonly: true + isFinal: true + } + Property { + name: "startY" + type: "double" + read: "startY" + notify: "startYChanged" + index: 11 + isReadonly: true + isFinal: true + } + Property { + name: "previousX" + type: "double" + read: "previousX" + notify: "previousXChanged" + index: 12 + isReadonly: true + isFinal: true + } + Property { + name: "previousY" + type: "double" + read: "previousY" + notify: "previousYChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "sceneX" + type: "double" + read: "sceneX" + notify: "sceneXChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "sceneY" + type: "double" + read: "sceneY" + notify: "sceneYChanged" + index: 15 + isReadonly: true + isFinal: true + } + Signal { name: "pressedChanged" } + Signal { name: "pointIdChanged" } + Signal { name: "uniqueIdChanged"; revision: 521 } + Signal { name: "xChanged" } + Signal { name: "yChanged" } + Signal { name: "ellipseDiametersChanged"; revision: 521 } + Signal { name: "pressureChanged" } + Signal { name: "rotationChanged"; revision: 521 } + Signal { name: "velocityChanged" } + Signal { name: "areaChanged" } + Signal { name: "startXChanged" } + Signal { name: "startYChanged" } + Signal { name: "previousXChanged" } + Signal { name: "previousYChanged" } + Signal { name: "sceneXChanged" } + Signal { name: "sceneYChanged" } + } + Component { + file: "qquickitem.h" + name: "QQuickTransform" + accessSemantics: "reference" + prototype: "QObject" + Method { name: "update" } + } + Component { + file: "private/qquicktransition_p.h" + name: "QQuickTransition" + accessSemantics: "reference" + defaultProperty: "animations" + prototype: "QObject" + deferredNames: ["animations"] + exports: ["QtQuick/Transition 2.0", "QtQuick/Transition 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "from" + type: "QString" + read: "fromState" + write: "setFromState" + notify: "fromChanged" + index: 0 + isFinal: true + } + Property { + name: "to" + type: "QString" + read: "toState" + write: "setToState" + notify: "toChanged" + index: 1 + isFinal: true + } + Property { + name: "reversible" + type: "bool" + read: "reversible" + write: "setReversible" + notify: "reversibleChanged" + index: 2 + isFinal: true + } + Property { + name: "running" + type: "bool" + read: "running" + notify: "runningChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "animations" + type: "QQuickAbstractAnimation" + isList: true + read: "animations" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "enabled" + type: "bool" + read: "enabled" + write: "setEnabled" + notify: "enabledChanged" + index: 5 + isFinal: true + } + Signal { name: "fromChanged" } + Signal { name: "toChanged" } + Signal { name: "reversibleChanged" } + Signal { name: "enabledChanged" } + Signal { name: "runningChanged" } + } + Component { + file: "private/qquicktranslate_p.h" + name: "QQuickTranslate" + accessSemantics: "reference" + prototype: "QQuickTransform" + exports: ["QtQuick/Translate 2.0", "QtQuick/Translate 6.0"] + exportMetaObjectRevisions: [512, 1536] + Property { + name: "x" + type: "double" + read: "x" + write: "setX" + notify: "xChanged" + index: 0 + isFinal: true + } + Property { + name: "y" + type: "double" + read: "y" + write: "setY" + notify: "yChanged" + index: 1 + isFinal: true + } + Signal { name: "xChanged" } + Signal { name: "yChanged" } + } + Component { + file: "private/qquicktreeview_p.h" + name: "QQuickTreeView" + accessSemantics: "reference" + prototype: "QQuickTableView" + exports: [ + "QtQuick/TreeView 6.3", + "QtQuick/TreeView 6.4", + "QtQuick/TreeView 6.5", + "QtQuick/TreeView 6.6" + ] + exportMetaObjectRevisions: [1539, 1540, 1541, 1542] + Property { + name: "rootIndex" + revision: 1542 + type: "QModelIndex" + read: "rootIndex" + write: "setRootIndex" + reset: "resetRootIndex" + notify: "rootIndexChanged" + index: 0 + isFinal: true + } + Signal { + name: "expanded" + Parameter { name: "row"; type: "int" } + Parameter { name: "depth"; type: "int" } + } + Signal { + name: "collapsed" + Parameter { name: "row"; type: "int" } + Parameter { name: "recursively"; type: "bool" } + } + Signal { name: "rootIndexChanged"; revision: 1542 } + Method { + name: "depth" + type: "int" + Parameter { name: "row"; type: "int" } + } + Method { + name: "isExpanded" + type: "bool" + Parameter { name: "row"; type: "int" } + } + Method { + name: "expand" + Parameter { name: "row"; type: "int" } + } + Method { + name: "collapse" + Parameter { name: "row"; type: "int" } + } + Method { + name: "toggleExpanded" + Parameter { name: "row"; type: "int" } + } + Method { + name: "expandRecursively" + revision: 1540 + Parameter { name: "row"; type: "int" } + Parameter { name: "depth"; type: "int" } + } + Method { + name: "expandRecursively" + revision: 1540 + isCloned: true + Parameter { name: "row"; type: "int" } + } + Method { name: "expandRecursively"; revision: 1540; isCloned: true } + Method { + name: "collapseRecursively" + revision: 1540 + Parameter { name: "row"; type: "int" } + } + Method { name: "collapseRecursively"; revision: 1540; isCloned: true } + Method { + name: "expandToIndex" + revision: 1540 + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "modelIndex" + type: "QModelIndex" + Parameter { name: "cell"; type: "QPoint" } + } + Method { + name: "cellAtIndex" + type: "QPoint" + Parameter { name: "index"; type: "QModelIndex" } + } + Method { + name: "modelIndex" + revision: 1540 + type: "QModelIndex" + Parameter { name: "row"; type: "int" } + Parameter { name: "column"; type: "int" } + } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickUniformAnimator" + accessSemantics: "reference" + prototype: "QQuickAnimator" + exports: [ + "QtQuick/UniformAnimator 2.2", + "QtQuick/UniformAnimator 2.12", + "QtQuick/UniformAnimator 6.0" + ] + exportMetaObjectRevisions: [514, 524, 1536] + Property { + name: "uniform" + type: "QString" + read: "uniform" + write: "setUniform" + notify: "uniformChanged" + index: 0 + isFinal: true + } + Signal { + name: "uniformChanged" + Parameter { type: "QString" } + } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QVector2D" + accessSemantics: "value" + extension: "QQuickVector2DValueType" + exports: ["QtQuick/vector2d 2.0", "QtQuick/vector2d 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickVector2DValueType" + accessSemantics: "value" + Property { name: "x"; type: "double"; read: "x"; write: "setX"; index: 0; isFinal: true } + Property { name: "y"; type: "double"; read: "y"; write: "setY"; index: 1; isFinal: true } + Method { name: "toString"; type: "QString" } + Method { + name: "dotProduct" + type: "double" + Parameter { name: "vec"; type: "QVector2D" } + } + Method { + name: "times" + type: "QVector2D" + Parameter { name: "vec"; type: "QVector2D" } + } + Method { + name: "times" + type: "QVector2D" + Parameter { name: "scalar"; type: "double" } + } + Method { + name: "plus" + type: "QVector2D" + Parameter { name: "vec"; type: "QVector2D" } + } + Method { + name: "minus" + type: "QVector2D" + Parameter { name: "vec"; type: "QVector2D" } + } + Method { name: "normalized"; type: "QVector2D" } + Method { name: "length"; type: "double" } + Method { name: "toVector3d"; type: "QVector3D" } + Method { name: "toVector4d"; type: "QVector4D" } + Method { + name: "fuzzyEquals" + type: "bool" + Parameter { name: "vec"; type: "QVector2D" } + Parameter { name: "epsilon"; type: "double" } + } + Method { + name: "fuzzyEquals" + type: "bool" + Parameter { name: "vec"; type: "QVector2D" } + } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QVector3D" + accessSemantics: "value" + extension: "QQuickVector3DValueType" + exports: ["QtQuick/vector3d 2.0", "QtQuick/vector3d 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickVector3DValueType" + accessSemantics: "value" + Property { name: "x"; type: "double"; read: "x"; write: "setX"; index: 0; isFinal: true } + Property { name: "y"; type: "double"; read: "y"; write: "setY"; index: 1; isFinal: true } + Property { name: "z"; type: "double"; read: "z"; write: "setZ"; index: 2; isFinal: true } + Method { name: "toString"; type: "QString" } + Method { + name: "crossProduct" + type: "QVector3D" + Parameter { name: "vec"; type: "QVector3D" } + } + Method { + name: "dotProduct" + type: "double" + Parameter { name: "vec"; type: "QVector3D" } + } + Method { + name: "times" + type: "QVector3D" + Parameter { name: "m"; type: "QMatrix4x4" } + } + Method { + name: "times" + type: "QVector3D" + Parameter { name: "vec"; type: "QVector3D" } + } + Method { + name: "times" + type: "QVector3D" + Parameter { name: "scalar"; type: "double" } + } + Method { + name: "plus" + type: "QVector3D" + Parameter { name: "vec"; type: "QVector3D" } + } + Method { + name: "minus" + type: "QVector3D" + Parameter { name: "vec"; type: "QVector3D" } + } + Method { name: "normalized"; type: "QVector3D" } + Method { name: "length"; type: "double" } + Method { name: "toVector2d"; type: "QVector2D" } + Method { name: "toVector4d"; type: "QVector4D" } + Method { + name: "fuzzyEquals" + type: "bool" + Parameter { name: "vec"; type: "QVector3D" } + Parameter { name: "epsilon"; type: "double" } + } + Method { + name: "fuzzyEquals" + type: "bool" + Parameter { name: "vec"; type: "QVector3D" } + } + } + Component { + file: "private/qquickanimation_p.h" + name: "QQuickVector3dAnimation" + accessSemantics: "reference" + prototype: "QQuickPropertyAnimation" + exports: [ + "QtQuick/Vector3dAnimation 2.0", + "QtQuick/Vector3dAnimation 2.12", + "QtQuick/Vector3dAnimation 6.0" + ] + exportMetaObjectRevisions: [512, 524, 1536] + Property { + name: "from" + type: "QVector3D" + read: "from" + write: "setFrom" + notify: "fromChanged" + index: 0 + isFinal: true + } + Property { + name: "to" + type: "QVector3D" + read: "to" + write: "setTo" + notify: "toChanged" + index: 1 + isFinal: true + } + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QVector4D" + accessSemantics: "value" + extension: "QQuickVector4DValueType" + exports: ["QtQuick/vector4d 2.0", "QtQuick/vector4d 6.0"] + exportMetaObjectRevisions: [512, 1536] + } + Component { + file: "private/qquickvaluetypes_p.h" + name: "QQuickVector4DValueType" + accessSemantics: "value" + Property { name: "x"; type: "double"; read: "x"; write: "setX"; index: 0; isFinal: true } + Property { name: "y"; type: "double"; read: "y"; write: "setY"; index: 1; isFinal: true } + Property { name: "z"; type: "double"; read: "z"; write: "setZ"; index: 2; isFinal: true } + Property { name: "w"; type: "double"; read: "w"; write: "setW"; index: 3; isFinal: true } + Method { name: "toString"; type: "QString" } + Method { + name: "dotProduct" + type: "double" + Parameter { name: "vec"; type: "QVector4D" } + } + Method { + name: "times" + type: "QVector4D" + Parameter { name: "vec"; type: "QVector4D" } + } + Method { + name: "times" + type: "QVector4D" + Parameter { name: "m"; type: "QMatrix4x4" } + } + Method { + name: "times" + type: "QVector4D" + Parameter { name: "scalar"; type: "double" } + } + Method { + name: "plus" + type: "QVector4D" + Parameter { name: "vec"; type: "QVector4D" } + } + Method { + name: "minus" + type: "QVector4D" + Parameter { name: "vec"; type: "QVector4D" } + } + Method { name: "normalized"; type: "QVector4D" } + Method { name: "length"; type: "double" } + Method { name: "toVector2d"; type: "QVector2D" } + Method { name: "toVector3d"; type: "QVector3D" } + Method { + name: "fuzzyEquals" + type: "bool" + Parameter { name: "vec"; type: "QVector4D" } + Parameter { name: "epsilon"; type: "double" } + } + Method { + name: "fuzzyEquals" + type: "bool" + Parameter { name: "vec"; type: "QVector4D" } + } + } + Component { + file: "private/qquicklistview_p.h" + name: "QQuickViewSection" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/ViewSection 2.0", "QtQuick/ViewSection 6.0"] + exportMetaObjectRevisions: [512, 1536] + Enum { + name: "SectionCriteria" + values: ["FullString", "FirstCharacter"] + } + Enum { + name: "LabelPositioning" + values: ["InlineLabels", "CurrentLabelAtStart", "NextLabelAtEnd"] + } + Property { + name: "property" + type: "QString" + read: "property" + write: "setProperty" + notify: "propertyChanged" + index: 0 + isFinal: true + } + Property { + name: "criteria" + type: "SectionCriteria" + read: "criteria" + write: "setCriteria" + notify: "criteriaChanged" + index: 1 + isFinal: true + } + Property { + name: "delegate" + type: "QQmlComponent" + isPointer: true + read: "delegate" + write: "setDelegate" + notify: "delegateChanged" + index: 2 + isFinal: true + } + Property { + name: "labelPositioning" + type: "int" + read: "labelPositioning" + write: "setLabelPositioning" + notify: "labelPositioningChanged" + index: 3 + isFinal: true + } + Signal { name: "sectionsChanged" } + Signal { name: "propertyChanged" } + Signal { name: "criteriaChanged" } + Signal { name: "delegateChanged" } + Signal { name: "labelPositioningChanged" } + } + Component { + file: "private/qquickitemviewtransition_p.h" + name: "QQuickViewTransitionAttached" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtQuick/ViewTransition 2.0", "QtQuick/ViewTransition 6.0"] + isCreatable: false + exportMetaObjectRevisions: [512, 1536] + attachedType: "QQuickViewTransitionAttached" + Property { + name: "index" + type: "int" + read: "index" + notify: "indexChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "item" + type: "QQuickItem" + isPointer: true + read: "item" + notify: "itemChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "destination" + type: "QPointF" + read: "destination" + notify: "destinationChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "targetIndexes" + type: "int" + isList: true + read: "targetIndexes" + notify: "targetIndexesChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "targetItems" + type: "QObject" + isList: true + read: "targetItems" + notify: "targetItemsChanged" + index: 4 + isReadonly: true + isFinal: true + } + Signal { name: "indexChanged" } + Signal { name: "itemChanged" } + Signal { name: "destinationChanged" } + Signal { name: "targetIndexesChanged" } + Signal { name: "targetItemsChanged" } + } + Component { + file: "private/qquickevents_p_p.h" + name: "QQuickWheelEvent" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "device" + type: "QPointingDevice" + isPointer: true + isConstant: true + read: "pointingDevice" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "x" + type: "double" + read: "x" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "y" + type: "double" + read: "y" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "angleDelta" + type: "QPoint" + read: "angleDelta" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "pixelDelta" + type: "QPoint" + read: "pixelDelta" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "phase" + type: "Qt::ScrollPhase" + read: "phase" + index: 5 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "buttons" + type: "int" + read: "buttons" + index: 6 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "modifiers" + type: "int" + read: "modifiers" + index: 7 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "inverted" + type: "bool" + read: "inverted" + index: 8 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 9 + isFinal: true + } + } + Component { + file: "private/qquickwheelhandler_p.h" + name: "QQuickWheelHandler" + accessSemantics: "reference" + prototype: "QQuickSinglePointHandler" + exports: [ + "QtQuick/WheelHandler 2.14", + "QtQuick/WheelHandler 2.15", + "QtQuick/WheelHandler 6.0", + "QtQuick/WheelHandler 6.3" + ] + exportMetaObjectRevisions: [526, 527, 1536, 1539] + Property { + name: "orientation" + type: "Qt::Orientation" + read: "orientation" + write: "setOrientation" + notify: "orientationChanged" + index: 0 + isFinal: true + } + Property { + name: "invertible" + type: "bool" + read: "isInvertible" + write: "setInvertible" + notify: "invertibleChanged" + index: 1 + isFinal: true + } + Property { + name: "activeTimeout" + type: "double" + read: "activeTimeout" + write: "setActiveTimeout" + notify: "activeTimeoutChanged" + index: 2 + isFinal: true + } + Property { + name: "rotation" + type: "double" + read: "rotation" + write: "setRotation" + notify: "rotationChanged" + index: 3 + isFinal: true + } + Property { + name: "rotationScale" + type: "double" + read: "rotationScale" + write: "setRotationScale" + notify: "rotationScaleChanged" + index: 4 + isFinal: true + } + Property { + name: "property" + type: "QString" + read: "property" + write: "setProperty" + notify: "propertyChanged" + index: 5 + isFinal: true + } + Property { + name: "targetScaleMultiplier" + type: "double" + read: "targetScaleMultiplier" + write: "setTargetScaleMultiplier" + notify: "targetScaleMultiplierChanged" + index: 6 + isFinal: true + } + Property { + name: "targetTransformAroundCursor" + type: "bool" + read: "isTargetTransformAroundCursor" + write: "setTargetTransformAroundCursor" + notify: "targetTransformAroundCursorChanged" + index: 7 + isFinal: true + } + Property { + name: "blocking" + revision: 1539 + type: "bool" + read: "isBlocking" + write: "setBlocking" + notify: "blockingChanged" + index: 8 + isFinal: true + } + Signal { + name: "wheel" + Parameter { name: "event"; type: "QQuickWheelEvent"; isPointer: true } + } + Signal { name: "orientationChanged" } + Signal { name: "invertibleChanged" } + Signal { name: "activeTimeoutChanged" } + Signal { name: "rotationChanged" } + Signal { name: "rotationScaleChanged" } + Signal { name: "propertyChanged" } + Signal { name: "targetScaleMultiplierChanged" } + Signal { name: "targetTransformAroundCursorChanged" } + Signal { name: "blockingChanged"; revision: 1539 } + } + Component { + file: "qquickwindow.h" + name: "QQuickWindow" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QWindow" + exports: ["QtQuick/Window 2.0"] + exportMetaObjectRevisions: [512] + Enum { + name: "CreateTextureOptions" + alias: "CreateTextureOption" + isFlag: true + values: [ + "TextureHasAlphaChannel", + "TextureHasMipmaps", + "TextureOwnsGLTexture", + "TextureCanUseAtlas", + "TextureIsOpaque" + ] + } + Enum { + name: "SceneGraphError" + values: ["ContextNotAvailable"] + } + Enum { + name: "TextRenderType" + values: ["QtTextRendering", "NativeTextRendering"] + } + Property { + name: "data" + type: "QObject" + isList: true + read: "data" + index: 0 + privateClass: "QQuickWindowPrivate" + isReadonly: true + } + Property { + name: "color" + type: "QColor" + read: "color" + write: "setColor" + notify: "colorChanged" + index: 1 + } + Property { + name: "contentItem" + type: "QQuickItem" + isPointer: true + read: "contentItem" + index: 2 + isReadonly: true + isConstant: true + } + Property { + name: "activeFocusItem" + revision: 513 + type: "QQuickItem" + isPointer: true + read: "activeFocusItem" + notify: "activeFocusItemChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "palette" + revision: 1538 + type: "QQuickPalette" + isPointer: true + read: "palette" + write: "setPalette" + reset: "resetPalette" + notify: "paletteChanged" + index: 4 + privateClass: "QQuickWindowPrivate" + } + Signal { name: "frameSwapped" } + Signal { name: "sceneGraphInitialized" } + Signal { name: "sceneGraphInvalidated" } + Signal { name: "beforeSynchronizing" } + Signal { name: "afterSynchronizing"; revision: 514 } + Signal { name: "beforeRendering" } + Signal { name: "afterRendering" } + Signal { name: "afterAnimating"; revision: 514 } + Signal { name: "sceneGraphAboutToStop"; revision: 514 } + Signal { + name: "closing" + revision: 513 + Parameter { name: "close"; type: "QQuickCloseEvent"; isPointer: true } + } + Signal { + name: "colorChanged" + Parameter { type: "QColor" } + } + Signal { name: "activeFocusItemChanged"; revision: 513 } + Signal { + name: "sceneGraphError" + revision: 514 + Parameter { name: "error"; type: "QQuickWindow::SceneGraphError" } + Parameter { name: "message"; type: "QString" } + } + Signal { name: "beforeRenderPassRecording"; revision: 526 } + Signal { name: "afterRenderPassRecording"; revision: 526 } + Signal { name: "paletteChanged"; revision: 1536 } + Signal { name: "paletteCreated"; revision: 1536 } + Signal { name: "beforeFrameBegin"; revision: 1536 } + Signal { name: "afterFrameEnd"; revision: 1536 } + Method { name: "update" } + Method { name: "releaseResources" } + Method { name: "maybeUpdate" } + Method { name: "cleanupSceneGraph" } + Method { name: "physicalDpiChanged" } + Method { + name: "handleScreenChanged" + Parameter { name: "screen"; type: "QScreen"; isPointer: true } + } + Method { + name: "setTransientParent_helper" + Parameter { name: "window"; type: "QQuickWindow"; isPointer: true } + } + Method { name: "runJobsAfterSwap" } + Method { + name: "handleApplicationStateChanged" + Parameter { name: "state"; type: "Qt::ApplicationState" } + } + Method { name: "handleFontDatabaseChanged" } + } + Component { + file: "private/qquickwindowattached_p.h" + name: "QQuickWindowAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "visibility" + type: "QWindow::Visibility" + read: "visibility" + notify: "visibilityChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "active" + type: "bool" + read: "isActive" + notify: "activeChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "activeFocusItem" + type: "QQuickItem" + isPointer: true + read: "activeFocusItem" + notify: "activeFocusItemChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "contentItem" + type: "QQuickItem" + isPointer: true + read: "contentItem" + notify: "contentItemChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "width" + type: "int" + read: "width" + notify: "widthChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "height" + type: "int" + read: "height" + notify: "heightChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "window" + type: "QQuickWindow" + isPointer: true + read: "window" + notify: "windowChanged" + index: 6 + isReadonly: true + isFinal: true + } + Signal { name: "visibilityChanged" } + Signal { name: "activeChanged" } + Signal { name: "activeFocusItemChanged" } + Signal { name: "contentItemChanged" } + Signal { name: "widthChanged" } + Signal { name: "heightChanged" } + Signal { name: "windowChanged" } + Method { + name: "windowChange" + Parameter { type: "QQuickWindow"; isPointer: true } + } + } + Component { + file: "private/qquickwindowmodule_p.h" + name: "QQuickWindowQmlImpl" + accessSemantics: "reference" + defaultProperty: "data" + prototype: "QQuickWindow" + interfaces: ["QQmlParserStatus"] + exports: [ + "QtQuick/Window 2.1", + "QtQuick/Window 2.2", + "QtQuick/Window 2.3", + "QtQuick/Window 2.13", + "QtQuick/Window 2.14", + "QtQuick/Window 6.0", + "QtQuick/Window 6.2" + ] + exportMetaObjectRevisions: [513, 514, 515, 525, 526, 1536, 1538] + attachedType: "QQuickWindowAttached" + Property { + name: "visible" + type: "bool" + read: "isVisible" + write: "setVisible" + notify: "visibleChanged" + index: 0 + } + Property { + name: "visibility" + type: "QWindow::Visibility" + read: "visibility" + write: "setVisibility" + notify: "visibilityChanged" + index: 1 + } + Property { + name: "screen" + revision: 515 + type: "QObject" + isPointer: true + read: "screen" + write: "setScreen" + notify: "screenChanged" + index: 2 + } + Signal { + name: "visibleChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "visibilityChanged" + Parameter { name: "visibility"; type: "QWindow::Visibility" } + } + Signal { name: "screenChanged"; revision: 515 } + Method { name: "setWindowVisibility" } + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickXAnimator" + accessSemantics: "reference" + prototype: "QQuickAnimator" + exports: [ + "QtQuick/XAnimator 2.2", + "QtQuick/XAnimator 2.12", + "QtQuick/XAnimator 6.0" + ] + exportMetaObjectRevisions: [514, 524, 1536] + } + Component { + file: "private/qquickanimator_p.h" + name: "QQuickYAnimator" + accessSemantics: "reference" + prototype: "QQuickAnimator" + exports: [ + "QtQuick/YAnimator 2.2", + "QtQuick/YAnimator 2.12", + "QtQuick/YAnimator 6.0" + ] + exportMetaObjectRevisions: [514, 524, 1536] + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QRegularExpressionValidator" + accessSemantics: "reference" + prototype: "QValidator" + exports: [ + "QtQuick/RegularExpressionValidator 2.14", + "QtQuick/RegularExpressionValidator 6.0" + ] + exportMetaObjectRevisions: [526, 1536] + Property { + name: "regularExpression" + type: "QRegularExpression" + read: "regularExpression" + write: "setRegularExpression" + notify: "regularExpressionChanged" + index: 0 + } + Signal { + name: "regularExpressionChanged" + Parameter { name: "re"; type: "QRegularExpression" } + } + Method { + name: "setRegularExpression" + Parameter { name: "re"; type: "QRegularExpression" } + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QStyleHints" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "cursorFlashTime" + type: "int" + read: "cursorFlashTime" + notify: "cursorFlashTimeChanged" + index: 0 + isReadonly: true + isFinal: true + } + Property { + name: "fontSmoothingGamma" + type: "double" + read: "fontSmoothingGamma" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "keyboardAutoRepeatRate" + type: "int" + read: "keyboardAutoRepeatRate" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "keyboardAutoRepeatRateF" + type: "double" + read: "keyboardAutoRepeatRateF" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "keyboardInputInterval" + type: "int" + read: "keyboardInputInterval" + notify: "keyboardInputIntervalChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "mouseDoubleClickInterval" + type: "int" + read: "mouseDoubleClickInterval" + notify: "mouseDoubleClickIntervalChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "mousePressAndHoldInterval" + type: "int" + read: "mousePressAndHoldInterval" + notify: "mousePressAndHoldIntervalChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "passwordMaskCharacter" + type: "QChar" + read: "passwordMaskCharacter" + index: 7 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "passwordMaskDelay" + type: "int" + read: "passwordMaskDelay" + index: 8 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "setFocusOnTouchRelease" + type: "bool" + read: "setFocusOnTouchRelease" + index: 9 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "showIsFullScreen" + type: "bool" + read: "showIsFullScreen" + index: 10 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "showIsMaximized" + type: "bool" + read: "showIsMaximized" + index: 11 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "showShortcutsInContextMenus" + type: "bool" + read: "showShortcutsInContextMenus" + write: "setShowShortcutsInContextMenus" + notify: "showShortcutsInContextMenusChanged" + index: 12 + isFinal: true + } + Property { + name: "startDragDistance" + type: "int" + read: "startDragDistance" + notify: "startDragDistanceChanged" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "startDragTime" + type: "int" + read: "startDragTime" + notify: "startDragTimeChanged" + index: 14 + isReadonly: true + isFinal: true + } + Property { + name: "startDragVelocity" + type: "int" + read: "startDragVelocity" + index: 15 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "useRtlExtensions" + type: "bool" + read: "useRtlExtensions" + index: 16 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "tabFocusBehavior" + type: "Qt::TabFocusBehavior" + read: "tabFocusBehavior" + notify: "tabFocusBehaviorChanged" + index: 17 + isReadonly: true + isFinal: true + } + Property { + name: "singleClickActivation" + type: "bool" + read: "singleClickActivation" + index: 18 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "useHoverEffects" + type: "bool" + read: "useHoverEffects" + write: "setUseHoverEffects" + notify: "useHoverEffectsChanged" + index: 19 + isFinal: true + } + Property { + name: "wheelScrollLines" + type: "int" + read: "wheelScrollLines" + notify: "wheelScrollLinesChanged" + index: 20 + isReadonly: true + isFinal: true + } + Property { + name: "mouseQuickSelectionThreshold" + type: "int" + read: "mouseQuickSelectionThreshold" + write: "setMouseQuickSelectionThreshold" + notify: "mouseQuickSelectionThresholdChanged" + index: 21 + isFinal: true + } + Property { + name: "mouseDoubleClickDistance" + type: "int" + read: "mouseDoubleClickDistance" + index: 22 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "touchDoubleTapDistance" + type: "int" + read: "touchDoubleTapDistance" + index: 23 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "colorScheme" + type: "Qt::ColorScheme" + read: "colorScheme" + notify: "colorSchemeChanged" + index: 24 + isReadonly: true + isFinal: true + } + Signal { + name: "cursorFlashTimeChanged" + Parameter { name: "cursorFlashTime"; type: "int" } + } + Signal { + name: "keyboardInputIntervalChanged" + Parameter { name: "keyboardInputInterval"; type: "int" } + } + Signal { + name: "mouseDoubleClickIntervalChanged" + Parameter { name: "mouseDoubleClickInterval"; type: "int" } + } + Signal { + name: "mousePressAndHoldIntervalChanged" + Parameter { name: "mousePressAndHoldInterval"; type: "int" } + } + Signal { + name: "startDragDistanceChanged" + Parameter { name: "startDragDistance"; type: "int" } + } + Signal { + name: "startDragTimeChanged" + Parameter { name: "startDragTime"; type: "int" } + } + Signal { + name: "tabFocusBehaviorChanged" + Parameter { name: "tabFocusBehavior"; type: "Qt::TabFocusBehavior" } + } + Signal { + name: "useHoverEffectsChanged" + Parameter { name: "useHoverEffects"; type: "bool" } + } + Signal { + name: "showShortcutsInContextMenusChanged" + Parameter { type: "bool" } + } + Signal { + name: "wheelScrollLinesChanged" + Parameter { name: "scrollLines"; type: "int" } + } + Signal { + name: "mouseQuickSelectionThresholdChanged" + Parameter { name: "threshold"; type: "int" } + } + Signal { + name: "colorSchemeChanged" + Parameter { name: "colorScheme"; type: "Qt::ColorScheme" } + } + } + Component { + file: "private/qquickforeignutils_p.h" + name: "QValidator" + accessSemantics: "reference" + prototype: "QObject" + Enum { + name: "State" + values: ["Invalid", "Intermediate", "Acceptable"] + } + Signal { name: "changed" } + } + Component { + file: "private/qquickwindowmodule_p.h" + name: "QWindow" + accessSemantics: "reference" + prototype: "QObject" + Enum { + name: "Visibility" + values: [ + "Hidden", + "AutomaticVisibility", + "Windowed", + "Minimized", + "Maximized", + "FullScreen" + ] + } + Enum { + name: "AncestorMode" + values: ["ExcludeTransients", "IncludeTransients"] + } + Property { + name: "title" + type: "QString" + read: "title" + write: "setTitle" + notify: "windowTitleChanged" + index: 0 + } + Property { + name: "modality" + type: "Qt::WindowModality" + read: "modality" + write: "setModality" + notify: "modalityChanged" + index: 1 + } + Property { name: "flags"; type: "Qt::WindowFlags"; read: "flags"; write: "setFlags"; index: 2 } + Property { name: "x"; type: "int"; read: "x"; write: "setX"; notify: "xChanged"; index: 3 } + Property { name: "y"; type: "int"; read: "y"; write: "setY"; notify: "yChanged"; index: 4 } + Property { + name: "width" + type: "int" + read: "width" + write: "setWidth" + notify: "widthChanged" + index: 5 + } + Property { + name: "height" + type: "int" + read: "height" + write: "setHeight" + notify: "heightChanged" + index: 6 + } + Property { + name: "minimumWidth" + type: "int" + read: "minimumWidth" + write: "setMinimumWidth" + notify: "minimumWidthChanged" + index: 7 + } + Property { + name: "minimumHeight" + type: "int" + read: "minimumHeight" + write: "setMinimumHeight" + notify: "minimumHeightChanged" + index: 8 + } + Property { + name: "maximumWidth" + type: "int" + read: "maximumWidth" + write: "setMaximumWidth" + notify: "maximumWidthChanged" + index: 9 + } + Property { + name: "maximumHeight" + type: "int" + read: "maximumHeight" + write: "setMaximumHeight" + notify: "maximumHeightChanged" + index: 10 + } + Property { + name: "visible" + type: "bool" + read: "isVisible" + write: "setVisible" + notify: "visibleChanged" + index: 11 + } + Property { + name: "active" + revision: 513 + type: "bool" + read: "isActive" + notify: "activeChanged" + index: 12 + isReadonly: true + } + Property { + name: "visibility" + revision: 513 + type: "Visibility" + read: "visibility" + write: "setVisibility" + notify: "visibilityChanged" + index: 13 + } + Property { + name: "contentOrientation" + type: "Qt::ScreenOrientation" + read: "contentOrientation" + write: "reportContentOrientationChange" + notify: "contentOrientationChanged" + index: 14 + } + Property { + name: "opacity" + revision: 513 + type: "double" + read: "opacity" + write: "setOpacity" + notify: "opacityChanged" + index: 15 + } + Property { + name: "transientParent" + revision: 525 + type: "QWindow" + isPointer: true + write: "setTransientParent" + notify: "transientParentChanged" + index: 16 + privateClass: "QWindowPrivate" + } + Signal { + name: "screenChanged" + Parameter { name: "screen"; type: "QScreen"; isPointer: true } + } + Signal { + name: "modalityChanged" + Parameter { name: "modality"; type: "Qt::WindowModality" } + } + Signal { + name: "windowStateChanged" + Parameter { name: "windowState"; type: "Qt::WindowState" } + } + Signal { + name: "windowTitleChanged" + revision: 514 + Parameter { name: "title"; type: "QString" } + } + Signal { + name: "xChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "yChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "widthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "heightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "minimumWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "minimumHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "maximumWidthChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "maximumHeightChanged" + Parameter { name: "arg"; type: "int" } + } + Signal { + name: "visibleChanged" + Parameter { name: "arg"; type: "bool" } + } + Signal { + name: "visibilityChanged" + revision: 513 + Parameter { name: "visibility"; type: "QWindow::Visibility" } + } + Signal { name: "activeChanged"; revision: 513 } + Signal { + name: "contentOrientationChanged" + Parameter { name: "orientation"; type: "Qt::ScreenOrientation" } + } + Signal { + name: "focusObjectChanged" + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Signal { + name: "opacityChanged" + revision: 513 + Parameter { name: "opacity"; type: "double" } + } + Signal { + name: "transientParentChanged" + revision: 525 + Parameter { name: "transientParent"; type: "QWindow"; isPointer: true } + } + Method { name: "requestActivate"; revision: 513 } + Method { + name: "setVisible" + Parameter { name: "visible"; type: "bool" } + } + Method { name: "show" } + Method { name: "hide" } + Method { name: "showMinimized" } + Method { name: "showMaximized" } + Method { name: "showFullScreen" } + Method { name: "showNormal" } + Method { name: "close"; type: "bool" } + Method { name: "raise" } + Method { name: "lower" } + Method { + name: "startSystemResize" + type: "bool" + Parameter { name: "edges"; type: "Qt::Edges" } + } + Method { name: "startSystemMove"; type: "bool" } + Method { + name: "setTitle" + Parameter { type: "QString" } + } + Method { + name: "setX" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setY" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setWidth" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setHeight" + Parameter { name: "arg"; type: "int" } + } + Method { + name: "setGeometry" + Parameter { name: "posx"; type: "int" } + Parameter { name: "posy"; type: "int" } + Parameter { name: "w"; type: "int" } + Parameter { name: "h"; type: "int" } + } + Method { + name: "setGeometry" + Parameter { name: "rect"; type: "QRect" } + } + Method { + name: "setMinimumWidth" + Parameter { name: "w"; type: "int" } + } + Method { + name: "setMinimumHeight" + Parameter { name: "h"; type: "int" } + } + Method { + name: "setMaximumWidth" + Parameter { name: "w"; type: "int" } + } + Method { + name: "setMaximumHeight" + Parameter { name: "h"; type: "int" } + } + Method { + name: "alert" + revision: 513 + Parameter { name: "msec"; type: "int" } + } + Method { name: "requestUpdate"; revision: 515 } + Method { name: "_q_clearAlert" } + } +} diff --git a/bin/qml/QtQuick/qmldir b/bin/qml/QtQuick/qmldir new file mode 100644 index 000000000..7d68a105a --- /dev/null +++ b/bin/qml/QtQuick/qmldir @@ -0,0 +1,9 @@ +module QtQuick +linktarget Qt6::qtquick2plugin +optional plugin qtquick2plugin +classname QtQuick2Plugin +designersupported +typeinfo plugins.qmltypes +import QtQml auto +prefer :/qt-project.org/imports/QtQuick/ + diff --git a/bin/qml/QtQuick/qtquick2plugin.dll b/bin/qml/QtQuick/qtquick2plugin.dll new file mode 100644 index 000000000..158663c1c Binary files /dev/null and b/bin/qml/QtQuick/qtquick2plugin.dll differ diff --git a/bin/qml/QtWebChannel/plugins.qmltypes b/bin/qml/QtWebChannel/plugins.qmltypes new file mode 100644 index 000000000..8bc816ed9 --- /dev/null +++ b/bin/qml/QtWebChannel/plugins.qmltypes @@ -0,0 +1,120 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "qqmlwebchannel.h" + name: "QQmlWebChannel" + accessSemantics: "reference" + prototype: "QWebChannel" + exports: [ + "QtWebChannel/WebChannel 1.0", + "QtWebChannel/WebChannel 6.0" + ] + exportMetaObjectRevisions: [256, 1536] + attachedType: "QQmlWebChannelAttached" + Property { + name: "transports" + type: "QObject" + isList: true + read: "transports" + index: 0 + isReadonly: true + } + Property { + name: "registeredObjects" + type: "QObject" + isList: true + read: "registeredObjects" + index: 1 + isReadonly: true + } + Method { + name: "_q_objectIdChanged" + Parameter { name: "newId"; type: "QString" } + } + Method { + name: "registerObjects" + Parameter { name: "objects"; type: "QVariantMap" } + } + Method { + name: "connectTo" + Parameter { name: "transport"; type: "QObject"; isPointer: true } + } + Method { + name: "disconnectFrom" + Parameter { name: "transport"; type: "QObject"; isPointer: true } + } + } + Component { + file: "private/qqmlwebchannelattached_p.h" + name: "QQmlWebChannelAttached" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "id" + type: "QString" + read: "id" + write: "setId" + notify: "idChanged" + index: 0 + isFinal: true + } + Signal { + name: "idChanged" + Parameter { name: "id"; type: "QString" } + } + } + Component { + file: "qwebchannel.h" + name: "QWebChannel" + accessSemantics: "reference" + prototype: "QObject" + Property { + name: "blockUpdates" + type: "bool" + bindable: "bindableBlockUpdates" + read: "blockUpdates" + write: "setBlockUpdates" + notify: "blockUpdatesChanged" + index: 0 + } + Property { + name: "propertyUpdateInterval" + type: "int" + bindable: "bindablePropertyUpdateInterval" + read: "propertyUpdateInterval" + write: "setPropertyUpdateInterval" + index: 1 + } + Signal { + name: "blockUpdatesChanged" + Parameter { name: "block"; type: "bool" } + } + Method { + name: "connectTo" + Parameter { name: "transport"; type: "QWebChannelAbstractTransport"; isPointer: true } + } + Method { + name: "disconnectFrom" + Parameter { name: "transport"; type: "QWebChannelAbstractTransport"; isPointer: true } + } + Method { + name: "_q_transportDestroyed" + Parameter { type: "QObject"; isPointer: true } + } + Method { + name: "registerObject" + Parameter { name: "id"; type: "QString" } + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + Method { + name: "deregisterObject" + Parameter { name: "object"; type: "QObject"; isPointer: true } + } + } +} diff --git a/bin/qml/QtWebChannel/qmldir b/bin/qml/QtWebChannel/qmldir new file mode 100644 index 000000000..a5def04e4 --- /dev/null +++ b/bin/qml/QtWebChannel/qmldir @@ -0,0 +1,7 @@ +module QtWebChannel +linktarget Qt6::WebChannelQuickplugin +optional plugin webchannelquickplugin +classname QtWebChannelPlugin +typeinfo plugins.qmltypes +prefer :/qt-project.org/imports/QtWebChannel/ + diff --git a/bin/qml/QtWebChannel/webchannelquickplugin.dll b/bin/qml/QtWebChannel/webchannelquickplugin.dll new file mode 100644 index 000000000..a9b6cc044 Binary files /dev/null and b/bin/qml/QtWebChannel/webchannelquickplugin.dll differ diff --git a/bin/qml/QtWebEngine/plugins.qmltypes b/bin/qml/QtWebEngine/plugins.qmltypes new file mode 100644 index 000000000..144291456 --- /dev/null +++ b/bin/qml/QtWebEngine/plugins.qmltypes @@ -0,0 +1,3210 @@ +import QtQuick.tooling 1.2 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by qmltyperegistrar. + +Module { + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineFileSystemAccessRequest" + accessSemantics: "value" + exports: ["QtWebEngine/webEngineFileSystemAccessRequest 6.4"] + isCreatable: false + exportMetaObjectRevisions: [1540] + Enum { + name: "HandleType" + values: ["File", "Directory"] + } + Enum { + name: "AccessFlags" + alias: "AccessFlag" + isFlag: true + values: ["Read", "Write"] + } + Property { + name: "origin" + type: "QUrl" + read: "origin" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "filePath" + type: "QUrl" + read: "filePath" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "handleType" + type: "HandleType" + read: "handleType" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "accessFlags" + type: "AccessFlags" + read: "accessFlags" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Method { name: "accept" } + Method { name: "reject" } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineFileSystemAccessRequestDerived" + accessSemantics: "none" + prototype: "QWebEngineFileSystemAccessRequest" + exports: ["QtWebEngine/WebEngineFileSystemAccessRequest 6.4"] + isCreatable: false + exportMetaObjectRevisions: [1540] + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineCertificateError" + accessSemantics: "value" + exports: [ + "QtWebEngine/webEngineCertificateError 1.1", + "QtWebEngine/webEngineCertificateError 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536] + Enum { + name: "Type" + values: [ + "SslPinnedKeyNotInCertificateChain", + "CertificateCommonNameInvalid", + "CertificateDateInvalid", + "CertificateAuthorityInvalid", + "CertificateContainsErrors", + "CertificateNoRevocationMechanism", + "CertificateUnableToCheckRevocation", + "CertificateRevoked", + "CertificateInvalid", + "CertificateWeakSignatureAlgorithm", + "CertificateNonUniqueName", + "CertificateWeakKey", + "CertificateNameConstraintViolation", + "CertificateValidityTooLong", + "CertificateTransparencyRequired", + "CertificateSymantecLegacy", + "CertificateKnownInterceptionBlocked", + "SslObsoleteVersion" + ] + } + Property { + name: "url" + type: "QUrl" + read: "url" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "type" + type: "Type" + read: "type" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "description" + type: "QString" + read: "description" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "overridable" + type: "bool" + read: "isOverridable" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Method { name: "defer" } + Method { name: "rejectCertificate" } + Method { name: "acceptCertificate" } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineCertificateErrorDerived" + accessSemantics: "none" + prototype: "QWebEngineCertificateError" + exports: [ + "QtWebEngine/WebEngineCertificateError 1.1", + "QtWebEngine/WebEngineCertificateError 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536] + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineContextMenuRequest" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/ContextMenuRequest 1.7", + "QtWebEngine/ContextMenuRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [263, 1536] + Enum { + name: "MediaType" + values: [ + "MediaTypeNone", + "MediaTypeImage", + "MediaTypeVideo", + "MediaTypeAudio", + "MediaTypeCanvas", + "MediaTypeFile", + "MediaTypePlugin" + ] + } + Enum { + name: "MediaFlags" + alias: "MediaFlag" + isFlag: true + values: [ + "MediaInError", + "MediaPaused", + "MediaMuted", + "MediaLoop", + "MediaCanSave", + "MediaHasAudio", + "MediaCanToggleControls", + "MediaControls", + "MediaCanPrint", + "MediaCanRotate" + ] + } + Enum { + name: "EditFlags" + alias: "EditFlag" + isFlag: true + values: [ + "CanUndo", + "CanRedo", + "CanCut", + "CanCopy", + "CanPaste", + "CanDelete", + "CanSelectAll", + "CanTranslate", + "CanEditRichly" + ] + } + Property { + name: "position" + type: "QPoint" + read: "position" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "selectedText" + type: "QString" + read: "selectedText" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "linkText" + type: "QString" + read: "linkText" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "linkUrl" + type: "QUrl" + read: "linkUrl" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "mediaUrl" + type: "QUrl" + read: "mediaUrl" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "mediaType" + type: "MediaType" + read: "mediaType" + index: 5 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "isContentEditable" + type: "bool" + read: "isContentEditable" + index: 6 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "misspelledWord" + type: "QString" + read: "misspelledWord" + index: 7 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "spellCheckerSuggestions" + type: "QStringList" + read: "spellCheckerSuggestions" + index: 8 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 9 + isFinal: true + } + Property { + name: "mediaFlags" + revision: 257 + type: "MediaFlags" + read: "mediaFlags" + index: 10 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "editFlags" + revision: 257 + type: "EditFlags" + read: "editFlags" + index: 11 + isReadonly: true + isFinal: true + isConstant: true + } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineFindTextResult" + accessSemantics: "value" + exports: [ + "QtWebEngine/findTextResult 1.10", + "QtWebEngine/findTextResult 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [266, 1536] + Property { + name: "numberOfMatches" + type: "int" + read: "numberOfMatches" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "activeMatch" + type: "int" + read: "activeMatch" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineFullScreenRequest" + accessSemantics: "value" + exports: [ + "QtWebEngine/fullScreenRequest 1.1", + "QtWebEngine/fullScreenRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536] + Property { + name: "toggleOn" + type: "bool" + read: "toggleOn" + index: 0 + isReadonly: true + isConstant: true + } + Property { + name: "origin" + type: "QUrl" + read: "origin" + index: 1 + isReadonly: true + isConstant: true + } + Method { name: "reject" } + Method { name: "accept" } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineHistory" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/WebEngineHistory 1.1", + "QtWebEngine/WebEngineHistory 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536] + Property { + name: "items" + type: "QWebEngineHistoryModel" + isPointer: true + read: "itemsModel" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "backItems" + type: "QWebEngineHistoryModel" + isPointer: true + read: "backItemsModel" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "forwardItems" + type: "QWebEngineHistoryModel" + isPointer: true + read: "forwardItemsModel" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Method { name: "clear"; revision: 65281 } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineHistoryModel" + accessSemantics: "reference" + prototype: "QAbstractListModel" + exports: [ + "QtWebEngine/WebEngineHistoryModel 1.1", + "QtWebEngine/WebEngineHistoryModel 6.0", + "QtWebEngine/WebEngineHistoryModel 6.4" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536, 1540] + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineLoadingInfo" + accessSemantics: "value" + exports: [ + "QtWebEngine/webEngineLoadingInfo 1.1", + "QtWebEngine/webEngineLoadingInfo 6.0", + "QtWebEngine/webEngineLoadingInfo 6.6" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536, 1542] + Enum { + name: "LoadStatus" + values: [ + "LoadStartedStatus", + "LoadStoppedStatus", + "LoadSucceededStatus", + "LoadFailedStatus" + ] + } + Enum { + name: "ErrorDomain" + values: [ + "NoErrorDomain", + "InternalErrorDomain", + "ConnectionErrorDomain", + "CertificateErrorDomain", + "HttpErrorDomain", + "FtpErrorDomain", + "DnsErrorDomain", + "HttpStatusCodeDomain" + ] + } + Property { + name: "url" + type: "QUrl" + read: "url" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "isErrorPage" + type: "bool" + read: "isErrorPage" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "status" + type: "LoadStatus" + read: "status" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "errorString" + type: "QString" + read: "errorString" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "errorDomain" + type: "ErrorDomain" + read: "errorDomain" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "errorCode" + type: "int" + read: "errorCode" + index: 5 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "responseHeaders" + revision: 1542 + type: "QMultiMap" + read: "responseHeaders" + index: 6 + isReadonly: true + isFinal: true + isConstant: true + } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineLoadingInfoDerived" + accessSemantics: "none" + prototype: "QWebEngineLoadingInfo" + exports: [ + "QtWebEngine/WebEngineLoadingInfo 1.1", + "QtWebEngine/WebEngineLoadingInfo 6.0", + "QtWebEngine/WebEngineLoadingInfo 6.6" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536, 1542] + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineNavigationRequest" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/WebEngineNavigationRequest 1.0", + "QtWebEngine/WebEngineNavigationRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [256, 1536] + Enum { + name: "NavigationType" + values: [ + "LinkClickedNavigation", + "TypedNavigation", + "FormSubmittedNavigation", + "BackForwardNavigation", + "ReloadNavigation", + "OtherNavigation", + "RedirectNavigation" + ] + } + Enum { + name: "NavigationRequestAction" + values: ["AcceptRequest", "IgnoreRequest"] + } + Property { + name: "url" + type: "QUrl" + read: "url" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "isMainFrame" + type: "bool" + read: "isMainFrame" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "navigationType" + type: "NavigationType" + read: "navigationType" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "action" + type: "NavigationRequestAction" + read: "action" + write: "setAction" + notify: "actionChanged" + index: 3 + isFinal: true + } + Signal { name: "actionChanged" } + Method { name: "accept" } + Method { name: "reject" } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineNotification" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/WebEngineNotification 1.9", + "QtWebEngine/WebEngineNotification 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [265, 1536] + Property { + name: "origin" + type: "QUrl" + read: "origin" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "title" + type: "QString" + read: "title" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "message" + type: "QString" + read: "message" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "tag" + type: "QString" + read: "tag" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "language" + type: "QString" + read: "language" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "direction" + type: "Qt::LayoutDirection" + read: "direction" + index: 5 + isReadonly: true + isFinal: true + isConstant: true + } + Signal { name: "closed" } + Method { name: "show" } + Method { name: "click" } + Method { name: "close" } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineQuotaRequest" + accessSemantics: "value" + exports: [ + "QtWebEngine/webEngineQuotaRequest 1.7", + "QtWebEngine/webEngineQuotaRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [263, 1536] + Property { + name: "origin" + type: "QUrl" + read: "origin" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "requestedSize" + type: "qlonglong" + read: "requestedSize" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Method { name: "accept" } + Method { name: "reject" } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineRegisterProtocolHandlerRequest" + accessSemantics: "value" + exports: [ + "QtWebEngine/registerProtocolHandlerRequest 1.7", + "QtWebEngine/registerProtocolHandlerRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [263, 1536] + Property { + name: "origin" + type: "QUrl" + read: "origin" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "scheme" + type: "QString" + read: "scheme" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Method { name: "accept" } + Method { name: "reject" } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineScript" + accessSemantics: "value" + exports: [ + "QtWebEngine/webEngineScript 1.1", + "QtWebEngine/webEngineScript 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536] + Enum { + name: "InjectionPoint" + values: ["Deferred", "DocumentReady", "DocumentCreation"] + } + Enum { + name: "ScriptWorldId" + values: ["MainWorld", "ApplicationWorld", "UserWorld"] + } + Property { name: "name"; type: "QString"; read: "name"; write: "setName"; index: 0; isFinal: true } + Property { + name: "sourceUrl" + type: "QUrl" + read: "sourceUrl" + write: "setSourceUrl" + index: 1 + isFinal: true + } + Property { + name: "sourceCode" + type: "QString" + read: "sourceCode" + write: "setSourceCode" + index: 2 + isFinal: true + } + Property { + name: "injectionPoint" + type: "InjectionPoint" + read: "injectionPoint" + write: "setInjectionPoint" + index: 3 + isFinal: true + } + Property { + name: "worldId" + type: "uint" + read: "worldId" + write: "setWorldId" + index: 4 + isFinal: true + } + Property { + name: "runsOnSubFrames" + type: "bool" + read: "runsOnSubFrames" + write: "setRunsOnSubFrames" + index: 5 + isFinal: true + } + } + Component { + file: "private/qquickwebengineforeigntypes_p.h" + name: "QWebEngineScript" + accessSemantics: "none" + exports: [ + "QtWebEngine/WebEngineScript 1.1", + "QtWebEngine/WebEngineScript 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536] + Enum { + name: "InjectionPoint" + values: ["Deferred", "DocumentReady", "DocumentCreation"] + } + Enum { + name: "ScriptWorldId" + values: ["MainWorld", "ApplicationWorld", "UserWorld"] + } + Property { name: "name"; type: "QString"; read: "name"; write: "setName"; index: 0; isFinal: true } + Property { + name: "sourceUrl" + type: "QUrl" + read: "sourceUrl" + write: "setSourceUrl" + index: 1 + isFinal: true + } + Property { + name: "sourceCode" + type: "QString" + read: "sourceCode" + write: "setSourceCode" + index: 2 + isFinal: true + } + Property { + name: "injectionPoint" + type: "InjectionPoint" + read: "injectionPoint" + write: "setInjectionPoint" + index: 3 + isFinal: true + } + Property { + name: "worldId" + type: "uint" + read: "worldId" + write: "setWorldId" + index: 4 + isFinal: true + } + Property { + name: "runsOnSubFrames" + type: "bool" + read: "runsOnSubFrames" + write: "setRunsOnSubFrames" + index: 5 + isFinal: true + } + } + Component { + file: "private/qquickwebengineaction_p.h" + name: "QQuickWebEngineAction" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/WebEngineAction 1.8", + "QtWebEngine/WebEngineAction 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [264, 1536] + Property { + name: "text" + type: "QString" + read: "text" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "iconName" + type: "QString" + read: "iconName" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "enabled" + type: "bool" + read: "isEnabled" + notify: "enabledChanged" + index: 2 + isReadonly: true + isFinal: true + } + Signal { name: "triggered" } + Signal { name: "enabledChanged" } + Method { name: "trigger" } + } + Component { + file: "private/qquickwebenginedialogrequests_p.h" + name: "QQuickWebEngineAuthenticationDialogRequest" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/AuthenticationDialogRequest 1.4", + "QtWebEngine/AuthenticationDialogRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [260, 1536] + Enum { + name: "AuthenticationType" + values: ["AuthenticationTypeHTTP", "AuthenticationTypeProxy"] + } + Property { + name: "url" + type: "QUrl" + read: "url" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "realm" + type: "QString" + read: "realm" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "proxyHost" + type: "QString" + read: "proxyHost" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "type" + type: "AuthenticationType" + read: "type" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 4 + isFinal: true + } + Method { + name: "dialogAccept" + Parameter { name: "user"; type: "QString" } + Parameter { name: "password"; type: "QString" } + } + Method { name: "dialogReject" } + } + Component { + file: "private/qquickwebengineclientcertificateselection_p.h" + name: "QQuickWebEngineClientCertificateOption" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/WebEngineClientCertificateOption 1.9", + "QtWebEngine/WebEngineClientCertificateOption 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [265, 1536] + Property { + name: "issuer" + type: "QString" + read: "issuer" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "subject" + type: "QString" + read: "subject" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "effectiveDate" + type: "QDateTime" + read: "effectiveDate" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "expiryDate" + type: "QDateTime" + read: "expiryDate" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "isSelfSigned" + type: "bool" + read: "isSelfSigned" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Method { name: "select" } + } + Component { + file: "private/qquickwebengineclientcertificateselection_p.h" + name: "QQuickWebEngineClientCertificateSelection" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/WebEngineClientCertificateSelection 1.9", + "QtWebEngine/WebEngineClientCertificateSelection 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [265, 1536] + Property { + name: "host" + type: "QUrl" + read: "host" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "certificates" + type: "QQuickWebEngineClientCertificateOption" + isList: true + read: "certificates" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Method { + name: "select" + Parameter { name: "idx"; type: "int" } + } + Method { + name: "select" + Parameter { + name: "certificate" + type: "QQuickWebEngineClientCertificateOption" + isPointer: true + isConstant: true + } + } + Method { name: "selectNone" } + } + Component { + file: "private/qquickwebenginedialogrequests_p.h" + name: "QQuickWebEngineColorDialogRequest" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/ColorDialogRequest 1.4", + "QtWebEngine/ColorDialogRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [260, 1536] + Property { + name: "color" + type: "QColor" + read: "color" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 1 + isFinal: true + } + Method { + name: "dialogAccept" + Parameter { name: "color"; type: "QColor" } + } + Method { name: "dialogReject" } + } + Component { + file: "private/qquickwebenginedownloadrequest_p.h" + name: "QQuickWebEngineDownloadRequest" + accessSemantics: "reference" + prototype: "QWebEngineDownloadRequest" + exports: [ + "QtWebEngine/WebEngineDownloadRequest 1.1", + "QtWebEngine/WebEngineDownloadRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536] + Property { + name: "view" + type: "QQuickWebEngineView" + isPointer: true + read: "view" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + } + Component { + file: "private/qquickwebenginedialogrequests_p.h" + name: "QQuickWebEngineFileDialogRequest" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/FileDialogRequest 1.4", + "QtWebEngine/FileDialogRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [260, 1536] + Enum { + name: "FileMode" + values: [ + "FileModeOpen", + "FileModeOpenMultiple", + "FileModeUploadFolder", + "FileModeSave" + ] + } + Property { + name: "defaultFileName" + type: "QString" + read: "defaultFileName" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "acceptedMimeTypes" + type: "QStringList" + read: "acceptedMimeTypes" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "mode" + type: "FileMode" + read: "mode" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 3 + isFinal: true + } + Method { + name: "dialogAccept" + Parameter { name: "files"; type: "QStringList" } + } + Method { name: "dialogReject" } + } + Component { + file: "private/qquickwebenginedialogrequests_p.h" + name: "QQuickWebEngineJavaScriptDialogRequest" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/JavaScriptDialogRequest 1.4", + "QtWebEngine/JavaScriptDialogRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [260, 1536] + Enum { + name: "DialogType" + values: [ + "DialogTypeAlert", + "DialogTypeConfirm", + "DialogTypePrompt", + "DialogTypeBeforeUnload" + ] + } + Property { + name: "message" + type: "QString" + read: "message" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "defaultText" + type: "QString" + read: "defaultText" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "title" + type: "QString" + read: "title" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "type" + type: "DialogType" + read: "type" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "securityOrigin" + type: "QUrl" + read: "securityOrigin" + index: 4 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 5 + isFinal: true + } + Method { + name: "dialogAccept" + Parameter { name: "text"; type: "QString" } + } + Method { name: "dialogAccept"; isCloned: true } + Method { name: "dialogReject" } + } + Component { + file: "private/qquickwebenginenewwindowrequest_p.h" + name: "QQuickWebEngineNewWindowRequest" + accessSemantics: "reference" + prototype: "QWebEngineNewWindowRequest" + exports: [ + "QtWebEngine/WebEngineNewWindowRequest 1.1", + "QtWebEngine/WebEngineNewWindowRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [257, 1536] + Method { + name: "openIn" + Parameter { type: "QQuickWebEngineView"; isPointer: true } + } + } + Component { + file: "qquickwebengineprofile.h" + name: "QQuickWebEngineProfile" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/WebEngineProfile 1.1", + "QtWebEngine/WebEngineProfile 1.2", + "QtWebEngine/WebEngineProfile 1.3", + "QtWebEngine/WebEngineProfile 1.5", + "QtWebEngine/WebEngineProfile 6.0", + "QtWebEngine/WebEngineProfile 6.5" + ] + exportMetaObjectRevisions: [257, 258, 259, 261, 1536, 1541] + Enum { + name: "HttpCacheType" + values: ["MemoryHttpCache", "DiskHttpCache", "NoCache"] + } + Enum { + name: "PersistentCookiesPolicy" + values: [ + "NoPersistentCookies", + "AllowPersistentCookies", + "ForcePersistentCookies" + ] + } + Property { + name: "storageName" + type: "QString" + read: "storageName" + write: "setStorageName" + notify: "storageNameChanged" + index: 0 + isFinal: true + } + Property { + name: "offTheRecord" + type: "bool" + read: "isOffTheRecord" + write: "setOffTheRecord" + notify: "offTheRecordChanged" + index: 1 + isFinal: true + } + Property { + name: "persistentStoragePath" + type: "QString" + read: "persistentStoragePath" + write: "setPersistentStoragePath" + notify: "persistentStoragePathChanged" + index: 2 + isFinal: true + } + Property { + name: "cachePath" + type: "QString" + read: "cachePath" + write: "setCachePath" + notify: "cachePathChanged" + index: 3 + isFinal: true + } + Property { + name: "httpUserAgent" + type: "QString" + read: "httpUserAgent" + write: "setHttpUserAgent" + notify: "httpUserAgentChanged" + index: 4 + isFinal: true + } + Property { + name: "httpCacheType" + type: "HttpCacheType" + read: "httpCacheType" + write: "setHttpCacheType" + notify: "httpCacheTypeChanged" + index: 5 + isFinal: true + } + Property { + name: "httpAcceptLanguage" + revision: 257 + type: "QString" + read: "httpAcceptLanguage" + write: "setHttpAcceptLanguage" + notify: "httpAcceptLanguageChanged" + index: 6 + isFinal: true + } + Property { + name: "persistentCookiesPolicy" + type: "PersistentCookiesPolicy" + read: "persistentCookiesPolicy" + write: "setPersistentCookiesPolicy" + notify: "persistentCookiesPolicyChanged" + index: 7 + isFinal: true + } + Property { + name: "httpCacheMaximumSize" + type: "int" + read: "httpCacheMaximumSize" + write: "setHttpCacheMaximumSize" + notify: "httpCacheMaximumSizeChanged" + index: 8 + isFinal: true + } + Property { + name: "spellCheckLanguages" + revision: 259 + type: "QStringList" + read: "spellCheckLanguages" + write: "setSpellCheckLanguages" + notify: "spellCheckLanguagesChanged" + index: 9 + isFinal: true + } + Property { + name: "spellCheckEnabled" + revision: 259 + type: "bool" + read: "isSpellCheckEnabled" + write: "setSpellCheckEnabled" + notify: "spellCheckEnabledChanged" + index: 10 + isFinal: true + } + Property { + name: "userScripts" + type: "QQuickWebEngineScriptCollection" + isPointer: true + read: "userScripts" + index: 11 + isReadonly: true + } + Property { + name: "downloadPath" + revision: 261 + type: "QString" + read: "downloadPath" + write: "setDownloadPath" + notify: "downloadPathChanged" + index: 12 + isFinal: true + } + Property { + name: "isPushServiceEnabled" + revision: 1541 + type: "bool" + read: "isPushServiceEnabled" + write: "setPushServiceEnabled" + notify: "pushServiceEnabledChanged" + index: 13 + isFinal: true + } + Signal { name: "storageNameChanged" } + Signal { name: "offTheRecordChanged" } + Signal { name: "persistentStoragePathChanged" } + Signal { name: "cachePathChanged" } + Signal { name: "httpUserAgentChanged" } + Signal { name: "httpCacheTypeChanged" } + Signal { name: "persistentCookiesPolicyChanged" } + Signal { name: "httpCacheMaximumSizeChanged" } + Signal { name: "httpAcceptLanguageChanged"; revision: 257 } + Signal { name: "spellCheckLanguagesChanged"; revision: 259 } + Signal { name: "spellCheckEnabledChanged"; revision: 259 } + Signal { name: "downloadPathChanged"; revision: 261 } + Signal { name: "pushServiceEnabledChanged"; revision: 1541 } + Signal { + name: "downloadRequested" + Parameter { name: "download"; type: "QQuickWebEngineDownloadRequest"; isPointer: true } + } + Signal { + name: "downloadFinished" + Parameter { name: "download"; type: "QQuickWebEngineDownloadRequest"; isPointer: true } + } + Signal { + name: "presentNotification" + revision: 261 + Parameter { name: "notification"; type: "QWebEngineNotification"; isPointer: true } + } + Method { name: "clearHttpCache"; revision: 258 } + } + Component { + file: "private/qquickwebenginesettings_p.h" + name: "QQuickWebEngineSettings" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/WebEngineSettings 1.1", + "QtWebEngine/WebEngineSettings 1.2", + "QtWebEngine/WebEngineSettings 1.3", + "QtWebEngine/WebEngineSettings 1.4", + "QtWebEngine/WebEngineSettings 1.5", + "QtWebEngine/WebEngineSettings 1.6", + "QtWebEngine/WebEngineSettings 1.7", + "QtWebEngine/WebEngineSettings 1.8", + "QtWebEngine/WebEngineSettings 6.0", + "QtWebEngine/WebEngineSettings 6.4", + "QtWebEngine/WebEngineSettings 6.6" + ] + isCreatable: false + exportMetaObjectRevisions: [ + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 1536, + 1540, + 1542 + ] + Enum { + name: "UnknownUrlSchemePolicy" + values: [ + "DisallowUnknownUrlSchemes", + "AllowUnknownUrlSchemesFromUserInteraction", + "AllowAllUnknownUrlSchemes" + ] + } + Property { + name: "autoLoadImages" + type: "bool" + read: "autoLoadImages" + write: "setAutoLoadImages" + notify: "autoLoadImagesChanged" + index: 0 + isFinal: true + } + Property { + name: "javascriptEnabled" + type: "bool" + read: "javascriptEnabled" + write: "setJavascriptEnabled" + notify: "javascriptEnabledChanged" + index: 1 + isFinal: true + } + Property { + name: "javascriptCanOpenWindows" + type: "bool" + read: "javascriptCanOpenWindows" + write: "setJavascriptCanOpenWindows" + notify: "javascriptCanOpenWindowsChanged" + index: 2 + isFinal: true + } + Property { + name: "javascriptCanAccessClipboard" + type: "bool" + read: "javascriptCanAccessClipboard" + write: "setJavascriptCanAccessClipboard" + notify: "javascriptCanAccessClipboardChanged" + index: 3 + isFinal: true + } + Property { + name: "linksIncludedInFocusChain" + type: "bool" + read: "linksIncludedInFocusChain" + write: "setLinksIncludedInFocusChain" + notify: "linksIncludedInFocusChainChanged" + index: 4 + isFinal: true + } + Property { + name: "localStorageEnabled" + type: "bool" + read: "localStorageEnabled" + write: "setLocalStorageEnabled" + notify: "localStorageEnabledChanged" + index: 5 + isFinal: true + } + Property { + name: "localContentCanAccessRemoteUrls" + type: "bool" + read: "localContentCanAccessRemoteUrls" + write: "setLocalContentCanAccessRemoteUrls" + notify: "localContentCanAccessRemoteUrlsChanged" + index: 6 + isFinal: true + } + Property { + name: "spatialNavigationEnabled" + type: "bool" + read: "spatialNavigationEnabled" + write: "setSpatialNavigationEnabled" + notify: "spatialNavigationEnabledChanged" + index: 7 + isFinal: true + } + Property { + name: "localContentCanAccessFileUrls" + type: "bool" + read: "localContentCanAccessFileUrls" + write: "setLocalContentCanAccessFileUrls" + notify: "localContentCanAccessFileUrlsChanged" + index: 8 + isFinal: true + } + Property { + name: "hyperlinkAuditingEnabled" + type: "bool" + read: "hyperlinkAuditingEnabled" + write: "setHyperlinkAuditingEnabled" + notify: "hyperlinkAuditingEnabledChanged" + index: 9 + isFinal: true + } + Property { + name: "errorPageEnabled" + type: "bool" + read: "errorPageEnabled" + write: "setErrorPageEnabled" + notify: "errorPageEnabledChanged" + index: 10 + isFinal: true + } + Property { + name: "pluginsEnabled" + type: "bool" + read: "pluginsEnabled" + write: "setPluginsEnabled" + notify: "pluginsEnabledChanged" + index: 11 + isFinal: true + } + Property { + name: "fullScreenSupportEnabled" + revision: 257 + type: "bool" + read: "fullScreenSupportEnabled" + write: "setFullScreenSupportEnabled" + notify: "fullScreenSupportEnabledChanged" + index: 12 + isFinal: true + } + Property { + name: "defaultTextEncoding" + type: "QString" + read: "defaultTextEncoding" + write: "setDefaultTextEncoding" + notify: "defaultTextEncodingChanged" + index: 13 + isFinal: true + } + Property { + name: "screenCaptureEnabled" + revision: 258 + type: "bool" + read: "screenCaptureEnabled" + write: "setScreenCaptureEnabled" + notify: "screenCaptureEnabledChanged" + index: 14 + isFinal: true + } + Property { + name: "webGLEnabled" + revision: 258 + type: "bool" + read: "webGLEnabled" + write: "setWebGLEnabled" + notify: "webGLEnabledChanged" + index: 15 + isFinal: true + } + Property { + name: "accelerated2dCanvasEnabled" + revision: 258 + type: "bool" + read: "accelerated2dCanvasEnabled" + write: "setAccelerated2dCanvasEnabled" + notify: "accelerated2dCanvasEnabledChanged" + index: 16 + isFinal: true + } + Property { + name: "autoLoadIconsForPage" + revision: 258 + type: "bool" + read: "autoLoadIconsForPage" + write: "setAutoLoadIconsForPage" + notify: "autoLoadIconsForPageChanged" + index: 17 + isFinal: true + } + Property { + name: "touchIconsEnabled" + revision: 258 + type: "bool" + read: "touchIconsEnabled" + write: "setTouchIconsEnabled" + notify: "touchIconsEnabledChanged" + index: 18 + isFinal: true + } + Property { + name: "focusOnNavigationEnabled" + revision: 259 + type: "bool" + read: "focusOnNavigationEnabled" + write: "setFocusOnNavigationEnabled" + notify: "focusOnNavigationEnabledChanged" + index: 19 + isFinal: true + } + Property { + name: "printElementBackgrounds" + revision: 259 + type: "bool" + read: "printElementBackgrounds" + write: "setPrintElementBackgrounds" + notify: "printElementBackgroundsChanged" + index: 20 + isFinal: true + } + Property { + name: "allowRunningInsecureContent" + revision: 259 + type: "bool" + read: "allowRunningInsecureContent" + write: "setAllowRunningInsecureContent" + notify: "allowRunningInsecureContentChanged" + index: 21 + isFinal: true + } + Property { + name: "allowGeolocationOnInsecureOrigins" + revision: 260 + type: "bool" + read: "allowGeolocationOnInsecureOrigins" + write: "setAllowGeolocationOnInsecureOrigins" + notify: "allowGeolocationOnInsecureOriginsChanged" + index: 22 + isFinal: true + } + Property { + name: "allowWindowActivationFromJavaScript" + revision: 261 + type: "bool" + read: "allowWindowActivationFromJavaScript" + write: "setAllowWindowActivationFromJavaScript" + notify: "allowWindowActivationFromJavaScriptChanged" + index: 23 + isFinal: true + } + Property { + name: "showScrollBars" + revision: 261 + type: "bool" + read: "showScrollBars" + write: "setShowScrollBars" + notify: "showScrollBarsChanged" + index: 24 + isFinal: true + } + Property { + name: "unknownUrlSchemePolicy" + revision: 262 + type: "UnknownUrlSchemePolicy" + read: "unknownUrlSchemePolicy" + write: "setUnknownUrlSchemePolicy" + notify: "unknownUrlSchemePolicyChanged" + index: 25 + isFinal: true + } + Property { + name: "playbackRequiresUserGesture" + revision: 262 + type: "bool" + read: "playbackRequiresUserGesture" + write: "setPlaybackRequiresUserGesture" + notify: "playbackRequiresUserGestureChanged" + index: 26 + isFinal: true + } + Property { + name: "webRTCPublicInterfacesOnly" + revision: 262 + type: "bool" + read: "webRTCPublicInterfacesOnly" + write: "setWebRTCPublicInterfacesOnly" + notify: "webRTCPublicInterfacesOnlyChanged" + index: 27 + isFinal: true + } + Property { + name: "javascriptCanPaste" + revision: 262 + type: "bool" + read: "javascriptCanPaste" + write: "setJavascriptCanPaste" + notify: "javascriptCanPasteChanged" + index: 28 + isFinal: true + } + Property { + name: "dnsPrefetchEnabled" + revision: 263 + type: "bool" + read: "dnsPrefetchEnabled" + write: "setDnsPrefetchEnabled" + notify: "dnsPrefetchEnabledChanged" + index: 29 + isFinal: true + } + Property { + name: "pdfViewerEnabled" + revision: 264 + type: "bool" + read: "pdfViewerEnabled" + write: "setPdfViewerEnabled" + notify: "pdfViewerEnabledChanged" + index: 30 + isFinal: true + } + Property { + name: "navigateOnDropEnabled" + revision: 1540 + type: "bool" + read: "navigateOnDropEnabled" + write: "setNavigateOnDropEnabled" + notify: "navigateOnDropEnabledChanged" + index: 31 + isFinal: true + } + Property { + name: "readingFromCanvasEnabled" + revision: 1542 + type: "bool" + read: "readingFromCanvasEnabled" + write: "setReadingFromCanvasEnabled" + notify: "readingFromCanvasEnabledChanged" + index: 32 + isFinal: true + } + Signal { name: "autoLoadImagesChanged" } + Signal { name: "javascriptEnabledChanged" } + Signal { name: "javascriptCanOpenWindowsChanged" } + Signal { name: "javascriptCanAccessClipboardChanged" } + Signal { name: "linksIncludedInFocusChainChanged" } + Signal { name: "localStorageEnabledChanged" } + Signal { name: "localContentCanAccessRemoteUrlsChanged" } + Signal { name: "spatialNavigationEnabledChanged" } + Signal { name: "localContentCanAccessFileUrlsChanged" } + Signal { name: "hyperlinkAuditingEnabledChanged" } + Signal { name: "errorPageEnabledChanged" } + Signal { name: "pluginsEnabledChanged" } + Signal { name: "fullScreenSupportEnabledChanged"; revision: 257 } + Signal { name: "defaultTextEncodingChanged" } + Signal { name: "screenCaptureEnabledChanged"; revision: 258 } + Signal { name: "webGLEnabledChanged"; revision: 258 } + Signal { name: "accelerated2dCanvasEnabledChanged"; revision: 258 } + Signal { name: "autoLoadIconsForPageChanged"; revision: 258 } + Signal { name: "touchIconsEnabledChanged"; revision: 258 } + Signal { name: "focusOnNavigationEnabledChanged"; revision: 259 } + Signal { name: "printElementBackgroundsChanged"; revision: 259 } + Signal { name: "allowRunningInsecureContentChanged"; revision: 259 } + Signal { name: "allowGeolocationOnInsecureOriginsChanged"; revision: 260 } + Signal { name: "allowWindowActivationFromJavaScriptChanged"; revision: 261 } + Signal { name: "showScrollBarsChanged"; revision: 261 } + Signal { name: "unknownUrlSchemePolicyChanged"; revision: 262 } + Signal { name: "playbackRequiresUserGestureChanged"; revision: 262 } + Signal { name: "webRTCPublicInterfacesOnlyChanged"; revision: 262 } + Signal { name: "javascriptCanPasteChanged"; revision: 262 } + Signal { name: "dnsPrefetchEnabledChanged"; revision: 263 } + Signal { name: "pdfViewerEnabledChanged"; revision: 264 } + Signal { name: "navigateOnDropEnabledChanged"; revision: 1540 } + Signal { name: "readingFromCanvasEnabledChanged"; revision: 1542 } + } + Component { + file: "private/qquickwebenginesingleton_p.h" + name: "QQuickWebEngineSingleton" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtWebEngine/WebEngine 1.1", "QtWebEngine/WebEngine 6.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [257, 1536] + Property { + name: "settings" + type: "QQuickWebEngineSettings" + isPointer: true + read: "settings" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "defaultProfile" + revision: 257 + type: "QQuickWebEngineProfile" + isPointer: true + read: "defaultProfile" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Method { name: "script"; type: "QWebEngineScript" } + } + Component { + file: "private/qquickwebenginedialogrequests_p.h" + name: "QQuickWebEngineTooltipRequest" + accessSemantics: "reference" + prototype: "QObject" + exports: [ + "QtWebEngine/TooltipRequest 1.10", + "QtWebEngine/TooltipRequest 6.0" + ] + isCreatable: false + exportMetaObjectRevisions: [266, 1536] + Enum { + name: "RequestType" + values: ["Show", "Hide"] + } + Property { + name: "x" + type: "int" + read: "x" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "y" + type: "int" + read: "y" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "text" + type: "QString" + read: "text" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "type" + type: "RequestType" + read: "type" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 4 + isFinal: true + } + } + Component { + file: "private/qquickwebenginetouchselectionmenurequest_p.h" + name: "QQuickWebEngineTouchSelectionMenuRequest" + accessSemantics: "reference" + prototype: "QObject" + exports: ["QtWebEngine/TouchSelectionMenuRequest 6.3"] + isCreatable: false + exportMetaObjectRevisions: [1539] + Enum { + name: "TouchSelectionCommandFlags" + alias: "TouchSelectionCommandFlag" + isFlag: true + values: ["Cut", "Copy", "Paste"] + } + Property { + name: "accepted" + type: "bool" + read: "isAccepted" + write: "setAccepted" + index: 0 + isFinal: true + } + Property { + name: "selectionBounds" + revision: 65281 + type: "QRect" + read: "selectionBounds" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "touchSelectionCommandFlags" + revision: 65281 + type: "TouchSelectionCommandFlags" + read: "touchSelectionCommandFlags" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + } + Component { + file: "private/qquickwebengineview_p.h" + name: "QQuickWebEngineView" + accessSemantics: "reference" + defaultProperty: "data" + parentProperty: "parent" + prototype: "QQuickItem" + exports: [ + "QtWebEngine/WebEngineView 1.0", + "QtWebEngine/WebEngineView 1.1", + "QtWebEngine/WebEngineView 1.2", + "QtWebEngine/WebEngineView 1.3", + "QtWebEngine/WebEngineView 1.4", + "QtWebEngine/WebEngineView 1.5", + "QtWebEngine/WebEngineView 1.7", + "QtWebEngine/WebEngineView 1.8", + "QtWebEngine/WebEngineView 1.9", + "QtWebEngine/WebEngineView 1.10", + "QtWebEngine/WebEngineView 1.11", + "QtWebEngine/WebEngineView 1.12", + "QtWebEngine/WebEngineView 2.0", + "QtWebEngine/WebEngineView 2.1", + "QtWebEngine/WebEngineView 2.4", + "QtWebEngine/WebEngineView 2.7", + "QtWebEngine/WebEngineView 2.11", + "QtWebEngine/WebEngineView 6.0", + "QtWebEngine/WebEngineView 6.3", + "QtWebEngine/WebEngineView 6.4", + "QtWebEngine/WebEngineView 6.6" + ] + exportMetaObjectRevisions: [ + 256, + 257, + 258, + 259, + 260, + 261, + 263, + 264, + 265, + 266, + 267, + 268, + 512, + 513, + 516, + 519, + 523, + 1536, + 1539, + 1540, + 1542 + ] + Enum { + name: "NavigationRequestAction" + values: ["AcceptRequest", "IgnoreRequest"] + } + Enum { + name: "NavigationType" + values: [ + "LinkClickedNavigation", + "TypedNavigation", + "FormSubmittedNavigation", + "BackForwardNavigation", + "ReloadNavigation", + "OtherNavigation", + "RedirectNavigation" + ] + } + Enum { + name: "LoadStatus" + values: [ + "LoadStartedStatus", + "LoadStoppedStatus", + "LoadSucceededStatus", + "LoadFailedStatus" + ] + } + Enum { + name: "ErrorDomain" + values: [ + "NoErrorDomain", + "InternalErrorDomain", + "ConnectionErrorDomain", + "CertificateErrorDomain", + "HttpErrorDomain", + "FtpErrorDomain", + "DnsErrorDomain" + ] + } + Enum { + name: "NewViewDestination" + values: [ + "NewViewInWindow", + "NewViewInTab", + "NewViewInDialog", + "NewViewInBackgroundTab" + ] + } + Enum { + name: "Feature" + values: [ + "MediaAudioCapture", + "MediaVideoCapture", + "MediaAudioVideoCapture", + "Geolocation", + "DesktopVideoCapture", + "DesktopAudioVideoCapture", + "Notifications" + ] + } + Enum { + name: "WebAction" + values: [ + "NoWebAction", + "Back", + "Forward", + "Stop", + "Reload", + "Cut", + "Copy", + "Paste", + "Undo", + "Redo", + "SelectAll", + "ReloadAndBypassCache", + "PasteAndMatchStyle", + "OpenLinkInThisWindow", + "OpenLinkInNewWindow", + "OpenLinkInNewTab", + "CopyLinkToClipboard", + "DownloadLinkToDisk", + "CopyImageToClipboard", + "CopyImageUrlToClipboard", + "DownloadImageToDisk", + "CopyMediaUrlToClipboard", + "ToggleMediaControls", + "ToggleMediaLoop", + "ToggleMediaPlayPause", + "ToggleMediaMute", + "DownloadMediaToDisk", + "InspectElement", + "ExitFullScreen", + "RequestClose", + "Unselect", + "SavePage", + "OpenLinkInNewBackgroundTab", + "ViewSource", + "ToggleBold", + "ToggleItalic", + "ToggleUnderline", + "ToggleStrikethrough", + "AlignLeft", + "AlignCenter", + "AlignRight", + "AlignJustified", + "Indent", + "Outdent", + "InsertOrderedList", + "InsertUnorderedList", + "ChangeTextDirectionLTR", + "ChangeTextDirectionRTL", + "WebActionCount" + ] + } + Enum { + name: "JavaScriptConsoleMessageLevel" + values: [ + "InfoMessageLevel", + "WarningMessageLevel", + "ErrorMessageLevel" + ] + } + Enum { + name: "RenderProcessTerminationStatus" + values: [ + "NormalTerminationStatus", + "AbnormalTerminationStatus", + "CrashedTerminationStatus", + "KilledTerminationStatus" + ] + } + Enum { + name: "FindFlags" + alias: "FindFlag" + isFlag: true + values: ["FindBackward", "FindCaseSensitively"] + } + Enum { + name: "PrintedPageSizeId" + values: [ + "Letter", + "Legal", + "Executive", + "A0", + "A1", + "A2", + "A3", + "A4", + "A5", + "A6", + "A7", + "A8", + "A9", + "A10", + "B0", + "B1", + "B2", + "B3", + "B4", + "B5", + "B6", + "B7", + "B8", + "B9", + "B10", + "C5E", + "Comm10E", + "DLE", + "Folio", + "Ledger", + "Tabloid", + "Custom", + "A3Extra", + "A4Extra", + "A4Plus", + "A4Small", + "A5Extra", + "B5Extra", + "JisB0", + "JisB1", + "JisB2", + "JisB3", + "JisB4", + "JisB5", + "JisB6", + "JisB7", + "JisB8", + "JisB9", + "JisB10", + "AnsiC", + "AnsiD", + "AnsiE", + "LegalExtra", + "LetterExtra", + "LetterPlus", + "LetterSmall", + "TabloidExtra", + "ArchA", + "ArchB", + "ArchC", + "ArchD", + "ArchE", + "Imperial7x9", + "Imperial8x10", + "Imperial9x11", + "Imperial9x12", + "Imperial10x11", + "Imperial10x13", + "Imperial10x14", + "Imperial12x11", + "Imperial15x11", + "ExecutiveStandard", + "Note", + "Quarto", + "Statement", + "SuperA", + "SuperB", + "Postcard", + "DoublePostcard", + "Prc16K", + "Prc32K", + "Prc32KBig", + "FanFoldUS", + "FanFoldGerman", + "FanFoldGermanLegal", + "EnvelopeB4", + "EnvelopeB5", + "EnvelopeB6", + "EnvelopeC0", + "EnvelopeC1", + "EnvelopeC2", + "EnvelopeC3", + "EnvelopeC4", + "EnvelopeC6", + "EnvelopeC65", + "EnvelopeC7", + "Envelope9", + "Envelope11", + "Envelope12", + "Envelope14", + "EnvelopeMonarch", + "EnvelopePersonal", + "EnvelopeChou3", + "EnvelopeChou4", + "EnvelopeInvite", + "EnvelopeItalian", + "EnvelopeKaku2", + "EnvelopeKaku3", + "EnvelopePrc1", + "EnvelopePrc2", + "EnvelopePrc3", + "EnvelopePrc4", + "EnvelopePrc5", + "EnvelopePrc6", + "EnvelopePrc7", + "EnvelopePrc8", + "EnvelopePrc9", + "EnvelopePrc10", + "EnvelopeYou4", + "LastPageSize", + "AnsiA", + "AnsiB", + "EnvelopeC5", + "EnvelopeDL", + "Envelope10" + ] + } + Enum { + name: "PrintedPageOrientation" + values: ["Portrait", "Landscape"] + } + Enum { + name: "LifecycleState" + values: ["Active", "Frozen", "Discarded"] + } + Property { + name: "url" + type: "QUrl" + read: "url" + write: "setUrl" + notify: "urlChanged" + index: 0 + isFinal: true + } + Property { + name: "icon" + type: "QUrl" + read: "icon" + notify: "iconChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "loading" + type: "bool" + read: "isLoading" + notify: "loadingChanged" + index: 2 + isReadonly: true + isFinal: true + } + Property { + name: "loadProgress" + type: "int" + read: "loadProgress" + notify: "loadProgressChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "title" + type: "QString" + read: "title" + notify: "titleChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "canGoBack" + type: "bool" + read: "canGoBack" + notify: "canGoBackChanged" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "canGoForward" + type: "bool" + read: "canGoForward" + notify: "canGoForwardChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "isFullScreen" + revision: 257 + type: "bool" + read: "isFullScreen" + notify: "isFullScreenChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "zoomFactor" + revision: 257 + type: "double" + read: "zoomFactor" + write: "setZoomFactor" + notify: "zoomFactorChanged" + index: 8 + isFinal: true + } + Property { + name: "profile" + revision: 257 + type: "QQuickWebEngineProfile" + isPointer: true + read: "profile" + write: "setProfile" + notify: "profileChanged" + index: 9 + isFinal: true + } + Property { + name: "settings" + revision: 257 + type: "QQuickWebEngineSettings" + isPointer: true + read: "settings" + index: 10 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "history" + revision: 257 + type: "QWebEngineHistory" + isPointer: true + read: "history" + index: 11 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "webChannel" + revision: 257 + type: "QQmlWebChannel" + isPointer: true + read: "webChannel" + write: "setWebChannel" + notify: "webChannelChanged" + index: 12 + isFinal: true + } + Property { + name: "userScripts" + revision: 257 + type: "QQuickWebEngineScriptCollection" + isPointer: true + read: "userScripts" + index: 13 + isReadonly: true + isFinal: true + } + Property { + name: "activeFocusOnPress" + revision: 258 + type: "bool" + read: "activeFocusOnPress" + write: "setActiveFocusOnPress" + notify: "activeFocusOnPressChanged" + index: 14 + isFinal: true + } + Property { + name: "backgroundColor" + revision: 258 + type: "QColor" + read: "backgroundColor" + write: "setBackgroundColor" + notify: "backgroundColorChanged" + index: 15 + isFinal: true + } + Property { + name: "contentsSize" + revision: 259 + type: "QSizeF" + read: "contentsSize" + notify: "contentsSizeChanged" + index: 16 + isReadonly: true + isFinal: true + } + Property { + name: "scrollPosition" + revision: 259 + type: "QPointF" + read: "scrollPosition" + notify: "scrollPositionChanged" + index: 17 + isReadonly: true + isFinal: true + } + Property { + name: "audioMuted" + revision: 259 + type: "bool" + read: "isAudioMuted" + write: "setAudioMuted" + notify: "audioMutedChanged" + index: 18 + isFinal: true + } + Property { + name: "recentlyAudible" + revision: 259 + type: "bool" + read: "recentlyAudible" + notify: "recentlyAudibleChanged" + index: 19 + isReadonly: true + isFinal: true + } + Property { + name: "webChannelWorld" + revision: 259 + type: "uint" + read: "webChannelWorld" + write: "setWebChannelWorld" + notify: "webChannelWorldChanged" + index: 20 + isFinal: true + } + Property { + name: "inspectedView" + revision: 263 + type: "QQuickWebEngineView" + isPointer: true + read: "inspectedView" + write: "setInspectedView" + notify: "inspectedViewChanged" + index: 21 + isFinal: true + } + Property { + name: "devToolsView" + revision: 263 + type: "QQuickWebEngineView" + isPointer: true + read: "devToolsView" + write: "setDevToolsView" + notify: "devToolsViewChanged" + index: 22 + isFinal: true + } + Property { + name: "devToolsId" + revision: 1542 + type: "QString" + read: "devToolsId" + index: 23 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "lifecycleState" + revision: 266 + type: "LifecycleState" + read: "lifecycleState" + write: "setLifecycleState" + notify: "lifecycleStateChanged" + index: 24 + isFinal: true + } + Property { + name: "recommendedState" + revision: 266 + type: "LifecycleState" + read: "recommendedState" + notify: "recommendedStateChanged" + index: 25 + isReadonly: true + isFinal: true + } + Property { + name: "renderProcessPid" + revision: 267 + type: "qlonglong" + read: "renderProcessPid" + notify: "renderProcessPidChanged" + index: 26 + isReadonly: true + isFinal: true + } + Property { + name: "touchHandleDelegate" + revision: 65280 + type: "QQmlComponent" + isPointer: true + read: "touchHandleDelegate" + write: "setTouchHandleDelegate" + notify: "touchHandleDelegateChanged" + index: 27 + isFinal: true + } + Signal { name: "titleChanged" } + Signal { name: "urlChanged" } + Signal { name: "iconChanged" } + Signal { + name: "loadingChanged" + Parameter { name: "loadingInfo"; type: "QWebEngineLoadingInfo" } + } + Signal { name: "loadProgressChanged" } + Signal { + name: "linkHovered" + Parameter { name: "hoveredUrl"; type: "QUrl" } + } + Signal { + name: "navigationRequested" + Parameter { name: "request"; type: "QWebEngineNavigationRequest"; isPointer: true } + } + Signal { + name: "javaScriptConsoleMessage" + Parameter { name: "level"; type: "QQuickWebEngineView::JavaScriptConsoleMessageLevel" } + Parameter { name: "message"; type: "QString" } + Parameter { name: "lineNumber"; type: "int" } + Parameter { name: "sourceID"; type: "QString" } + } + Signal { + name: "certificateError" + revision: 257 + Parameter { name: "error"; type: "QWebEngineCertificateError" } + } + Signal { + name: "fullScreenRequested" + revision: 257 + Parameter { name: "request"; type: "QWebEngineFullScreenRequest" } + } + Signal { name: "isFullScreenChanged"; revision: 257 } + Signal { + name: "featurePermissionRequested" + revision: 257 + Parameter { name: "securityOrigin"; type: "QUrl" } + Parameter { name: "feature"; type: "QQuickWebEngineView::Feature" } + } + Signal { + name: "zoomFactorChanged" + revision: 257 + Parameter { name: "arg"; type: "double" } + } + Signal { name: "profileChanged"; revision: 257 } + Signal { name: "webChannelChanged"; revision: 257 } + Signal { + name: "activeFocusOnPressChanged" + revision: 258 + Parameter { type: "bool" } + } + Signal { name: "backgroundColorChanged"; revision: 258 } + Signal { + name: "renderProcessTerminated" + revision: 258 + Parameter { + name: "terminationStatus" + type: "QQuickWebEngineView::RenderProcessTerminationStatus" + } + Parameter { name: "exitCode"; type: "int" } + } + Signal { name: "windowCloseRequested"; revision: 258 } + Signal { + name: "contentsSizeChanged" + revision: 259 + Parameter { name: "size"; type: "QSizeF" } + } + Signal { + name: "scrollPositionChanged" + revision: 259 + Parameter { name: "position"; type: "QPointF" } + } + Signal { + name: "audioMutedChanged" + revision: 259 + Parameter { name: "muted"; type: "bool" } + } + Signal { + name: "recentlyAudibleChanged" + revision: 259 + Parameter { name: "recentlyAudible"; type: "bool" } + } + Signal { + name: "webChannelWorldChanged" + revision: 259 + Parameter { type: "uint" } + } + Signal { + name: "contextMenuRequested" + revision: 260 + Parameter { name: "request"; type: "QWebEngineContextMenuRequest"; isPointer: true } + } + Signal { + name: "authenticationDialogRequested" + revision: 260 + Parameter { + name: "request" + type: "QQuickWebEngineAuthenticationDialogRequest" + isPointer: true + } + } + Signal { + name: "javaScriptDialogRequested" + revision: 260 + Parameter { name: "request"; type: "QQuickWebEngineJavaScriptDialogRequest"; isPointer: true } + } + Signal { + name: "colorDialogRequested" + revision: 260 + Parameter { name: "request"; type: "QQuickWebEngineColorDialogRequest"; isPointer: true } + } + Signal { + name: "fileDialogRequested" + revision: 260 + Parameter { name: "request"; type: "QQuickWebEngineFileDialogRequest"; isPointer: true } + } + Signal { + name: "pdfPrintingFinished" + revision: 261 + Parameter { name: "filePath"; type: "QString" } + Parameter { name: "success"; type: "bool" } + } + Signal { + name: "quotaRequested" + revision: 263 + Parameter { name: "request"; type: "QWebEngineQuotaRequest" } + } + Signal { + name: "geometryChangeRequested" + revision: 263 + Parameter { name: "geometry"; type: "QRect" } + Parameter { name: "frameGeometry"; type: "QRect" } + } + Signal { name: "inspectedViewChanged"; revision: 263 } + Signal { name: "devToolsViewChanged"; revision: 263 } + Signal { + name: "registerProtocolHandlerRequested" + revision: 263 + Parameter { name: "request"; type: "QWebEngineRegisterProtocolHandlerRequest" } + } + Signal { name: "printRequested"; revision: 264 } + Signal { + name: "selectClientCertificate" + revision: 265 + Parameter { + name: "clientCertSelection" + type: "QQuickWebEngineClientCertificateSelection" + isPointer: true + } + } + Signal { + name: "tooltipRequested" + revision: 266 + Parameter { name: "request"; type: "QQuickWebEngineTooltipRequest"; isPointer: true } + } + Signal { + name: "lifecycleStateChanged" + revision: 266 + Parameter { name: "state"; type: "QQuickWebEngineView::LifecycleState" } + } + Signal { + name: "recommendedStateChanged" + revision: 266 + Parameter { name: "state"; type: "QQuickWebEngineView::LifecycleState" } + } + Signal { + name: "findTextFinished" + revision: 266 + Parameter { name: "result"; type: "QWebEngineFindTextResult" } + } + Signal { + name: "renderProcessPidChanged" + revision: 267 + Parameter { name: "pid"; type: "qlonglong" } + } + Signal { name: "canGoBackChanged"; revision: 267 } + Signal { name: "canGoForwardChanged"; revision: 267 } + Signal { + name: "newWindowRequested" + revision: 268 + Parameter { name: "request"; type: "QQuickWebEngineNewWindowRequest"; isPointer: true } + } + Signal { + name: "touchSelectionMenuRequested" + revision: 1539 + Parameter { name: "request"; type: "QQuickWebEngineTouchSelectionMenuRequest"; isPointer: true } + } + Signal { name: "touchHandleDelegateChanged"; revision: 1540 } + Signal { + name: "fileSystemAccessRequested" + revision: 1540 + Parameter { name: "request"; type: "QWebEngineFileSystemAccessRequest" } + } + Method { + name: "runJavaScript" + Parameter { type: "QString" } + Parameter { type: "QJSValue" } + } + Method { + name: "runJavaScript" + isCloned: true + Parameter { type: "QString" } + } + Method { + name: "runJavaScript" + revision: 259 + Parameter { type: "QString" } + Parameter { name: "worldId"; type: "uint" } + Parameter { type: "QJSValue" } + } + Method { + name: "runJavaScript" + revision: 259 + isCloned: true + Parameter { type: "QString" } + Parameter { name: "worldId"; type: "uint" } + } + Method { + name: "loadHtml" + Parameter { name: "html"; type: "QString" } + Parameter { name: "baseUrl"; type: "QUrl" } + } + Method { + name: "loadHtml" + isCloned: true + Parameter { name: "html"; type: "QString" } + } + Method { name: "goBack" } + Method { name: "goForward" } + Method { + name: "goBackOrForward" + revision: 257 + Parameter { name: "index"; type: "int" } + } + Method { name: "reload" } + Method { name: "reloadAndBypassCache"; revision: 257 } + Method { name: "stop" } + Method { + name: "findText" + revision: 257 + Parameter { name: "subString"; type: "QString" } + Parameter { name: "options"; type: "FindFlags" } + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "findText" + revision: 257 + isCloned: true + Parameter { name: "subString"; type: "QString" } + Parameter { name: "options"; type: "FindFlags" } + } + Method { + name: "findText" + revision: 257 + isCloned: true + Parameter { name: "subString"; type: "QString" } + } + Method { name: "fullScreenCancelled"; revision: 257 } + Method { + name: "grantFeaturePermission" + revision: 257 + Parameter { name: "securityOrigin"; type: "QUrl" } + Parameter { type: "QQuickWebEngineView::Feature" } + Parameter { name: "granted"; type: "bool" } + } + Method { + name: "setActiveFocusOnPress" + revision: 258 + Parameter { name: "arg"; type: "bool" } + } + Method { + name: "triggerWebAction" + revision: 258 + Parameter { name: "action"; type: "WebAction" } + } + Method { + name: "printToPdf" + revision: 259 + Parameter { name: "filePath"; type: "QString" } + Parameter { name: "pageSizeId"; type: "PrintedPageSizeId" } + Parameter { name: "orientation"; type: "PrintedPageOrientation" } + } + Method { + name: "printToPdf" + revision: 259 + isCloned: true + Parameter { name: "filePath"; type: "QString" } + Parameter { name: "pageSizeId"; type: "PrintedPageSizeId" } + } + Method { + name: "printToPdf" + revision: 259 + isCloned: true + Parameter { name: "filePath"; type: "QString" } + } + Method { + name: "printToPdf" + revision: 259 + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "pageSizeId"; type: "PrintedPageSizeId" } + Parameter { name: "orientation"; type: "PrintedPageOrientation" } + } + Method { + name: "printToPdf" + revision: 259 + isCloned: true + Parameter { name: "callback"; type: "QJSValue" } + Parameter { name: "pageSizeId"; type: "PrintedPageSizeId" } + } + Method { + name: "printToPdf" + revision: 259 + isCloned: true + Parameter { name: "callback"; type: "QJSValue" } + } + Method { + name: "replaceMisspelledWord" + revision: 260 + Parameter { name: "replacement"; type: "QString" } + } + Method { + name: "save" + revision: 1542 + Parameter { name: "filePath"; type: "QString" } + Parameter { name: "format"; type: "QWebEngineDownloadRequest::SavePageFormat" } + } + Method { + name: "save" + revision: 1542 + isCloned: true + Parameter { name: "filePath"; type: "QString" } + } + Method { name: "lazyInitialize" } + Method { + name: "action" + revision: 264 + type: "QQuickWebEngineAction" + isPointer: true + Parameter { name: "action"; type: "WebAction" } + } + Method { + name: "acceptAsNewWindow" + Parameter { name: "request"; type: "QWebEngineNewWindowRequest"; isPointer: true } + } + } + Component { + file: "qwebenginedownloadrequest.h" + name: "QWebEngineDownloadRequest" + accessSemantics: "reference" + prototype: "QObject" + Enum { + name: "DownloadState" + values: [ + "DownloadRequested", + "DownloadInProgress", + "DownloadCompleted", + "DownloadCancelled", + "DownloadInterrupted" + ] + } + Enum { + name: "SavePageFormat" + values: [ + "UnknownSaveFormat", + "SingleHtmlSaveFormat", + "CompleteHtmlSaveFormat", + "MimeHtmlSaveFormat" + ] + } + Enum { + name: "DownloadInterruptReason" + values: [ + "NoReason", + "FileFailed", + "FileAccessDenied", + "FileNoSpace", + "FileNameTooLong", + "FileTooLarge", + "FileVirusInfected", + "FileTransientError", + "FileBlocked", + "FileSecurityCheckFailed", + "FileTooShort", + "FileHashMismatch", + "NetworkFailed", + "NetworkTimeout", + "NetworkDisconnected", + "NetworkServerDown", + "NetworkInvalidRequest", + "ServerFailed", + "ServerBadContent", + "ServerUnauthorized", + "ServerCertProblem", + "ServerForbidden", + "ServerUnreachable", + "UserCanceled" + ] + } + Property { + name: "id" + type: "uint" + read: "id" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "state" + type: "DownloadState" + read: "state" + notify: "stateChanged" + index: 1 + isReadonly: true + isFinal: true + } + Property { + name: "savePageFormat" + type: "SavePageFormat" + read: "savePageFormat" + write: "setSavePageFormat" + notify: "savePageFormatChanged" + index: 2 + isFinal: true + } + Property { + name: "totalBytes" + type: "qlonglong" + read: "totalBytes" + notify: "totalBytesChanged" + index: 3 + isReadonly: true + isFinal: true + } + Property { + name: "receivedBytes" + type: "qlonglong" + read: "receivedBytes" + notify: "receivedBytesChanged" + index: 4 + isReadonly: true + isFinal: true + } + Property { + name: "mimeType" + type: "QString" + read: "mimeType" + index: 5 + isReadonly: true + isFinal: true + } + Property { + name: "interruptReason" + type: "DownloadInterruptReason" + read: "interruptReason" + notify: "interruptReasonChanged" + index: 6 + isReadonly: true + isFinal: true + } + Property { + name: "interruptReasonString" + type: "QString" + read: "interruptReasonString" + notify: "interruptReasonChanged" + index: 7 + isReadonly: true + isFinal: true + } + Property { + name: "isFinished" + type: "bool" + read: "isFinished" + notify: "isFinishedChanged" + index: 8 + isReadonly: true + isFinal: true + } + Property { + name: "isPaused" + type: "bool" + read: "isPaused" + notify: "isPausedChanged" + index: 9 + isReadonly: true + isFinal: true + } + Property { + name: "isSavePageDownload" + type: "bool" + read: "isSavePageDownload" + index: 10 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "url" + type: "QUrl" + read: "url" + index: 11 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "suggestedFileName" + type: "QString" + read: "suggestedFileName" + index: 12 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "downloadDirectory" + type: "QString" + read: "downloadDirectory" + write: "setDownloadDirectory" + notify: "downloadDirectoryChanged" + index: 13 + isFinal: true + } + Property { + name: "downloadFileName" + type: "QString" + read: "downloadFileName" + write: "setDownloadFileName" + notify: "downloadFileNameChanged" + index: 14 + isFinal: true + } + Signal { + name: "stateChanged" + Parameter { name: "state"; type: "QWebEngineDownloadRequest::DownloadState" } + } + Signal { name: "savePageFormatChanged" } + Signal { name: "receivedBytesChanged" } + Signal { name: "totalBytesChanged" } + Signal { name: "interruptReasonChanged" } + Signal { name: "isFinishedChanged" } + Signal { name: "isPausedChanged" } + Signal { name: "downloadDirectoryChanged" } + Signal { name: "downloadFileNameChanged" } + Method { name: "accept" } + Method { name: "cancel" } + Method { name: "pause" } + Method { name: "resume" } + } + Component { + file: "qwebenginenewwindowrequest.h" + name: "QWebEngineNewWindowRequest" + accessSemantics: "reference" + prototype: "QObject" + Enum { + name: "DestinationType" + values: [ + "InNewWindow", + "InNewTab", + "InNewDialog", + "InNewBackgroundTab" + ] + } + Property { + name: "destination" + type: "DestinationType" + read: "destination" + index: 0 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "requestedUrl" + type: "QUrl" + read: "requestedUrl" + index: 1 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "requestedGeometry" + type: "QRect" + read: "requestedGeometry" + index: 2 + isReadonly: true + isFinal: true + isConstant: true + } + Property { + name: "userInitiated" + type: "bool" + read: "isUserInitiated" + index: 3 + isReadonly: true + isFinal: true + isConstant: true + } + } +} diff --git a/bin/qml/QtWebEngine/qmldir b/bin/qml/QtWebEngine/qmldir new file mode 100644 index 000000000..0709c060c --- /dev/null +++ b/bin/qml/QtWebEngine/qmldir @@ -0,0 +1,9 @@ +module QtWebEngine +linktarget Qt6::qtwebenginequickplugin +plugin qtwebenginequickplugin +classname QtWebEnginePlugin +typeinfo plugins.qmltypes +depends QtQuick auto +depends QtWebChannel auto +prefer :/qt-project.org/imports/QtWebEngine/ + diff --git a/bin/qml/QtWebEngine/qtwebenginequickplugin.dll b/bin/qml/QtWebEngine/qtwebenginequickplugin.dll new file mode 100644 index 000000000..bb0006db1 Binary files /dev/null and b/bin/qml/QtWebEngine/qtwebenginequickplugin.dll differ diff --git a/bin/resources/icudtl.dat b/bin/resources/icudtl.dat index 12d82efd0..f9cf198c6 100644 Binary files a/bin/resources/icudtl.dat and b/bin/resources/icudtl.dat differ diff --git a/bin/resources/qtwebengine_devtools_resources.pak b/bin/resources/qtwebengine_devtools_resources.pak index 5d089a63f..da825bed1 100644 Binary files a/bin/resources/qtwebengine_devtools_resources.pak and b/bin/resources/qtwebengine_devtools_resources.pak differ diff --git a/bin/resources/qtwebengine_resources.pak b/bin/resources/qtwebengine_resources.pak index 81625ea6a..05b0f841b 100644 Binary files a/bin/resources/qtwebengine_resources.pak and b/bin/resources/qtwebengine_resources.pak differ diff --git a/bin/resources/qtwebengine_resources_100p.pak b/bin/resources/qtwebengine_resources_100p.pak index 0a0d890ef..a3e5396fa 100644 Binary files a/bin/resources/qtwebengine_resources_100p.pak and b/bin/resources/qtwebengine_resources_100p.pak differ diff --git a/bin/resources/qtwebengine_resources_200p.pak b/bin/resources/qtwebengine_resources_200p.pak index 4fce0ae17..d36c86c8a 100644 Binary files a/bin/resources/qtwebengine_resources_200p.pak and b/bin/resources/qtwebengine_resources_200p.pak differ diff --git a/bin/resources/v8_context_snapshot.bin b/bin/resources/v8_context_snapshot.bin new file mode 100644 index 000000000..22c16df3c Binary files /dev/null and b/bin/resources/v8_context_snapshot.bin differ diff --git a/bin/styles/qwindowsvistastyle.dll b/bin/styles/qwindowsvistastyle.dll index ac797a315..2da8fdfc2 100644 Binary files a/bin/styles/qwindowsvistastyle.dll and b/bin/styles/qwindowsvistastyle.dll differ diff --git a/bin/tls/qcertonlybackend.dll b/bin/tls/qcertonlybackend.dll new file mode 100644 index 000000000..2e1c9cc1c Binary files /dev/null and b/bin/tls/qcertonlybackend.dll differ diff --git a/bin/tls/qschannelbackend.dll b/bin/tls/qschannelbackend.dll new file mode 100644 index 000000000..01f2fbdd0 Binary files /dev/null and b/bin/tls/qschannelbackend.dll differ diff --git a/bin/translations/qtwebengine_locales/en-US.pak b/bin/translations/qtwebengine_locales/en-US.pak index b7c14e5f6..d85e646ef 100644 Binary files a/bin/translations/qtwebengine_locales/en-US.pak and b/bin/translations/qtwebengine_locales/en-US.pak differ diff --git a/bin/vcruntime140.dll b/bin/vcruntime140.dll deleted file mode 100644 index dc015e7b1..000000000 Binary files a/bin/vcruntime140.dll and /dev/null differ diff --git a/bin/webview/qtwebview_webengine.dll b/bin/webview/qtwebview_webengine.dll deleted file mode 100644 index 3bf684c2f..000000000 Binary files a/bin/webview/qtwebview_webengine.dll and /dev/null differ diff --git a/cache/compendium.json b/cache/compendium.json index fec39b243..4f7cf9f23 100644 --- a/cache/compendium.json +++ b/cache/compendium.json @@ -1,9 +1,6 @@ { - "categorycounts": { - }, "gamenews": [ ], - "idOfNewestReadEntry": 0, "isreturner": true, "lastupdatetimestamp": 1718747035, "maxeditdate": 1713945425, diff --git a/characterdata/70811572/actionbars.json b/characterdata/70811572/actionbars.json new file mode 100644 index 000000000..3c4938eb7 --- /dev/null +++ b/characterdata/70811572/actionbars.json @@ -0,0 +1,4 @@ +{ + "firstVisibleButtons": { + } +} diff --git a/conf/#config.ini b/conf/#config.ini new file mode 100644 index 000000000..afbc6c563 --- /dev/null +++ b/conf/#config.ini @@ -0,0 +1,2 @@ +[URLS] +loginWebService=http://localhost:7171 diff --git a/conf/clientoptions.json b/conf/clientoptions.json index 6b744c0be..2e805e811 100644 --- a/conf/clientoptions.json +++ b/conf/clientoptions.json @@ -3,8 +3,6 @@ "chatModeOn": true, "lootChannelOpen": false, "openChannels": [ - 3, - 5 ] }, "clientOptionsVersion": 8, @@ -12,24 +10,13 @@ "clientWindowHeight": 650, "clientWindowIsBorderless": false, "clientWindowIsMaximized": true, - "clientWindowPositionX": 258, - "clientWindowPositionY": 83, - "clientWindowScreenName": "\\\\.\\DISPLAY1", + "clientWindowPositionX": 450, + "clientWindowPositionY": 191, + "clientWindowScreenName": "Union TV", "clientWindowWidth": 1020 }, "controlButtonsOptions": { "disabledButtons": [ - ], - "enabledButtons": [ - "skillsWidget", - "battleListWidget", - "spellListWidget", - "vipWidget", - "lenshelpFunction", - "questDialog", - "compendiumDialog", - "cyclopediaDialog", - "highscoresDialog", "partyWidget", "skillWheelDialog", "questTrackerWidget", @@ -45,11 +32,30 @@ "imbuementTrackerWidget", "exaltationForgeDialog", "friendsDialog" + ], + "enabledButtons": [ + "skillsWidget", + "battleListWidget", + "spellListWidget", + "vipWidget", + "lenshelpFunction", + "questDialog", + "compendiumDialog", + "cyclopediaDialog", + "highscoresDialog", + "playerGuide", + "manageShortcuts" ] }, + "deviceCookieOptions": [ + { + "devicecookie": "7dYifouMoZvkvIvUTfMsZexEbx/uag==,5B1wAIu5XQ4gznzuj1F5OQ==,0YauJuOSYn1Hz1Ds7nhwiQ==", + "hash": "5fe36e00" + } + ], "hotkeyOptions": { "autoSwitchHotkeyPreset": true, - "currentHotkeySetName": "Druid", + "currentHotkeySetName": "Knight", "hotkeySets": { "Druid": { "actionBarOptions": { @@ -127,6 +133,12 @@ }, "keysequence": "E" }, + { + "actionsetting": { + "action": "ShowCyclopediaMap" + }, + "keysequence": "M" + }, { "actionsetting": { "action": "GoNorthWest" @@ -349,6 +361,12 @@ }, "keysequence": "Ctrl+R" }, + { + "actionsetting": { + "action": "ToggleManualSortMode" + }, + "keysequence": "Ctrl+S" + }, { "actionsetting": { "action": "OpenHelpChannel" @@ -385,6 +403,12 @@ }, "keysequence": "Alt+L" }, + { + "actionsetting": { + "action": "QuickLootAreaAtPlayer" + }, + "keysequence": "Alt+Q" + }, { "actionsetting": { "action": "ToggleSkillsWidget" @@ -462,15 +486,27 @@ "action": "ChatModeTemporaryOn" }, "keysequence": "Num+Enter" + } + ], + "chatOn": [ + { + "actionsetting": { + "action": "StopPlayer" + }, + "keysequence": "Esc" }, { "actionsetting": { - "action": "QuickLootAreaAtPlayer" + "action": "NextChannel" }, - "keysequence": "Alt+Q" - } - ], - "chatOn": [ + "keysequence": "Tab" + }, + { + "actionsetting": { + "action": "PressEnterInChat" + }, + "keysequence": "Return" + }, { "actionsetting": { "action": "TriggerActionButton_1.1" @@ -545,39 +581,21 @@ }, { "actionsetting": { - "action": "CloseCurrentChannel" - }, - "keysequence": "Ctrl+E" - }, - { - "actionsetting": { - "action": "NextChannel" - }, - "keysequence": "Tab" - }, - { - "actionsetting": { - "action": "OpenChannelList" - }, - "keysequence": "Ctrl+O" - }, - { - "actionsetting": { - "action": "OpenHelpChannel" + "action": "PreviousChannel" }, - "keysequence": "Ctrl+T" + "keysequence": "Shift+Backtab" }, { "actionsetting": { - "action": "PreviousChannel" + "action": "SelectAll" }, - "keysequence": "Shift+Backtab" + "keysequence": "Ctrl+A" }, { "actionsetting": { - "action": "ShowDefaultChannel" + "action": "ToggleBattlelist" }, - "keysequence": "Alt+D" + "keysequence": "Ctrl+B" }, { "actionsetting": { @@ -587,213 +605,213 @@ }, { "actionsetting": { - "action": "SelectAll" + "action": "CloseCurrentChannel" }, - "keysequence": "Ctrl+A" + "keysequence": "Ctrl+E" }, { "actionsetting": { - "action": "PressEnterInChat" + "action": "ToggleFullscreen" }, - "keysequence": "Return" + "keysequence": "Ctrl+F" }, { "actionsetting": { - "action": "PressEnterInChat" + "action": "ChangeCharacter" }, - "keysequence": "Num+Enter" + "keysequence": "Ctrl+G" }, { "actionsetting": { - "action": "ToggleShowServermessagesInCurrentChannel" + "action": "ShowLenshelp" }, - "keysequence": "Ctrl+M" + "keysequence": "Ctrl+H" }, { "actionsetting": { - "action": "ToggleManualSortMode" + "action": "ShowIgnorelist" }, - "keysequence": "Ctrl+S" + "keysequence": "Ctrl+I" }, { "actionsetting": { - "action": "Bugreport" + "action": "NextHotkeyPreset" }, - "keysequence": "Ctrl+Z" + "keysequence": "Ctrl+J" }, { "actionsetting": { - "action": "ShowIgnorelist" + "action": "ShowOptionsHotkeys" }, - "keysequence": "Ctrl+I" + "keysequence": "Ctrl+K" }, { "actionsetting": { - "action": "ShowOptionsHotkeys" + "action": "Logout" }, - "keysequence": "Ctrl+K" + "keysequence": "Ctrl+L" }, { "actionsetting": { - "action": "ShowPrey" + "action": "ToggleShowServermessagesInCurrentChannel" }, - "keysequence": "Ctrl+Y" + "keysequence": "Ctrl+M" }, { "actionsetting": { - "action": "ShowQuestlog" + "action": "ToggleCreatureHudsVisible" }, - "keysequence": "Ctrl+U" + "keysequence": "Ctrl+N" }, { "actionsetting": { - "action": "QuickLootAreaAtPlayer" + "action": "OpenChannelList" }, - "keysequence": "Alt+Q" + "keysequence": "Ctrl+O" }, { "actionsetting": { - "action": "MinimapFloorDown" + "action": "ToggleVipWidget" }, - "keysequence": "Alt+PgDown" + "keysequence": "Ctrl+P" }, { "actionsetting": { - "action": "MinimapFloorUp" + "action": "Logout" }, - "keysequence": "Alt+PgUp" + "keysequence": "Ctrl+Q" }, { "actionsetting": { - "action": "MinimapScrollEast" + "action": "ToggleMounted" }, - "keysequence": "Alt+Right" + "keysequence": "Ctrl+R" }, { "actionsetting": { - "action": "MinimapScrollNorth" + "action": "ToggleManualSortMode" }, - "keysequence": "Alt+Up" + "keysequence": "Ctrl+S" }, { "actionsetting": { - "action": "MinimapScrollSouth" + "action": "OpenHelpChannel" }, - "keysequence": "Alt+Down" + "keysequence": "Ctrl+T" }, { "actionsetting": { - "action": "MinimapScrollWest" + "action": "ShowQuestlog" }, - "keysequence": "Alt+Left" + "keysequence": "Ctrl+U" }, { "actionsetting": { - "action": "MinimapZoomIn" + "action": "ShowPrey" }, - "keysequence": "Alt+End" + "keysequence": "Ctrl+Y" }, { "actionsetting": { - "action": "MinimapZoomOut" + "action": "Bugreport" }, - "keysequence": "Alt+Home" + "keysequence": "Ctrl+Z" }, { "actionsetting": { - "action": "ShowLenshelp" + "action": "ShowDefaultChannel" }, - "keysequence": "Ctrl+H" + "keysequence": "Alt+D" }, { "actionsetting": { - "action": "ChangeCharacter" + "action": "ToggleSpellListWidget" }, - "keysequence": "Ctrl+G" + "keysequence": "Alt+L" }, { "actionsetting": { - "action": "ClearOldestMessage" + "action": "QuickLootAreaAtPlayer" }, - "keysequence": "Alt+W" + "keysequence": "Alt+Q" }, { "actionsetting": { - "action": "Logout" + "action": "ToggleSkillsWidget" }, - "keysequence": "Ctrl+L" + "keysequence": "Alt+S" }, { "actionsetting": { - "action": "Logout" + "action": "ClearOldestMessage" }, - "keysequence": "Ctrl+Q" + "keysequence": "Alt+W" }, { "actionsetting": { - "action": "NextHotkeyPreset" + "action": "ToggleFullscreen" }, - "keysequence": "Ctrl+J" + "keysequence": "Alt+Return" }, { "actionsetting": { - "action": "ToggleMounted" + "action": "MinimapZoomOut" }, - "keysequence": "Ctrl+R" + "keysequence": "Alt+Home" }, { "actionsetting": { - "action": "StopPlayer" + "action": "MinimapZoomIn" }, - "keysequence": "Esc" + "keysequence": "Alt+End" }, { "actionsetting": { - "action": "ToggleCreatureHudsVisible" + "action": "MinimapScrollWest" }, - "keysequence": "Ctrl+N" + "keysequence": "Alt+Left" }, { "actionsetting": { - "action": "ToggleFPSLagIndicator" + "action": "MinimapScrollNorth" }, - "keysequence": "Alt+F8" + "keysequence": "Alt+Up" }, { "actionsetting": { - "action": "ToggleFullscreen" + "action": "MinimapScrollEast" }, - "keysequence": "Ctrl+F" + "keysequence": "Alt+Right" }, { "actionsetting": { - "action": "ToggleFullscreen" + "action": "MinimapScrollSouth" }, - "keysequence": "Alt+Return" + "keysequence": "Alt+Down" }, { "actionsetting": { - "action": "ToggleVipWidget" + "action": "MinimapFloorUp" }, - "keysequence": "Ctrl+P" + "keysequence": "Alt+PgUp" }, { "actionsetting": { - "action": "ToggleBattlelist" + "action": "MinimapFloorDown" }, - "keysequence": "Ctrl+B" + "keysequence": "Alt+PgDown" }, { "actionsetting": { - "action": "ToggleSkillsWidget" + "action": "ToggleFPSLagIndicator" }, - "keysequence": "Alt+S" + "keysequence": "Alt+F8" }, { "actionsetting": { - "action": "ToggleSpellListWidget" + "action": "PressEnterInChat" }, - "keysequence": "Alt+L" + "keysequence": "Num+Enter" } ] }, @@ -865,6 +883,12 @@ }, "keysequence": "E" }, + { + "actionsetting": { + "action": "ShowCyclopediaMap" + }, + "keysequence": "M" + }, { "actionsetting": { "action": "GoNorthWest" @@ -1087,6 +1111,12 @@ }, "keysequence": "Ctrl+R" }, + { + "actionsetting": { + "action": "ToggleManualSortMode" + }, + "keysequence": "Ctrl+S" + }, { "actionsetting": { "action": "OpenHelpChannel" @@ -1123,6 +1153,12 @@ }, "keysequence": "Alt+L" }, + { + "actionsetting": { + "action": "QuickLootAreaAtPlayer" + }, + "keysequence": "Alt+Q" + }, { "actionsetting": { "action": "ToggleSkillsWidget" @@ -1200,12 +1236,6 @@ "action": "ChatModeTemporaryOn" }, "keysequence": "Num+Enter" - }, - { - "actionsetting": { - "action": "QuickLootAreaAtPlayer" - }, - "keysequence": "Alt+Q" } ], "chatOn": [ @@ -1347,6 +1377,12 @@ }, "keysequence": "Ctrl+M" }, + { + "actionsetting": { + "action": "ToggleManualSortMode" + }, + "keysequence": "Ctrl+S" + }, { "actionsetting": { "action": "Bugreport" @@ -1377,6 +1413,12 @@ }, "keysequence": "Ctrl+U" }, + { + "actionsetting": { + "action": "QuickLootAreaAtPlayer" + }, + "keysequence": "Alt+Q" + }, { "actionsetting": { "action": "MinimapFloorDown" @@ -1520,18 +1562,6 @@ "action": "ToggleSpellListWidget" }, "keysequence": "Alt+L" - }, - { - "actionsetting": { - "action": "ToggleManualSortMode" - }, - "keysequence": "Ctrl+S" - }, - { - "actionsetting": { - "action": "QuickLootAreaAtPlayer" - }, - "keysequence": "Alt+Q" } ] }, @@ -1603,6 +1633,12 @@ }, "keysequence": "E" }, + { + "actionsetting": { + "action": "ShowCyclopediaMap" + }, + "keysequence": "M" + }, { "actionsetting": { "action": "GoNorthWest" @@ -1825,6 +1861,12 @@ }, "keysequence": "Ctrl+R" }, + { + "actionsetting": { + "action": "ToggleManualSortMode" + }, + "keysequence": "Ctrl+S" + }, { "actionsetting": { "action": "OpenHelpChannel" @@ -1861,6 +1903,12 @@ }, "keysequence": "Alt+L" }, + { + "actionsetting": { + "action": "QuickLootAreaAtPlayer" + }, + "keysequence": "Alt+Q" + }, { "actionsetting": { "action": "ToggleSkillsWidget" @@ -1938,12 +1986,6 @@ "action": "ChatModeTemporaryOn" }, "keysequence": "Num+Enter" - }, - { - "actionsetting": { - "action": "QuickLootAreaAtPlayer" - }, - "keysequence": "Alt+Q" } ], "chatOn": [ @@ -2145,6 +2187,12 @@ }, "keysequence": "Ctrl+R" }, + { + "actionsetting": { + "action": "ToggleManualSortMode" + }, + "keysequence": "Ctrl+S" + }, { "actionsetting": { "action": "OpenHelpChannel" @@ -2181,6 +2229,12 @@ }, "keysequence": "Alt+L" }, + { + "actionsetting": { + "action": "QuickLootAreaAtPlayer" + }, + "keysequence": "Alt+Q" + }, { "actionsetting": { "action": "ToggleSkillsWidget" @@ -2258,18 +2312,6 @@ "action": "PressEnterInChat" }, "keysequence": "Num+Enter" - }, - { - "actionsetting": { - "action": "ToggleManualSortMode" - }, - "keysequence": "Ctrl+S" - }, - { - "actionsetting": { - "action": "QuickLootAreaAtPlayer" - }, - "keysequence": "Alt+Q" } ] }, @@ -2349,6 +2391,12 @@ }, "keysequence": "E" }, + { + "actionsetting": { + "action": "ShowCyclopediaMap" + }, + "keysequence": "M" + }, { "actionsetting": { "action": "GoNorthWest" @@ -2571,6 +2619,12 @@ }, "keysequence": "Ctrl+R" }, + { + "actionsetting": { + "action": "ToggleManualSortMode" + }, + "keysequence": "Ctrl+S" + }, { "actionsetting": { "action": "OpenHelpChannel" @@ -2607,6 +2661,12 @@ }, "keysequence": "Alt+L" }, + { + "actionsetting": { + "action": "QuickLootAreaAtPlayer" + }, + "keysequence": "Alt+Q" + }, { "actionsetting": { "action": "ToggleSkillsWidget" @@ -2684,12 +2744,6 @@ "action": "ChatModeTemporaryOn" }, "keysequence": "Num+Enter" - }, - { - "actionsetting": { - "action": "QuickLootAreaAtPlayer" - }, - "keysequence": "Alt+Q" } ], "chatOn": [ @@ -2891,6 +2945,12 @@ }, "keysequence": "Ctrl+R" }, + { + "actionsetting": { + "action": "ToggleManualSortMode" + }, + "keysequence": "Ctrl+S" + }, { "actionsetting": { "action": "OpenHelpChannel" @@ -2927,6 +2987,12 @@ }, "keysequence": "Alt+L" }, + { + "actionsetting": { + "action": "QuickLootAreaAtPlayer" + }, + "keysequence": "Alt+Q" + }, { "actionsetting": { "action": "ToggleSkillsWidget" @@ -3004,24 +3070,15 @@ "action": "PressEnterInChat" }, "keysequence": "Num+Enter" - }, - { - "actionsetting": { - "action": "ToggleManualSortMode" - }, - "keysequence": "Ctrl+S" - }, - { - "actionsetting": { - "action": "QuickLootAreaAtPlayer" - }, - "keysequence": "Alt+Q" } ] } }, "showStaticHotkeysFirst": true }, + "news": { + "maxunlocklevel": 0 + }, "options": { "ChatEnabled": true, "GlobalMessagesEnabled": true, @@ -3054,6 +3111,7 @@ "actionButtonShowGraphicalCooldown": true, "actionButtonShowHotkey": true, "actionButtonShowSpellParameters": true, + "alwaysTurnTowardsMoveDirection": true, "antialiasingMode": 2, "autoChaseEnabled": false, "charTradePaymentRemindAgain": 0, @@ -3073,13 +3131,13 @@ "consoleShowStatusMessagesOwn": true, "consoleShowTimestamps": true, "consoleShowTimestampsSeconds": false, - "containerMoveToManagedContainerRecursive": true, + "containerMoveToManagedContainerRecursive": false, "containerMoveToManagedContainerRecursiveShowWarningAgain": true, "containerMoveToManagedContainerRecursiveWarning": false, - "containerSortBackpacksFirst": true, + "containerSortBackpacksFirst": false, "containerSortRecursive": false, "containerSortRecursiveShowWarningAgain": true, - "controlSchemeIndex": 2, + "controlSchemeIndex": 0, "cooldownBarEnabled": true, "creatueShowNpcIcon": true, "creatureHudEnabled": true, @@ -3090,7 +3148,7 @@ "emergencyDialogVersion": 0, "frameRateLimit": 60, "frameRateLimitEnabled": true, - "gameWindowLowerPaneHeight": 216, + "gameWindowLowerPaneHeight": 0, "gameWindowResizingMode": 0, "gameWindowScaleOnlyByEvenMultiples": false, "gameWindowShowBoostedCreatureMessages": true, @@ -3107,16 +3165,17 @@ "gameWindowShowTargetHighlight": true, "gameWindowShowTextualEffects": true, "gameWindowShowTragetFrame": true, - "gameWindowUpperPaneHeight": 362, + "gameWindowUpperPaneHeight": 794, "inspectPlayerAllowAllEnabled": false, "keyboardDelayMs": 250, "keyboardDelayUseDefault": true, + "launcherPatchFixupDone": true, "lightAmbientLevel": 0.25, "lightAttenuationCloudsIndoor": 0.75, "lightEffectsEnabled": true, "lightLevelSeparatorLevel": 0.800000011920929, "linkCopyWarningEnabled": true, - "loginEmailAddress": "@god", + "loginEmailAddress": "", "lootSchemeIndex": 0, "marketShowLockerOnly": false, "mouseAnimatedCursor": true, @@ -3139,7 +3198,7 @@ "quickLogin": true, "quickLootAllCorpsesInAreaEnabled": true, "rememberLoginEmail": true, - "rendererIndex": 0, + "rendererIndex": 8, "rotateWithAlt": false, "rotateWithCtrl": true, "rotateWithShift": false, @@ -3168,9 +3227,9 @@ "showExpireInContainers": false, "showExpireInInventory": true, "showExpireWhenUnused": true, - "showFpsLagIndicator": false, + "showFpsLagIndicator": true, "soundAmbienceVolume": 100, - "soundAnthemEnabled": true, + "soundAnthemEnabled": false, "soundBattleCreaturesAttacksEnabled": true, "soundBattleCreaturesDeathEnabled": true, "soundBattleCreaturesNoisesEnabled": true, @@ -3202,6 +3261,7 @@ "statusBarEnabled": true, "statusPanelEnabled": false, "storeAskBeforeBuyingProducts": true, + "useFreetypeRenderer": false, "vSyncEnabled": false }, "pinnedCharacters": [ diff --git a/conf/gpublacklist.json b/conf/gpublacklist.json index bfa99b5c9..5d2dc9cf3 100644 --- a/conf/gpublacklist.json +++ b/conf/gpublacklist.json @@ -40,15 +40,14 @@ "type": "win" }, "features": [ - "disable_desktopgl", - "disable_angle" + "disable_desktopgl" ] }, { "id": 4, "description": "Intel HD Graphics 3000 crashes when initializing the OpenGL driver (QTBUG-42240)", "vendor_id": "0x8086", - "device_id": [ "0x0102", "0x0106", "0x010A", "0x0112", "0x0116", "0x0122", "0x0126", "", "0x2E32", "0x0BE1", "0x0A26", "0x0152", "0x0042" ], + "device_id": [ "0x0102", "0x0106", "0x010A", "0x0112", "0x0116", "0x0122", "0x0126" ], "os": { "type": "win" }, @@ -65,8 +64,7 @@ "type": "win" }, "features": [ - "disable_desktopgl", - "disable_angle" + "disable_desktopgl", "disable_angle" ] }, { @@ -95,7 +93,7 @@ }, { "id": 8, - "description": "Standard VGA: Insufficent support for OpenGL, D3D9 and D3D11", + "description": "Standard VGA: Insufficient support for OpenGL, D3D9 and D3D11", "vendor_id": "0x0000", "device_id": ["0x0000"], "os": { @@ -156,7 +154,19 @@ ] }, { - "id": 13, + "id": 13, + "description": "Disable DesktopGL on Windows with Mobile Intel(R) 4 Series Express Chipset Family graphics card (QTBUG-58772)", + "vendor_id": "0x8086", + "device_id": [ "0x2A42" ], + "os": { + "type": "win" + }, + "features": [ + "disable_desktopgl" + ] + }, + { + "id": 14, "description": "AMD Radeon HD 6310 causes crashes on OpenGL initialization test (CipSoft)", "vendor_id": "0x1002", "device_id": [ "0x9802" ], @@ -168,7 +178,7 @@ ] }, { - "id": 14, + "id": 15, "description": "NVIDIA GeForce 630M/710M causes crashes on OpenGL initialization (CipSoft)", "vendor_id": "0x10DE", "device_id": [ "0x1140", "0x0DE9" ], @@ -179,18 +189,6 @@ "disable_desktopgl" ] }, - { - "id": 15, - "description": "Mobile Intel(R) 4 Series Express Chipset Family - has very broken text rendering (CipSoft)", - "vendor_id": "0x8086", - "device_id": [ "0x2a42" ], - "os": { - "type": "win" - }, - "features": [ - "disable_desktopgl" - ] - }, { "id": 16, "description": "Intel 82945G Express crashes when starting up (CipSoft)", @@ -200,7 +198,8 @@ "type": "win" }, "features": [ - "disable_desktopgl", "disable_angle" + "disable_desktopgl", + "disable_angle" ] } ] diff --git a/default b/default deleted file mode 100644 index e69de29bb..000000000 diff --git a/package.json b/package.json index 6e6d4f426..2c6d83aae 100644 --- a/package.json +++ b/package.json @@ -1,5462 +1,4718 @@ { - "version": "13.40.93b0a1", + "version": "14.05.70ce66", "files": [ { - "url": "bin/Qt5Network.dll.lzma", - "localfile": "bin/Qt5Network.dll", - "packedhash": "6a9e723d65a4af0d1fa24e458b7d97492cdb937c8ba57baea24499068a45a2fa", - "packedsize": 371396, - "unpackedhash": "6d544be49f026e26c1b766f3beb39e0e167e4da7fdcc6c1106ef1e2d21b8c318", - "unpackedsize": 1075088 - }, - { - "url": "bin/Qt5QuickControls2.dll.lzma", - "localfile": "bin/Qt5QuickControls2.dll", - "packedhash": "26c551a94a98db8929196f6000b9d64815a7b557e59fb0da4c9d267f2ea9627b", - "packedsize": 52116, - "unpackedhash": "2c04e39181e450aeb8a6365e4300d8fdb1a66dbde327c494ee085afa59fdb6a0", - "unpackedsize": 149904 - }, - { - "url": "bin/Qt5QmlWorkerScript.dll.lzma", - "localfile": "bin/Qt5QmlWorkerScript.dll", - "packedhash": "b079d38bbe7b1a44c0e3b4205928827fee0ca41ac8b90c8d2e454f149de3e654", - "packedsize": 25227, - "unpackedhash": "7ea0c6ba07de90bb2e8f7e76ae0ffe754d331065fb2a899e754b7f18cad20112", - "unpackedsize": 52624 - }, - { - "url": "bin/Qt5WebChannel.dll.lzma", - "localfile": "bin/Qt5WebChannel.dll", - "packedhash": "cf9100c1a6e1607aacf3c96b1c3f9185e9fd83569357632d8cde6901416d6606", - "packedsize": 52065, - "unpackedhash": "e40b241926d07be64c428cd6f45fa2164aa0d8b6c10cb4c236306dc76a22c017", - "unpackedsize": 120208 - }, - { - "url": "bin/Qt5Qml.dll.lzma", - "localfile": "bin/Qt5Qml.dll", - "packedhash": "bd48f7c92c54a4bafd1b112de90bd07c19f675ea880018f38da52be52f26a5fd", - "packedsize": 892875, - "unpackedhash": "62a0faee42ae31abb3eb54d08c509f7ee63c57daad91a7860eb1f60a1a593dfb", - "unpackedsize": 3064208 - }, - { - "url": "bin/D3Dcompiler_47.dll.lzma", - "localfile": "bin/D3Dcompiler_47.dll", - "packedhash": "dfa1b37a7cce09e3a992f0b92e8dff3c62544b215a5cb7cc139f557729f9cd7b", - "packedsize": 1279695, - "unpackedhash": "07a7aa27d4ee2f90effac07b7703393361365de29b3dc3220f0ebbbbb028ddca", - "unpackedsize": 3706880 - }, - { - "url": "bin/vcruntime140.dll.lzma", - "localfile": "bin/vcruntime140.dll", - "packedhash": "3f6a27e523b270f3552e0cc552705d4ceede62e613134e5cba5cdbeef244e7a0", - "packedsize": 38664, - "unpackedhash": "9faeaa45e8cc986af56f28350b38238b03c01c355e9564b849604b8d690919c5", - "unpackedsize": 76168 - }, - { - "url": "bin/msvcp120.dll.lzma", - "localfile": "bin/msvcp120.dll", - "packedhash": "6820254127e68581730e003295de872decbbda6594c1198174e6653033d49b0a", - "packedsize": 129039, - "unpackedhash": "87c42ca155473e4e71857d03497c8cbc28fa8ff7f2c8d72e8a1f39b71078f608", - "unpackedsize": 455328 - }, - { - "url": "bin/client.en.qm.lzma", - "localfile": "bin/client.en.qm", - "packedhash": "b6bdda42fac09e9944f47d73b8992d2bf8785f1823a85d3db4d6728b3a13ed6a", - "packedsize": 115812, - "unpackedhash": "9b0f3e45b22d97ab9b4f61e39a9dc665a2dc99bde4e5dd0ee9105c058cc0b586", - "unpackedsize": 627196 - }, - { - "url": "bin/Qt5QmlModels.dll.lzma", - "localfile": "bin/Qt5QmlModels.dll", - "packedhash": "04bca729d1a9990706bcba3acadffe97ddacdfa378a4874e16658b0e764b70e3", - "packedsize": 130683, - "unpackedhash": "95da8076cf3bbcd6937705fb120715a8623d7e183c036c96a05bb81f93795f13", - "unpackedsize": 362896 - }, - { - "url": "bin/QtWebEngineProcess.exe.lzma", - "localfile": "bin/QtWebEngineProcess.exe", - "packedhash": "71d1ad6305e2d2b0d22b6bdaf04e63f1587193bdcf0aec0d9a05c32ec0483375", - "packedsize": 206239, - "unpackedhash": "cc6034e2232e79bc5a46ec6c41b80f0e62ea9f5a5affa91d90d1dbdfd158c4bb", - "unpackedsize": 541072 - }, - { - "url": "bin/msvcr120.dll.lzma", - "localfile": "bin/msvcr120.dll", - "packedhash": "6651167762e65220d5f25efa64953cb75ebf166f7f2faa0ddd91679aeeaeb799", - "packedsize": 388759, - "unpackedhash": "86e39b5995af0e042fcdaa85fe2aefd7c9ddc7ad65e6327bd5e7058bc3ab615f", - "unpackedsize": 970912 - }, - { - "url": "bin/Qt5Widgets.dll.lzma", - "localfile": "bin/Qt5Widgets.dll", - "packedhash": "91a5fe3e05138c085ed5dd50c2ff569b7e60fbb4e0b7350c295bf0e908f54d50", - "packedsize": 1689524, - "unpackedhash": "7c9bf02af7c9d901f8e33f6a286d1282fa8eec8b3630f35de461fdd638a2bcfc", - "unpackedsize": 4626832 - }, - { - "url": "bin/graphics_resources.rcc.lzma", - "localfile": "bin/graphics_resources.rcc", - "packedhash": "399d01d35c2ce6916671a243ad4e5a6027c72955dc74e630c89d114db1340df4", - "packedsize": 4403942, - "unpackedhash": "a8090e6edbcb6737ebfbfeab264ce08424117eb491283341c9f346281dc8aeed", - "unpackedsize": 4627957 - }, - { - "url": "bin/Qt5Core.dll.lzma", - "localfile": "bin/Qt5Core.dll", - "packedhash": "eac56a11cc0f71d73b1d98dbffc507e5086e506fcf2250d7569c7d7ba3cb29ed", - "packedsize": 1950688, - "unpackedhash": "b9bb14b87cdcf9292f11948f35e0079bc3b1294b70a1d7f7beea0cd05a3c4cb9", - "unpackedsize": 7686032 - }, - { - "url": "bin/msvcp140.dll.lzma", - "localfile": "bin/msvcp140.dll", - "packedhash": "667e928ac7a83c2faf48fbf797bb4add29e515635776d5264b4a45c4443d79eb", - "packedsize": 116665, - "unpackedhash": "51398691feef7ae0a876b523aec47c4a06d9a1ee62f1a0aee27de6d6191c68ad", - "unpackedsize": 436600 - }, - { - "url": "bin/libssl-1_1.dll.lzma", - "localfile": "bin/libssl-1_1.dll", - "packedhash": "88386fc88e58d885c91944157663dbc85ede462c410e2c9ce84047fb836eb23e", - "packedsize": 173782, - "unpackedhash": "092ee1480768a92eaacd920bc7dd0cd2f0a11619ecf8867869545f3a4dff3d09", - "unpackedsize": 545168 - }, - { - "url": "bin/libcrypto-1_1.dll.lzma", - "localfile": "bin/libcrypto-1_1.dll", - "packedhash": "6565700ac5a2259a3c74393d2d2e363a0f98fb438ae3abb8eba2bc3d2b94d7d3", - "packedsize": 910328, - "unpackedhash": "f670ae0edf0df35696158c19bd21041950f27ad349ad08699735c288a930e2aa", - "unpackedsize": 2537368 - }, - { - "url": "bin/client.exe.lzma", - "localfile": "bin/client.exe", - "packedhash": "9af9615d6dd33dbaff9883b75f42d5466f0506ed7092691e449274708e72eb08", - "packedsize": 4630758, - "unpackedhash": "7d0fb8c28000577c215d42e93ac86a5168a12a107e7d7e7ac8ebb02f17b91124", - "unpackedsize": 20768152 - }, - { - "url": "bin/client_launcher.exe.lzma", - "localfile": "bin/client_launcher.exe", - "packedhash": "110c0c24955ddf9fd49347cf4df36b1d465f3e56e1169862bc308b85538382f2", - "packedsize": 876773, - "unpackedhash": "0912b79762cab916ff5d59977efa148e87c64a5e0ba711f2000cdb8b2a02476e", - "unpackedsize": 1316104, - "executable": true - }, - { - "url": "bin/OpenAL32.dll.lzma", - "localfile": "bin/OpenAL32.dll", - "packedhash": "44f19498f9f297f595494d5e41c5c984448ce49b20f5b8624e39d2b55c71dfca", - "packedsize": 568405, - "unpackedhash": "dcdfa03bcb3b70609cd76f0a88d44d838f3b0ee443e1244a0922eed64d46ef7e", - "unpackedsize": 1901464 - }, - { - "url": "bin/Qt5Quick.dll.lzma", - "localfile": "bin/Qt5Quick.dll", - "packedhash": "8d3773e81c9dfda65cba2810b7eed681caa84e065b6a1986709f2ef68b4ca52a", - "packedsize": 1058939, - "unpackedhash": "d4e899a993f72cdcefbf429b191d23e61d5c7fe977fb62c207e64d3943f4cb7a", - "unpackedsize": 3570064 - }, - { - "url": "bin/Qt5Gui.dll.lzma", - "localfile": "bin/Qt5Gui.dll", - "packedhash": "6dc1090f84459bcc1089a32baa6b14e91b66caf5c7b85afa8c58071cb002192e", - "packedsize": 1762153, - "unpackedhash": "4a758347a63fe37770dc397c2947331839dbd51bbec52015cd5cbef6a25755fe", - "unpackedsize": 6133136 - }, - { - "url": "bin/qt.conf.lzma", - "localfile": "bin/qt.conf", - "packedhash": "7a14fe122d0903f3bbfc1359241cffc456b0355b61036e7dc7a837942934203f", - "packedsize": 69, - "unpackedhash": "7a14fe122d0903f3bbfc1359241cffc456b0355b61036e7dc7a837942934203f", - "unpackedsize": 69 - }, - { - "url": "bin/d3dcompiler_43.dll.lzma", - "localfile": "bin/d3dcompiler_43.dll", - "packedhash": "67628b029156c2a178b130cb62690737faa169499ddb64572bbb3fb30149b93c", - "packedsize": 745855, - "unpackedhash": "53a05e6c6b7f4f83ca4004003cc35cdc19bdf7e515a13afaf50835a314b248db", - "unpackedsize": 2115688 - }, - { - "url": "bin/Qt5WebEngineCore.dll.lzma", - "localfile": "bin/Qt5WebEngineCore.dll", - "packedhash": "203a2fd3996e3023544ecfb633cc26fea0c598c280cecaafa09b33c58baaa22f", - "packedsize": 29012346, - "unpackedhash": "38090479f9fbc88586cdd9ea8456fb2642b1fbb387452b4b41a9134b535a175d", - "unpackedsize": 81021840 - }, - { - "url": "bin/Qt5Concurrent.dll.lzma", - "localfile": "bin/Qt5Concurrent.dll", - "packedhash": "616408db8c30ea70ed1d78ac7366a18deb4fa6bf50e04cb99cd8d85c2e5b6e8c", - "packedsize": 17658, - "unpackedhash": "9db7db876d8f82a76e7a738b06436d5f8d1cf8a8d2444722ba69d9d8fac830ee", - "unpackedsize": 33680 - }, - { - "url": "bin/Qt5QuickTemplates2.dll.lzma", - "localfile": "bin/Qt5QuickTemplates2.dll", - "packedhash": "bbf3e5bd00b9744b12d5f6ca20a8cdbdd72ddfd8e4f8a496220d9591b03b8f7b", - "packedsize": 248870, - "unpackedhash": "1d011148f7216a14b08fb1ff6355aaf7c83ee7cccf264c064876280630c38b7d", - "unpackedsize": 1002384 - }, - { - "url": "bin/Qt5WebView.dll.lzma", - "localfile": "bin/Qt5WebView.dll", - "packedhash": "a2da4b65515be919075b2444ee956d944ec9a792243d08c0b25ac098d1f9beb6", - "packedsize": 27682, - "unpackedhash": "9597dbc641e839b23c856fd4ca30f551f5a487b152203c0786194177a8124f08", - "unpackedsize": 70544 - }, - { - "url": "bin/msvcp140_1.dll.lzma", - "localfile": "bin/msvcp140_1.dll", - "packedhash": "352fa27d69b7c1c6f1358157863b698c3533cfece0b3b425b3e426f2737fbf33", - "packedsize": 10998, - "unpackedhash": "65bdadb5562b9473471740b1dcd8b064459a40d71a1a11fc5aedaa855fe7635a", - "unpackedsize": 21384 - }, - { - "url": "bin/Qt5WebEngine.dll.lzma", - "localfile": "bin/Qt5WebEngine.dll", - "packedhash": "5a292340b145a12529f1882f115406f8a8b36823a5e776e4f92fe1dd00b17860", - "packedsize": 91079, - "unpackedhash": "d607781c173cb7f6b4869b4e9b17d031e58c0054322f306c6373659590d0f192", - "unpackedsize": 327568 - }, - { - "url": "bin/BattlEye/Uninstall_BattlEye.bat.lzma", - "localfile": "bin/BattlEye/Uninstall_BattlEye.bat", - "packedhash": "23a6bf630cd1083e7461ae10569684246078b94806cc6b7401848f47f5abb3e7", - "packedsize": 66, - "unpackedhash": "23a6bf630cd1083e7461ae10569684246078b94806cc6b7401848f47f5abb3e7", - "unpackedsize": 66 - }, - { - "url": "bin/BattlEye/BELauncher.ini.lzma", - "localfile": "bin/BattlEye/BELauncher.ini", - "packedhash": "1bd08617a4a59c3e490e3b8caae021e4848d570538dae5181eae141d14b16c03", - "packedsize": 109, - "unpackedhash": "1bd08617a4a59c3e490e3b8caae021e4848d570538dae5181eae141d14b16c03", - "unpackedsize": 109 - }, - { - "url": "bin/BattlEye/BEClient.cfg.lzma", - "localfile": "bin/BattlEye/BEClient.cfg", - "packedhash": "4b36d4ab990a3bd9f9b5379f58b65ec6402eb3b3109dc83a02b6827778d29281", - "packedsize": 29, - "unpackedhash": "4b36d4ab990a3bd9f9b5379f58b65ec6402eb3b3109dc83a02b6827778d29281", - "unpackedsize": 29 - }, - { - "url": "bin/BattlEye/Install_BattlEye.bat.lzma", - "localfile": "bin/BattlEye/Install_BattlEye.bat", - "packedhash": "db72d642d86b3439d587ce6c84dcf8273349efd728148ebaeffcda222ba34fa7", - "packedsize": 66, - "unpackedhash": "db72d642d86b3439d587ce6c84dcf8273349efd728148ebaeffcda222ba34fa7", - "unpackedsize": 66 - }, - { - "url": "bin/BattlEye/Licenses.txt.lzma", - "localfile": "bin/BattlEye/Licenses.txt", - "packedhash": "92ec42681418d4fa21fdca9f8cfea6781eb75264ebd32e9d975fca7d4e10d537", - "packedsize": 770, - "unpackedhash": "dc205020ac6d3b4e50c864f23e1453fc543218cc357d2016bf18b4b68df6b3ea", - "unpackedsize": 1128 - }, - { - "url": "bin/BattlEye/BEClient.dll.lzma", - "localfile": "bin/BattlEye/BEClient.dll", - "packedhash": "21f26ee55b4f1ed0167fb59987c30549843798e8dfb80b880215124d43ce01a9", - "packedsize": 9715841, - "unpackedhash": "d721f4095367d523fbcd268ce04e2fe66730f448dc66b46b7704ecd06fcf8312", - "unpackedsize": 9861384 - }, - { - "url": "bin/BattlEye/BEService.exe.lzma", - "localfile": "bin/BattlEye/BEService.exe", - "packedhash": "648b4b90c755d714d15a1ad652a8acdd87861348d64da0cc841bea7b076ab7f4", - "packedsize": 6088507, - "unpackedhash": "99dae7afb371734f92549df2d8834b2241764c3997c3b0483eec71712b243704", - "unpackedsize": 6283712 - }, - { - "url": "bin/BattlEye/BEService_x64.exe.lzma", - "localfile": "bin/BattlEye/BEService_x64.exe", - "packedhash": "d42b24db158d9b5cc9c08cc7a835bd1e58194de3f7668b84b2eb39f527f34e30", - "packedsize": 9484227, - "unpackedhash": "f33ac4bcd9d56c6dc95cef8180f4e0f0cef6be4ea391c6529b5b8f33f7d531bf", - "unpackedsize": 9880840 - }, - { - "url": "bin/BattlEye/Privacy/en-US.txt.lzma", - "localfile": "bin/BattlEye/Privacy/en-US.txt", - "packedhash": "78f0649c38c9c7991994b04d1755c21f05eb399e843af3e24fb818b0172ee20a", - "packedsize": 796, - "unpackedhash": "816941ba566874f12d834491fb35f997251c1c3a6d2a79ea03f2ec887f757bc7", - "unpackedsize": 1435 - }, - { - "url": "bin/BattlEye/Text/zh.ini.lzma", - "localfile": "bin/BattlEye/Text/zh.ini", - "packedhash": "fca093df77458340db8a8ce36f9b8dba682a3702ea941049f0b71866cbb3cd71", - "packedsize": 1373, - "unpackedhash": "79f6780b512b7e5b9bfbb132550579351cf7b6ddbfd92c08b60889edd72c7f45", - "unpackedsize": 2628 - }, - { - "url": "bin/BattlEye/Text/nl.ini.lzma", - "localfile": "bin/BattlEye/Text/nl.ini", - "packedhash": "ad8c75cf41d4e346c6ad136f3e4cbe921382a9ff40076bb0f200f4ecfaf12f0c", - "packedsize": 1394, - "unpackedhash": "763e25bc1f28be5901b8692cf614cdc305a4d87989229a6f964dd6eb2f3853e2", - "unpackedsize": 3004 - }, - { - "url": "bin/BattlEye/Text/fr.ini.lzma", - "localfile": "bin/BattlEye/Text/fr.ini", - "packedhash": "cde6a3c8f7fb9476de8a0741a9fc11024c11c41cedde5cd71adafc9f06950984", - "packedsize": 1490, - "unpackedhash": "ee603fecdda0cf0fae1fcee3ed69716d2934f2309c599c9b2c7e42a0285fbd74", - "unpackedsize": 3246 - }, - { - "url": "bin/BattlEye/Text/it.ini.lzma", - "localfile": "bin/BattlEye/Text/it.ini", - "packedhash": "bbbe28f1eb1e592bc63481800b994dc26ab88f9de1593cb3749116b5bf435ca9", - "packedsize": 1393, - "unpackedhash": "1bf75ae80870c4338c808ee8fbfdd6c02bfab84ae5237691be1401c8af9a7d37", - "unpackedsize": 3024 - }, - { - "url": "bin/BattlEye/Text/ja.ini.lzma", - "localfile": "bin/BattlEye/Text/ja.ini", - "packedhash": "d0f600ac7f2f9647a98f6d9664f9c7ad3932679adeb614b59d69e45f27e18e8f", - "packedsize": 1503, - "unpackedhash": "023475f1462c066bfd5fce719eee81a58c0b3f9efcf7636a320c83789c625c89", - "unpackedsize": 4125 - }, - { - "url": "bin/BattlEye/Text/cs.ini.lzma", - "localfile": "bin/BattlEye/Text/cs.ini", - "packedhash": "d5294d448c4acffdea673b2695532a07fcf28bcb2c9457d88539727d8d9f3e4a", - "packedsize": 1541, - "unpackedhash": "9c1a43cfe67a367b7462a3b43f964feb6406c93fd37324ef85eb3511da5e27f1", - "unpackedsize": 3192 - }, - { - "url": "bin/BattlEye/Text/de.ini.lzma", - "localfile": "bin/BattlEye/Text/de.ini", - "packedhash": "98118dfde218fb356a4da728abba17d8131d94ec6440a7744947ead36703e038", - "packedsize": 1502, - "unpackedhash": "86210b5536cf361de07a1ac6b27139434623845ffb3fbfb3599cb270617fb759", - "unpackedsize": 3283 - }, - { - "url": "bin/BattlEye/Text/pl.ini.lzma", - "localfile": "bin/BattlEye/Text/pl.ini", - "packedhash": "dd75c0c04e0527db702da4ec3ddda3aa1a90e1149760fea3ef009709cf68ce74", - "packedsize": 1520, - "unpackedhash": "2a5c00f0f73020a4b78db853e10d60a24d0255a1772cb130088a8105352883de", - "unpackedsize": 3165 - }, - { - "url": "bin/BattlEye/Text/tr.ini.lzma", - "localfile": "bin/BattlEye/Text/tr.ini", - "packedhash": "bec3e453d79756429e33cf769c5b82788dfc0458872ff90aabace682c5335c16", - "packedsize": 1431, - "unpackedhash": "45a31e07913e88213d7dc4134d5fb5c12cf97b8ed44aa79636730c8c8b0b23a1", - "unpackedsize": 2990 - }, - { - "url": "bin/BattlEye/Text/en.ini.lzma", - "localfile": "bin/BattlEye/Text/en.ini", - "packedhash": "6b737faca3083c4e492400a1ff2ee68d8740ea03810ccd03d2f0c28a6225b47a", - "packedsize": 1262, - "unpackedhash": "ecbf28daba8fb16515ea349e4eecb362bfd4a0b4c33edee0e8e98e37adecebd0", - "unpackedsize": 2748 - }, - { - "url": "bin/BattlEye/Text/ru.ini.lzma", - "localfile": "bin/BattlEye/Text/ru.ini", - "packedhash": "a2bef6e9681c637a92cf3e13e592ca3cdf8e9e4a9fd8d03ab1e18157748b7e4b", - "packedsize": 1686, - "unpackedhash": "c07d88feb77778ff6d242e14356e9005762e03bb75207918d0a751a85f6dd0dc", - "unpackedsize": 4901 - }, - { - "url": "bin/BattlEye/Text/pt.ini.lzma", - "localfile": "bin/BattlEye/Text/pt.ini", - "packedhash": "5f71d57f9eebfce7354ee6ee7f343c027001cc0029080acf128f7718ead40328", - "packedsize": 1413, - "unpackedhash": "3ff405d2bd3f6fe37d4ca1b257f0128ad21969bb76afa8d6d94286863c9b8aeb", - "unpackedsize": 3054 - }, - { - "url": "bin/BattlEye/Text/zh-TW.ini.lzma", - "localfile": "bin/BattlEye/Text/zh-TW.ini", - "packedhash": "8f1e73cebe5ce8bb7aa9920084baf20b06ee04589995011a25263f373f96a88f", - "packedsize": 1377, - "unpackedhash": "b182e76cdc514b0e2436efc930c825c414ef14ae251dbfb63d3864cf5b3c30b6", - "unpackedsize": 2628 - }, - { - "url": "bin/BattlEye/Text/ko.ini.lzma", - "localfile": "bin/BattlEye/Text/ko.ini", - "packedhash": "ffdfabe3291edb236ac3a53f2c34aca45e03a014eafa4f6f0d0945a49e0c95ca", - "packedsize": 1466, - "unpackedhash": "b9f4e6f4669c6be99dc843cdedf7dcace122976909cefca65fa2ddd33bbb2ab9", - "unpackedsize": 3362 - }, - { - "url": "bin/BattlEye/Text/es.ini.lzma", - "localfile": "bin/BattlEye/Text/es.ini", - "packedhash": "8290379df03233a90e850eb9ad445bd582f70b99db283b6c8cecd1a70e26c194", - "packedsize": 1432, - "unpackedhash": "6d85916a1e1a563aa1771e4a2ef109e444a2dae0169cd0e7129881a168e69c0c", - "unpackedsize": 3137 - }, - { - "url": "bin/translations/qtwebengine_locales/en-US.pak.lzma", - "localfile": "bin/translations/qtwebengine_locales/en-US.pak", - "packedhash": "d65ebdde0060af274a5b60ff4d705b35c7e8d202ad440f540ee11391b153b0ad", - "packedsize": 65945, - "unpackedhash": "54818e99ad0ec4d984172b000fc461474f9c3d356e342c9898295683563f974f", - "unpackedsize": 248526 - }, - { - "url": "bin/QtGraphicalEffects/qtgraphicaleffectsplugin.dll.lzma", - "localfile": "bin/QtGraphicalEffects/qtgraphicaleffectsplugin.dll", - "packedhash": "6dcb0ae5bfeab26c5aeedd84d95cbeb89941db946c04b0a77303869241beeaaa", - "packedsize": 21139, - "unpackedhash": "3d7a04216c77d92b279ec7f72db590d1b5aba0ec50c588c09f19723243d8148b", - "unpackedsize": 67472 - }, - { - "url": "bin/QtGraphicalEffects/HueSaturation.qml.lzma", - "localfile": "bin/QtGraphicalEffects/HueSaturation.qml", - "packedhash": "c03feb81ef6d4798430b095eb968bd37d84526974bdafdc42554c51e9a283739", - "packedsize": 2008, - "unpackedhash": "47e9054d530990ed45650f2abd8e9212a3ff5d63b2e20aebb249b3f414216602", - "unpackedsize": 7419 - }, - { - "url": "bin/QtGraphicalEffects/BrightnessContrast.qml.lzma", - "localfile": "bin/QtGraphicalEffects/BrightnessContrast.qml", - "packedhash": "fbddbbd1621dddd6d2e661d36445366fdd0cdfba55510083ab30619566f62846", - "packedsize": 1960, - "unpackedhash": "98060bfd123d2ee8a00fc6e9ea1c769390ef449cae69343b84b3d3602769cbb1", - "unpackedsize": 6585 - }, - { - "url": "bin/QtGraphicalEffects/plugins.qmltypes.lzma", - "localfile": "bin/QtGraphicalEffects/plugins.qmltypes", - "packedhash": "ce9983b027e4af491e335928ac025bd8b4116b14e38dff476e08e941d50b189b", - "packedsize": 295, - "unpackedhash": "6350c17d1667563eb1dfba75fe5c4387ccc3f18f8ea1e266648f5df463c1ccf1", - "unpackedsize": 327 - }, - { - "url": "bin/QtGraphicalEffects/qmldir.lzma", - "localfile": "bin/QtGraphicalEffects/qmldir", - "packedhash": "7d848b740be93ac0afa1a52ef37d562f3f19b52d107fef92aa776b4050dd5448", - "packedsize": 435, - "unpackedhash": "a33ac64a4da419166ea7b498f5b5573b8b0f3d9068c7506c6911f17faeb947f0", - "unpackedsize": 1016 - }, - { - "url": "bin/QtGraphicalEffects/OpacityMask.qml.lzma", - "localfile": "bin/QtGraphicalEffects/OpacityMask.qml", - "packedhash": "f60ebf1cbd45cb9bf0f34e1436fd3e9d384a07127b58b510bf0fe3e51fecccc7", - "packedsize": 1815, - "unpackedhash": "2e3de7c4034b1f9d3376a827cf4a9a910e36431b5d5c5d002c2fdc2abc05056e", - "unpackedsize": 5585 - }, - { - "url": "bin/QtGraphicalEffects/LinearGradient.qml.lzma", - "localfile": "bin/QtGraphicalEffects/LinearGradient.qml", - "packedhash": "07abcd5685756f73519a1c8d371dc7f80179178d42430f4c3c82e0f0788bfe0f", - "packedsize": 2670, - "unpackedhash": "21f3e2cf42f8a429458008efa155c6ee984fd9d2d96fa5b5c9b027ab9bb45ee3", - "unpackedsize": 10829 - }, - { - "url": "bin/QtGraphicalEffects/GammaAdjust.qml.lzma", - "localfile": "bin/QtGraphicalEffects/GammaAdjust.qml", - "packedhash": "1bb4043b532f0ad32a90362c074b23776d7fd9d67cacc1c9e9dc1679bd01bb5b", - "packedsize": 2080, - "unpackedhash": "f44a77c8067d0e0feb45cf34dcf903ce5de259c481e78e853eda7b9340cd9761", - "unpackedsize": 6235 - }, - { - "url": "bin/QtGraphicalEffects/ColorOverlay.qml.lzma", - "localfile": "bin/QtGraphicalEffects/ColorOverlay.qml", - "packedhash": "feab1db7bb38be4a4ac988e5e0f22d4aa7c465066a20724ed579d80444275739", - "packedsize": 1781, - "unpackedhash": "30d97360efe13c029774513e6176bf68c8fac7c87f8e03dde458c8321784ba12", - "unpackedsize": 5095 - }, - { - "url": "bin/QtGraphicalEffects/InnerShadow.qml.lzma", - "localfile": "bin/QtGraphicalEffects/InnerShadow.qml", - "packedhash": "2b114124a1c85b8a5824fd120eff21e70779563686d31b637cd54499451afc00", - "packedsize": 2799, - "unpackedhash": "0bbb5af2e58ff3696937560da502dc844d792a26e1efc73f7a5165e410224386", - "unpackedsize": 12859 - }, - { - "url": "bin/QtGraphicalEffects/MaskedBlur.qml.lzma", - "localfile": "bin/QtGraphicalEffects/MaskedBlur.qml", - "packedhash": "decc54e613429cc59235fa34eb2c1c6b774451fb0527456a68df1fc9614fb1bd", - "packedsize": 2645, - "unpackedhash": "70b5c9437f093fbc2bfd448c7c088c0a27c1141e5f592c42a436ae8f19cb0143", - "unpackedsize": 7807 - }, - { - "url": "bin/QtGraphicalEffects/RadialGradient.qml.lzma", - "localfile": "bin/QtGraphicalEffects/RadialGradient.qml", - "packedhash": "f1abeec3f46e71e231724430554952730e0c9cf34ac0d4731d5b0fe9ac8ba27b", - "packedsize": 2967, - "unpackedhash": "92bd66e1097f20411a27741a346c88e47b6f9ec6b560fe5a4ba2f756b4418aea", - "unpackedsize": 13745 - }, - { - "url": "bin/QtGraphicalEffects/Desaturate.qml.lzma", - "localfile": "bin/QtGraphicalEffects/Desaturate.qml", - "packedhash": "d7152e4605928899ecd9ef9b42ab9fda61fb7f784d993b1196af49ab928c403b", - "packedsize": 1755, - "unpackedhash": "a4dff399519267facfb2f22033c65a03f1f472771cef1df91cd8714cc755eb98", - "unpackedsize": 5079 - }, - { - "url": "bin/QtGraphicalEffects/Glow.qml.lzma", - "localfile": "bin/QtGraphicalEffects/Glow.qml", - "packedhash": "0555fef3d2550c630074daa9bb99c6a9a2a12390f6786d140979d4f3e0a4d28a", - "packedsize": 2871, - "unpackedhash": "91eb6624c489c506c54ecafdc1ec9703a26a664995c833ba74b69d3f48c09b18", - "unpackedsize": 10025 - }, - { - "url": "bin/QtGraphicalEffects/ThresholdMask.qml.lzma", - "localfile": "bin/QtGraphicalEffects/ThresholdMask.qml", - "packedhash": "7672bd2b59c661c55bc2563c9cbe2a0b9c16f57fb88d4ab8e1834e054d736756", - "packedsize": 2167, - "unpackedhash": "2f3593f4fbec921a1de0331c443505b0f70aa2e40834c5a1175e298874585b46", - "unpackedsize": 7462 - }, - { - "url": "bin/QtGraphicalEffects/Blend.qml.lzma", - "localfile": "bin/QtGraphicalEffects/Blend.qml", - "packedhash": "918d41befc29fee060a1a0f62bb27ea1addbcd2ce122bc1dc64986971ff014d8", - "packedsize": 4077, - "unpackedhash": "aeb67e09e08878484f0c1351a88f823d4a9d063c59ef33f56399747a2f058641", - "unpackedsize": 19778 - }, - { - "url": "bin/QtGraphicalEffects/RadialBlur.qml.lzma", - "localfile": "bin/QtGraphicalEffects/RadialBlur.qml", - "packedhash": "823fd195ad1305109cfc1eb5163f2f2bbefffc527821aa4ca133cea7c62b6e0e", - "packedsize": 3314, - "unpackedhash": "65d16512749c9b8f307265434a4c09bab3188e49c4efdc74065fb1f4f0fbcb70", - "unpackedsize": 12345 - }, - { - "url": "bin/QtGraphicalEffects/Displace.qml.lzma", - "localfile": "bin/QtGraphicalEffects/Displace.qml", - "packedhash": "174e962e96ff9677d002608f0f5f0cbd46d368e5f2825b3b28e1fc418ad04f34", - "packedsize": 2338, - "unpackedhash": "d575bc8c0419b42da1881c112abd76f89fe3e4d115d2ef66baa60c9391f2e23e", - "unpackedsize": 7217 - }, - { - "url": "bin/QtGraphicalEffects/DirectionalBlur.qml.lzma", - "localfile": "bin/QtGraphicalEffects/DirectionalBlur.qml", - "packedhash": "34431a7568eaeda04be9fe641c56599cbd9df186aebad76f08568c66fac54f92", - "packedsize": 3140, - "unpackedhash": "8e60bb7c92d977238d52808587ba0dca664d6119278b54453bf07657c815c872", - "unpackedsize": 11031 - }, - { - "url": "bin/QtGraphicalEffects/ZoomBlur.qml.lzma", - "localfile": "bin/QtGraphicalEffects/ZoomBlur.qml", - "packedhash": "cf5ef980728e6e02cffe31979d4fc67b284a8f4b23d56706103a06acd5bbc84e", - "packedsize": 3251, - "unpackedhash": "57d3fb9ff4d4f5d3cd33fcbf45ef156cc74a3bd1a39a76cb6beaf98f86766dfe", - "unpackedsize": 11760 - }, - { - "url": "bin/QtGraphicalEffects/GaussianBlur.qml.lzma", - "localfile": "bin/QtGraphicalEffects/GaussianBlur.qml", - "packedhash": "c16268b627b6a9014be718fdd36d1eca9568d670b0cef540dd044cd9e9bc00bb", - "packedsize": 3751, - "unpackedhash": "cc9533d47c61a70e997882962a870dc4bbb466b88b7d54a9277c8fbab168b1cb", - "unpackedsize": 13602 - }, - { - "url": "bin/QtGraphicalEffects/Colorize.qml.lzma", - "localfile": "bin/QtGraphicalEffects/Colorize.qml", - "packedhash": "981dd7f04f194742f497ae26538d85869a27a3363fd02ad032ca70bcb0b54111", - "packedsize": 2197, - "unpackedhash": "c97bcea811dc59d480e9857196ac553d4863ba53783040bdfc7f5e339d429865", - "unpackedsize": 7876 - }, - { - "url": "bin/QtGraphicalEffects/DropShadow.qml.lzma", - "localfile": "bin/QtGraphicalEffects/DropShadow.qml", - "packedhash": "d683b331f7acf441ebe0cb8a140b16d8ba6dfa1d9c3eedec3c38db9c0863c315", - "packedsize": 3055, - "unpackedhash": "f1101f41816f3c518ef77077cbdcbeb15f4f8119db3bddfc0959ca3c4c45fdf3", - "unpackedsize": 12506 - }, - { - "url": "bin/QtGraphicalEffects/ConicalGradient.qml.lzma", - "localfile": "bin/QtGraphicalEffects/ConicalGradient.qml", - "packedhash": "5fac302a641d7d5d879ae9ddfd76fad3242e6e125c6abbfdc93e38de53f54fcb", - "packedsize": 2610, - "unpackedhash": "f331e1cfa131c3838603948333a1726887817626e6d7569e9540e084df0d6075", - "unpackedsize": 10264 - }, - { - "url": "bin/QtGraphicalEffects/LevelAdjust.qml.lzma", - "localfile": "bin/QtGraphicalEffects/LevelAdjust.qml", - "packedhash": "c8b91443ae7c134ba4979de16b97065fd64ebde74c39ee3fababefa01a8a923b", - "packedsize": 2669, - "unpackedhash": "87b2ade3f9e6c5c7b0e5f2eb2f1ef9f0e543d428fc62acad58cd8d3a9fd7b188", - "unpackedsize": 15891 - }, - { - "url": "bin/QtGraphicalEffects/RecursiveBlur.qml.lzma", - "localfile": "bin/QtGraphicalEffects/RecursiveBlur.qml", - "packedhash": "782dd84300324f4c9b80889ebc22fadc30c9471313bde3c060aa230d7c2e538f", - "packedsize": 3175, - "unpackedhash": "a15ec6d00168b3369004c406e513a71c1c1082df2f66ea086a9b956e23189e5d", - "unpackedsize": 11649 - }, - { - "url": "bin/QtGraphicalEffects/RectangularGlow.qml.lzma", - "localfile": "bin/QtGraphicalEffects/RectangularGlow.qml", - "packedhash": "ad91bdc18f86308e085748abc174ad4c30fbd3db4261d724c2fcf7e29ff1b517", - "packedsize": 2363, - "unpackedhash": "d42a02d92090166ec878425f28061034c976f3012d1ab6663427e22f84775b41", - "unpackedsize": 9305 - }, - { - "url": "bin/QtGraphicalEffects/FastBlur.qml.lzma", - "localfile": "bin/QtGraphicalEffects/FastBlur.qml", - "packedhash": "68e70e5919f46cc7bac5d561ca55781812ae174a17b1ee7bb180c912f562277a", - "packedsize": 2993, - "unpackedhash": "00f6eca1eb3a1730c09d6657e8a00fbbfac4944d6d63ac2fb64bd64d48f6491a", - "unpackedsize": 13881 - }, - { - "url": "bin/QtGraphicalEffects/private/qmldir.lzma", - "localfile": "bin/QtGraphicalEffects/private/qmldir", - "packedhash": "473acfc3af50e39b4d76873f2bbfb63b2eb9fd3ab55fd0d0324edf31d8245385", - "packedsize": 225, - "unpackedhash": "d7681c4c0c927f07eef863a156e254bde0bfeb48a0eea88f135b80325aa77fdf", - "unpackedsize": 446 - }, - { - "url": "bin/QtGraphicalEffects/private/qtgraphicaleffectsprivate.dll.lzma", - "localfile": "bin/QtGraphicalEffects/private/qtgraphicaleffectsprivate.dll", - "packedhash": "b7efd1d54c54950d056357e9baa62f446939d288cc1473b4a4d287976934ba6b", - "packedsize": 24976, - "unpackedhash": "243c48d6dae3a2309c834d7d029c9b5d9e482c4ee78de5820a90428e79255981", - "unpackedsize": 56208 - }, - { - "url": "bin/QtGraphicalEffects/private/GaussianMaskedBlur.qml.lzma", - "localfile": "bin/QtGraphicalEffects/private/GaussianMaskedBlur.qml", - "packedhash": "c8647b0baa546ebec737b1f1ab5ffd11e070653740475f31eecb54f3ca8222ad", - "packedsize": 1217, - "unpackedhash": "98a39f372bc7a6dc83a4e7e51b56d2aa81e458db1b3aa05850b3c22cf4c2f9dc", - "unpackedsize": 4041 - }, - { - "url": "bin/QtGraphicalEffects/private/GaussianInnerShadow.qml.lzma", - "localfile": "bin/QtGraphicalEffects/private/GaussianInnerShadow.qml", - "packedhash": "14a63ec17adbc188ea000e32eba8334c81086443f2324b1eafc0aeda2d2b1b08", - "packedsize": 1312, - "unpackedhash": "e47db40488c3caae81826f4a070be22f2fc3d2720f69e6359e7cf027121bb524", - "unpackedsize": 4345 - }, - { - "url": "bin/QtGraphicalEffects/private/FastGlow.qml.lzma", - "localfile": "bin/QtGraphicalEffects/private/FastGlow.qml", - "packedhash": "c5c2bdb7b0d35d2a56ecf503efe8abcbe40de8d527719dc4b9aaf1d812fb8ab1", - "packedsize": 1874, - "unpackedhash": "ad22212950a1c8d9b09f6fa0393f8c0e702cfacc05241b0d5df0d3d2ba9cefa5", - "unpackedsize": 9961 - }, - { - "url": "bin/QtGraphicalEffects/private/FastMaskedBlur.qml.lzma", - "localfile": "bin/QtGraphicalEffects/private/FastMaskedBlur.qml", - "packedhash": "59ca7996f48b4844a92b31366861e7dfa2ccce24d1e60174a2acae7b87fbd32d", - "packedsize": 1498, - "unpackedhash": "d21c5523227cc24443c5a33d89d7a957bda2376eae16b9d2b6fbe5aed7d68433", - "unpackedsize": 7916 - }, - { - "url": "bin/QtGraphicalEffects/private/GaussianDirectionalBlur.qml.lzma", - "localfile": "bin/QtGraphicalEffects/private/GaussianDirectionalBlur.qml", - "packedhash": "2268e0a3074f704785d1e29331b2e4dffe404c78617257d09dbb4f7a34adb37b", - "packedsize": 2678, - "unpackedhash": "883d1d8bf62e98ee7d4590d647dc1b5e0b24213c646fe9f6c91c806b59e2277f", - "unpackedsize": 12752 - }, - { - "url": "bin/QtGraphicalEffects/private/DropShadowBase.qml.lzma", - "localfile": "bin/QtGraphicalEffects/private/DropShadowBase.qml", - "packedhash": "6c7090b3d21bdffb9f9f03fa77be3493d7b5147c02f2cc6827866fb2ac6fe2b7", - "packedsize": 1322, - "unpackedhash": "8cf00941f226fb8b15a476fb2ca902e53d8b7092077a89a50dcf4d3b393b8996", - "unpackedsize": 3802 - }, - { - "url": "bin/QtGraphicalEffects/private/GaussianGlow.qml.lzma", - "localfile": "bin/QtGraphicalEffects/private/GaussianGlow.qml", - "packedhash": "82af5bbaab7dcf5de26881b4dfe596f1eb3cb11d061f49c8d0f5e8324f960c66", - "packedsize": 1231, - "unpackedhash": "04d9a63435f6c8723a0744274750e305375d63532dd7d215526501c66dd0c690", - "unpackedsize": 3823 + "url": "3rdpartylicences/apache-v2.txt.lzma", + "localfile": "3rdpartylicences/apache-v2.txt", + "packedhash": "7a876ad6425ef61e6a3ce2463ca8781f3b9361b2716fd792981d13eb5966d871", + "packedsize": 3270, + "unpackedhash": "f1db14746c8b94513787e07010d22dee5e370850cdd14bce705c273ff65786dd", + "unpackedsize": 9196 }, { - "url": "bin/QtGraphicalEffects/private/FastInnerShadow.qml.lzma", - "localfile": "bin/QtGraphicalEffects/private/FastInnerShadow.qml", - "packedhash": "edd77a171d1d933854403842e7ff5889f68e1882e8bf9a74cf7342471a198bda", - "packedsize": 1859, - "unpackedhash": "c3edfda7c3677d94681e002c1ce62d1bea074a04a6232bc398534470f09e2578", - "unpackedsize": 10099 + "url": "3rdpartylicences/battleye-eula.txt.lzma", + "localfile": "3rdpartylicences/battleye-eula.txt", + "packedhash": "0875c31438d943b92e550dde3f9d270a28847e95ee523725da4642acb8f3a95c", + "packedsize": 1287, + "unpackedhash": "b9c8d8826c3292043d51ec63163b5ee7b577f78fa52dddd99843534b2a737a6a", + "unpackedsize": 2807 }, { - "url": "bin/angle_current/libEGL.dll.lzma", - "localfile": "bin/angle_current/libEGL.dll", - "packedhash": "87221198261469c068410420a4c4198b1a3e7abac1074806826eaeca90b292c5", - "packedsize": 13781, - "unpackedhash": "c43cb8c49d5feb9abe35b04693fcf6def1da46994468e13ef0b7acb6e763dc4b", - "unpackedsize": 27024 + "url": "3rdpartylicences/easyloggingpp.txt.lzma", + "localfile": "3rdpartylicences/easyloggingpp.txt", + "packedhash": "a9deb7041b02a04de3023f58bac1c75d8427a57eb9e45c4927a03207fe32b2ed", + "packedsize": 788, + "unpackedhash": "1739fb768b5bc5ce71440dd3ee42b18dcd583ddab1d9503690e41a6f6a1833f4", + "unpackedsize": 1249 }, { - "url": "bin/angle_current/libGLESv2.dll.lzma", - "localfile": "bin/angle_current/libGLESv2.dll", - "packedhash": "2dfcfa19b0b92159ba7ce58a78b464955a9dd0fcf3809e28818d2cc585ba494c", - "packedsize": 867678, - "unpackedhash": "61f49a0b72713d548092c2b6d6780b126e6fc2bbf48696833f4652551c317a85", - "unpackedsize": 2893712 + "url": "3rdpartylicences/google-protobuf.txt.lzma", + "localfile": "3rdpartylicences/google-protobuf.txt", + "packedhash": "667262d17d753f3f3bcb7601275a6c017d8e450f803acd366453f1b8ae358079", + "packedsize": 1177, + "unpackedhash": "7d9604162d51e8acdafe73ecf75acc1c752b47abd026d8b0b3a4cb2d2f1919b1", + "unpackedsize": 2247 }, { - "url": "bin/QtWebChannel/plugins.qmltypes.lzma", - "localfile": "bin/QtWebChannel/plugins.qmltypes", - "packedhash": "5b25aba2f941df5c94555b3b9219267ecb9de89c05cd82191eff40f13ebec3a5", - "packedsize": 627, - "unpackedhash": "3a61bbd2176faba0f13b95e6e4d7e3dab0e7b33c99ef8e830a04582d137deec6", - "unpackedsize": 2329 + "url": "3rdpartylicences/qt-3rdparty.txt.lzma", + "localfile": "3rdpartylicences/qt-3rdparty.txt", + "packedhash": "10ca38fce5d152121ca474c7414c50a85eb955c6dc2632e2717952ecb5bbb3b3", + "packedsize": 14858, + "unpackedhash": "529e6be52de4163b001767aa027d243ea502190a6047347dcb27bf5dedde8246", + "unpackedsize": 86670 }, { - "url": "bin/QtWebChannel/qmldir.lzma", - "localfile": "bin/QtWebChannel/qmldir", - "packedhash": "a6986572ba863d76ead631de545b095c2c17c87741a8f1314fdc0f5819cf52b5", - "packedsize": 136, - "unpackedhash": "219dd5a60fd792d278187a1912af3206fdb7ec8f492307ae713b1a5af172eae8", - "unpackedsize": 108 + "url": "3rdpartylicences/sfml-3rdparty.txt.lzma", + "localfile": "3rdpartylicences/sfml-3rdparty.txt", + "packedhash": "b955c30e1256e74eda800620be36707a8fbf64bbce001883e915b11dbdd33a05", + "packedsize": 8722, + "unpackedhash": "8b17b10465e7dce31c1007acb949c1e5a2979ebc5c339d065835a05b4855c6e6", + "unpackedsize": 30065 }, { - "url": "bin/QtWebChannel/declarative_webchannel.dll.lzma", - "localfile": "bin/QtWebChannel/declarative_webchannel.dll", - "packedhash": "55a72b0b305b93ce86e85730a2351bfac9af11021652e832d2d04b53f362620b", - "packedsize": 15528, - "unpackedhash": "32fed2829ce9e95aa209610206ce66045e81f29d93f50504a9ff805da1592f7a", - "unpackedsize": 28560 + "url": "3rdpartylicences/qt.txt.lzma", + "localfile": "3rdpartylicences/qt.txt", + "packedhash": "e422865c17082e2345b61879fff16054d75769d591672284c82957f91647170d", + "packedsize": 12381, + "unpackedhash": "0abced08bdf50cc10c373e1f5cf59907d6c9743ba01dd4cce52a01f29e41d7cf", + "unpackedsize": 40513 }, { - "url": "bin/Qt/labs/settings/plugins.qmltypes.lzma", - "localfile": "bin/Qt/labs/settings/plugins.qmltypes", - "packedhash": "1e376225786a0737d57cef9c954b16397f9597cb97d04512dfb5134151d9f942", - "packedsize": 463, - "unpackedhash": "6b8a8e9e5db20b0622967e62741173406ab739758da0b5f6022babac9a207e65", - "unpackedsize": 1102 + "url": "bin/Qt6QuickControls2Basic.dll.lzma", + "localfile": "bin/Qt6QuickControls2Basic.dll", + "packedhash": "fc1d03c02f3d8c81e7d3d201e4d413daf95c7a33296001c290c01aaf8f81ddc7", + "packedsize": 205263, + "unpackedhash": "75625d61a7a800f61aa9d36db9451663309fd302e047cec593d1addee79e7b99", + "unpackedsize": 1081240 }, { - "url": "bin/Qt/labs/settings/qmldir.lzma", - "localfile": "bin/Qt/labs/settings/qmldir", - "packedhash": "32f0bd5c8c1e536db754adb0e0141ba027ad10b04ce7bbd529dda03132866336", - "packedsize": 131, - "unpackedhash": "49522af40488e52e8a1deda8b51f591df1acca1605336784eb7d4299e5af02ec", - "unpackedsize": 107 + "url": "bin/Qt6Quick.dll.lzma", + "localfile": "bin/Qt6Quick.dll", + "packedhash": "a59f2596de439cba8aef5c748e3fcf9af8fbc065cb27bbd4a09268c314cb901e", + "packedsize": 1608331, + "unpackedhash": "76aef7e0c8ad8719351b5849aaa6834d7fc520609441f513ffbe001e508679ec", + "unpackedsize": 5514128 }, { - "url": "bin/Qt/labs/settings/qmlsettingsplugin.dll.lzma", - "localfile": "bin/Qt/labs/settings/qmlsettingsplugin.dll", - "packedhash": "10db861245100d72756ebe3dfd4bce74669c3f3e404d48a9d0f3b1c164ae6ab2", - "packedsize": 20634, - "unpackedhash": "f8ab818e63baeb9c4ad2d01af4e6c58765c875becf23531646666afea1f3b2de", - "unpackedsize": 40848 + "url": "bin/client_launcher.exe.lzma", + "localfile": "bin/client_launcher.exe", + "packedhash": "110c0c24955ddf9fd49347cf4df36b1d465f3e56e1169862bc308b85538382f2", + "packedsize": 876773, + "unpackedhash": "0912b79762cab916ff5d59977efa148e87c64a5e0ba711f2000cdb8b2a02476e", + "unpackedsize": 1316104, + "executable": true }, { - "url": "bin/Qt/labs/folderlistmodel/plugins.qmltypes.lzma", - "localfile": "bin/Qt/labs/folderlistmodel/plugins.qmltypes", - "packedhash": "a41650bfb14e76eb4592a4124932d7353483d50ee916caada808e06b9f691878", - "packedsize": 847, - "unpackedhash": "11ab6c33257f1660c4aea137cad8fccb7d9635fdf28e234fd905ff6c6e53cbe8", - "unpackedsize": 3339 + "url": "bin/Qt6QuickControls2Imagine.dll.lzma", + "localfile": "bin/Qt6QuickControls2Imagine.dll", + "packedhash": "4d956cae2febabed9159505cd00dc892b0b891298d00d718c9d870e0eb12a6b2", + "packedsize": 660666, + "unpackedhash": "11352c303e1a486dd82a9b499cc2d1db2ef23962d43c28dbbc0874e64e3fe55f", + "unpackedsize": 1956752 }, { - "url": "bin/Qt/labs/folderlistmodel/qmldir.lzma", - "localfile": "bin/Qt/labs/folderlistmodel/qmldir", - "packedhash": "daebcd325a35c49d8916424070ac1408cb3f9bee5b59d58a6d57190f73491d1d", - "packedsize": 140, - "unpackedhash": "f75bb323dfc225d171db112e509e34cc7450786cb7120df4b1f085a510dfb739", - "unpackedsize": 128 + "url": "bin/Qt6QmlWorkerScript.dll.lzma", + "localfile": "bin/Qt6QmlWorkerScript.dll", + "packedhash": "ac65d324f1674e34dbe8f351dac439c227ed85da151b0ec4303487c9dbb6d729", + "packedsize": 31912, + "unpackedhash": "04b8da68409991084336c53797d89f3949504a598518674b820c571bde4f62fc", + "unpackedsize": 74640 }, { - "url": "bin/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll.lzma", - "localfile": "bin/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll", - "packedhash": "45dcb01add5052f6fc880d9512f044180b37ccd9662033743f3fd22cf9f93dd1", - "packedsize": 26115, - "unpackedhash": "a085da89eb81684da3b465b416082df0a8e0c80357457c7b091fa1a520ead1ab", - "unpackedsize": 56720 + "url": "bin/Qt6QuickControls2Impl.dll.lzma", + "localfile": "bin/Qt6QuickControls2Impl.dll", + "packedhash": "8b0c0423334e7b6732ecef2f93db50bf8d6ee64c55726b9634e2433ec87e9918", + "packedsize": 85006, + "unpackedhash": "9d3aac9ef41a35101a049220dc62e409edc492e4f61028c48bfdf0e07d0e0a4a", + "unpackedsize": 301968 }, { - "url": "bin/QtQuick/Window.2/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Window.2/plugins.qmltypes", - "packedhash": "41e7c91ac922de44e4a723738e94da5d9c7377527e0d92eee616533c76c68acc", - "packedsize": 1601, - "unpackedhash": "602810be90bd59c6682702970a91a003de5f0f636f006b6c8c7d987de6c8f250", - "unpackedsize": 8402 + "url": "bin/Qt6Concurrent.dll.lzma", + "localfile": "bin/Qt6Concurrent.dll", + "packedhash": "c460a5d5a25fb133514bf6c31f2b12a68fa9310955c9ffc21ae357cfd905877a", + "packedsize": 17069, + "unpackedhash": "c41bf489c59f50b2dc065b9e7513051074032517b5aab940bb6e74c6a383dd4e", + "unpackedsize": 33680 }, { - "url": "bin/QtQuick/Window.2/qmldir.lzma", - "localfile": "bin/QtQuick/Window.2/qmldir", - "packedhash": "346489be729bbcbbc82f89838fe19cb9d5c1d61461313d6c7ab28b379d4bda8c", - "packedsize": 143, - "unpackedhash": "8d88b81547e1573f8c91df998ea82608e0a79770b014c82f760a67388b41945a", - "unpackedsize": 122 + "url": "bin/QtWebEngineProcess.exe.lzma", + "localfile": "bin/QtWebEngineProcess.exe", + "packedhash": "1492e459a9f6f1323a60bc7499708c3b27a3303a40b6cff4ce4c96cf687e9a59", + "packedsize": 222802, + "unpackedhash": "a0f1d11e1cb5c16068efabc4430669f9630363edb4c307ee1f53dcd4aeb378c8", + "unpackedsize": 565648 }, { - "url": "bin/QtQuick/Window.2/windowplugin.dll.lzma", - "localfile": "bin/QtQuick/Window.2/windowplugin.dll", - "packedhash": "c3fd779fcdd88ec28cc9b7a12742d8c6985a40305d7e979343ed62b931e44e13", - "packedsize": 20056, - "unpackedhash": "76f78c14b04fffd3cf7488daeaa6833a065d977cf1561edb5f56b11dc9b64fa3", - "unpackedsize": 49040 + "url": "bin/Qt6Gui.dll.lzma", + "localfile": "bin/Qt6Gui.dll", + "packedhash": "8637bc3c0c81f264c92d127acc9b9fff50d0256b3ba7df523a6581e9cf8f0aa2", + "packedsize": 2944935, + "unpackedhash": "b7449c16ff782e8d4d39ef1d2fd3184d8fdc1bd8ba78c3025b9c370059daa6eb", + "unpackedsize": 8937368 }, { - "url": "bin/QtQuick/Controls.2/ButtonGroup.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ButtonGroup.qml", - "packedhash": "569b1603afaf21d0375f3aa1ff9929070735acf3dbdfab28bf7a23c204a396b5", - "packedsize": 737, - "unpackedhash": "1394d0a7bd3c10d033426e5fb95cb9df75fbc3fe22962f152f9eb334836528fe", - "unpackedsize": 1851 + "url": "bin/Qt6LabsSettings.dll.lzma", + "localfile": "bin/Qt6LabsSettings.dll", + "packedhash": "def4c521845781a0e531aa97eda975cf4f7fb58b4fe789e6a244b190bd5176c9", + "packedsize": 27893, + "unpackedhash": "71044f31d3ec99130f635cc48070de0bbea6a713eabd5d52ad49806e26fa457e", + "unpackedsize": 62360 }, { - "url": "bin/QtQuick/Controls.2/GroupBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/GroupBox.qml", - "packedhash": "8354b7812188f035a66f064e2ade659e08ff1a883ba1fb5c1acf29c24f32c92b", - "packedsize": 1083, - "unpackedhash": "2c61e245cd57e76d2e93e85443b429893914079c0572e889161661d3a9468374", - "unpackedsize": 2992 + "url": "bin/qt.conf.lzma", + "localfile": "bin/qt.conf", + "packedhash": "7a14fe122d0903f3bbfc1359241cffc456b0355b61036e7dc7a837942934203f", + "packedsize": 69, + "unpackedhash": "7a14fe122d0903f3bbfc1359241cffc456b0355b61036e7dc7a837942934203f", + "unpackedsize": 69 }, { - "url": "bin/QtQuick/Controls.2/ToolButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ToolButton.qml", - "packedhash": "2d9af084bd4fefa0bb603e65e4827358aaaef1bd01b26ae42465291f9d343293", - "packedsize": 1069, - "unpackedhash": "cffa07a4b74ed396e974854782ca8af88ea8938a99d6a4cf00808133fd609f0f", - "unpackedsize": 2998 + "url": "bin/Qt6QmlCore.dll.lzma", + "localfile": "bin/Qt6QmlCore.dll", + "packedhash": "2dddfb7d97bf7db67a814c717de7b4eeb7cbb69bdeb46030252f899ec9a10b0b", + "packedsize": 45214, + "unpackedhash": "590469f3265b4980613546166da81b50bd9090f7254562f2a5b365e5431d3f18", + "unpackedsize": 134552 }, { - "url": "bin/QtQuick/Controls.2/Pane.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Pane.qml", - "packedhash": "4fab41444db14df28b210c6e32c32bbb93726e67212e8bd75e14890abb1c13ff", - "packedsize": 892, - "unpackedhash": "b01825029c2139a4ecf9bc1ce3c1379d19f4a3d7f8635bdbc0a9dbc28b13c2da", - "unpackedsize": 2331 + "url": "bin/client.en.qm.lzma", + "localfile": "bin/client.en.qm", + "packedhash": "ff12554e8f637958af3a32a61f77e4f389862546191c7de9a95b03d4af3c1ca3", + "packedsize": 116619, + "unpackedhash": "5c741e6b5c999efa35bf6e9fefd966be1c477e76b3438501a533bfa7bec0c391", + "unpackedsize": 631088 }, { - "url": "bin/QtQuick/Controls.2/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Controls.2/plugins.qmltypes", - "packedhash": "6c3e542bdba5b1b6a642d4686cb97b10b4eace68e4217a82e664f8a55ba180d5", - "packedsize": 3296, - "unpackedhash": "86adc43d2fb0e3ac925e7e7ad545c771d5cb45423f0e352d68c379fc9a205360", - "unpackedsize": 33341 + "url": "bin/Qt6QuickControls2ImagineStyleImpl.dll.lzma", + "localfile": "bin/Qt6QuickControls2ImagineStyleImpl.dll", + "packedhash": "d6943518db224bc6ce0f09b2732fcc99097f97a8dd067336a8b9dfbd1f6bfa8b", + "packedsize": 22836, + "unpackedhash": "641b587eb4761db91c7a99c4f41df1c288b9c34c4d3d3ecd54dfdf2a3aff59c5", + "unpackedsize": 48024 }, { - "url": "bin/QtQuick/Controls.2/qmldir.lzma", - "localfile": "bin/QtQuick/Controls.2/qmldir", - "packedhash": "e1eabec77f07b838a55f2ac0055bb45f0166ea2da83f599e04984f78508ab7c4", - "packedsize": 150, - "unpackedhash": "7b404175bb8e2b0d3822e75320c8d6d09c61bb53f4513c235a7d04ac7d34fd57", - "unpackedsize": 140 + "url": "bin/Qt6QuickControls2.dll.lzma", + "localfile": "bin/Qt6QuickControls2.dll", + "packedhash": "d756e879008c3dce29e861fbee2538a5402a25e922a3f0dc43dba1213efc707e", + "packedsize": 36322, + "unpackedhash": "703fbe8f4683c0b6a21789b80d184a9d66397e47a51c8f503dd10a7ba5a9eb3b", + "unpackedsize": 87448 }, { - "url": "bin/QtQuick/Controls.2/RadioDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/RadioDelegate.qml", - "packedhash": "7247a751e985839b274e2d270296ad12de00d16e2227583436188592dabf7606", - "packedsize": 1348, - "unpackedhash": "b3dbbfc1472b5ca9f5c836ac14bc847e878155afd875f81cb600a9ec769f148c", - "unpackedsize": 4169 + "url": "bin/D3Dcompiler_47.dll.lzma", + "localfile": "bin/D3Dcompiler_47.dll", + "packedhash": "bbe34ad13e83c9ad32199d1841b8df1f30cef7d1e8db3ade13edcc9494dc6081", + "packedsize": 1510652, + "unpackedhash": "f642940ffb5dca7e548ba2270686798cf6b4c74b60e88bbb22f0991868cae3e5", + "unpackedsize": 4517376 }, { - "url": "bin/QtQuick/Controls.2/Label.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Label.qml", - "packedhash": "9196fbf476abe10653381e21e61b1b13d183e83e582e2c66635dae383aac32d5", - "packedsize": 788, - "unpackedhash": "29ad5863de006243027da0b490b474f61097f42477577cb6f86167cf5058ff36", - "unpackedsize": 2006 + "url": "bin/Qt6WebEngineCore.dll.lzma", + "localfile": "bin/Qt6WebEngineCore.dll", + "packedhash": "441c51be8ce43c70d766767e05a886a9421697c32acd7fe5cf0846b98d1bd835", + "packedsize": 46015935, + "unpackedhash": "b2cce0e8dc3e4ce00aca66ef3ba64f4946abdcb7377ec2da0e1913987f1487e6", + "unpackedsize": 143082904 }, { - "url": "bin/QtQuick/Controls.2/PageIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/PageIndicator.qml", - "packedhash": "5b5b79246656886d93d535af1b364c8d1e9185c518b22ce2cf29ff230f9a1fd1", - "packedsize": 1055, - "unpackedhash": "43433af6c1f53a570c8cfcfdccdfa41d8806cbfc9f1bb962ca12ea46cf4c0a6d", - "unpackedsize": 2763 + "url": "bin/Qt6QuickControls2FusionStyleImpl.dll.lzma", + "localfile": "bin/Qt6QuickControls2FusionStyleImpl.dll", + "packedhash": "bd426934a5c73abeb0cb150684d3b946941b612d7b9ef4e491301c9711513a81", + "packedsize": 47001, + "unpackedhash": "2319c5b27a72f77aad8d9acf4d2e5a745669c91cc49f17b3d900f7e1f89a3ed8", + "unpackedsize": 156056 }, { - "url": "bin/QtQuick/Controls.2/RadioButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/RadioButton.qml", - "packedhash": "d9f0ff4cf654ec9a4b4d27e8ea093481c3f661b23b46a28db141aaa5c43e975d", - "packedsize": 1249, - "unpackedhash": "114ff5020e93592ed84368576eec23ab3f999129d8c2bbb7fcafab3603fc28d9", - "unpackedsize": 3713 + "url": "bin/client.exe.lzma", + "localfile": "bin/client.exe", + "packedhash": "2a17a23aae22b54fb625f71b3a6ca2c8eb196a212e8c0d3d3252f5b53232a698", + "packedsize": 6130260, + "unpackedhash": "a73bd245086484f576d79e86a2838d227e89344b8edad5b6fa1de69172c0cd9b", + "unpackedsize": 27365264 }, { - "url": "bin/QtQuick/Controls.2/Page.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Page.qml", - "packedhash": "fecef3abf3396bd233e5cfb924ddc202f6b71a676844512f6c834cacb956a696", - "packedsize": 937, - "unpackedhash": "4d4ac1104fd58e70df514b2ab5d46b037ba489cb96c64505a3d672ada6cc9884", - "unpackedsize": 2604 + "url": "bin/Qt6StateMachine.dll.lzma", + "localfile": "bin/Qt6StateMachine.dll", + "packedhash": "7aa3d4cabe071748366af6e5a3cccc0c5441571cb00bbcc39d2c4ec4f54fef25", + "packedsize": 111865, + "unpackedhash": "16b6ad9a7f5ccaed424dec39c0759dc3c8689f8d8ca160aad965fa9f8f5b628b", + "unpackedsize": 349072 }, { - "url": "bin/QtQuick/Controls.2/Popup.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Popup.qml", - "packedhash": "922daec1612bb644a58ed6e5c0fa066756b98725e5f7a4e480b15a8d27ad4d27", - "packedsize": 956, - "unpackedhash": "75c32398761d16e0e875e26e9584ef67cfcd1a1f4f2938f3c86a57e17334cf2c", - "unpackedsize": 2592 + "url": "bin/Qt6QuickControls2Material.dll.lzma", + "localfile": "bin/Qt6QuickControls2Material.dll", + "packedhash": "b96fd881139cdbc13a87be6de91024625b953c2f1b051f8c2b94e43327a05455", + "packedsize": 239705, + "unpackedhash": "c0c864d95437172c7488fca3181dfcd1713a15367dcade69d0ffd6f88e1b7762", + "unpackedsize": 1221528 }, { - "url": "bin/QtQuick/Controls.2/ToolTip.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ToolTip.qml", - "packedhash": "f71d29355ce7850f35a828e2b077fd00489c144090dc22ec214a9ccbeeaf1615", - "packedsize": 1049, - "unpackedhash": "9ecd0a2492d7e7cc41300688497a7f9ef312164173c3bfa59d619c513c36a843", - "unpackedsize": 2763 + "url": "bin/Qt6Widgets.dll.lzma", + "localfile": "bin/Qt6Widgets.dll", + "packedhash": "370d4f627cd7cada7722bcc6e273185dfa2b71f51148d9d6504ac8fd68aaf8b5", + "packedsize": 2275019, + "unpackedhash": "ba69dda0eb0b7537d8e6da064415f231c337c517f0a456a0ce5278e3133755e4", + "unpackedsize": 6467984 }, { - "url": "bin/QtQuick/Controls.2/ApplicationWindow.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ApplicationWindow.qml", - "packedhash": "1ab4997aea22a76c5ca248cfcc8469e0802295e4195f58f36ca274c12f7448bc", - "packedsize": 840, - "unpackedhash": "13aef729c0a8c10b4d2c7cdc2d07c408837bc4b01bab8f1e4b7f0f565be785b5", - "unpackedsize": 2206 + "url": "bin/OpenAL32.dll.lzma", + "localfile": "bin/OpenAL32.dll", + "packedhash": "406b45d34319ba59a6709d7c44df18b8cadec10342ee673886245e9cf73bc011", + "packedsize": 633078, + "unpackedhash": "bd6876f36b997c20a87a6a67a88b20efe884c46fd7b1749ace9271ec1384133d", + "unpackedsize": 2185104 }, { - "url": "bin/QtQuick/Controls.2/MenuItem.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/MenuItem.qml", - "packedhash": "50e1a3b3c50db138f4643e9ec1bcc36dd1d602f87cb448ccc40e06b488cbe9c9", - "packedsize": 1352, - "unpackedhash": "2ad146a44a773e8105bba1a9a1a2552d4f64c0990c7ec48e3a98d59044398bc4", - "unpackedsize": 4379 + "url": "bin/Qt6QuickDialogs2QuickImpl.dll.lzma", + "localfile": "bin/Qt6QuickDialogs2QuickImpl.dll", + "packedhash": "b4dc53b1458d0079f5d425be783ce1a4dc24e30010fcc14dab3232d655d029b1", + "packedsize": 347277, + "unpackedhash": "c90d798a85bd546dba87913553ed608c86d10316253fd0a49bb647b3c3e1a9bc", + "unpackedsize": 1737104 }, { - "url": "bin/QtQuick/Controls.2/CheckDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/CheckDelegate.qml", - "packedhash": "374287808bd4a3201de6e08069ab07971c850c276d680734e1e8f4c1afb6dd90", - "packedsize": 1438, - "unpackedhash": "fa4674932bb9b4f3571748440b4141a0c23a6ddb870de8084081c6b926cc5e57", - "unpackedsize": 4478 + "url": "bin/Qt6ShaderTools.dll.lzma", + "localfile": "bin/Qt6ShaderTools.dll", + "packedhash": "e900b34167c97a2e21168f56a28499ae4a356ab1e4b02b078ea7ee0861d98d24", + "packedsize": 1082318, + "unpackedhash": "96a97e7824931e6caed124934a2186beb7190eea4cc7599809fce51a9c7df68a", + "unpackedsize": 3637648 }, { - "url": "bin/QtQuick/Controls.2/TextField.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/TextField.qml", - "packedhash": "1e5ce8ef51f6c101dcec9782fce515ea7dbbde1b83cddee3e3863a380dd20466", - "packedsize": 1229, - "unpackedhash": "8f792ebea56c72fb291dfca0db0c5d93a1782924781008e355504f5f14ab59db", - "unpackedsize": 3571 + "url": "bin/Qt6WebEngineQuick.dll.lzma", + "localfile": "bin/Qt6WebEngineQuick.dll", + "packedhash": "9edcaeb40847fdade5b333bc5b27b6d926240a35899aff221315481ffef9ceed", + "packedsize": 141249, + "unpackedhash": "76faea26ab1d4a2a911119e22265392f55dc861aa328895a9d9acf1ba0898cd2", + "unpackedsize": 529816 }, { - "url": "bin/QtQuick/Controls.2/Control.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Control.qml", - "packedhash": "019a5945065bb810cdc6ec3fc9a90de2c1126c1e828c2f09eeeaa467642c5008", - "packedsize": 841, - "unpackedhash": "c36c30fd83ccd08a34c78684ea95fa902777108c3a3285580dcb51ba5650d3ed", - "unpackedsize": 2189 + "url": "bin/Qt6Qml.dll.lzma", + "localfile": "bin/Qt6Qml.dll", + "packedhash": "c54d971fdee7febae8809f419388e36978cf6785203237f009a70123298bab67", + "packedsize": 1486352, + "unpackedhash": "1423633a7723c3cd50e3cd9edc90168dff417bd2c5a1735cf81a0433053ca91b", + "unpackedsize": 5047192 }, { - "url": "bin/QtQuick/Controls.2/Container.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Container.qml", - "packedhash": "d9077f057e85cc4344327cef71a521d552c2d0e57aad967bbbddf92036b0bc7e", - "packedsize": 842, - "unpackedhash": "9a35dc7ee7ced74448d59fe12a1e0c289569864bcc5ef0cf643b73a8acebe0ff", - "unpackedsize": 2175 + "url": "bin/Qt6QuickControls2UniversalStyleImpl.dll.lzma", + "localfile": "bin/Qt6QuickControls2UniversalStyleImpl.dll", + "packedhash": "29d027d20f8503f436a1bc3bd92eec7993a40b4fe788f0185ca96f0440056408", + "packedsize": 39396, + "unpackedhash": "00915002a62733b82046dcff3024105011ef46870caf8e5ec13988e71b41f552", + "unpackedsize": 109464 }, { - "url": "bin/QtQuick/Controls.2/Menu.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Menu.qml", - "packedhash": "e027e63a9f355c152af62b705fe1e301d4c6f10964d97be0c1e25a5fdc10895d", - "packedsize": 1116, - "unpackedhash": "071f5c638437bbcb3c6992ffa69f4a459f148d060c342f1d0f5e6c122201e743", - "unpackedsize": 3132 + "url": "bin/Qt6QuickTemplates2.dll.lzma", + "localfile": "bin/Qt6QuickTemplates2.dll", + "packedhash": "98a430b83ec506a05f8412a4baf416a0ef8c899d7f11fe0d73b35908ed9a79ea", + "packedsize": 441753, + "unpackedhash": "c882af8d0fa4b5ce859ebe84caecaa7bb572c4b993906f23ce3630725e24de66", + "unpackedsize": 1824152 }, { - "url": "bin/QtQuick/Controls.2/ActionGroup.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ActionGroup.qml", - "packedhash": "d024d3f6d1d26784d11bf2e5ed1a02bb34ee06c684501da302695cf40fbffa80", - "packedsize": 738, - "unpackedhash": "af7afb4f8fd6e98cadb48e6d6fdef78ef48d8617c07d1e0eaa927d3ff0f5001c", - "unpackedsize": 1851 + "url": "bin/Qt6QuickControls2BasicStyleImpl.dll.lzma", + "localfile": "bin/Qt6QuickControls2BasicStyleImpl.dll", + "packedhash": "ff508f514c81e25426a0e9c07a7149e4b2b1599759a66211965c9d1e68ae618a", + "packedsize": 25088, + "unpackedhash": "9d32940e89495978b1e008ed8fc686a7eb553addd66a47ac8ebaa906ec3a283b", + "unpackedsize": 64408 }, { - "url": "bin/QtQuick/Controls.2/Dial.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Dial.qml", - "packedhash": "928da4903fe343ba94a4254b5ef0fd3ea6b4d806dbf8306561320173485f22fb", - "packedsize": 1208, - "unpackedhash": "0f002b11f845ec2ba3fa8da40ceb5adda050e0de5f75b8f07c98aab44996e100", - "unpackedsize": 3493 + "url": "bin/Qt6QuickLayouts.dll.lzma", + "localfile": "bin/Qt6QuickLayouts.dll", + "packedhash": "77b435c0426cd7a6da6d1b2ffcc6688150c7fc5d1534a04bc7ee7006133a630a", + "packedsize": 68737, + "unpackedhash": "8d1125b08e99bb3e4fd1dccbe4ecec794d11aa663db24e51ecabb5debe4f4f03", + "unpackedsize": 220560 }, { - "url": "bin/QtQuick/Controls.2/RoundButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/RoundButton.qml", - "packedhash": "fe7f4ade33778df4f46265da0e7cac2008f6aa6ca9901c22e3cf01f91fdf48f8", - "packedsize": 1184, - "unpackedhash": "3f06e0f1cc2222d5ac39949dd6aa50c5bcb88bd9bfecb0330ca6ed62a46c53f4", - "unpackedsize": 3633 + "url": "bin/Qt6Network.dll.lzma", + "localfile": "bin/Qt6Network.dll", + "packedhash": "9e448131f77b99cba424419d88598aa4e186860d80e4ebad92084052496b5657", + "packedsize": 510023, + "unpackedhash": "a8d7fc5efb7a88f2f4a0c8cde848987959bd0b2aa7d8e653e59790e44fe35639", + "unpackedsize": 1492888 }, { - "url": "bin/QtQuick/Controls.2/StackView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/StackView.qml", - "packedhash": "5397ab4950f6af628d48f3c0d3bc77d0e31794c86ca46619173a884634c1c561", - "packedsize": 898, - "unpackedhash": "cfaf9a1325b36060f9e7489e80a5462f11f9fa99e5f78e4dd6d6dd0b10222f09", - "unpackedsize": 2879 + "url": "bin/Qt6QuickControls2Fusion.dll.lzma", + "localfile": "bin/Qt6QuickControls2Fusion.dll", + "packedhash": "f3f13683d068269fed39fd077ea79e859b46271e9a40f2d683431c4c98bbe0f3", + "packedsize": 193577, + "unpackedhash": "39ea5abc0716150c1df1717cc61bc3d46e8484e2434c58c9a483e4f0529d4fb3", + "unpackedsize": 992664 }, { - "url": "bin/QtQuick/Controls.2/ScrollBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ScrollBar.qml", - "packedhash": "c8e0472bed4b4abb95c8d180a48faa70a36c2d741c0ac3639654ec0b295eac73", - "packedsize": 1192, - "unpackedhash": "abe6bbaf5f31e5deda3086423ec8935bae426f945a5532701982b3e1206857fa", - "unpackedsize": 3211 + "url": "bin/graphics_resources.rcc.lzma", + "localfile": "bin/graphics_resources.rcc", + "packedhash": "712dcc6aac7709fac3414b99b46dbb50c8519fd413f1bd708333dbddff28851d", + "packedsize": 5094696, + "unpackedhash": "63ea8831b53707d181b767386fc0dc16e82eb8b4bc87259bcd31b6bf5fe06681", + "unpackedsize": 5327504 }, { - "url": "bin/QtQuick/Controls.2/CheckBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/CheckBox.qml", - "packedhash": "677fe2d4b954a62c4a026684f18589d021aeb3152943f4db7194cde61d759d92", - "packedsize": 1333, - "unpackedhash": "376c36f8bb81ebd6d7ca09bccad95f9ef307ba2052da38dd07228b7489c5baf9", - "unpackedsize": 4022 + "url": "bin/Qt6QuickControls2MaterialStyleImpl.dll.lzma", + "localfile": "bin/Qt6QuickControls2MaterialStyleImpl.dll", + "packedhash": "d85c75b14a864ffc01837eba67264d759c021c4d392938555d4aeed432dc41f6", + "packedsize": 78039, + "unpackedhash": "f9cc4c64e8999197a8b347c6dfc93d93c838ba212f78b002589562ff05e7c497", + "unpackedsize": 267160 }, { - "url": "bin/QtQuick/Controls.2/MenuSeparator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/MenuSeparator.qml", - "packedhash": "0356af04d19125abfe41a164a13adb304985df6660f67148b940466b476a5b5a", - "packedsize": 926, - "unpackedhash": "58a848c945814a0e233e775dc308f719fab3790026687790d66b7974408c5f6c", - "unpackedsize": 2442 + "url": "bin/Qt6LabsFolderListModel.dll.lzma", + "localfile": "bin/Qt6LabsFolderListModel.dll", + "packedhash": "795abc408aad16f856e98050b20482998600fe1184da3678d7b577181ca49201", + "packedsize": 41756, + "unpackedhash": "d321985e96fa5cdfbfdd205b5ca965cbee1b72e6464a4a38fd7daaaa7d1d2bd8", + "unpackedsize": 106392 }, { - "url": "bin/QtQuick/Controls.2/Action.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Action.qml", - "packedhash": "43183a49ceb34045409934cb3013a5fd8479a282ec9ef7d16e241ed7b66936b9", - "packedsize": 732, - "unpackedhash": "523de0efbd2cdbbe342abab01e8aeb1ab0cc01d840ae27712f87324646db1d48", - "unpackedsize": 1846 + "url": "bin/Qt6QmlModels.dll.lzma", + "localfile": "bin/Qt6QmlModels.dll", + "packedhash": "2a05dabed9beba2fa70ab6a2e97862688543459a1c9b970e9d91c3e11f91294d", + "packedsize": 240810, + "unpackedhash": "3b9caf8443219baff01d4cc33f139f30f46798250ec4f185bc97b267c86e9a8b", + "unpackedsize": 723864 }, { - "url": "bin/QtQuick/Controls.2/BusyIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/BusyIndicator.qml", - "packedhash": "680c5e294990fa5fca0b48f83ac6edc50fb65de1895e1f2d2098cb3c386c3770", - "packedsize": 978, - "unpackedhash": "9d5f2b8b73243c6fa6b62edbb2a7e10a461fd8be29d9dc4f8a352db2b89bf72c", - "unpackedsize": 2598 + "url": "bin/Qt6QuickDialogs2Utils.dll.lzma", + "localfile": "bin/Qt6QuickDialogs2Utils.dll", + "packedhash": "5db05b5d74ab49010c4cf99c2098ab025de62e7354f4d8c49f4102bd246fba55", + "packedsize": 22152, + "unpackedhash": "73b0f10851590934b6f0ef8ebd358724ab22765973f1fb7a7bd8aa649fbadfd2", + "unpackedsize": 47000 }, { - "url": "bin/QtQuick/Controls.2/Drawer.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Drawer.qml", - "packedhash": "4b305aef97da044828c56b9d62f64428c876b6b6af1e7326c478a31d18921b9f", - "packedsize": 1131, - "unpackedhash": "928267e5627a15217bda98ba73965918cbacfc35b920355234a07d9b303c2334", - "unpackedsize": 3301 + "url": "bin/Qt6WebChannelQuick.dll.lzma", + "localfile": "bin/Qt6WebChannelQuick.dll", + "packedhash": "24023abd24e75b83b544e6606a24ebf73984813c3aea9a7285232d1c52e46ce9", + "packedsize": 27543, + "unpackedhash": "6d7b3d87d95419b76f86dd3c72c232cd588265b0011d03307bf9cac292c53dbb", + "unpackedsize": 63896 }, { - "url": "bin/QtQuick/Controls.2/TabButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/TabButton.qml", - "packedhash": "6b2539cf2de6d29ce68f47904c00bd22f39d518396dd1f33edf003b5019cd07f", - "packedsize": 1058, - "unpackedhash": "777dc9ef7b8278285af9844e0f465347d321d0f5b9425448e1891f78257a0085", - "unpackedsize": 2987 + "url": "bin/Qt6Core.dll.lzma", + "localfile": "bin/Qt6Core.dll", + "packedhash": "e3a1fb0db6cb189ac60c8b9552191aab656b90d3dc83cc459a9f8db83830d52e", + "packedsize": 2122671, + "unpackedhash": "a339172425f93ec2c066a781067ce2ad14b0cf2ac6b49cb51e375530dcc04c31", + "unpackedsize": 6323600 }, { - "url": "bin/QtQuick/Controls.2/SplitView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/SplitView.qml", - "packedhash": "3c12f2ff962a39a3f5f23b32a68a6b8e993492445b477420f684b2ee9115fcad", - "packedsize": 970, - "unpackedhash": "fa338e11c1d5ca56d42bcb1952c307efaed89ff9e62870a768c5ca40f3bc4875", - "unpackedsize": 2605 + "url": "bin/Qt6QuickDialogs2.dll.lzma", + "localfile": "bin/Qt6QuickDialogs2.dll", + "packedhash": "a7237074882e0d5d33f6e121685d658c5f31e569fe798844e28b6b152921197d", + "packedsize": 52790, + "unpackedhash": "29a29c3b8b7dabcf151a834bad369ccb0847466fd10123e4f6fb254902e53fda", + "unpackedsize": 162704 }, { - "url": "bin/QtQuick/Controls.2/MenuBarItem.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/MenuBarItem.qml", - "packedhash": "dbf779d4a0c0b4f945544699bea489f2eca4b91c74fc72fce6da1f4bab6ad852", - "packedsize": 1082, - "unpackedhash": "25267737cf4a0430631bc80b509647b605b903d9c2bb39a7d0fa05df3939f5b2", - "unpackedsize": 2994 + "url": "bin/Qt6QuickShapes.dll.lzma", + "localfile": "bin/Qt6QuickShapes.dll", + "packedhash": "eb354ff20107c7775df746f810d63005f531bae9bcd70cd1be0d6c600ace0b31", + "packedsize": 181226, + "unpackedhash": "c92e92d0c5991c3a644ce8dd2cd358a332d731307db938eea3cad68872aeed32", + "unpackedsize": 411536 }, { - "url": "bin/QtQuick/Controls.2/VerticalHeaderView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/VerticalHeaderView.qml", - "packedhash": "677a45a320c958d84ae666d46041cba11dcc3392e1d3d1d0ff5b78e509340ea2", - "packedsize": 1082, - "unpackedhash": "1d4f3f1d0dbb8cae0d392c2556889c9639a1a51b055e47bdaabedbd33bd4a934", - "unpackedsize": 2833 + "url": "bin/Qt6QuickControls2Universal.dll.lzma", + "localfile": "bin/Qt6QuickControls2Universal.dll", + "packedhash": "e5a87980a02bf2d8c5204c6d8fe169bf71d4ed315e7da07d0d1f51dc98091ae9", + "packedsize": 191989, + "unpackedhash": "9afee306793c78508dd5049c2da3496da8514ce03f0f6bcad628f8baf1b4a54a", + "unpackedsize": 978320 }, { - "url": "bin/QtQuick/Controls.2/DelayButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/DelayButton.qml", - "packedhash": "16bcfe50860c481a0788ab660579e0eb4f05bb756756fc8d58bd17e9f6f3e863", - "packedsize": 1274, - "unpackedhash": "d53409fe94cfab9f60485c8472613bb7806f1062c295dd9df1fbdb61e1aa7f53", - "unpackedsize": 4163 + "url": "bin/Qt6WebChannel.dll.lzma", + "localfile": "bin/Qt6WebChannel.dll", + "packedhash": "c4497d0f3f25e288ad881744dbbee2132f25146a23b51c50f9746ac2246d6989", + "packedsize": 89211, + "unpackedhash": "8352d689da66655b50c432d1cac6c42db073fb6866e29ac528fc879cc6e67deb", + "unpackedsize": 249232 }, { - "url": "bin/QtQuick/Controls.2/ItemDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ItemDelegate.qml", - "packedhash": "9c014c6fc267f90f7eab73e22ef6e0382f3390dc9d8442bba8cc251bc1696d73", - "packedsize": 1147, - "unpackedhash": "4e7e9eeb41ea501135ff25bb9c20702f39960caf2062db11a5f14af4b2ff229e", - "unpackedsize": 3287 + "url": "bin/Qt6QuickEffects.dll.lzma", + "localfile": "bin/Qt6QuickEffects.dll", + "packedhash": "c967932039be24740c53a70ef37a26384e71236e01306f3420784da976d5190b", + "packedsize": 140726, + "unpackedhash": "6182af5009b6a8dcdcd0f2bbb2f15b44548d83faea0d00e7039b8d8fd3a9ed97", + "unpackedsize": 214424 }, { - "url": "bin/QtQuick/Controls.2/Switch.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Switch.qml", - "packedhash": "4b4af36df4a12ab86ad35126b78586666ac51b97848784d3fd5c93e3fb2187b3", - "packedsize": 1295, - "unpackedhash": "d2696e10b1054c586a6264c20a4ea70920d947c2c03a1c0fb8ee1261978f701d", - "unpackedsize": 3947 + "url": "bin/Qt6OpenGL.dll.lzma", + "localfile": "bin/Qt6OpenGL.dll", + "packedhash": "e6cf337d2d3ac502450f7394eebcf03e402a6fb77a4a7d5b78cdb0ec982d8914", + "packedsize": 292786, + "unpackedhash": "f335d7a317465a3d787f7bd6453dfbd7751a94b47479343a565b5c90c215cd18", + "unpackedsize": 1968536 }, { - "url": "bin/QtQuick/Controls.2/ScrollView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ScrollView.qml", - "packedhash": "c8f531c4031391cfbd6acfd8d09bbad04c3e542ce9485f6704c8b98d434eccbc", - "packedsize": 976, - "unpackedhash": "e133806d109716f7b355f1d643a18fee659a64acc1d8e27089a568e82eb4d3b4", - "unpackedsize": 2725 + "url": "bin/BattlEye/BEClient.cfg.lzma", + "localfile": "bin/BattlEye/BEClient.cfg", + "packedhash": "4b36d4ab990a3bd9f9b5379f58b65ec6402eb3b3109dc83a02b6827778d29281", + "packedsize": 29, + "unpackedhash": "4b36d4ab990a3bd9f9b5379f58b65ec6402eb3b3109dc83a02b6827778d29281", + "unpackedsize": 29 }, { - "url": "bin/QtQuick/Controls.2/HorizontalHeaderView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/HorizontalHeaderView.qml", - "packedhash": "21b44fc7fb9891815b3b5eb758e5b9a4cc8dd1b56c1ebc05d40faa606789051f", - "packedsize": 1080, - "unpackedhash": "c7f74755b3fc438dbdcb415930beaada79e45a540424282daecf5f538ee3489a", - "unpackedsize": 2836 + "url": "bin/BattlEye/BEService.exe.lzma", + "localfile": "bin/BattlEye/BEService.exe", + "packedhash": "648b4b90c755d714d15a1ad652a8acdd87861348d64da0cc841bea7b076ab7f4", + "packedsize": 6088507, + "unpackedhash": "99dae7afb371734f92549df2d8834b2241764c3997c3b0483eec71712b243704", + "unpackedsize": 6283712 }, { - "url": "bin/QtQuick/Controls.2/SwipeView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/SwipeView.qml", - "packedhash": "1751ef48b5008c923cf597f1bb2e0ae996447d23c3dfe0357eafc43b5db7dc0e", - "packedsize": 1088, - "unpackedhash": "790f1cf3fa94fd7c7ed4741121eb8daef603fcdf07a9c43d1b9b3b147cbaaf6a", - "unpackedsize": 2821 + "url": "bin/BattlEye/BELauncher.ini.lzma", + "localfile": "bin/BattlEye/BELauncher.ini", + "packedhash": "1bd08617a4a59c3e490e3b8caae021e4848d570538dae5181eae141d14b16c03", + "packedsize": 109, + "unpackedhash": "1bd08617a4a59c3e490e3b8caae021e4848d570538dae5181eae141d14b16c03", + "unpackedsize": 109 }, { - "url": "bin/QtQuick/Controls.2/Tumbler.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Tumbler.qml", - "packedhash": "ab23cd1bdb24d10c9d3d1941592fa60680feff56ace2374508e125ed495b00de", - "packedsize": 1178, - "unpackedhash": "fa93702565f433661ec3cbf5b9a19a491f59ff92c6b3d45ae83c3fef44fba27e", - "unpackedsize": 3289 + "url": "bin/BattlEye/Uninstall_BattlEye.bat.lzma", + "localfile": "bin/BattlEye/Uninstall_BattlEye.bat", + "packedhash": "23a6bf630cd1083e7461ae10569684246078b94806cc6b7401848f47f5abb3e7", + "packedsize": 66, + "unpackedhash": "23a6bf630cd1083e7461ae10569684246078b94806cc6b7401848f47f5abb3e7", + "unpackedsize": 66 }, { - "url": "bin/QtQuick/Controls.2/Frame.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Frame.qml", - "packedhash": "52c272b0bac18918d4a6f3c28334fcd20d9de704f604a7d5c8a8c045717abef6", - "packedsize": 911, - "unpackedhash": "db256124a994c6300f9d647e2728a5d0290ea7be5322a212c501b47781a3b3dd", - "unpackedsize": 2366 + "url": "bin/BattlEye/BEService_x64.exe.lzma", + "localfile": "bin/BattlEye/BEService_x64.exe", + "packedhash": "d42b24db158d9b5cc9c08cc7a835bd1e58194de3f7668b84b2eb39f527f34e30", + "packedsize": 9484227, + "unpackedhash": "f33ac4bcd9d56c6dc95cef8180f4e0f0cef6be4ea391c6529b5b8f33f7d531bf", + "unpackedsize": 9880840 }, { - "url": "bin/QtQuick/Controls.2/AbstractButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/AbstractButton.qml", - "packedhash": "22314e391affaa9f150844c7b52860c6f2886b88fee86ef6ae00805049b31201", - "packedsize": 851, - "unpackedhash": "73c1652d0326049d9d43ef24d15edde474d1a764bd7dfcb8f3b83c2823d985c1", - "unpackedsize": 2196 + "url": "bin/BattlEye/Install_BattlEye.bat.lzma", + "localfile": "bin/BattlEye/Install_BattlEye.bat", + "packedhash": "db72d642d86b3439d587ce6c84dcf8273349efd728148ebaeffcda222ba34fa7", + "packedsize": 66, + "unpackedhash": "db72d642d86b3439d587ce6c84dcf8273349efd728148ebaeffcda222ba34fa7", + "unpackedsize": 66 }, { - "url": "bin/QtQuick/Controls.2/TextArea.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/TextArea.qml", - "packedhash": "965a8ae22ac8a97651409ddedea5d972cc415bad052e10c7b979ff3ace6983db", - "packedsize": 1148, - "unpackedhash": "f912c4df59c22b53f85f0bf0c5c7be178dfc66ce2c328c86598fd6c931adc1a8", - "unpackedsize": 3313 + "url": "bin/BattlEye/Licenses.txt.lzma", + "localfile": "bin/BattlEye/Licenses.txt", + "packedhash": "92ec42681418d4fa21fdca9f8cfea6781eb75264ebd32e9d975fca7d4e10d537", + "packedsize": 770, + "unpackedhash": "dc205020ac6d3b4e50c864f23e1453fc543218cc357d2016bf18b4b68df6b3ea", + "unpackedsize": 1128 }, { - "url": "bin/QtQuick/Controls.2/Button.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Button.qml", - "packedhash": "7976bfdf4c75914c6bbe63ffdadd0733119b23ed6276ab9c2c5a7daf6c972c12", - "packedsize": 1170, - "unpackedhash": "b28b1f726ddd5cb408c71f47ec62d9f4e5554baf7c813a14408ed89e19d0c35a", - "unpackedsize": 3597 + "url": "bin/BattlEye/BEClient.dll.lzma", + "localfile": "bin/BattlEye/BEClient.dll", + "packedhash": "688ed136e041f3ad0d96d3a00a80f1621f134eb5cee88d1435d1f6f9cb8986e5", + "packedsize": 5665583, + "unpackedhash": "1241ee26cf859988150186536ed05f37462889eb30d72c895b5402c16719c5eb", + "unpackedsize": 6111496 }, { - "url": "bin/QtQuick/Controls.2/RangeSlider.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/RangeSlider.qml", - "packedhash": "dc6c2995110077903ec90dc82d803cd8a1d448e0a539416e93882ac0b2ad54f7", - "packedsize": 1269, - "unpackedhash": "81a2a87df4d44a5023170189dfce8076fe8c420b8d6912fec23249d56a8d6d0e", - "unpackedsize": 5005 + "url": "bin/BattlEye/Privacy/en-US.txt.lzma", + "localfile": "bin/BattlEye/Privacy/en-US.txt", + "packedhash": "78f0649c38c9c7991994b04d1755c21f05eb399e843af3e24fb818b0172ee20a", + "packedsize": 796, + "unpackedhash": "816941ba566874f12d834491fb35f997251c1c3a6d2a79ea03f2ec887f757bc7", + "unpackedsize": 1435 }, { - "url": "bin/QtQuick/Controls.2/MenuBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/MenuBar.qml", - "packedhash": "ea185b1424c0e2701000427a68ef5aeaf6461e5f69b4598df88143b0124eba87", - "packedsize": 956, - "unpackedhash": "e84583c39b610dbc2e89b9d284e6850d4dc80fd7c2151ba3a55d4bea9926262a", - "unpackedsize": 2515 + "url": "bin/BattlEye/Text/cs.ini.lzma", + "localfile": "bin/BattlEye/Text/cs.ini", + "packedhash": "d5294d448c4acffdea673b2695532a07fcf28bcb2c9457d88539727d8d9f3e4a", + "packedsize": 1541, + "unpackedhash": "9c1a43cfe67a367b7462a3b43f964feb6406c93fd37324ef85eb3511da5e27f1", + "unpackedsize": 3192 }, { - "url": "bin/QtQuick/Controls.2/SwitchDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/SwitchDelegate.qml", - "packedhash": "05a7135d25729eabc453386c6eddbdfcbfd1cf84ace0ac5be2262bacb982c2c5", - "packedsize": 1429, - "unpackedhash": "558c928f3c74474c829611aa29d54eed9c598e0213943fee88a54692a81a7bdd", - "unpackedsize": 4489 + "url": "bin/BattlEye/Text/pt.ini.lzma", + "localfile": "bin/BattlEye/Text/pt.ini", + "packedhash": "5f71d57f9eebfce7354ee6ee7f343c027001cc0029080acf128f7718ead40328", + "packedsize": 1413, + "unpackedhash": "3ff405d2bd3f6fe37d4ca1b257f0128ad21969bb76afa8d6d94286863c9b8aeb", + "unpackedsize": 3054 }, { - "url": "bin/QtQuick/Controls.2/SpinBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/SpinBox.qml", - "packedhash": "922f5a1be1dcdf9b1a9fb037aa526feb4add1ee421ba73f5a0d4a2f1df59ed26", - "packedsize": 1451, - "unpackedhash": "7a8a219b1e85fdbde2a49c168706cb29c41530720cb4e9d082492104a49f1a0f", - "unpackedsize": 5365 + "url": "bin/BattlEye/Text/it.ini.lzma", + "localfile": "bin/BattlEye/Text/it.ini", + "packedhash": "bbbe28f1eb1e592bc63481800b994dc26ab88f9de1593cb3749116b5bf435ca9", + "packedsize": 1393, + "unpackedhash": "1bf75ae80870c4338c808ee8fbfdd6c02bfab84ae5237691be1401c8af9a7d37", + "unpackedsize": 3024 }, { - "url": "bin/QtQuick/Controls.2/qtquickcontrols2plugin.dll.lzma", - "localfile": "bin/QtQuick/Controls.2/qtquickcontrols2plugin.dll", - "packedhash": "1dfaf5fc8f4a2012e650d46511b602d3aba3c4a078fbe24c2a5da6666d060965", - "packedsize": 57460, - "unpackedhash": "666f1a84e0ef1ad9928b213af8cac048077e40340d945bc0adc156fe36a5a93b", - "unpackedsize": 275344 + "url": "bin/BattlEye/Text/de.ini.lzma", + "localfile": "bin/BattlEye/Text/de.ini", + "packedhash": "98118dfde218fb356a4da728abba17d8131d94ec6440a7744947ead36703e038", + "packedsize": 1502, + "unpackedhash": "86210b5536cf361de07a1ac6b27139434623845ffb3fbfb3599cb270617fb759", + "unpackedsize": 3283 }, { - "url": "bin/QtQuick/Controls.2/ProgressBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ProgressBar.qml", - "packedhash": "b12b135eb046a7dbc012f4da06f790dad5cc15cd548613696076c3da9548d349", - "packedsize": 1008, - "unpackedhash": "70000725a412bf884244f5e7a170a23bc2f4b96be636c42f830067fa3f4ff728", - "unpackedsize": 2735 + "url": "bin/BattlEye/Text/ko.ini.lzma", + "localfile": "bin/BattlEye/Text/ko.ini", + "packedhash": "ffdfabe3291edb236ac3a53f2c34aca45e03a014eafa4f6f0d0945a49e0c95ca", + "packedsize": 1466, + "unpackedhash": "b9f4e6f4669c6be99dc843cdedf7dcace122976909cefca65fa2ddd33bbb2ab9", + "unpackedsize": 3362 }, { - "url": "bin/QtQuick/Controls.2/ToolSeparator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ToolSeparator.qml", - "packedhash": "d9e5735eeb82458c60882c9161077e59b8aa647a9705d32d8c900313172d8d0f", - "packedsize": 940, - "unpackedhash": "7cb420e0dde01c0b43b97fb0068cfdc4b48802201583098f5abf129d369fddae", - "unpackedsize": 2492 + "url": "bin/BattlEye/Text/es.ini.lzma", + "localfile": "bin/BattlEye/Text/es.ini", + "packedhash": "8290379df03233a90e850eb9ad445bd582f70b99db283b6c8cecd1a70e26c194", + "packedsize": 1432, + "unpackedhash": "6d85916a1e1a563aa1771e4a2ef109e444a2dae0169cd0e7129881a168e69c0c", + "unpackedsize": 3137 }, { - "url": "bin/QtQuick/Controls.2/ScrollIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ScrollIndicator.qml", - "packedhash": "eb0650a1d4453aeac68179719fee07d557c0c01ed1f1133e09666db5328c9273", - "packedsize": 1095, - "unpackedhash": "4e33a27c70ed092b8ff5db889a6f2adfdfc780525ac462e249ce428804c9f2e0", - "unpackedsize": 2981 + "url": "bin/BattlEye/Text/ru.ini.lzma", + "localfile": "bin/BattlEye/Text/ru.ini", + "packedhash": "a2bef6e9681c637a92cf3e13e592ca3cdf8e9e4a9fd8d03ab1e18157748b7e4b", + "packedsize": 1686, + "unpackedhash": "c07d88feb77778ff6d242e14356e9005762e03bb75207918d0a751a85f6dd0dc", + "unpackedsize": 4901 }, { - "url": "bin/QtQuick/Controls.2/TabBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/TabBar.qml", - "packedhash": "7b89dd7b70bf3ed9ea01e0e10737b3c83f6825fd566dbfc303aa26e5dece6805", - "packedsize": 1075, - "unpackedhash": "54fa946d021f78b2e35b38f3769b036f5943259f86c28b4362e184fafcb9ad01", - "unpackedsize": 2773 + "url": "bin/BattlEye/Text/fr.ini.lzma", + "localfile": "bin/BattlEye/Text/fr.ini", + "packedhash": "cde6a3c8f7fb9476de8a0741a9fc11024c11c41cedde5cd71adafc9f06950984", + "packedsize": 1490, + "unpackedhash": "ee603fecdda0cf0fae1fcee3ed69716d2934f2309c599c9b2c7e42a0285fbd74", + "unpackedsize": 3246 }, { - "url": "bin/QtQuick/Controls.2/Slider.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Slider.qml", - "packedhash": "e1f601cd7cbee22375fef320c8fa763e8db556102e7e669ba2f20b279a541d32", - "packedsize": 1183, - "unpackedhash": "2b435d4e44817a589654c2a41d7758795dd1e148fddfd9e2e192d1279d354fd8", - "unpackedsize": 3923 + "url": "bin/BattlEye/Text/pl.ini.lzma", + "localfile": "bin/BattlEye/Text/pl.ini", + "packedhash": "dd75c0c04e0527db702da4ec3ddda3aa1a90e1149760fea3ef009709cf68ce74", + "packedsize": 1520, + "unpackedhash": "2a5c00f0f73020a4b78db853e10d60a24d0255a1772cb130088a8105352883de", + "unpackedsize": 3165 }, { - "url": "bin/QtQuick/Controls.2/DialogButtonBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/DialogButtonBox.qml", - "packedhash": "c8d343f1a23e99cf1199403010016a9f3eba91322d3b561bc86465314d318345", - "packedsize": 1121, - "unpackedhash": "409137d65f2b71c5972b3b7e5bf45e83760159ed5e57988020445d8c84a11806", - "unpackedsize": 2924 + "url": "bin/BattlEye/Text/ja.ini.lzma", + "localfile": "bin/BattlEye/Text/ja.ini", + "packedhash": "d0f600ac7f2f9647a98f6d9664f9c7ad3932679adeb614b59d69e45f27e18e8f", + "packedsize": 1503, + "unpackedhash": "023475f1462c066bfd5fce719eee81a58c0b3f9efcf7636a320c83789c625c89", + "unpackedsize": 4125 }, { - "url": "bin/QtQuick/Controls.2/SwipeDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/SwipeDelegate.qml", - "packedhash": "ccd0031bab9860512fab8c226306b0263a04198f56c4309bbbd3c9d0aafd52d3", - "packedsize": 1182, - "unpackedhash": "d46804ee223180a03c18b4525d9bbea14e8c4a559908cffb6924bfd2340bb83f", - "unpackedsize": 3262 + "url": "bin/BattlEye/Text/en.ini.lzma", + "localfile": "bin/BattlEye/Text/en.ini", + "packedhash": "6b737faca3083c4e492400a1ff2ee68d8740ea03810ccd03d2f0c28a6225b47a", + "packedsize": 1262, + "unpackedhash": "ecbf28daba8fb16515ea349e4eecb362bfd4a0b4c33edee0e8e98e37adecebd0", + "unpackedsize": 2748 }, { - "url": "bin/QtQuick/Controls.2/ToolBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ToolBar.qml", - "packedhash": "61cdbd2e0ded71333615f617254a82799f98b49e4d461962bfc4563c11698ad8", - "packedsize": 893, - "unpackedhash": "44ef02ad2fb1680d9c8f07e860f31f6559d317688211d6866a48a7d9f61779fc", - "unpackedsize": 2343 + "url": "bin/BattlEye/Text/zh.ini.lzma", + "localfile": "bin/BattlEye/Text/zh.ini", + "packedhash": "fca093df77458340db8a8ce36f9b8dba682a3702ea941049f0b71866cbb3cd71", + "packedsize": 1373, + "unpackedhash": "79f6780b512b7e5b9bfbb132550579351cf7b6ddbfd92c08b60889edd72c7f45", + "unpackedsize": 2628 }, { - "url": "bin/QtQuick/Controls.2/Dialog.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Dialog.qml", - "packedhash": "77057d7afee2f7bb67dc202c81247a77f3568354d2cdf92519762827c0ec90f9", - "packedsize": 1133, - "unpackedhash": "5a9c5fcf25151107b0a4db78614ef94c2152b1a5ce253fa6a1501e4611cf77d2", - "unpackedsize": 3310 + "url": "bin/BattlEye/Text/nl.ini.lzma", + "localfile": "bin/BattlEye/Text/nl.ini", + "packedhash": "ad8c75cf41d4e346c6ad136f3e4cbe921382a9ff40076bb0f200f4ecfaf12f0c", + "packedsize": 1394, + "unpackedhash": "763e25bc1f28be5901b8692cf614cdc305a4d87989229a6f964dd6eb2f3853e2", + "unpackedsize": 3004 }, { - "url": "bin/QtQuick/Controls.2/ComboBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/ComboBox.qml", - "packedhash": "6335dd6af946b9de3ab57a4b3b3114c1faf465a342eb14a7e7401d3e0daac2dc", - "packedsize": 1800, - "unpackedhash": "1a1d39fe89b42924ba484afc9485e9cb4c5b493accaf2db64ab258be9e0cb41e", - "unpackedsize": 5934 + "url": "bin/BattlEye/Text/zh-TW.ini.lzma", + "localfile": "bin/BattlEye/Text/zh-TW.ini", + "packedhash": "8f1e73cebe5ce8bb7aa9920084baf20b06ee04589995011a25263f373f96a88f", + "packedsize": 1377, + "unpackedhash": "b182e76cdc514b0e2436efc930c825c414ef14ae251dbfb63d3864cf5b3c30b6", + "unpackedsize": 2628 }, { - "url": "bin/QtQuick/Controls.2/Fusion/GroupBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/GroupBox.qml", - "packedhash": "20073bee47e6d91ba9220ec20ef404bd678a0d7a8ed629f5537026a2f48d4971", - "packedsize": 1142, - "unpackedhash": "d7d747f05a567097e70ffceb635906f6c1f10354c2676cbbb9a5a6590fd9a542", - "unpackedsize": 3141 + "url": "bin/BattlEye/Text/tr.ini.lzma", + "localfile": "bin/BattlEye/Text/tr.ini", + "packedhash": "bec3e453d79756429e33cf769c5b82788dfc0458872ff90aabace682c5335c16", + "packedsize": 1431, + "unpackedhash": "45a31e07913e88213d7dc4134d5fb5c12cf97b8ed44aa79636730c8c8b0b23a1", + "unpackedsize": 2990 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ToolButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ToolButton.qml", - "packedhash": "3d6d6bd4265f67efb14ce5e73a19330b9e9e6e6bf3f8291129c70b43b92f2308", - "packedsize": 1055, - "unpackedhash": "26182aa0c57fef02f6a1f9f2d1561f535f4537afdf4eec4fdeca8c3c76dc9f8d", - "unpackedsize": 2923 + "url": "bin/platforms/qwindows.dll.lzma", + "localfile": "bin/platforms/qwindows.dll", + "packedhash": "7703d60f12c620b7bdd02812aa89cbf382e0e2a6e35954422f94264b56e74192", + "packedsize": 310776, + "unpackedhash": "e1452116ee1a278ba491fb46f2991464b7c9bd338386db2f52f448c488e367bf", + "unpackedsize": 888208 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Pane.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Pane.qml", - "packedhash": "f60d5d972d5431c9c0fff135fcf9bb5bf9e6da59a3458af4744cca790c5171a4", - "packedsize": 903, - "unpackedhash": "bf43417ed4a5e03350e0d780f7d0c99c618210d2e687e743eef377e0ac143b9d", - "unpackedsize": 2409 + "url": "bin/qml/QtQml/qmldir.lzma", + "localfile": "bin/qml/QtQml/qmldir", + "packedhash": "45061a90193231508ed318fcd8cc30343f07749ddecd8605c3ec17fc01762d87", + "packedsize": 212, + "unpackedhash": "872dd0ad9c23701f8e551ca98f6b15b1551b3af0d4fafd2ceca61b328d45df60", + "unpackedsize": 240 }, { - "url": "bin/QtQuick/Controls.2/Fusion/RadioIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/RadioIndicator.qml", - "packedhash": "2499110745875b691cd11bca004c3da37da5f630d14f393ecce514f9d198cabb", - "packedsize": 1108, - "unpackedhash": "a03a14ca059236b5c1290bc2c7dc0a9ce5e051df34d887f26bea5745dcbc0ba0", - "unpackedsize": 3186 + "url": "bin/qml/QtQml/qmlmetaplugin.dll.lzma", + "localfile": "bin/qml/QtQml/qmlmetaplugin.dll", + "packedhash": "099a3ba61ce2104836fe3e34bc296e9ffac86529ae07f856c6e1e28e551fa9af", + "packedsize": 15026, + "unpackedhash": "e3293db1096612961c01f95457d05a61554bfb38ee07d448f317a108471381df", + "unpackedsize": 29584 }, { - "url": "bin/QtQuick/Controls.2/Fusion/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/plugins.qmltypes", - "packedhash": "8c1380e953ec90c218a3790b202b1fef980404d0f0aea0d7b8ef3d4496994ced", - "packedsize": 1971, - "unpackedhash": "3f999849a62ac0abbba62bc905c9c955535e1632e230112e63f8c886d2013565", - "unpackedsize": 16065 + "url": "bin/qml/QtQml/Models/qmldir.lzma", + "localfile": "bin/qml/QtQml/Models/qmldir", + "packedhash": "a600ea98d39a18c2dd03ea10181d7119e2c267d06d9e66b5c105c13edc762e26", + "packedsize": 213, + "unpackedhash": "003d87b7b44f716a6cb68c1d9a5b609a0e4fd57074c3b06ac90c685f29fb3e4f", + "unpackedsize": 230 }, { - "url": "bin/QtQuick/Controls.2/Fusion/qmldir.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/qmldir", - "packedhash": "579580e2b6f740870ee56fe0a20840edb6edf1394881b4fb5805992a79098624", - "packedsize": 147, - "unpackedhash": "74b2e2268ca241d9d94ce890c102ddb953be09a4e0667832a196969a45a7fec7", - "unpackedsize": 149 + "url": "bin/qml/QtQml/Models/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQml/Models/plugins.qmltypes", + "packedhash": "2407dc829d1167d3b7a152235d4c3006fce1f3d22a3da48c884c12aa45082d37", + "packedsize": 4288, + "unpackedhash": "5c436a787b6263c486ca006c1dc25f2f9220c6cbff1a6fcc99a456d90c7ca63b", + "unpackedsize": 50564 }, { - "url": "bin/QtQuick/Controls.2/Fusion/RadioDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/RadioDelegate.qml", - "packedhash": "0e25b74d38a31d3c8f05d72185d9507a07220a2bbd11e45dcffbefe5e00df79d", - "packedsize": 1218, - "unpackedhash": "82c8e61f3a5e91845de5519d74a9e7b2c67130e0a818ccd6090841817bae693f", - "unpackedsize": 3676 + "url": "bin/qml/QtQml/Models/modelsplugin.dll.lzma", + "localfile": "bin/qml/QtQml/Models/modelsplugin.dll", + "packedhash": "0aefbfddd7b5847132c5030a6a9303dbd2636b6b3904599532f4eb6335fd377c", + "packedsize": 14709, + "unpackedhash": "825d8c6efe9f7416be8117e925dbef6cfb176683e9fd77063d15c90d114f0c64", + "unpackedsize": 29080 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Label.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Label.qml", - "packedhash": "8fd89060fbee1b38e56df3865b3dd34074a8a594fe6b0a0ede38d678cd337645", - "packedsize": 800, - "unpackedhash": "3e22f0d23f4ee17cbcb3aae0e9b5e9c221e33b8887404d4bf1a0afe3a7a9882b", - "unpackedsize": 2085 + "url": "bin/qml/QtQml/WorkerScript/qmldir.lzma", + "localfile": "bin/qml/QtQml/WorkerScript/qmldir", + "packedhash": "1b752421d18d8b17b37029a4b18702ff80c82d542a79107ecdb51b0fa9f88f53", + "packedsize": 222, + "unpackedhash": "516dd5663b9e122cdbb2d212509724ccbb826b0774b1eb08cb96c5f82fd38ac3", + "unpackedsize": 260 }, { - "url": "bin/QtQuick/Controls.2/Fusion/PageIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/PageIndicator.qml", - "packedhash": "295f19630508c1850e0b02f906261199a0cdf3827ebe378b09d7848c494ddd95", - "packedsize": 1068, - "unpackedhash": "83a078260d1478cbb114af7449240bcfddc9d8a4f741308003d0f2097db9c097", - "unpackedsize": 2845 + "url": "bin/qml/QtQml/WorkerScript/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQml/WorkerScript/plugins.qmltypes", + "packedhash": "871efb63081c45558c700b4ab6360810c5690c341e709a2c476c18de27b3db20", + "packedsize": 605, + "unpackedhash": "520febb8b3efd6a08ca58620a3406ec8e59b186e855af2508cdd905a38d97e77", + "unpackedsize": 1358 }, { - "url": "bin/QtQuick/Controls.2/Fusion/SwitchIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/SwitchIndicator.qml", - "packedhash": "2ba0a9343048a4f189bf13156933fb002dd7f3b40971d4d690bcf2af908e407e", - "packedsize": 1393, - "unpackedhash": "547fd1c6f78dcb7232a851a0dff8f8e85712b6b5d867b33d26a2ddce5650a993", - "unpackedsize": 5133 + "url": "bin/qml/QtQml/WorkerScript/workerscriptplugin.dll.lzma", + "localfile": "bin/qml/QtQml/WorkerScript/workerscriptplugin.dll", + "packedhash": "84e40eb88ccf9b9ed98d29e78a66c3246a0d4678393c1eec1761b19e823b92eb", + "packedsize": 14717, + "unpackedhash": "7325d0da02c1a40504b157fbdb6b037bced7dd10d75beeebd33bd7302a694690", + "unpackedsize": 29080 }, { - "url": "bin/QtQuick/Controls.2/Fusion/RadioButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/RadioButton.qml", - "packedhash": "451485ecfe738d896303c081b0eb0a01d00f108efb261c4c913f6ffddd819610", - "packedsize": 1097, - "unpackedhash": "224f7f8914c80093588d6e5411f4eede8ac0f4c6eda32a97f1eb4a645b8d54f4", - "unpackedsize": 3202 + "url": "bin/qml/QtQml/Base/qmldir.lzma", + "localfile": "bin/qml/QtQml/Base/qmldir", + "packedhash": "6bf2514469b4fd999f05f6f85f88381df81f9b239198d8fff56cc4a70e193b81", + "packedsize": 197, + "unpackedhash": "e5d94cf179bc25418ce763c6a9bb12b867f1e5b325f1d9cd8411b5d7b36bae34", + "unpackedsize": 197 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Page.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Page.qml", - "packedhash": "d43c725c46fd2fc6a25ed9c48ac73b8f6d75ea681b5f95bc14ac112c60d92ddf", - "packedsize": 950, - "unpackedhash": "3b0f970fc3391c9fcf5f33d0ff0bf69408189caf87689180f4e8e2150be0212e", - "unpackedsize": 2683 + "url": "bin/qml/QtQml/Base/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQml/Base/plugins.qmltypes", + "packedhash": "1b797eac23dfc9be2c8a938d53dc8ce5ffa00f2593f4894d911f7231897e65f5", + "packedsize": 14778, + "unpackedhash": "03edcdec29030c662ff7fb6d4f3bb81ac8e17995493eb7d3a1f80c39131cc580", + "unpackedsize": 120222 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Popup.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Popup.qml", - "packedhash": "4a9c250abf614867cc9bb16c55115e27f330197ff3e5a7a9860d1fbce962a29b", - "packedsize": 956, - "unpackedhash": "ba07a7f0489f6ccafe7370dca83676f80e8d86ed90a4e0838cc3f57071818858", - "unpackedsize": 2627 + "url": "bin/qml/QtQml/Base/qmlplugin.dll.lzma", + "localfile": "bin/qml/QtQml/Base/qmlplugin.dll", + "packedhash": "6995a100cef7a3b0b6fe30e1c632fc08fcfc87f8da9137a80725b57788d152e4", + "packedsize": 14668, + "unpackedhash": "ddc6e09d6b695e3511d28f013b12107bfa114727c5be05cca0e03461482315e5", + "unpackedsize": 29080 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ToolTip.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ToolTip.qml", - "packedhash": "d8abff8930082c4bda4b40b76b0eaae0a578da7d675c1a82f428c01a479bc9aa", - "packedsize": 1116, - "unpackedhash": "9647a1babcb066302924cc634dd0b5830ee8cc8f170d64cf0326caf53f65b056", - "unpackedsize": 3063 + "url": "bin/qml/Qt/labs/settings/qmldir.lzma", + "localfile": "bin/qml/Qt/labs/settings/qmldir", + "packedhash": "1e267beaf98b7cad27e3a692959475118aea86fdba8edc82b93fd1df4e69ebd0", + "packedsize": 190, + "unpackedhash": "187f103117e42cb5b0eae735a05b19b788c1e7680caecf7a23bf5a2abdcc7b46", + "unpackedsize": 204 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ApplicationWindow.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ApplicationWindow.qml", - "packedhash": "3c2b0419bf98d6e22cf5e6d06c37a1d5b9c68d37b3345eb40e5509365addc598", - "packedsize": 829, - "unpackedhash": "7c00b819586a680a843948ccded42d5e4c6b82081324b302d3f14f18f781f2ef", - "unpackedsize": 2160 + "url": "bin/qml/Qt/labs/settings/plugins.qmltypes.lzma", + "localfile": "bin/qml/Qt/labs/settings/plugins.qmltypes", + "packedhash": "c0f8369ab20a672fc06e997a3d06ff26b8bf9d08559918843baf584c7c34e6ab", + "packedsize": 591, + "unpackedhash": "0eba1d00e20465c4bb59a756980d07743d73ce0eb780bf07fec739eec6802047", + "unpackedsize": 1583 }, { - "url": "bin/QtQuick/Controls.2/Fusion/MenuItem.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/MenuItem.qml", - "packedhash": "c75274b4b5f4583e1c5dd788f1b944c861e9a9cd956a00fc67a4fc6aa38fd757", - "packedsize": 1360, - "unpackedhash": "839b4b9f5d37edbd9f7a79df050d92bd61587be6d867dee3ce50de5310bbd3f8", - "unpackedsize": 4312 + "url": "bin/qml/Qt/labs/settings/qmlsettingsplugin.dll.lzma", + "localfile": "bin/qml/Qt/labs/settings/qmlsettingsplugin.dll", + "packedhash": "3311b744c6e3413b1ba26d3e92de39fbb997af62bb75e422bb6c5e7aacedcfdc", + "packedsize": 14716, + "unpackedhash": "45e780b57fd79ee33754d61b4f221f284fdad87784a382f725c288d03574adfc", + "unpackedsize": 29072 }, { - "url": "bin/QtQuick/Controls.2/Fusion/CheckDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/CheckDelegate.qml", - "packedhash": "a567674eaadea568afc130db4ee8e8709061cbae59970fd09652d2827079db73", - "packedsize": 1219, - "unpackedhash": "27b877e03265839aac96cec61399797b409a3467095e34aa715224bc027acc5c", - "unpackedsize": 3676 + "url": "bin/qml/Qt/labs/folderlistmodel/qmldir.lzma", + "localfile": "bin/qml/Qt/labs/folderlistmodel/qmldir", + "packedhash": "d447c1d4ed7f3002bcb3174e69aab74dc435332089084d01bdbd23378fdfa622", + "packedsize": 217, + "unpackedhash": "a021e22347bac8943e441bca5a4018328b252278dba053501854a92604098bd0", + "unpackedsize": 266 }, { - "url": "bin/QtQuick/Controls.2/Fusion/TextField.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/TextField.qml", - "packedhash": "b0495d15aaaae820209a4fc0a7d343fc65464536f69b03c7caffa1170c33db04", - "packedsize": 1336, - "unpackedhash": "d32203bcbf2d0ca9837c7902319391edf823c313f95b483d0a09d83fe0ba713e", - "unpackedsize": 4120 + "url": "bin/qml/Qt/labs/folderlistmodel/plugins.qmltypes.lzma", + "localfile": "bin/qml/Qt/labs/folderlistmodel/plugins.qmltypes", + "packedhash": "cf76bba2a166fc365d8a6cd24e824ff081759cac8ddf972055f2432b1b12dd1a", + "packedsize": 1122, + "unpackedhash": "9bc529628532548219b78f0357cba6cfb53824ad978ab27e8c35fea3c4dfe312", + "unpackedsize": 6116 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Menu.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Menu.qml", - "packedhash": "64068905794aa37ffafdd7b5f9f90666f4b3e0973c6d0e8257a36be5740257f6", - "packedsize": 1177, - "unpackedhash": "c7838d5f3755ebcd0a5681999b34a0a049e8ec7b3c0dd6aacf37bf8b349caa32", - "unpackedsize": 3391 + "url": "bin/qml/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll.lzma", + "localfile": "bin/qml/Qt/labs/folderlistmodel/qmlfolderlistmodelplugin.dll", + "packedhash": "661f716fb32b17edf5118f07ed6b05b68e9adf0413fac9be97fc300aa146691f", + "packedsize": 14741, + "unpackedhash": "0acedc14409e107bafebed02e7a8fae82d2fa32e69891ad4442c6661d5349d02", + "unpackedsize": 29072 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Dial.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Dial.qml", - "packedhash": "a0bcd660c7af48588be3b30f97bb466a595a60cc9e588821408d6a41529d7593", - "packedsize": 1096, - "unpackedhash": "a220a920b136b42b0064be6d109c0c53800f0c5de97d7b940ba4411c8b07a473", - "unpackedsize": 3255 + "url": "bin/qml/Qt5Compat/GraphicalEffects/RadialBlur.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/RadialBlur.qml", + "packedhash": "fc2d5dcdaef800fffb9b729b89c274e98c0c703f9de1f6cf50c9dc4dc4b7b9cc", + "packedsize": 2788, + "unpackedhash": "01fcc912d7863afd52ac8771e8df6563372a9d461ef3c412bfb76d647fe8d065", + "unpackedsize": 10119 }, { - "url": "bin/QtQuick/Controls.2/Fusion/RoundButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/RoundButton.qml", - "packedhash": "eba32e9a7478964b63058bfcfe58ecfe2dbe9fdc04c5d0e273f2b8c30eddcd40", - "packedsize": 1245, - "unpackedhash": "e529aa9f9658f99845cec7108b91a29caf640a0e60f3bbe1a97fc6f5e3c66ef4", - "unpackedsize": 4110 + "url": "bin/qml/Qt5Compat/GraphicalEffects/InnerShadow.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/InnerShadow.qml", + "packedhash": "7bd7b3cea9ed047fd58dfc2cc774a02323ffe971280c70cbd42c099dc593d95a", + "packedsize": 2314, + "unpackedhash": "754c4348b1b58b0dc68dc0ad19a6e6905a99c04a0e4894d53f28e79e1d9e9947", + "unpackedsize": 10707 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ScrollBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ScrollBar.qml", - "packedhash": "2b6068438e546603014ea10f6ea9614edf298907647665268f8b7099e34e20a5", - "packedsize": 1203, - "unpackedhash": "2fe72be9e3c38ba758bb496d5d5c3f47b001eaeab4716b7c82f00457135666e4", - "unpackedsize": 3290 + "url": "bin/qml/Qt5Compat/GraphicalEffects/qmldir.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/qmldir", + "packedhash": "093cefff97c867dc7cdaf0ef89e3080c17944c1fded35b743316aa7646a1ef10", + "packedsize": 575, + "unpackedhash": "746e523c5ab620100ae9331b0736a7b76013b432982c9aa68c10cf67fba0aa89", + "unpackedsize": 1989 }, { - "url": "bin/QtQuick/Controls.2/Fusion/CheckBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/CheckBox.qml", - "packedhash": "8ee579022b735b6fd3d499f97ba342fc0acb803bbef0f67e1006df4299c7310b", - "packedsize": 1097, - "unpackedhash": "66183e50d01c16d3fa4d68b1efb331f705d6e9dda61fa67131b254cd2bc03b7b", - "unpackedsize": 3199 + "url": "bin/qml/Qt5Compat/GraphicalEffects/qtgraphicaleffectsplugin.dll.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/qtgraphicaleffectsplugin.dll", + "packedhash": "3ae7bc2154b2d0ff656631ea0e045bc13d0158929e70524515848ed25e69be1a", + "packedsize": 211426, + "unpackedhash": "abc1a24a6b6af0ee69ec7fe217c0126ac23b35db244ed80b2ec16fd4845c0e04", + "unpackedsize": 571288 }, { - "url": "bin/QtQuick/Controls.2/Fusion/MenuSeparator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/MenuSeparator.qml", - "packedhash": "b481410f86c2c6b4b5535aeb62aab24624470f758959e9e6fbf9208d4f06b398", - "packedsize": 949, - "unpackedhash": "fc09ef128b330fddebd6d24afe7ab1c1a5e44606430fde7d80d43a4dac24b2e0", - "unpackedsize": 2526 + "url": "bin/qml/Qt5Compat/GraphicalEffects/OpacityMask.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/OpacityMask.qml", + "packedhash": "ef05a01ef7f2ebcb039573847016e275b14e3cfa1e9a3a6ae0ff1bc4f1fe5c5d", + "packedsize": 1296, + "unpackedhash": "f236dfc911e08b6955a455d6cfc25ab0945896606f5cbf741808971cb0508d81", + "unpackedsize": 3625 }, { - "url": "bin/QtQuick/Controls.2/Fusion/BusyIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/BusyIndicator.qml", - "packedhash": "72f31edfad6baf84ab11a3fe229e9ed4711de57defbea7fa3fcd4f2d14f17df3", - "packedsize": 1048, - "unpackedhash": "d0b5ecd69bd470599ccd8602881af8fda1f8f89be66e28e874f004296c802a98", - "unpackedsize": 2864 + "url": "bin/qml/Qt5Compat/GraphicalEffects/DropShadow.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/DropShadow.qml", + "packedhash": "314c2da86623d7437267d0e8be8040efa4fd0fba411b8f759dda61fa855fe069", + "packedsize": 2609, + "unpackedhash": "be3f7baf8f0bf69bcd3fdd6967b392bb0299dbb2c2ca4d19543c72f00999dda2", + "unpackedsize": 11116 }, { - "url": "bin/QtQuick/Controls.2/Fusion/SliderGroove.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/SliderGroove.qml", - "packedhash": "659c9655624073a5b51c6664d94d36852c52b1dea8a788b492a7dfa39b8eab86", - "packedsize": 1158, - "unpackedhash": "4ed39d154168a9302326d15d11d7b50160280f36c62331227d4ef26dd0bcf051", - "unpackedsize": 3771 + "url": "bin/qml/Qt5Compat/GraphicalEffects/ZoomBlur.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/ZoomBlur.qml", + "packedhash": "9dd1b08a017cb25d4c7b3cc1a5975b054d28a5ace53bd00cbe247bceccd51135", + "packedsize": 2727, + "unpackedhash": "c9509b190045ecb00450a1e6728253a38cfd164a6977dca12cc049e7b0442478", + "unpackedsize": 9576 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Drawer.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Drawer.qml", - "packedhash": "1809bcaa1f22457795d6bc8ba3abe10f634ec650ad82c4eccdb8f15366957fd0", - "packedsize": 1148, - "unpackedhash": "d94505618774a7124c47c71cfd2789bd4e4fdee1d67d7fdee894f342d5cecf22", - "unpackedsize": 3673 + "url": "bin/qml/Qt5Compat/GraphicalEffects/HueSaturation.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/HueSaturation.qml", + "packedhash": "bcddbdc686e91d931c53d4c9f33645506154e50d8fa1e0cf7cbb948f39574b9e", + "packedsize": 1475, + "unpackedhash": "c5ee33b7cd17595ecd7e5ac6621d3bf53af114350721bb443156d232a327845d", + "unpackedsize": 5351 }, { - "url": "bin/QtQuick/Controls.2/Fusion/TabButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/TabButton.qml", - "packedhash": "9ee9b71b76a58d8fafbda2823f22e76a6771c47c90d120c1437ff22d2d4985b7", - "packedsize": 1195, - "unpackedhash": "493348c45906aa01a17b2da718fb951d16784f2c5d48c227f816542d3fae0a09", - "unpackedsize": 3862 + "url": "bin/qml/Qt5Compat/GraphicalEffects/Glow.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/Glow.qml", + "packedhash": "9ec71af708e29b9aece8dea674fa2d8287a442de8848d1bef9b31fd956dd2186", + "packedsize": 2168, + "unpackedhash": "48ca071ddea378409c7a24a08c2214518080b0923ce298ef676b0e25e9b6cc21", + "unpackedsize": 7399 }, { - "url": "bin/QtQuick/Controls.2/Fusion/SplitView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/SplitView.qml", - "packedhash": "2018762b9d38d16290214bdc3375d34315989a467e08a8dfdd2b6ad4da575fd2", - "packedsize": 979, - "unpackedhash": "8edab5178285364a5ba4d5d85f7ed7177cde22d8c8e5ee58cbac522443ab9a3f", - "unpackedsize": 2632 + "url": "bin/qml/Qt5Compat/GraphicalEffects/plugins.qmltypes.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/plugins.qmltypes", + "packedhash": "bd2f0b6f6af407d29445f5589bb5207927ef76f16ad7943aad8d155c88578fc8", + "packedsize": 260, + "unpackedhash": "9744506def36a8c14884a34dd62be42560526ad857e7a97cd7016f283f0b7bb2", + "unpackedsize": 265 }, { - "url": "bin/QtQuick/Controls.2/Fusion/MenuBarItem.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/MenuBarItem.qml", - "packedhash": "46645ff1b187aef35d9aef3686d57938153616ce905f4d4a5b888fcfbcdb27f4", - "packedsize": 1080, - "unpackedhash": "f2497a9a0c1712e8d5920bde501a069a74221a9737ccc9c1b6763c1cd9f78762", - "unpackedsize": 3076 + "url": "bin/qml/Qt5Compat/GraphicalEffects/GaussianBlur.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/GaussianBlur.qml", + "packedhash": "7eb8b19b15e062739ec30d16477b14d6ca0665b00291752bf2b868fa53bdd57d", + "packedsize": 3432, + "unpackedhash": "44986661de50c2f46fd8827afe17a49a824392cd88525a5f8a914f5307d1fc9b", + "unpackedsize": 11953 }, { - "url": "bin/QtQuick/Controls.2/Fusion/VerticalHeaderView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/VerticalHeaderView.qml", - "packedhash": "85c55f2297aaa188a6bfbe6dfa4f7c26381f39d6054fb62014000c72c64111b8", - "packedsize": 1128, - "unpackedhash": "731ee9d1fab0d86eee112487bdc5ba1e2bf547d70de94c1acb3fceed1a00e23b", - "unpackedsize": 3062 + "url": "bin/qml/Qt5Compat/GraphicalEffects/Desaturate.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/Desaturate.qml", + "packedhash": "77d319cf967f203d6fe224d71804d2d3239e65598af0c57a674d237d22a5b0de", + "packedsize": 1230, + "unpackedhash": "edb11b8d28f44a24f98e48367b9a2af99c1da288c9c500b879151b9e5b1ac6b3", + "unpackedsize": 3119 }, { - "url": "bin/QtQuick/Controls.2/Fusion/DelayButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/DelayButton.qml", - "packedhash": "1a13616fb235287631aa4cb3756b8b614661615e4ab4bbd347e760840e21dbe1", - "packedsize": 1335, - "unpackedhash": "07b4350dc2a42443ee58a0b1f5ffb8e9bd7f36f201f3bfba3a901e94968e49c0", - "unpackedsize": 4553 + "url": "bin/qml/Qt5Compat/GraphicalEffects/Colorize.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/Colorize.qml", + "packedhash": "5f592c61fc2feaabc54e4ea4b802298f0815636fe52f60b9311aeac937473d98", + "packedsize": 1667, + "unpackedhash": "8b6014bbe5fc7ab63ad26c1334fcdf9a303271115a46bdee814dd1d4570714a1", + "unpackedsize": 5746 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ItemDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ItemDelegate.qml", - "packedhash": "1e23674c4199ce28504d6fb1fb63771ab60e68f89272ce7cd8c2c74a4e35a9b1", - "packedsize": 1127, - "unpackedhash": "d5d311129ee2c7128d5ac944878d7c1d89830d96a6f08665c772976d6aa48695", - "unpackedsize": 3257 + "url": "bin/qml/Qt5Compat/GraphicalEffects/LevelAdjust.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/LevelAdjust.qml", + "packedhash": "13bf66c20f8f3dd0794e91cc586b8c135d60884863aacf10b8ac89afc27d6d91", + "packedsize": 2137, + "unpackedhash": "fa07f2df18c10710581700a6b42ee3771bf511c668e1ca4c606c89124c4bfabd", + "unpackedsize": 13629 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Switch.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Switch.qml", - "packedhash": "32eae297cb3696d0bf308adc4a2aa07ba1bbe3e6895ee8ffb914c8638308ff35", - "packedsize": 1087, - "unpackedhash": "c48f19e2d6e050fe14d2e588ba274acbefb9982e1281d303d438e2afe2a9be32", - "unpackedsize": 3192 + "url": "bin/qml/Qt5Compat/GraphicalEffects/DirectionalBlur.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/DirectionalBlur.qml", + "packedhash": "405451d36738f477cdedb757b4b5377467a733bd12e7acb9b029cb52b52e67e2", + "packedsize": 2623, + "unpackedhash": "d41e1c4b80b7530b3f1b0a1c529c4a1d176685b547e3913feb6a64dde010f015", + "unpackedsize": 8878 }, { - "url": "bin/QtQuick/Controls.2/Fusion/HorizontalHeaderView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/HorizontalHeaderView.qml", - "packedhash": "a1c3b87192dfa3d728472c87bd124b725598f622e399e841fcc6fb60cc6d11b5", - "packedsize": 1125, - "unpackedhash": "0fe5f10591e54cb9200897129fbeca5786635fa16a7b143fc8938d8dedcf21ad", - "unpackedsize": 3065 + "url": "bin/qml/Qt5Compat/GraphicalEffects/GammaAdjust.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/GammaAdjust.qml", + "packedhash": "1ef5de6c265419490102c86054d5dc0fb739a90d9b0eb97dc86dea50b6cd234d", + "packedsize": 1562, + "unpackedhash": "00eb884dc9c5af09c535205107b2e1460fac2f261ac849664cfdcd9466df3227", + "unpackedsize": 4237 }, { - "url": "bin/QtQuick/Controls.2/Fusion/SliderHandle.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/SliderHandle.qml", - "packedhash": "4e7aab098cf910efba383a68ee614ae448fb6d37e9de36e80afe298aa8ef3d44", - "packedsize": 1061, - "unpackedhash": "58ada30e2140ce8418afcb7f43547d9a40321a00820ed09a5057989b6c3c6b7b", - "unpackedsize": 3181 + "url": "bin/qml/Qt5Compat/GraphicalEffects/ThresholdMask.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/ThresholdMask.qml", + "packedhash": "edd89a84348e849eb3edb2306ce5347620661036352523dd2bba3eae8e0d30cb", + "packedsize": 1647, + "unpackedhash": "7165b1f01e216691bdcd7332465ca3dceab97dd43526c9ca10fe1b6bb8d7567d", + "unpackedsize": 5434 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Tumbler.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Tumbler.qml", - "packedhash": "606fe9a7e453e4d1edcf2c151154cb42b6cd6e715464d00e9e2c9203ccb61d42", - "packedsize": 1192, - "unpackedhash": "0e90bee332ae4c7d09d7aae3a371ee509ca7ef368c7835ebf039fc80a31aad4f", - "unpackedsize": 3356 + "url": "bin/qml/Qt5Compat/GraphicalEffects/RectangularGlow.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/RectangularGlow.qml", + "packedhash": "a0fb8ea00af9e8a99d3ff1bf1326f62ae2b8017ef4e8ec61ffb2ef1b7f24728c", + "packedsize": 1838, + "unpackedhash": "df15ebccc9f517d0389d9a27e4746c5d288aa7a9e5fd01286c5fc4c40fc38648", + "unpackedsize": 7196 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Frame.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Frame.qml", - "packedhash": "ecd5ad967b74e79ec2c025c1c8fa6a622419dd7bc97412ebaee2449c17bc82f4", - "packedsize": 939, - "unpackedhash": "0ec600e95414a6b1c4ea76f9e96ddd54def1e2d6994a3f7dc3ec714a46cf9a42", - "unpackedsize": 2474 + "url": "bin/qml/Qt5Compat/GraphicalEffects/Displace.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/Displace.qml", + "packedhash": "7223786c7d0da57977daafe78cd3fc7d01789abce95c1002ce0fa21b70017553", + "packedsize": 1833, + "unpackedhash": "8ccb76fa779c1aa4efce4abbd062a04ee5b642d11731f7ba63679ee0f9d8d708", + "unpackedsize": 5214 }, { - "url": "bin/QtQuick/Controls.2/Fusion/TextArea.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/TextArea.qml", - "packedhash": "77c57ecb8f0e17c054a4036e0ab862930f9bd6a7f2d90d7a8f42e233e38d2c1a", - "packedsize": 1156, - "unpackedhash": "5bbdb1032b61ce82c7d018d12e76f101c11045ef5cdd9913be077937a8f5083b", - "unpackedsize": 3392 + "url": "bin/qml/Qt5Compat/GraphicalEffects/ConicalGradient.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/ConicalGradient.qml", + "packedhash": "572265a5bef0c0f3952e2fb6d895f66a82ba72f664a160ce1428d212634ab5f7", + "packedsize": 2091, + "unpackedhash": "cc48c073acb1115d36f11609ae15da68ffeee9104f0ee16da9b250a83a267fce", + "unpackedsize": 8133 }, { - "url": "bin/QtQuick/Controls.2/Fusion/qtquickcontrols2fusionstyleplugin.dll.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/qtquickcontrols2fusionstyleplugin.dll", - "packedhash": "259bf7a09d11f9941e216adaf268b04a629ddfe75d29f8c4a08a7b37a55b0c26", - "packedsize": 46858, - "unpackedhash": "dbf0c199feeb76c4346ae9eff1948b8f9691393916e1c17fdcdacba89aaf2d29", - "unpackedsize": 214928 + "url": "bin/qml/Qt5Compat/GraphicalEffects/FastBlur.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/FastBlur.qml", + "packedhash": "0af0bcab784be84f622751125feadd4e1ea5ab60baabe91dc3efcbdf55b4d0f2", + "packedsize": 2371, + "unpackedhash": "a532d37b7781face80873e69a91936c56e03bfe8c8646c5841bfd393c2468460", + "unpackedsize": 11383 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Button.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Button.qml", - "packedhash": "3c660c5a0f7664e88785f4dcde5f0836c99cbb5f2100087deb75a7b45a797a5e", - "packedsize": 1061, - "unpackedhash": "d90bbadff45b1463358eec494056799ab156087ec6f03797614b9b0731e2e853", - "unpackedsize": 2936 + "url": "bin/qml/Qt5Compat/GraphicalEffects/Blend.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/Blend.qml", + "packedhash": "685aa4e3fb43be8bcca53f53dd31e57221470c3b7cc962587a563a1ed740bd20", + "packedsize": 3508, + "unpackedhash": "9ec4a39085a38b9dd1c45c34bb45f38573d622a088668c56fa0520af1199de7f", + "unpackedsize": 17074 }, { - "url": "bin/QtQuick/Controls.2/Fusion/RangeSlider.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/RangeSlider.qml", - "packedhash": "5c37228ab4723d99711ebce9c8310a62f1a94b00f5dff3464dfd427ca7bfe8c3", - "packedsize": 1125, - "unpackedhash": "366406ce7422d6f0a9c00cda48fb641e4be7bf8766008ed23268f3c39440e035", - "unpackedsize": 3855 + "url": "bin/qml/Qt5Compat/GraphicalEffects/ColorOverlay.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/ColorOverlay.qml", + "packedhash": "199a812a4aeecac7d5ce153c5598bfeb8984c93c483cbc0ba9e1d72bf873a27c", + "packedsize": 1265, + "unpackedhash": "45a430d4aab721c6447bfb8e2dd009b092c1ab8435a411731b1109494cba0957", + "unpackedsize": 3129 }, { - "url": "bin/QtQuick/Controls.2/Fusion/MenuBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/MenuBar.qml", - "packedhash": "6a877077d3f5a2f7ed9c3f5189bc720be45cbdfa41d7447d4e75690061b8af00", - "packedsize": 1057, - "unpackedhash": "78dbd76fb7bd3e481d6d634b6d08c27a0cef3cd4300f1ccdbf59ae925709c1e2", - "unpackedsize": 2899 + "url": "bin/qml/Qt5Compat/GraphicalEffects/BrightnessContrast.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/BrightnessContrast.qml", + "packedhash": "36612b934cb3ac26cc54284e7c8ca6fecdd1fe38c87601613391bff814389517", + "packedsize": 1439, + "unpackedhash": "50fd35043ba1439d0802770d12e824f68260244bd6f24a3fed6ecd987e7607e7", + "unpackedsize": 4578 }, { - "url": "bin/QtQuick/Controls.2/Fusion/SwitchDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/SwitchDelegate.qml", - "packedhash": "309b70f0623e459cf878cc00e38fc4e4c673f1e2b0def3721ead0504a5d280ed", - "packedsize": 1236, - "unpackedhash": "7cdda7b0e360511c10d948a8a30bd8cac6d00426f77066416677659bd2ddd947", - "unpackedsize": 3754 + "url": "bin/qml/Qt5Compat/GraphicalEffects/MaskedBlur.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/MaskedBlur.qml", + "packedhash": "faebb897f85f8fa83d40b6715c27719d12dd37964432bcdc39dcd24d34b21b29", + "packedsize": 1910, + "unpackedhash": "7d0020e76e6c45b60354cbab194ad707bbaa4300e9169545ea6a0ce7ba76f8eb", + "unpackedsize": 5044 }, { - "url": "bin/QtQuick/Controls.2/Fusion/SpinBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/SpinBox.qml", - "packedhash": "4b5453296dce10b260bf1aed1a488568ace5c7d817efc6e0e7035e163d4d56ed", - "packedsize": 1755, - "unpackedhash": "0afbdaa23576f95beb109250edeb8dfa41e6676732d780940db0653b83c501ca", - "unpackedsize": 6907 + "url": "bin/qml/Qt5Compat/GraphicalEffects/RadialGradient.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/RadialGradient.qml", + "packedhash": "6d04e7a856994c2437a1c242cd3636b5d6e015b08e6d1a1b42f79ef5a2c7a311", + "packedsize": 2447, + "unpackedhash": "fb7c0f0f5a8a07dd9d43be7abc22fc3f544ee6ab2d2be23bf15090bb2a1d5970", + "unpackedsize": 11552 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ProgressBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ProgressBar.qml", - "packedhash": "75d55c43504f875bc62794c7299bc24d5c76a4259fa6df27d26dc8010db3142f", - "packedsize": 1397, - "unpackedhash": "9cb492ec1e3beda61b399db322bba36b743ee3919ffdf2ee1c02545638e5cb49", - "unpackedsize": 4445 + "url": "bin/qml/Qt5Compat/GraphicalEffects/LinearGradient.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/LinearGradient.qml", + "packedhash": "97cdf6335e96dcd7f8cdb298b0eacae999b9a642a05709fe5e65cd0309325848", + "packedsize": 2142, + "unpackedhash": "b814d98a35663e15aa240cbab162368f89f8e7daac8b83c0c97026bcd9f9c5d7", + "unpackedsize": 8723 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ToolSeparator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ToolSeparator.qml", - "packedhash": "fc2789b0a19c6618a4a4fe196797c5b0c753614a94a31f07b72efbf361e87ffe", - "packedsize": 998, - "unpackedhash": "d2e99c4bc2fab7c8ff0690212947b22fa299acb2798309fe45ec4d3163bf0c65", - "unpackedsize": 2757 + "url": "bin/qml/Qt5Compat/GraphicalEffects/RecursiveBlur.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/RecursiveBlur.qml", + "packedhash": "67584fc708bfc2baaa6a8524fd76add6534ad79666a3b265a8fe094df3ccb415", + "packedsize": 2692, + "unpackedhash": "7166d085a9ca9f6c96f71c6a81be89ef859322de87c0d0bdc8af4ffd7f592dc6", + "unpackedsize": 9600 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ScrollIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ScrollIndicator.qml", - "packedhash": "8b1fda472ce57ed931b6531e0300e716b7de7653ce9e4aecd9763d55cc513e59", - "packedsize": 1106, - "unpackedhash": "5ecbde93918a0a049e28741b5e697f5ec716af9623b49f99665e93fc1ee467db", - "unpackedsize": 3060 + "url": "bin/qml/Qt5Compat/GraphicalEffects/private/qtgraphicaleffectsprivateplugin.dll.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/private/qtgraphicaleffectsprivateplugin.dll", + "packedhash": "25dd2bfd36933c1943ca27dd435af59b25bf0e1f1e8b1e802b442c3f16a74bdb", + "packedsize": 80924, + "unpackedhash": "aae0a347839fb003194507a41648cbd02eac3b6e52b0374e1b590c399d46e846", + "unpackedsize": 319384 }, { - "url": "bin/QtQuick/Controls.2/Fusion/TabBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/TabBar.qml", - "packedhash": "6d15192430cbd62799b6f0cc5db561b7d18ed9d5982351755ba8fd6135c9433b", - "packedsize": 1164, - "unpackedhash": "5b3b6e88fab37f2035563a3e657649c89087c3aa4e886d29772bd8f0cc0d8cf8", - "unpackedsize": 3121 + "url": "bin/qml/Qt5Compat/GraphicalEffects/private/qmldir.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/private/qmldir", + "packedhash": "252ac8b1de12c218f403af9a4400d80b44b761188902ebe70cd25bf0a0664eca", + "packedsize": 325, + "unpackedhash": "bb9481e3e26069623c4dfaa9cb9c415529d084edd67edda1595854421bfac5ce", + "unpackedsize": 866 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Slider.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Slider.qml", - "packedhash": "6470e6c95e9ef2ade256a100b84741b785a535488defad3866ab4f0fae00f212", - "packedsize": 1043, - "unpackedhash": "8843bea4310574a0927699ddf4b5d0f872f490c70a4095c73a6ef5e011cd9f35", - "unpackedsize": 3031 + "url": "bin/qml/Qt5Compat/GraphicalEffects/private/DropShadowBase.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/private/DropShadowBase.qml", + "packedhash": "a799eda4a8b2f7ed9ba6ea0a2ac44ac449a3c4061ee512ca9db299baae9bd2c5", + "packedsize": 749, + "unpackedhash": "342b036bc512f6d6c794d913b4be0276d0331aa66ad057a0497b31e378704d7d", + "unpackedsize": 1902 }, { - "url": "bin/QtQuick/Controls.2/Fusion/DialogButtonBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/DialogButtonBox.qml", - "packedhash": "24c37bc363ee22216307051dc925e99f6ea31060f733ce648a9b6db7a177e0c9", - "packedsize": 1088, - "unpackedhash": "d27e54d711fb15ea94781e74f92678d740f296abdef2263438dde7b21020a3bc", - "unpackedsize": 2867 + "url": "bin/qml/Qt5Compat/GraphicalEffects/private/GaussianMaskedBlur.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/private/GaussianMaskedBlur.qml", + "packedhash": "3a0acf6ba280e6beec620f1b6758cd94d18327fe665b7f770b3a1ae6f5d25327", + "packedsize": 670, + "unpackedhash": "bbb78c01b70b9b603d00524bc8e3f4a73df92080fc613dc229d5cdc068343ec4", + "unpackedsize": 2163 }, { - "url": "bin/QtQuick/Controls.2/Fusion/SwipeDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/SwipeDelegate.qml", - "packedhash": "43a673426fb9d6a2748502e42eddab6cadc358f56ba823e7942288c4e0f3c60f", - "packedsize": 1191, - "unpackedhash": "311410423492d5b145a1d947923afa2c8a5f8104d724d9eb749e32560ff40663", - "unpackedsize": 3364 + "url": "bin/qml/Qt5Compat/GraphicalEffects/private/plugins.qmltypes.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/private/plugins.qmltypes", + "packedhash": "71a09f85ec8227e7646aa429f5f5b5eeaac59c20521a11b47531871cf32efe42", + "packedsize": 873, + "unpackedhash": "4fb020092c230091931441a973445fd47a75c4bf37becd69af8f703a8c42f323", + "unpackedsize": 3189 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ToolBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ToolBar.qml", - "packedhash": "a1128ca16c1d1b3648b6b7d4020653e2737958e62a4c4ce64373be35e8ab535d", - "packedsize": 1070, - "unpackedhash": "ea7514bda98ee718f0d501d5b85db44cd39636d4557651f269f482bc2e05ad13", - "unpackedsize": 3252 + "url": "bin/qml/Qt5Compat/GraphicalEffects/private/GaussianInnerShadow.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/private/GaussianInnerShadow.qml", + "packedhash": "c6cb2f2cc1ed17833ae16d4e71a99a02f931f298cb733eee5d637b0e20bed578", + "packedsize": 776, + "unpackedhash": "42e4435ea9ed716e0e633f8fbef75b4321ace07d1c1c688474e62283fa8a8dd7", + "unpackedsize": 2478 }, { - "url": "bin/QtQuick/Controls.2/Fusion/Dialog.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/Dialog.qml", - "packedhash": "124d088c9c212dc65949760f0a20aab6774a0ec4cd9bea76e74138f97d830bdb", - "packedsize": 1173, - "unpackedhash": "dca8d31580ee628f8419129c95d141af738f53bdce604fa6b8e3104637fcc328", - "unpackedsize": 3604 + "url": "bin/qml/Qt5Compat/GraphicalEffects/private/GaussianDirectionalBlur.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/private/GaussianDirectionalBlur.qml", + "packedhash": "0b1faa8eda6d369ed7aa7d225bcae583df58d1f74ab8dbe5d3aea0486a24bb3f", + "packedsize": 2123, + "unpackedhash": "8c1bc8c5e4827e7f5f6cdc204209df5abe30998d43a4995a1f7fd7408e69e814", + "unpackedsize": 10308 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ComboBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ComboBox.qml", - "packedhash": "6ca95357e179867fcb897a691e3a66e92fc0532d1e206faf7df61b55296cc76b", - "packedsize": 1956, - "unpackedhash": "f49b8c3fd74416eeddec64e98d45a09a13af906f8bb0688ac700b3bf6d0c392f", - "unpackedsize": 6762 + "url": "bin/qml/Qt5Compat/GraphicalEffects/private/GaussianGlow.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/private/GaussianGlow.qml", + "packedhash": "ca5da5738ffed8bbf023edd19a1ad0d7a37f9a6964013f583fe1baab219a2a25", + "packedsize": 683, + "unpackedhash": "5933841b103634d43162400e1503226535bd7b69cff8d981c129606394ff8c72", + "unpackedsize": 1951 }, { - "url": "bin/QtQuick/Controls.2/Fusion/ButtonPanel.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/ButtonPanel.qml", - "packedhash": "872b0df5f139fa1c8f6c5c83a4579b645ce404e77ff183c914a071a1cd9da0ab", - "packedsize": 1053, - "unpackedhash": "24f6a671389371519f38ce151e642435d7bc54ee48c66c31080fd9f8d4545b79", - "unpackedsize": 3115 + "url": "bin/qml/Qt5Compat/GraphicalEffects/private/FastInnerShadow.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/private/FastInnerShadow.qml", + "packedhash": "39308357b89ada59ba93e091ad976ad6148d08f71c5988cfe3ca6c060c5c6d10", + "packedsize": 1329, + "unpackedhash": "7357474c0b570cd74c12ec55952d4b4b06ab8dc9e4eb5d3bfcb693e5a61f014f", + "unpackedsize": 8050 }, { - "url": "bin/QtQuick/Controls.2/Fusion/CheckIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Fusion/CheckIndicator.qml", - "packedhash": "7728e45907e4ee67f6d137a7e54e751c3ed6e82f9277f840b6477c7704cb48b0", - "packedsize": 1239, - "unpackedhash": "ab71b65fdccb5aa71ed4108885e8ca11906f3c77226a6551014e0e91f906ce71", - "unpackedsize": 3722 + "url": "bin/qml/Qt5Compat/GraphicalEffects/private/FastGlow.qml.lzma", + "localfile": "bin/qml/Qt5Compat/GraphicalEffects/private/FastGlow.qml", + "packedhash": "37d7c993eb238aef5a13b78cc835bbb000f635768722a0cb6da26d1508e7938f", + "packedsize": 1342, + "unpackedhash": "f5914d3bcf11b964ac712b939c1d14bf84655d95e74ffa954c5729d7e76dd0e6", + "unpackedsize": 7901 }, { - "url": "bin/QtQuick/Controls.2/Material/BoxShadow.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/BoxShadow.qml", - "packedhash": "e76bd24146bdcd0b58bc08af1a2209a5e2fa1301b37f5003b98aa46695d07777", - "packedsize": 1107, - "unpackedhash": "88bfae64f2598b4591e3a71a64e8520e4f94855b4427c386f26b3ada0484a779", - "unpackedsize": 2911 + "url": "bin/qml/QtQuick/qmldir.lzma", + "localfile": "bin/qml/QtQuick/qmldir", + "packedhash": "524d1a1891d1f48d5e0ed0bf7754fce5e99dcc787a41a9f8788ea43ec47d14fc", + "packedsize": 203, + "unpackedhash": "137c386f9b2ba49fb3a3417b55096f6f1bd15a794a98613a862b490a6fe4fa79", + "unpackedsize": 215 }, { - "url": "bin/QtQuick/Controls.2/Material/GroupBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/GroupBox.qml", - "packedhash": "01a06aaa5557494ffc593987472e768481c1358defd2982a6562166c3e9f7eb1", - "packedsize": 1189, - "unpackedhash": "bdfbc86a651db5fdf65a3fbcb7cbd91bbf295d845612ba369e317fc4a5db3ab9", - "unpackedsize": 3408 + "url": "bin/qml/QtQuick/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/plugins.qmltypes", + "packedhash": "a7d54b9ef9d4e711d22c077f6dd0102212c6f07aacf52ba22da042c10ad80e8b", + "packedsize": 43092, + "unpackedhash": "271afdde8f00ea7f565f560f4fbfbb2994112e1a24ef7b3ccb916e86010c8180", + "unpackedsize": 536736 }, { - "url": "bin/QtQuick/Controls.2/Material/ToolButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ToolButton.qml", - "packedhash": "f6001eb18210e163bb5f405bfffb14bd921cf077c08dff896b6955e689b33ea4", - "packedsize": 1238, - "unpackedhash": "8d3afd8d199595659f42212168abcf55b7d1ac212a6616573bc083f73cca1b21", - "unpackedsize": 3602 + "url": "bin/qml/QtQuick/qtquick2plugin.dll.lzma", + "localfile": "bin/qml/QtQuick/qtquick2plugin.dll", + "packedhash": "7091fa6b3cbc1d1e257d465e25d0745f374026e4c3f6309bdc6cbe6929b73510", + "packedsize": 14747, + "unpackedhash": "ae21b60864cd4b0f28aabf5577b856291ce8a1ad76c0bee568d5ac898688d4fb", + "unpackedsize": 29072 }, { - "url": "bin/QtQuick/Controls.2/Material/Pane.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Pane.qml", - "packedhash": "128148df6e43909eb172f530227f7b2ca98892a0239b5dadb6a2e9918619a417", - "packedsize": 964, - "unpackedhash": "158d1f2a7c116da47489ff7d022314a79198a9c10784fb04b777b19a9906a284", - "unpackedsize": 2594 + "url": "bin/qml/QtQuick/Shapes/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Shapes/qmldir", + "packedhash": "6b48f645b5aae37d66a0a4d17ec7ecce0fb95cb4d1d2bacc9407ba0851d8e204", + "packedsize": 193, + "unpackedhash": "de2dab12c07574207db93315ebf5bd6ec6656d1aa506df756328f73342b2a7f9", + "unpackedsize": 207 }, { - "url": "bin/QtQuick/Controls.2/Material/RadioIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/RadioIndicator.qml", - "packedhash": "1abf523398bc081afd1b1d29a23da955a7cf17063a5c7385a81e6e1606904376", - "packedsize": 956, - "unpackedhash": "302175e3faf2093c879b338872688f9193579ca681b5ee4287807cc487a56dd6", - "unpackedsize": 2519 + "url": "bin/qml/QtQuick/Shapes/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Shapes/plugins.qmltypes", + "packedhash": "cd8de845b6ca2a2e1710bce43681bd12978cd964de80c8fbe60d7cfc39a56099", + "packedsize": 1901, + "unpackedhash": "288c167105f1b31e8466aed0bebd5da4cd6c02eb96c00cb5c2bcb21ca867dfe7", + "unpackedsize": 14314 }, { - "url": "bin/QtQuick/Controls.2/Material/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/plugins.qmltypes", - "packedhash": "4019c879d8bcd3f37e8d3e7e974bdcdc0ff8a9f4c9240def73e01d2b73baf96a", - "packedsize": 2521, - "unpackedhash": "65cea887fc78f250bac61e4e4b6bc9f21c9443f74ca16c6461b808574c5bfd98", - "unpackedsize": 19745 + "url": "bin/qml/QtQuick/Shapes/qmlshapesplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Shapes/qmlshapesplugin.dll", + "packedhash": "4ec95095a10359efc9ddb2754b7a6d2b4875d850f843723922a10c51f73e51d2", + "packedsize": 14749, + "unpackedhash": "8d44835e2865cd25131c7acb05657d87e817a84c248d39d53645f0f8635f4a59", + "unpackedsize": 29072 }, { - "url": "bin/QtQuick/Controls.2/Material/qmldir.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/qmldir", - "packedhash": "ac5d9f65fc9650073bd0142c9080749d3055ce0e6eedb96210eeabca85900bff", - "packedsize": 145, - "unpackedhash": "1105a7ba30f4225a96c3db7ccc5e03ec2361176734a3212121f59b9d563f073c", - "unpackedsize": 143 + "url": "bin/qml/QtQuick/Controls/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/qmldir", + "packedhash": "73603f0c46e3733da367fbbf843242211565c24cdc60ee29ee9526d61f570599", + "packedsize": 282, + "unpackedhash": "9fd5547623ce4b95247351517534bc5b4b29d43f36f57b7f3378b24acb58ef0f", + "unpackedsize": 598 }, { - "url": "bin/QtQuick/Controls.2/Material/RadioDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/RadioDelegate.qml", - "packedhash": "1b947a51731c3c68d0d747f578621056ba09397d8cd6e2cb2a6bc642fffb1225", - "packedsize": 1337, - "unpackedhash": "01cec46769b7e16a3ffc84123cbbed009a5d565f3d455364c79ed1c0a0006d0f", - "unpackedsize": 4065 + "url": "bin/qml/QtQuick/Controls/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/plugins.qmltypes", + "packedhash": "f121122314e8cc3c277069ea6e036ba8440143c8d97d0b9d0fd5b7a11592c2e9", + "packedsize": 221, + "unpackedhash": "a96c7bf5832767bdc9d91e2290a3920aec3abfbf2e3814bce38b49483f16f84a", + "unpackedsize": 215 }, { - "url": "bin/QtQuick/Controls.2/Material/Label.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Label.qml", - "packedhash": "c851211aac2d265f9f3d65b3174379f4d95ae93f80cfd48b806898bcc2904d3f", - "packedsize": 806, - "unpackedhash": "b82053c1628ab97b4fc2ec4b001e7368b8483b0305c15ccb5ba29b2f61e7ae0e", - "unpackedsize": 2008 + "url": "bin/qml/QtQuick/Controls/qtquickcontrols2plugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/qtquickcontrols2plugin.dll", + "packedhash": "379f1ba2c54690e8cd365d350cc5c5c44d3e2b813f7ee4cd0e291d853f270fa7", + "packedsize": 18920, + "unpackedhash": "4bdf74e360caba986e8f563d2fa179d709841c244aae1e1c1d24fc1e9283d914", + "unpackedsize": 39312 }, { - "url": "bin/QtQuick/Controls.2/Material/PageIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/PageIndicator.qml", - "packedhash": "d93f6bb59416a903b620f497f56b44182e0bafe41f9958accac97ed3a374b535", - "packedsize": 1078, - "unpackedhash": "f7a71b592744ea1a88843238b5576b4dcd93bc923d79585d3be0c54f749c1a96", - "unpackedsize": 2795 + "url": "bin/qml/QtQuick/Controls/Fusion/Label.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Label.qml", + "packedhash": "03d9852e96d2eb4671e3f6b6c42570ebac729d61fb19ab93a9c3f663add1ac07", + "packedsize": 277, + "unpackedhash": "a8329d4ceefd83c58b1a642e9fb713faed927dc2da18293463d3f3868480e136", + "unpackedsize": 390 }, { - "url": "bin/QtQuick/Controls.2/Material/SwitchIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/SwitchIndicator.qml", - "packedhash": "69a800e8b20c497058959f23659c8b3a537717c4a58efe94f945d14705ecc257", - "packedsize": 1110, - "unpackedhash": "f01406646bb316e79afcf276ddc59bc70ba46de58562b1173a6adf33728dc7f4", - "unpackedsize": 3330 + "url": "bin/qml/QtQuick/Controls/Fusion/PageIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/PageIndicator.qml", + "packedhash": "8e9304a7dfca120ed18ef563cafe9b5366dd44f7033b1857af3222bfe6112e0a", + "packedsize": 579, + "unpackedhash": "c6029178d7bfd9537860e5d4786aa9dc22a905bb916f8646e375c3d7486ef6fa", + "unpackedsize": 1163 }, { - "url": "bin/QtQuick/Controls.2/Material/RadioButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/RadioButton.qml", - "packedhash": "3f1803cabd5991597fcd99ae4611fdd9f01d903c12971e23d2496aecc64eecd4", - "packedsize": 1241, - "unpackedhash": "a9daeb562fcee84da8e896456c5e8fecde4e49842eddbdb87bb45f9e0038cb99", - "unpackedsize": 3654 + "url": "bin/qml/QtQuick/Controls/Fusion/Drawer.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Drawer.qml", + "packedhash": "f3488ef2e97114a1096b5d45df3cd3cedbcd068d4544f4e483f69c713747a9e9", + "packedsize": 642, + "unpackedhash": "5dae3c777411471fea7b64a6d3a68a2680885d2204a997987a056e87b2a0c855", + "unpackedsize": 1938 }, { - "url": "bin/QtQuick/Controls.2/Material/Page.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Page.qml", - "packedhash": "3d56643f367dc01ccb1efab604f9c0426ecbf6d3eab23c4b87481cde79c56977", - "packedsize": 938, - "unpackedhash": "defaa9eb6822493956bca3942abffd8c41ec10d40653ebe48147a00c321a4bb7", - "unpackedsize": 2588 + "url": "bin/qml/QtQuick/Controls/Fusion/ToolTip.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ToolTip.qml", + "packedhash": "ee12e36cd6c22052c8aacb37018fff2ce4c5401a4754f0e4f44968691099108e", + "packedsize": 606, + "unpackedhash": "0ae98471af4a9d2d30b4be4375215780f75b4e6032b7bb215d3b31fc81b07c14", + "unpackedsize": 1337 }, { - "url": "bin/QtQuick/Controls.2/Material/Popup.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Popup.qml", - "packedhash": "6a1aee41edb1059fe9c50cdb96536b72ccf3172ad945dabf97edae0be472a26f", - "packedsize": 1161, - "unpackedhash": "b25507e5fefd22bad1ce21c0cf7910c448789eea5ddbb74d7b17bdb4059ce6ff", - "unpackedsize": 3464 + "url": "bin/qml/QtQuick/Controls/Fusion/ProgressBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ProgressBar.qml", + "packedhash": "507cc63af9c114e896cbb6002639940f8a1a9b03b4c60a6536c7ef7c8e06616b", + "packedsize": 898, + "unpackedhash": "74d97d7891db521cb7b6ac1d64d4c9a9432d0062750980df0cbdb98c1d4b52c6", + "unpackedsize": 2680 }, { - "url": "bin/QtQuick/Controls.2/Material/ToolTip.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ToolTip.qml", - "packedhash": "f2ac1aa051c1f0c5e588c25ed86744d373d2b148dde3a727d90e3c3a5e4ad0f8", - "packedsize": 1208, - "unpackedhash": "6085f068214bfb06c453f1b671576ac585072a02638d871e212b7ffcbfceb3e2", - "unpackedsize": 3206 + "url": "bin/qml/QtQuick/Controls/Fusion/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/qmldir", + "packedhash": "c30a455e80d2e8d378099cdece23e5f29afb90af83b384975b9c5421453ca3f0", + "packedsize": 808, + "unpackedhash": "b198abf692cc054b1ad65988990d758e40822aeba08c7fc8ef80ff170374250e", + "unpackedsize": 3440 }, { - "url": "bin/QtQuick/Controls.2/Material/CursorDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/CursorDelegate.qml", - "packedhash": "93b6e9e6e60c7bc3b57c804c99f38a26966bd6a126f629563f5d1323b4d2b28a", - "packedsize": 1040, - "unpackedhash": "1c894576fd20cedda07919cc2401cc9d15a90effb272afc31d1ddab31537c3ff", - "unpackedsize": 2616 + "url": "bin/qml/QtQuick/Controls/Fusion/ComboBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ComboBox.qml", + "packedhash": "6e6726151bc939a1b15606975a16e60c452504a3c3cf0205b2258384cd4fa02e", + "packedsize": 1466, + "unpackedhash": "61c0445c81dc7b79d878de1c7ce6bdbddf18abb5096392fb6558ac53e35e304e", + "unpackedsize": 4885 }, { - "url": "bin/QtQuick/Controls.2/Material/ApplicationWindow.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ApplicationWindow.qml", - "packedhash": "248c2a13cd1882e425c8809b3fbaaabeb3c0cb3c6d381059c11c8b6f64936714", - "packedsize": 871, - "unpackedhash": "3997b7dc3218fa3bb66ad68aab2d372fcc5c932225b4ee68e9e9b2530063eb32", - "unpackedsize": 2301 + "url": "bin/qml/QtQuick/Controls/Fusion/ToolBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ToolBar.qml", + "packedhash": "f24ce1c7e44f3c1a523c0945b99c981d8049815b17513b834171299bf3e58e7a", + "packedsize": 564, + "unpackedhash": "56be7f05abb6370abb0eedfe7127b24971de843f7315027b34dfe42ac524638c", + "unpackedsize": 1523 }, { - "url": "bin/QtQuick/Controls.2/Material/MenuItem.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/MenuItem.qml", - "packedhash": "bee94816f2cb3beba312a3f600dd4e404bf2db156a63e12785b587a07a570b0e", - "packedsize": 1480, - "unpackedhash": "a7e1b2398c5cbff591fe34270fc800e2debaec810689744d58baaa149558a619", - "unpackedsize": 4788 + "url": "bin/qml/QtQuick/Controls/Fusion/SwipeDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/SwipeDelegate.qml", + "packedhash": "4c7b3f92c76b3c0a751853b948cab3401b7cb2da5a066e25748ecfe63a01f6c0", + "packedsize": 687, + "unpackedhash": "0a44de3bc0a9cb267ab939bca921781ec8a4e2e67fb049effdbf6cfd450fa107", + "unpackedsize": 1639 }, { - "url": "bin/QtQuick/Controls.2/Material/CheckDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/CheckDelegate.qml", - "packedhash": "a002699da8e5d1f6b5266e8c1ada2bc40a9c116ecfd8c0a2a19bb4bd50135682", - "packedsize": 1337, - "unpackedhash": "3859e906c67e38f049c0b99a476a7ffc76f159ad867316f9732ae19bbdc91bba", - "unpackedsize": 4065 + "url": "bin/qml/QtQuick/Controls/Fusion/SplitView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/SplitView.qml", + "packedhash": "e5820a36ca33b42bbed9d4c108c08bffd329a82f00a419b7e8406a8e8b4f5cd2", + "packedsize": 476, + "unpackedhash": "f04691e38eda107585fd091e6b2979c1b7d38a33322ea4c38f40aa64b6e8440b", + "unpackedsize": 954 }, { - "url": "bin/QtQuick/Controls.2/Material/TextField.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/TextField.qml", - "packedhash": "e6241ab0183044c2b858a26daea4f4f9fe5cda6cdb6082370e101a41454e2015", - "packedsize": 1279, - "unpackedhash": "09a990d8a73091da451fe46d518175a4d794b9e955ff45920d0e9d8f4063458e", - "unpackedsize": 3820 + "url": "bin/qml/QtQuick/Controls/Fusion/Pane.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Pane.qml", + "packedhash": "79aa1d77b34a2eff1a9969cca2af153f53ece6cb29717afcc572f7bd3ac023b3", + "packedsize": 388, + "unpackedhash": "7da6246ad2c1afcde91fd8a6c50f3875692257c60f701f823d62480d9f33aa2a", + "unpackedsize": 706 }, { - "url": "bin/QtQuick/Controls.2/Material/Menu.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Menu.qml", - "packedhash": "42b0c2a09b20efb27d4ceb07c4feb98d5129ff54394819909a1ed3af1d34cec6", - "packedsize": 1375, - "unpackedhash": "413199d8146bbf130a26a50753b3f8ecb8a26158a5d77c32d6b1eb22b57b3ac8", - "unpackedsize": 4162 + "url": "bin/qml/QtQuick/Controls/Fusion/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/plugins.qmltypes", + "packedhash": "b8f4d7ae9ba546b514f8d06fe9beb2748bbedc50902facd9cf1da97007a66408", + "packedsize": 770, + "unpackedhash": "9ebb8f225137d39afd9f8098469e859d9e4d00f1360402a60c022076b1cca4ec", + "unpackedsize": 5142 }, { - "url": "bin/QtQuick/Controls.2/Material/Dial.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Dial.qml", - "packedhash": "519f69d43e8188af4ef12f8d3e3e902a3010ae7a9b2a9743ea363e4cccce50a7", - "packedsize": 1193, - "unpackedhash": "f4302746ed0917ce145534b9b81fe0faa025531cf5ed04a81a72994fa234e45c", - "unpackedsize": 3543 + "url": "bin/qml/QtQuick/Controls/Fusion/Slider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Slider.qml", + "packedhash": "b4168ab4a9a2c5fee38b4f3d82c54d4b0854ee9b211778445b6cea409e84a548", + "packedsize": 535, + "unpackedhash": "5158b27bff52b9640590d4229edc91d5cb8c9be425a92423706a0986c54a1d66", + "unpackedsize": 1317 }, { - "url": "bin/QtQuick/Controls.2/Material/RoundButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/RoundButton.qml", - "packedhash": "8c8d64cb8d0a3f1b6ccc276fc97c3f30282dbf67b298af65b72802711dac1955", - "packedsize": 1464, - "unpackedhash": "6ba91bde18bf2cae35de1815f2a1b8c8cf86765900c16b3599cd9650f7f6df74", - "unpackedsize": 4702 + "url": "bin/qml/QtQuick/Controls/Fusion/TreeViewDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/TreeViewDelegate.qml", + "packedhash": "b966f257b5ef4df7eff552f609dff098c7a7f1a1ed3ff91341b50700ed485cd6", + "packedsize": 1362, + "unpackedhash": "0663504b15f642ce8ba26c052cc25b7d136576e078e29de1cd6f736a740894da", + "unpackedsize": 3859 }, { - "url": "bin/QtQuick/Controls.2/Material/StackView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/StackView.qml", - "packedhash": "5a281b2cafe7fdeabaa8ae3c9c252971c5f159d53450a508b09827bb4113310e", - "packedsize": 981, - "unpackedhash": "09c499de9cb6df74464fd5a66c9a58af16e34ffde3e0c67ac12d0e0c81acfad6", - "unpackedsize": 3885 + "url": "bin/qml/QtQuick/Controls/Fusion/VerticalHeaderView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/VerticalHeaderView.qml", + "packedhash": "bcee27e8f1aa9eebe69a1443dcd122f26228660ebec1882c766aef700d2667d0", + "packedsize": 808, + "unpackedhash": "eb8b854ace749712a8f496aff115532a675e89eb831d8c2fcbeef739f921d12a", + "unpackedsize": 1724 }, { - "url": "bin/QtQuick/Controls.2/Material/ScrollBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ScrollBar.qml", - "packedhash": "60365dd6989a8601703bbed1b5d880ace1bdafe6f09f1bb695fbc090cb739428", - "packedsize": 1260, - "unpackedhash": "ae326bd04fd07a2417f5583f2b06bfb68ee166938d1c651f33198f6e4665cb91", - "unpackedsize": 3771 + "url": "bin/qml/QtQuick/Controls/Fusion/SwitchDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/SwitchDelegate.qml", + "packedhash": "a4bd08e9d6019ccb748229f50fc91dfeb6af6cc5af8ed76433f5a7d4d144b969", + "packedsize": 732, + "unpackedhash": "871dee1fbc97a41f2d77660e019aea4d08615caee7f99c7963e7052fecd65005", + "unpackedsize": 2022 }, { - "url": "bin/QtQuick/Controls.2/Material/CheckBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/CheckBox.qml", - "packedhash": "fefe9462c48055d8f6a21299f302b992c900a5e6a6d0e681515ee105a5fc0e8a", - "packedsize": 1239, - "unpackedhash": "f0678cf5e73535e683a33ae8843aff427e344c8a0158ed61c119965cad096139", - "unpackedsize": 3651 + "url": "bin/qml/QtQuick/Controls/Fusion/DelayButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/DelayButton.qml", + "packedhash": "2c1a77d5addfcd0e458b13c3c4294015b8efd8cb481490198906fe039b45fda4", + "packedsize": 833, + "unpackedhash": "81c7e7a80d0dbd45a4b70370f30680ecddcf76b2bff45f676acbe574a50dea24", + "unpackedsize": 2791 }, { - "url": "bin/QtQuick/Controls.2/Material/MenuSeparator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/MenuSeparator.qml", - "packedhash": "e06c68be5f350d494e819e81baa561d23f9ee659be48d9c7596fde6b5e3843f3", - "packedsize": 921, - "unpackedhash": "8cfd1c4238b721c2ffc6abb4132f5670e45a6768ad5cbac7413fdc5bbfb4d92f", - "unpackedsize": 2400 + "url": "bin/qml/QtQuick/Controls/Fusion/ScrollView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ScrollView.qml", + "packedhash": "70b144d74003978f260f3c4a92653d17bb6b3e6c0c22e07c8bffe543ef00c1f8", + "packedsize": 465, + "unpackedhash": "5744512d0163200f17ee614036412b66b355eeda442b4843f6ab1a31a8b1f07d", + "unpackedsize": 1024 }, { - "url": "bin/QtQuick/Controls.2/Material/BusyIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/BusyIndicator.qml", - "packedhash": "b435cd958f8162a8e9dd7ecc61608f96d9113b515e4fa056f7f2b29807468c41", - "packedsize": 989, - "unpackedhash": "b88bef72ccb2df722c7324c7a5b9d5b7a7dad157f1e425f4366a2cb8764afe14", - "unpackedsize": 2640 + "url": "bin/qml/QtQuick/Controls/Fusion/MenuSeparator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/MenuSeparator.qml", + "packedhash": "c7fe538127f01df43a9097348bb006a11c5e184b7dfae96fca7bc6894ce80cd2", + "packedsize": 436, + "unpackedhash": "454198ed3925e7977fa746dc7641814c1646698f0492009c78e0c2a2350e3c49", + "unpackedsize": 820 }, { - "url": "bin/QtQuick/Controls.2/Material/Drawer.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Drawer.qml", - "packedhash": "51c509ef698d1f9f905afb3c23470880249f86f88451e821f5cf517520d1595e", - "packedsize": 1268, - "unpackedhash": "5f37513a7bdd0dadcfdc435882db4199a224114ec41df8c9250aa1483f9428c4", - "unpackedsize": 3867 + "url": "bin/qml/QtQuick/Controls/Fusion/GroupBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/GroupBox.qml", + "packedhash": "353b36d100bdcb2e6107b35b6bcd8755fbc45bb3dbd774c7c32725698b375eaa", + "packedsize": 634, + "unpackedhash": "a136a8d4024ab3a682dd26321e67e4296286e7166a222bff3fece0e95cd8dd44", + "unpackedsize": 1418 }, { - "url": "bin/QtQuick/Controls.2/Material/TabButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/TabButton.qml", - "packedhash": "ed57446462728e6bdbaf3ef13a087c633a4ad74769379902ddc4d2d5aa3d30e1", - "packedsize": 1130, - "unpackedhash": "6d87e0c63d2a080b7c6728a3e3dfbf8f792032034ea770710202592f1bd532b1", - "unpackedsize": 3208 + "url": "bin/qml/QtQuick/Controls/Fusion/HorizontalHeaderView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/HorizontalHeaderView.qml", + "packedhash": "35f6341f0044898b207bc68ee328176b355cd59dd72a394a99dd4b44782c003b", + "packedsize": 810, + "unpackedhash": "28cffaa0053f99eed5c358de39c5c73844cee37326e06e44c036a73a9714918f", + "unpackedsize": 1764 }, { - "url": "bin/QtQuick/Controls.2/Material/SplitView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/SplitView.qml", - "packedhash": "5032700d5e2c353db3bd19235f92e211186f2798e4482dcbe44e71106865c64b", - "packedsize": 1149, - "unpackedhash": "4248d6703d05d41480ffaf12abefc63f020b204221684d73d64957addc3a8b4f", - "unpackedsize": 3315 + "url": "bin/qml/QtQuick/Controls/Fusion/CheckDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/CheckDelegate.qml", + "packedhash": "14613d882d2b50075e2a4e67df0831a006410f4f313aa503f51b864fcc1da633", + "packedsize": 716, + "unpackedhash": "196860e291349d197deca41d7cc724eb5c03bac5e083a3b661a31b1d05e01c26", + "unpackedsize": 1943 }, { - "url": "bin/QtQuick/Controls.2/Material/MenuBarItem.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/MenuBarItem.qml", - "packedhash": "aa3167615a3103a9a226c511b739fc5b80592fe4072b66145c99189422da46b6", - "packedsize": 1188, - "unpackedhash": "f3a31ae3ceefeaae4fda9a173fd3edb0dd817d692236120572d874f7fd2838f3", - "unpackedsize": 3442 + "url": "bin/qml/QtQuick/Controls/Fusion/ToolSeparator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ToolSeparator.qml", + "packedhash": "45f31be3a892096055f1105dca93a30f6151c9e9f0cb71bff12f82f7adb9b202", + "packedsize": 490, + "unpackedhash": "a7b3f73a35b164393a8d46829cec56fe87d40e0c87c488c06857ff279af34822", + "unpackedsize": 1060 }, { - "url": "bin/QtQuick/Controls.2/Material/VerticalHeaderView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/VerticalHeaderView.qml", - "packedhash": "4d1e01733081719b24680ea87302492962349cee429ed03830d6a8b8d1cfb694", - "packedsize": 1108, - "unpackedhash": "b58deadecf19234d92fcc035c0b773271b4cfdccf24cd06e300f7c81903ca433", - "unpackedsize": 2965 + "url": "bin/qml/QtQuick/Controls/Fusion/CheckBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/CheckBox.qml", + "packedhash": "896b447a0144b606662fd68ff059587c859325616cfc63021a3b42f30a39751e", + "packedsize": 589, + "unpackedhash": "e0ef758367eae96abfc37971d460f988b19e2726452c7eee05aa8a8923e47739", + "unpackedsize": 1481 }, { - "url": "bin/QtQuick/Controls.2/Material/DelayButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/DelayButton.qml", - "packedhash": "d7929224c21b29ed73da3ea138604d791f05128cadd1d8761a734756790af935", - "packedsize": 1445, - "unpackedhash": "1ee9513b607b760e0c7bc5be8f794a6c5a2dfa96a946d2f5e5874467b03d6b33", - "unpackedsize": 4471 + "url": "bin/qml/QtQuick/Controls/Fusion/Page.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Page.qml", + "packedhash": "884b253f6342a5c5a827a6ed6acb78e4b6bd269450d3fd27188c6a4252ae6a68", + "packedsize": 436, + "unpackedhash": "c7590c392f4110298c145fe6e057e7ecacf6e13ad6d570c8c3edd16f8d66b54b", + "unpackedsize": 978 }, { - "url": "bin/QtQuick/Controls.2/Material/qqc2materialstyleplugin.dll.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/qqc2materialstyleplugin.dll", - "packedhash": "bd7e098a863b63fa284cc4f7d923f6bbae04bf371f340c96b9558bf2ddf4bb83", - "packedsize": 66187, - "unpackedhash": "17a7d22515b6e4e3598e4f52d382e622ec834f3e17bfc90649088500d0a439e4", - "unpackedsize": 275344 + "url": "bin/qml/QtQuick/Controls/Fusion/SelectionRectangle.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/SelectionRectangle.qml", + "packedhash": "123a59749ef5df546badca92b8cb3ac201cfa2c7e87ad1d94a6d9a32507bb184", + "packedsize": 425, + "unpackedhash": "12aee112250c8c9a5963f474b88ccb75f1aab19a712c63876c480397422b897b", + "unpackedsize": 936 }, { - "url": "bin/QtQuick/Controls.2/Material/ItemDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ItemDelegate.qml", - "packedhash": "8d28a79d40a599de33ac5b920818b010cece9ff1ae4791f41798057aca9cdddd", - "packedsize": 1232, - "unpackedhash": "d4ff3080e64c091cac96a7a4f6f7fe8f2f948f468d70dd39271aa48d02f6b306", - "unpackedsize": 3570 + "url": "bin/qml/QtQuick/Controls/Fusion/TabBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/TabBar.qml", + "packedhash": "d3be3d872f5114e751b634ca84213ff5d34051138cdd0605c5202b47c5183f53", + "packedsize": 658, + "unpackedhash": "97112c201f20e53ba112fbdfaa94766b7102020310d6df6f27767c39914ce2a8", + "unpackedsize": 1395 }, { - "url": "bin/QtQuick/Controls.2/Material/Switch.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Switch.qml", - "packedhash": "5e697e73f84ff6d6cc76518564c813f7962df6b995808cd99e8cffa165017803", - "packedsize": 1225, - "unpackedhash": "e65c894ae653242836bed8789b72e8a208a8d743f840a73e9b6bddededd11a31", - "unpackedsize": 3612 + "url": "bin/qml/QtQuick/Controls/Fusion/TextArea.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/TextArea.qml", + "packedhash": "b2a1a5d90a3568971f1dc92a7a178a92de54ec317d89c19493797195d152ae6a", + "packedsize": 636, + "unpackedhash": "2c63fe6542eaa10ab2045d75f5e02dbb6912d85070b1986d5b45217bbfd7c090", + "unpackedsize": 1663 }, { - "url": "bin/QtQuick/Controls.2/Material/HorizontalHeaderView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/HorizontalHeaderView.qml", - "packedhash": "a6c5ae20e8d171f72f29b9fad427b740aea140ce6eb1eb167501ebb8fb9bbf9c", - "packedsize": 1103, - "unpackedhash": "d8f333e3ec6e057be364a043677a8e3a2762384c05fcfb2a5069184ddbfeee99", - "unpackedsize": 2968 + "url": "bin/qml/QtQuick/Controls/Fusion/Frame.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Frame.qml", + "packedhash": "885bbc0899af59f9f4c56be3cee6593dedaecfabb020ed6f3f1f5b83292cb543", + "packedsize": 428, + "unpackedhash": "acf1d1979ebcdf1d771786de74f61c636a27c77ae628505df92bfd4541bb6a3e", + "unpackedsize": 770 }, { - "url": "bin/QtQuick/Controls.2/Material/SliderHandle.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/SliderHandle.qml", - "packedhash": "1d3c2c2a69a6a09344ca2cfd0bbd1ada23d91bca48d7a8caeba4f3bfd7b83c18", - "packedsize": 1081, - "unpackedhash": "be6421a3b9d158de3a94b9f737de8538432414bc3d2ab94977d31ce1fae755ee", - "unpackedsize": 2932 + "url": "bin/qml/QtQuick/Controls/Fusion/ApplicationWindow.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ApplicationWindow.qml", + "packedhash": "285ced26fd8f96f19e4e2d4c8fcc31b34cde4aa3eaf9e72d876d00da277b541e", + "packedsize": 267, + "unpackedhash": "252f003a71990445496d103db37f2139543263648f61e2eaf7d22d4550a22ac5", + "unpackedsize": 353 }, { - "url": "bin/QtQuick/Controls.2/Material/SwipeView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/SwipeView.qml", - "packedhash": "3a2a968098490e853cd76691c8f72df86912719b0e79774eb3e1eddcd62fb7fe", - "packedsize": 1094, - "unpackedhash": "df48a6406527fd52342cbd00d50d4f749d023086a01814ea8fc6c550a2fc53e3", - "unpackedsize": 2830 + "url": "bin/qml/QtQuick/Controls/Fusion/DialogButtonBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/DialogButtonBox.qml", + "packedhash": "28ff5d35f1ecfcaa40c1853c864f1aba1e10256e3d74e6bb29be4ee152311164", + "packedsize": 585, + "unpackedhash": "0969c3403e4e9672643e5d7a3cc275ef4252e75b282ccbc9d9175f155a2e25aa", + "unpackedsize": 1183 }, { - "url": "bin/QtQuick/Controls.2/Material/Tumbler.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Tumbler.qml", - "packedhash": "50072432d4a1a733c86df5d50c5373de1b5e40edf0909aa8d9674846cf1feeec", - "packedsize": 1184, - "unpackedhash": "1ef694ff3d76110423d945f9ed5948ba86587dbd130bbb953c1b88f3f7c08729", - "unpackedsize": 3317 + "url": "bin/qml/QtQuick/Controls/Fusion/ScrollBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ScrollBar.qml", + "packedhash": "65efe4e4140d0cde800abebef9564d2722bb1e2496f765ba8b1826bd3b110a3a", + "packedsize": 705, + "unpackedhash": "a9cfa41105882454da71480890622f0b842ebf579654744eda0082219c7165c4", + "unpackedsize": 1558 }, { - "url": "bin/QtQuick/Controls.2/Material/Frame.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Frame.qml", - "packedhash": "eddf2c7cacabd2c667e58760010bbd946da9ea85f1b34a0da116278867eb8e3e", - "packedsize": 1007, - "unpackedhash": "54b7e9d18092bd8ae03e9336554f48cf5178c304457c70ff107f4a2fdaf810f0", - "unpackedsize": 2710 + "url": "bin/qml/QtQuick/Controls/Fusion/qtquickcontrols2fusionstyleplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/qtquickcontrols2fusionstyleplugin.dll", + "packedhash": "302ec77182da412e09f34d606a8b4b13e8016e793414edfc0fb7fe6afc16cff7", + "packedsize": 15017, + "unpackedhash": "34ea9222ac3be1dc66483eaac39457f7e624d91be03db5867009961c32de21e8", + "unpackedsize": 30616 }, { - "url": "bin/QtQuick/Controls.2/Material/TextArea.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/TextArea.qml", - "packedhash": "cee78188971d1e61031683d62faa27ed9329cc0ae360729736a9f89345027c90", - "packedsize": 1246, - "unpackedhash": "cd31510a2d8460fc131e5a94d753d0b923f50626e575131dec9c94cb7ee540c6", - "unpackedsize": 3727 + "url": "bin/qml/QtQuick/Controls/Fusion/Button.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Button.qml", + "packedhash": "29480aabb3b8fd57c849babf1655cf8f08cae7d3b23af61d8565b1921c26d1ab", + "packedsize": 565, + "unpackedhash": "12168645ba4ea8d6e924de17e569549b18c65f535295ef429c35e00156515263", + "unpackedsize": 1239 }, { - "url": "bin/QtQuick/Controls.2/Material/Button.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Button.qml", - "packedhash": "d6217016c996fa9f9bc2ef7576040015906672e2d0c8c34b5df5df3e7ab5b2e1", - "packedsize": 1511, - "unpackedhash": "156e59f5ada238f76c0ee47e30e5a10514b35ddf14b6caecc902ca6ef4c9fe99", - "unpackedsize": 4891 + "url": "bin/qml/QtQuick/Controls/Fusion/Popup.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Popup.qml", + "packedhash": "8f6d631d625baa348cb0b665f50dbce0721296a0f532367a84e7e1c9181a333e", + "packedsize": 444, + "unpackedhash": "1c0c15f01426e72174f6bd3c3aca61e7158f986aff1561f25acf84aaa10c96dd", + "unpackedsize": 914 }, { - "url": "bin/QtQuick/Controls.2/Material/RangeSlider.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/RangeSlider.qml", - "packedhash": "986b38a6e7adddd111735fe44c60cef5318189f7ee033d6781d4324f74a5a747", - "packedsize": 1274, - "unpackedhash": "9119c70f03475b4d5af2579302986b0694ab4fa6ceb4937b311e7b00a5611c4f", - "unpackedsize": 4757 + "url": "bin/qml/QtQuick/Controls/Fusion/MenuBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/MenuBar.qml", + "packedhash": "852303a9ace6e3f846223899a23a2a234576fdb61551c53b97cc5f99e8bdc282", + "packedsize": 549, + "unpackedhash": "82fb18ababfa44052e4816454355e02424c4c2a7eacb0553054cf0c2c11734ef", + "unpackedsize": 1179 }, { - "url": "bin/QtQuick/Controls.2/Material/MenuBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/MenuBar.qml", - "packedhash": "9092b6bd2d781a3d41889a8be2d71455954a018081d4c0ce3dc946e5f25c862c", - "packedsize": 966, - "unpackedhash": "c62db07b4d429f9bd0cf88eaef9b15ad8cdb58322c7656d55be5936044eb1240", - "unpackedsize": 2604 + "url": "bin/qml/QtQuick/Controls/Fusion/TabButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/TabButton.qml", + "packedhash": "2a31bf88ffb8313ef751d4e68501d84044efba8c322a0346512010014bbd734e", + "packedsize": 777, + "unpackedhash": "8bccd98f466f48da6444c423c6af602614d5519fabb79f7d40e18beeaa9b071f", + "unpackedsize": 2360 }, { - "url": "bin/QtQuick/Controls.2/Material/SwitchDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/SwitchDelegate.qml", - "packedhash": "930a840e74f6f5712d485a05aa9011b2aa4880aad72fa7941534166b8622862b", - "packedsize": 1344, - "unpackedhash": "c897dd480d12643f24a357b1969b78b91da6b7e8a950df2092856010ab8a8e07", - "unpackedsize": 4104 + "url": "bin/qml/QtQuick/Controls/Fusion/RadioDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/RadioDelegate.qml", + "packedhash": "89e9f35a21dc88889e7c7ff64607d265df18596f57fec5dd0d7730ac54041b05", + "packedsize": 717, + "unpackedhash": "a2a8c59993c9e7e088f924d1f2954b99d7fe77c216a15232c80decd822ddd732", + "unpackedsize": 1943 }, { - "url": "bin/QtQuick/Controls.2/Material/ElevationEffect.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ElevationEffect.qml", - "packedhash": "a9efee3abb56bcca6b6a70560e5686c41ca74fdaea785cbb25d9a32008c404d7", - "packedsize": 2474, - "unpackedhash": "4e223635e82795bb7a8909c15d1f2739ee7e607344187d30b929b5d8ddb09808", - "unpackedsize": 10030 + "url": "bin/qml/QtQuick/Controls/Fusion/Dialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Dialog.qml", + "packedhash": "85fdeac5fd5ef5cc148d9f8854083084d713def35c326d1ef0e4b02a78a49d17", + "packedsize": 667, + "unpackedhash": "8f9084a5e5faa39a1531d89355df5ffedf7a617c9296b37ccd1ca85c8dc317d7", + "unpackedsize": 1858 }, { - "url": "bin/QtQuick/Controls.2/Material/SpinBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/SpinBox.qml", - "packedhash": "776e078ba21931cde999a45ee9dbdae7220674755f4543217f0c75e8c527df16", - "packedsize": 1558, - "unpackedhash": "563ca893e4477876ed5db6da9f981d0e6d60662378c7d4b77053b1226317c409", - "unpackedsize": 6225 + "url": "bin/qml/QtQuick/Controls/Fusion/Dial.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Dial.qml", + "packedhash": "5bdfb6a87f42a870039d613eab166f71e7ffc24d75eb510fce5d81c42d7eeec4", + "packedsize": 567, + "unpackedhash": "6cae1cdcf8d39579a66e189b2edb50e5b027048a6d36c41a0f9f62ffc4db0394", + "unpackedsize": 1459 }, { - "url": "bin/QtQuick/Controls.2/Material/ProgressBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ProgressBar.qml", - "packedhash": "2cd43a4fa67b0e7fac8051639af127f494664952cf3cec83ef77e4b9e0320088", - "packedsize": 1033, - "unpackedhash": "9ac78116b02c1bcb4dcde91170b10b8dd7bf532f0b800e81bd3c948f5cda956c", - "unpackedsize": 2820 + "url": "bin/qml/QtQuick/Controls/Fusion/Menu.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Menu.qml", + "packedhash": "45bb82515cef58cb276103283d5c42c996db07951e79729ba6748a1e01d60b33", + "packedsize": 672, + "unpackedhash": "bb431e056c7a16a98fecc0189b90f61343e9b3109ee2fdc55b28b31b6b2950f1", + "unpackedsize": 1633 }, { - "url": "bin/QtQuick/Controls.2/Material/ToolSeparator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ToolSeparator.qml", - "packedhash": "3d9e5e04738a955a7c22fe96b97afedf18b7357545d1285d02e7379af4609816", - "packedsize": 951, - "unpackedhash": "595e7895e532f29f9ca2da32501522b8c8360664238dc82c7793c73aebcc3d1f", - "unpackedsize": 2489 + "url": "bin/qml/QtQuick/Controls/Fusion/Switch.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Switch.qml", + "packedhash": "ab983b23321b60ed9e583944851d2acea30b5a2880125ffc5e482537c7d75941", + "packedsize": 581, + "unpackedhash": "489fc3d28ca1ff6658ff63f4cb200465d1db73619747f06475acbed93f5c4a92", + "unpackedsize": 1474 }, { - "url": "bin/QtQuick/Controls.2/Material/ScrollIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ScrollIndicator.qml", - "packedhash": "074ba23ff0f8bc80ee4351e8d26cbf22a5a59982dad55e12d0bb757231d3c66a", - "packedsize": 1101, - "unpackedhash": "a66ba3c2ceb4766ca959a6c94971e4fb3fb2b33fc6157ec89e22f9dec6b8b5cd", - "unpackedsize": 2967 + "url": "bin/qml/QtQuick/Controls/Fusion/RoundButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/RoundButton.qml", + "packedhash": "c68f73910ceee386f08e5e8a2b31eb1e115b39b31b828ebc249a957edd106936", + "packedsize": 746, + "unpackedhash": "146509ee5ea3d4afe06ef3cd4e67ca318810d4157fc7d04e51b835af9560efa4", + "unpackedsize": 2411 }, { - "url": "bin/QtQuick/Controls.2/Material/TabBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/TabBar.qml", - "packedhash": "05c0e7549d08fd36b14c1296b1cf20b31d7ddec7721493404a5e77efa586c4f1", - "packedsize": 1245, - "unpackedhash": "df91849da352eb0a6fa50ad30188014bc8ee8927676ef2108b7ddf55a3ba97b8", - "unpackedsize": 3437 + "url": "bin/qml/QtQuick/Controls/Fusion/Tumbler.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/Tumbler.qml", + "packedhash": "78d54ec5fc1b03cddbe72444238056169c220c7ecce742fc3f6de406543ea0a0", + "packedsize": 686, + "unpackedhash": "cdff8acd8f8bc4b4fa0e03939a33fa3514fdaff80dacbc73d5c9fa1ba033a116", + "unpackedsize": 1646 }, { - "url": "bin/QtQuick/Controls.2/Material/Slider.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Slider.qml", - "packedhash": "525e4b17389ecf0e5061b02bf7ede1388d32830960e561786e3d6b85c232690a", - "packedsize": 1198, - "unpackedhash": "bef54ac22986a64ab8539d90568fc1a017fe0ecccd1931f56a1910e429d0b922", - "unpackedsize": 3963 + "url": "bin/qml/QtQuick/Controls/Fusion/SpinBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/SpinBox.qml", + "packedhash": "127de0123cc39c3a5f580afd9514eaa3c1236e57ee3c6d7756ddff4a353cc6a2", + "packedsize": 1282, + "unpackedhash": "5033e95702774781d7c633a911bc426aa5e6dee60e771bae1d9be73d58e574ab", + "unpackedsize": 4985 }, { - "url": "bin/QtQuick/Controls.2/Material/DialogButtonBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/DialogButtonBox.qml", - "packedhash": "5a8093acb7a8632a27da5d07b3dd387c440a2c85b7b732754baa88e2d0b9b51a", - "packedsize": 1193, - "unpackedhash": "8a0c771bad8ea0de60c8b5595c3addf6a6e7785426cacb7d57f30d7921524045", - "unpackedsize": 3207 + "url": "bin/qml/QtQuick/Controls/Fusion/BusyIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/BusyIndicator.qml", + "packedhash": "ff7513c68d469d3c386c221bc8bb5f9a652e2149a7adb7075c61dd57f43e3d23", + "packedsize": 540, + "unpackedhash": "8e8597ef9323625e2145e209d5df33e342bd807ed613f573f1a2b16a0502dbf2", + "unpackedsize": 1155 }, { - "url": "bin/QtQuick/Controls.2/Material/SwipeDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/SwipeDelegate.qml", - "packedhash": "d568b0969b11db398f736cd83618438a30470130dbbc1bf5ee43ce65ce23df5e", - "packedsize": 1318, - "unpackedhash": "b19eb0ec5894590163f09f7b66a236cb30ea2c63e3e79846eabc4029a3792f13", - "unpackedsize": 3887 + "url": "bin/qml/QtQuick/Controls/Fusion/RangeSlider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/RangeSlider.qml", + "packedhash": "9fc0a6f6b89806dc0151dd870be908f0908b9bcf46113eecffcb7059dae21636", + "packedsize": 618, + "unpackedhash": "ad338d419b7a0f0fa71f7b84057feba06fb0cbe9343a26ac25eb62e3d2d4ec50", + "unpackedsize": 2127 }, { - "url": "bin/QtQuick/Controls.2/Material/ToolBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ToolBar.qml", - "packedhash": "2f15edb2f174ac2f425046ec2cbb769fd48f22a775e8fcc9a64d15cc82b0b539", - "packedsize": 989, - "unpackedhash": "69ef1c4bf0329eb9fe2e6ddec7e584a3e38430250ca3d9edcc38181d6e44e636", - "unpackedsize": 2656 + "url": "bin/qml/QtQuick/Controls/Fusion/ItemDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ItemDelegate.qml", + "packedhash": "bef2cb9f9099686cc3fc658bd940840d1c0ca31e9a841b8f71667827bab26006", + "packedsize": 621, + "unpackedhash": "009f11af11c2fcb41ce4ae0362c5db78115d2e5fc56956e9e88fd1a500271c8b", + "unpackedsize": 1534 }, { - "url": "bin/QtQuick/Controls.2/Material/Dialog.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/Dialog.qml", - "packedhash": "8df5be90223b23479189d23525e9df79c4b54e9eaa1f5d12eb188c8f02942f65", - "packedsize": 1375, - "unpackedhash": "0363b31324c9ef26fa2bb540334774da0a6545951dd06a149e6b832a6bf6c7ec", - "unpackedsize": 4358 + "url": "bin/qml/QtQuick/Controls/Fusion/MenuBarItem.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/MenuBarItem.qml", + "packedhash": "82e864d4f8231fe79ba8947d548bceaad9634abeee05330808e75271e3b57d6e", + "packedsize": 571, + "unpackedhash": "765c636b39ad65eae3e47064605414404a9442753666f1d18d67fb66074d22d5", + "unpackedsize": 1352 }, { - "url": "bin/QtQuick/Controls.2/Material/ComboBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/ComboBox.qml", - "packedhash": "7efd5e812868ca77ae8f26cb6be7d1d9b20d36bc4ced35882efebf55d31083e9", - "packedsize": 2144, - "unpackedhash": "53ffd150f86d215fe89ebac70ebafa67e2419f297bb913d12db2c454e9b0c921", - "unpackedsize": 7649 + "url": "bin/qml/QtQuick/Controls/Fusion/MenuItem.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/MenuItem.qml", + "packedhash": "9cce659245b281fe45e1c9a57046f59d26d062dc40d19e4bbcfd7825b5537d0f", + "packedsize": 858, + "unpackedhash": "1a769475267d08cfc1afba61d2904d5994c09a97bb9b0c6c86f35e892eede302", + "unpackedsize": 2561 }, { - "url": "bin/QtQuick/Controls.2/Material/RectangularGlow.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/RectangularGlow.qml", - "packedhash": "b3847a3112e55213c0af44831ddae81d5acf024d2e295f02a1825366d990fa52", - "packedsize": 2050, - "unpackedhash": "e4ade2e5c1600befe2ae31221035b5beee33acbb9395db6911c32b117c10a300", - "unpackedsize": 8309 + "url": "bin/qml/QtQuick/Controls/Fusion/ScrollIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ScrollIndicator.qml", + "packedhash": "dae0a8d000568b25cce0264dffb4b38ecf47f73b901c7b39e6b3b640b9b9c042", + "packedsize": 600, + "unpackedhash": "e830d87a4e3e0c8cae31470505f4e0666b1a37d7b7a65a5ac8e2df7d2206e183", + "unpackedsize": 1327 }, { - "url": "bin/QtQuick/Controls.2/Material/CheckIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Material/CheckIndicator.qml", - "packedhash": "ce39f8fd9e9df24d2f34d2bc8b21271028c4928e3551a8bb5ec0beb5c3114537", - "packedsize": 1319, - "unpackedhash": "8a03d5fe3ad0c783f7611fad9ed5ab7ab75895213b3d8b83cea478530c2acd5e", - "unpackedsize": 4154 + "url": "bin/qml/QtQuick/Controls/Fusion/ToolButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/ToolButton.qml", + "packedhash": "86ddb9117835a05197a44705485f6e87db12a3798488fa5ee50aea21c9ab4164", + "packedsize": 559, + "unpackedhash": "fce083edd0958f07cc4cc5e3753bed405d6d423cbb1e0a5a38a6fb9e9d4c3a48", + "unpackedsize": 1226 }, { - "url": "bin/QtQuick/Controls.2/Universal/GroupBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/GroupBox.qml", - "packedhash": "82e353577f7f5c389fb50475ea941f17e6a43ca2f5b5d5acb5aa8b228a7f8767", - "packedsize": 1116, - "unpackedhash": "f795b3be2a6d4a5885d54cc00a1ece95ebc707a11ddfbae20546cf46673d07b2", - "unpackedsize": 3031 + "url": "bin/qml/QtQuick/Controls/Fusion/RadioButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/RadioButton.qml", + "packedhash": "d3e51c376c8e29cd6d2f4dfee1dd060efc5fed38656d694dcd370feb25349e4c", + "packedsize": 591, + "unpackedhash": "5d6d3deee5d588572d7a0424b55f386a7d602ea993f9b685a9c4c9f214a24633", + "unpackedsize": 1484 }, { - "url": "bin/QtQuick/Controls.2/Universal/ToolButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/ToolButton.qml", - "packedhash": "7d56c94b4b2bf6bf9c9ca1b56eb1ce42349ad56bb9781ecbbf8f9acb8c0b1b4c", - "packedsize": 1197, - "unpackedhash": "eb353f7efcb8c77e1ed23ea612fec9f394d495d5da4be3a851cff9b22072c239", - "unpackedsize": 3315 + "url": "bin/qml/QtQuick/Controls/Fusion/TextField.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/TextField.qml", + "packedhash": "ef47b1e5a16e48edfd3c3fb3db17e14b3d25d88af483da98044b267725b8c73a", + "packedsize": 824, + "unpackedhash": "65389922f5d37ef0b4c1bc7393109baf12d9f6b750dcecae21266ea2628790e4", + "unpackedsize": 2365 }, { - "url": "bin/QtQuick/Controls.2/Universal/Pane.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Pane.qml", - "packedhash": "55f5c702406c616d44b4aabf11292e72c4b442d03100620cf0e536137a553790", - "packedsize": 890, - "unpackedhash": "09eace0320ce3e20ad80d2fb3a9e7e6f1d42c0eb2f84c2ee569af4345f1b28cb", - "unpackedsize": 2312 + "url": "bin/qml/QtQuick/Controls/Fusion/impl/CheckIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/impl/CheckIndicator.qml", + "packedhash": "a92e1d1a81225a720994a8c905ae12171411ed248ebe2ce03b84a6906b8e1d35", + "packedsize": 739, + "unpackedhash": "7c2c0b528c52bd2314a9b0919af0bbe738a3cabc47548d96cccdf6722674c725", + "unpackedsize": 1987 }, { - "url": "bin/QtQuick/Controls.2/Universal/RadioIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/RadioIndicator.qml", - "packedhash": "765107a28319b57488a60b0089b20c4234dbec08fef0c6c169453d8aa41ebe97", - "packedsize": 1074, - "unpackedhash": "e44305cc55790361e327ee9a4e03231070848b9d606f854e6a43638310ab91bf", - "unpackedsize": 3462 + "url": "bin/qml/QtQuick/Controls/Fusion/impl/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/impl/qmldir", + "packedhash": "7703772547021d4930095feb6421fb2930f4e968d96a0ade3b98280cf3d8781a", + "packedsize": 334, + "unpackedhash": "95dcb08d5b16121c24ed90533e98db2c36a5cf4d224d264e69b166bd809f74dd", + "unpackedsize": 754 }, { - "url": "bin/QtQuick/Controls.2/Universal/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/plugins.qmltypes", - "packedhash": "7420696ee8bf829e4d6de0153d60b4b89978ddb00ed9a9208a5c373b51282746", - "packedsize": 2044, - "unpackedhash": "3422578efd36d424686f0fea58a6db6e2be606deb4ca3584143ecd23d9399516", - "unpackedsize": 13897 + "url": "bin/qml/QtQuick/Controls/Fusion/impl/SliderGroove.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/impl/SliderGroove.qml", + "packedhash": "823b456a2f52ceb4103f870c631bc51ee123c3cd5c754ad304283268ddc74c68", + "packedsize": 659, + "unpackedhash": "a35676403d1c5b202c1e969cf3e0b149b633a5ca5f35b104cb9bc0cb0302755a", + "unpackedsize": 2036 }, { - "url": "bin/QtQuick/Controls.2/Universal/qmldir.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/qmldir", - "packedhash": "bae969cee5555c3cf72a012a164edb4c383d72b246e370d3730bfbeaf88381eb", - "packedsize": 150, - "unpackedhash": "1150344edeb157faa029a8d93a79b6c6d80e97b492d67f1ab636efb156e7b19d", - "unpackedsize": 158 + "url": "bin/qml/QtQuick/Controls/Fusion/impl/SwitchIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/impl/SwitchIndicator.qml", + "packedhash": "a9896c8219a4a951ee56efca8c499aad3d8a923f48587dcf0fefd054b693356c", + "packedsize": 930, + "unpackedhash": "41ee2e39f1ece591bc16cf1c4df7bdfba1e92b03d06059cd1f47542e5a7efc45", + "unpackedsize": 3479 }, { - "url": "bin/QtQuick/Controls.2/Universal/RadioDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/RadioDelegate.qml", - "packedhash": "8719ff213d0a410dd55ceed6fb40341349c385f1c80c89e493932df32fb9c91c", - "packedsize": 1356, - "unpackedhash": "a8a0c6e167ca215baccad9e343d11a2f259909c88e3b1dc88adc8b0629d5261b", - "unpackedsize": 4189 + "url": "bin/qml/QtQuick/Controls/Fusion/impl/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/impl/plugins.qmltypes", + "packedhash": "1f2ef90ef16da14f33c5dde9c525e62bda746674869e3ebff4f034f2b5d7c5eb", + "packedsize": 623, + "unpackedhash": "b467b080d451250145fee49e1832ee724c6f5311d85b62012e077e3b9641e818", + "unpackedsize": 2539 }, { - "url": "bin/QtQuick/Controls.2/Universal/Label.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Label.qml", - "packedhash": "df613ca62b0e2780e5679ac0a1092330ece43a58f3667848883c96716d8371f4", - "packedsize": 812, - "unpackedhash": "cc3264de0ef9416c869d7736ee50a30310e267d6ec890f3de741e56a6d3608e1", - "unpackedsize": 2013 + "url": "bin/qml/QtQuick/Controls/Fusion/impl/SliderHandle.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/impl/SliderHandle.qml", + "packedhash": "7cf569819deadff4f8e4f9c1c91bfa953e9949b9b9ade6e5e99e388562e58578", + "packedsize": 568, + "unpackedhash": "de88a9f38077ca317c58bbaffb0f46c0d6c3724d7f69e08e7c32f949dd7a20db", + "unpackedsize": 1522 }, { - "url": "bin/QtQuick/Controls.2/Universal/PageIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/PageIndicator.qml", - "packedhash": "3d5d1019ff8d756905625202c6062ed91b9de9e7675485be2044e74f6f41a579", - "packedsize": 1029, - "unpackedhash": "5b42d3e817dffef20f3328bbb73f89e11e52f32c5359de999d898b09d7747ff6", - "unpackedsize": 2769 + "url": "bin/qml/QtQuick/Controls/Fusion/impl/RadioIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/impl/RadioIndicator.qml", + "packedhash": "cd4c1cc348a64943b2fc45c81d40937e0716ab2c08f7fe630a7e374e26ce0d18", + "packedsize": 606, + "unpackedhash": "edddb6f18043afb2228d3cb9a58bac333ec468b37e1cf68bd27a3b890ab95530", + "unpackedsize": 1467 }, { - "url": "bin/QtQuick/Controls.2/Universal/SwitchIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/SwitchIndicator.qml", - "packedhash": "b19adf893442f43da0f109f70e8702739ee37868c76bec1147cc1c7c56143fcf", - "packedsize": 1174, - "unpackedhash": "b43edacfbc91550236975ce77ce1ec7f0a611e4399c642284bbbc43419e24322", - "unpackedsize": 3749 + "url": "bin/qml/QtQuick/Controls/Fusion/impl/ButtonPanel.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/impl/ButtonPanel.qml", + "packedhash": "2999ecc352232704ee15e84cc6040f85c897785170896f69655f602e010980e7", + "packedsize": 565, + "unpackedhash": "983b94698fa7063f1444433deefe4412c73a43420fea396ff04138046dbc22b3", + "unpackedsize": 1482 }, { - "url": "bin/QtQuick/Controls.2/Universal/RadioButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/RadioButton.qml", - "packedhash": "7507ad7a1b67add7d8ece8c482d2548cf04f8c75cfc7b1d497638c66eeb9688b", - "packedsize": 1142, - "unpackedhash": "d045cac3bb3eb18f555c1ba2e18db8d29f0ba0618e1c031e430d4e0feb3225c4", - "unpackedsize": 3234 + "url": "bin/qml/QtQuick/Controls/Fusion/impl/qtquickcontrols2fusionstyleimplplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Fusion/impl/qtquickcontrols2fusionstyleimplplugin.dll", + "packedhash": "404098ce60ee8609142d3ec92dda399a95fd101a837bab7a50b58d285d6e8792", + "packedsize": 14770, + "unpackedhash": "7c70ac5125a5c90c5d43f86dcec13417f6f9bd4682011d02736e42048f06f79b", + "unpackedsize": 29592 }, { - "url": "bin/QtQuick/Controls.2/Universal/Page.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Page.qml", - "packedhash": "471a5fae626b340d7e514c7c2b29431d7f9a4e63fccd774cd688a76d109cad5d", - "packedsize": 936, - "unpackedhash": "54e4be75e5355be1fe22e0b16c51fb81f974af9fca4c487d78e4ac4ad391b214", - "unpackedsize": 2585 + "url": "bin/qml/QtQuick/Controls/impl/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/impl/qmldir", + "packedhash": "4112834e456aa6cf56292e133be107b97df7164213eaaf19278aa820a464c7ef", + "packedsize": 228, + "unpackedhash": "d968aed9b217c5a95b8a0d3d3f48635302696b9b2f5f7e73ab16e8be6a9fc66b", + "unpackedsize": 295 }, { - "url": "bin/QtQuick/Controls.2/Universal/Popup.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Popup.qml", - "packedhash": "cfe0cfc5e4ddb212a47f41f5721ee5be5aa73b928c41c68b8512142acf9d4183", - "packedsize": 971, - "unpackedhash": "fcd0ccf5fb6e7b20ffb06e7aa4a0f49c18bb6a5c832a5e3b5d0f72eb8fc857e8", - "unpackedsize": 2618 + "url": "bin/qml/QtQuick/Controls/impl/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/impl/plugins.qmltypes", + "packedhash": "24f8e1bc73ceb59578007bd782b382b6e1e376e179488baca005f6aacfd9ef49", + "packedsize": 5529, + "unpackedhash": "9efd42269f4e50cb1db593c22545fe21f16fd7ae5b834e1b8f131fe0dcf61739", + "unpackedsize": 48028 }, { - "url": "bin/QtQuick/Controls.2/Universal/ToolTip.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/ToolTip.qml", - "packedhash": "b7b664c5c065c9063db81956b9ccba446f925f8f093afd6382a63b0ae0c4945b", - "packedsize": 1125, - "unpackedhash": "8c3f4a1ad480b81934a91171c67d61651f39c87fdffef348045d492e6ead32b6", - "unpackedsize": 2919 + "url": "bin/qml/QtQuick/Controls/impl/qtquickcontrols2implplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/impl/qtquickcontrols2implplugin.dll", + "packedhash": "5bebb1d65d0d104d726c46c6f508bfb635cf5e03398c9edbcec4ea6f9a66caed", + "packedsize": 14743, + "unpackedhash": "2ab865e40a67486fb7ea49e50b59008b23dab626970d531921078f268d3f1d3c", + "unpackedsize": 29584 }, { - "url": "bin/QtQuick/Controls.2/Universal/ApplicationWindow.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/ApplicationWindow.qml", - "packedhash": "73a0ce819a7af8e10525486c79cb8ff5812ca4f9f48775ff12b357a6cf5bc03d", - "packedsize": 915, - "unpackedhash": "ee81d32e871bfd35e69f8d16d3fbb532b048b118cd36e86800198939da8aec29", - "unpackedsize": 2442 + "url": "bin/qml/QtQuick/Controls/Universal/Label.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Label.qml", + "packedhash": "f6c99c3583010e0c98ef637b37c2afc3f13b173f0ab963d08a4c9104a3d05320", + "packedsize": 293, + "unpackedhash": "72ea0ec5d3944615dff1814a24e12ed138cd3cc9d5c2ee227002fb72e88f5d7c", + "unpackedsize": 359 }, { - "url": "bin/QtQuick/Controls.2/Universal/MenuItem.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/MenuItem.qml", - "packedhash": "227e20252859b595245fe5b4b35d8ddc173d6316846fcf64a98483169590caf7", - "packedsize": 1493, - "unpackedhash": "ad00ba11bef803203b3b68d08c17d26b4848546847d3edd7802d968a6ecc3723", - "unpackedsize": 5073 + "url": "bin/qml/QtQuick/Controls/Universal/PageIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/PageIndicator.qml", + "packedhash": "c70a3d8b3503c58386fa40e9719861527d9b58a69be7ae1c6e8cc19f7c33df68", + "packedsize": 544, + "unpackedhash": "553ba411460c669aaf514452ae139afbde6debd7967d122b68072c355338501a", + "unpackedsize": 1130 }, { - "url": "bin/QtQuick/Controls.2/Universal/CheckDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/CheckDelegate.qml", - "packedhash": "944bb7d99a63b2bb2d4c3d25cef465330464d860054cc3da8bc79ca55f9d0433", - "packedsize": 1356, - "unpackedhash": "cca48ad0b22e517ac4487713563498ef4c742773e9523667fb89ea16ce1f5384", - "unpackedsize": 4189 + "url": "bin/qml/QtQuick/Controls/Universal/Drawer.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Drawer.qml", + "packedhash": "6031f6e6d9534424e01255451070947bd3622bc4dbbe1d4b588a3723b0ffb451", + "packedsize": 621, + "unpackedhash": "7c3e519a8ff6321c630c9c2f14bd9122dbe4a37581299914d2ef0cd8e55448fd", + "unpackedsize": 1587 }, { - "url": "bin/QtQuick/Controls.2/Universal/TextField.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/TextField.qml", - "packedhash": "aa521f75b1676b5cf06e2091feae87ec2bb0b9c2983dc021943b83f1f35e638b", - "packedsize": 1385, - "unpackedhash": "bc9be32033ec2ef5c9ff140d7f21d12b293557df6fd285cf467e7ad895d20e53", - "unpackedsize": 4319 + "url": "bin/qml/QtQuick/Controls/Universal/ToolTip.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ToolTip.qml", + "packedhash": "ed213a3b1b29f3a28fa0912bebd46fd179947a26832d6093742534dd9284c13a", + "packedsize": 621, + "unpackedhash": "d724b6fe6c47c06438c1c405f874eca652761decd1b861c86350f68dde1a6a1c", + "unpackedsize": 1240 }, { - "url": "bin/QtQuick/Controls.2/Universal/Menu.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Menu.qml", - "packedhash": "6197c56db261eb0cc21aafcf67a83b8c3d114b8a2a40cc327b55f517e011aceb", - "packedsize": 1140, - "unpackedhash": "ba728fe4c754fca8a6d9b1a08a114928fe28a0febf947df3b9eeb46058add387", - "unpackedsize": 3188 + "url": "bin/qml/QtQuick/Controls/Universal/ProgressBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ProgressBar.qml", + "packedhash": "4ec314fdb00ccb715efcfdb4d8d9bf1aee3a226f977e1678d3f10ae2f5235dec", + "packedsize": 515, + "unpackedhash": "1745120ba9d39441d1d94d1dfc377105d17ba55eaa7bad1c74f86a7bc34a3621", + "unpackedsize": 1103 }, { - "url": "bin/QtQuick/Controls.2/Universal/Dial.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Dial.qml", - "packedhash": "60991ab30544862162b7ee65a8d1679f3026b583c85de4dbac8b79be8d04ff81", - "packedsize": 1175, - "unpackedhash": "ca78f83176c643caac68aa49ddfe09302b5acbba09caed32804925afb356c0f5", - "unpackedsize": 3648 + "url": "bin/qml/QtQuick/Controls/Universal/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/qmldir", + "packedhash": "1f6671772e750be59eb200f0a49faecc6561f98cd84f20d4d84128cd2b5d242d", + "packedsize": 807, + "unpackedhash": "e40ba24439fc9e59f3bd704a46b1ad59138002c3d2f7643bf026dc98d8de5c43", + "unpackedsize": 3427 }, { - "url": "bin/QtQuick/Controls.2/Universal/RoundButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/RoundButton.qml", - "packedhash": "4b458f87d80f636558d31b1a5b0dc45849de0ca679c736b2b8fab8b0b2d33b00", - "packedsize": 1246, - "unpackedhash": "4830165063cea46830fe37ddef5695a1372f3adce5b40cd97a17753904e3d091", - "unpackedsize": 3650 + "url": "bin/qml/QtQuick/Controls/Universal/ComboBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ComboBox.qml", + "packedhash": "df448676ee857b721e7b92aa647b68602d80941d8a9e9cec8272bfd3a2e8e90f", + "packedsize": 1526, + "unpackedhash": "63c06ce350c524b98c00ebbed06c20183a882ff90d2b6c3207c7047b52db02ad", + "unpackedsize": 5333 }, { - "url": "bin/QtQuick/Controls.2/Universal/StackView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/StackView.qml", - "packedhash": "c38697ea343cd7dd3414a9fbd3e21236ff1374aa6f0368a08daf265647082d17", - "packedsize": 958, - "unpackedhash": "1fb2c1779f30b431d2bff35948db799ab409528f39742f2325bf5601e5edb7ec", - "unpackedsize": 3388 + "url": "bin/qml/QtQuick/Controls/Universal/ToolBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ToolBar.qml", + "packedhash": "5574b234589acc82ff20fbeabe1924b7818b7b60052d71426503ce230939ccd5", + "packedsize": 407, + "unpackedhash": "5d124f522e77b8ac781c1b134e7f2303455b4da6f86e56aa9a40daddeb3d02b8", + "unpackedsize": 699 }, { - "url": "bin/QtQuick/Controls.2/Universal/ScrollBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/ScrollBar.qml", - "packedhash": "91fa4911f633e7c1b5e1a775113fc4dc40094bddcca3f2e2417d75677641bd4d", - "packedsize": 1269, - "unpackedhash": "d3a2c52a2b4e31c545eabe98223abb046a420b46fb933ffac4785014d3baf58d", - "unpackedsize": 3798 + "url": "bin/qml/QtQuick/Controls/Universal/SwipeDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/SwipeDelegate.qml", + "packedhash": "fe44127a2a302f957341e8108da6c519b84628515a8d42122c180a3ea03b0de7", + "packedsize": 820, + "unpackedhash": "484d781374d7439cb7f5001afa5a4de3f464e781e9f61ca8677615bdfce6d830", + "unpackedsize": 2118 }, { - "url": "bin/QtQuick/Controls.2/Universal/CheckBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/CheckBox.qml", - "packedhash": "7ae513aea628c12828c62ca9078c1a30ebbae5ef3a5c8fecefe32390074404f3", - "packedsize": 1140, - "unpackedhash": "5d949874d613c39f067e6c8aedced87c89041d812c82c8c9c99a940fbbbe6dd0", - "unpackedsize": 3231 + "url": "bin/qml/QtQuick/Controls/Universal/SplitView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/SplitView.qml", + "packedhash": "3c8601f606ac3081f5d77b38699a76bdf58e2d7cd829b8d3744db6a1cc4f3c6e", + "packedsize": 492, + "unpackedhash": "34cddd23c94fd3d4afea23de38bb8ee4596526a2a53b177db327ea70547b632c", + "unpackedsize": 996 }, { - "url": "bin/QtQuick/Controls.2/Universal/MenuSeparator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/MenuSeparator.qml", - "packedhash": "024806ddae21e2886f2f1932dac11b66a89dcd9b95e2715a1a45190427e1caa3", - "packedsize": 945, - "unpackedhash": "be42d1bc196ba6e2849c0b536f5b8b9532cf9a212b8838e88c431e3135f040cb", - "unpackedsize": 2533 + "url": "bin/qml/QtQuick/Controls/Universal/Pane.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Pane.qml", + "packedhash": "e134e55ba88215532846b1a6acc6c12188c7539f00ae00538b9370760a235b30", + "packedsize": 377, + "unpackedhash": "a3a0779c9bd18517c558260ab5479fca3fc2529754f845808f6dad63ac2b0f7f", + "unpackedsize": 651 }, { - "url": "bin/QtQuick/Controls.2/Universal/BusyIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/BusyIndicator.qml", - "packedhash": "1a208a9236ca13296f889814bfffecb3030aa1fbfc3ebb1f8f56ebb08c73468c", - "packedsize": 1002, - "unpackedhash": "2bc48326ff3f96c9b45bdb9f40d58c4247f0a3faed1b6162053e62900db29681", - "unpackedsize": 2614 + "url": "bin/qml/QtQuick/Controls/Universal/qtquickcontrols2universalstyleplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/qtquickcontrols2universalstyleplugin.dll", + "packedhash": "c127bfa97fba90b9a1af1ec8892a525d9521dddfa60cdfd446eb330e6f1b3c2b", + "packedsize": 15051, + "unpackedhash": "3ecc30b9210d4632291242f93c8df929387f7267436e6695264d73735f5d09c8", + "unpackedsize": 30608 }, { - "url": "bin/QtQuick/Controls.2/Universal/Drawer.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Drawer.qml", - "packedhash": "33efcc7e2baaad369e91e4a9c01b8f8207000f6e528876c6ab1f324e0498334d", - "packedsize": 1124, - "unpackedhash": "27db95473d7270b21036e7f7e5eea66f63d606e134cd3c7a108dc398929670ad", - "unpackedsize": 3272 + "url": "bin/qml/QtQuick/Controls/Universal/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/plugins.qmltypes", + "packedhash": "1b8576ec2ea247fd0fbef9a698d09d60c90ff6f269b0d6808b6477dc0d1f6db9", + "packedsize": 1158, + "unpackedhash": "1a62f7e28aa72222715d3a62c41938945e3148fbda2b1a869512bc3a97dac9fd", + "unpackedsize": 8862 }, { - "url": "bin/QtQuick/Controls.2/Universal/TabButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/TabButton.qml", - "packedhash": "19f28323fdf13b6e32f4f6900a4bc8486884392df43474eff49d7d3ccfb11c17", - "packedsize": 1071, - "unpackedhash": "13c688005a1d38a943e4c971814067e388f5288f1eaf253244ee444e4456f967", - "unpackedsize": 3082 + "url": "bin/qml/QtQuick/Controls/Universal/Slider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Slider.qml", + "packedhash": "405ac1bfc88378bd3e4fb05d3511231846d25064a19bb414fbe40f4823862d39", + "packedsize": 796, + "unpackedhash": "ab5e1eb18a3799bce5ed38d2ddef422ba39ae2c389a5435379855f8d9eaf2462", + "unpackedsize": 2966 }, { - "url": "bin/QtQuick/Controls.2/Universal/SplitView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/SplitView.qml", - "packedhash": "bc12350247322d24618dbdb2c6b9e662be1139b1e980bc441d97560d80c458eb", - "packedsize": 992, - "unpackedhash": "b05da2f982432d6bee7604dd04e0e8ff5d5cd160e4156a71c27ab7f1d7fc619f", - "unpackedsize": 2682 + "url": "bin/qml/QtQuick/Controls/Universal/VerticalHeaderView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/VerticalHeaderView.qml", + "packedhash": "06dded3e285dda0411bf0b0faaabee3e381a3bbc48eeaa587ab30141d53b1f41", + "packedsize": 798, + "unpackedhash": "07e8e5c8335bfd51be32690d0162933e031cee077768294b6e62304e16d459ce", + "unpackedsize": 1609 }, { - "url": "bin/QtQuick/Controls.2/Universal/MenuBarItem.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/MenuBarItem.qml", - "packedhash": "be7fce2d03054be4420fd32650fca22e225f3030b0f287a593beecfcf9b3a9a2", - "packedsize": 1221, - "unpackedhash": "ac73f4e0dfbfb169bdd0ee604d3da70a935c813262f49117e9d9ef7cef9c460c", - "unpackedsize": 3579 + "url": "bin/qml/QtQuick/Controls/Universal/SwitchDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/SwitchDelegate.qml", + "packedhash": "9d9b055fcdf9c6177afbc6d30d8e372ccc086c1741a6079bf7ab48520719c0a9", + "packedsize": 862, + "unpackedhash": "c1adb7c235aacf2c5d95665ef7e5fa6506cfe56364f54c3eb6b0cac71a22849a", + "unpackedsize": 2461 }, { - "url": "bin/QtQuick/Controls.2/Universal/VerticalHeaderView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/VerticalHeaderView.qml", - "packedhash": "dcccadf7c4677d27d45a97b1d095a925bde4fb8db3af50de5661eaa70b6d92f9", - "packedsize": 1116, - "unpackedhash": "feba09ac8f1b9cbda59d0eac4ab68446414c0720a6fee19351fe1ca1a12612e0", - "unpackedsize": 2996 + "url": "bin/qml/QtQuick/Controls/Universal/DelayButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/DelayButton.qml", + "packedhash": "74e2a04aa9b7c9e508c7c771a75afc3b6f33bf95bac61d31ab97361c31a39597", + "packedsize": 772, + "unpackedhash": "d11d1a2fd0536f3cf0816341a46c179425ba879bd4cd97820d0898969cacf9ee", + "unpackedsize": 1907 }, { - "url": "bin/QtQuick/Controls.2/Universal/DelayButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/DelayButton.qml", - "packedhash": "bd898cf22a2ab6d2d52602b79241c179608ea131c8cd195ecaa866cc4f61a7d8", - "packedsize": 1268, - "unpackedhash": "06ab47615a79986d559a5cb7fa39b6d54d12dbe67c4aec1265345b30459afb27", - "unpackedsize": 3597 + "url": "bin/qml/QtQuick/Controls/Universal/ScrollView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ScrollView.qml", + "packedhash": "70b144d74003978f260f3c4a92653d17bb6b3e6c0c22e07c8bffe543ef00c1f8", + "packedsize": 465, + "unpackedhash": "5744512d0163200f17ee614036412b66b355eeda442b4843f6ab1a31a8b1f07d", + "unpackedsize": 1024 }, { - "url": "bin/QtQuick/Controls.2/Universal/ItemDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/ItemDelegate.qml", - "packedhash": "3464f4fe368c97e172f2fef6fcd8d80e39b1d79401967653b8f3dcc590acf3ea", - "packedsize": 1251, - "unpackedhash": "2bbe9e32ea491caa7bbce03064cb3e9329d660a01e107cd6be2ad62bd4778fe2", - "unpackedsize": 3649 + "url": "bin/qml/QtQuick/Controls/Universal/MenuSeparator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/MenuSeparator.qml", + "packedhash": "83a36f1be0ed365e9cf0775c5bee4b63aa582083e1e3853977ca67b604b2b63e", + "packedsize": 439, + "unpackedhash": "273a37cf26ac061de2cb47b31ad32af3c0f16debe5299964c66d8355bb9b38c7", + "unpackedsize": 864 }, { - "url": "bin/QtQuick/Controls.2/Universal/Switch.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Switch.qml", - "packedhash": "b5d3407789abbe9a209d063b9de88cf789adb7f96800df69ad726f1ca112fd6c", - "packedsize": 1139, - "unpackedhash": "41d3a1564f0df044a541cbcf96cce0404c6909b198c18b5f7a6b079e766edbcb", - "unpackedsize": 3230 + "url": "bin/qml/QtQuick/Controls/Universal/GroupBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/GroupBox.qml", + "packedhash": "55991fc3c335f727792b4febf188b7c3610efeff91d4d89e1748216bc06c9578", + "packedsize": 611, + "unpackedhash": "0b6ca748bb35817ed7ead7923e0b9375f71602206f5b3ad0f91b7fa448eaf690", + "unpackedsize": 1349 }, { - "url": "bin/QtQuick/Controls.2/Universal/HorizontalHeaderView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/HorizontalHeaderView.qml", - "packedhash": "e63dd8350c17069f094593869f7e9fa4a6661bb6c92a311f4c8e0105a3a706bc", - "packedsize": 1112, - "unpackedhash": "7359789f86ae8789f63acf3566662275ceea14cd2f973cf4e9724c13408d7073", - "unpackedsize": 2999 + "url": "bin/qml/QtQuick/Controls/Universal/HorizontalHeaderView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/HorizontalHeaderView.qml", + "packedhash": "9a4960ef02466633cda9c1e03ddc0fd9b22c96fba951fc607b27223e19b14019", + "packedsize": 797, + "unpackedhash": "15d0d4ba073af5078d7e2fb0ae79e48bffd2167d622f159828c4442b63a5889a", + "unpackedsize": 1618 }, { - "url": "bin/QtQuick/Controls.2/Universal/Tumbler.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Tumbler.qml", - "packedhash": "9507d28f9489ce1985645f6b7887cab62dd130eb6cb5e003a9204ea9035586bc", - "packedsize": 1190, - "unpackedhash": "3b17958a4addbd57365b0ee41add4f3f80f1ceb35c9e8ff1268e706b7aee6ad9", - "unpackedsize": 3319 + "url": "bin/qml/QtQuick/Controls/Universal/CheckDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/CheckDelegate.qml", + "packedhash": "f3c6eda01ef4ca585a8b634c612c9f8f17c61c13cce73c5b0598d4a2cfc0044a", + "packedsize": 860, + "unpackedhash": "c5d6893db1af7b688ea6fec5603e92cd81b596d155cb0721ff9d0ab7d6f675f3", + "unpackedsize": 2459 }, { - "url": "bin/QtQuick/Controls.2/Universal/Frame.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Frame.qml", - "packedhash": "303a88a580448bd655b2c150df9f23333faaeb8394e21f236f235ff6b673492d", - "packedsize": 923, - "unpackedhash": "7a4e835e35b97a4ee774042c45dbd1b1250d80141d351734243c2fd25f938eff", - "unpackedsize": 2362 + "url": "bin/qml/QtQuick/Controls/Universal/ToolSeparator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ToolSeparator.qml", + "packedhash": "00412ba4222f5407c488e27ec2e2a5908d7d18560fc43259ed9909d11be67f45", + "packedsize": 457, + "unpackedhash": "e4abf27d26dab355b1c3a17fcb707648b90b5ad7cbdb1b3a83923e987d83c4f5", + "unpackedsize": 914 }, { - "url": "bin/QtQuick/Controls.2/Universal/TextArea.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/TextArea.qml", - "packedhash": "39a7fa627ab6c3d8711ec306576cf6ac4dcf83a1312f7c129d21812047b283f5", - "packedsize": 1365, - "unpackedhash": "541e88fa989e7d56961e7969645e4da4004bab7342d9be5a53452c716b05381a", - "unpackedsize": 4336 + "url": "bin/qml/QtQuick/Controls/Universal/CheckBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/CheckBox.qml", + "packedhash": "4af28bcb7c1fe9624508098f6c1383b886b80bf6b2de34de680577f2ae5802c1", + "packedsize": 638, + "unpackedhash": "1f8e563a0ee31e1aaa4a5196359b2ccfba0f86c7f38a641c6bfdc31cd4f51463", + "unpackedsize": 1545 }, { - "url": "bin/QtQuick/Controls.2/Universal/Button.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Button.qml", - "packedhash": "0cada9d4df288f5c2fe928e0bc0d9c68148cb800ff96938595fa71e80c35841c", - "packedsize": 1245, - "unpackedhash": "0bad423b02c2011707a175a5a0419012d76cb347564e2b755d1556332cfeea5e", - "unpackedsize": 3611 + "url": "bin/qml/QtQuick/Controls/Universal/Page.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Page.qml", + "packedhash": "7c5c851a2626100fc6563543ff166c0f38d733c0f7a52022f41e649b8a8b0f75", + "packedsize": 424, + "unpackedhash": "b9b0ef7f2fd8fa930eef2ebd2848f2d30e45272200fb47c2a635cade53f990e6", + "unpackedsize": 922 }, { - "url": "bin/QtQuick/Controls.2/Universal/RangeSlider.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/RangeSlider.qml", - "packedhash": "a6420f31e3f73f2c648610948c01cc326047644660a10cb8b4fed7cfdb76c552", - "packedsize": 1335, - "unpackedhash": "c6ee80aa856f618c3feb777eb96c329ae7b57d2c53d990bc34548b4ceab68c98", - "unpackedsize": 5735 + "url": "bin/qml/QtQuick/Controls/Universal/SelectionRectangle.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/SelectionRectangle.qml", + "packedhash": "f93c2ead155be12fa184eb0c9bd1c8f703cf45f796f15834c46351bc948e666b", + "packedsize": 477, + "unpackedhash": "45e81eed45093c4ba69dc7f7c27d3bce05df8e40ea7fe7ae6a3bb2110dad78fa", + "unpackedsize": 983 }, { - "url": "bin/QtQuick/Controls.2/Universal/MenuBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/MenuBar.qml", - "packedhash": "704ff4461af4fe2c61f89b529390f12130c11357b2bf8eb96ffcf395a2add517", - "packedsize": 970, - "unpackedhash": "c76e6d27c2e549924d626f3035e50c6acb5c80c1e27f6f2e563dc8b7ad07dc09", - "unpackedsize": 2568 + "url": "bin/qml/QtQuick/Controls/Universal/TabBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/TabBar.qml", + "packedhash": "d63f9014db26bdd7ae4528254f3feb591b206f795f961fab4b02ab69aec14a19", + "packedsize": 583, + "unpackedhash": "eb301a1fcd62ace399b67a081bf7102428fd80eb7f6351e9748e99cfc27ee964", + "unpackedsize": 1182 }, { - "url": "bin/QtQuick/Controls.2/Universal/SwitchDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/SwitchDelegate.qml", - "packedhash": "88c9eb16802b47c3e80afc5bdbac7846dba3eb0a12ebb57d5b593bd26b5249a9", - "packedsize": 1358, - "unpackedhash": "6183952a78e9513f90343244ff7fb94ed71fc24329533fbcf983f13a73805e0b", - "unpackedsize": 4191 + "url": "bin/qml/QtQuick/Controls/Universal/TextArea.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/TextArea.qml", + "packedhash": "a7e11c5edf66149283e70fc4ae5c9c064b18492e3b8c4bb1f5faafaa32914c11", + "packedsize": 868, + "unpackedhash": "3819788d39b995267032db84a6db5bc462703f7f29b6122faf59ffb081fca088", + "unpackedsize": 2601 }, { - "url": "bin/QtQuick/Controls.2/Universal/SpinBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/SpinBox.qml", - "packedhash": "0e4c59ca38bf33878d5c31c264fb21f5dfba78fadfebf89d49a681b634c52887", - "packedsize": 1718, - "unpackedhash": "44b096b4415e7cb19082f58086e0f5e1726694f206a4364872a3c360953d7052", - "unpackedsize": 6648 + "url": "bin/qml/QtQuick/Controls/Universal/Frame.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Frame.qml", + "packedhash": "b1499eb3147a7301c8308b6bd05781323adc330594a79ed1477802024064630f", + "packedsize": 412, + "unpackedhash": "c6f23c5ea1cb80b3ff7cd5f08700872558213f960611740a738824cf8c12c522", + "unpackedsize": 700 }, { - "url": "bin/QtQuick/Controls.2/Universal/ProgressBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/ProgressBar.qml", - "packedhash": "d67485aa5c2c42700828b683c847909d1c2e3d3e2c255edb493b99a66e853c1d", - "packedsize": 1024, - "unpackedhash": "cabad8f6559ef0a38d87a5c7bf8504c3448b8364fcbb8ca4810198d34e74ff94", - "unpackedsize": 2783 + "url": "bin/qml/QtQuick/Controls/Universal/ApplicationWindow.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ApplicationWindow.qml", + "packedhash": "e9ed8ae23ab0ca67442d5d4caeffb43a7039c6453f1dce94ad910e8a351856b6", + "packedsize": 370, + "unpackedhash": "434c1436e8bacbfc0bd1a0d23fe0e77255656d8edaa83753cef10636e5f4a9e6", + "unpackedsize": 594 }, { - "url": "bin/QtQuick/Controls.2/Universal/ToolSeparator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/ToolSeparator.qml", - "packedhash": "f81c19ee9d24467ec7ccded6123e946875bde78540382f3037464e6ed5ad1369", - "packedsize": 961, - "unpackedhash": "42fb514cd92c9c87a80ede4bd648758cf54f74cc05d3338ab76326fbc4d09a1f", - "unpackedsize": 2564 + "url": "bin/qml/QtQuick/Controls/Universal/DialogButtonBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/DialogButtonBox.qml", + "packedhash": "4b0813ad2fb638f8d92f24c00b2d6d841e3a2f9fd8b594041b0bc5cf2158bb63", + "packedsize": 729, + "unpackedhash": "bb0b5872311568ef9b5190f86830801725bf3d3ffaf8f25b6f20dbf96028b6cb", + "unpackedsize": 1541 }, { - "url": "bin/QtQuick/Controls.2/Universal/ScrollIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/ScrollIndicator.qml", - "packedhash": "e21c2f387a45bcd17b623d6c4302f9e14e8ab6869e0897c19003042eb93a5cb9", - "packedsize": 1088, - "unpackedhash": "31409dc791ab9690f9acb1c5581c9eaa60187c12169a249030ec0a22d07add69", - "unpackedsize": 3070 + "url": "bin/qml/QtQuick/Controls/Universal/ScrollBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ScrollBar.qml", + "packedhash": "3d16e2520090838b447b322112d45b4f6c2e34ee43d76c2bce0444b60bd58c17", + "packedsize": 777, + "unpackedhash": "87db396e27c50e22ae561480f216c6ccfe33648d2c981d3ce073de9c197ad1b6", + "unpackedsize": 2125 }, { - "url": "bin/QtQuick/Controls.2/Universal/qtquickcontrols2universalstyleplugin.dll.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/qtquickcontrols2universalstyleplugin.dll", - "packedhash": "ae624820a433169d7244e33c05a6785f8bda43790f8df71b2a021bf6435eae75", - "packedsize": 51948, - "unpackedhash": "404dba2c21392e504edc718f43f08c21d811343908d3462a1364466505b9a9e8", - "unpackedsize": 224144 + "url": "bin/qml/QtQuick/Controls/Universal/Button.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Button.qml", + "packedhash": "00e131a1e63c83726941bb705e8790188719c8ef05f55205f2a04fe563f63854", + "packedsize": 743, + "unpackedhash": "c1c51d992c442823b96901deea104f712c72aaed37a8dc3b66cd0816d060b15c", + "unpackedsize": 1891 }, { - "url": "bin/QtQuick/Controls.2/Universal/TabBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/TabBar.qml", - "packedhash": "395430b4c96da263ea4df16863bf2ea1f68a6820b9fc6ef9ee41487dc5447395", - "packedsize": 1090, - "unpackedhash": "2ed1060c8e0886e36ef63b9f3a401d75e97ef54c16f2a9f3b2dd8463d013a014", - "unpackedsize": 2859 + "url": "bin/qml/QtQuick/Controls/Universal/Popup.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Popup.qml", + "packedhash": "c9f337e0dffeff6bdb19e2d5830cc56da9d49aff943e7da5fe8569b1e4530dee", + "packedsize": 462, + "unpackedhash": "700885d035463f0b9f1a47884e63ec0436e7d8407af7b1a691b15aae355c66f5", + "unpackedsize": 947 }, { - "url": "bin/QtQuick/Controls.2/Universal/Slider.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Slider.qml", - "packedhash": "cc4a61d79fb002c80e73054ea6863ff9b0e9c35e64a800871e601131c7eeb7d2", - "packedsize": 1284, - "unpackedhash": "4e25e9c7bf52800675d934bb24b5f2bbc7bee91f0b139cae6f934d453e354ea7", - "unpackedsize": 4658 + "url": "bin/qml/QtQuick/Controls/Universal/MenuBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/MenuBar.qml", + "packedhash": "826a773e802212dbb4a4df4a501cd9aeba191be7cdbca707f70c1847ddaa8ef3", + "packedsize": 459, + "unpackedhash": "faa746fafa2ba79b3a9c694024822ed9d31fda0a55eb39f00a3e44ce4053ae75", + "unpackedsize": 863 }, { - "url": "bin/QtQuick/Controls.2/Universal/DialogButtonBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/DialogButtonBox.qml", - "packedhash": "ae043aad751b47b4279e407964f0fdb95a7b59a282933b122abe903e05a59a7e", - "packedsize": 1178, - "unpackedhash": "e64ee9833e08d9e2c50ab44889748890b82dfb759a4b4d02599a7ef915f991dc", - "unpackedsize": 3141 + "url": "bin/qml/QtQuick/Controls/Universal/TabButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/TabButton.qml", + "packedhash": "bb42a25d715d68d3151c8c321ce126c9c4adc518f9f5deafdd14f12800f7f328", + "packedsize": 577, + "unpackedhash": "42d27355f692c13a40405702cc7647bdc8a78ddb068f5ff45914c14ce33965b4", + "unpackedsize": 1395 }, { - "url": "bin/QtQuick/Controls.2/Universal/SwipeDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/SwipeDelegate.qml", - "packedhash": "72d5e75e964a152d694db3451bbdd2a72891ad618be332e09cf4a42364b0e095", - "packedsize": 1315, - "unpackedhash": "a1845b21f9fb5163e00dbe0c2eb6761930dc15cbd04d29c624fd0774849a81be", - "unpackedsize": 3841 + "url": "bin/qml/QtQuick/Controls/Universal/RadioDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/RadioDelegate.qml", + "packedhash": "45322294792e894c8ca529610a58a062c52a154ccabdbb20f13f5996cde4954c", + "packedsize": 860, + "unpackedhash": "28f3477c367b54f32fc3bb8844faca56f97b6eaf6618d77463cc8d913bf8e3d7", + "unpackedsize": 2459 }, { - "url": "bin/QtQuick/Controls.2/Universal/ToolBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/ToolBar.qml", - "packedhash": "52ca5f6af15cdd0e0f2a9c2f806f0422bf3ebc8206da64a99a0a3ff7b75b7f17", - "packedsize": 918, - "unpackedhash": "31519e86e9522627c42b95685226213ced9ec312997a00d5529847009e0e6789", - "unpackedsize": 2359 + "url": "bin/qml/QtQuick/Controls/Universal/Dialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Dialog.qml", + "packedhash": "2415c62c7bc2ba3c737716e1fc9199f5669ae4b550668903a0f87f7aa94d89a5", + "packedsize": 705, + "unpackedhash": "f08bce7c2e1ea045fdbb00d7b051188ba51ceff53366467cc4d1979414768237", + "unpackedsize": 1817 }, { - "url": "bin/QtQuick/Controls.2/Universal/Dialog.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/Dialog.qml", - "packedhash": "66d0b95924275846f674e28114e9b47e111b76657938447969ce09acd5562b2f", - "packedsize": 1209, - "unpackedhash": "00740bc73b27262b9f14003a5c86854596f2606fd1f0e20941e007d6a64d678e", - "unpackedsize": 3544 + "url": "bin/qml/QtQuick/Controls/Universal/Dial.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Dial.qml", + "packedhash": "845c5a07098f4b55273218a618a433f5dc143924f263017ef60bcac461606ea9", + "packedsize": 662, + "unpackedhash": "d1891c176184c776af7ec8ca5c9f06605b701066078b205ceeded3b5b18163c1", + "unpackedsize": 1943 }, { - "url": "bin/QtQuick/Controls.2/Universal/ComboBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/ComboBox.qml", - "packedhash": "552e0b50d88ffca6cd176f416a917de0b2d7161d1b3294cc9f1cfc3450934205", - "packedsize": 2003, - "unpackedhash": "300f8a895a7691d353cc890f64bf2d09e84d77f1e1cfd4c6bb181ad8d963bddc", - "unpackedsize": 7147 + "url": "bin/qml/QtQuick/Controls/Universal/Menu.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Menu.qml", + "packedhash": "39d235ad655dd4da9b90468ad2e86d01085887c6c78aee6ed879bebceab43ac4", + "packedsize": 632, + "unpackedhash": "997672fbaac245e83bb8942ea0007555d079ea1e7634308b82a1ad3f627f0449", + "unpackedsize": 1452 }, { - "url": "bin/QtQuick/Controls.2/Universal/CheckIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Universal/CheckIndicator.qml", - "packedhash": "31c8ae542d66c3c6af8b47a80d773a8669ebd3d4421214c2370dfcb88db2372f", - "packedsize": 1216, - "unpackedhash": "d1a8c5bb4368d063188614f256104d10b51d0ad1932b3b12e7e5f5022be718e1", - "unpackedsize": 3964 + "url": "bin/qml/QtQuick/Controls/Universal/Switch.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Switch.qml", + "packedhash": "9a5159e604e6d6b4cb5e2ce74fc9e799c7847462c19c09d3a328398cb041d4c6", + "packedsize": 637, + "unpackedhash": "ef01a81ddec31e255e99c083c7936bae881ac4c1d7e851c41c82bc8138fcc4cc", + "unpackedsize": 1544 }, { - "url": "bin/QtQuick/Controls.2/Imagine/GroupBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/GroupBox.qml", - "packedhash": "dfd8ef0966505f7b3fa1899000577e243cdcad50925185d1bbf2bc440040f67f", - "packedsize": 1254, - "unpackedhash": "bdfa5326696f4c08cc74cbfa895e97f0c95be74b3e2aa73af5b25005bc0a2462", - "unpackedsize": 4014 + "url": "bin/qml/QtQuick/Controls/Universal/RoundButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/RoundButton.qml", + "packedhash": "2fd14ce2ce3e36c02d5af0dd2fd161e4f39dde9eee60d297b5904a0438de8676", + "packedsize": 744, + "unpackedhash": "0f9b601705b40058cd8b19d7ed88929987c560f52fa9fc7f211357fc2ed05f5b", + "unpackedsize": 1929 }, { - "url": "bin/QtQuick/Controls.2/Imagine/ToolButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/ToolButton.qml", - "packedhash": "96afaefaefb3d1d334a7ddadd2ffc41d2eb6d51ad2ebe645a4b07278397a3b7d", - "packedsize": 1235, - "unpackedhash": "394bdc672a6d840601724f96013125f1cf56d76eacc7c4ec9c380cdc0d4a2bb5", - "unpackedsize": 3830 + "url": "bin/qml/QtQuick/Controls/Universal/Tumbler.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/Tumbler.qml", + "packedhash": "fad74025b778110a5f09ed5362835ba9c9a193c35b7bfaef085cb569521f20b1", + "packedsize": 679, + "unpackedhash": "4ad7de1a455302a5d91daa00a0b23294dff47b9a135dd278e1c34cb11870791b", + "unpackedsize": 1615 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Pane.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Pane.qml", - "packedhash": "1d718536f6af6ddb57372d81c71cce3a1dd64eb0e8d9333c21e334019a53b750", - "packedsize": 1037, - "unpackedhash": "98f970085ef9172e50cf41691721140aa8e1918e6abeab3158217640417b20e0", - "unpackedsize": 3017 + "url": "bin/qml/QtQuick/Controls/Universal/SpinBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/SpinBox.qml", + "packedhash": "3f84ec904f748f73822517e8d66007abf8140a5d58781603a24ff5afb7c865ef", + "packedsize": 1260, + "unpackedhash": "462dddf3d48215c2ed85bdeb5ba266af4910b5e2e3f2b6697e170e5471140ba6", + "unpackedsize": 4871 }, { - "url": "bin/QtQuick/Controls.2/Imagine/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/plugins.qmltypes", - "packedhash": "64005d96a0f737e93810fcd04d9b2b96bf7c7a667aeb7916f826198bbf7f28bb", - "packedsize": 2084, - "unpackedhash": "04f4157e80d7d4e5b6ec8d9c88759d162efbfc81a90491dc14dc203a1f01b6c0", - "unpackedsize": 13648 + "url": "bin/qml/QtQuick/Controls/Universal/BusyIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/BusyIndicator.qml", + "packedhash": "a7e57ecc550f48bf6e9ca217997594cabc15a5a22722881b79ba52607f68a6e2", + "packedsize": 492, + "unpackedhash": "c7d3c791f386ed5362248f98a9720a65228903cfcbfccec2473b82fccbc79ef2", + "unpackedsize": 942 }, { - "url": "bin/QtQuick/Controls.2/Imagine/qmldir.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/qmldir", - "packedhash": "b47ce7f2d64b0f7e79c8421782af60a7e0572de6221bcc293d554db5e3d84210", - "packedsize": 167, - "unpackedhash": "f1e647a9813764ad9bbd0f1cf1c24161dcb6f8828c3d08907f4b0232c750b1d4", - "unpackedsize": 184 + "url": "bin/qml/QtQuick/Controls/Universal/RangeSlider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/RangeSlider.qml", + "packedhash": "d2cc792ebbe0c66d057d9b39fc0b38c44766460168d9beeddb2fc4b0355c8150", + "packedsize": 842, + "unpackedhash": "8619975d27f0544af589d156a9b7de34da4b2e1dc37a4a1a62f027e04ca43ec1", + "unpackedsize": 4030 }, { - "url": "bin/QtQuick/Controls.2/Imagine/RadioDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/RadioDelegate.qml", - "packedhash": "9adce7a6fa40bf297dfa9c03896d03465f4d59f0b9fa530b7b299e7602a9f885", - "packedsize": 1377, - "unpackedhash": "b2893c46fde5d274d881c50bdba4b1edb739efc461c61ee4aa82f97af6490ac1", - "unpackedsize": 4820 + "url": "bin/qml/QtQuick/Controls/Universal/ItemDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ItemDelegate.qml", + "packedhash": "2d821e3c3fd71b58901eed6dc280324657f0e65d9c00a94568b5b6a4b1d37280", + "packedsize": 753, + "unpackedhash": "b8bfec80e78cc170a196ec4ffeb0902593e047676697699fbae8b9c166410f91", + "unpackedsize": 1934 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Label.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Label.qml", - "packedhash": "1899b0cf9988cb6fca646722efdc3fabbabf4e9222b41e71e0322a8ffaf62e50", - "packedsize": 963, - "unpackedhash": "89692fbab9d2574e58680029b8108451693e60e905ba59e12bbb206d08fc4124", - "unpackedsize": 2598 + "url": "bin/qml/QtQuick/Controls/Universal/MenuBarItem.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/MenuBarItem.qml", + "packedhash": "862248d476d88dd04c8ba25cb54400350d434d02cc6d53ac8e7a41db75d01d26", + "packedsize": 715, + "unpackedhash": "f892ee268ea5e0f0ae3990576bcacc5dcef1331010a1477e3ceadb6ba96b7d2f", + "unpackedsize": 1847 }, { - "url": "bin/QtQuick/Controls.2/Imagine/PageIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/PageIndicator.qml", - "packedhash": "494bffc847cb8d5d449d63af522e8c5994939cbb49f0448593545d7a6fbf00d4", - "packedsize": 1184, - "unpackedhash": "53e5ef43405e865313a06998ae4ff4d18c9804bbafa9f3ee3733343146b3e24d", - "unpackedsize": 3719 + "url": "bin/qml/QtQuick/Controls/Universal/MenuItem.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/MenuItem.qml", + "packedhash": "268d471044be1afd59e28949cb540985aa14de1ff5f993d7e9300034f287ac7a", + "packedsize": 991, + "unpackedhash": "34f9886cbd02998a4c5cd0554a10da7ea18c76e1f6f5f7cd62ba3509af7a898e", + "unpackedsize": 3313 }, { - "url": "bin/QtQuick/Controls.2/Imagine/RadioButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/RadioButton.qml", - "packedhash": "e75ca3c48f065cbadf6f67f795bef6b79b9047dba196af3d2976174f7c13fd4a", - "packedsize": 1320, - "unpackedhash": "d7c67cec5ea3c04764b006e43ab52ece69ad9244febae8279f29b7262b128aca", - "unpackedsize": 4484 + "url": "bin/qml/QtQuick/Controls/Universal/ScrollIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ScrollIndicator.qml", + "packedhash": "b22c9574ab8c228c65772c00130606a0caf0e84b641a4d8916131ae3444569cf", + "packedsize": 584, + "unpackedhash": "8327347a446bb1bccca534ace68781453319f14d5d5983ee545aff69971283f6", + "unpackedsize": 1385 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Page.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Page.qml", - "packedhash": "3f2c42336d27a6187c40cf42fce2e354f8d01589bd46a43f09addcf9dbbd367f", - "packedsize": 1088, - "unpackedhash": "5726d9ff233cf4a582b49ef6b0462a6b8c2b1f8dd31ac1e3da52e9ee04bd46ea", - "unpackedsize": 3309 + "url": "bin/qml/QtQuick/Controls/Universal/ToolButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/ToolButton.qml", + "packedhash": "6a4d9d19b674e90b3b1bb3611aebabcd4c5de28686d4baa41a564876eaa2c094", + "packedsize": 695, + "unpackedhash": "33231e0fa3578319651b3f650e1aa0aff9c488e0394e60061f71e92f4fc652dd", + "unpackedsize": 1603 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Popup.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Popup.qml", - "packedhash": "ba2ddc189d25110ae296e9206a2c150f6af68c5e3d0e4cf6fe908e54197c8924", - "packedsize": 1075, - "unpackedhash": "13058ce750490fe19573d0e5055fc45ae6e0201a02a2c33fdf32a5bc53109f0b", - "unpackedsize": 3481 + "url": "bin/qml/QtQuick/Controls/Universal/StackView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/StackView.qml", + "packedhash": "e0d1c43749447ecd7a350c4b9db4b0d887ee9641b5312168f08af9dc86d26cb2", + "packedsize": 448, + "unpackedhash": "43fb8e86875f8d15e2babada533a11973842ac6201c902a69750da3a8f1885b6", + "unpackedsize": 1705 }, { - "url": "bin/QtQuick/Controls.2/Imagine/ToolTip.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/ToolTip.qml", - "packedhash": "baff8e0be386a0cc8a4b57df1753b32bee7b177893b0297d44073326aaebb807", - "packedsize": 1201, - "unpackedhash": "06c08b5f38cf01420a5db7c79324f92e3232917010903211aa3c3947f9ec255b", - "unpackedsize": 3620 + "url": "bin/qml/QtQuick/Controls/Universal/RadioButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/RadioButton.qml", + "packedhash": "5a30cc619478266dc30c0d14acccf229d0ea84cd0752f23f101c2eb83883a290", + "packedsize": 641, + "unpackedhash": "2d05f8458ca0825f59f4b47d79b4aba6ae53195ca4d726ee5525dc4c3d89af93", + "unpackedsize": 1548 }, { - "url": "bin/QtQuick/Controls.2/Imagine/ApplicationWindow.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/ApplicationWindow.qml", - "packedhash": "c012ad06de6ba1ed012a9f7143e2047dd7ff940ce6313dc4e5b6f2c0a56b3427", - "packedsize": 943, - "unpackedhash": "b406e02eba28ce5cce0fdc2dfbecf5e5e33489365d542f9304917ca46954927e", - "unpackedsize": 2791 + "url": "bin/qml/QtQuick/Controls/Universal/TextField.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/TextField.qml", + "packedhash": "efad9b944442d8185ddbd53bc633616259fe5cbee730db490b287df7f54d6635", + "packedsize": 887, + "unpackedhash": "c6eb4822baa7ab20e28a381b6c8e1e08fe77298b09857ce1a23e8db973df43ee", + "unpackedsize": 2584 }, { - "url": "bin/QtQuick/Controls.2/Imagine/MenuItem.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/MenuItem.qml", - "packedhash": "aa59eb2edc3ae9e08b98d67625c173e70811d74f6db3e9dacfaf4d23ec178240", - "packedsize": 1458, - "unpackedhash": "c08d871dc5470e61139083fdc91bac3f1cdeec5a08f2d65b6a234a3d01aba1f9", - "unpackedsize": 5765 + "url": "bin/qml/QtQuick/Controls/Universal/impl/CheckIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/impl/CheckIndicator.qml", + "packedhash": "cbff60c61b69fcea16c07a7da586109b2ac8585e051858e27ba9997e38534e2e", + "packedsize": 719, + "unpackedhash": "d46a6fc38bb834620a366bc86f26ffc8a22ae3235044894222485650de0490f6", + "unpackedsize": 2250 }, { - "url": "bin/QtQuick/Controls.2/Imagine/CheckDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/CheckDelegate.qml", - "packedhash": "df9a7ad0850e279188f0465cca357a6004c60af41b5f8739c8b382efa3e562e9", - "packedsize": 1398, - "unpackedhash": "de14b28466be01f6099a601e31ccf6aee2b7d2257390453558b312c34109d70b", - "unpackedsize": 5024 + "url": "bin/qml/QtQuick/Controls/Universal/impl/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/impl/qmldir", + "packedhash": "4e3d0752266600e19619179dd5216364143e1f07e9b59b2d3a902201e00d0639", + "packedsize": 290, + "unpackedhash": "3908002416f996db1d71a2d1277acfe534c2e668f4a7b376f1b429487b889703", + "unpackedsize": 563 }, { - "url": "bin/QtQuick/Controls.2/Imagine/TextField.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/TextField.qml", - "packedhash": "67f0e1c09851ea0d80118a3f8f26bbdbf4b3ca038dffac4f7aca8ccea38d6d3e", - "packedsize": 1352, - "unpackedhash": "c0b78028d628701dcdc749f5e23ea34702b38b37396b934e7468166fcc170d1b", - "unpackedsize": 4191 + "url": "bin/qml/QtQuick/Controls/Universal/impl/SwitchIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/impl/SwitchIndicator.qml", + "packedhash": "6bb6d15a1898bb7a5c79d8445269e3ebfd121c1058dc47baa4cc080484f687bd", + "packedsize": 683, + "unpackedhash": "de0223b09ee32d85445e3cf3c116f9d03e85e91b8fce67c301ac669a9f7e25bb", + "unpackedsize": 2084 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Menu.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Menu.qml", - "packedhash": "c12eea1f6cec8dac248b76837d871725eec899e55570509fb8c2faf29af68f8f", - "packedsize": 1242, - "unpackedhash": "2c745e09f01bdddc980dd1fd7d9bc59f852f8cd4d31936e8744fbc686d1ca267", - "unpackedsize": 4174 + "url": "bin/qml/QtQuick/Controls/Universal/impl/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/impl/plugins.qmltypes", + "packedhash": "95d53e3d41a193d5a2a1fa9eaab484780fc79491f611d6e79b8ca202605c8241", + "packedsize": 721, + "unpackedhash": "b94a46dc8d39b627fa1866c5a11daf3d0a4188c20932f84aa285f05f5936d574", + "unpackedsize": 3380 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Dial.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Dial.qml", - "packedhash": "e15dc8a9de4cff263b15c4d205f3888ead13b2ae3ce36cef8d3891ee89021016", - "packedsize": 1284, - "unpackedhash": "3b04b4ba3e8e3e96dcf41d1cbbba40f734f7c1550fd21e7d5b62c9549c7bb261", - "unpackedsize": 4328 + "url": "bin/qml/QtQuick/Controls/Universal/impl/qtquickcontrols2universalstyleimplplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/impl/qtquickcontrols2universalstyleimplplugin.dll", + "packedhash": "97c9963ee37d327ba44bdbe61719f34ad0be9438efeecbc3ae2653c1fea834c9", + "packedsize": 14773, + "unpackedhash": "d39c24e4929c31b23d59769f56c2f2d6117ade5ebc6e897110107af063dfcbfa", + "unpackedsize": 29584 }, { - "url": "bin/QtQuick/Controls.2/Imagine/RoundButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/RoundButton.qml", - "packedhash": "b3a04785c42048b1817eed24c483073a1668551a8d13f44dbae9056a00f3fa5b", - "packedsize": 1313, - "unpackedhash": "a09b06bf3056aded3fcda0feb006809817b9bf844952cacb68d7dac426f648a8", - "unpackedsize": 4387 + "url": "bin/qml/QtQuick/Controls/Universal/impl/RadioIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Universal/impl/RadioIndicator.qml", + "packedhash": "ab2fcb886c38387cd2c0dbde0097c74740cb15900dbd60300fa487583ebdb1f5", + "packedsize": 572, + "unpackedhash": "5da6a498db70ee6b3f49850b42de952a69dd80f9ebefeea99d159ea87a69e305", + "unpackedsize": 1780 }, { - "url": "bin/QtQuick/Controls.2/Imagine/StackView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/StackView.qml", - "packedhash": "10bec08c42697c2b39a0e0c445fa0f7a6bb888e08b3acb828ca5e02383ff724b", - "packedsize": 1127, - "unpackedhash": "4e4e8f91474cf6d1df29c77ea61ca55efcc2e7dc0f5d9e9c36cc399d47d98a19", - "unpackedsize": 3793 + "url": "bin/qml/QtQuick/Controls/Basic/Label.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Label.qml", + "packedhash": "790a1c2cdf54b643a77d63056300f8b27cb45ffd3a474cd0120e2e7c921cbf77", + "packedsize": 266, + "unpackedhash": "953901f333b9c4499b3968826df523d0fa9c5dba44c10f78ada60779d342c73b", + "unpackedsize": 323 }, { - "url": "bin/QtQuick/Controls.2/Imagine/ScrollBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/ScrollBar.qml", - "packedhash": "0e1086ab355896f1c1f5fc58ebb20db56f1fdf613764be444ef9dabe16402981", - "packedsize": 1402, - "unpackedhash": "e3bc5ffc1b6f2953bed0c35de23697e56e81dabc41303c4475c35a08d9a42f0d", - "unpackedsize": 4876 + "url": "bin/qml/QtQuick/Controls/Basic/Control.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Control.qml", + "packedhash": "4b160296f9e829011e820047169ff420681705931d537e930bebf1b9ff4d095c", + "packedsize": 326, + "unpackedhash": "c16195d42a23d636e43fd8c28b7e427256130dc18c4a0e0257d5e738f162f8ea", + "unpackedsize": 540 }, { - "url": "bin/QtQuick/Controls.2/Imagine/CheckBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/CheckBox.qml", - "packedhash": "3a55c1336dde58646d1b825c3e09d42d59ecac6e2e1c5dfcf390dd86b875ee92", - "packedsize": 1343, - "unpackedhash": "e58dfd296be0df39fae916d8c6487c442738d8d585f679172aa31f4e387149da", - "unpackedsize": 4671 + "url": "bin/qml/QtQuick/Controls/Basic/PageIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/PageIndicator.qml", + "packedhash": "162f50d98689ede253b0cb9228d6b76a06fcf593b5bb37f32f100aac1d3f4b6a", + "packedsize": 568, + "unpackedhash": "2d5052779fa3766a919e0aa2fb3d782c31132f95443b0b11affe46fb1fb253ae", + "unpackedsize": 1101 }, { - "url": "bin/QtQuick/Controls.2/Imagine/MenuSeparator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/MenuSeparator.qml", - "packedhash": "82a886375e2fe7cfbefbdee829739222008a7b749c6afd482b8125aff2ede79f", - "packedsize": 1065, - "unpackedhash": "8c54aa32cf04f779d9f652ec107b817dc1671c2012dba78c551222195ad6c577", - "unpackedsize": 3342 + "url": "bin/qml/QtQuick/Controls/Basic/Drawer.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Drawer.qml", + "packedhash": "c99fedd3bcbc80150fb9f3a7544b8c9642756285c7cbe2a60421cef38d04acbb", + "packedsize": 625, + "unpackedhash": "b651ebac2ac8e11f1856419c351a6110f795dffbf682618816ea5bce2a2be038", + "unpackedsize": 1586 }, { - "url": "bin/QtQuick/Controls.2/Imagine/BusyIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/BusyIndicator.qml", - "packedhash": "d3448a8f01a14539b9d7cebedc34dd91de3f20915698b840866dd2fdb52ae16b", - "packedsize": 1172, - "unpackedhash": "c2e7f54227e7269eaad59a694a6bda7e270fff440db971ec656c463ec6c0ce7b", - "unpackedsize": 3737 + "url": "bin/qml/QtQuick/Controls/Basic/ToolTip.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ToolTip.qml", + "packedhash": "f9e53bc438a3b2a3e996c59acb555300e5c6b4c74a4779c6ce2852f085477949", + "packedsize": 540, + "unpackedhash": "005eae491087fe074478693f421d378b1e8d391cb690bcee4c553ced36402bd0", + "unpackedsize": 1058 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Drawer.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Drawer.qml", - "packedhash": "abe6350d4fdceb7e94b1317d8b4ab0b26f84ee604d2c7bc1e6745038222b64a2", - "packedsize": 1184, - "unpackedhash": "f562c7cd82a67b83317b99d02df702e3828ce4248dc96ba90134c1ffbc9f452b", - "unpackedsize": 3851 + "url": "bin/qml/QtQuick/Controls/Basic/ProgressBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ProgressBar.qml", + "packedhash": "0fa23d8245b62461891b517f4c2822055ac95afc771dd9572fbf8b9557e605e1", + "packedsize": 501, + "unpackedhash": "c54c473738113e3f6e1c88d8c805c070b90fdd2dab82ef20ea2c71a4c35f85da", + "unpackedsize": 1038 }, { - "url": "bin/QtQuick/Controls.2/Imagine/TabButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/TabButton.qml", - "packedhash": "a915f3c5c5e87183fa2b3df4fd39069b8643501ec83ea5495f6ed8437eb32ff8", - "packedsize": 1209, - "unpackedhash": "4080c05b7c3d121467a46064a7947a237777c83bbcd04d104039516b05911f5d", - "unpackedsize": 3681 + "url": "bin/qml/QtQuick/Controls/Basic/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/qmldir", + "packedhash": "c363133a96596dbf3dad69771a1154f174c734064db6ee470962a34c5236b4de", + "packedsize": 957, + "unpackedhash": "142346c196c2b2674fd0f0e7f8c1fa23fb9964bce47c02d5029041d6a9248c69", + "unpackedsize": 4048 }, { - "url": "bin/QtQuick/Controls.2/Imagine/SplitView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/SplitView.qml", - "packedhash": "8ed9d8d5fde76e5e5c1042c46faa749e7ed2366eeb8d96cdf5e0022b1955a6be", - "packedsize": 1032, - "unpackedhash": "d7b3551f3e7bee194a107d72e3797990b6308adbcbf62be576b5e679cf5e69a7", - "unpackedsize": 2796 + "url": "bin/qml/QtQuick/Controls/Basic/ComboBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ComboBox.qml", + "packedhash": "85c5158205a1bf5ec7a4f96fc9a478ea95f875d91bdeb0c478ea9c8be18e3d68", + "packedsize": 1320, + "unpackedhash": "d4d4673ca370c76b198749e57e140ddeb4b81ce47809243418bfe30b1547bd1b", + "unpackedsize": 4118 }, { - "url": "bin/QtQuick/Controls.2/Imagine/VerticalHeaderView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/VerticalHeaderView.qml", - "packedhash": "677a45a320c958d84ae666d46041cba11dcc3392e1d3d1d0ff5b78e509340ea2", - "packedsize": 1082, - "unpackedhash": "1d4f3f1d0dbb8cae0d392c2556889c9639a1a51b055e47bdaabedbd33bd4a934", - "unpackedsize": 2833 + "url": "bin/qml/QtQuick/Controls/Basic/ActionGroup.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ActionGroup.qml", + "packedhash": "8bbbf006cddb9ad463c1cdc993ade5845be784885c584d90fdcc4c15c77fc06d", + "packedsize": 213, + "unpackedhash": "709bc56c84a301867e21eddb5c723f6b203dc533cc51c0741deac5f8feb914a4", + "unpackedsize": 209 }, { - "url": "bin/QtQuick/Controls.2/Imagine/DelayButton.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/DelayButton.qml", - "packedhash": "029cc9d4611851f8efa812f5b8c8052d0bba60a4dcf46caae11fe665e6aa4c1a", - "packedsize": 1473, - "unpackedhash": "122ae2af3549231302ee693d72dd9fc77060a853ae26e56f6722f089cdad60a6", - "unpackedsize": 5557 + "url": "bin/qml/QtQuick/Controls/Basic/SwipeView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/SwipeView.qml", + "packedhash": "7e632884cf6edf4850de24a7de820f1cd2e218dcf5552847b55adcadb1e4fca3", + "packedsize": 574, + "unpackedhash": "81447ebf342a5c5dc150a9e336e1f154e0f1444043ae7126785fd9dbe91b5533", + "unpackedsize": 1124 }, { - "url": "bin/QtQuick/Controls.2/Imagine/ItemDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/ItemDelegate.qml", - "packedhash": "3644a2205b571fef6d3c776d34f6dca442dbccbe6886d926484d86b74c133fd7", - "packedsize": 1272, - "unpackedhash": "fca66154c62837967498f6227b80b2f198cbc9ce1800826ba494419d2fb84fbd", - "unpackedsize": 3906 + "url": "bin/qml/QtQuick/Controls/Basic/ToolBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ToolBar.qml", + "packedhash": "b2af564c641f3ec0ef4f1c8e1666fe2f61790db1f63135c95adeafbefdd67fb3", + "packedsize": 380, + "unpackedhash": "6e258726afa1394f7415ebb2607559dae03cb4e50ac5dedac3e4c95d7558d19b", + "unpackedsize": 653 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Switch.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Switch.qml", - "packedhash": "1c308bfac983f21ea354e098ee9b43e241e9029e5fb80bde27e7b6e58163dc48", - "packedsize": 1554, - "unpackedhash": "d8cc0ffaf04a72b3bb294c8135c2f4fd0b56ebba4b450dfaea974604095a6fc9", - "unpackedsize": 5835 + "url": "bin/qml/QtQuick/Controls/Basic/DayOfWeekRow.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/DayOfWeekRow.qml", + "packedhash": "dfa01331bc29f2fff80542449f588b4b487709702cc5595ecb86f2fbdb1ae52d", + "packedsize": 524, + "unpackedhash": "ce2c2589399f77ebdaacd71b5801ba6fa505a8e91dc765fa907e617f91a233ae", + "unpackedsize": 1086 }, { - "url": "bin/QtQuick/Controls.2/Imagine/HorizontalHeaderView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/HorizontalHeaderView.qml", - "packedhash": "21b44fc7fb9891815b3b5eb758e5b9a4cc8dd1b56c1ebc05d40faa606789051f", - "packedsize": 1080, - "unpackedhash": "c7f74755b3fc438dbdcb415930beaada79e45a540424282daecf5f538ee3489a", - "unpackedsize": 2836 + "url": "bin/qml/QtQuick/Controls/Basic/SwipeDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/SwipeDelegate.qml", + "packedhash": "634e102748594281b149b0c6a455345b8579cc0eacb916ac4269813d2f39659c", + "packedsize": 681, + "unpackedhash": "671b44df30edee2622c006e408875eae4f06ebbe491b9faf97544fdcb5af3756", + "unpackedsize": 1548 }, { - "url": "bin/QtQuick/Controls.2/Imagine/SwipeView.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/SwipeView.qml", - "packedhash": "ec053b8707323dc5396970635a7b4dc065677ac6b271c15c677bd676ad8c8793", - "packedsize": 1275, - "unpackedhash": "af4ce6fd19d35aabe7e93929701cdc96ddd8d5e8be044ac14b02045e19b0aa7a", - "unpackedsize": 3771 + "url": "bin/qml/QtQuick/Controls/Basic/SplitView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/SplitView.qml", + "packedhash": "cc18a7b6a9c803652853db582101f28cf91e2f048201e3dd3875d1dc26c3c52f", + "packedsize": 461, + "unpackedhash": "ce4e11132eac128e6cebb40a768be5cfed7e3ac51e7db888f23ca0980d1cb603", + "unpackedsize": 914 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Tumbler.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Tumbler.qml", - "packedhash": "061051eca17c77656e73dc42961a7fa602a9aa7fe6c4bfd1c7d530390e3216e1", - "packedsize": 1348, - "unpackedhash": "65236f0f2819a352fe4db4f5ba3576000376badebefc5292a1903ecad98e4c80", - "unpackedsize": 3981 + "url": "bin/qml/QtQuick/Controls/Basic/Pane.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Pane.qml", + "packedhash": "9ba1f2b2f200c91848c7f668c358cfa2d12cb50d940584e7cf2a4942cda85e2f", + "packedsize": 379, + "unpackedhash": "405998ff95969b08156e1fd34bcaa0f8f4702a54c82620cb7e8c09509147b30c", + "unpackedsize": 640 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Frame.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Frame.qml", - "packedhash": "02390a83227069b029f236ff2965a6165bb63f828edbf8071869e5747308ee0d", - "packedsize": 1038, - "unpackedhash": "a16c4a94fbd714868e02a1f3d2f077fcbb82a052f6de586d79b75cba14585850", - "unpackedsize": 3019 + "url": "bin/qml/QtQuick/Controls/Basic/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/plugins.qmltypes", + "packedhash": "a202aa782a612b0ae314ebd1a63a75101b3cd452733eb61fc5a068d55d6f822d", + "packedsize": 973, + "unpackedhash": "19055c8d1e1e3d985340c1bdaedffe2f1c8fc861982daf84fc5b0ad77d419aa6", + "unpackedsize": 10158 }, { - "url": "bin/QtQuick/Controls.2/Imagine/TextArea.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/TextArea.qml", - "packedhash": "6631878aac0f7d0b210a672498bdd103e54a59dbac08623982e3fe949e592d77", - "packedsize": 1343, - "unpackedhash": "fe3eea83e17b0653c95204954c1c13492d17182a4029ce6f87d4ec54edd0c57e", - "unpackedsize": 4254 + "url": "bin/qml/QtQuick/Controls/Basic/Slider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Slider.qml", + "packedhash": "3a6e0979af2d916cc5b686895ec29b1b84e5a7fa73b79aa072e3ac15fe933198", + "packedsize": 681, + "unpackedhash": "338eca29c01e35b9dee8ff191d7fac9006824f90a61b4f15eca05f4c0cb8b017", + "unpackedsize": 2204 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Button.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Button.qml", - "packedhash": "15f168378a9e2548b5d04b02491b3b6b14f0678772c2bf7b9f6785dbe4b4461c", - "packedsize": 1297, - "unpackedhash": "6e171aba2624fc2355a81d10af62aa0b54d2a5dea9d5045b7ec0d1ef8e3dc71b", - "unpackedsize": 4372 + "url": "bin/qml/QtQuick/Controls/Basic/TreeViewDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/TreeViewDelegate.qml", + "packedhash": "b3531c64b5fa675e7de72bd2aa0c0f9b91f9c548860b0cabf13bf76643a7ccdf", + "packedsize": 1426, + "unpackedhash": "5e8df20158b911d22f6677ef1b1cc7e808d95c3c73164ee7a40a4cdcf7beeaa1", + "unpackedsize": 3961 }, { - "url": "bin/QtQuick/Controls.2/Imagine/RangeSlider.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/RangeSlider.qml", - "packedhash": "63108ae51bad57f9a71a3ff0ce45accaadd02fb8dc05716bce87a3671c3a62b1", - "packedsize": 1438, - "unpackedhash": "6a9160817684b071035c77c909b5c0344b91446b31b5c0db76794395b2fe6ca9", - "unpackedsize": 6578 + "url": "bin/qml/QtQuick/Controls/Basic/VerticalHeaderView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/VerticalHeaderView.qml", + "packedhash": "e8bed3201a232684b9bf7ead1915c80cff596beb51f27e38c44fe9b9c70e8742", + "packedsize": 760, + "unpackedhash": "82f713c9cdd7b32b89f6808a75dd81722d2100a0bd7337437916bf7d9ecda3ad", + "unpackedsize": 1463 }, { - "url": "bin/QtQuick/Controls.2/Imagine/SwitchDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/SwitchDelegate.qml", - "packedhash": "6f67a68117062cada2f1881df854c8f9967170d8bc450a6ef0bef80b52c8514b", - "packedsize": 1637, - "unpackedhash": "35008c52c5133318150fc54859a20a76f80d848fff4f85c37b99b644e21dce21", - "unpackedsize": 6334 + "url": "bin/qml/QtQuick/Controls/Basic/AbstractButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/AbstractButton.qml", + "packedhash": "e714a18e05b72dd6eab092dcac25489abaac16aebc230b4a9a48b76f395c7903", + "packedsize": 335, + "unpackedhash": "5594fba24be25eb7ba8379d2db4f235b5c408728db0aa641d1fee433cb29443a", + "unpackedsize": 547 }, { - "url": "bin/QtQuick/Controls.2/Imagine/SpinBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/SpinBox.qml", - "packedhash": "c380f2a8823d1f0730414721c7fab887cc75217db2c84d8ebab7ebf3f09b25ba", - "packedsize": 1562, - "unpackedhash": "733713ef52011577022d8903d8811c0d677486bb74b18ddf8a8a5758c57cd7d1", - "unpackedsize": 6103 + "url": "bin/qml/QtQuick/Controls/Basic/SwitchDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/SwitchDelegate.qml", + "packedhash": "edf31938cb14605115ce79700de3dea1ee166533039319d2ff25044e79d8f134", + "packedsize": 927, + "unpackedhash": "72888039ae35ce91a23ce41abdfeeb7ed4c7bd879a2bfde5e1538c600afced45", + "unpackedsize": 2744 }, { - "url": "bin/QtQuick/Controls.2/Imagine/ProgressBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/ProgressBar.qml", - "packedhash": "23cf0c662f64e6ed5c18dafe8ed271c6ccca85c761f5f35800452a07de3c7e91", - "packedsize": 1463, - "unpackedhash": "76b5b566bdef42fa02a6695ead12da75a55485ba5950e586e8e0937961537e07", - "unpackedsize": 5987 + "url": "bin/qml/QtQuick/Controls/Basic/DelayButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/DelayButton.qml", + "packedhash": "96f8921d4f7f8efae3781ae515f0f2ff09b9206b13741c0841282dff5f7885a4", + "packedsize": 773, + "unpackedhash": "b0f2cb276f6809ca5e627d367d678d630461ea3b5360ee009f4d7eeb81fc048d", + "unpackedsize": 2422 }, { - "url": "bin/QtQuick/Controls.2/Imagine/ToolSeparator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/ToolSeparator.qml", - "packedhash": "3219d4fd1071dc113e98feaba6a57ded65e754b11fa0157ff60402796fd2f2c9", - "packedsize": 1088, - "unpackedhash": "de2b80194c888e934c3c69c81f503ab088265b761e0403725393bef4533d7798", - "unpackedsize": 3546 + "url": "bin/qml/QtQuick/Controls/Basic/Container.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Container.qml", + "packedhash": "4225e1bdd2c348e1cd182325e76beec857ddf785c6600778fe2a8a2734e9f24a", + "packedsize": 328, + "unpackedhash": "fe106a5202791d026ddc31fe85895b7d24ecd05311821bbdca36684ee9decbda", + "unpackedsize": 526 }, { - "url": "bin/QtQuick/Controls.2/Imagine/ScrollIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/ScrollIndicator.qml", - "packedhash": "2a5970b6bfa5d0299d2f0e79af0678db56f79c1f4302224525dd3d1cbac20641", - "packedsize": 1295, - "unpackedhash": "40a0025d6847eea59d6beaf42dfc75b7b4c4a9fac2d72411fa88fa123ec6506c", - "unpackedsize": 4374 + "url": "bin/qml/QtQuick/Controls/Basic/ScrollView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ScrollView.qml", + "packedhash": "528d8349deaa6adb3ad01a2896872e457a184cde858e1606107a615e58cd9ce0", + "packedsize": 465, + "unpackedhash": "69ce788d3767d82fbb59e00389cbaed47edd3e6bbd79e3bdee70b6f74e825542", + "unpackedsize": 1024 }, { - "url": "bin/QtQuick/Controls.2/Imagine/TabBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/TabBar.qml", - "packedhash": "a279aea048152b18710c7c34240f1255502e357a51e1dfb7aeb5a7829b21b1cc", - "packedsize": 1270, - "unpackedhash": "56ab9b8b2ade6b34f0c6439f36ebfc20008bc20e2ed89cbfaaea5b32bc6773a2", - "unpackedsize": 3663 + "url": "bin/qml/QtQuick/Controls/Basic/MenuSeparator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/MenuSeparator.qml", + "packedhash": "3f059f4e503a1b2a1f1989569a42c89526f92fbcf7571f9ee4c5afdaa3d13a3a", + "packedsize": 414, + "unpackedhash": "df960bc31a87e3d2946b7cbb666fdbe3cd936b6d2b1114d230f2d11645e21b79", + "unpackedsize": 748 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Slider.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Slider.qml", - "packedhash": "c60586d137d831bb1d0d5af3f024bd1487e83d929e5c4fdfa6b32d19776acd9c", - "packedsize": 1359, - "unpackedhash": "4e106b1e1ff32ccf2b4417980099839c66a14fa8d35c9f6dbe6e286eb7fb19ce", - "unpackedsize": 5371 + "url": "bin/qml/QtQuick/Controls/Basic/GroupBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/GroupBox.qml", + "packedhash": "a43b390c146ec88256e623352ce7ad9fa2d0a78582aa8cfafcc67889310baef3", + "packedsize": 578, + "unpackedhash": "3eeec2c9cfc1d0352897052abcd7d9809d928f686e8c52f6e2a898f08f6542ee", + "unpackedsize": 1282 }, { - "url": "bin/QtQuick/Controls.2/Imagine/DialogButtonBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/DialogButtonBox.qml", - "packedhash": "72377b22ffe3ee182ae77f6379b6ebb5b8be4c363ddecaa1837fb3a09897c2f9", - "packedsize": 1225, - "unpackedhash": "05950fddeaeec5591dcb53879e51fbd7240926df625546b4ffb631d7812b5a5d", - "unpackedsize": 3498 + "url": "bin/qml/QtQuick/Controls/Basic/HorizontalHeaderView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/HorizontalHeaderView.qml", + "packedhash": "3ef009566f6c0c5042650f27c116a6dfd0f7399138a2a78e5784dc82134a8c0b", + "packedsize": 755, + "unpackedhash": "81a3c703413e7aebcefa323108d2585b6d7f9b31ff01c11343d2280eedab92ac", + "unpackedsize": 1472 }, { - "url": "bin/QtQuick/Controls.2/Imagine/SwipeDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/SwipeDelegate.qml", - "packedhash": "c598eb254a4bdf394c64c7cd4c1a614f08c37331b04f2e8da3b84664b2305d62", - "packedsize": 1335, - "unpackedhash": "968f32bb64d47754b0b2cb5c7284853789b9f902f5c8e53d335f752f04734e9a", - "unpackedsize": 4014 + "url": "bin/qml/QtQuick/Controls/Basic/ButtonGroup.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ButtonGroup.qml", + "packedhash": "57a784b4b7d93692ca5d7d7e01be381f06eb5967861ae9873fb939260fb44cb8", + "packedsize": 213, + "unpackedhash": "6be60ec225390c872cad421d1c441f223086e0f33c2177315476ddc3031b045c", + "unpackedsize": 209 }, { - "url": "bin/QtQuick/Controls.2/Imagine/ToolBar.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/ToolBar.qml", - "packedhash": "b9d8cc958680333ad357535ae11858d78f5ba5aa521f70dec11b871232e204ad", - "packedsize": 1077, - "unpackedhash": "1c0f5fb837df23fd38dedde1a861aa88f2d19cff66888193642e111d8edac7f6", - "unpackedsize": 3161 + "url": "bin/qml/QtQuick/Controls/Basic/CheckDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/CheckDelegate.qml", + "packedhash": "18bfaa299f0357a19b8f895cf3040da8c8d962a583bc827dd1471f0d9824f8d1", + "packedsize": 947, + "unpackedhash": "2e44c04497e5e2cbe67c616391ac4f93adcf0feaae50d4d5b6b12ce5f0a0a81e", + "unpackedsize": 2736 }, { - "url": "bin/QtQuick/Controls.2/Imagine/Dialog.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/Dialog.qml", - "packedhash": "ba107bcc47165a22e6b3739e1a90e9f6ac546788090f616db3c900419cc38c5c", - "packedsize": 1258, - "unpackedhash": "9b32ccbafd54df69945acb8948388ecad6c287c400ad81f1530d74d1608dd16d", - "unpackedsize": 4382 + "url": "bin/qml/QtQuick/Controls/Basic/Action.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Action.qml", + "packedhash": "9698774c3213ee89e3e8a8a5aec184c5f2f216f94a95ffddc5509577a4d67460", + "packedsize": 208, + "unpackedhash": "6dc0acacad3c61a64ec685a1e10597a9993812821cd9804e103d5f1fa3eab2ba", + "unpackedsize": 204 }, { - "url": "bin/QtQuick/Controls.2/Imagine/ComboBox.qml.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/ComboBox.qml", - "packedhash": "7720e323a81f3f585bd136390151c4322762db6ba0fa71b3bca4d154122df7dd", - "packedsize": 1877, - "unpackedhash": "25a1e6243777e47036b4246bb9d33ddf9e8b4d231fd038ecff7b31957240e340", - "unpackedsize": 7602 + "url": "bin/qml/QtQuick/Controls/Basic/ToolSeparator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ToolSeparator.qml", + "packedhash": "931ff24e60d93ffd1a6adac239f765242236fc8cf20b2c2c8b74e21fb04fa715", + "packedsize": 432, + "unpackedhash": "a644fc83bb88e855c61095ea9a73c028e507f94df236f956f3b190260dd3bf6a", + "unpackedsize": 814 }, { - "url": "bin/QtQuick/Controls.2/Imagine/qtquickcontrols2imaginestyleplugin.dll.lzma", - "localfile": "bin/QtQuick/Controls.2/Imagine/qtquickcontrols2imaginestyleplugin.dll", - "packedhash": "b270af8b07f054a44f60d38f1a2fc44860345b5cb8c08ff82a6a730f90b78730", - "packedsize": 541251, - "unpackedhash": "c0782eba1430ac943f11f3d15ed4aaffe3147687a13178fe4db2d35043cab4a5", - "unpackedsize": 1151376 + "url": "bin/qml/QtQuick/Controls/Basic/CheckBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/CheckBox.qml", + "packedhash": "6afd83f18d20cbfc2a3df479dae2f073049e465b866ec1dea18b76d9b512a5c0", + "packedsize": 843, + "unpackedhash": "422311435eeaf3559d95937a97f0c0c713002196cf036eae38de84c0d2fbe761", + "unpackedsize": 2297 }, { - "url": "bin/QtQuick/Controls/GroupBox.qml.lzma", - "localfile": "bin/QtQuick/Controls/GroupBox.qml", - "packedhash": "dff6e02ade80835337f1ca837325fcbcfbaa2cb82b89e0bd2880fc39c7cd88d5", - "packedsize": 2613, - "unpackedhash": "123c647773d5d885a3db2f5e5bbfb13b51f2c8869783ceb48d5f93cb0e3401e3", - "unpackedsize": 9280 + "url": "bin/qml/QtQuick/Controls/Basic/Page.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Page.qml", + "packedhash": "ecefdd990c778ea5f410b66d159f18b8ef53ef5cbb0aa76bc0884462cb1ad5b6", + "packedsize": 425, + "unpackedhash": "f90e8cc91d5d2825f27178526d77e7044a3e3ea64a54fc2da082a5c3d9afc34d", + "unpackedsize": 911 }, { - "url": "bin/QtQuick/Controls/StackViewDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls/StackViewDelegate.qml", - "packedhash": "1255477ce0561f28a5c319700bb71de1d05c83ae4ef55d101b0fc6f1f4543e81", - "packedsize": 1211, - "unpackedhash": "6935f441cc0fabe51f102f47495f61adced2a31c588a9c1c6d03620c940a0b3f", - "unpackedsize": 3701 + "url": "bin/qml/QtQuick/Controls/Basic/SelectionRectangle.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/SelectionRectangle.qml", + "packedhash": "cd05e95eb224c0f53e429658040d6aa41548e86b15830615834088b277a1bd56", + "packedsize": 431, + "unpackedhash": "6bf7d931cd8fc95cc54ef28050dedf7d8eda616a4b22cf4710e88f5221b504c7", + "unpackedsize": 787 }, { - "url": "bin/QtQuick/Controls/ToolButton.qml.lzma", - "localfile": "bin/QtQuick/Controls/ToolButton.qml", - "packedhash": "87efeea22c87bed8118ab00c48e70ce6732a5392e9806f70c35482ad93f096ca", - "packedsize": 1192, - "unpackedhash": "3d0fbee00479a1d6febc3f47223f8902d371a59af84f298c3fcd0d1326e2ae99", - "unpackedsize": 3229 + "url": "bin/qml/QtQuick/Controls/Basic/TabBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/TabBar.qml", + "packedhash": "2801afe1570ea1df916fdbfab2cb40050ac78d4de672bf768379ecb345be0274", + "packedsize": 568, + "unpackedhash": "f7751abf5b764d776e430d6eccda376587f5a1c17b31654d8a9ba7df1fda729d", + "unpackedsize": 1102 }, { - "url": "bin/QtQuick/Controls/TableView.qml.lzma", - "localfile": "bin/QtQuick/Controls/TableView.qml", - "packedhash": "95c4739dbf076684b9fa1dd48b685c84a123fc15d48971f35bd873c735e8e1c6", - "packedsize": 2665, - "unpackedhash": "51e5f4a1158460e809b1dfd8a5a2d1b88f5f7ca13628fc8fa345d32dbb91d986", - "unpackedsize": 11834 + "url": "bin/qml/QtQuick/Controls/Basic/TextArea.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/TextArea.qml", + "packedhash": "82fabc2260d5de12f50184d30907533035ab89b812511be9d343d6e9568675da", + "packedsize": 627, + "unpackedhash": "014800c32ddb34df695f46a2ad5087dfd9ba9c445afbff6bd02d7aaa18e3a6e8", + "unpackedsize": 1596 }, { - "url": "bin/QtQuick/Controls/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Controls/plugins.qmltypes", - "packedhash": "47c808efb5ebd1b5a70dd1d7d79da382e4bbc378b5ca164baca9ee8dc56fad2c", - "packedsize": 9745, - "unpackedhash": "9980ddeb8ebab08ce397d99a543dc9cdc1e4964026ef9c73d6ba02fe43ad2de3", - "unpackedsize": 157929 + "url": "bin/qml/QtQuick/Controls/Basic/Frame.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Frame.qml", + "packedhash": "c8e73f09b611db21c080c12d5d6ca5b43ed9d60c91cfa78703f836d39b07876a", + "packedsize": 398, + "unpackedhash": "19248caa7abf83c4990495ad5e96e9c5363976093af0f1758b54802ecde700b5", + "unpackedsize": 674 }, { - "url": "bin/QtQuick/Controls/qmldir.lzma", - "localfile": "bin/QtQuick/Controls/qmldir", - "packedhash": "cb49f8b1f60d3393ba40bb0fd9722af0003b02e9edcab20bbeb278ec568c052b", - "packedsize": 188, - "unpackedhash": "dfbd5cb07bddd1a2342b82a442cd4a4504d87d04df79f3083bba3a031888be3e", - "unpackedsize": 212 + "url": "bin/qml/QtQuick/Controls/Basic/ApplicationWindow.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ApplicationWindow.qml", + "packedhash": "ec4b113a30d07ed30966003a066f33824f23fd16ab779fb7bfa12baed3554d5c", + "packedsize": 256, + "unpackedhash": "2a2633fd792f558ffb8ae3499c98c12a1390126b39c63f9a1e2ade6e958f57c2", + "unpackedsize": 293 }, { - "url": "bin/QtQuick/Controls/qtquickcontrolsplugin.dll.lzma", - "localfile": "bin/QtQuick/Controls/qtquickcontrolsplugin.dll", - "packedhash": "22176721106a86703e88bcbc64d279ea1e2818dad9cef4ae86e7b2942e3ee1f1", - "packedsize": 91846, - "unpackedhash": "7ffcd4213e1f9d7155a0b0765f7d798250c04102f108d0d55a94b261886e1745", - "unpackedsize": 278416 + "url": "bin/qml/QtQuick/Controls/Basic/DialogButtonBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/DialogButtonBox.qml", + "packedhash": "eb29179786669942cd022798b59e33fc3009fe6e0f86c41de816c9a90edc552d", + "packedsize": 672, + "unpackedhash": "6bd1c985c78b0a4ceaa4919cbe8b2dcaf3297624fa3c44c5f404155ab218cf1e", + "unpackedsize": 1362 }, { - "url": "bin/QtQuick/Controls/Label.qml.lzma", - "localfile": "bin/QtQuick/Controls/Label.qml", - "packedhash": "803088544450b01926945e3bfddaebd0d3a8413e40bba809e865885c31604581", - "packedsize": 1277, - "unpackedhash": "f29d6f9d351f71fcd906996c6a3379589333db53e867278bd0fedc6504a9ae4c", - "unpackedsize": 3212 + "url": "bin/qml/QtQuick/Controls/Basic/ScrollBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ScrollBar.qml", + "packedhash": "b159c94d98dc67b3a8e69ec791300646868adbb2e7619e6432f6dce2d48ed6a0", + "packedsize": 695, + "unpackedhash": "27769b4b121c91cd59712c7cddf1498100290e1495860648d2d7f7dfcfa67085", + "unpackedsize": 1491 }, { - "url": "bin/QtQuick/Controls/TreeView.qml.lzma", - "localfile": "bin/QtQuick/Controls/TreeView.qml", - "packedhash": "2497d622cba04137b6270f6736bf8cbfca2c5a2a0a3abf84dd7b279f61eb8c0c", - "packedsize": 3545, - "unpackedhash": "07beee0adba375bd9e9648ac6dfbe18a8fe3ce9dea1bc56f3efd2e017f2f7b9b", - "unpackedsize": 17067 + "url": "bin/qml/QtQuick/Controls/Basic/Button.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Button.qml", + "packedhash": "8883d44b914c7066fcbcd7eabd15366c6ff255f206da4bc6ccac3f22fca0c507", + "packedsize": 667, + "unpackedhash": "edf2f8a25b46c2de8888e263d75ac4ca92e99c20b21a3f7cab97244a2ed85cb3", + "unpackedsize": 1881 }, { - "url": "bin/QtQuick/Controls/RadioButton.qml.lzma", - "localfile": "bin/QtQuick/Controls/RadioButton.qml", - "packedhash": "9f3ba9caafde2c8505a4c155708a4ebf732a623e74f7073074b35ed398aa1e51", - "packedsize": 1405, - "unpackedhash": "69751bf1401cd0275f1269a3ff1245e94c9ab6094b51442e84a0761742d12724", - "unpackedsize": 3653 + "url": "bin/qml/QtQuick/Controls/Basic/Popup.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Popup.qml", + "packedhash": "15ba4dc493aaf8e16e581464ea7e3645f59c56864cd35096724a3250f3fbb6fe", + "packedsize": 446, + "unpackedhash": "8701f9efcebed882054c3a9ba91f85f79f5d2f7120f123efce3f6882ba71fc6f", + "unpackedsize": 892 }, { - "url": "bin/QtQuick/Controls/ApplicationWindow.qml.lzma", - "localfile": "bin/QtQuick/Controls/ApplicationWindow.qml", - "packedhash": "975aa08a2017248765513390234b4f5f2c9009bd3ecb7bdd1e2236aa566b1549", - "packedsize": 2885, - "unpackedhash": "89dacb880798de404343b7c7c601964ea9db8c94c6d80e94488f16b4cb687a10", - "unpackedsize": 10075 + "url": "bin/qml/QtQuick/Controls/Basic/MenuBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/MenuBar.qml", + "packedhash": "994c7cca143daab1ab6a8961f67c5c59d6d741a920bc88f72b1b7c19bc0af0b3", + "packedsize": 442, + "unpackedhash": "83e1d5bd1538e8c5da8083ad2cd3e6cf85d60ea144b249fc2fbae0c5e1385a19", + "unpackedsize": 816 }, { - "url": "bin/QtQuick/Controls/TextField.qml.lzma", - "localfile": "bin/QtQuick/Controls/TextField.qml", - "packedhash": "2e8297cba055cd6500f109bad580b907f548fc5c9f24bcfad0dfd541e1108f53", - "packedsize": 5625, - "unpackedhash": "0a5eec9e6bde5a318d695351eaea1187929d08bd9616672290cefb42b784b27c", - "unpackedsize": 23187 + "url": "bin/qml/QtQuick/Controls/Basic/TabButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/TabButton.qml", + "packedhash": "c45a6f69d01efed69a5be4f296beaadf85f767b026908b892918d46a5e20201b", + "packedsize": 549, + "unpackedhash": "1dfa5483c15bd605f5a70cf255c230e237585a57aa18e6bf2966e31edad39e60", + "unpackedsize": 1278 }, { - "url": "bin/QtQuick/Controls/Menu.qml.lzma", - "localfile": "bin/QtQuick/Controls/Menu.qml", - "packedhash": "7a5ffa5cb3c5d20e014e31e4097e5750f211a2c09342630e01b9f196c382e328", - "packedsize": 1807, - "unpackedhash": "e0df7e7bd642aa535e7ffd5c1b3ea3a1e201c80b554749b05483abe322e623fb", - "unpackedsize": 5447 + "url": "bin/qml/QtQuick/Controls/Basic/qtquickcontrols2basicstyleplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/qtquickcontrols2basicstyleplugin.dll", + "packedhash": "eaf28b2a8c7b581ec3220c4fe64757b8ef1a9cdced2f41d7ede754d6a19e97e9", + "packedsize": 15037, + "unpackedhash": "ede8da1e0fc7447d525c122744c04e6c256542dca96566a31db4d09cfa524de2", + "unpackedsize": 30616 }, { - "url": "bin/QtQuick/Controls/StackView.qml.lzma", - "localfile": "bin/QtQuick/Controls/StackView.qml", - "packedhash": "3d32ade1c5918e19cfcabf8c55cf3141be6050390b2d1b4256b7785b0462629b", - "packedsize": 10509, - "unpackedhash": "57151175aac70463274abccbcf3e57e08bd4cc6e7c4bd96e3646d03d7c50766e", - "unpackedsize": 43458 + "url": "bin/qml/QtQuick/Controls/Basic/RadioDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/RadioDelegate.qml", + "packedhash": "f9a8d54fbb90c8648eb6682acea0607422c3a23e1a6d9c96b68732c01b789d5c", + "packedsize": 856, + "unpackedhash": "d117d81ed79f95f520c4ee789018014dd606a603dd6921131d5e6262f8402d49", + "unpackedsize": 2430 }, { - "url": "bin/QtQuick/Controls/Tab.qml.lzma", - "localfile": "bin/QtQuick/Controls/Tab.qml", - "packedhash": "e6fa400ea0a2ae470a2b439a569a5846884b009259a5a372bcdcc1d1bc535552", - "packedsize": 1213, - "unpackedhash": "498a7572acc1a285857798648f3feeaac77364555573ad7225fb2a949a0539f3", - "unpackedsize": 3001 + "url": "bin/qml/QtQuick/Controls/Basic/Dialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Dialog.qml", + "packedhash": "cd61306c19583098a644a716f19ed0c183b1cdc3aee6515af1bfe94f6b804c94", + "packedsize": 628, + "unpackedhash": "7e0698b5c5db4f0b309ebfbc207ef22c108dae80a490d619ab3a8adc43057f79", + "unpackedsize": 1588 }, { - "url": "bin/QtQuick/Controls/CheckBox.qml.lzma", - "localfile": "bin/QtQuick/Controls/CheckBox.qml", - "packedhash": "fdf918355213629d116657648fcb327c228c18013c5ad5f5e05f38e997540d67", - "packedsize": 2161, - "unpackedhash": "c2972f85ca4bcf1d5f11364e46c297d70f611f43f7618fd7e77b421363e3a4bf", - "unpackedsize": 7217 + "url": "bin/qml/QtQuick/Controls/Basic/Dial.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Dial.qml", + "packedhash": "f20fa69c3c82df8e1340f0aa11fbc3295f2d4fbc3ef5e9e3439d4cb258718289", + "packedsize": 726, + "unpackedhash": "a2172f4edcac02087af4da8fbc73b120900714cf046d6d204ef3dbe38e0d8f9a", + "unpackedsize": 1879 }, { - "url": "bin/QtQuick/Controls/BusyIndicator.qml.lzma", - "localfile": "bin/QtQuick/Controls/BusyIndicator.qml", - "packedhash": "ff7bb99ce33e0b1d107577d7e74364e3e6a2c85210def9b0beca1891f7d995f6", - "packedsize": 1246, - "unpackedhash": "5f8fb95dee1242fa981c0201d82e0094880c88f98ebb7516d5f692a63cb64f8f", - "unpackedsize": 3172 + "url": "bin/qml/QtQuick/Controls/Basic/Menu.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Menu.qml", + "packedhash": "8908696bf56752020c488d1c287f4989eed42480d85457735e682ed62089430d", + "packedsize": 604, + "unpackedhash": "e1d84101d1a6a01ea71e831034adb1eeb07b9b7e4c9f5d25488afe121c341c07", + "unpackedsize": 1375 }, { - "url": "bin/QtQuick/Controls/SplitView.qml.lzma", - "localfile": "bin/QtQuick/Controls/SplitView.qml", - "packedhash": "a6eeb259b4335e82878c3daab202f2d3623dcde9473c74b82182ac4b72daab06", - "packedsize": 5536, - "unpackedhash": "b500378fa65be77a0f08fe26b771789d902591b0e46908b43b7aaac80ce91788", - "unpackedsize": 25742 + "url": "bin/qml/QtQuick/Controls/Basic/Calendar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Calendar.qml", + "packedhash": "428b8f797cf40019eeb33303efa7528112f68689a30c1046f45d8ddb4bf20b9d", + "packedsize": 221, + "unpackedhash": "ae878b4c539ea140d10d031b2175ec71827519bd0a1b16b3e7e300ca2c007cb5", + "unpackedsize": 208 }, { - "url": "bin/QtQuick/Controls/Switch.qml.lzma", - "localfile": "bin/QtQuick/Controls/Switch.qml", - "packedhash": "554ca8d88dc31ec00ec99c9d4c9dc02a1fe59ddd7eae289beb6680e7c00c4348", - "packedsize": 1856, - "unpackedhash": "b13ab37c9e463a9cf8e54ec49227d0d9bfc1e2305ac633c52101b1ebc1f764ea", - "unpackedsize": 5331 + "url": "bin/qml/QtQuick/Controls/Basic/Switch.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Switch.qml", + "packedhash": "0e3e98c647ce0e86616250c4a123129db13a225d93fdee268ca6c19c2995932a", + "packedsize": 793, + "unpackedhash": "95dcd91c7da7c1d993b414b1b36be5c857547ed31ad0348d09aa1f500963384f", + "unpackedsize": 2219 }, { - "url": "bin/QtQuick/Controls/ScrollView.qml.lzma", - "localfile": "bin/QtQuick/Controls/ScrollView.qml", - "packedhash": "925c44f8958d1d6a31c7bfd1c8251156440fbe6cc4437fdf1077c0f3a711fdc6", - "packedsize": 3530, - "unpackedhash": "5085d56222bc970808feca1ca1634b095c2c6ccd6691f693c1ebad2ab7ee030c", - "unpackedsize": 14604 + "url": "bin/qml/QtQuick/Controls/Basic/CalendarModel.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/CalendarModel.qml", + "packedhash": "9f36c819adfa2c6202583de97fbf24b9ca74fb6178b901d6b990b28c05452d19", + "packedsize": 211, + "unpackedhash": "308196e7e64866854122cd56893d69b43664aafb45bec98b76807b67067cc94d", + "unpackedsize": 195 }, { - "url": "bin/QtQuick/Controls/TextArea.qml.lzma", - "localfile": "bin/QtQuick/Controls/TextArea.qml", - "packedhash": "420c2fdd9d8f93c4f8659fef598a357f278a38bc01c679301c096aa7dead93a0", - "packedsize": 7960, - "unpackedhash": "fe67ce4601e82b4954ec6e3a7e6ae91367aaaca41565c09405236e065c9e50d6", - "unpackedsize": 36631 + "url": "bin/qml/QtQuick/Controls/Basic/RoundButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/RoundButton.qml", + "packedhash": "39457ae4979ce81c6c011f1fe50e1606047e42d202047c2e709e62e96628b158", + "packedsize": 681, + "unpackedhash": "81486b2e509141605d4046cb0eca6fc94df2ef48b21f715595f69d74946f2fd8", + "unpackedsize": 1916 }, { - "url": "bin/QtQuick/Controls/TableViewColumn.qml.lzma", - "localfile": "bin/QtQuick/Controls/TableViewColumn.qml", - "packedhash": "bdca440b1d821aeb3eb1ffde08fa452cd76a15b350f7639d37ecb35fabe9f94f", - "packedsize": 2238, - "unpackedhash": "ad07f5fb3b72791c0aeca0fe44707caec017fdf036b54dfd661d862ca285338b", - "unpackedsize": 6804 + "url": "bin/qml/QtQuick/Controls/Basic/Tumbler.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/Tumbler.qml", + "packedhash": "43f02db1dce3e1266717e7dbaa775e102d1b960589c67367c85f5add5919386c", + "packedsize": 771, + "unpackedhash": "cf31622dd573cae0a0707f8e97506a908d4235ec9fe7184d92a270a81bf218c1", + "unpackedsize": 1793 }, { - "url": "bin/QtQuick/Controls/Button.qml.lzma", - "localfile": "bin/QtQuick/Controls/Button.qml", - "packedhash": "149eef5cd74155e55a495fd88a4a59f49c609adef853928740c83308dc37ad32", - "packedsize": 1767, - "unpackedhash": "e30f2574809b4a3d6804cd6405fd56a1eb59f0ebd63fccfade27cc12e45c9eaa", - "unpackedsize": 4722 + "url": "bin/qml/QtQuick/Controls/Basic/SpinBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/SpinBox.qml", + "packedhash": "0570476448d36813f3311a960157ae1082f9842d928b14c76b9446648667dff1", + "packedsize": 954, + "unpackedhash": "6d9b53b6736d433d760db12155a4610c2b024cf078a91c30c6e88c7c04e98835", + "unpackedsize": 3406 }, { - "url": "bin/QtQuick/Controls/MenuBar.qml.lzma", - "localfile": "bin/QtQuick/Controls/MenuBar.qml", - "packedhash": "159535c73028aac86c73f08d1878b4ccaefbacdb38c146ccb10f49f15bea9fb7", - "packedsize": 3239, - "unpackedhash": "d00319c39c5d8aba32d480e8a7543b7e9b2913951fe24037c5dc89edf7f7b084", - "unpackedsize": 13079 + "url": "bin/qml/QtQuick/Controls/Basic/BusyIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/BusyIndicator.qml", + "packedhash": "d6c35128169625e9420212d6cd5c216c7b093b74a8d506159db21e62fad48431", + "packedsize": 471, + "unpackedhash": "906c25574340c4f699196da02671b6ab5b928773093c06b381f97f93fe36ca43", + "unpackedsize": 905 }, { - "url": "bin/QtQuick/Controls/SpinBox.qml.lzma", - "localfile": "bin/QtQuick/Controls/SpinBox.qml", - "packedhash": "c472464d7f542e3f9159d51a9956f9fd3437dd77bd9a791a7f1d6387c00c66f3", - "packedsize": 3423, - "unpackedhash": "61a59126588ed9d0a2ab0b769d618d6e346861da8e955624be3809524e81117f", - "unpackedsize": 13281 + "url": "bin/qml/QtQuick/Controls/Basic/RangeSlider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/RangeSlider.qml", + "packedhash": "853c275595ff3a76affd67e654931c8b2cfbc8fc3d50b8365684864327d65a46", + "packedsize": 767, + "unpackedhash": "eade5b9dd9722defd7c2d5c3609a3278874be23b14f67fe404e91ede46c5c905", + "unpackedsize": 3273 }, { - "url": "bin/QtQuick/Controls/ProgressBar.qml.lzma", - "localfile": "bin/QtQuick/Controls/ProgressBar.qml", - "packedhash": "244d37f0eebc84ead1f21b38f27bd5bae1294bdde8505f480615fd45a31fd6c1", - "packedsize": 1850, - "unpackedhash": "4f35bc6258a283b250ac45befa9c6d69c49eaf4805d24aa987de6f84a4d73e91", - "unpackedsize": 5692 + "url": "bin/qml/QtQuick/Controls/Basic/ItemDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ItemDelegate.qml", + "packedhash": "ed72f2d71a197a6a3a12b11f9ecf8e8302d6998833b770292dffc483719ccb93", + "packedsize": 645, + "unpackedhash": "962d4ac8c845e4b0008279114952011947a9208efcba88010c1b6b16c3fa0026", + "unpackedsize": 1574 }, { - "url": "bin/QtQuick/Controls/StackViewTransition.qml.lzma", - "localfile": "bin/QtQuick/Controls/StackViewTransition.qml", - "packedhash": "b4f86d3c23717154b66cc1562569be0a6f441a91b7f739f23d651a813736b5c7", - "packedsize": 978, - "unpackedhash": "14e65632333ed9fe15d87e138122e76cb942d5e4e0f58776eba26cdb73953e06", - "unpackedsize": 2535 + "url": "bin/qml/QtQuick/Controls/Basic/WeekNumberColumn.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/WeekNumberColumn.qml", + "packedhash": "025759f875c764ab4f36600d3b4835126c9a0ec6829950ce60ad1e6ad4f3cbd5", + "packedsize": 522, + "unpackedhash": "94907a7f25e5a7f478a819b6cb694a2cb8cd880730fecf5e424662f2b57acd69", + "unpackedsize": 1092 }, { - "url": "bin/QtQuick/Controls/StatusBar.qml.lzma", - "localfile": "bin/QtQuick/Controls/StatusBar.qml", - "packedhash": "c93ed5925fe8fa0ca1d365bee2ad1937e3f157566367f1af9ddd739d07b90d45", - "packedsize": 1989, - "unpackedhash": "a4200159ada2879ff39d94ada52c64e5d910dc7b3753438e8f9304bd3dd71a2b", - "unpackedsize": 6358 + "url": "bin/qml/QtQuick/Controls/Basic/MenuBarItem.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/MenuBarItem.qml", + "packedhash": "a03b2b0e3545895a8b29323ffcf56b3d135827a6f48b63aea1699e988f8fd64e", + "packedsize": 571, + "unpackedhash": "0bb468aeadb35c4a7f77f59baf32452632b3f7a2f0ac7bb49e4a71061f8af26f", + "unpackedsize": 1281 }, { - "url": "bin/QtQuick/Controls/Slider.qml.lzma", - "localfile": "bin/QtQuick/Controls/Slider.qml", - "packedhash": "75009a6f9820dd00703bf8d42ffcf563e7e6da7e7ed2efe5692c666dfcb5b521", - "packedsize": 3258, - "unpackedhash": "3d8119887b0309d80dd4940bd8a70d1d21561ec0db1c8aa09f3c295889c7f825", - "unpackedsize": 12350 + "url": "bin/qml/QtQuick/Controls/Basic/MenuItem.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/MenuItem.qml", + "packedhash": "4cf3e34a76700acecb482d15cbc1c1da593702d8785c5ac15e02bd357d818061", + "packedsize": 858, + "unpackedhash": "921ff56d7c94886b71dd4205c638fbf880249a1737da61972e336bac36e1d586", + "unpackedsize": 2646 }, { - "url": "bin/QtQuick/Controls/Calendar.qml.lzma", - "localfile": "bin/QtQuick/Controls/Calendar.qml", - "packedhash": "fcdfeccda857ff3bf062a0757fa201b13d4602dc48aa90f6559b26e920d98823", - "packedsize": 3251, - "unpackedhash": "d5bc343b79803dbb1f28e2a9e88614f07db92d04abbb2c87df9a83dff47fc021", - "unpackedsize": 14053 + "url": "bin/qml/QtQuick/Controls/Basic/ScrollIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ScrollIndicator.qml", + "packedhash": "f4f3cbaf74e06debac203e3722744e34835e8e365b69ee3ca03f1aa91d1d1b9f", + "packedsize": 590, + "unpackedhash": "9aa836aeb3e45dfda24bf02a08e9e38ee48928f65c22878e6894aec3b5f4e98b", + "unpackedsize": 1260 }, { - "url": "bin/QtQuick/Controls/ToolBar.qml.lzma", - "localfile": "bin/QtQuick/Controls/ToolBar.qml", - "packedhash": "74f89bc2e337765d450ba637ea3abe70f2d20f8108c981de7c4c0ce9d7fafed9", - "packedsize": 2255, - "unpackedhash": "a6fdbf00896b66b912c84bd84394637dc418c7b25533fdee13cdf2c0c530809e", - "unpackedsize": 7444 + "url": "bin/qml/QtQuick/Controls/Basic/MonthGrid.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/MonthGrid.qml", + "packedhash": "66f420e572b98b035fed8313b9abc5c9dfc1bf8cda890302e7c81ddc2f64ada7", + "packedsize": 546, + "unpackedhash": "af017fae224eccbdeba4a9f36962abb5a846bfda6cc5fc4af623f83826d110d5", + "unpackedsize": 1151 }, { - "url": "bin/QtQuick/Controls/ComboBox.qml.lzma", - "localfile": "bin/QtQuick/Controls/ComboBox.qml", - "packedhash": "1b8bd8b9664183aea961b56895bbe1dc8709742e61ad93c29d5e979eb881f546", - "packedsize": 6702, - "unpackedhash": "ec8d6d62031d1648da0f7cf174e7fd707af73cecad3a7b1d53bb6ff06cee6eed", - "unpackedsize": 26551 + "url": "bin/qml/QtQuick/Controls/Basic/ToolButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/ToolButton.qml", + "packedhash": "b20eb9be7ebd2fef3c9895b68c11c891e5fd41e4e376559f9dcb81b4f318762d", + "packedsize": 563, + "unpackedhash": "c3a541449fdeadb29f821f661762de75f39fb90bc4e4a94127ecefd5ce17bc88", + "unpackedsize": 1287 }, { - "url": "bin/QtQuick/Controls/TabView.qml.lzma", - "localfile": "bin/QtQuick/Controls/TabView.qml", - "packedhash": "18c9577b277b9dc702cc5c8f740ca8d63ea4ee175af26ee956bc8d42e2a6fc4e", - "packedsize": 3072, - "unpackedhash": "6d075d592a118cabd04880b806813d447dd8d38b61282a6305d2b6d8cce2a1f1", - "unpackedsize": 10775 + "url": "bin/qml/QtQuick/Controls/Basic/StackView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/StackView.qml", + "packedhash": "21c82aed59d45ac49ae18553fe8775de7833e7d036dcce68d5950d004be68393", + "packedsize": 380, + "unpackedhash": "663299e39b9abd4c457035b9776855f90a8d806eb245bbddd21292d7901ebda9", + "unpackedsize": 1181 }, { - "url": "bin/QtQuick/Controls/Styles/qmldir.lzma", - "localfile": "bin/QtQuick/Controls/Styles/qmldir", - "packedhash": "87fef2ffe2670c9550ddcc37cb5e3a707f37b727cf35f2191ce23283401c5a7c", - "packedsize": 470, - "unpackedhash": "7bb94bcc9fa7d849c10ed84f476ad7951a61d48fe8f78ed5201956419d38d05c", - "unpackedsize": 1575 + "url": "bin/qml/QtQuick/Controls/Basic/RadioButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/RadioButton.qml", + "packedhash": "95f7f8fae2a153523787023eb1a6dd545d68add2faaa4d91a406631c69231878", + "packedsize": 752, + "unpackedhash": "4645740bf06c41a509ae4fb6102c1f269b094d4da0b7df79be01bac491606818", + "unpackedsize": 1991 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/CheckBoxStyle.qml", - "packedhash": "63b53051eb902b5400ba43536016303b8244b0abb0edc9533672994e620a7877", - "packedsize": 1344, - "unpackedhash": "e4ce3e2c356fdc11f7d5ae4029602cdbe5f40e103cd482281a8d9f8ee6eb9936", - "unpackedsize": 4043 + "url": "bin/qml/QtQuick/Controls/Basic/TextField.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/TextField.qml", + "packedhash": "4ded2f4668338393ffe7a8ee88c1e3fbe836db7a90e9299e4ac3c1a33a8176d7", + "packedsize": 708, + "unpackedhash": "66658790bd494013f2cf505735feab6de65932488297e0909b19257cf0cfb158", + "unpackedsize": 1846 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/qmldir.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/qmldir", - "packedhash": "55453e2272c4e35af64c697a91ee082872a33739e88f9bf18e8128c5ab3bc4ce", - "packedsize": 72, - "unpackedhash": "55453e2272c4e35af64c697a91ee082872a33739e88f9bf18e8128c5ab3bc4ce", - "unpackedsize": 72 + "url": "bin/qml/QtQuick/Controls/Basic/impl/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/impl/qmldir", + "packedhash": "431e16e41dc80e93dce27f312e59ecd85f04cd844273721f475befd93631409d", + "packedsize": 222, + "unpackedhash": "bbde6f777e63cce3e105c97539676592fe03c261b867c0e9e7ecc846b0ea7b1c", + "unpackedsize": 283 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/TextFieldStyle.qml", - "packedhash": "c0a66e5889e0aba974b1e55372dc2d92141ffbe86001611b565ca75176902662", - "packedsize": 1270, - "unpackedhash": "469cc7017a3deaa57e5ad77f67d92c49730158d4cdd3d4ce4a0565916b4bf046", - "unpackedsize": 3377 + "url": "bin/qml/QtQuick/Controls/Basic/impl/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/impl/plugins.qmltypes", + "packedhash": "4ef618e294ba90dd949b04da7916ed06c8e9a1dda97606f2dc565119b4204475", + "packedsize": 797, + "unpackedhash": "8e2045bb8a417bb9012997eddfd81496e87b6d7599d40787bd4aa95e94aa4903", + "unpackedsize": 4003 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/ProgressBarStyle.qml", - "packedhash": "5d4148236406cf8e40ef2a179f0414ede39d572451b31b9670b74adfd1a28f9e", - "packedsize": 1123, - "unpackedhash": "374eca958ef36b2324abbec45e179e11570f6de5a91f8ad3f2559393b240ed28", - "unpackedsize": 2916 + "url": "bin/qml/QtQuick/Controls/Basic/impl/qtquickcontrols2basicstyleimplplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Basic/impl/qtquickcontrols2basicstyleimplplugin.dll", + "packedhash": "1dc4a0ce31cab0f7852bb0fe2ac8d44231dd7ba5cfeaca593ce1b3729545f201", + "packedsize": 14770, + "unpackedhash": "21e5956c1385ab857375caeb6e911c59404b62a9f6b2ba418c63051b882ba576", + "unpackedsize": 29592 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/ToolButtonStyle.qml", - "packedhash": "0b4b29bafe1e2910e6610217cc428bd38f09b656150500fd012d92e797329255", - "packedsize": 1013, - "unpackedhash": "eab8aa6660afc600bb4638790dee761289226f376dec5048ff1322cae9962ea8", - "unpackedsize": 2679 + "url": "bin/qml/QtQuick/Controls/Windows/ProgressBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/ProgressBar.qml", + "packedhash": "91073ec2ca253ce80f65dfdc6e1ce4396d3f1160176b98a98bdf7b7b6ccd740d", + "packedsize": 222, + "unpackedhash": "93d46ca3c5134e06d4c23dbe63dcf5204c0e836f564c0b1d8fa5fc6e10632094", + "unpackedsize": 238 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/TabViewStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/TabViewStyle.qml", - "packedhash": "496a30de578d4bdec4c868f659c74d11398ec48381eedea88d39e33bdb13acff", - "packedsize": 1746, - "unpackedhash": "fa8d23345774f673ec2e255ffd773b4f79c9402b1d96fd6b59daf8296b388322", - "unpackedsize": 5403 + "url": "bin/qml/QtQuick/Controls/Windows/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/qmldir", + "packedhash": "0ce99a776144857159243f32b5f58e835034c3c1e06356a33dbf060b1740690f", + "packedsize": 426, + "unpackedhash": "fb9038e4e7c6f750e4320fd20b1f33408a8de206f8c4b0f2b83f9e4cde278288", + "unpackedsize": 1193 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/TableViewStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/TableViewStyle.qml", - "packedhash": "769b3470ac32c71e3efb08e6937d882e00d90d5e56355d9f5fee6229f2e56819", - "packedsize": 1748, - "unpackedhash": "d79180c0b2d1fdfe1d99e182d5ee3c28262402cffa817820379e66618c976114", - "unpackedsize": 5378 + "url": "bin/qml/QtQuick/Controls/Windows/ComboBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/ComboBox.qml", + "packedhash": "bc4f34cda54946b9fbf32649ee2be1f1831ed76401f4435ea222a8d76e91c149", + "packedsize": 1208, + "unpackedhash": "5e5132d714154c696bcf4e2ebe9c94116b702e6fb0bf9906cc6850a38f50925a", + "unpackedsize": 3831 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/RowItemSingleton.qml", - "packedhash": "f55d86109ac3cfa8a4cc25870f2a930a4d8b21703e68dfb9902cbf3f213bac49", - "packedsize": 822, - "unpackedhash": "5c11ed9112f3d286dd0351cc5166aeb3cf7b4bc8847c0a35422dfbc14fb4f3a4", - "unpackedsize": 2070 + "url": "bin/qml/QtQuick/Controls/Windows/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/plugins.qmltypes", + "packedhash": "f121122314e8cc3c277069ea6e036ba8440143c8d97d0b9d0fd5b7a11592c2e9", + "packedsize": 221, + "unpackedhash": "a96c7bf5832767bdc9d91e2290a3920aec3abfbf2e3814bce38b49483f16f84a", + "unpackedsize": 215 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/SwitchStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/SwitchStyle.qml", - "packedhash": "b30f7f66340ef8f99db928eca7489cfba727859c3f9f72a8e428d2b7ef06ffbe", - "packedsize": 804, - "unpackedhash": "203f0571c301f3215736c0647181d8c40cf7dc6c96c4c22fee327a0f2643048d", - "unpackedsize": 2113 + "url": "bin/qml/QtQuick/Controls/Windows/Slider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/Slider.qml", + "packedhash": "342263c5ecdb43ea47207f0d15adb6f0e929e10233deb5e63635b3a365b241e6", + "packedsize": 217, + "unpackedhash": "01c8abcc978068d16fef548b6f5df1fbee233a94cbba0dcfa1fd1774590706a8", + "unpackedsize": 233 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/SliderStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/SliderStyle.qml", - "packedhash": "2496280b532f406ba575c5777fc2f0309c09ec7025aeaf80cf73bbee8107fcdb", - "packedsize": 1112, - "unpackedhash": "67d3a94b75a01afee08644cded0e393cc3180916fe6dc9bf4b7e7b14727ed582", - "unpackedsize": 2912 + "url": "bin/qml/QtQuick/Controls/Windows/ScrollView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/ScrollView.qml", + "packedhash": "d1e4953af30ff4bd31fb9e325827edd6f8c20925c6177407295b1417eb6da852", + "packedsize": 591, + "unpackedhash": "239bc55cbbe43d0f4bc14d9c5f79578e9c4b39725014b351f232fbee228f7dba", + "unpackedsize": 1347 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/StatusBarStyle.qml", - "packedhash": "7d9cafc0ce05e01df48f9455b9c7b61d26e958fbb281a6df2ce425c684c2902a", - "packedsize": 983, - "unpackedhash": "a605e146bd646c94f5df54330956fcf355aa994822a3f19d2e8fc8dc7c6fdc72", - "unpackedsize": 2491 + "url": "bin/qml/QtQuick/Controls/Windows/GroupBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/GroupBox.qml", + "packedhash": "dcfd251e82e3c6d03b0ae40b01d65102ab193e13a9e257d0b8b9fb01583ba94b", + "packedsize": 219, + "unpackedhash": "5f2a2b9ef0dfe1d48b5f79203dfc785f5df996a93e9381171d1d39798eddb433", + "unpackedsize": 235 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/ScrollViewStyle.qml", - "packedhash": "8a7f8d516ee6ef43f8c7b05a36e2f944cd09f0adecb012d97ee707df1935e9a9", - "packedsize": 1345, - "unpackedhash": "a6f0cba47674af372708d6002506a0514fc8f1c6df922416b44549bdb5d08806", - "unpackedsize": 3920 + "url": "bin/qml/QtQuick/Controls/Windows/qtquickcontrols2windowsstyleplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/qtquickcontrols2windowsstyleplugin.dll", + "packedhash": "d621570e3a16b7ac340b4e13b23944c5f89b6b577acba134470ddd611c78ce55", + "packedsize": 55170, + "unpackedhash": "cb3c0c06b109ab741fa41f0f9103e1819c93155c58f20c695d2fb9369f1b55ff", + "unpackedsize": 207760 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/ApplicationWindowStyle.qml", - "packedhash": "a25490de4c76622f8f55359005a75928caff34ca979ee10bfd1de158a4b2453a", - "packedsize": 793, - "unpackedhash": "05e93f38d7c9fc61de783db9da2ecb29327eefd0c1d8c9b39ad9b90224c7170a", - "unpackedsize": 2037 + "url": "bin/qml/QtQuick/Controls/Windows/CheckBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/CheckBox.qml", + "packedhash": "ddcd047eacb3cc68149d2c24bf457bc40761dfb82c02d3ffb8f86b1fda2f64be", + "packedsize": 1111, + "unpackedhash": "60016f5c85a04b7019cb76d08106a1593b9e64f9b87691155d8f1124dd5317ad", + "unpackedsize": 3021 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/CalendarStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/CalendarStyle.qml", - "packedhash": "6c6c5350d1b813e52a2880efce8b391acab66009790bdbf2101dc9c9d3077149", - "packedsize": 786, - "unpackedhash": "15f50d0791445818e933e80650baa16a94d3b9403b216d87fec1b5e340d1f267", - "unpackedsize": 2027 + "url": "bin/qml/QtQuick/Controls/Windows/SelectionRectangle.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/SelectionRectangle.qml", + "packedhash": "9ce05c04d9a0a28b0de841c3b3dfa5862ea6471f0197a62f22bd96934847ea0f", + "packedsize": 446, + "unpackedhash": "68f3e5615988adda822a4f3f1f86fc52448722016005436d114a8e490ddd01d9", + "unpackedsize": 915 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/RadioButtonStyle.qml", - "packedhash": "b8c4d9a330c2856453fcd007f472c4743a12cb825faa9877514da0463cd8f2e6", - "packedsize": 1354, - "unpackedhash": "d673e0f7fad84074a376601ca564445e9a8b428cf50c37ea59d05a7ab5924f6a", - "unpackedsize": 4128 + "url": "bin/qml/QtQuick/Controls/Windows/TextArea.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/TextArea.qml", + "packedhash": "4166811b23b4fff1e55e5b81c5779b55f925494560937d35c60d68f21ee9066f", + "packedsize": 219, + "unpackedhash": "18023e9a06a1a4245ac0c902ff5c966dfeed48590aa12721d92ede63f561e6f7", + "unpackedsize": 235 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/BusyIndicatorStyle.qml", - "packedhash": "eed4cac6a01d5741cbbcf60523119a837223c268d5632b73f2928c6c381fa784", - "packedsize": 792, - "unpackedhash": "269b14a439279c1b28e2d66093e42c8cec9f9ec4a6996633b263caca6460fac9", - "unpackedsize": 2033 + "url": "bin/qml/QtQuick/Controls/Windows/Frame.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/Frame.qml", + "packedhash": "48ef80a1003e1af89a4ac940fb701d7baaed22135f8ed4a82de7bc3cd9a80cdf", + "packedsize": 217, + "unpackedhash": "a7b01d73295e39fb9025805013faedd04297048b8625ce9a9eebdd75e89d7281", + "unpackedsize": 232 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/ButtonStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/ButtonStyle.qml", - "packedhash": "085af3f2b71ec894fb20570f691ba9746d70c0260fc91429c72dcdeeba16a8e3", - "packedsize": 1047, - "unpackedhash": "56bd787a33adc129d41092caa2e38bac074f0abeb9430ca2ee134566d12a55b0", - "unpackedsize": 2728 + "url": "bin/qml/QtQuick/Controls/Windows/ApplicationWindow.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/ApplicationWindow.qml", + "packedhash": "1c6386abb4f1c35fd656a39bb9bc74227bed2de5bd2c44714f725faa2f739f54", + "packedsize": 245, + "unpackedhash": "963603207998f1061af4cc58c81639bdbab133923d989d57e19a83ea15bad2bb", + "unpackedsize": 253 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/TreeViewStyle.qml", - "packedhash": "e121326f19e742f5e6958536cada6b969712e04aa4af43539ddc2178a18f848f", - "packedsize": 1098, - "unpackedhash": "f25f4d88d7e91a642cf1f1484290398a6fbe56ca30e8d2641674fc2af95be28c", - "unpackedsize": 2851 + "url": "bin/qml/QtQuick/Controls/Windows/ScrollBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/ScrollBar.qml", + "packedhash": "8c0896e3f6a6eead7cf3382b78f4d5317a2b1de84577ea0ff6470bb2df87aff2", + "packedsize": 865, + "unpackedhash": "d908207cbc101623c16fe87fd37d6144230362a64a8c7ac112f62bc040245b3b", + "unpackedsize": 3652 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/FocusFrameStyle.qml", - "packedhash": "2d1f8b91faa644749a0f3de053a6e8bc87b32f1acb06679d5e3ecaa06c77973d", - "packedsize": 893, - "unpackedhash": "8307ceef8d86f2e307b67a1c4a0b33af7b83cc4965f698b15960841d20b19f29", - "unpackedsize": 2261 + "url": "bin/qml/QtQuick/Controls/Windows/Button.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/Button.qml", + "packedhash": "aed40f4c3cae47c296b62cb0ace18c02c9ecf2b1968164af46419031d3134a33", + "packedsize": 644, + "unpackedhash": "46aa8157856a03d43b3dc9492c1da8d752af10d7dec68fbf9d660b5eb11a7ab3", + "unpackedsize": 1486 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qml", - "packedhash": "1215c87e2c7cd483653ed0622c3b732d76da9620f86e98586859cf1a9d7b8c95", - "packedsize": 1032, - "unpackedhash": "c6b003634227509e65f0bf51da7c933dde9edeedec7939a9b4ec6a032d15ce76", - "unpackedsize": 2739 + "url": "bin/qml/QtQuick/Controls/Windows/SpinBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/SpinBox.qml", + "packedhash": "945ed1c33ebc66e2ff12609fc9ee05d976b8b2dfc1ce19894ce1f61105983784", + "packedsize": 1109, + "unpackedhash": "15d4c806a4e1b8a7b0e70767de1d0cf12facfe7836b44fb2c4152dfaf94c527b", + "unpackedsize": 3395 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/MenuStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/MenuStyle.qml", - "packedhash": "72793ab55c39ab14b8b48a6a94fa408d0830fe90f9097e2bc8962ac09255d931", - "packedsize": 1557, - "unpackedhash": "af75bb0905d646a1a15361d642ab86a1d389695d6bcfee8291cda857f84e0cb6", - "unpackedsize": 4683 + "url": "bin/qml/QtQuick/Controls/Windows/RadioButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/RadioButton.qml", + "packedhash": "bd12af7786d2d4c61ffbe59cc0ec5f484e4fb45aebcd9121d7f9981eaa7cb9e3", + "packedsize": 221, + "unpackedhash": "133f2d1cc5648252686b93059aa3dd0ac4ac1dbd1240d9db83d05b4bfc94110f", + "unpackedsize": 238 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/ComboBoxStyle.qml", - "packedhash": "d28e2ef961435992fc12d4ce2b3bf44725a54a353150d5d2b637fc4431aa4f65", - "packedsize": 1745, - "unpackedhash": "b8ec881a35cf7e90154d2413cdcd53c2b131556c22e96f542fd934fa3ae34c83", - "unpackedsize": 5292 + "url": "bin/qml/QtQuick/Controls/Windows/TextField.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Windows/TextField.qml", + "packedhash": "47f9be7b1a31fc8f069dd71ab0a193c95b26f2489251959801c80383b897fe78", + "packedsize": 220, + "unpackedhash": "17e1cc642f58ad68cbaa9d2bdca2e637d2561f124553908832f4a5212b6d79db", + "unpackedsize": 236 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml", - "packedhash": "99f7e7025d31ddf75a68e336f1473af36503adc3c042cf1453888ca82635a5f3", - "packedsize": 1235, - "unpackedhash": "6858db01fa20ad83559bb5dbb9bb6a7711c8c6959ec53febd4d0a9c5370cf59b", - "unpackedsize": 3230 + "url": "bin/qml/QtQuick/Controls/Material/Label.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Label.qml", + "packedhash": "f5399bb56caa5b6654252bbaa9cf6bd50d973f21ab0bbee6878d186328d289e1", + "packedsize": 288, + "unpackedhash": "8327586c8089f71e0ac787bb0f306421b456c677cb0c9eeb66a52a886d966d27", + "unpackedsize": 355 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/SpinBoxStyle.qml", - "packedhash": "f2f0046be18cf7cfd6d10c742bab2bcf11d886bdde3ceeab7f2a1e50c87dbe07", - "packedsize": 1685, - "unpackedhash": "bc6aa234585366a42dc44d90f15baf2cdc601f4158e9a2e97a9e8ce4bdabe15d", - "unpackedsize": 5470 + "url": "bin/qml/QtQuick/Controls/Material/PageIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/PageIndicator.qml", + "packedhash": "413825a1ed60c4674780b11e42888718f72207405b127947ff2c81f1d1abbfba", + "packedsize": 691, + "unpackedhash": "d31aa5ca74f3db70c03555bed9edcacd1fd9e79b0389a2960087a2dd35279525", + "unpackedsize": 1369 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qml", - "packedhash": "c0b9b64fd107f32d6c01e593dacd3a869255b59c6f79e33c795cdcaa1cfe4377", - "packedsize": 1017, - "unpackedhash": "19a1f65314d130633f132dfcc0632767870946edec1ec3094d77c7ebf1dedea2", - "unpackedsize": 2560 + "url": "bin/qml/QtQuick/Controls/Material/Drawer.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Drawer.qml", + "packedhash": "626f017a90d4c45106cd8a408636d158f1b9b98861037848f95602e13639cb8d", + "packedsize": 870, + "unpackedhash": "577f55a32234ca2344166c6b2b6fa0e554759fbc66b38bd6bcbda6ed916f7034", + "unpackedsize": 2201 }, { - "url": "bin/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Desktop/MenuBarStyle.qml", - "packedhash": "7afd4a2744beffe83d1fc88621755e155996caedca5dc32a62155dbb4f7e1fb9", - "packedsize": 1141, - "unpackedhash": "177f211ee15687e231b2a790172d5cadd638016831af3e4a55c4f9eedb37e2ac", - "unpackedsize": 3238 + "url": "bin/qml/QtQuick/Controls/Material/ToolTip.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ToolTip.qml", + "packedhash": "4e27dc2b932e38b93632ac89632261dceb2815b2cf9028ad77c17a3da076971c", + "packedsize": 708, + "unpackedhash": "1654e60b328c0396552ee2ff5350e1f291888f2ab62239b12a37cfac26f7cb2d", + "unpackedsize": 1516 }, { - "url": "bin/QtQuick/Controls/Styles/Flat/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Flat/plugins.qmltypes", - "packedhash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "packedsize": 0, - "unpackedhash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "unpackedsize": 0 + "url": "bin/qml/QtQuick/Controls/Material/ProgressBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ProgressBar.qml", + "packedhash": "50d37938435f048cf1a89d27387c25bb6d40152cbcd7c00c376834a1474ee277", + "packedsize": 524, + "unpackedhash": "395ec5c8c2723f6ecf681a8552aa90f814d2ed22eb02a7e0a0a9ebf0d302b3b9", + "unpackedsize": 1141 }, { - "url": "bin/QtQuick/Controls/Styles/Flat/qmldir.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Flat/qmldir", - "packedhash": "5a3d2d0ad637a6cb8d9f576aac7c5a164032cfc505080e09f8b42fa8793c59b1", - "packedsize": 150, - "unpackedhash": "a84a08bb95a702c80c249681b7c0e6f42173fea619124961243f4804ed6cda70", - "unpackedsize": 126 + "url": "bin/qml/QtQuick/Controls/Material/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/qmldir", + "packedhash": "6cec95b448c9c35bdb0a397020faf39a59b7a168b9fc839f8f5f5edcef9dce7a", + "packedsize": 825, + "unpackedhash": "bc8d53f787777fc08b490e0b51d346f18f75d016b5629c5f8a79bc56f393dd46", + "unpackedsize": 3566 }, { - "url": "bin/QtQuick/Controls/Styles/Flat/qtquickextrasflatplugin.dll.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Flat/qtquickextrasflatplugin.dll", - "packedhash": "671233a5530121a6a4ab6bc17e2ff972272087f54affaa53044963fb354ed4f5", - "packedsize": 213623, - "unpackedhash": "3f3d861908ae5de6b3400669ce63ab68d37d5bb6c1713811c2cd44f2c1251f0e", - "unpackedsize": 827280 + "url": "bin/qml/QtQuick/Controls/Material/ComboBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ComboBox.qml", + "packedhash": "c052bd61bcc09f2160461e3d1a73bf622c9b513658682fb845b2a7dd0b225606", + "packedsize": 1526, + "unpackedhash": "0c0e5a62c9f6cb3451c3e2d0f0de96bd686470796dc2d6ea4a5bdb12f82b37b7", + "unpackedsize": 4897 }, { - "url": "bin/QtQuick/Controls/Styles/Base/CheckBoxStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/CheckBoxStyle.qml", - "packedhash": "3c077a9b17146ed3a2530f266ea233e07ef6936f94dee554a354ad15bdb62c07", - "packedsize": 1998, - "unpackedhash": "4cafee3390640ebdbc9bfc21bbd55d63905b5c293237ee0b5fcd2596d875a4ae", - "unpackedsize": 7275 + "url": "bin/qml/QtQuick/Controls/Material/SwipeView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/SwipeView.qml", + "packedhash": "3bfb4038fc6d73d1e9286c441b2e7ec6b65dcd29e03220788d7db29016ccf93f", + "packedsize": 586, + "unpackedhash": "7fe4180886b9c620e799789950110fb8c448c0e95c0b9d033cdcdde55623016c", + "unpackedsize": 1157 }, { - "url": "bin/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/BasicTableViewStyle.qml", - "packedhash": "942470f853384e6b27538e03f9f57c56a700461be5aa659c05220d77a4be1626", - "packedsize": 1881, - "unpackedhash": "d02446470ba5cd51e390ee1b6f78080942b09974ad089088975795b55ce59dcf", - "unpackedsize": 6586 + "url": "bin/qml/QtQuick/Controls/Material/ToolBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ToolBar.qml", + "packedhash": "3c3d7f92a5615f0329bb4e7df3244604050a00a3bff56c26d355bf676588fedd", + "packedsize": 479, + "unpackedhash": "cbd963bf6edb5c8c35736fcc258ed25b1800097ea58285c21c2af8620b9210da", + "unpackedsize": 978 }, { - "url": "bin/QtQuick/Controls/Styles/Base/TextFieldStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/TextFieldStyle.qml", - "packedhash": "eac86dcdcc37abe32dd6939efe14a15a14f69cfd50a930ad7fc4917850c03e97", - "packedsize": 2261, - "unpackedhash": "ed6d8c14fceff917c6eef857723b8085f444a456b95044a01db65a9e0202c8bc", - "unpackedsize": 8423 + "url": "bin/qml/QtQuick/Controls/Material/SwipeDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/SwipeDelegate.qml", + "packedhash": "2c8d9436947071e01e16f3c98b84d9d7768b01f9ca8c3e5a54fc7fce9aa3e8a8", + "packedsize": 823, + "unpackedhash": "b40cb458f814d1d24cabc698a9734ba6e634e843a97a058fba8a4388f234fd3b", + "unpackedsize": 2155 }, { - "url": "bin/QtQuick/Controls/Styles/Base/HandleStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/HandleStyle.qml", - "packedhash": "fbad7f936a3ac7d58f63460c8ae28cc18dd6f948653ae4070b16a4c983994d23", - "packedsize": 1028, - "unpackedhash": "0c49eed4e013cd6d921a73a362ae0b49288c91377cb1a6fd1d9a3c1a79db78d0", - "unpackedsize": 2849 + "url": "bin/qml/QtQuick/Controls/Material/SplitView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/SplitView.qml", + "packedhash": "c9dd213a8913b48de013b96d8840db78c802f67c57504bb5b6c4c9d7a006e896", + "packedsize": 646, + "unpackedhash": "23e4643da77856c2143192c88fc2eb2296d9b634176c5df38b255209915edddd", + "unpackedsize": 1600 }, { - "url": "bin/QtQuick/Controls/Styles/Base/ProgressBarStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/ProgressBarStyle.qml", - "packedhash": "fd6faa74bd96708bd64da7aaf9620f779562d26591a928ff3ef1122ca8d339d2", - "packedsize": 2509, - "unpackedhash": "d3faafa6630bcd03e81dde2d87486cbcd0c4a5b20785c74342f37e002b65a2af", - "unpackedsize": 9671 + "url": "bin/qml/QtQuick/Controls/Material/Pane.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Pane.qml", + "packedhash": "45b8ec23e21b3c5d1deb1934356767d637227485c8b0a1c24678feab88e04c97", + "packedsize": 498, + "unpackedhash": "f8b9215ac8595571d306eb1b78649e36249d792fcf0bd6a484be82b5abebcd02", + "unpackedsize": 1078 }, { - "url": "bin/QtQuick/Controls/Styles/Base/ToolButtonStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/ToolButtonStyle.qml", - "packedhash": "a1588503e473235f558f7aaec321280a8c5b244d8e5c6bf105ca1ff529184286", - "packedsize": 1480, - "unpackedhash": "195b734636f3b55789cc07bada134d37aa256be989d4bde8e10456c598deabf0", - "unpackedsize": 4334 + "url": "bin/qml/QtQuick/Controls/Material/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/plugins.qmltypes", + "packedhash": "5e9d30de3b30a5fb7468ac01237930c1ab5cb72063a43e75bc81a5d3700ef64d", + "packedsize": 2165, + "unpackedhash": "8900c9f85be7675fb93070708b0c77d8532fdec8f83bc18c0eaf190f9f27a68d", + "unpackedsize": 21644 }, { - "url": "bin/QtQuick/Controls/Styles/Base/TabViewStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/TabViewStyle.qml", - "packedhash": "d6d7f2a1a8e352e7d6550f34a5359cc389cbfcbe1940a9c7cba32147134493b9", - "packedsize": 2217, - "unpackedhash": "a5311934501b5029ee2be2f6b75b00e8920ea05d0e96776fae2308a5e955b200", - "unpackedsize": 7770 + "url": "bin/qml/QtQuick/Controls/Material/Slider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Slider.qml", + "packedhash": "31444b84d47d2ff9f8a8935b4caac5ce55544805984d77c6ba0b11cc92cbfd5f", + "packedsize": 1394, + "unpackedhash": "9dcc445f2d59820bb736816dbd4c1c48694e09bb9bed980d3869bea6c0c671fc", + "unpackedsize": 4834 }, { - "url": "bin/QtQuick/Controls/Styles/Base/TableViewStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/TableViewStyle.qml", - "packedhash": "9c8a7ae608b591411753770768433f85b4e96e4c0761d95bed0ce98fd5af45ad", - "packedsize": 835, - "unpackedhash": "8e717245351e3b2d37ebc2f86a21be70de1f23e400c4d87ce7f5fa5f7e15c9bb", - "unpackedsize": 2116 + "url": "bin/qml/QtQuick/Controls/Material/TreeViewDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/TreeViewDelegate.qml", + "packedhash": "6b0265ded565d213566209cebd8b7722ba999321fb013631d669c7c76c9c053e", + "packedsize": 1365, + "unpackedhash": "1f63fb618ab694fac423dbf9c40ad9806b9118a2e03ee4773a53ca28cc9a8624", + "unpackedsize": 3886 }, { - "url": "bin/QtQuick/Controls/Styles/Base/SwitchStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/SwitchStyle.qml", - "packedhash": "69bcbe1e7244df518f486bbcdcd4ade0bfade3302a4c392d20ce00cad234b5b9", - "packedsize": 1789, - "unpackedhash": "56f01c435e5bd0b6ed7cff22b68651aa2cab6018956284e97220f6ba46c47333", - "unpackedsize": 6038 + "url": "bin/qml/QtQuick/Controls/Material/VerticalHeaderView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/VerticalHeaderView.qml", + "packedhash": "eb021dfbdf631be2710c1ec544f3b89a59bb548a4d026228b32cd48e8bdfba95", + "packedsize": 790, + "unpackedhash": "3164fd0040b90abc898f026eec6e1c499e80ae4c172a3dd99f86b2030141e7bf", + "unpackedsize": 1584 }, { - "url": "bin/QtQuick/Controls/Styles/Base/HandleStyleHelper.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/HandleStyleHelper.qml", - "packedhash": "53380d6a53e5f612dac0b969b6713b5ef17793b8c9c794b9433f700fe6b54b88", - "packedsize": 1296, - "unpackedhash": "08b3432bca020144eee63a8eba54fcd9de6abad39368e316ea5eb3f627e8c113", - "unpackedsize": 3955 + "url": "bin/qml/QtQuick/Controls/Material/SwitchDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/SwitchDelegate.qml", + "packedhash": "c0d18cf22072ea6fe408382f176311f1c2e5a43716105c092e5f12b8bab1e522", + "packedsize": 849, + "unpackedhash": "8cb10e96223f3ddcd73c6751c61a2f23fc618f34b336538cb8b5757d2db9e15b", + "unpackedsize": 2373 }, { - "url": "bin/QtQuick/Controls/Styles/Base/CircularButtonStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/CircularButtonStyle.qml", - "packedhash": "9c6a76a5ae9d3dda43d51aa0e3ecc6a731a3a18801e3f0cc1d0dd1b8cef39d5c", - "packedsize": 1227, - "unpackedhash": "c230f37e94b347033b9b1d230d81d2db5f489b68db7e776185fd6ff1569758ae", - "unpackedsize": 3387 + "url": "bin/qml/QtQuick/Controls/Material/DelayButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/DelayButton.qml", + "packedhash": "eb875c194c579bc604654e7f0485d5b0ad3419c8cd024ff1f4a380a026de32f2", + "packedsize": 998, + "unpackedhash": "fd46b2e73feaeecbc9eb11825744677e633168a57a51199f72c3375375b9180b", + "unpackedsize": 2822 }, { - "url": "bin/QtQuick/Controls/Styles/Base/SliderStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/SliderStyle.qml", - "packedhash": "7c87fec48c66010c550b55a0d0656f22c4c802ec98daae809624a6333065a3e1", - "packedsize": 2455, - "unpackedhash": "2a7d2bfc834a4a902ee60361a669355cda0e401823f42137b83504f97be0723d", - "unpackedsize": 9011 + "url": "bin/qml/QtQuick/Controls/Material/ScrollView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ScrollView.qml", + "packedhash": "70b144d74003978f260f3c4a92653d17bb6b3e6c0c22e07c8bffe543ef00c1f8", + "packedsize": 465, + "unpackedhash": "5744512d0163200f17ee614036412b66b355eeda442b4843f6ab1a31a8b1f07d", + "unpackedsize": 1024 }, { - "url": "bin/QtQuick/Controls/Styles/Base/StatusBarStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/StatusBarStyle.qml", - "packedhash": "facc037a34214cdfba9c7d1d5ec9fb0cf283f5a8bd04ce0caf9a6a39d6624a0b", - "packedsize": 1250, - "unpackedhash": "e9c144d88dab0d146f3b32023313be166bf4fc73e589f4143f4417641789f3d7", - "unpackedsize": 3884 + "url": "bin/qml/QtQuick/Controls/Material/MenuSeparator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/MenuSeparator.qml", + "packedhash": "070880fafa8979ff185aa1029bc250f6a4d2e7cce802b3b9c8bac875b45589e7", + "packedsize": 410, + "unpackedhash": "d83c8364aaced4c70dec9a0baa8cabefef07eefe5e30e9dc46237df9e7c7b0da", + "unpackedsize": 737 }, { - "url": "bin/QtQuick/Controls/Styles/Base/ScrollViewStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/ScrollViewStyle.qml", - "packedhash": "1aa9fe46053326210b054451565623dd257167cf8d8d78d9388ac9fa21b06194", - "packedsize": 3520, - "unpackedhash": "f402b2340345030308b9dc21b81863ac399e1086a55d91bb7c9e5664e2ae95c6", - "unpackedsize": 17572 + "url": "bin/qml/QtQuick/Controls/Material/GroupBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/GroupBox.qml", + "packedhash": "133db6c3ce66470e1b78dc95a5c4c024434b6851db8b1e6b9a22c6813b410d1c", + "packedsize": 687, + "unpackedhash": "c50a24720bc530d72d4600a4bd2f76cc18044f9026267f65a8aa34581043f37f", + "unpackedsize": 1715 }, { - "url": "bin/QtQuick/Controls/Styles/Base/TumblerStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/TumblerStyle.qml", - "packedhash": "1f86547f1fe23e59efee4a24c143536701612f20dd61e75ae866ad742a8fc7ca", - "packedsize": 3067, - "unpackedhash": "d23a90db1d8b0dd7e49f7f83cf9c8ba510b2a14125a452f222f82068822457af", - "unpackedsize": 12873 + "url": "bin/qml/QtQuick/Controls/Material/HorizontalHeaderView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/HorizontalHeaderView.qml", + "packedhash": "0658dcf64a7d98ece9393c5bfb79bdd417a21d888dead162386ebb5264a45782", + "packedsize": 784, + "unpackedhash": "52ea32297b574cc6ee1b00e0685eee131e3f845c6696b0526b89f5fae6eef5f2", + "unpackedsize": 1593 }, { - "url": "bin/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/ApplicationWindowStyle.qml", - "packedhash": "7d3e689242a76d603862b5a6895823bd97109321b74d3d69e62044debb20e6b6", - "packedsize": 1584, - "unpackedhash": "5a667da03b77d4ef01d9a9bf9dca168645e102b1147678741892b8e785ea6c54", - "unpackedsize": 5195 + "url": "bin/qml/QtQuick/Controls/Material/CheckDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/CheckDelegate.qml", + "packedhash": "38ddb1705baf3ee37136186b8b9528e0a22353dc6fe3a47b711f8b3b792318df", + "packedsize": 839, + "unpackedhash": "994a4581969b9932a4e21bc5bfa501e10ee1f766f111f7f5219c60665c02cf03", + "unpackedsize": 2334 }, { - "url": "bin/QtQuick/Controls/Styles/Base/CalendarStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/CalendarStyle.qml", - "packedhash": "fe3855a4ef9a661951d9e363b5a6ad9d4f78574b409a35861fd194e3be66d5b6", - "packedsize": 5388, - "unpackedhash": "f36ec8a4ed40596a341e7017fbf13635091e8fa8ac8f509721706a9dc47162d2", - "unpackedsize": 30093 + "url": "bin/qml/QtQuick/Controls/Material/ToolSeparator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ToolSeparator.qml", + "packedhash": "8b212201ddb69cdb2b027b51d94eb821356adc0758b369e1122535ce09857a29", + "packedsize": 447, + "unpackedhash": "def7296678a7d926a3992f117eac7af4ba3b9a6ba108fe160fec87515e32229b", + "unpackedsize": 841 }, { - "url": "bin/QtQuick/Controls/Styles/Base/RadioButtonStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/RadioButtonStyle.qml", - "packedhash": "0f6dc09a2a16464583271bb634e930cc52cbbb118bcd4c20317294188839efcf", - "packedsize": 1859, - "unpackedhash": "a5a0081052f3ae4c8d97472ca1ad6ad67e8c4a05758143cb18ca8e99114dfbaa", - "unpackedsize": 6421 + "url": "bin/qml/QtQuick/Controls/Material/CheckBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/CheckBox.qml", + "packedhash": "c1fc2cf3c47642902ed9fe3baf431f6bbc6eae472c872bb9f90ba89499cbb302", + "packedsize": 744, + "unpackedhash": "51d67f569de20cd6e90f04b7337513052ed1e5a9ca256f3c76ec405b1fd76e0d", + "unpackedsize": 1969 }, { - "url": "bin/QtQuick/Controls/Styles/Base/DelayButtonStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/DelayButtonStyle.qml", - "packedhash": "e75d266eddb2a864db935f8889e3944ea7ea6de084756e4f3d545acd57a9df50", - "packedsize": 2104, - "unpackedhash": "734198ae9b68b20931073ecec580b3924006a40212a397a26854acba3c60d08e", - "unpackedsize": 7477 + "url": "bin/qml/QtQuick/Controls/Material/Page.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Page.qml", + "packedhash": "f34cb4387417130fcd3a0a67cfc05b1f84528d571cde521cc25a2782e312d7f5", + "packedsize": 484, + "unpackedhash": "8aecd94f738637105292a74df370146258c470a9b3dd1ac63e42ff29377fa9ed", + "unpackedsize": 1137 }, { - "url": "bin/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/StatusIndicatorStyle.qml", - "packedhash": "b06453a32bf5db63876ef01e6ac262443027df1abdb471838c772b987318327d", - "packedsize": 2219, - "unpackedhash": "50553ce68adb869229ade37de56d3517947eca4a2c0098a0f3f765329a66eb1a", - "unpackedsize": 9088 + "url": "bin/qml/QtQuick/Controls/Material/qtquickcontrols2materialstyleplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/qtquickcontrols2materialstyleplugin.dll", + "packedhash": "d8ec2964912b08972957a5561f782a539789be444fe50691ab1a606576f3455c", + "packedsize": 15049, + "unpackedhash": "d68cebdb0c68a850b777b5ec59ea7968749107ffc7e5405e8911d1bedde8306f", + "unpackedsize": 30608 }, { - "url": "bin/QtQuick/Controls/Styles/Base/DialStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/DialStyle.qml", - "packedhash": "89e5b2211dff5c7178a1c81ccf85ded0e643664ef374d238b8d428725d8c4066", - "packedsize": 3227, - "unpackedhash": "68d38c22b76e28d994b587a9eddadcdf87682a0f2678551fe67b68c737107b4e", - "unpackedsize": 13309 + "url": "bin/qml/QtQuick/Controls/Material/SelectionRectangle.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/SelectionRectangle.qml", + "packedhash": "9d680f9be3f5bbe733f4eef51c00983faf7cf97a8e5651ed3c7c701ccec51b56", + "packedsize": 413, + "unpackedhash": "5f0db579bb6105a6ea6c9d93d5df9a62f2e36f661a5f0a37e5ce3299b19e4b54", + "unpackedsize": 848 }, { - "url": "bin/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/BusyIndicatorStyle.qml", - "packedhash": "63e39f06c4b5c56b27043fb3d88436fab313bbc679542a242f491100e6f408eb", - "packedsize": 1473, - "unpackedhash": "88cc52b50ec90fb8db6dd1cba81992f329ddf4e2e2438742b6f68c7ee5eef803", - "unpackedsize": 4455 + "url": "bin/qml/QtQuick/Controls/Material/TabBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/TabBar.qml", + "packedhash": "869b52f8214177d136f94dbff0ac7840f11b634b0cfc691ab999bf54823ae256", + "packedsize": 743, + "unpackedhash": "81c20ed0a2d18a2f64bd8a69bb649f7df8f5dc44d7dbc193faa13d6fc6d20e41", + "unpackedsize": 1736 }, { - "url": "bin/QtQuick/Controls/Styles/Base/ButtonStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/ButtonStyle.qml", - "packedhash": "acd8dab99bc5bc2f26c0c4f0f91777e97402e78ba40b533cb3fe0fa382b5843c", - "packedsize": 2035, - "unpackedhash": "e3c05bf3247ae047991d05bd87c9fd8fd282bfa65371e8a36ddf3deab5c97fde", - "unpackedsize": 6821 + "url": "bin/qml/QtQuick/Controls/Material/TextArea.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/TextArea.qml", + "packedhash": "fbda830bdfc2f6db55b8027c76c7c4990b492f850f14297f3706ec9e4bf18ad3", + "packedsize": 1440, + "unpackedhash": "e8a0c55cccf1c870ed8565f1f056fa6841164e85c49608e2625f7a7536b03388", + "unpackedsize": 4256 }, { - "url": "bin/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/CircularGaugeStyle.qml", - "packedhash": "78ed5c49c8022e78eb4d49ca0d2b86e9a406386a3eb952a3c820ab687e779941", - "packedsize": 4174, - "unpackedhash": "5ddd459d0e56f42672ca239b5edd9650ab442b5f9d62105bda19790b22088209", - "unpackedsize": 18599 + "url": "bin/qml/QtQuick/Controls/Material/Frame.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Frame.qml", + "packedhash": "e5b64e01203e0fa9b64394c682a4a52f6dbc6afa5c5fa7099355b1b6754517ee", + "packedsize": 499, + "unpackedhash": "1d13e2904562b0e7549ab99710c4ebccd919a39bbd6f0ae64baf61196958d7da", + "unpackedsize": 1035 }, { - "url": "bin/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/CircularTickmarkLabelStyle.qml", - "packedhash": "598934307a35bdaf210acf7563d05e902a80553d0647c3c512cfa605d97daead", - "packedsize": 2987, - "unpackedhash": "7e582ca7bad41dbff72e53f821fe6c5f92b619a883ca567386d08a2a692195fa", - "unpackedsize": 13701 + "url": "bin/qml/QtQuick/Controls/Material/ApplicationWindow.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ApplicationWindow.qml", + "packedhash": "1b66f6230647f3a4f3f3b1472cdef7d3dfe37d31d5178db63971d409c9b3a943", + "packedsize": 267, + "unpackedhash": "9854c2a9dcf12601d8931a3f61f5efe401a12959a396c987097473c6097a6b2e", + "unpackedsize": 322 }, { - "url": "bin/QtQuick/Controls/Styles/Base/TreeViewStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/TreeViewStyle.qml", - "packedhash": "f198e7d1326d0681746e59d6b9ef4b59f1264bb134c3fbaedda123512006788f", - "packedsize": 1116, - "unpackedhash": "838c9d6873d47ced64c308981e88265f2cf80f42540b94411b28c3a5ef930349", - "unpackedsize": 2813 + "url": "bin/qml/QtQuick/Controls/Material/DialogButtonBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/DialogButtonBox.qml", + "packedhash": "02caaa7a0b9a65d75395c11c44f1e9343e9da08a43b8f6a6874c70321a520db3", + "packedsize": 721, + "unpackedhash": "de0ba2132936d7d07f8720c249462318f8f59ef97c48122bd8cb1711605f91e7", + "unpackedsize": 1608 }, { - "url": "bin/QtQuick/Controls/Styles/Base/FocusFrameStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/FocusFrameStyle.qml", - "packedhash": "12f0598b2395e9455097455c096fc335ace2a46d82c6e8b2fd4a49e289dce885", - "packedsize": 859, - "unpackedhash": "4a6fdfc1c81341d6b4127dd76cf30a46cdf1ea080156327c641d93659ad10e4b", - "unpackedsize": 2195 + "url": "bin/qml/QtQuick/Controls/Material/ScrollBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ScrollBar.qml", + "packedhash": "bfb4a38cb28c547d6c67b2c0a6d05f07e0d8a0c94168f93483d68d79b71c00e5", + "packedsize": 764, + "unpackedhash": "5fa77b490cdaa4d930af7c7ad0edd64f60a8153f0f013cc791cbe6b19b6e9267", + "unpackedsize": 2076 }, { - "url": "bin/QtQuick/Controls/Styles/Base/TextAreaStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/TextAreaStyle.qml", - "packedhash": "9df2c9e000846b1f56761a82269aab5360ac957e2e91ceaecd4c83523b9b6fef", - "packedsize": 1755, - "unpackedhash": "f9d62727679ffb17d42739d59f0f5198c24650649c01cf0dc124ec413bd6badc", - "unpackedsize": 6192 + "url": "bin/qml/QtQuick/Controls/Material/Button.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Button.qml", + "packedhash": "5cf3c80a3b3987b04c05a0d307a03f62195fec4f5debcab4ba6999d3029c49b8", + "packedsize": 1089, + "unpackedhash": "c8bb4f50e82a8cfa69c7cb6a3864456f2e841cb4d7d4d9489b3ab1b5466f7fbe", + "unpackedsize": 3194 }, { - "url": "bin/QtQuick/Controls/Styles/Base/MenuStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/MenuStyle.qml", - "packedhash": "f8e22581078ce261d82f17a904e4e606fc56d3c2fd0958453c2e4749152af0b8", - "packedsize": 4603, - "unpackedhash": "89f8f0fc50908e19ec2ecfd39ac53663e95488812e8b05966184e25b1139df11", - "unpackedsize": 19028 + "url": "bin/qml/QtQuick/Controls/Material/Popup.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Popup.qml", + "packedhash": "f2c61c8f9bbc5c177c66bf9eebcd6ea6ebd8940895f2433a17fb186dbb092261", + "packedsize": 723, + "unpackedhash": "048b3e472823fc79202e6c101d8c13fbdd89374c390d310f7c56c8f0b331330f", + "unpackedsize": 1956 }, { - "url": "bin/QtQuick/Controls/Styles/Base/ComboBoxStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/ComboBoxStyle.qml", - "packedhash": "28ef2bdba9476be7b0134653cd949518256c18dfbc74806d7b503d9e2966df9e", - "packedsize": 2889, - "unpackedhash": "7edda00f6848787db4bd38a04418d2f99aba26d4296afd67a3f67abec30c4949", - "unpackedsize": 12375 + "url": "bin/qml/QtQuick/Controls/Material/MenuBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/MenuBar.qml", + "packedhash": "ba93d9be0887f9ef8f6cacb6b585c5a37ecd21547b933866f8222d986eedb6b4", + "packedsize": 453, + "unpackedhash": "4eb57422819cdf1fdc2ee53ed1afda32ee4eed6c98c3f43e5de7374f8987007c", + "unpackedsize": 893 }, { - "url": "bin/QtQuick/Controls/Styles/Base/GroupBoxStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/GroupBoxStyle.qml", - "packedhash": "86b22ee752051b24a7aec40c0164e1962dee07b4f331b65de84ea5660b2ddca5", - "packedsize": 1566, - "unpackedhash": "a87cad5b0ba3fe0e67f183ee47f33b0f92e733ed3150821c0de76d8ad7a3d664", - "unpackedsize": 4956 + "url": "bin/qml/QtQuick/Controls/Material/TabButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/TabButton.qml", + "packedhash": "3fdbceaa78f2493d50d0c756368c588e27856cb53439abefdf3eb5f27c42595d", + "packedsize": 630, + "unpackedhash": "0ecd0b83b3ff5af5317e48d8611f94f80768cbf96d7910d7fa4aad6dc32790c5", + "unpackedsize": 1496 }, { - "url": "bin/QtQuick/Controls/Styles/Base/CommonStyleHelper.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/CommonStyleHelper.qml", - "packedhash": "6a85baf14e2760bfaa40c64b9e48ac70384e7c273c7805c5fff0cc63eed4f7f8", - "packedsize": 942, - "unpackedhash": "75feb7954038fc605a7a111592c16b83286716e4fd509615fddc2419fa7ad98e", - "unpackedsize": 2688 + "url": "bin/qml/QtQuick/Controls/Material/RadioDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/RadioDelegate.qml", + "packedhash": "b6e6a746290221fdb9dcd7714855ca20a1161685ec7b8745fb6318735de088e5", + "packedsize": 833, + "unpackedhash": "8c06ef90f598608bbda17f894f01c1d9ba72844f9a7414bc3266e5205997d717", + "unpackedsize": 2321 }, { - "url": "bin/QtQuick/Controls/Styles/Base/SpinBoxStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/SpinBoxStyle.qml", - "packedhash": "99e2109440910d15bfc9788a8d4d0d66a8fbd6dd5c3ae3606d1a38746091e1fd", - "packedsize": 2429, - "unpackedhash": "c92ea6d633e4b5cb1c2b547096d67aab6476a9c7493eca9773835a2ffa4e22f7", - "unpackedsize": 9683 + "url": "bin/qml/QtQuick/Controls/Material/Dialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Dialog.qml", + "packedhash": "3297db0d304ae3731312102ece92de02c78bfcdbd7144b7c6541f70538de78ec", + "packedsize": 1153, + "unpackedhash": "93f0f04d252838ccd12ab512e0be4e98e4d7f1d9c2523a44b9350375bbcd58dd", + "unpackedsize": 3340 }, { - "url": "bin/QtQuick/Controls/Styles/Base/ToolBarStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/ToolBarStyle.qml", - "packedhash": "8e59a8a047c751b4b501a1defdedcaad1882dc0bff55ccf3f5ae1a76ca8b8da5", - "packedsize": 1469, - "unpackedhash": "82d476fd3675e5f4aaf622ef0211835d859fbad6e718fd5f100e9ac328ea4a0e", - "unpackedsize": 4448 + "url": "bin/qml/QtQuick/Controls/Material/Dial.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Dial.qml", + "packedhash": "a36325a78276797f0aff9e71a4aca0e64cecf3e47a0af2b6ab710df480c150e8", + "packedsize": 681, + "unpackedhash": "c2622cd6d10c31762c6cb60c44ae0954a1d17a081751b728a3e6e328d9af7249", + "unpackedsize": 1834 }, { - "url": "bin/QtQuick/Controls/Styles/Base/PieMenuStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/PieMenuStyle.qml", - "packedhash": "a75db626e9a75484dadcf212e84b2c27a31bc8cbf87e9a14730ce7f51b4faecf", - "packedsize": 3608, - "unpackedhash": "2e181dda4e3be6b21b5141c7b235e93fb25eaa54d21fb3038bbf861c9b445306", - "unpackedsize": 13619 + "url": "bin/qml/QtQuick/Controls/Material/Menu.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Menu.qml", + "packedhash": "18e173b54af0ca4b3ac97f3bec76f20631fd1a2a39dce5f90a53b72e80e105fc", + "packedsize": 941, + "unpackedhash": "086a616cdd4abb324397223444748fdf26be306de7b3b52e9e0e42b133c265cb", + "unpackedsize": 2584 }, { - "url": "bin/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/ToggleButtonStyle.qml", - "packedhash": "d5056d5d68331cc6d6a1bb5ca34a5722837e034c965366290438e34712dc0db8", - "packedsize": 2087, - "unpackedhash": "49ec038431e24c713f223054dbe5a9d8d4106d785f5ee2d108b5fc7103c4c0c6", - "unpackedsize": 10258 + "url": "bin/qml/QtQuick/Controls/Material/Switch.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Switch.qml", + "packedhash": "d5043aeca8b36d4ebc024e44f236e9f6a3f44216544adb7cc085a934fa402df3", + "packedsize": 849, + "unpackedhash": "235acc1c01097930bec92260e3d8bc7cecc84c6fa0013faea05a42dbc0d5beec", + "unpackedsize": 2367 }, { - "url": "bin/QtQuick/Controls/Styles/Base/GaugeStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/GaugeStyle.qml", - "packedhash": "ab26ce86870955c054332dec86390c51e86206e70dc48fda809195cdeb945aee", - "packedsize": 4464, - "unpackedhash": "47720fb3600a64e782d23c316b88e2a0b8c04ddb4145c4f3fc715c88e5c4ac58", - "unpackedsize": 22836 + "url": "bin/qml/QtQuick/Controls/Material/RoundButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/RoundButton.qml", + "packedhash": "2c3e277c2c6caf608b39e272309359bac3c1f3b539d81ca824488427357a6043", + "packedsize": 979, + "unpackedhash": "71a7e174a03f45671256b7dbe84226dca4764b026199aa2c33b7dbbf92977359", + "unpackedsize": 2877 }, { - "url": "bin/QtQuick/Controls/Styles/Base/MenuBarStyle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/MenuBarStyle.qml", - "packedhash": "15a715b7c4239b985b928f7ce5a90bf72fed71dcb7add0db53fcb767e89fa78a", - "packedsize": 1895, - "unpackedhash": "10b0380b7358dc7ad70a5da292bee8278a7171249c8e6b64dddbdc4d64d6885a", - "unpackedsize": 5266 + "url": "bin/qml/QtQuick/Controls/Material/Tumbler.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/Tumbler.qml", + "packedhash": "d9d2fa9a46b22332c3d341535a54e9738f98e574cad74e8c574d614953c7422a", + "packedsize": 678, + "unpackedhash": "8280f297dc322d91a046ea57f7dc280f33985240d9db4eebb0262f0bca67613c", + "unpackedsize": 1613 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/needle.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/needle.png", - "packedhash": "de0bd47828ab9c6929a5452d96b5c6ac13b99c0e3fcc159c885ec15a4cd3e2c7", - "packedsize": 2036, - "unpackedhash": "de0bd47828ab9c6929a5452d96b5c6ac13b99c0e3fcc159c885ec15a4cd3e2c7", - "unpackedsize": 2036 + "url": "bin/qml/QtQuick/Controls/Material/SpinBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/SpinBox.qml", + "packedhash": "b79de10b7ea4995984c01ab32bd1f38458b1244461732a0e4147e45245c4934f", + "packedsize": 1142, + "unpackedhash": "f7c8d659575897fa747d02a03536e135089960a4496b0386580138575224de2e", + "unpackedsize": 4546 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/tab_selected.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/tab_selected.png", - "packedhash": "17fe802eaaeb41ef6bd91cfdbd0f31aa12ad330578b156eecb1eccbaa4a5716c", - "packedsize": 440, - "unpackedhash": "b118f88d8d57201e2bbd1f1da01fe348d3011efc83b3f909b21c7ab2dabb87ef", - "unpackedsize": 437 + "url": "bin/qml/QtQuick/Controls/Material/BusyIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/BusyIndicator.qml", + "packedhash": "a7c4d0b671894d6172f8a7965b44fbfc8876d4242a76e796c2aca0b6b85ed9e8", + "packedsize": 478, + "unpackedhash": "be409540e710b611daecc855938a3ecf07989048be31df71168b2710b57b711e", + "unpackedsize": 967 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/arrow-up.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/arrow-up.png", - "packedhash": "d06da849c008079507f4951696c0c049d080cbcc05d757055d8c98ec23c810b8", - "packedsize": 112, - "unpackedhash": "d06da849c008079507f4951696c0c049d080cbcc05d757055d8c98ec23c810b8", - "unpackedsize": 112 + "url": "bin/qml/QtQuick/Controls/Material/RangeSlider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/RangeSlider.qml", + "packedhash": "3468cad866a4e3cd4b3e00677f27162342112186e250128f76e28972d467b0b9", + "packedsize": 1489, + "unpackedhash": "c2b0cdd5931f13c7225f507f25d6ca7350185ed9ca3c26b9c083b5f9e89c1119", + "unpackedsize": 5807 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/groupbox.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/groupbox.png", - "packedhash": "15e4fbcba89d351b4587d44e7635c43f489e779ac8bfc0c7f7bf4d51606751fd", - "packedsize": 256, - "unpackedhash": "4470e834bf1a8c2eb025d651ed5bbc71681aa898388ae17f8b276e8ad641a0b8", - "unpackedsize": 225 + "url": "bin/qml/QtQuick/Controls/Material/ItemDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ItemDelegate.qml", + "packedhash": "b08237b4f00f6087f7ea3e99fb789f239979498a1ae8d9f9c942e7ada1ac602e", + "packedsize": 735, + "unpackedhash": "fb3e95a866a1830c17ea70ba549d7099feddec39525849bed835e9db00a9b08b", + "unpackedsize": 1848 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/arrow-down@2x.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/arrow-down@2x.png", - "packedhash": "b78ba36ef95debb02d5216bc9a2b92f6a9ea20ae90d3985eb44829a358894ada", - "packedsize": 138, - "unpackedhash": "b78ba36ef95debb02d5216bc9a2b92f6a9ea20ae90d3985eb44829a358894ada", - "unpackedsize": 138 + "url": "bin/qml/QtQuick/Controls/Material/MenuBarItem.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/MenuBarItem.qml", + "packedhash": "b9b657fd8f03931a455a263788435cbbafddc44d83b2bac9834f00d7f25dc5b2", + "packedsize": 681, + "unpackedhash": "caf6cb4bc005a847e5dc27b51f3a2c1cb638c8eb5a5c263704e35f1f0d3f53c6", + "unpackedsize": 1707 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/button_down.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/button_down.png", - "packedhash": "292da1564cea53fc63203d0184fc0f2849c169ac3ec948a0344c31b674ada3ec", - "packedsize": 203, - "unpackedhash": "292da1564cea53fc63203d0184fc0f2849c169ac3ec948a0344c31b674ada3ec", - "unpackedsize": 203 + "url": "bin/qml/QtQuick/Controls/Material/MenuItem.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/MenuItem.qml", + "packedhash": "4fd8c735c80a99d64db05d39f80a2372b8916381cbedbb5dabe709bc54283635", + "packedsize": 977, + "unpackedhash": "1967bfa09cf316056d87ddbf3e3aaf99fb226c405501199b3d3148b253add09c", + "unpackedsize": 3028 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/arrow-right@2x.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/arrow-right@2x.png", - "packedhash": "2007018f329b461364a4e038ad5ca032152a3d25b06394d32e1ba1edbf2dc27e", - "packedsize": 148, - "unpackedhash": "2007018f329b461364a4e038ad5ca032152a3d25b06394d32e1ba1edbf2dc27e", - "unpackedsize": 148 + "url": "bin/qml/QtQuick/Controls/Material/ScrollIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ScrollIndicator.qml", + "packedhash": "a082b089af4e1047b6fe6126a6e278f35cb1cb236b93eca165c0f1182fb98283", + "packedsize": 598, + "unpackedhash": "c66af7f116fc3716698dd7fa8894c0493d32d72232ea61598214707efa71c41b", + "unpackedsize": 1276 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/slider-handle.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/slider-handle.png", - "packedhash": "3c5e982bb4c5a20aed823fcfcecf48c46690b353aa602913583950a32be8d7ee", - "packedsize": 514, - "unpackedhash": "c78405b156497c8e84abfcb97340ffe1cef4599dd27c3ec4bc8fd282f90b556f", - "unpackedsize": 524 + "url": "bin/qml/QtQuick/Controls/Material/ToolButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/ToolButton.qml", + "packedhash": "20c6e19fdee4569e49dfd47e571d2b2bad09c974ea362a5438ce560dff7d3347", + "packedsize": 731, + "unpackedhash": "5b55bbbc12491dc07e7fb104cb85a13aed58e9f30973f9ebc2d80d3959f4ef84", + "unpackedsize": 1869 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/spinner_small.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/spinner_small.png", - "packedhash": "8c31e6f37eee27e6bec02dbfb6452b9f0831d6586e47dce4392e9fbaa07eced5", - "packedsize": 998, - "unpackedhash": "8c31e6f37eee27e6bec02dbfb6452b9f0831d6586e47dce4392e9fbaa07eced5", - "unpackedsize": 998 + "url": "bin/qml/QtQuick/Controls/Material/StackView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/StackView.qml", + "packedhash": "9639f7f176ddfe6f663e6d7a08a145f25665a564fbd679cbd47a7d14281a8ab7", + "packedsize": 509, + "unpackedhash": "58736ae551c0f473379d84da5a8f62deb29b5d811555bbfd87f2df62b9945f0d", + "unpackedsize": 1678 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/check.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/check.png", - "packedhash": "f47290e13d80210edbad66771068146d2c2b81fc444448cad4ddc5d5faf733d0", - "packedsize": 176, - "unpackedhash": "f47290e13d80210edbad66771068146d2c2b81fc444448cad4ddc5d5faf733d0", - "unpackedsize": 176 + "url": "bin/qml/QtQuick/Controls/Material/RadioButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/RadioButton.qml", + "packedhash": "7991ab2f65d2164b809b935dcfb9fb2d727b2d08f1a68eb16acfbc1b778e1a32", + "packedsize": 739, + "unpackedhash": "46763e6db3824fa2fc7720d4ab792f2df9f470512e294ef831790e949883e0ae", + "unpackedsize": 1959 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/editbox.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/editbox.png", - "packedhash": "b206ee4d86b6a279abaadef8d674495066bca353479bf4ea7abfdcc645ffc3ea", - "packedsize": 416, - "unpackedhash": "b206ee4d86b6a279abaadef8d674495066bca353479bf4ea7abfdcc645ffc3ea", - "unpackedsize": 416 + "url": "bin/qml/QtQuick/Controls/Material/TextField.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/TextField.qml", + "packedhash": "0821a8700f21517886a52a7dc00df14eb998e231d131ba86ccee0657f5e34f35", + "packedsize": 1212, + "unpackedhash": "bacecb701c7ce15ed528df44d313ba3e5b92dc751092ae67569a1603df60a083", + "unpackedsize": 3724 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/arrow-left@2x.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/arrow-left@2x.png", - "packedhash": "c5c3d15c8ca417e66569fdfd69ede83f6a9f338524e55c21ffd86f11880e4c8d", - "packedsize": 139, - "unpackedhash": "c5c3d15c8ca417e66569fdfd69ede83f6a9f338524e55c21ffd86f11880e4c8d", - "unpackedsize": 139 + "url": "bin/qml/QtQuick/Controls/Material/impl/CheckIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/CheckIndicator.qml", + "packedhash": "4173948e4b282333239de6dac50dcd8a8c0b33d9afb03b121e36f3b65eafaa0a", + "packedsize": 823, + "unpackedhash": "dddd1b2bed0f85e2d8689cc1bade946e70904c9bdb02850666a2c7c71b9b71be", + "unpackedsize": 2425 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-transient.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-transient.png", - "packedhash": "bfe3263258a144cd9d2b85b6ce4ca15614e6ced6bbb263759deacef83c61ce92", - "packedsize": 153, - "unpackedhash": "bfe3263258a144cd9d2b85b6ce4ca15614e6ced6bbb263759deacef83c61ce92", - "unpackedsize": 153 + "url": "bin/qml/QtQuick/Controls/Material/impl/RoundedElevationEffect.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/RoundedElevationEffect.qml", + "packedhash": "5d64c40c73b5e05318b038378595512a849108232466d774be2d60084ec9fc5c", + "packedsize": 828, + "unpackedhash": "0dfdba3a27984357c1dd061ea8fe11e07a4f660629a01c591cf2918d9485da99", + "unpackedsize": 1728 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/check@2x.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/check@2x.png", - "packedhash": "f645f3d5464155be90fb470bfbbcccb0d4a821b1bbd7a19cfde462353387fc78", - "packedsize": 417, - "unpackedhash": "f645f3d5464155be90fb470bfbbcccb0d4a821b1bbd7a19cfde462353387fc78", - "unpackedsize": 417 + "url": "bin/qml/QtQuick/Controls/Material/impl/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/qmldir", + "packedhash": "2067468976571f04b51a20fa1be6a7dcd9eb2fd52bff2a4026af9e23c7217ebc", + "packedsize": 393, + "unpackedhash": "e386f684da61d7421923f53780933c2593f1b70b26d9618ab5c2f9e619d888e0", + "unpackedsize": 1038 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/button.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/button.png", - "packedhash": "011a5aac80a01da8cba01c10eecb960e8e2605c7c7a25a0b39dad5d7a93c1be9", - "packedsize": 526, - "unpackedhash": "be15da1b5df9d4db06bbc55673731e3fde23e82a3983ae7a560b9da1203a65ad", - "unpackedsize": 554 + "url": "bin/qml/QtQuick/Controls/Material/impl/CursorDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/CursorDelegate.qml", + "packedhash": "81c56c2a889964f1c58e2f661ce9cccc33d15768b0ec5a04e56ad526dc6dc685", + "packedsize": 536, + "unpackedhash": "bf8c165e17fe6bc811c852673ee8275b9fcd3d9987be25e65215c4d7ef2e8669", + "unpackedsize": 949 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/leftanglearrow.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/leftanglearrow.png", - "packedhash": "83d96c6cf82eaee7684dc663b3072b10cee5c1b3c9f9f1c49fa7ba32cffabc40", - "packedsize": 206, - "unpackedhash": "83d96c6cf82eaee7684dc663b3072b10cee5c1b3c9f9f1c49fa7ba32cffabc40", - "unpackedsize": 206 + "url": "bin/qml/QtQuick/Controls/Material/impl/SwitchIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/SwitchIndicator.qml", + "packedhash": "a80a281e1ba74d886a536e078c5039f7606d30caa2f29e1afb59ff9963c0230e", + "packedsize": 1170, + "unpackedhash": "89fc6b27d6ad2bcafd30f7e04886bc8b3bf511e2f99fdf1ab7b09a8060ba538a", + "unpackedsize": 4122 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-horizontal.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-horizontal.png", - "packedhash": "93ce856448672474c46557f1972ace4d34d9952846815fb8e3544192031f3f9d", - "packedsize": 705, - "unpackedhash": "ee8c1c4b11e8a4a50b08d7597583a0d3cd74e7cb9b77de47fe8cfee71b3e4b5e", - "unpackedsize": 825 + "url": "bin/qml/QtQuick/Controls/Material/impl/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/plugins.qmltypes", + "packedhash": "3760dc6ffcb8e2ab3756a31cf61d56d3837bc1e012880876113e0c9955e135bd", + "packedsize": 1440, + "unpackedhash": "cd2e7924851f6dc16e214aeb9cbf490f24d34e336f7ba127a6184a37807caa91", + "unpackedsize": 10519 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/arrow-up@2x.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/arrow-up@2x.png", - "packedhash": "e3a73c4af918665d2ff75fe367e207fd71ad96ff9502d5120586a92d4076ed34", - "packedsize": 155, - "unpackedhash": "e3a73c4af918665d2ff75fe367e207fd71ad96ff9502d5120586a92d4076ed34", - "unpackedsize": 155 + "url": "bin/qml/QtQuick/Controls/Material/impl/qtquickcontrols2materialstyleimplplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/qtquickcontrols2materialstyleimplplugin.dll", + "packedhash": "90d7913b38aa04c4ea774586d9bfff1e11a9e39ff12c10663e1ca41937d5b9dc", + "packedsize": 14780, + "unpackedhash": "c96d7d4e3b8c12bbfb4a3b04c5e92b74c5e0cb28073db66102b09c4de6522a71", + "unpackedsize": 29584 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/progress-indeterminate.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/progress-indeterminate.png", - "packedhash": "a016d802de1852fa090fa7f74630feab5736b99a0b6ed8c6c368eb531f88b82f", - "packedsize": 1328, - "unpackedhash": "10dd5915f0352ae3a58b1250e449660537ab36ff0b70de6f54d3e22af4edf0d3", - "unpackedsize": 1453 + "url": "bin/qml/QtQuick/Controls/Material/impl/ElevationEffect.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/ElevationEffect.qml", + "packedhash": "4ee63eac665bba50e6bfee3d6fde55c992ec4e1c881541270a2d2415fe0230eb", + "packedsize": 2035, + "unpackedhash": "8e87b8131c413dc1c249aeeea85a6d079fb7aede480d8a3a7e3f926a658ee124", + "unpackedsize": 8360 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/tab.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/tab.png", - "packedhash": "07d211ea3e0d791c7bfe338a510027b9beb2f0d7a6ff970075ef556fe4b40d94", - "packedsize": 400, - "unpackedhash": "57b1ae0988c615082705698ce38d82b0aec46bc11141acc62f16554af1f27820", - "unpackedsize": 390 + "url": "bin/qml/QtQuick/Controls/Material/impl/BoxShadow.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/BoxShadow.qml", + "packedhash": "318c22f715683c461ade787d69aa2ede60168e650bca4bf3b8209699df43b0b5", + "packedsize": 813, + "unpackedhash": "8e261daa4e56ffbc3728246112793f25475429b2bb9610540417355e84ebe252", + "unpackedsize": 1674 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/knob.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/knob.png", - "packedhash": "455d05ddf72d76b5a3c8b4633fb19493511da4e04719d308de7a7f152b516b6d", - "packedsize": 1703, - "unpackedhash": "455d05ddf72d76b5a3c8b4633fb19493511da4e04719d308de7a7f152b516b6d", - "unpackedsize": 1703 + "url": "bin/qml/QtQuick/Controls/Material/impl/SliderHandle.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/SliderHandle.qml", + "packedhash": "99c0e14254b75bf18f4494b9077ab9453258ec8a5007eeab8d481f572007c7fe", + "packedsize": 547, + "unpackedhash": "37d92806c50bfbbbaac794c3d60046b4ac48a7266bc56c0e61072c4a18da79d9", + "unpackedsize": 1196 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/arrow-down.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/arrow-down.png", - "packedhash": "0d0f06d0e93c8a2f28da6838bb0bdc9b46dc79bbf0876db9db7dfd86b133cb9b", - "packedsize": 99, - "unpackedhash": "0d0f06d0e93c8a2f28da6838bb0bdc9b46dc79bbf0876db9db7dfd86b133cb9b", - "unpackedsize": 99 + "url": "bin/qml/QtQuick/Controls/Material/impl/RadioIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/RadioIndicator.qml", + "packedhash": "908570cc85fa9cf55330f10f4c231f52a12b16d0fa189bc9a8b218aba3b2c92f", + "packedsize": 644, + "unpackedhash": "2b3c9bf73764a2a385c671182020cab6cdeb6ecd5c0f0ea73bd9bfc196c5565d", + "unpackedsize": 1470 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/rightanglearrow.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/rightanglearrow.png", - "packedhash": "cb264368c0d4801d4db4c56653f57671d042c591ae24824c62e24d5545890de7", - "packedsize": 228, - "unpackedhash": "cb264368c0d4801d4db4c56653f57671d042c591ae24824c62e24d5545890de7", - "unpackedsize": 228 + "url": "bin/qml/QtQuick/Controls/Material/impl/RectangularGlow.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Material/impl/RectangularGlow.qml", + "packedhash": "ef4c93ac19cbb0e784db9c64eff7c21330ab359ac10851ca0020ffb67e6cb1bf", + "packedsize": 1580, + "unpackedhash": "c7203d9d18f5ee1418e4a49ede42f0aec125c53116838cc7418157bf4e398a0a", + "unpackedsize": 6474 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/arrow-right.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/arrow-right.png", - "packedhash": "ada31cabdf339314064f905eb072a0895ec07232e8287a9a22ba82a34fadd378", - "packedsize": 99, - "unpackedhash": "ada31cabdf339314064f905eb072a0895ec07232e8287a9a22ba82a34fadd378", - "unpackedsize": 99 + "url": "bin/qml/QtQuick/Controls/Imagine/Label.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Label.qml", + "packedhash": "51e932430513311753462ae7ba74ff7ef4f5134a0e2e5c145c28a1f443a76be3", + "packedsize": 460, + "unpackedhash": "c1ea55a2c46b870c9654950990081ad743dea9e081d1f3795ceeb10b5dfb4f47", + "unpackedsize": 942 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/arrow-left.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/arrow-left.png", - "packedhash": "e3ef46a5a48c488f2af7e46440e28cbf292a8e640144dfcaf896682409994c1a", - "packedsize": 98, - "unpackedhash": "e3ef46a5a48c488f2af7e46440e28cbf292a8e640144dfcaf896682409994c1a", - "unpackedsize": 98 + "url": "bin/qml/QtQuick/Controls/Imagine/PageIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/PageIndicator.qml", + "packedhash": "6ff6fa01e35259945d93a9f9699737c0d3115605ddcd62030232320c7a90609e", + "packedsize": 689, + "unpackedhash": "9b1a79c2ea0929694380d6c0865cd5a9b8bbf63595544907d5575a6078aa4da6", + "unpackedsize": 2053 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-vertical.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/scrollbar-handle-vertical.png", - "packedhash": "9939b0703fe40f373123a6056212c3a6c10c8ffb16a8c26d501ed50eabfa5488", - "packedsize": 728, - "unpackedhash": "329501784a775761531c0e82b2e74cc9cba464c0a38e93db3323054c5f117d56", - "unpackedsize": 839 + "url": "bin/qml/QtQuick/Controls/Imagine/Drawer.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Drawer.qml", + "packedhash": "ac9f4a11ef8b9b746fb9765e70c271ef199c423f3d0988c68e177892ae7fed38", + "packedsize": 667, + "unpackedhash": "f131de22ea0332be83497d8326c6d59193a07be671babc265576bfabc8e9f43f", + "unpackedsize": 2133 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/header.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/header.png", - "packedhash": "fef52d00a955b35d50faafc08c9f0c6c55d4bc35b01000200e13db44b59ec9bd", - "packedsize": 383, - "unpackedhash": "fef52d00a955b35d50faafc08c9f0c6c55d4bc35b01000200e13db44b59ec9bd", - "unpackedsize": 383 + "url": "bin/qml/QtQuick/Controls/Imagine/ToolTip.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ToolTip.qml", + "packedhash": "13705ad61baa94354e4d9de9b36e676d89ca560336d6d9f798e3cf494f827f16", + "packedsize": 696, + "unpackedhash": "7974a2627d2ec77c5d1a2c9e5461081892e116e78c99cef85d44843b56840567", + "unpackedsize": 1923 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/spinner_medium.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/spinner_medium.png", - "packedhash": "0f620f218012ed6ff30809046ced5ca372327454b59c0b4d9501639bbffd3ce0", - "packedsize": 1621, - "unpackedhash": "0f620f218012ed6ff30809046ced5ca372327454b59c0b4d9501639bbffd3ce0", - "unpackedsize": 1621 + "url": "bin/qml/QtQuick/Controls/Imagine/ProgressBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ProgressBar.qml", + "packedhash": "d83032ed96a661d3f5563316d5f32a0ee25ec6e5f149fd42ad2eaf1363824cf9", + "packedsize": 954, + "unpackedhash": "90f1655e47c100d0e0ebb2d28c2eb45c952959e7601636127f384bf0887102cc", + "unpackedsize": 4278 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/spinner_large.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/spinner_large.png", - "packedhash": "c1fa1f01861ab7bb548bedd730a4b120c797987df10cf7bd2809544387c7ae1f", - "packedsize": 4723, - "unpackedhash": "c1fa1f01861ab7bb548bedd730a4b120c797987df10cf7bd2809544387c7ae1f", - "unpackedsize": 4723 + "url": "bin/qml/QtQuick/Controls/Imagine/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/qmldir", + "packedhash": "4a947210ae195f223d4b9245b828694d7f64eea8379f01fa11584cb73d7cae74", + "packedsize": 786, + "unpackedhash": "f7a2a746ca34de7c529c7a869ac6e16e27a3988cd6f9f5dfbcd41ec369f2119b", + "unpackedsize": 3337 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/focusframe.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/focusframe.png", - "packedhash": "db272a7593d3cd66aa2bef945c96acf62bc0bdfe458e11ce20c72bcef5cceacd", - "packedsize": 271, - "unpackedhash": "db272a7593d3cd66aa2bef945c96acf62bc0bdfe458e11ce20c72bcef5cceacd", - "unpackedsize": 271 + "url": "bin/qml/QtQuick/Controls/Imagine/ComboBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ComboBox.qml", + "packedhash": "fb646401f6ce14d4961656aada7f2d27d7d3ff3c776630814e1acfce2656ea4b", + "packedsize": 1402, + "unpackedhash": "ac6135a0fd8314e883a755a5ca9411bac813324d04fa8b2286810cf0ad7f4fe3", + "unpackedsize": 5819 }, { - "url": "bin/QtQuick/Controls/Styles/Base/images/slider-groove.png.lzma", - "localfile": "bin/QtQuick/Controls/Styles/Base/images/slider-groove.png", - "packedhash": "f0766e10931447c5cd6c2eb91ebd5373cd8d906cde4cc50d671adcdbb3486b74", - "packedsize": 548, - "unpackedhash": "d2bcb94ddbcb5803b9270f782ed52c7b6e0d1fa9aaf7dbfe6e41971c0cebf46d", - "unpackedsize": 565 + "url": "bin/qml/QtQuick/Controls/Imagine/SwipeView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/SwipeView.qml", + "packedhash": "b7ccfdb7f120c93d6369488864d6f188fe51430fb781efdb01bf8f27997fe474", + "packedsize": 770, + "unpackedhash": "b8f5bee3a88358fff117497b4ff0b8806543bb90bc557190ec7735a5356a368c", + "unpackedsize": 2069 }, { - "url": "bin/QtQuick/Controls/Private/StackView.js.lzma", - "localfile": "bin/QtQuick/Controls/Private/StackView.js", - "packedhash": "d3c49ee27c0ba1c50f34120215b3a8798fbb5eda7afe0892353c1d33217c3d58", - "packedsize": 879, - "unpackedhash": "48180d35e367eff46892d99e5bb05210f0930f87f1ab2ee12c9f642288e03836", - "unpackedsize": 2361 + "url": "bin/qml/QtQuick/Controls/Imagine/ToolBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ToolBar.qml", + "packedhash": "5e37ac7486fdf05ce520d5b745186d5d8dae76526053d9203a4ff8730309c991", + "packedsize": 570, + "unpackedhash": "c5b64f0f47af89f5c4f028efde100b7ac01ee6e80a58b5de1cf363f541a3e3f6", + "unpackedsize": 1478 }, { - "url": "bin/QtQuick/Controls/Private/ModalPopupBehavior.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/ModalPopupBehavior.qml", - "packedhash": "78d5fd7a226286ea99955781decc4bf47ff01a625829f52292876dcd21ed9f00", - "packedsize": 1553, - "unpackedhash": "ad226bfaf454e3fc1470dfdf487060bcc4ce87c6c1e04f9f41d3fee2b163195e", - "unpackedsize": 4605 + "url": "bin/qml/QtQuick/Controls/Imagine/SwipeDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/SwipeDelegate.qml", + "packedhash": "e7d8573b509f5529659cff400c331acc2f14b6df28a4f1c13cca105b574b932e", + "packedsize": 841, + "unpackedhash": "6ff12c2f6af60ddd0224e083fd633a1cb3549d4c42cddcd15d10017343e13a1b", + "unpackedsize": 2291 }, { - "url": "bin/QtQuick/Controls/Private/AbstractCheckable.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/AbstractCheckable.qml", - "packedhash": "995c252ded72831f7ecc2047c3098b2492b14f4391a3ed6d2b0ef43c52d39011", - "packedsize": 1917, - "unpackedhash": "f1ec6b3620b6eb0b3d435ce92607fc3e6a229716595938b5ba2e616b8fad5bc8", - "unpackedsize": 6050 + "url": "bin/qml/QtQuick/Controls/Imagine/SplitView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/SplitView.qml", + "packedhash": "a8b5847eafaa92be5cb67d50dc0fc30d2549934f70180704dbf951b72f3a017e", + "packedsize": 527, + "unpackedhash": "53ec0ac0b8b02a27612031ef908e35eee6371da925cccb9b8f3c2c2bd9afbf7d", + "unpackedsize": 1121 }, { - "url": "bin/QtQuick/Controls/Private/qmldir.lzma", - "localfile": "bin/QtQuick/Controls/Private/qmldir", - "packedhash": "05b645ec372f7e1bd9e030ad4271770b7c87119214141779cbe3a024ba7a2e98", - "packedsize": 536, - "unpackedhash": "fa434686f6abc72813f1285a2fe12ddcff0f197ed719ef2b1557681df739ffec", - "unpackedsize": 1486 + "url": "bin/qml/QtQuick/Controls/Imagine/Pane.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Pane.qml", + "packedhash": "5367fa85300ac7f7c3458987ac63e10dd4f7a46271bd18282bc87fd0e6e2b99b", + "packedsize": 527, + "unpackedhash": "2df6df64bee04dc64bb49b9e1558541263972e0fd8b1ac941fec49b487355b58", + "unpackedsize": 1336 }, { - "url": "bin/QtQuick/Controls/Private/TableViewItemDelegateLoader.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/TableViewItemDelegateLoader.qml", - "packedhash": "a7631af338bb67436920cec60f2635e5ac24c6121ed03a9229d0007d78c1c748", - "packedsize": 1573, - "unpackedhash": "f989cc52662928ad96f2695c927ae7a9030716d2b8b32a3558de48a71f368053", - "unpackedsize": 4634 + "url": "bin/qml/QtQuick/Controls/Imagine/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/plugins.qmltypes", + "packedhash": "6baa7534cfb0885f99673227756ce483e8f3036ee8cb4f44298edca6bce8631d", + "packedsize": 566, + "unpackedhash": "2e1f7def68a0692ce850eea188bbe2bf287313e8a4b9b804fbfd83bd77f100e5", + "unpackedsize": 1347 }, { - "url": "bin/QtQuick/Controls/Private/FocusFrame.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/FocusFrame.qml", - "packedhash": "fc2066a33a64c8b256c956eab9ff23615dfaa9fe2f5cdf4f76a7ffb7051b1b3c", - "packedsize": 1027, - "unpackedhash": "a4c6f0904fe3a42898a4a6b662491075ae5d10a820172058bf88cd156c733b2c", - "unpackedsize": 2653 + "url": "bin/qml/QtQuick/Controls/Imagine/Slider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Slider.qml", + "packedhash": "ff9fbc766de11990cccebd0a89bc8240868a4a79aca606811d7d206179403c47", + "packedsize": 865, + "unpackedhash": "02643a299d9b638ac57fac33f00b975bb0e953df168fea9a866d633feb37adeb", + "unpackedsize": 3720 }, { - "url": "bin/QtQuick/Controls/Private/SystemPaletteSingleton.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/SystemPaletteSingleton.qml", - "packedhash": "f514ebea78caef6b150f5289a57a7a11f0dc5c1c7f6723d4a4b3b1e318e2d8ce", - "packedsize": 1034, - "unpackedhash": "e56f3bdcfd879c8693faa9a279f059d93202ca17ca246d5d1a831cf00af42080", - "unpackedsize": 3425 + "url": "bin/qml/QtQuick/Controls/Imagine/VerticalHeaderView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/VerticalHeaderView.qml", + "packedhash": "e8bed3201a232684b9bf7ead1915c80cff596beb51f27e38c44fe9b9c70e8742", + "packedsize": 760, + "unpackedhash": "82f713c9cdd7b32b89f6808a75dd81722d2100a0bd7337437916bf7d9ecda3ad", + "unpackedsize": 1463 }, { - "url": "bin/QtQuick/Controls/Private/FastGlow.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/FastGlow.qml", - "packedhash": "ae1a6c8b32070d6da4279eb00d090d1cda4046617b0f2b716b40f874e0baa699", - "packedsize": 1844, - "unpackedhash": "545de8f164ca5f49ea73f7a08305fb12806bc7b2654fdd9b0b14c275bf743cf5", - "unpackedsize": 9830 + "url": "bin/qml/QtQuick/Controls/Imagine/qtquickcontrols2imaginestyleplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/qtquickcontrols2imaginestyleplugin.dll", + "packedhash": "a758129e21ad7e8edc4e7e28d1f1013c1dfacfa3453656d7bf3d8f88e2afbb87", + "packedsize": 15028, + "unpackedhash": "31f64688a586a793f5d0593448a05c9f55097ed60464f8e9d9d93b3601079997", + "unpackedsize": 30616 }, { - "url": "bin/QtQuick/Controls/Private/EditMenu.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/EditMenu.qml", - "packedhash": "cf9b9a0faaef4f46b70385e3dd6711403a7e68bc060169d3c32e9ec9cc281797", - "packedsize": 1244, - "unpackedhash": "46b63d90ff343644506d788c6eeeb99956f55a6cbe297ddd998fc7438196b968", - "unpackedsize": 3383 + "url": "bin/qml/QtQuick/Controls/Imagine/SwitchDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/SwitchDelegate.qml", + "packedhash": "ffdb3d8a343f167e3861c1f020af54a40733749668e24621be947d4a12363a58", + "packedsize": 1150, + "unpackedhash": "301fd90dd85170192e58078980c7c676177dc26b08f6d60b8c98a80ed07e0952", + "unpackedsize": 4622 }, { - "url": "bin/QtQuick/Controls/Private/EditMenu_base.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/EditMenu_base.qml", - "packedhash": "5e326d2e2f00e958ff0ed62210c1c2b9f383c2c3b633c2b428ced04373b35aed", - "packedsize": 1518, - "unpackedhash": "076e471444b7a512d0d19f39b6dc836f7a50d5049059cb26a0aeccccdef55439", - "unpackedsize": 5989 + "url": "bin/qml/QtQuick/Controls/Imagine/DelayButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/DelayButton.qml", + "packedhash": "99fa2c284a88d711b58225b2cbd7c3d14fe6e47c0bf61f3e5287396291f884cf", + "packedsize": 965, + "unpackedhash": "1b2b591bfb4d98054eff1c5fc483d274b7a7601c507cafc55f4e7369576b72d3", + "unpackedsize": 3857 }, { - "url": "bin/QtQuick/Controls/Private/MenuContentItem.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/MenuContentItem.qml", - "packedhash": "3a630cd56d10e12241a2970d810894065e47aa252196ac5cb89d7e82bac56d93", - "packedsize": 2820, - "unpackedhash": "cd10e23812c99eb63fc34c226a8fa739ae4d2ad751bbc372de37fe1d8ee553cb", - "unpackedsize": 11186 + "url": "bin/qml/QtQuick/Controls/Imagine/ScrollView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ScrollView.qml", + "packedhash": "902391784ef7c436034c3aa5293fd1581ec5e4118e7d99ede3fb58224b34ebb1", + "packedsize": 652, + "unpackedhash": "a41ce0e82fa261a8f1f5b21107db1943006559120b6e4635a8226e4771323ca4", + "unpackedsize": 1825 }, { - "url": "bin/QtQuick/Controls/Private/Control.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/Control.qml", - "packedhash": "f098db5e8b5c77900065eaf0163000c4a0138158897927fca4a560eed3f98a57", - "packedsize": 1193, - "unpackedhash": "ae60c761d16df1cfc3308df1d600d5aed403b95377b56b870a5b08af9fee476a", - "unpackedsize": 3391 + "url": "bin/qml/QtQuick/Controls/Imagine/MenuSeparator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/MenuSeparator.qml", + "packedhash": "7371c450c82fa84ab56f886100a1f2f730058d4795208bda845ea0e01e2156e7", + "packedsize": 557, + "unpackedhash": "97b88d5795cfa2c38ad40e956e9db1352be8dc883b519e0d89ec58c53518de76", + "unpackedsize": 1651 }, { - "url": "bin/QtQuick/Controls/Private/ColumnMenuContent.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/ColumnMenuContent.qml", - "packedhash": "14963af6863a262114397733f9f94ff6a337de74b1b48ac3358f6c95762d95a6", - "packedsize": 2676, - "unpackedhash": "975bbc80da2f1bd057f0febc8f4f2f4cba730875f24f1dd1ab19ab9c1424144c", - "unpackedsize": 9417 + "url": "bin/qml/QtQuick/Controls/Imagine/GroupBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/GroupBox.qml", + "packedhash": "76b6ba1e55c195d25105615a50ecd7345b39a9639200d8f1cea244bd8ab3058a", + "packedsize": 748, + "unpackedhash": "00826c19a88cb439a66cf2700d4b08d5b1582448e6ad93dd228279a095901a63", + "unpackedsize": 2288 }, { - "url": "bin/QtQuick/Controls/Private/MenuItemSubControls.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/MenuItemSubControls.qml", - "packedhash": "e035db653b917c95c9e078229974b9ba772f071196ac6030d8f38d8a11d17f86", - "packedsize": 842, - "unpackedhash": "76e7f170fe157c78e7d802dc0798cafd749b5b550d2a3fdeb2699fbc9c0b09ab", - "unpackedsize": 2220 + "url": "bin/qml/QtQuick/Controls/Imagine/HorizontalHeaderView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/HorizontalHeaderView.qml", + "packedhash": "3ef009566f6c0c5042650f27c116a6dfd0f7399138a2a78e5784dc82134a8c0b", + "packedsize": 755, + "unpackedhash": "81a3c703413e7aebcefa323108d2585b6d7f9b31ff01c11343d2280eedab92ac", + "unpackedsize": 1472 }, { - "url": "bin/QtQuick/Controls/Private/style.js.lzma", - "localfile": "bin/QtQuick/Controls/Private/style.js", - "packedhash": "5fb2881f9e7535c1133df5a661e0ef47e7259123833b8900ef7e87a6018ea24c", - "packedsize": 930, - "unpackedhash": "e337c73325ae18763172a328b819b036e6f42c412a77454731b14ac5f05a1e3d", - "unpackedsize": 2540 + "url": "bin/qml/QtQuick/Controls/Imagine/CheckDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/CheckDelegate.qml", + "packedhash": "90116084c2712666a93514468a9747fc3cfdf2d75de9fb6060272824016cf86e", + "packedsize": 903, + "unpackedhash": "5664bb36a447038bc002eafd385d44a00820068dc5d91b7394d7d199404c7c0f", + "unpackedsize": 3298 }, { - "url": "bin/QtQuick/Controls/Private/Style.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/Style.qml", - "packedhash": "e5f0218600b2a70ac79e14a874bba3fc27c50b03e19f22ce70fed06dfe26a757", - "packedsize": 884, - "unpackedhash": "b18e9de9fbd7b7cca9ac08baad5216c695142cdfcc41b7caf37d95cd48bc53af", - "unpackedsize": 2266 + "url": "bin/qml/QtQuick/Controls/Imagine/ToolSeparator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ToolSeparator.qml", + "packedhash": "a72b330a854bf043882e93fdcc4a6d3b803620db776a31cbc07f59250752f218", + "packedsize": 583, + "unpackedhash": "5f70099e9b2f1d7070140e5f707ce314dfbdabdc4e6351c02c88ac948ff8662d", + "unpackedsize": 1851 }, { - "url": "bin/QtQuick/Controls/Private/ScrollBar.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/ScrollBar.qml", - "packedhash": "621dc267192ae00636b434361bf955bfe20af697216ea91cd546540b28cfb081", - "packedsize": 2336, - "unpackedhash": "0f5f51cfee83e7bab513f6aff232958a54952d38d65fc6ab52d0a873bfec8077", - "unpackedsize": 9203 + "url": "bin/qml/QtQuick/Controls/Imagine/CheckBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/CheckBox.qml", + "packedhash": "71a19cf709cb29bd929df0f2af759d4e22c46488dc686691a3d506375c64642e", + "packedsize": 846, + "unpackedhash": "465273cf261b9659f869f4ff8fa2f6b02c99cb3c91dca267ebe47af28385479e", + "unpackedsize": 2999 }, { - "url": "bin/QtQuick/Controls/Private/SourceProxy.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/SourceProxy.qml", - "packedhash": "760ff99cba3cb3954777220a8aa4562ad11e37dd2046a43bcb96eabead30d9f2", - "packedsize": 1434, - "unpackedhash": "3c335ebc60a60ebcea3b2a468a341b2af3935df0ab88f108f517a6ddb1e4ee28", - "unpackedsize": 4873 + "url": "bin/qml/QtQuick/Controls/Imagine/Page.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Page.qml", + "packedhash": "cc119d1bef3ff20046dfed1e18572a66a390f9ff56d71f6a6d717e98c494d358", + "packedsize": 579, + "unpackedhash": "c5a8b4c6fa70f9c6336f8f1af2e19dabcb031eacedb2a0e57243a1d09e052f8d", + "unpackedsize": 1624 }, { - "url": "bin/QtQuick/Controls/Private/CalendarHeaderModel.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/CalendarHeaderModel.qml", - "packedhash": "dcb2d2723ad8092b29ffe03fbc1bb8d6690d6bd8965411edab4ed60dc5da5bd4", - "packedsize": 1290, - "unpackedhash": "f4ea2c35462f76b142231dc83b536b1f93f030379be115baa131934cab4d8021", - "unpackedsize": 3841 + "url": "bin/qml/QtQuick/Controls/Imagine/SelectionRectangle.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/SelectionRectangle.qml", + "packedhash": "493c1b43bc938ede1c1c7d5f32d8dd652bc2c5351abd1f7f414181d42e5f25a7", + "packedsize": 503, + "unpackedhash": "726f06403d4fb8f6b51bf81237bd80960d2811fbbcf0196bb9433483d548715f", + "unpackedsize": 1173 }, { - "url": "bin/QtQuick/Controls/Private/BasicTableView.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/BasicTableView.qml", - "packedhash": "e527f68fff1fc952d32c6e6babe6ea3c092ca4573138215852f8177e76c680aa", - "packedsize": 7075, - "unpackedhash": "f845eda2672ebdd43f54dadf3ad076de5e15b20a32ae971098b3b794a14a7e68", - "unpackedsize": 33202 + "url": "bin/qml/QtQuick/Controls/Imagine/TabBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/TabBar.qml", + "packedhash": "9e3b739afb260e8ddc3d5ce5debe7b1942273665c32367b7b1ca2d90e6c83909", + "packedsize": 767, + "unpackedhash": "b779ef206202d9b1b7ae2ca12830f104ee696b7e2ebdf4be955910fadc88f855", + "unpackedsize": 1964 }, { - "url": "bin/QtQuick/Controls/Private/ScrollViewHelper.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/ScrollViewHelper.qml", - "packedhash": "a8642d82a0fe0a20d248dac6eb3c686c753a61a5cfff5b39728790fd20811e60", - "packedsize": 2065, - "unpackedhash": "c850ee4f3a7ae41834700939cd159845d9bab2dd3c15a1fbf0b8ecb658342da1", - "unpackedsize": 9257 + "url": "bin/qml/QtQuick/Controls/Imagine/TextArea.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/TextArea.qml", + "packedhash": "88092f6702b17a14e52485f2aa719a203da208d517114c5ddbf6ed374de5eda8", + "packedsize": 832, + "unpackedhash": "1ea43be633c60b21fada570cf67dd5ce86caa1b7fec80d3a6eed51b4e3289232", + "unpackedsize": 2524 }, { - "url": "bin/QtQuick/Controls/Private/TextSingleton.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/TextSingleton.qml", - "packedhash": "0d8cb9b093e5adf2c29bc4feec7a9941cc73e561c4cb34b843b3a53c7f55052f", - "packedsize": 790, - "unpackedhash": "8649d411db1a6bd02ae63076a2fe2b1050baf64abacba958930c3e52ecf1988f", - "unpackedsize": 2020 + "url": "bin/qml/QtQuick/Controls/Imagine/Frame.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Frame.qml", + "packedhash": "88f278092a31a8c814b3e41415f0951ab889f52b7b53060090070ceace71cc32", + "packedsize": 527, + "unpackedhash": "c8b7d5c40c8564fa4c72e680b10c64a7f764a749b2077cef5b36fb35e0ee79ee", + "unpackedsize": 1338 }, { - "url": "bin/QtQuick/Controls/Private/TextInputWithHandles.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/TextInputWithHandles.qml", - "packedhash": "6f11db96296630a3eec40306e6e5cdfce62a57d23847d97a74eac6b3dc44ae03", - "packedsize": 2118, - "unpackedhash": "28c45a87f5cceb7ac9deffd6910fb1e1563e0b2fa3e34913d3b6bd3b00c5fb89", - "unpackedsize": 8229 + "url": "bin/qml/QtQuick/Controls/Imagine/ApplicationWindow.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ApplicationWindow.qml", + "packedhash": "da40032061f300471b1bd0a249d5410038d2010c0d7cc34905a6e6c2c55e1a56", + "packedsize": 366, + "unpackedhash": "80ca4c574e8fac2ad7e55da45210dcdfac470a3eaec86326a3b09f817a776aea", + "unpackedsize": 612 }, { - "url": "bin/QtQuick/Controls/Private/MenuContentScroller.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/MenuContentScroller.qml", - "packedhash": "130d772cf4308f027ffd3e36326bc82a26427a90b8bbad838b31fb6f181047aa", - "packedsize": 1184, - "unpackedhash": "c7ec54404c3168726bd8c84edfce0300139c4c8d0033dede6c75bdbf18330321", - "unpackedsize": 3156 + "url": "bin/qml/QtQuick/Controls/Imagine/DialogButtonBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/DialogButtonBox.qml", + "packedhash": "9031a386229ac6e68a36e8ff9769d77e10e615092db2916f7ae35142436ff8e8", + "packedsize": 724, + "unpackedhash": "97f2c55935564cb8a1474a970fdd0409ce99d68042a6c0d78d4848f40b393a3e", + "unpackedsize": 1808 }, { - "url": "bin/QtQuick/Controls/Private/ToolMenuButton.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/ToolMenuButton.qml", - "packedhash": "c9e8121fdee2f1196945ec647c891cd1804daeeb35b34424eb7237191c27d571", - "packedsize": 1519, - "unpackedhash": "7a136915b179cc75f952d1e57b622216ac884295e085aecc087d3923f5b5b0ba", - "unpackedsize": 4615 + "url": "bin/qml/QtQuick/Controls/Imagine/ScrollBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ScrollBar.qml", + "packedhash": "cd5603f544b96e55beafcfc58c27f3450d52339b366467cf66bea203fab2af8e", + "packedsize": 910, + "unpackedhash": "6b3a9f03a2cd9302cc6d88f50c7710862b2c65a91529afcf32d959cc745e2138", + "unpackedsize": 3184 }, { - "url": "bin/QtQuick/Controls/Private/BasicButton.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/BasicButton.qml", - "packedhash": "be146b9953bae76c08eef46224692f4cf4971fbabf6c43dbd45a9bd8c3024133", - "packedsize": 2375, - "unpackedhash": "1651bc9c0bcc321bfc1462d4de6a51007dc933b159980646656e74b33ce239d7", - "unpackedsize": 8298 + "url": "bin/qml/QtQuick/Controls/Imagine/Button.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Button.qml", + "packedhash": "89c6d43840cd26394937d66afadae4a4a00c9337cb82329abfa245688c9f9202", + "packedsize": 796, + "unpackedhash": "bbfc36aa109a9830aeae12ceba9c6a1fd8277620e70d1a20f88782f4e68ea784", + "unpackedsize": 2646 }, { - "url": "bin/QtQuick/Controls/Private/CalendarUtils.js.lzma", - "localfile": "bin/QtQuick/Controls/Private/CalendarUtils.js", - "packedhash": "a2d60bc2397359dbbd8353818f0f568714caa2ad5df0365ea9564ed267d55800", - "packedsize": 1919, - "unpackedhash": "71e7b220af9b62b2ebcaee5b93d435c5a33bc6848cf29f785bce082858c100ab", - "unpackedsize": 5714 + "url": "bin/qml/QtQuick/Controls/Imagine/Popup.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Popup.qml", + "packedhash": "88c309d5742a3587cd9e8560a357b68819da371b048e826125bd8ad45171ecad", + "packedsize": 567, + "unpackedhash": "f7a9108b69e2a4f8f2cd733ebb35db9a5ab5364a4dabb955e61bd3208a768e7b", + "unpackedsize": 1782 }, { - "url": "bin/QtQuick/Controls/Private/HoverButton.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/HoverButton.qml", - "packedhash": "1bfb384c0af37a0d69e7d80ae4b4d41495b01f1a930050812cb96a0db9bb71e4", - "packedsize": 1109, - "unpackedhash": "f37ee6c81a402309cc49eb69a9500a41e79b4660eb8d8655e31d2ee6557143ce", - "unpackedsize": 2931 + "url": "bin/qml/QtQuick/Controls/Imagine/TabButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/TabButton.qml", + "packedhash": "e2222ad0689d011d8031b16a77930f28a79291825097bbce45e88600951e48a1", + "packedsize": 711, + "unpackedhash": "6b2834327580dcbd89252663f6be1ad24e45f7aa6da06004849a7420674bf414", + "unpackedsize": 1962 }, { - "url": "bin/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/TreeViewItemDelegateLoader.qml", - "packedhash": "d546de5bbc79b0e0afdee2bfe3e0f8312e2ca070b9120bbee193680c556573cc", - "packedsize": 1698, - "unpackedhash": "e8e098a622b41c091528f61c611fdbfef52c9dc50c324c3591b2e86fb21384fc", - "unpackedsize": 5059 + "url": "bin/qml/QtQuick/Controls/Imagine/RadioDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/RadioDelegate.qml", + "packedhash": "f5846bfbe7c3d05616cee1bc04951fd651ce0b53888bea0d69a9c089480a2d54", + "packedsize": 881, + "unpackedhash": "31d79dbc1d9bc7fe4cb59d2bf93a9a25ac4d43325926dfb1b5736058cc6d7cca", + "unpackedsize": 3096 }, { - "url": "bin/QtQuick/Controls/Private/TabBar.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/TabBar.qml", - "packedhash": "69fa57b8d541d89084381d7920aeab0a98827386b1457ea9ab1552dda87e17f0", - "packedsize": 3353, - "unpackedhash": "d7f4b886c50dd7ea6a54eef48c34650e5acafe303b332044d3162ba1d8e96399", - "unpackedsize": 12756 + "url": "bin/qml/QtQuick/Controls/Imagine/Dialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Dialog.qml", + "packedhash": "eed758fd31c065a0fd2994608057f0af4d2b39226f1b5c04938d56bf3348e074", + "packedsize": 751, + "unpackedhash": "5cb71fc08ce6e6bd44933fe39234f5b4520af4c21d509490e0e53d4ef97128c1", + "unpackedsize": 2624 }, { - "url": "bin/QtQuick/Controls/Private/TextHandle.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/TextHandle.qml", - "packedhash": "fcc74a6678d3b21d9b2d529120e607bb8f40318e697149f2b75ec31f565664f9", - "packedsize": 1653, - "unpackedhash": "5b7a9043c92cfcbc928579c1341524f034eac837494fa420edca0498d50342f3", - "unpackedsize": 5192 + "url": "bin/qml/QtQuick/Controls/Imagine/Dial.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Dial.qml", + "packedhash": "b3ec4b6f3d912ddb2bbcffa8e277320550601dc00cc0684b3492f96ed55dee76", + "packedsize": 767, + "unpackedhash": "c96374781cadf6848d4ce8ccea51d32da5022ab2a543c4015d2319ef6e40a9db", + "unpackedsize": 2591 }, { - "url": "bin/QtQuick/Controls/Private/TableViewSelection.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/TableViewSelection.qml", - "packedhash": "6c46c06d22cf17955bcca8aea43f6da2321a25d1398c66d16445d5b07b6575e6", - "packedsize": 1917, - "unpackedhash": "ed1935591c3f9a63a3f6123839ce3a8b8869d0350849583eddb6f075fff8928f", - "unpackedsize": 7164 + "url": "bin/qml/QtQuick/Controls/Imagine/Menu.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Menu.qml", + "packedhash": "506efeffd682a5c7bd4df88949ac09342f433941a5621a188cc86a448bd25573", + "packedsize": 733, + "unpackedhash": "cb7ca9b9c0ab8840938600cb1a67666c3e78041c80337871b8467939c7630706", + "unpackedsize": 2408 }, { - "url": "bin/QtQuick/Controls/Private/StackViewSlideDelegate.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/StackViewSlideDelegate.qml", - "packedhash": "0b6bb36979d9cd77fc0cbd556f230bdb3aa713193ca7f5ec0c3554719a44009c", - "packedsize": 1172, - "unpackedhash": "a1b5c975825b453c5a80f2c4969955c7c0af5a71abcb63aac9fc1ab27d7baa00", - "unpackedsize": 4863 + "url": "bin/qml/QtQuick/Controls/Imagine/Switch.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Switch.qml", + "packedhash": "85a4601f4403325a4def95c7f6db70ed8d307c3d740d93d2a587d155446b958d", + "packedsize": 1065, + "unpackedhash": "7ef76ae83e885513cce4f7038f96c448531a9480025dbed51c8bfd99c5bca01a", + "unpackedsize": 4170 }, { - "url": "bin/QtQuick/Controls/Private/ContentItem.qml.lzma", - "localfile": "bin/QtQuick/Controls/Private/ContentItem.qml", - "packedhash": "a02381eb2a136597405e454fd749a529bbe199ba8991cfdbbb40c06090fa563e", - "packedsize": 1360, - "unpackedhash": "eabc8322be26364621abb055c8fc60567496f03283ccb29df52282e5a9fc1cb2", - "unpackedsize": 4611 + "url": "bin/qml/QtQuick/Controls/Imagine/RoundButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/RoundButton.qml", + "packedhash": "c2957e84f4cd63dc88d55473961c48f15a985beb5e3ab36d4ce21e2b212d178c", + "packedsize": 811, + "unpackedhash": "ddb20312c30e84f5e54b22ebcaf3f5b68546d199dcef371b27c61d012f215284", + "unpackedsize": 2662 }, { - "url": "bin/QtQuick/Extras/qtquickextrasplugin.dll.lzma", - "localfile": "bin/QtQuick/Extras/qtquickextrasplugin.dll", - "packedhash": "c3abdb08710beb547cc3a0a7c64756c80e103e55399ed9e023bd6ad183d9d1b6", - "packedsize": 27958, - "unpackedhash": "cce1d099dfeb67b2caf89f6f6e5f8e0d7fd57cda2122ab4be0cc1ea4442daf06", - "unpackedsize": 69008 + "url": "bin/qml/QtQuick/Controls/Imagine/Tumbler.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/Tumbler.qml", + "packedhash": "bd4e4078e9993221be2db377b759dcecb21a199d15f83aaa7078ddc1b893bf5a", + "packedsize": 849, + "unpackedhash": "d6c4981101045b4b2e2f6da2ebbfe4caa38c3ab3c4a2d10b737c4c5d28c8e0cb", + "unpackedsize": 2273 }, { - "url": "bin/QtQuick/Extras/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Extras/plugins.qmltypes", - "packedhash": "de21374b03bab9f5061431d4c07912e72c9575a8bcf4dad3d47f3bce5039869d", - "packedsize": 2791, - "unpackedhash": "8d75b0d1e0ef9af3496989bfb28af6fc81752a0d148aa72e2d457bf07c2929f6", - "unpackedsize": 30070 + "url": "bin/qml/QtQuick/Controls/Imagine/SpinBox.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/SpinBox.qml", + "packedhash": "151049eea3f9ff653d04eb92e6f82ae4ef0d2dea6bf6ede7824a0031ac0e926b", + "packedsize": 1103, + "unpackedhash": "f990247acc58d5235153a84bea402fc2d5f0366cc8af2f3e627280769131eb25", + "unpackedsize": 4387 }, { - "url": "bin/QtQuick/Extras/qmldir.lzma", - "localfile": "bin/QtQuick/Extras/qmldir", - "packedhash": "31bd7710eaff4177fe069996f7e06c19c57bfdc26e3e1308ac1f9b09842efc93", - "packedsize": 171, - "unpackedhash": "ab1ac853929dbcb99495c2098c2aeba06e7b3eb0acce3dbd2c0f0f6c74211427", - "unpackedsize": 164 + "url": "bin/qml/QtQuick/Controls/Imagine/BusyIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/BusyIndicator.qml", + "packedhash": "0fa68bd6e377a8fa54e9ac04165e9b1bea853116fa7f68240e6cbefd28dc17f7", + "packedsize": 672, + "unpackedhash": "787a37d9f7f3c8bda11b9434774ee3967a895aa25b5eb6a20d78ba7397e0e6c5", + "unpackedsize": 2075 }, { - "url": "bin/QtQuick/Extras/CircularGauge.qml.lzma", - "localfile": "bin/QtQuick/Extras/CircularGauge.qml", - "packedhash": "6f946e5ef4b829a17fd4b6154e6b6a178208ad879bd78d0b6063b8c02af6835c", - "packedsize": 1922, - "unpackedhash": "24f10223e8925c365a5fcc1e79224c6e593a361a38a1c2b955978e4eb734058a", - "unpackedsize": 5676 + "url": "bin/qml/QtQuick/Controls/Imagine/RangeSlider.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/RangeSlider.qml", + "packedhash": "4e7b510866b5a536fdfea99c43b6fb6fe947ccdcc23f21d1ffcaa7a29b0afbed", + "packedsize": 943, + "unpackedhash": "0de9ea2655c4e4080fccb366f80d9a0e08e1eae559675d78dcc92a5a6fc50e23", + "unpackedsize": 4902 }, { - "url": "bin/QtQuick/Extras/ToggleButton.qml.lzma", - "localfile": "bin/QtQuick/Extras/ToggleButton.qml", - "packedhash": "b41fc49ef3cfb291267abf778b675fbbbffec7483590a9a3ecf2d5a1158f21b9", - "packedsize": 1159, - "unpackedhash": "e4f3d5529e2fd51da48e750b9c0bbf9845a19cd59a33599a150021f41de8b53a", - "unpackedsize": 3008 + "url": "bin/qml/QtQuick/Controls/Imagine/ItemDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ItemDelegate.qml", + "packedhash": "0f39dc20afc464efd1fcb6d7ba0c671c7b4941da54f0367b7d313c05a74f327f", + "packedsize": 776, + "unpackedhash": "451f98d7c2ca88dc26b4476f89b00fb5c0028681ba469c690b9dc684cf3a01f4", + "unpackedsize": 2185 }, { - "url": "bin/QtQuick/Extras/Dial.qml.lzma", - "localfile": "bin/QtQuick/Extras/Dial.qml", - "packedhash": "25dc4b044035b093b64f1ca834a06960fa62d4d10b7d5a00eeae7794f9e23f51", - "packedsize": 2248, - "unpackedhash": "ca2353d83016243f86d827f22e5cdf83b5d55f9c1ac56c0cc1ff96215f7688e7", - "unpackedsize": 7052 + "url": "bin/qml/QtQuick/Controls/Imagine/MenuItem.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/MenuItem.qml", + "packedhash": "028fb75fb5ba2014e9af09e889a824ba72c3b133cad70835b993b65a62fc351a", + "packedsize": 958, + "unpackedhash": "6d0b56d4f9c6a7cbe0c932a84d0dafb55927bc51eae3ced971e4be4a30a494bb", + "unpackedsize": 4038 }, { - "url": "bin/QtQuick/Extras/StatusIndicator.qml.lzma", - "localfile": "bin/QtQuick/Extras/StatusIndicator.qml", - "packedhash": "d3b1b126a073e7f16197deee6182911024b34639d868f6feaecdce724080b591", - "packedsize": 1405, - "unpackedhash": "994ce7a5eb60cf4da21019263fbba9b18304d87b711f6e3528e4f404650bc6c1", - "unpackedsize": 4261 + "url": "bin/qml/QtQuick/Controls/Imagine/ScrollIndicator.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ScrollIndicator.qml", + "packedhash": "9addaf24c513d28c4e7692f96aa5961e0d0da3a10e6eed97013170af08380165", + "packedsize": 797, + "unpackedhash": "09e2fc330e33ff647ac3db659aaaa2922b8e090d2aa071d904ec6c369a809fee", + "unpackedsize": 2705 }, { - "url": "bin/QtQuick/Extras/DelayButton.qml.lzma", - "localfile": "bin/QtQuick/Extras/DelayButton.qml", - "packedhash": "a849e7eaaa5eb5de2cdc913fe0ff52f8e8b306186cd0181a6618b3150e62f9d8", - "packedsize": 1945, - "unpackedhash": "eb63601f0723a606be1e421c4e46fe056105730cb2c0c422554ff99efe51c0aa", - "unpackedsize": 5726 + "url": "bin/qml/QtQuick/Controls/Imagine/ToolButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/ToolButton.qml", + "packedhash": "e61702fe056e6a7168c2f5b84b03e374f28ff952f7c07ee8f766fb4183a8fd87", + "packedsize": 738, + "unpackedhash": "69ed56af5a7e9fce301100b583713ee1b84c7ed1c6a17931441852c8dcd6bb9a", + "unpackedsize": 2108 }, { - "url": "bin/QtQuick/Extras/Tumbler.qml.lzma", - "localfile": "bin/QtQuick/Extras/Tumbler.qml", - "packedhash": "5a63b718aa70841a1b1f1f13ff7765d0fc16fbf81a306fe0e44d08204967d6e7", - "packedsize": 4241, - "unpackedhash": "8a4722c16e19efba0bfb6473c22378d8013975de3d3dfbe5cc5b6e29fe0ef1dc", - "unpackedsize": 18368 + "url": "bin/qml/QtQuick/Controls/Imagine/StackView.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/StackView.qml", + "packedhash": "00e4e94aa3c3f5e981b75b2c859a0514282a88dde66cdd3f7a5b53cc99c3e360", + "packedsize": 622, + "unpackedhash": "c9426d09b08aacea44234e8e39ab14db25004594b9fa0b6f6c1b9fa286c1649e", + "unpackedsize": 2090 }, { - "url": "bin/QtQuick/Extras/PieMenu.qml.lzma", - "localfile": "bin/QtQuick/Extras/PieMenu.qml", - "packedhash": "12d0fda4c0b2a4373bc8c18512c50bb9801a17835241fdf5c488a429ebe14204", - "packedsize": 6827, - "unpackedhash": "58121b1731f5d33d99c11896f2399a04641d88e2158c9e777e0200df88d9b6ef", - "unpackedsize": 29354 + "url": "bin/qml/QtQuick/Controls/Imagine/RadioButton.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/RadioButton.qml", + "packedhash": "e92809c162b06a2eaf99c1f31537c478a8bd2c847c3e4313a06d63718b65b0c3", + "packedsize": 825, + "unpackedhash": "6954b39fecbdb84bf29494c1080395c03d41257641b6b8a04b7ae04cd8e8b63d", + "unpackedsize": 2806 }, { - "url": "bin/QtQuick/Extras/TumblerColumn.qml.lzma", - "localfile": "bin/QtQuick/Extras/TumblerColumn.qml", - "packedhash": "be6bd0a8ee8108483122f837c8efdafbad37830ddd200d67ed90ce267df1b67b", - "packedsize": 1738, - "unpackedhash": "1250bd960712c00f7e05effa12a81dbd0fa88e273fb44c6370c29a8c845e3bf5", - "unpackedsize": 5447 + "url": "bin/qml/QtQuick/Controls/Imagine/TextField.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/TextField.qml", + "packedhash": "9332657a523dc0e5362afb1aa6690ec2537504edda30f20b8b2f1f5f682f5dcc", + "packedsize": 836, + "unpackedhash": "fb3d4e3d90a55e0849e4ad64f14a31f978e700b5897bfc97d5ccffe60b8b41d6", + "unpackedsize": 2462 }, { - "url": "bin/QtQuick/Extras/Gauge.qml.lzma", - "localfile": "bin/QtQuick/Extras/Gauge.qml", - "packedhash": "cb3e5f9c983d39c9bab07f1d337380c0b05cdfa471d4d291dd06abf7f9bbe5f6", - "packedsize": 2040, - "unpackedhash": "65e437029d71ce48687d208f6a3162f775a973f505f9972b487d52f1e3382400", - "unpackedsize": 6678 + "url": "bin/qml/QtQuick/Controls/Imagine/impl/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/impl/qmldir", + "packedhash": "4c704ee07a011a50629b10cfea38f0acef85a03b8fdc9038c7333e9176ff0716", + "packedsize": 256, + "unpackedhash": "fc60651edd0616b7c38bf8af1faae552aefcfe39f258895db13f81ca0ae8e1a7", + "unpackedsize": 384 }, { - "url": "bin/QtQuick/Extras/Private/qmldir.lzma", - "localfile": "bin/QtQuick/Extras/Private/qmldir", - "packedhash": "e99c49c8caed113acb26774470338553e0658ff21c6cb9b2534de200da466b87", - "packedsize": 31, - "unpackedhash": "e99c49c8caed113acb26774470338553e0658ff21c6cb9b2534de200da466b87", - "unpackedsize": 31 + "url": "bin/qml/QtQuick/Controls/Imagine/impl/OpacityMask.qml.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/impl/OpacityMask.qml", + "packedhash": "2624739e62ee76c50bcbb468a447bf16cebc847b333882ff82e3173633c125ae", + "packedsize": 488, + "unpackedhash": "4814e75b575ade192b9a6c6a23784c2120db9e3fa7dc778a3b32e5f7c6ed633c", + "unpackedsize": 876 }, { - "url": "bin/QtQuick/Extras/Private/CircularTickmarkLabel.qml.lzma", - "localfile": "bin/QtQuick/Extras/Private/CircularTickmarkLabel.qml", - "packedhash": "d79166785b652be3793300d677c7030f05493614ab795960b2e58e1386dca688", - "packedsize": 1604, - "unpackedhash": "4183fe0e604077c73b8fc1f45c7f971095c00d3d1e488a4e41e6b3b5c316898c", - "unpackedsize": 5261 + "url": "bin/qml/QtQuick/Controls/Imagine/impl/QuickControls2ImagineStyleImpl.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/impl/QuickControls2ImagineStyleImpl.qmltypes", + "packedhash": "f121122314e8cc3c277069ea6e036ba8440143c8d97d0b9d0fd5b7a11592c2e9", + "packedsize": 221, + "unpackedhash": "a96c7bf5832767bdc9d91e2290a3920aec3abfbf2e3814bce38b49483f16f84a", + "unpackedsize": 215 }, { - "url": "bin/QtQuick/Extras/Private/CircularButtonStyleHelper.qml.lzma", - "localfile": "bin/QtQuick/Extras/Private/CircularButtonStyleHelper.qml", - "packedhash": "85bc0f9a9375241bca5a80ce536c133ffce3a1339b1906902128b0244e7815c7", - "packedsize": 1687, - "unpackedhash": "495f0e92cb6412eacd837f7ef9cdb775606f0fe04649e190628cf297fda81437", - "unpackedsize": 6177 + "url": "bin/qml/QtQuick/Controls/Imagine/impl/qtquickcontrols2imaginestyleimplplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Controls/Imagine/impl/qtquickcontrols2imaginestyleimplplugin.dll", + "packedhash": "400f4466f2e0d96475944d286126d20f1e3da0a04bf62a5bc70226426f166000", + "packedsize": 14776, + "unpackedhash": "1be1be262cc0419c0a4d53a1f7b4fbe13f013ed63d35d3b30a7283a2a581840a", + "unpackedsize": 29592 }, { - "url": "bin/QtQuick/Extras/Private/Handle.qml.lzma", - "localfile": "bin/QtQuick/Extras/Private/Handle.qml", - "packedhash": "62aafacd621d2a898b72520924e8d894697b0ff57c7196c3778d921d61fe42d3", - "packedsize": 1672, - "unpackedhash": "1ceee48637239b07d106648585e7241b91ee124ebaeb07dcf63d811a7e45c44a", - "unpackedsize": 4681 + "url": "bin/qml/QtQuick/Layouts/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Layouts/qmldir", + "packedhash": "5b03febfc5f1064d87401c94820b77d972b7ed4f19cb8875c79791e92e182ad8", + "packedsize": 215, + "unpackedhash": "be7bc0d0defd3037fd4493987ade323210f191bad527255eb32d1df15b1b8edf", + "unpackedsize": 250 }, { - "url": "bin/QtQuick/Extras/Private/TextSingleton.qml.lzma", - "localfile": "bin/QtQuick/Extras/Private/TextSingleton.qml", - "packedhash": "cd69b3dbd46c81a33bb16a575231554ac5619b61552dc5e03ca9cd4b832f6c8e", - "packedsize": 789, - "unpackedhash": "f4b8ece1e1550ae9d546e1b2fa91c54b76da874640edc19a8f64dcf0d1125f3e", - "unpackedsize": 2020 + "url": "bin/qml/QtQuick/Layouts/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Layouts/plugins.qmltypes", + "packedhash": "987e642bab73aeaf075e7cd36361cd8eb66e4452ef720a451403cca0610296c8", + "packedsize": 2286, + "unpackedhash": "6c6bc67a9a612247ed12b5ef63c6e7e91291635ddb8979fc734a10cb7c4d8197", + "unpackedsize": 19353 }, { - "url": "bin/QtQuick/Extras/Private/PieMenuIcon.qml.lzma", - "localfile": "bin/QtQuick/Extras/Private/PieMenuIcon.qml", - "packedhash": "9ad4511cbd678a75e4bd6df7ca3f3a048a1005568d17599c9bd3d60495b7da5f", - "packedsize": 1592, - "unpackedhash": "a2528141af8d698e4d1dd06af73c541d6a16e2c0c5a096afc3abd951f9d74fdd", - "unpackedsize": 4559 + "url": "bin/qml/QtQuick/Layouts/qquicklayoutsplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Layouts/qquicklayoutsplugin.dll", + "packedhash": "f87b6082198125a8afb3a0f0f9ce312c070d561529dd0adf3b54ed4ad435161f", + "packedsize": 14722, + "unpackedhash": "1db25dc78a6ff80e91c31ae1854d8b1aedf1527730eae009e3e97988e679456e", + "unpackedsize": 29080 }, { - "url": "bin/QtQuick/Extras/Private/CircularButton.qml.lzma", - "localfile": "bin/QtQuick/Extras/Private/CircularButton.qml", - "packedhash": "94d17b655b1645fd0c392600fcab599b99508bebf212e0a0ac95528741edfb1b", - "packedsize": 872, - "unpackedhash": "c0e52cda46ed7db152d3d64ccd1d4bf5a240f49ac76107db2a7bb161d9412bb9", - "unpackedsize": 2233 + "url": "bin/qml/QtQuick/Window/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Window/qmldir", + "packedhash": "62368bf89b99df625fbaad5f20e67debc907e3537910eac902cc01017a6db92e", + "packedsize": 191, + "unpackedhash": "cf518c3574e25f91acaec7ad8831e28c18fccfe15411672ea56809b2eb94077c", + "unpackedsize": 213 }, { - "url": "bin/QtQuick/Dialogs/WidgetFontDialog.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/WidgetFontDialog.qml", - "packedhash": "df2a8e5f1357540392c44ac6a396779a4f4e87f6c91e9237099190145ae50601", - "packedsize": 793, - "unpackedhash": "dc36d5a4e713a5ceed8e877cb16d30272953e736c99fbf933075220281e3a2ee", - "unpackedsize": 2045 + "url": "bin/qml/QtQuick/Window/quickwindowplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Window/quickwindowplugin.dll", + "packedhash": "f724f8e0d9c05527981ba4852138b7b6eb42bbc0264381e201c24cf05abb90a6", + "packedsize": 15155, + "unpackedhash": "7344c773914b9496ca0a993c54b430148b2f1048db9dd2e47ff37435e25d3313", + "unpackedsize": 30096 }, { - "url": "bin/QtQuick/Dialogs/DefaultMessageDialog.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/DefaultMessageDialog.qml", - "packedhash": "b47201852a6e4ea63e3a56f3ce5244e916c77f7d42cc8ecef6786233f9ca66bb", - "packedsize": 2452, - "unpackedhash": "caaa34c2aadf32d0ebbaacf17744c5797b79d4d377321f88139b3f13a14ab61c", - "unpackedsize": 12934 + "url": "bin/qml/QtQuick/Window/quickwindow.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Window/quickwindow.qmltypes", + "packedhash": "f121122314e8cc3c277069ea6e036ba8440143c8d97d0b9d0fd5b7a11592c2e9", + "packedsize": 221, + "unpackedhash": "a96c7bf5832767bdc9d91e2290a3920aec3abfbf2e3814bce38b49483f16f84a", + "unpackedsize": 215 }, { - "url": "bin/QtQuick/Dialogs/dialogplugin.dll.lzma", - "localfile": "bin/QtQuick/Dialogs/dialogplugin.dll", - "packedhash": "bccbbcc4e396fec7791fda5952fe2cd52f1bd697aee78d4fad2a47f9cf407d90", - "packedsize": 41246, - "unpackedhash": "02881d902af07eaa9f29ea6301f295f21145b320611df1a991be9cd8b352150f", - "unpackedsize": 123792 + "url": "bin/qml/QtQuick/Templates/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Templates/qmldir", + "packedhash": "3750335b7ba811b85d540000ed20796220a4374200b1d62ee44df41c60347599", + "packedsize": 201, + "unpackedhash": "60e185a2a878267d15f2b54f6088e1bcb3c7e66b67ac016b121b9e79b305a9ac", + "unpackedsize": 237 }, { - "url": "bin/QtQuick/Dialogs/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Dialogs/plugins.qmltypes", - "packedhash": "7ffe36a2d8e8a9d01282c84cbcc0588cf6fe72c9864da2756dee22dadeec6795", - "packedsize": 2230, - "unpackedhash": "768085cbace8854a3d094dc13feda3f1521d647176af6822436d6e1f1eea7e98", - "unpackedsize": 17475 + "url": "bin/qml/QtQuick/Templates/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Templates/plugins.qmltypes", + "packedhash": "aa22fe252a0d2209e644cbabc5cbbcbaa6a681fcbbe3a69ad7e1cf1c7cecfd05", + "packedsize": 16197, + "unpackedhash": "7da2c797a724d42b7793bc4dd4723efb4876a0ec2fa69adc8eb0f18c81ac5b73", + "unpackedsize": 231751 }, { - "url": "bin/QtQuick/Dialogs/qmldir.lzma", - "localfile": "bin/QtQuick/Dialogs/qmldir", - "packedhash": "ee6245e9e3299757d504f34568813e72366807186ecad3ea18eb5f9eb458aa39", - "packedsize": 209, - "unpackedhash": "dfb9687da7ef6417f14a2bd5972e0b801535a80017dc8e8c0c7e6553e535ea30", - "unpackedsize": 295 + "url": "bin/qml/QtQuick/Templates/qtquicktemplates2plugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Templates/qtquicktemplates2plugin.dll", + "packedhash": "4f2206c2652963eff168eba78026a43831c694a086269928ca340741e8d83504", + "packedsize": 14979, + "unpackedhash": "0814062e7afbe3bfda00d4ab7550b356d431078c5e5a3ca7f7532469e2c97a6f", + "unpackedsize": 30096 }, { - "url": "bin/QtQuick/Dialogs/DefaultFileDialog.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/DefaultFileDialog.qml", - "packedhash": "02fb559397b109bd46c97fa10dc87a1e063a38952f5e85f6df7f572ccb5e0aa1", - "packedsize": 4354, - "unpackedhash": "4c5192436f77254d076f842def52e9211fcdd74f46336462ac199e7cec611341", - "unpackedsize": 21841 + "url": "bin/qml/QtQuick/Dialogs/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/qmldir", + "packedhash": "9504915efe5a962d10dc660f22fc758c97d7145e852dfc141f213a438ddc5651", + "packedsize": 213, + "unpackedhash": "6b547b8e506fd70e034967fa4678368a515dc8e7cdbbdd0fd2b1f263b28fe46c", + "unpackedsize": 273 }, { - "url": "bin/QtQuick/Dialogs/DefaultColorDialog.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/DefaultColorDialog.qml", - "packedhash": "1fb0ca219d0cfc9dcb84bfd665f25c4c36d6f452edf83d4bd7c313c988fab959", - "packedsize": 3304, - "unpackedhash": "29b816728e1b4450e7b50dda9287d61052bcc265d178bcd1672c27fb1431fed5", - "unpackedsize": 16805 + "url": "bin/qml/QtQuick/Dialogs/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/plugins.qmltypes", + "packedhash": "e6870babba57daa8acafe97a165fc66eeb573f93db9bd4d644600ded4175d0a6", + "packedsize": 2107, + "unpackedhash": "5a72b66678730b107535e74228d1ff2735b18da1407e7897064c762e2802c32c", + "unpackedsize": 16320 }, { - "url": "bin/QtQuick/Dialogs/DefaultFontDialog.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/DefaultFontDialog.qml", - "packedhash": "40eceba396b70e415382731d139be416b5f1862fed37eda6b738d1dd07b267f6", - "packedsize": 3544, - "unpackedhash": "ee46dd5d8dfda5a85491773d2b10ff0eab8ee73b5a6b6c04dae93aabdfe87111", - "unpackedsize": 20682 + "url": "bin/qml/QtQuick/Dialogs/qtquickdialogsplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/qtquickdialogsplugin.dll", + "packedhash": "3742380ed09af4de981a7684e8ff4d474b0c4ae846b61f139110eafd719d1c4e", + "packedsize": 14722, + "unpackedhash": "34a57266ae454440abc0947034db6894857ece4fe2739256eb6dce036011c430", + "unpackedsize": 29072 }, { - "url": "bin/QtQuick/Dialogs/WidgetColorDialog.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/WidgetColorDialog.qml", - "packedhash": "da0501c838f66e43d658f8b23e595fa3046398de179da52c7ce25b61a4b53e5d", - "packedsize": 795, - "unpackedhash": "69a65b64d70b2328258aa1a35b52e1fc4d7a4ffbc2b458bc8ca48dd5bbb28c8f", - "unpackedsize": 2046 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qmldir", + "packedhash": "e3976b631f574277c6bba8c840f9cc7492775a93df063d65d5af977fedadc4cb", + "packedsize": 570, + "unpackedhash": "947b7856d7f3ac5e731045d2627973df06744aab3ff392248ef2eda5d42a6279", + "unpackedsize": 2732 }, { - "url": "bin/QtQuick/Dialogs/WidgetMessageDialog.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/WidgetMessageDialog.qml", - "packedhash": "19a9afa4e1281b66c04d8c7a55f7ed4c3461d78c496696100da469ab78b57a84", - "packedsize": 796, - "unpackedhash": "dc91a4e687696c4aa83e5a1d6e05bfde8f3fae8338691982e42f3282af9a1e6e", - "unpackedsize": 2048 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/plugins.qmltypes", + "packedhash": "ce0c642519713a0dd6d953e0db332e14a2c14e49ee869d4503b8f93e6488c3b2", + "packedsize": 6795, + "unpackedhash": "bbc1445de3780ccec7f6d82d77b8810fed220412eb4124fc17535ad1bbe27871", + "unpackedsize": 76127 }, { - "url": "bin/QtQuick/Dialogs/WidgetFileDialog.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/WidgetFileDialog.qml", - "packedhash": "4ee68baf39145c67d91b35a06418495e9b181cbb73cdcfffc3257d169b40bcea", - "packedsize": 793, - "unpackedhash": "275dd745de7dfba2cfe20513c72f91dbbcf3a9e79a7c5c5826dde116407f831c", - "unpackedsize": 2045 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qtquickdialogs2quickimplplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qtquickdialogs2quickimplplugin.dll", + "packedhash": "d3a88a048d21f2c5d879ec53bb90d4165bf8866bd3d73333c1ce3b2237f742fe", + "packedsize": 14757, + "unpackedhash": "19e89455a9928e324bd7fad1b7c42ac76a4feccf0a13a241d982b9d15c5a43c0", + "unpackedsize": 29584 }, { - "url": "bin/QtQuick/Dialogs/DefaultDialogWrapper.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/DefaultDialogWrapper.qml", - "packedhash": "5cce1445ac9c03ce117f9e2e5e651e8f49caa9bf10a0a9da5c56c740d8e1cd97", - "packedsize": 2110, - "unpackedhash": "09fdbdc3098ba77dd2261b8cd8fd83866d998eb9bfa9f685da5c43ff78ce746d", - "unpackedsize": 8343 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/HueGradient.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/HueGradient.qml", + "packedhash": "be2f2ab80b2bc9b513eca1159722c186d27ed7e2b974991ee0c66874ea8fb8f4", + "packedsize": 274, + "unpackedhash": "66071945a357a67807f2bf04886c6e2f0c9cfa78b934876032b7c555b86920fb", + "unpackedsize": 694 }, { - "url": "bin/QtQuick/Dialogs/qml/qmldir.lzma", - "localfile": "bin/QtQuick/Dialogs/qml/qmldir", - "packedhash": "ad7e3a8985c7b4275ebbe7a0dd393528d38212530c3623082b0e1d6ba047bce8", - "packedsize": 112, - "unpackedhash": "f1dccb2c3b5146e810bd0a09f666ff7487ac01f30eba79f299405e24e03ed3b2", - "unpackedsize": 103 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/PickerHandle.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/PickerHandle.qml", + "packedhash": "97f7c1caf884880185beb737ed9050477396f4d00a12a1cae928980f132380a5", + "packedsize": 441, + "unpackedhash": "fe70e9c4eefa85f1a9dc1e4872ba173007eb6a1bdb3ddcfbbd8f51cd2810f9ec", + "unpackedsize": 782 }, { - "url": "bin/QtQuick/Dialogs/qml/DefaultWindowDecoration.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/qml/DefaultWindowDecoration.qml", - "packedhash": "9fada0af9513b0b7339db390d567d4d11b9b30f8bf6c7683b84c910885006096", - "packedsize": 1087, - "unpackedhash": "27ead3d6967813cc5c72a357536d0353d6a6c44d5199dc0f7bc918993f3af846", - "unpackedsize": 2923 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml", + "packedhash": "92474bbf0195324544da4955f8a8d691aa589f0f1ed4a57376498d46037ff550", + "packedsize": 1104, + "unpackedhash": "4560011cfa34a70e9b2b39201181d392d09a132f0b21844b00fecb8b09f0f08f", + "unpackedsize": 3928 }, { - "url": "bin/QtQuick/Dialogs/qml/IconButtonStyle.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/qml/IconButtonStyle.qml", - "packedhash": "3713eb974030392e75fa45d10cf5dfed383c720c0a07af5fd80df09316079d99", - "packedsize": 1023, - "unpackedhash": "c97b15440cf90eabf155d6ea8dbd58fe9821d0d4a5b7688eea84432cdf5e92dc", - "unpackedsize": 2578 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderBreadcrumbBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderBreadcrumbBar.qml", + "packedhash": "61dacd7ea3020ea01f1f59a254e89b9df41df3a88627d57f110add3feda022a7", + "packedsize": 971, + "unpackedhash": "9cd370668a53fd32a4b54dbedb99037ce06b14989817197fbb7d6546a9b575dc", + "unpackedsize": 2366 }, { - "url": "bin/QtQuick/Dialogs/qml/ColorSlider.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/qml/ColorSlider.qml", - "packedhash": "55d9193bc27a9ffb60ad630adbe482f78e39be8db5ff07ee9a5d62d1c0645e80", - "packedsize": 1586, - "unpackedhash": "09c0f59403c883be3dd866a2adb6be5f5be40ed9abf73109c87ba6627843f3ff", - "unpackedsize": 5169 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FontDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FontDialog.qml", + "packedhash": "9d39ac535e3ebc2125c9a2cc440aec568f1c893ea5b5e5a2da77760d18d12d3e", + "packedsize": 1068, + "unpackedhash": "f36a048092de835a6ddafb36fc28036baa9e7ea769978d828c1b0dfb5aa58967", + "unpackedsize": 3600 }, { - "url": "bin/QtQuick/Dialogs/qml/IconGlyph.qml.lzma", - "localfile": "bin/QtQuick/Dialogs/qml/IconGlyph.qml", - "packedhash": "e9b4c4b3dc002eeb4c9198a507648fe87734067f63cdc4c5ad3350642614a8ba", - "packedsize": 924, - "unpackedhash": "9e11b7f60e9fde3c7f923801f226c2211024a1bedde78cdfca94162e53b6cd2f", - "unpackedsize": 2253 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FontDialogContent.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FontDialogContent.qml", + "packedhash": "62904433083bec87a8e060276c84872486e8ad136df2b2e08d56477b2cd939dd", + "packedsize": 1206, + "unpackedhash": "ad292890846b7c77ce66c966cbe5eab91fee5f3bca1415c23dd5eb267be23cb4", + "unpackedsize": 6430 }, { - "url": "bin/QtQuick/Dialogs/qml/icons.ttf.lzma", - "localfile": "bin/QtQuick/Dialogs/qml/icons.ttf", - "packedhash": "a649b2131af606ca89b4cd54b4d7496d84a3542fa457cb909ace34c02414bfa9", - "packedsize": 8490, - "unpackedhash": "f5030dc236b202a5c6c2f7bfdd948aabb524a4398bf45395310cc6cbadf01300", - "unpackedsize": 17372 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/SaturationLightnessPicker.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/SaturationLightnessPicker.qml", + "packedhash": "c0c52113a7db1436cbf74456c99e7e2660832a8e5c638807e446534380bb50cf", + "packedsize": 648, + "unpackedhash": "4e319295132a1dd2a31fc0ed7e767e95d9367528de9bcb5825536dc294382b8f", + "unpackedsize": 1301 }, { - "url": "bin/QtQuick/Dialogs/Private/dialogsprivateplugin.dll.lzma", - "localfile": "bin/QtQuick/Dialogs/Private/dialogsprivateplugin.dll", - "packedhash": "0d4e1d5eb5e82ad83378d7f30b274e410c7fff0c1a14ef590080db14ce56f511", - "packedsize": 22097, - "unpackedhash": "729d39524789c7912a4437067c367b4cbc6fa8db3215dbf9eb64292031bf0fc7", - "unpackedsize": 46992 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialog.qml", + "packedhash": "d6283a4bab58596768a64d8097382e4b3c08af10e92732b38b023ef596a236ad", + "packedsize": 1130, + "unpackedhash": "a7c7d5820ae80faaf43a52ebf9fdcde46148f9d6371addfbe4a8a33e5eb6341c", + "unpackedsize": 3363 }, { - "url": "bin/QtQuick/Dialogs/Private/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Dialogs/Private/plugins.qmltypes", - "packedhash": "e8a2d681ae95fc42aea5576854e75e87a33e8704bbac302aef547c6bee844492", - "packedsize": 1383, - "unpackedhash": "9f2748312b462c9bd61a1638b91d2f0e36af088da06c55de385d216299325892", - "unpackedsize": 12562 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/ColorInputs.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/ColorInputs.qml", + "packedhash": "42e1ba1569d6b57559b255bfa198a1d7a2fed5cba1e7d2b9448fb87550506459", + "packedsize": 1408, + "unpackedhash": "2104d727fa8cfb91cdf6012bbd14a052cc4ef95083de77c1acadfdea07ab480b", + "unpackedsize": 10790 }, { - "url": "bin/QtQuick/Dialogs/Private/qmldir.lzma", - "localfile": "bin/QtQuick/Dialogs/Private/qmldir", - "packedhash": "59a722762185668dc83539aac2e0ccfd65efa2b188ab63c46a8718a05b244cc6", - "packedsize": 140, - "unpackedhash": "328ce7281ff10ef0d90a753a716912656d3f97476624a584a8b50847127fa00d", - "unpackedsize": 128 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialogDelegateLabel.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialogDelegateLabel.qml", + "packedhash": "1165264b312f5d270486cacf1ff03f6dd33a22490aef8666b5dcfa15e4892753", + "packedsize": 754, + "unpackedhash": "19678448e4ac16e34697ddee489f428ea54c9d5890f2c37161f9468692d4f197", + "unpackedsize": 2138 }, { - "url": "bin/QtQuick/Dialogs/images/window_border.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/window_border.png", - "packedhash": "9b6b13cf306091be1274c62d0dd54003935cdbe2afddfa23d71be3360e44213a", - "packedsize": 371, - "unpackedhash": "9b6b13cf306091be1274c62d0dd54003935cdbe2afddfa23d71be3360e44213a", - "unpackedsize": 371 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialogDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialogDelegate.qml", + "packedhash": "d088646cbeb33fef11f7ce46f5615a01389c581a6aff817c2f14303b5167d54a", + "packedsize": 834, + "unpackedhash": "4bcb1d2880a492fa623a9ded9adc2df66d0ec2db63198122a6ca5ba58ef9d4df", + "unpackedsize": 1880 }, { - "url": "bin/QtQuick/Dialogs/images/sunken_frame.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/sunken_frame.png", - "packedhash": "426c2a3b20c6567a5da262150efbb34cf3f22c8daab20d8f2e90be4d5b997aeb", - "packedsize": 556, - "unpackedhash": "b4e6f75a256a8153ac362824a8b7daa29c77008d812c78ddfa48f916a26c9f60", - "unpackedsize": 623 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/ColorDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/ColorDialog.qml", + "packedhash": "b136785e04def1e955240d65d8e219d47045ec0edaaf9da8a34ea2b11c4146a7", + "packedsize": 1721, + "unpackedhash": "c58e66df0d91a5fa6003229a29966564de91e800cff25b33d52300b716a6c850", + "unpackedsize": 8576 }, { - "url": "bin/QtQuick/Dialogs/images/slider_handle.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/slider_handle.png", - "packedhash": "8fa5d483d83fe4a9320d524a5396c6c4df80f48e553b0fdf344b36576236acdf", - "packedsize": 1551, - "unpackedhash": "8fa5d483d83fe4a9320d524a5396c6c4df80f48e553b0fdf344b36576236acdf", - "unpackedsize": 1551 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialogDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialogDelegate.qml", + "packedhash": "3127e3f3be7196cffc95b079c7554821c3bd77f107107ad990bda6f57326e2f9", + "packedsize": 880, + "unpackedhash": "e82df977483500f430defe28f8f443ebbbafa17cdfe16c9e3581876d7e33e651", + "unpackedsize": 2074 }, { - "url": "bin/QtQuick/Dialogs/images/checkers.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/checkers.png", - "packedhash": "a9faabaee11fdce6a16954f4b5acfb8cce82b956bda8e36536e2fa2a5565833e", - "packedsize": 80, - "unpackedhash": "a9faabaee11fdce6a16954f4b5acfb8cce82b956bda8e36536e2fa2a5565833e", - "unpackedsize": 80 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FileDialog.qml", + "packedhash": "206db213989561a21085268b3c9995d4e8dccbc9181cc207af5e72ace07425a1", + "packedsize": 2003, + "unpackedhash": "612657995d88494eeebf4ec23071cbeaf1c34d0238c3872d169c5f92ccad8495", + "unpackedsize": 6436 }, { - "url": "bin/QtQuick/Dialogs/images/warning.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/warning.png", - "packedhash": "05408a124a293df55ca5d3eb62f373c954075fc7eef903c96f2559a9f3dbeed0", - "packedsize": 224, - "unpackedhash": "05408a124a293df55ca5d3eb62f373c954075fc7eef903c96f2559a9f3dbeed0", - "unpackedsize": 224 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialogDelegateLabel.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/FolderDialogDelegateLabel.qml", + "packedhash": "952e3fcaa0b601ca41f47e8dd142474f52df06ea682dac7d1f7132819db51378", + "packedsize": 674, + "unpackedhash": "7770bcde29ee008c46fbc5d3aca121765588f40999f2b2a17baebad5730144d1", + "unpackedsize": 1635 }, { - "url": "bin/QtQuick/Dialogs/images/copy.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/copy.png", - "packedhash": "2f1115b9c1d70650b8459714a7c410a2629d1992a25e4af9ecaafa9cfa1254d7", - "packedsize": 1338, - "unpackedhash": "2f1115b9c1d70650b8459714a7c410a2629d1992a25e4af9ecaafa9cfa1254d7", - "unpackedsize": 1338 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/MessageDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/MessageDialog.qml", + "packedhash": "b36719ce533d0970456dcc4aab439027c8776e77cdad957ead0a667ac587246e", + "packedsize": 1219, + "unpackedhash": "7d132f5970c2113b79c8b1946795e4464cc8c7c771a92458691f0f14cc41a717", + "unpackedsize": 4833 }, { - "url": "bin/QtQuick/Dialogs/images/information.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/information.png", - "packedhash": "84878e61f7605016611fbb49c07f1963c4823b41208162072fbcda30963301b7", - "packedsize": 254, - "unpackedhash": "84878e61f7605016611fbb49c07f1963c4823b41208162072fbcda30963301b7", - "unpackedsize": 254 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderBreadcrumbBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderBreadcrumbBar.qml", + "packedhash": "fbbf3f9310805287eb2b93fe7b4cb5b18295c37df9b651a4c62cf1b48cf611d9", + "packedsize": 865, + "unpackedhash": "2c7072f95049e347b0e0186eb3e80449062a0483baec40fca2973e02d03550af", + "unpackedsize": 2049 }, { - "url": "bin/QtQuick/Dialogs/images/question.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/question.png", - "packedhash": "98e8dd83fac047b42fb3de69f2733b87697ca8a33f54ae12e65d2d88867ef80a", - "packedsize": 257, - "unpackedhash": "98e8dd83fac047b42fb3de69f2733b87697ca8a33f54ae12e65d2d88867ef80a", - "unpackedsize": 257 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FontDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FontDialog.qml", + "packedhash": "ed06d8995adc749f599adf094a779ebcb0fe780ab516d5387946e5bc943b1d25", + "packedsize": 1114, + "unpackedhash": "ae53719a06fb576c3fe89dda976ee1ed7705dba5cf93ab44248b5b6beb4ee3a4", + "unpackedsize": 4186 }, { - "url": "bin/QtQuick/Dialogs/images/critical.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/critical.png", - "packedhash": "11f9d1b451e5cb9a3c075387d56aed11afdf5ff3abc874b12221e695d5df9c95", - "packedsize": 253, - "unpackedhash": "11f9d1b451e5cb9a3c075387d56aed11afdf5ff3abc874b12221e695d5df9c95", - "unpackedsize": 253 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderDialog.qml", + "packedhash": "64c02b17f4fbd53b8e192c1f35d034b8e554897558a0955304aae53691336d4c", + "packedsize": 1234, + "unpackedhash": "2c7b9fa76f0c1c87cbe82d51f4b318823260320aa9c2b09189011fd89c68e4e7", + "unpackedsize": 4383 }, { - "url": "bin/QtQuick/Dialogs/images/crosshairs.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/crosshairs.png", - "packedhash": "30b4a6c95a606ad8e9649f55dc9aa1020637acf850d204e31904b7144bf4969a", - "packedsize": 876, - "unpackedhash": "30b4a6c95a606ad8e9649f55dc9aa1020637acf850d204e31904b7144bf4969a", - "unpackedsize": 876 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderDialogDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FolderDialogDelegate.qml", + "packedhash": "d7825ab4afbc048a0d72f3a47eb62741e093506ad3754e7b8889103404bf0ffd", + "packedsize": 844, + "unpackedhash": "d6102acb3158e363e2fef428112967022afec5be59343fe81478fd22f0f91f43", + "unpackedsize": 2367 }, { - "url": "bin/QtQuick/Dialogs/images/checkmark.png.lzma", - "localfile": "bin/QtQuick/Dialogs/images/checkmark.png", - "packedhash": "c64f5652492178d3e77c358c8169200a819be50ae557dc5a9d71c1f77aa2ec7b", - "packedsize": 809, - "unpackedhash": "c64f5652492178d3e77c358c8169200a819be50ae557dc5a9d71c1f77aa2ec7b", - "unpackedsize": 809 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/ColorDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/ColorDialog.qml", + "packedhash": "005a22de9b395325debc1d24d524ea492d507f41aa9a7e4861e9c47f97d771a6", + "packedsize": 1761, + "unpackedhash": "f4098568c83a31e62bbfb5a96e4ba3e272c9daa2ff38beeff31544e1c3dd4650", + "unpackedsize": 8822 }, { - "url": "bin/QtQuick/PrivateWidgets/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/PrivateWidgets/plugins.qmltypes", - "packedhash": "37c1f2f8da81eda7ceceaa97ebbaa904b8a960d4a435bd19dab40bcc91fca588", - "packedsize": 1640, - "unpackedhash": "d7cbcd34a59b9eb7c2b0d12077eabc8ffcb9091d7afdca45633f511a3c670d5e", - "unpackedsize": 11455 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FileDialogDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FileDialogDelegate.qml", + "packedhash": "c999a019bd77e3c7eb6682bda54b7f9bbb0babba427e7ff068febf4bb158ce4b", + "packedsize": 886, + "unpackedhash": "b954c268ae4d695471403dcada1c9448657ef6472d2ed2533b96b3a6889cf22e", + "unpackedsize": 2570 }, { - "url": "bin/QtQuick/PrivateWidgets/qmldir.lzma", - "localfile": "bin/QtQuick/PrivateWidgets/qmldir", - "packedhash": "e559785838453e7ed5aae57d692502a61fc83f5a71732674df8d9f46c363359f", - "packedsize": 134, - "unpackedhash": "d7b049361ac87b285138c2091d489f84cc71ccc517a3d68749f5fcbf963347f3", - "unpackedsize": 120 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FileDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Imagine/FileDialog.qml", + "packedhash": "f4627f19ecc070e67c5bb2b20ef04398938c465fa5febda1b038453a87cb6841", + "packedsize": 1780, + "unpackedhash": "04617837da6b1b526668441b4666a90c749a05b6bafff72fcdacca1447870831", + "unpackedsize": 6607 }, { - "url": "bin/QtQuick/PrivateWidgets/widgetsplugin.dll.lzma", - "localfile": "bin/QtQuick/PrivateWidgets/widgetsplugin.dll", - "packedhash": "46bef637611459f5174434d9436db4bcf88a15de28479bf151c135e39663503f", - "packedsize": 38433, - "unpackedhash": "4eb5cba3c70f24cb3e29dc1902a63fe75222da8298e67633a96e50059eb6c6f1", - "unpackedsize": 109968 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/MessageDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/MessageDialog.qml", + "packedhash": "6b2726f014c9d2ac4caa9aaf17cc08a8b30967bd66b23efc75c7d92fc5af95b3", + "packedsize": 1099, + "unpackedhash": "cbeff54811cf838eb0104e863304a7fcada0b7d90bebb624dbdaa396cad72ed6", + "unpackedsize": 3863 }, { - "url": "bin/QtQuick/Templates.2/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Templates.2/plugins.qmltypes", - "packedhash": "cce83193f3c5abc56b819f9e7fee1228c935cf389ccfd589dd20964a00606adb", - "packedsize": 10568, - "unpackedhash": "5df0927ce02b8c4fb28dd932f41977019329b2a348e3cc1420819c719460ce6e", - "unpackedsize": 129347 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderBreadcrumbBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderBreadcrumbBar.qml", + "packedhash": "95c05e04f61a0b7f2e05c63e57925c6d29f092d46a5e5442488aebce248366fd", + "packedsize": 1013, + "unpackedhash": "7cf252d3c528e1ec43fc806f90fe28ab3866986c07f00ba14545637a2ffbf8fc", + "unpackedsize": 2529 }, { - "url": "bin/QtQuick/Templates.2/qmldir.lzma", - "localfile": "bin/QtQuick/Templates.2/qmldir", - "packedhash": "f2097ac06e825a1b9a496279fdb15342ec007d5a8e1833050fab0a4611f0fade", - "packedsize": 139, - "unpackedhash": "b24f2c4aff9a7f102f2a25bcf552d91f637160e55e053583298b0a16c93aef23", - "unpackedsize": 142 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FontDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FontDialog.qml", + "packedhash": "e2c5c2b117d43de8b923476e754b38d173b11fc528cd2e126c972bdc013bdc63", + "packedsize": 1052, + "unpackedhash": "73ebbfce53c845722927eaed5d6b75e70be76dbe50bc3308b1529246506817a3", + "unpackedsize": 3500 }, { - "url": "bin/QtQuick/Templates.2/qtquicktemplates2plugin.dll.lzma", - "localfile": "bin/QtQuick/Templates.2/qtquicktemplates2plugin.dll", - "packedhash": "af4d237857db29042532ce506116fe28a96aa9ed9ad78db86673ab07fa71cb84", - "packedsize": 51885, - "unpackedhash": "23b9d1f13761b5043e90a9479762f5dab59b4d8b2057dc957ce4752c87e03732", - "unpackedsize": 317328 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderDialog.qml", + "packedhash": "dec22c5466cf20ce546799cf9c3565c598c21d637f58b109a6702351d912702f", + "packedsize": 1218, + "unpackedhash": "a342732a31c483a54f7e209f6a7e2a1bd7bdbad9a7f4d9fa78a384d6072b7daa", + "unpackedsize": 3850 }, { - "url": "bin/QtQuick/Layouts/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick/Layouts/plugins.qmltypes", - "packedhash": "dfdc367c660a57909bbb38bbad94e032c64f28bbebc6c500e81e8c338b10d39e", - "packedsize": 966, - "unpackedhash": "aca88244e2ac5ff225e14a7279e518109b94f82dcde8de0640893efc2b607316", - "unpackedsize": 4745 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderDialogDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FolderDialogDelegate.qml", + "packedhash": "91b1bb552147a7849e5a65703c39e6f7534def9bcdd4f310ee8f54e583966073", + "packedsize": 813, + "unpackedhash": "6c15c400ab3e06a3901b73a816f168052818006eec62e7f536e869bd16d23ffc", + "unpackedsize": 1895 }, { - "url": "bin/QtQuick/Layouts/qmldir.lzma", - "localfile": "bin/QtQuick/Layouts/qmldir", - "packedhash": "6a78052c1eda15fa586fb454a3d39ba5d337ee9d472c4700edcc99dfda9c3f31", - "packedsize": 146, - "unpackedhash": "cb585c2fc06edca4b95c9ee04017cd384cae70356e8dd468abd7c4fd1e640b59", - "unpackedsize": 130 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/ColorDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/ColorDialog.qml", + "packedhash": "edec1adf74bb27ac573edf0428c0959f13ae34d57915a2b27106125b0aedb66e", + "packedsize": 1649, + "unpackedhash": "6a27339a685f01860bedbebda722b40c95b8d475f3be1ccfd9c6d982e29e2196", + "unpackedsize": 7999 }, { - "url": "bin/QtQuick/Layouts/qquicklayoutsplugin.dll.lzma", - "localfile": "bin/QtQuick/Layouts/qquicklayoutsplugin.dll", - "packedhash": "c4059cec193b56d605d8f9a5b18110954933d244c3f286028ec69e788fd1a8f8", - "packedsize": 38139, - "unpackedhash": "c68eba59d8f28de30f4bd95d24602004b94bb94b4af4ec6f2ebde3f4315909b8", - "unpackedsize": 98704 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FileDialogDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FileDialogDelegate.qml", + "packedhash": "32dbe87e80fd5ec3ec0754f7bc764d787f6d4036b0e884d155a5184bb01f5b2a", + "packedsize": 859, + "unpackedhash": "7967c05556ff2a269c8d9b0bbc32227340b86480d5ab7cf4380bac8f591efd27", + "unpackedsize": 2099 }, { - "url": "bin/imageformats/qjpeg.dll.lzma", - "localfile": "bin/imageformats/qjpeg.dll", - "packedhash": "8568626c6bc77231f14046b50cd55905e2e83c07933470da6ff842c42291862e", - "packedsize": 95243, - "unpackedhash": "2ec569b087f6218b9fbdc19315660b9c7e3cff4a11f72ec9b1c0cd5f3344e71a", - "unpackedsize": 385936 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FileDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Fusion/FileDialog.qml", + "packedhash": "8aad3f9f59df15db368ee4514446a803fb172718294b4d93f756a2687cc32a28", + "packedsize": 2053, + "unpackedhash": "0b4d88450239abf6b9d17a59cc2006f898a975f0971d1f5c974b37dbc5e4e042", + "unpackedsize": 6709 }, { - "url": "bin/imageformats/qpdf.dll.lzma", - "localfile": "bin/imageformats/qpdf.dll", - "packedhash": "efa30cef3f8b75c9dae7f0497317c1693e6d0ad8761c27ca6b93687b34ebfcaa", - "packedsize": 17443, - "unpackedhash": "853b1ea4db5dddd3e2e0a9175f8fec425ac8e9c3d31ec78b9ba658bc5ffa2143", - "unpackedsize": 32656 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/MessageDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/MessageDialog.qml", + "packedhash": "58e1d654524609f0a10d8de1d3ab2f55899c47ac3e73fd826137cca523841011", + "packedsize": 1125, + "unpackedhash": "3bfed7ba23f52d32e98395699fe36b6312ad3e89f52d1203dd72bd858c2246fc", + "unpackedsize": 3750 }, { - "url": "bin/imageformats/qgif.dll.lzma", - "localfile": "bin/imageformats/qgif.dll", - "packedhash": "ac24e33e78aae11bf15f1533a1ede5b863b2ab32e0bf15bd68425111c441e95a", - "packedsize": 20357, - "unpackedhash": "081299a41cf833ee10db061357b0c061b67fc15aec925b403e931b7fc1ecc330", - "unpackedsize": 37776 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderBreadcrumbBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderBreadcrumbBar.qml", + "packedhash": "91e75caa1ed8f0efaaf2c5f2369fd011371075285e81928c357bb3eea95d8349", + "packedsize": 1028, + "unpackedhash": "8e76bc95fbdb4863d979c5a3f3ee908a848888ccf74e4285fe7e769858798764", + "unpackedsize": 2493 }, { - "url": "bin/angle_v1/libEGL.dll.lzma", - "localfile": "bin/angle_v1/libEGL.dll", - "packedhash": "7acc778b34f85b66f753e87a1ead02082cccd92f298863d41fc5ddc023b6e9dc", - "packedsize": 136017, - "unpackedhash": "2c585842fb642be85fe412b393058da9d9f33569cc13e3f5abbde9891a17d6e7", - "unpackedsize": 360120 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FontDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FontDialog.qml", + "packedhash": "e68ef5928f41a963c9e0c1066ab3981de40ff75643bf23994626cab1cdad2a65", + "packedsize": 1052, + "unpackedhash": "10c5ce21930a78461071ec612fc192287af4fee03f486c7ac0eedc38effc47de", + "unpackedsize": 3317 }, { - "url": "bin/angle_v1/libGLESv2.dll.lzma", - "localfile": "bin/angle_v1/libGLESv2.dll", - "packedhash": "b5af94e6dcde07203af1b3e99904fb55b9b09a1ad867be7fd7fcc20bddefdcff", - "packedsize": 520035, - "unpackedhash": "6f38dca8a933c8e26d6b12a7056a086017590ca0ef8a847d1ca5427ad53a26ca", - "unpackedsize": 1530040 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderDialog.qml", + "packedhash": "7e1ba37b09759e52d007f3e1deca5d5e6be3b3b1e1713eb58d60e7593dc171eb", + "packedsize": 1165, + "unpackedhash": "74215e89a9b76d01831e95ce395f10a4f962acb4f490c0360f52e4b2e4b63990", + "unpackedsize": 3532 }, { - "url": "bin/platforms/qwindows.dll.lzma", - "localfile": "bin/platforms/qwindows.dll", - "packedhash": "74c7047998b9ee8a60ed085cf5de6062b1aee969fdb5b22f478c191d94d86753", - "packedsize": 543048, - "unpackedhash": "26743f97a6a79a3f05d3b68455a8be02be16280ce39396ae6b192eb7cc5f3d60", - "unpackedsize": 1302416 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderDialogDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FolderDialogDelegate.qml", + "packedhash": "c72662ea80e277cb82b401a5c4fa45fcfed85d8917f6e1e09e16c016b9cdfd7f", + "packedsize": 808, + "unpackedhash": "ed67f18773bc21e49a600027727ce4d9bca27c6d80d5ef002da8c792d23ba142", + "unpackedsize": 1936 }, { - "url": "bin/webview/qtwebview_webengine.dll.lzma", - "localfile": "bin/webview/qtwebview_webengine.dll", - "packedhash": "5f9ab001a1a288d9a278ca5032a9e6113efa3b31ed9a428b66d8d446bc144101", - "packedsize": 17571, - "unpackedhash": "7d9e3f0ca74c317004290f134e258f39fda1689577b0aab332c17d032ccaffa5", - "unpackedsize": 36240 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/ColorDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/ColorDialog.qml", + "packedhash": "e9863326735d1818d1c3b1ddd9d5a47b68ec14d2dde04c8ee756d3abca650e1c", + "packedsize": 1702, + "unpackedhash": "74725d83eee99cc5c7305de59785f93207a38f866f29757067691242573196e8", + "unpackedsize": 8334 }, { - "url": "bin/QtQuick.2/plugins.qmltypes.lzma", - "localfile": "bin/QtQuick.2/plugins.qmltypes", - "packedhash": "fa7036c06a464398d23b38da3f8088a86657aa9fada76d77aa723c2d2c02c42b", - "packedsize": 18281, - "unpackedhash": "f224ad2716b148af379340e1f21a358748919f09571ed69090b02da686375a8f", - "unpackedsize": 196981 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FileDialogDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FileDialogDelegate.qml", + "packedhash": "9f772568888ececf41b237596c673964d522cb4cc4be593ab723dcc631513aca", + "packedsize": 858, + "unpackedhash": "ccd436150d32dc14fc1799811defe78ea8b3700334d08c209f5a4021d8c6f7ee", + "unpackedsize": 2136 }, { - "url": "bin/QtQuick.2/qmldir.lzma", - "localfile": "bin/QtQuick.2/qmldir", - "packedhash": "60650b50daae2d3681fbeaba59eeb805f175843bd621734a510a738ed28c8c75", - "packedsize": 152, - "unpackedhash": "b6f63056ade6925aa070d3b2bd4133d26e80df4ea2719e81ad90027e19661ae8", - "unpackedsize": 131 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FileDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Universal/FileDialog.qml", + "packedhash": "15a17ecd6c7f8343fcb5fccbf2cb24db736dcb32bbce1663038ebc417b4925f6", + "packedsize": 1676, + "unpackedhash": "5f42c42c0313ddf7c3f716d757af8635d60e4e9b8f21fca2b033575e29f893a7", + "unpackedsize": 5612 }, { - "url": "bin/QtQuick.2/qtquick2plugin.dll.lzma", - "localfile": "bin/QtQuick.2/qtquick2plugin.dll", - "packedhash": "2745a0851a4440823c22a7cbe839a794ca66147a9a3771b271b731e953aaf892", - "packedsize": 14428, - "unpackedhash": "83eb641d4cf90e360b556e19e2cb633c140ca3a876aeb5dbf2175787b9ec473c", - "unpackedsize": 26000 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/MessageDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/MessageDialog.qml", + "packedhash": "d4f4ec355f30d3cd0fbaeab51396ee78b34ff41a067d978c4140484ac0ad9513", + "packedsize": 1115, + "unpackedhash": "414b371e93bb0475235bfb96dbe97ba783858163482b50a77761b3c2615ae549", + "unpackedsize": 3874 }, { - "url": "bin/QtWebEngine/plugins.qmltypes.lzma", - "localfile": "bin/QtWebEngine/plugins.qmltypes", - "packedhash": "5a55b9eb38a19fb67df716c0a7e977075ceb49a9b9b211ea40d1c0e486dfbd26", - "packedsize": 7705, - "unpackedhash": "8106a3c90d89465130b3c1f0d3401765a655181840499471284bba4a99a6db41", - "unpackedsize": 65955 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderBreadcrumbBar.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderBreadcrumbBar.qml", + "packedhash": "0994fea51d9fa752dccd7385ad65f7b5b0acf50ea04c22cdabc63a0a51f243e6", + "packedsize": 1052, + "unpackedhash": "179485c31afd30d2e978907b72cf8915a34c5a3f01186c7ef804378bef1e6457", + "unpackedsize": 2557 }, { - "url": "bin/QtWebEngine/qmldir.lzma", - "localfile": "bin/QtWebEngine/qmldir", - "packedhash": "978e48a94edaebde74c24a9d7510bd4294bfd7e6b027343ceacdf81b709825e6", - "packedsize": 126, - "unpackedhash": "033bc267860c17fa876299d07ad30a30cc3646acfed6a2db920fc4f78fc02cb8", - "unpackedsize": 102 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FontDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FontDialog.qml", + "packedhash": "b698ff9f734b8439e3fdd952274dad0fe0ba90dc3740384b11b720874e17498a", + "packedsize": 1018, + "unpackedhash": "59317bc48bbae8264245f2d988970a432dd63c59d09707e8180cb13f5957925d", + "unpackedsize": 3150 }, { - "url": "bin/QtWebEngine/qtwebengineplugin.dll.lzma", - "localfile": "bin/QtWebEngine/qtwebengineplugin.dll", - "packedhash": "203c36932fbf877eb97c63484e819687180852ee248578026b1381dfc36f26fe", - "packedsize": 25155, - "unpackedhash": "c34330b651345c93fab734b3a1e135ea9b60693a1502dde3a2e0a8b26bd96ade", - "unpackedsize": 96656 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderDialog.qml", + "packedhash": "05ff153027106d5e235834f7b6a318e806afc2e267b36b0f7d5fc3e2cb9329d3", + "packedsize": 1075, + "unpackedhash": "5825ef3cd4ee309071b28dc0a7770e1f68c37c1800cab266c29283d769b240b7", + "unpackedsize": 3202 }, { - "url": "bin/QtWebEngine/Controls1Delegates/qmldir.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/qmldir", - "packedhash": "26787b101066a0323780acb1ec9a0b78640e46f650674c7c002062488f7fbd74", - "packedsize": 184, - "unpackedhash": "b48523aaafc9d51cccaea3ed898b715f229c0f76c76e877bb115cddc75580c39", - "unpackedsize": 258 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderDialogDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FolderDialogDelegate.qml", + "packedhash": "87b482d7ceffe37f75fe7392dff67ccd87de089446962e29d9cff9dd049a37e1", + "packedsize": 792, + "unpackedhash": "82992d7f3a6428145996421b17f80354558eeeb0bf9c653c49ff4066436463f6", + "unpackedsize": 1919 }, { - "url": "bin/QtWebEngine/Controls1Delegates/ToolTip.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/ToolTip.qml", - "packedhash": "d55200a98d77ae23122aab05020facc823e44ce9ef05f88d041638099d434f37", - "packedsize": 1161, - "unpackedhash": "7cd245a5fba4ced68b017f3fb5cf2db9ae048d4f8d33da113b4c0bc799fb3a83", - "unpackedsize": 3182 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/ColorDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/ColorDialog.qml", + "packedhash": "dfec0b5f234ca0393c3841f9ca34ce572fcd038dfa936ddee8505b17cd6f7bf8", + "packedsize": 1651, + "unpackedhash": "ea58e4407849c3efea6a174397e07b798fa6e8dba01aa291c4e2b8460990d840", + "unpackedsize": 7976 }, { - "url": "bin/QtWebEngine/Controls1Delegates/MenuItem.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/MenuItem.qml", - "packedhash": "2e5e993d933e916d2ca53d7d2a5f4895386009721819c98cb869c00660d877c6", - "packedsize": 797, - "unpackedhash": "53818df89ba68ddbb141d7d61d3c8961f420c8f2a05531005b7f7fb44ec65127", - "unpackedsize": 2053 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FileDialogDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FileDialogDelegate.qml", + "packedhash": "4ce2f7d649ef4fc019f66ac7caacfcd0a0e1b6af9a24b4afd434b44715f9012c", + "packedsize": 844, + "unpackedhash": "f98f024fc0342d4be03f389b58166386e0b9599a15b2bef7d030c2d5d8562ae3", + "unpackedsize": 2134 }, { - "url": "bin/QtWebEngine/Controls1Delegates/FilePicker.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/FilePicker.qml", - "packedhash": "58e88d16b8bfb89b4aa5675a58b2c68942c22e8df9bcba818a2fe642b415a596", - "packedsize": 838, - "unpackedhash": "d2b0620ff8a61fe9d4e075b1dc1902b818b5729c3f259a4a721799566edcd57e", - "unpackedsize": 2116 + "url": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FileDialog.qml.lzma", + "localfile": "bin/qml/QtQuick/Dialogs/quickimpl/qml/+Material/FileDialog.qml", + "packedhash": "1129cc6d2e20f6e0c9fec337871c7739de5771ebf82c88a6e69c064ae3384d06", + "packedsize": 1626, + "unpackedhash": "4fef2a5ddce9254f5d9ae3e2f42800e8c0618e4fa7cba2e0490c34f983b15ef8", + "unpackedsize": 5600 }, { - "url": "bin/QtWebEngine/Controls1Delegates/Menu.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/Menu.qml", - "packedhash": "95f0985cb172173a664859a01cb99c2393ea905dfcf02ee784f21066442095fd", - "packedsize": 978, - "unpackedhash": "96389bbbc7bc4f43bda8e26c1f445b3caee7e59450365650299c1a38657eea47", - "unpackedsize": 2395 + "url": "bin/qml/QtQuick/Effects/qmldir.lzma", + "localfile": "bin/qml/QtQuick/Effects/qmldir", + "packedhash": "b0be4e1ac3c86fa732c0fbac4e3c70be15f648c4aad6f32cc18d51415cb433d2", + "packedsize": 199, + "unpackedhash": "ac0c9015d65b328279eb9f39ffd189ce79cf4991b4d3be44ce4e9db0a975676c", + "unpackedsize": 219 }, { - "url": "bin/QtWebEngine/Controls1Delegates/MenuSeparator.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/MenuSeparator.qml", - "packedhash": "3adf104f2516adf22e098f23d121feda30a5324966e3c47fa67eb443d0149c8f", - "packedsize": 800, - "unpackedhash": "92a2ef53311d722c9285db6e36b732e4203c0ab96c10ac661f37e9fe1634d8ac", - "unpackedsize": 2056 + "url": "bin/qml/QtQuick/Effects/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/Effects/plugins.qmltypes", + "packedhash": "5d79f39dea6957b6aef28e8593d9fdfa9585876f2d4d9dea7543242187f14942", + "packedsize": 1292, + "unpackedhash": "1bab11d1f3f280ba67d69dcacdc12756e37629bc62b915fef57ba97a31a7ad66", + "unpackedsize": 8795 }, { - "url": "bin/QtWebEngine/Controls1Delegates/AlertDialog.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/AlertDialog.qml", - "packedhash": "f05650bd6bd9e9a1d5b7e1528d3bc8e9c95d31961d29999278dff583519e780d", - "packedsize": 809, - "unpackedhash": "965f318b8eff93c564b048cfb84eaf04a6e374f00f72ed7df09867a1a9d9981b", - "unpackedsize": 2051 + "url": "bin/qml/QtQuick/Effects/effectsplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/Effects/effectsplugin.dll", + "packedhash": "f01609bd503ed430a27f8759c3705171c7bcae771d61e10b49e94b90be4c8439", + "packedsize": 14712, + "unpackedhash": "a228f49fe1ac4168ee3818eeefe4a8199388fdf3ed9cb03093b84e6ed6c3e39e", + "unpackedsize": 29080 }, { - "url": "bin/QtWebEngine/Controls1Delegates/ConfirmDialog.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/ConfirmDialog.qml", - "packedhash": "73a17c7d38e53d1cea9ecafd6cc16287425ca39348bf588c6e3ae1a8d46cf48d", - "packedsize": 833, - "unpackedhash": "68494c1ef10700cca58822b06fac551393fc35d62cf2f241ed4a1766511fbfa1", - "unpackedsize": 2112 + "url": "bin/qml/QtQuick/NativeStyle/qmldir.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/qmldir", + "packedhash": "e765b9aa359389910506aaab7792dac567e81ec5c114cb2edcfaadb5b2fa4d84", + "packedsize": 437, + "unpackedhash": "6606931c42e7ef30ff43fb3002854279641d9c6f89400d87f57708a121ec09c0", + "unpackedsize": 1748 }, { - "url": "bin/QtWebEngine/Controls1Delegates/TouchSelectionMenu.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/TouchSelectionMenu.qml", - "packedhash": "ffeb231efbd2feb0eeecc9830a48d216ce5d9cc1af928f249f6e3433c1aeac42", - "packedsize": 1233, - "unpackedhash": "a1f0577471d345da542296d67de64ccc94393839d9746d338972bcc69f0c35af", - "unpackedsize": 5582 + "url": "bin/qml/QtQuick/NativeStyle/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/plugins.qmltypes", + "packedhash": "c68a44c9d121c4a836762a8d4437d0109371cf70236952a38171f7b84d47c8d1", + "packedsize": 1321, + "unpackedhash": "91303cd03b656bb4c0489e4f96e0fc10f777d7155211febe62ed50561a6cc05a", + "unpackedsize": 8828 }, { - "url": "bin/QtWebEngine/Controls1Delegates/AuthenticationDialog.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/AuthenticationDialog.qml", - "packedhash": "374852b8f9da6f67458ea78103c937fa05a5412a20d8cb66c4915abc59123a34", - "packedsize": 1444, - "unpackedhash": "6475ddb0b48b2d4fe8496908874fcba3d6d6415ce3a8e26e8442d3292b281e32", - "unpackedsize": 4536 + "url": "bin/qml/QtQuick/NativeStyle/qtquickcontrols2nativestyleplugin.dll.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/qtquickcontrols2nativestyleplugin.dll", + "packedhash": "2c1704aaa6eb82fff86643b01cdcdd6768aeba405ae920a2dac8057ea1fa95e0", + "packedsize": 191482, + "unpackedhash": "441fff3bf366119e398aecfbe399f4857c7243941d4dbd1593d35f7b5043812e", + "unpackedsize": 672656 }, { - "url": "bin/QtWebEngine/Controls1Delegates/PromptDialog.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/PromptDialog.qml", - "packedhash": "c0d9ebff7f751e611708e884b064cb23ee111101457fcb50634c42f6b9b5ea34", - "packedsize": 1163, - "unpackedhash": "dbd5993ff97e8a69bc8818f8e9ce0772ac352a108e44e4f3d56779d745a9b0e1", - "unpackedsize": 3288 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultDial.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultDial.qml", + "packedhash": "22febef1d9d4cf37e997803a6861503d2660b2fbc228f225d84f340a83d73558", + "packedsize": 480, + "unpackedhash": "8d90f2707eee72191cefeee49ea8936119dbf8c7a5994b31589bafd6de0a4d1f", + "unpackedsize": 1002 }, { - "url": "bin/QtWebEngine/Controls1Delegates/TouchHandle.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/TouchHandle.qml", - "packedhash": "eb4ae5d77fecff7fa21e565503fc7749e9ad94dcc330b554cec065c6e7a11245", - "packedsize": 777, - "unpackedhash": "78a4f334bd9c8afa54958ccd00878b507577bb3b2998d1e5eec47060956538e0", - "unpackedsize": 1998 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultTreeViewDelegate.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultTreeViewDelegate.qml", + "packedhash": "e074d24b922ae7e3112ce135a38474283273c2cb1e735b615b6cf5932d244a34", + "packedsize": 1360, + "unpackedhash": "fb3a5afec96c0b32a1d0d0bb0739570bdea0732ab89b3a9aa41c1f6b7af7e3a5", + "unpackedsize": 3956 }, { - "url": "bin/QtWebEngine/Controls1Delegates/ColorDialog.qml.lzma", - "localfile": "bin/QtWebEngine/Controls1Delegates/ColorDialog.qml", - "packedhash": "f0360ef71e5749a7975da2e7f625517911d68b560fb6280a1a26e12448b1ace2", - "packedsize": 845, - "unpackedhash": "21cb24da4db390c7118ba3c1dd07caf99e91959f9f24ae7a0b1b7eec28950ea6", - "unpackedsize": 2151 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultComboBox.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultComboBox.qml", + "packedhash": "c52ac3bc2c735147a1cdb6665d577a31e5623b9a4c390265c65b4047443b508c", + "packedsize": 1196, + "unpackedhash": "2e7cf66bccfe71bfe9d1798c94f483b7927c3bfc47313171657f1064c5d11767", + "unpackedsize": 3825 }, { - "url": "bin/QtWebEngine/Controls2Delegates/qmldir.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/qmldir", - "packedhash": "b14e18130e8a686fb74128b7c4dc98fe2b441406c3659040ef9fa71d2b6efcb2", - "packedsize": 58, - "unpackedhash": "b14e18130e8a686fb74128b7c4dc98fe2b441406c3659040ef9fa71d2b6efcb2", - "unpackedsize": 58 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultFrame.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultFrame.qml", + "packedhash": "af4dcea0ea12fdf79849f4c2ec5a581f29439cef16adcfcaf69f7b8b833dca8e", + "packedsize": 507, + "unpackedhash": "494c0dff46947492488eeb8b95be2db110fb3f684fc7869fb2b0ad3664b8c5c4", + "unpackedsize": 1250 }, { - "url": "bin/QtWebEngine/Controls2Delegates/ToolTip.qml.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/ToolTip.qml", - "packedhash": "ed120bb4c7ccf314f337dd3ec382c533b5144ff7bc1f8b60b1d082ae7cb56e19", - "packedsize": 806, - "unpackedhash": "44e6ee4b3ea1c4b42c60e3f90c098ad5a375dd55a1128bacccf4c38ba25e5c8b", - "unpackedsize": 2046 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultProgressBar.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultProgressBar.qml", + "packedhash": "2ed9c95f499dab7cb28a9244e24983a41d5717ec58a2aa492bf09210be9c8f24", + "packedsize": 475, + "unpackedhash": "f8adf43eb913a206b7b38657299eb0b8fa8ea11635c2b90bd037ffd71a124eea", + "unpackedsize": 954 }, { - "url": "bin/QtWebEngine/Controls2Delegates/MenuItem.qml.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/MenuItem.qml", - "packedhash": "283d27289125ca235b847ae613786eb2c74bc796ab073e06e71cfcb50064346e", - "packedsize": 795, - "unpackedhash": "7f30ff1802339264bb9c6bc6881bea104d37504f466e5446fb0c061d2e59edd4", - "unpackedsize": 2053 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultScrollBar.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultScrollBar.qml", + "packedhash": "f22bba512a9101f1d02f8cd711c28ca4b07e6e78ec11aa9b75fa04e6aa8dbfb8", + "packedsize": 562, + "unpackedhash": "fad63917cd711b8c360157785ac41c0357d9cd509b1b42630fa61952cf5606c9", + "unpackedsize": 1205 }, { - "url": "bin/QtWebEngine/Controls2Delegates/Menu.qml.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/Menu.qml", - "packedhash": "5ec76ae328b15c0c22df89e91eee493c6cb8f9f9b3348c7e2b93d4dafee49580", - "packedsize": 977, - "unpackedhash": "6ba609cc2e7ff466df9c24774113535650a04b6f33e7570dd4847ea285aeda5c", - "unpackedsize": 2395 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultSlider.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultSlider.qml", + "packedhash": "801df029551b273399a0dec6eb6a1a711056752f749cdff53e9984a267af53db", + "packedsize": 712, + "unpackedhash": "bffc0b6562f1508da7ca03cdcb5b1b8c3bbcab881afe0616505ad72aa1f2ce10", + "unpackedsize": 1797 }, { - "url": "bin/QtWebEngine/Controls2Delegates/information.png.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/information.png", - "packedhash": "84878e61f7605016611fbb49c07f1963c4823b41208162072fbcda30963301b7", - "packedsize": 254, - "unpackedhash": "84878e61f7605016611fbb49c07f1963c4823b41208162072fbcda30963301b7", - "unpackedsize": 254 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultGroupBox.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultGroupBox.qml", + "packedhash": "7a3139ec8c1511ada7076663749967a509801d145a8a63d94993bd311debd012", + "packedsize": 763, + "unpackedhash": "22651659c35df23050bc30dc791c40b882f58b73c4d9076e29c7a9aa5e0b09a4", + "unpackedsize": 2280 }, { - "url": "bin/QtWebEngine/Controls2Delegates/MenuSeparator.qml.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/MenuSeparator.qml", - "packedhash": "5726ead39a7c1f81717c38285c7b39000bedaedaadd0af4880508c7afac45837", - "packedsize": 783, - "unpackedhash": "47da4653ee04c586981b7cf1312592cf0e4774facf396db73b28673d6ae24abe", - "unpackedsize": 2007 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultTextField.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultTextField.qml", + "packedhash": "49d8996dbe1203d3601405a0e3512faf34b1a3ee1c17395c9a301c256093b0b6", + "packedsize": 805, + "unpackedhash": "403f2d2fbb287dc57596838a45ce42453ec5c1658100e899a89fd3906a9e7e94", + "unpackedsize": 2291 }, { - "url": "bin/QtWebEngine/Controls2Delegates/AlertDialog.qml.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/AlertDialog.qml", - "packedhash": "2044997f4933f1d6d246ee1b820e78ffd13bea2b1286ea7966b3c0fdf33ed59b", - "packedsize": 1319, - "unpackedhash": "0abe840f3427e8d2a1481fc49ad5a0c6b6acb97d1c20219ff4ee5a01f64f9e3d", - "unpackedsize": 3620 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultSpinBox.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultSpinBox.qml", + "packedhash": "692e6869361f35c66b752ca4973604d437faedc4d00c51464f032b610f2298eb", + "packedsize": 891, + "unpackedhash": "c3a8cd452b2507ab02cb89e3769bfc836d18be7d63480ddf038d1f3f5c9443c1", + "unpackedsize": 2551 }, { - "url": "bin/QtWebEngine/Controls2Delegates/ConfirmDialog.qml.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/ConfirmDialog.qml", - "packedhash": "7b998fb59ccfd6dd337687d72a3148b15871ae577171049b86c3983f3cdb1158", - "packedsize": 1339, - "unpackedhash": "a12f521a33c98ad8860dc16542f1492f3316ce87a0baad855bd2487f7212e20b", - "unpackedsize": 3918 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultTextArea.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultTextArea.qml", + "packedhash": "4901811a4f4b808c740931ebc97885c393c4e63aea3228c16122df97419a5821", + "packedsize": 727, + "unpackedhash": "f855652cb5855ecd9fd8276c80ba02edbb207735e641d5dc347936a593bbe984", + "unpackedsize": 1923 }, { - "url": "bin/QtWebEngine/Controls2Delegates/question.png.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/question.png", - "packedhash": "98e8dd83fac047b42fb3de69f2733b87697ca8a33f54ae12e65d2d88867ef80a", - "packedsize": 257, - "unpackedhash": "98e8dd83fac047b42fb3de69f2733b87697ca8a33f54ae12e65d2d88867ef80a", - "unpackedsize": 257 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultCheckBox.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultCheckBox.qml", + "packedhash": "e9f0aa0eaaf7eb69d0547cf509af11fb975a775bbc0c4567ffa9704dee64f0e9", + "packedsize": 947, + "unpackedhash": "f7062f9b6a8c149e8ffc49a5d1fccabc4388798c65c415fd9ed28a1404b952fc", + "unpackedsize": 2446 }, { - "url": "bin/QtWebEngine/Controls2Delegates/AuthenticationDialog.qml.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/AuthenticationDialog.qml", - "packedhash": "3cfec522e12c6b1f81fedb23f8ebe8a13f83c3f6bf26bb144d34402a76b655c0", - "packedsize": 1478, - "unpackedhash": "f18a54e386194edff2809d7effb6032e4dcbc66e7a69d6d6aa961fecfb79d6c6", - "unpackedsize": 4742 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultButton.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultButton.qml", + "packedhash": "0edc42c163939cd9a7a2ae7c39ad1026bfd4f7b19c2f6e2535eb3bbc47704e40", + "packedsize": 624, + "unpackedhash": "ad09d35458d6738da084ab1e4152c7ffd13b30f2c9e84222bb2f515363b12bd8", + "unpackedsize": 1709 }, { - "url": "bin/QtWebEngine/Controls2Delegates/PromptDialog.qml.lzma", - "localfile": "bin/QtWebEngine/Controls2Delegates/PromptDialog.qml", - "packedhash": "8b49da63396e8aca139a252ce05036f81be8fe4bed0257664766784cbdac217d", - "packedsize": 1366, - "unpackedhash": "54268502dfe703b79271dc80c9baf0ffac89161fa0ae9d353679082eb7932225", - "unpackedsize": 3986 + "url": "bin/qml/QtQuick/NativeStyle/controls/DefaultRadioButton.qml.lzma", + "localfile": "bin/qml/QtQuick/NativeStyle/controls/DefaultRadioButton.qml", + "packedhash": "f1ddaad84608308662340eb3ffec38586ce5f7fa6a28efd9eb81055e101d039b", + "packedsize": 912, + "unpackedhash": "64e24d33ba6f68ef4ed09e943f4bdcbab5a6177a063aa8065c0c3382229b638f", + "unpackedsize": 2309 }, { - "url": "bin/styles/qwindowsvistastyle.dll.lzma", - "localfile": "bin/styles/qwindowsvistastyle.dll", - "packedhash": "7da306b2476b54a94a25f9bda280ec99b76bee59c40b18f98421fdb6035f5b6c", - "packedsize": 57730, - "unpackedhash": "a9d4c1f60d03439c17db00eaf5f011385f4581359af38139386e51b96fd61f1e", - "unpackedsize": 137104 + "url": "bin/qml/QtWebEngine/qmldir.lzma", + "localfile": "bin/qml/QtWebEngine/qmldir", + "packedhash": "5ece54e93bf0cf9d9e586446a315ba83fcc0443a89f5b8ff3684495366b9ca03", + "packedsize": 207, + "unpackedhash": "9ce4a1ac66b6a7dc6950b0abf7040117c107aecf0432ede1d015d45a8883bbc3", + "unpackedsize": 244 }, { - "url": "bin/QtQml/plugins.qmltypes.lzma", - "localfile": "bin/QtQml/plugins.qmltypes", - "packedhash": "059ae6f0e007a9ead7062b4c71ef9115a11ab2222d4a3d14d06b0a01e4f5cfc4", - "packedsize": 1741, - "unpackedhash": "9acafb2c123f4daff56c2dc09105524557519b8f3ee1e03ff7c561f47ddc4552", - "unpackedsize": 8505 + "url": "bin/qml/QtWebEngine/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtWebEngine/plugins.qmltypes", + "packedhash": "9a64b5f0cbb24eeb9f941160214df7c648e3c052561099ad15a5f2422d4caf9a", + "packedsize": 9313, + "unpackedhash": "0c2e660aedd2e3f6921b8df88cf53e7d7ed4441fbb99644c685f42779e1404c7", + "unpackedsize": 96229 }, { - "url": "bin/QtQml/qmldir.lzma", - "localfile": "bin/QtQml/qmldir", - "packedhash": "249a481bbea73017c37103b50a871defca6f6f8b6cec07a003d24863798197f5", - "packedsize": 150, - "unpackedhash": "2650234b1afd8056c2ea8d98749fbe79f5101d0d9b6b05eb1b2a313d7ef2bc1b", - "unpackedsize": 142 + "url": "bin/qml/QtWebEngine/qtwebenginequickplugin.dll.lzma", + "localfile": "bin/qml/QtWebEngine/qtwebenginequickplugin.dll", + "packedhash": "e66397a1d079487b6c13b0413c263316d1b6145a9cc8f1d7621ddf3b93769c89", + "packedsize": 15525, + "unpackedhash": "bbe33a0bb48a90ace5657223cf43990dfc170c0ad6de15a0e332332732a67d04", + "unpackedsize": 32664 }, { - "url": "bin/QtQml/qmlplugin.dll.lzma", - "localfile": "bin/QtQml/qmlplugin.dll", - "packedhash": "00643babd74f56f31abc69b269545f7650bbadc26cb31018dcf1bb9145a8d3e5", - "packedsize": 14337, - "unpackedhash": "0f6d5faa56a00feca9e8509aa92208c025f3bf9b9759f883628efd19e7cfa301", - "unpackedsize": 25488 + "url": "bin/qml/QtWebChannel/qmldir.lzma", + "localfile": "bin/qml/QtWebChannel/qmldir", + "packedhash": "896c0acae9a68f26570ccfaabd7f54489973f5336b40824916fbc86976c40e1c", + "packedsize": 189, + "unpackedhash": "0d728adee8ed1308524a8b3e5234781d8207a15dd6c738b74e62246f9679d21d", + "unpackedsize": 205 }, { - "url": "bin/QtQml/Models.2/plugins.qmltypes.lzma", - "localfile": "bin/QtQml/Models.2/plugins.qmltypes", - "packedhash": "9d718e6250b0d3ecbbbc447d51c86cae580b71fb37aacfe8929538338b593b71", - "packedsize": 1766, - "unpackedhash": "87b86c10bd0044672a6c6a572341e42f13ce1d4421f8c0c2742e9efcd48ee82b", - "unpackedsize": 15571 + "url": "bin/qml/QtWebChannel/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtWebChannel/plugins.qmltypes", + "packedhash": "2673bad797aa4b546aade7c85b9e79ea0b5d70fb87d4974b215c12484be4de94", + "packedsize": 822, + "unpackedhash": "a347a65fcd6cd51cccb42ff4616d657d7fe98631d067fdc5df47885fb39e095a", + "unpackedsize": 3573 }, { - "url": "bin/QtQml/Models.2/qmldir.lzma", - "localfile": "bin/QtQml/Models.2/qmldir", - "packedhash": "7c21618e55dc9c98a5cb1b85300cf6d4550637dfe826a2a6482e8f71146f585e", - "packedsize": 121, - "unpackedhash": "62f50f9b9ae3b9e6628dd2660b18d326c41794586e0d76b2e40f6fa4b182e0a7", - "unpackedsize": 90 + "url": "bin/qml/QtWebChannel/webchannelquickplugin.dll.lzma", + "localfile": "bin/qml/QtWebChannel/webchannelquickplugin.dll", + "packedhash": "eb6c0fec5ea14b2809a15d020e7414ba719ee1940a31a62ca5d3f42a193deec3", + "packedsize": 14705, + "unpackedhash": "1b7e66a9cc59008d01faafde1ca58a05842ee8b7b48a30247da450dd84d474c7", + "unpackedsize": 29072 }, { - "url": "bin/QtQml/Models.2/modelsplugin.dll.lzma", - "localfile": "bin/QtQml/Models.2/modelsplugin.dll", - "packedhash": "f81c6389cda474db04b121285b55706bf4074df106d80db4c5763cc5c87bb577", - "packedsize": 14255, - "unpackedhash": "f7bc3ede7e7bec04d0098ef84a20409127eef58c83cce8bb9ebc41ce092a743b", - "unpackedsize": 25488 + "url": "bin/qml/QtCore/qmldir.lzma", + "localfile": "bin/qml/QtCore/qmldir", + "packedhash": "07f74ede3e076dbfeaa24e93c27042e7625ec1291764146bb44b97248c046e19", + "packedsize": 206, + "unpackedhash": "a14da79e8ed62a26e35e1caf4461736dca5371b22fec9490b689616d29eeef67", + "unpackedsize": 217 }, { - "url": "bin/QtQml/StateMachine/plugins.qmltypes.lzma", - "localfile": "bin/QtQml/StateMachine/plugins.qmltypes", - "packedhash": "cc919e60b6417af572b1f003eeffe6be00bdf3819689aab9de94d9ed2bb3cfa2", - "packedsize": 655, - "unpackedhash": "4bcc5c5005176e0c383bc0eb7fc9a9668328d85e16bc3257fcedf51619464753", - "unpackedsize": 2798 + "url": "bin/qml/QtCore/plugins.qmltypes.lzma", + "localfile": "bin/qml/QtCore/plugins.qmltypes", + "packedhash": "1e5645e2d5d024fd92fa025d781469961f9508be031b00adb012530807148b1e", + "packedsize": 1801, + "unpackedhash": "7be5f9cad545b0d431f474d8b860715e93bd66f88842c859be70664bececad7e", + "unpackedsize": 15142 }, { - "url": "bin/QtQml/StateMachine/qtqmlstatemachine.dll.lzma", - "localfile": "bin/QtQml/StateMachine/qtqmlstatemachine.dll", - "packedhash": "0b30efbc7731a699e145040437146cc2dc620c084fd5f5b5c2f7c318889b510c", - "packedsize": 26292, - "unpackedhash": "f31f2732a2e30e026a8c43b2e5f27c423c5c28e23b94a8229c504b63da87d376", - "unpackedsize": 65936 + "url": "bin/qml/QtCore/qtqmlcoreplugin.dll.lzma", + "localfile": "bin/qml/QtCore/qtqmlcoreplugin.dll", + "packedhash": "4e46e1874e05f807f55c11c50e713145914ec7ff46a270ecb93b32ea7eaf0d9c", + "packedsize": 14701, + "unpackedhash": "7c9c30cf3a4ed95f75f7b9cf49ad3ef1df47a34447f077e9ce4548174a2b42cf", + "unpackedsize": 29080 }, { - "url": "bin/QtQml/StateMachine/qmldir.lzma", - "localfile": "bin/QtQml/StateMachine/qmldir", - "packedhash": "1f7c1cd47b836f19d684e54b8e726a34aa256ff158e40511d879618e5e230649", - "packedsize": 135, - "unpackedhash": "5344415b19287c163b3031bb07a2fce8cc16f8d0715682bf803d497d0557f9de", - "unpackedsize": 115 + "url": "bin/resources/qtwebengine_resources.pak.lzma", + "localfile": "bin/resources/qtwebengine_resources.pak", + "packedhash": "a35f53889ae62950517b9ebe7877588803c5c3e9db905091726e2bd59219863c", + "packedsize": 2151244, + "unpackedhash": "4cd1ee210232895b074af79b454d969dbaeb35e825ef9169b310fb092c358176", + "unpackedsize": 2197928 }, { - "url": "bin/QtQml/WorkerScript.2/plugins.qmltypes.lzma", - "localfile": "bin/QtQml/WorkerScript.2/plugins.qmltypes", - "packedhash": "bfd75b5913e19e03c25366141d30404b214570ada999f2c5c46e9f664a930e79", - "packedsize": 509, - "unpackedhash": "17532ba38ceb9f7ca53bd2f2c03dc7a81d843613b63f49a433cd697bcb496cc1", - "unpackedsize": 946 + "url": "bin/resources/v8_context_snapshot.bin.lzma", + "localfile": "bin/resources/v8_context_snapshot.bin", + "packedhash": "edca72fccc37c6cc2365e3a0bcbde38f54faa84883472daec1f7d230f3beb524", + "packedsize": 89566, + "unpackedhash": "845c72073f7af721221519b4278b243bdc4900f0f51b7176920df85af7cb51e1", + "unpackedsize": 588152 }, { - "url": "bin/QtQml/WorkerScript.2/qmldir.lzma", - "localfile": "bin/QtQml/WorkerScript.2/qmldir", - "packedhash": "3fb78c105f9782528b700136b013978f75896126c9af47c2fe772e6838f56039", - "packedsize": 113, - "unpackedhash": "3c41bb992d227afc1c613a4fedc127121c4bc9703f6398cac9b08766fd3f63c9", - "unpackedsize": 89 + "url": "bin/resources/icudtl.dat.lzma", + "localfile": "bin/resources/icudtl.dat", + "packedhash": "a461d2542a74e4a792af996d028b87c0ba7f67bf3a8b4b3662e420cfd52acecf", + "packedsize": 3342010, + "unpackedhash": "ee3c8883effd90edfb0ff5b758c560cbca25d1598fcb55b80ef67e990dd19d41", + "unpackedsize": 10544880 }, { - "url": "bin/QtQml/WorkerScript.2/workerscriptplugin.dll.lzma", - "localfile": "bin/QtQml/WorkerScript.2/workerscriptplugin.dll", - "packedhash": "4d902b0f1b7fd6f61036535260a4f123910549c178192426c4f36d54b8a41e38", - "packedsize": 14176, - "unpackedhash": "2de2795683cbed065bdb549ae4130fcf644c5ae3f4ca0e04e7843377ea162804", - "unpackedsize": 25488 + "url": "bin/resources/qtwebengine_resources_200p.pak.lzma", + "localfile": "bin/resources/qtwebengine_resources_200p.pak", + "packedhash": "9f037c56a9fa3ddd4da00737fb566eb554c47b72abbefbfb1aa13269582d7041", + "packedsize": 185431, + "unpackedhash": "b5a9884fd53d32abf37260a917eb21b9cd6dda5cf690866c35e6be6dc7096dd0", + "unpackedsize": 193702 }, { "url": "bin/resources/qtwebengine_devtools_resources.pak.lzma", "localfile": "bin/resources/qtwebengine_devtools_resources.pak", - "packedhash": "aadecb6184f0eba3384c2e67b80b9c1b2d7213d02182b0fe76470c4763d3dd1a", - "packedsize": 1984471, - "unpackedhash": "7a2d8a38eddbe162c9eba4c04926a4cade643b2b5397c34883c7a8461ca4c719", - "unpackedsize": 2210114 - }, - { - "url": "bin/resources/qtwebengine_resources.pak.lzma", - "localfile": "bin/resources/qtwebengine_resources.pak", - "packedhash": "5127b3b783c15afe55268921f9769c359a17a882da74cb52cae3d3fc0fb2be12", - "packedsize": 2461933, - "unpackedhash": "62483b4aaa165ffcd2cee054d682406fa172950dc39fddf1e1eb9df814304df3", - "unpackedsize": 2507058 - }, - { - "url": "bin/resources/icudtl.dat.lzma", - "localfile": "bin/resources/icudtl.dat", - "packedhash": "9a0b28b086109e288905c12dfbb5685fbe682b2a808475f53dd45be34c1de888", - "packedsize": 3310394, - "unpackedhash": "8364e6c6bf5744357199de0de3f6ba30846ccda70288675b75059e6fd52241f3", - "unpackedsize": 10527632 + "packedhash": "4ac9247677d698621f1a3c460c021425afc2fb90ca58fb6c448734bb0fafc955", + "packedsize": 2695703, + "unpackedhash": "4ac9247677d698621f1a3c460c021425afc2fb90ca58fb6c448734bb0fafc955", + "unpackedsize": 2695703 }, { "url": "bin/resources/qtwebengine_resources_100p.pak.lzma", "localfile": "bin/resources/qtwebengine_resources_100p.pak", - "packedhash": "f71e7f6545fe88dee62754906dbee75b0a086b16f573e3477adc090b9e60db8e", - "packedsize": 189452, - "unpackedhash": "18e72ca3edea4c5caed15f5400d32c55d60ee5ecba4edbfb5195fdf256a4089f", - "unpackedsize": 195800 + "packedhash": "b980130c4164b82984a023a22a2f0b3b3e2e42ed8358d3f8ff0bab19c7ae926d", + "packedsize": 143077, + "unpackedhash": "0380de172e7fcc892e6c5acf6eb0799866953ba1dbcde37e35259acfc8adc7c1", + "unpackedsize": 148283 }, { - "url": "bin/resources/qtwebengine_resources_200p.pak.lzma", - "localfile": "bin/resources/qtwebengine_resources_200p.pak", - "packedhash": "66b21b961c3bd62276a01dfe3f97bcd3c2b2032de0268ea9820254bf32c43b2f", - "packedsize": 247217, - "unpackedhash": "e08ab578081a06bfec31d6a5ed9a737c65d6c19711d21fbf26ac16af0519a76c", - "unpackedsize": 256941 + "url": "bin/styles/qwindowsvistastyle.dll.lzma", + "localfile": "bin/styles/qwindowsvistastyle.dll", + "packedhash": "093b56fbc54fd2e6c4357f5b1d35c619ceeb92f6718db9741740b37736f586cd", + "packedsize": 60639, + "unpackedhash": "1bf99b8a3e47e427a5343acde9e4e82538737a40aad64b970a3653b0533774d9", + "unpackedsize": 141712 }, { - "url": "conf/gpublacklist.json.lzma", - "localfile": "conf/gpublacklist.json", - "packedhash": "9624ca7717ae6f615ffe644063dfff11e25768db596a6abf142517e6ae6ad773", - "packedsize": 1231, - "unpackedhash": "68c9dc3e8add86fe087418ab5910b10f25bce718f3961218968e5cb413089a09", - "unpackedsize": 6299 + "url": "bin/tls/qcertonlybackend.dll.lzma", + "localfile": "bin/tls/qcertonlybackend.dll", + "packedhash": "c6da43b2eac6b8b60028e3d429c734ce553b1a126568b103023f174b98c41206", + "packedsize": 41466, + "unpackedhash": "32eed6a3a7319a63c9929a211c21fdb149aeb5fe85e5f07444bed192deed72bd", + "unpackedsize": 101776 }, { - "url": "3rdpartylicences/qt.txt.lzma", - "localfile": "3rdpartylicences/qt.txt", - "packedhash": "e422865c17082e2345b61879fff16054d75769d591672284c82957f91647170d", - "packedsize": 12381, - "unpackedhash": "0abced08bdf50cc10c373e1f5cf59907d6c9743ba01dd4cce52a01f29e41d7cf", - "unpackedsize": 40513 + "url": "bin/tls/qschannelbackend.dll.lzma", + "localfile": "bin/tls/qschannelbackend.dll", + "packedhash": "22d467c11ff872949bc820c6873e4f9b479bfbcddf47103e6d9ddf8e1d42c44c", + "packedsize": 84906, + "unpackedhash": "2ce6db424d6a3270598b1e741c24ed7ad8861eb329b167c4a72373258f1b1791", + "unpackedsize": 232856 }, { - "url": "3rdpartylicences/google-protobuf.txt.lzma", - "localfile": "3rdpartylicences/google-protobuf.txt", - "packedhash": "667262d17d753f3f3bcb7601275a6c017d8e450f803acd366453f1b8ae358079", - "packedsize": 1177, - "unpackedhash": "7d9604162d51e8acdafe73ecf75acc1c752b47abd026d8b0b3a4cb2d2f1919b1", - "unpackedsize": 2247 + "url": "bin/QtQuick/LegacyControls/qmldir.lzma", + "localfile": "bin/QtQuick/LegacyControls/qmldir", + "packedhash": "83e7b8c5a8940355c910af925d1df17fb14d14024c826349c2b91d3b599f9784", + "packedsize": 393, + "unpackedhash": "f1d13e52d75554f75a21f7113054212c3b8740b8baa60de7e80b8084914a3057", + "unpackedsize": 1023 }, { - "url": "3rdpartylicences/sfml-3rdparty.txt.lzma", - "localfile": "3rdpartylicences/sfml-3rdparty.txt", - "packedhash": "b955c30e1256e74eda800620be36707a8fbf64bbce001883e915b11dbdd33a05", - "packedsize": 8722, - "unpackedhash": "8b17b10465e7dce31c1007acb949c1e5a2979ebc5c339d065835a05b4855c6e6", - "unpackedsize": 30065 + "url": "bin/QtQuick/LegacyControls/Qt5LegacyControls.dll.lzma", + "localfile": "bin/QtQuick/LegacyControls/Qt5LegacyControls.dll", + "packedhash": "017a5f048df563d03224e9f0f3e81e78ddfd4ecb44294efd71353487297e578d", + "packedsize": 167597, + "unpackedhash": "a3054b2d667d2dafd33153acc97deff672e8490a65cccf9ee4a433f73b492d46", + "unpackedsize": 591760 }, { - "url": "3rdpartylicences/openssl.txt.lzma", - "localfile": "3rdpartylicences/openssl.txt", - "packedhash": "e6cc9ed10a7e1ce591ef52ffa6dcd0c9ef574aec155ee8560868c97c363f927e", - "packedsize": 2014, - "unpackedhash": "d9a19def0bf5a0f0ad0b7eed1998462f78873b54fc1b34782a6af96fc5522d09", - "unpackedsize": 5895 + "url": "bin/imageformats/qjpeg.dll.lzma", + "localfile": "bin/imageformats/qjpeg.dll", + "packedhash": "6bd845ef4b54c0f5cd2cf217e919a49d85ef3a3357be188d805c04d4870ecb52", + "packedsize": 143255, + "unpackedhash": "51d1c70a5f4b65dba8cee5c89ad09f846d599bb6e59f59322ec957a69b22511e", + "unpackedsize": 563600 }, { - "url": "3rdpartylicences/qt-3rdparty.txt.lzma", - "localfile": "3rdpartylicences/qt-3rdparty.txt", - "packedhash": "10ca38fce5d152121ca474c7414c50a85eb955c6dc2632e2717952ecb5bbb3b3", - "packedsize": 14858, - "unpackedhash": "529e6be52de4163b001767aa027d243ea502190a6047347dcb27bf5dedde8246", - "unpackedsize": 86670 + "url": "bin/imageformats/qgif.dll.lzma", + "localfile": "bin/imageformats/qgif.dll", + "packedhash": "f6bfecda2e47259a9e4c1115516a08fa80f1dec333adec4be3fb9608d2317be9", + "packedsize": 23227, + "unpackedhash": "cb44f9a752089d2221bd5931b64efdf1f79e946946d504e71c7f78eabf20aa3d", + "unpackedsize": 47000 }, { - "url": "3rdpartylicences/apache-v2.txt.lzma", - "localfile": "3rdpartylicences/apache-v2.txt", - "packedhash": "7a876ad6425ef61e6a3ce2463ca8781f3b9361b2716fd792981d13eb5966d871", - "packedsize": 3270, - "unpackedhash": "f1db14746c8b94513787e07010d22dee5e370850cdd14bce705c273ff65786dd", - "unpackedsize": 9196 + "url": "bin/generic/qtuiotouchplugin.dll.lzma", + "localfile": "bin/generic/qtuiotouchplugin.dll", + "packedhash": "345907156b25877d2f9bd88440e49343669b4a3d572b074a2b826666fb829548", + "packedsize": 40914, + "unpackedhash": "12763890d20fe8abd467fe4879d59f1e70f124ed6538d8dc0bda577108e43155", + "unpackedsize": 100240 }, { - "url": "3rdpartylicences/battleye-eula.txt.lzma", - "localfile": "3rdpartylicences/battleye-eula.txt", - "packedhash": "0875c31438d943b92e550dde3f9d270a28847e95ee523725da4642acb8f3a95c", - "packedsize": 1287, - "unpackedhash": "b9c8d8826c3292043d51ec63163b5ee7b577f78fa52dddd99843534b2a737a6a", - "unpackedsize": 2807 + "url": "bin/translations/qtwebengine_locales/en-US.pak.lzma", + "localfile": "bin/translations/qtwebengine_locales/en-US.pak", + "packedhash": "cefb53f7c125645f22a207ea5021fcc04fab8d6abcaa933bb9fdd773c9189c39", + "packedsize": 92443, + "unpackedhash": "6afc79ef72e64c100cd2264489420f9f8bbfa6cc41511e578e08a2bab2dbcbc1", + "unpackedsize": 365415 }, { - "url": "3rdpartylicences/easyloggingpp.txt.lzma", - "localfile": "3rdpartylicences/easyloggingpp.txt", - "packedhash": "a9deb7041b02a04de3023f58bac1c75d8427a57eb9e45c4927a03207fe32b2ed", - "packedsize": 788, - "unpackedhash": "1739fb768b5bc5ce71440dd3ee42b18dcd583ddab1d9503690e41a6f6a1833f4", - "unpackedsize": 1249 + "url": "bin/networkinformation/qnetworklistmanager.dll.lzma", + "localfile": "bin/networkinformation/qnetworklistmanager.dll", + "packedhash": "7cdba1b2a12fd310f772ff63965d6a01d89188704b7cb0dbd9b77463b0c6ef5f", + "packedsize": 30252, + "unpackedhash": "17c257f41081d2cf50600d58f1383710c12c61d08e1f72a5666350c40df9f282", + "unpackedsize": 70544 + }, + { + "url": "conf/gpublacklist.json.lzma", + "localfile": "conf/gpublacklist.json", + "packedhash": "cd0675b370da5053baa8dc1493687afe8b15afa2c740fd1e67712529de897ebb", + "packedsize": 1216, + "unpackedhash": "057cc6d78c8893aa26e3aa734e6585671206b78c9cf0f96c03a2f33bd89ef48d", + "unpackedsize": 6242 } ], "executable": "bin/client_launcher.exe", diff --git a/package.json.version b/package.json.version deleted file mode 100644 index 412c191ce..000000000 --- a/package.json.version +++ /dev/null @@ -1 +0,0 @@ -13.40.93b0a1 \ No newline at end of file diff --git a/partial.package.json.version b/partial.package.json.version new file mode 100644 index 000000000..175d48577 --- /dev/null +++ b/partial.package.json.version @@ -0,0 +1 @@ +14.05.70ce66 \ No newline at end of file diff --git a/sounds/catalog-sound.json b/sounds/catalog-sound.json index c67316712..9720db88c 100644 --- a/sounds/catalog-sound.json +++ b/sounds/catalog-sound.json @@ -1,6 +1,6 @@ [ { - "file":"sounds-d82246d151dda3468bcde6e17913517113ddd56627b0c18bd679a23da4f6aa05.dat", + "file":"sounds-d1c2da752792ade1bd8c3d7f0897f1a24e81296495205e94e0017fdfc951d1db.dat", "type":"sounds" } ] \ No newline at end of file diff --git a/sounds/sounds-d1c2da752792ade1bd8c3d7f0897f1a24e81296495205e94e0017fdfc951d1db.dat b/sounds/sounds-d1c2da752792ade1bd8c3d7f0897f1a24e81296495205e94e0017fdfc951d1db.dat new file mode 100644 index 000000000..ae32d4d57 Binary files /dev/null and b/sounds/sounds-d1c2da752792ade1bd8c3d7f0897f1a24e81296495205e94e0017fdfc951d1db.dat differ diff --git a/sounds/sounds-d82246d151dda3468bcde6e17913517113ddd56627b0c18bd679a23da4f6aa05.dat b/sounds/sounds-d82246d151dda3468bcde6e17913517113ddd56627b0c18bd679a23da4f6aa05.dat deleted file mode 100644 index 4367cedc8..000000000 Binary files a/sounds/sounds-d82246d151dda3468bcde6e17913517113ddd56627b0c18bd679a23da4f6aa05.dat and /dev/null differ diff --git a/storeimages/data8/0/g7599z0p.d b/storeimages/data8/0/g7599z0p.d deleted file mode 100644 index 7ab407b50..000000000 Binary files a/storeimages/data8/0/g7599z0p.d and /dev/null differ diff --git a/storeimages/data8/1/1kex9x91.d b/storeimages/data8/1/1kex9x91.d index 21ac9ff8b..59513e7a8 100644 Binary files a/storeimages/data8/1/1kex9x91.d and b/storeimages/data8/1/1kex9x91.d differ diff --git a/storeimages/data8/1/27a8hkna.d b/storeimages/data8/1/27a8hkna.d deleted file mode 100644 index c984e8fc5..000000000 Binary files a/storeimages/data8/1/27a8hkna.d and /dev/null differ diff --git a/storeimages/data8/1/2suf3l2q.d b/storeimages/data8/1/2suf3l2q.d deleted file mode 100644 index 771b50681..000000000 Binary files a/storeimages/data8/1/2suf3l2q.d and /dev/null differ diff --git a/storeimages/data8/1/hyo4jsya.d b/storeimages/data8/1/hyo4jsya.d index 2e1d03260..12f89f0a3 100644 Binary files a/storeimages/data8/1/hyo4jsya.d and b/storeimages/data8/1/hyo4jsya.d differ diff --git a/storeimages/data8/1/pvbzfy61.d b/storeimages/data8/1/pvbzfy61.d index 841953f2c..3e2283153 100644 Binary files a/storeimages/data8/1/pvbzfy61.d and b/storeimages/data8/1/pvbzfy61.d differ diff --git a/storeimages/data8/3/qxcocxps.d b/storeimages/data8/3/qxcocxps.d deleted file mode 100644 index 0194b1ae5..000000000 Binary files a/storeimages/data8/3/qxcocxps.d and /dev/null differ diff --git a/storeimages/data8/4/3gsebhy4.d b/storeimages/data8/4/3gsebhy4.d deleted file mode 100644 index bf62861a3..000000000 Binary files a/storeimages/data8/4/3gsebhy4.d and /dev/null differ diff --git a/storeimages/data8/4/m9ibq154.d b/storeimages/data8/4/m9ibq154.d index 22004c2b9..252565063 100644 Binary files a/storeimages/data8/4/m9ibq154.d and b/storeimages/data8/4/m9ibq154.d differ diff --git a/storeimages/data8/5/29tvhhle.d b/storeimages/data8/5/29tvhhle.d deleted file mode 100644 index 970e37853..000000000 Binary files a/storeimages/data8/5/29tvhhle.d and /dev/null differ diff --git a/storeimages/data8/5/bx5r1dwe.d b/storeimages/data8/5/bx5r1dwe.d deleted file mode 100644 index 0418a571e..000000000 Binary files a/storeimages/data8/5/bx5r1dwe.d and /dev/null differ diff --git a/storeimages/data8/6/1bf02636.d b/storeimages/data8/6/1bf02636.d deleted file mode 100644 index 93d74c690..000000000 Binary files a/storeimages/data8/6/1bf02636.d and /dev/null differ diff --git a/storeimages/data8/6/1nzpjwtf.d b/storeimages/data8/6/1nzpjwtf.d deleted file mode 100644 index 666727114..000000000 Binary files a/storeimages/data8/6/1nzpjwtf.d and /dev/null differ diff --git a/storeimages/data8/6/1yrm2ms6.d b/storeimages/data8/6/1yrm2ms6.d deleted file mode 100644 index 84bdf1213..000000000 Binary files a/storeimages/data8/6/1yrm2ms6.d and /dev/null differ diff --git a/storeimages/data8/6/2vy6uzw6.d b/storeimages/data8/6/2vy6uzw6.d deleted file mode 100644 index a0b45f559..000000000 Binary files a/storeimages/data8/6/2vy6uzw6.d and /dev/null differ diff --git a/storeimages/data8/6/341dernv.d b/storeimages/data8/6/341dernv.d deleted file mode 100644 index 836e2d932..000000000 Binary files a/storeimages/data8/6/341dernv.d and /dev/null differ diff --git a/storeimages/data8/7/-1mbijjg.d b/storeimages/data8/7/-1mbijjg.d new file mode 100644 index 000000000..009739b46 Binary files /dev/null and b/storeimages/data8/7/-1mbijjg.d differ diff --git a/storeimages/data8/7/2j59gdgw.d b/storeimages/data8/7/2j59gdgw.d deleted file mode 100644 index f098ff235..000000000 Binary files a/storeimages/data8/7/2j59gdgw.d and /dev/null differ diff --git a/storeimages/data8/7/2s6i08bw.d b/storeimages/data8/7/2s6i08bw.d deleted file mode 100644 index 048073bf3..000000000 Binary files a/storeimages/data8/7/2s6i08bw.d and /dev/null differ diff --git a/storeimages/data8/7/3r9higw7.d b/storeimages/data8/7/3r9higw7.d deleted file mode 100644 index 1620a0c4e..000000000 Binary files a/storeimages/data8/7/3r9higw7.d and /dev/null differ diff --git a/storeimages/data8/7/77twhtcw.d b/storeimages/data8/7/77twhtcw.d index 2845d772c..1737ac50b 100644 Binary files a/storeimages/data8/7/77twhtcw.d and b/storeimages/data8/7/77twhtcw.d differ diff --git a/storeimages/data8/7/qndjnf97.d b/storeimages/data8/7/qndjnf97.d index a2794d06c..9ab5b91cd 100644 Binary files a/storeimages/data8/7/qndjnf97.d and b/storeimages/data8/7/qndjnf97.d differ diff --git a/storeimages/data8/8/1swweajh.d b/storeimages/data8/8/1swweajh.d deleted file mode 100644 index 8c41a37e0..000000000 Binary files a/storeimages/data8/8/1swweajh.d and /dev/null differ diff --git a/storeimages/data8/9/992lwpb9.d b/storeimages/data8/9/992lwpb9.d deleted file mode 100644 index f485a0dd0..000000000 Binary files a/storeimages/data8/9/992lwpb9.d and /dev/null differ diff --git a/storeimages/data8/b/1o4b13tk.d b/storeimages/data8/b/1o4b13tk.d index fceb16662..7478c4414 100644 Binary files a/storeimages/data8/b/1o4b13tk.d and b/storeimages/data8/b/1o4b13tk.d differ diff --git a/storeimages/data8/b/htojscpk.d b/storeimages/data8/b/htojscpk.d index bebbd8f73..7b9584783 100644 Binary files a/storeimages/data8/b/htojscpk.d and b/storeimages/data8/b/htojscpk.d differ diff --git a/storeimages/data8/c/-1d04knl.d b/storeimages/data8/c/-1d04knl.d new file mode 100644 index 000000000..eb7f43941 Binary files /dev/null and b/storeimages/data8/c/-1d04knl.d differ diff --git a/storeimages/data8/f/3279s4yo.d b/storeimages/data8/f/3279s4yo.d deleted file mode 100644 index f884c3ad2..000000000 Binary files a/storeimages/data8/f/3279s4yo.d and /dev/null differ diff --git a/storeimages/data8/f/z5axh1qo.d b/storeimages/data8/f/z5axh1qo.d index a5dacebcb..8cb8283bb 100644 Binary files a/storeimages/data8/f/z5axh1qo.d and b/storeimages/data8/f/z5axh1qo.d differ