From 1bf8427bcf75f50d4882b613342a65d704d77633 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:47:35 -0400 Subject: [PATCH 01/17] change to gplv3 --- .DS_Store | Bin 12292 -> 14340 bytes LICENSE | 682 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 661 insertions(+), 21 deletions(-) diff --git a/.DS_Store b/.DS_Store index 401ecda594bf0653e7a2b81c6d13a08ea86bc95a..2054762342bbf8e414e25b0a2a0dcdf15598800f 100644 GIT binary patch delta 606 zcmah{JxfAS7=ErA1{q0UU{YPP1kt+JB`hfDi;6;ssId>rO1OGOuaQeZNDwW_`2h{B zLCD>LrW#xN3$-=W+z|B~ji{E+;r;%8&#A0e@+tsjqO=tUbh6C^NxdGTV?gy(Rn0d- z!AT`xAdTYQQXyxU)rXMKW3DEJMwc+d0TEUGwY!oM4u?*>9 zva3c!j=nNV@5B~^%4Cx??eL~)(pa$GUjKjXC1rb}5FB$cq+3oDIrurj@9A*`I99)( z;68Za66c|mxapn!+UBU+-^5HjdJEC?&u>wCcy)@l*rLbL_%sRWCX85B9QAeCmC&=} E6YvL$`Tzg` delta 261 zcmZoEXh~3DU|?W$DortDV9)?EIe-{M3-ADmHUH|`ALXB6N3R&WcGGCPA0gC~PCgDZm{LokCYOb^Ip z1_q{dpq+f1&xmL;Pi`03y?MPv4Ex3hFBlo+Ci5s9p3JJaZ1QO(>&b4){JcMaD*69I z!R938#ViviNN@HPs9==K1De9X3dBI5!3`u_k)6Hq;(O-F{3d}sK<9xx#Q>xYCg+$; P+&o#Wh!JK8Q(ig%qt8IR diff --git a/LICENSE b/LICENSE index fc27334..0ad25db 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,661 @@ -MIT License - -Copyright (c) 2024 leminlimez - -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. + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. From 0f234a803c56a496e7b600d42a969fdba91eb0b2 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:51:38 -0400 Subject: [PATCH 02/17] update exploit code to allow for same dir --- Sparserestore/restore.py | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/Sparserestore/restore.py b/Sparserestore/restore.py index 95f89a1..a5cb225 100644 --- a/Sparserestore/restore.py +++ b/Sparserestore/restore.py @@ -17,8 +17,9 @@ def restore_files(files: list, reboot: bool = False, lockdown_client: LockdownCl backup.Directory("Library", "RootDomain"), backup.Directory("Library/Preferences", "RootDomain"), ] + sorted_files = sorted(files) # create the links - for file_num in range(len(files)): + for file_num in range(len(sorted_files)): files_list.append(backup.ConcreteFile( f"Library/Preferences/temp{file_num}", "RootDomain", @@ -28,7 +29,8 @@ def restore_files(files: list, reboot: bool = False, lockdown_client: LockdownCl inode=file_num )) # add the file paths - for file_num in range(len(files)): + last_domain = "" + for file_num in range(len(sorted_files)): file = files[file_num] base_path = "/var/backup" # set it to work in the separate volumes (prevents a bootloop) @@ -39,22 +41,26 @@ def restore_files(files: list, reboot: bool = False, lockdown_client: LockdownCl base_path = "/private/var/mobile/backup" elif file.restore_path.startswith("/private/var/"): base_path = "/private/var/backup" - files_list.append(backup.Directory( - "", - f"SysContainerDomain-../../../../../../../..{base_path}{file.restore_path}", - owner=file.owner, - group=file.group - )) + # don't append the directory if it has already been added (restore will fail) + domain_path = f"SysContainerDomain-../../../../../../../..{base_path}{file.restore_path}" + if last_domain != domain_path: + files_list.append(backup.Directory( + "", + domain_path, + owner=file.owner, + group=file.group + )) + last_domain = domain_path files_list.append(backup.ConcreteFile( "", - f"SysContainerDomain-../../../../../../../..{base_path}{file.restore_path}{file.restore_name}", + f"{domain_path}{file.restore_name}", owner=file.owner, group=file.group, contents=b"", inode=file_num )) # break the hard links - for file_num in range(len(files)): + for file_num in range(len(sorted_files)): files_list.append(backup.ConcreteFile( "", f"SysContainerDomain-../../../../../../../../var/.backup.i/var/root/Library/Preferences/temp{file_num}", From 453dd6101e50ab189ffdce6ce44baea9eb338f0f Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:42:00 -0400 Subject: [PATCH 03/17] springboard tweaks/internal options for cli --- .DS_Store | Bin 14340 -> 14340 bytes tweaks/basic_plist_locations.py | 17 +++++ tweaks/tweak_classes.py | 24 +++++++ tweaks/tweaks.py | 122 ++++++++++++++++++++++++++++++-- 4 files changed, 158 insertions(+), 5 deletions(-) create mode 100644 tweaks/basic_plist_locations.py diff --git a/.DS_Store b/.DS_Store index 2054762342bbf8e414e25b0a2a0dcdf15598800f..6ec3dc04de437d7cce44a1fe5aa63d9b487a9089 100644 GIT binary patch delta 61 zcmV-D0K)%-aD;HMp%f1X089W$07C#p08Ri?07aA05fih^6hI4+;0Ut|Ao>TBpAcG; Tz$ZnstQcPhk$?oV2Qd8yO?4Ds delta 59 zcmZoEXerpRP(+-Y!H2<cRxe`qP diff --git a/tweaks/basic_plist_locations.py b/tweaks/basic_plist_locations.py new file mode 100644 index 0000000..2bc9ad5 --- /dev/null +++ b/tweaks/basic_plist_locations.py @@ -0,0 +1,17 @@ +from enum import Enum + +class FileLocation(Enum): + # Springboard Options + springboard = "/var/Managed Preferences/mobile/com.apple.springboard.plist" + footnote = "/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/SharedDeviceConfiguration.plist" + uikit = "/var/Managed Preferences/mobile/com.apple.UIKit.plist" + wifiDebug = "/var/Managed Preferences/mobile/com.apple.MobileWiFi.debug.plist" + airdrop = "/var/Managed Preferences/mobile/com.apple.sharingd.plist" + + # Internal Options + globalPreferences = "/var/Managed Preferences/mobile/.GlobalPreferences.plist" + appStore = "/var/Managed Preferences/mobile/com.apple.AppStore.plist" + backboardd = "/var/Managed Preferences/mobile/com.apple.backboardd.plist" + coreMotion = "/var/Managed Preferences/mobile/com.apple.CoreMotion.plist" + pasteboard = "/var/Managed Preferences/mobile/com.apple.Pasteboard.plist" + notes = "/var/Managed Preferences/mobile/com.apple.mobilenotes.plist" \ No newline at end of file diff --git a/tweaks/tweak_classes.py b/tweaks/tweak_classes.py index 35b731a..037f4f4 100644 --- a/tweaks/tweak_classes.py +++ b/tweaks/tweak_classes.py @@ -1,5 +1,6 @@ from enum import Enum from devicemanagement.constants import Version +from .basic_plist_locations import FileLocation class TweakModifyType(Enum): TOGGLE = 1 @@ -38,6 +39,29 @@ def is_compatible(self, device_ver: str): def apply_tweak(self): raise NotImplementedError + + +class BasicPlistTweak(Tweak): + def __init__( + self, label: str, + file_location: FileLocation, + key: str, + value: any = True, + edit_type: TweakModifyType = TweakModifyType.TOGGLE, + min_version: Version = Version("1.0"), + divider_below: bool = False + ): + super.__init__(label=label, key=key, subkey=None, value=value, edit_type=edit_type, min_version=min_version, divider_below=divider_below) + self.file_location = file_location + + def apply_tweak(self, other_tweaks: dict) -> dict: + if not self.enabled: + return other_tweaks + if self.file_location in other_tweaks: + other_tweaks[self.file_location][self.key] = self.value + else: + other_tweaks[self.file_location] = {self.key: self.value} + return other_tweaks class MobileGestaltTweak(Tweak): diff --git a/tweaks/tweaks.py b/tweaks/tweaks.py index 0b98cc3..2a79379 100644 --- a/tweaks/tweaks.py +++ b/tweaks/tweaks.py @@ -1,13 +1,13 @@ from devicemanagement.constants import Version -from .tweak_classes import MobileGestaltTweak, MobileGestaltMultiTweak, MobileGestaltPickerTweak, FeatureFlagTweak, TweakModifyType +from .tweak_classes import MobileGestaltTweak, MobileGestaltMultiTweak, MobileGestaltPickerTweak, FeatureFlagTweak, TweakModifyType, BasicPlistTweak from .eligibility_tweak import EligibilityTweak +from .basic_plist_locations import FileLocation tweaks = { + ## MobileGestalt Tweaks "DynamicIsland": MobileGestaltPickerTweak("Toggle Dynamic Island", "oPeik/9e8lQWMszEjbPzng", "ArtworkDeviceSubType", [2436, 2556, 2796, 2976, 2622, 2868]), "ModelName": MobileGestaltTweak("Set Device Model Name", "oPeik/9e8lQWMszEjbPzng", "ArtworkDeviceProductDescription", "", TweakModifyType.TEXT), - # MobileGestaltTweak("Fix Dynamic Island", "YlEtTtHlNesRBMal1CqRaA"), - # MobileGestaltTweak("Set Dynamic Island Location", "Zg7DduDoSCy6vY6mhy3n2w", value="{ x: 390.000000, y: 205.848432, width: 50.000000, height: 105.651573 }"), # not sure what value this is supposed to be but it removes the island currently "BootChime": MobileGestaltTweak("Toggle Boot Chime", "QHxt+hGLaBPbQJbXiUJX3w"), "ChargeLimit": MobileGestaltTweak("Toggle Charge Limit", "37NVydb//GP/GrhuTN+exg"), "CollisionSOS": MobileGestaltTweak("Toggle Collision SOS", "HCzWusHQwZDea6nNhaKndw"), @@ -25,7 +25,8 @@ "AOD": MobileGestaltMultiTweak("Always On Display", {"2OOJf1VhaM7NxfRok3HbWQ": 1, "j8/Omm6s1lsmTDFsXjsBfA": 1}, min_version=Version("18.0")), - "SleepApnea": MobileGestaltTweak("Toggle Sleep Apnea (real) [for apple watches]", "e0HV2blYUDBk/MsMEQACNA", min_version=Version("18.0"), divider_below=True), + + ## Feature Flag Tweaks "ClockAnim": FeatureFlagTweak("Toggle Lockscreen Clock Animation", flag_category='SpringBoard', flag_names=['SwiftUITimeAnimation'], min_version=Version("18.0")), @@ -33,5 +34,116 @@ flag_names=['AutobahnQuickSwitchTransition', 'SlipSwitch', 'PosterEditorKashida'], min_version=Version("18.0")), "PhotoUI": FeatureFlagTweak("Enable Old Photo UI", flag_category='Photos', flag_names=['Lemonade'], is_list=False, inverted=True, min_version=Version("18.0")), - "AI": FeatureFlagTweak("Enable Apple Intelligence", flag_category='SpringBoard', flag_names=['Domino', 'SuperDomino'], min_version=Version("18.1")) + "AI": FeatureFlagTweak("Enable Apple Intelligence", flag_category='SpringBoard', flag_names=['Domino', 'SuperDomino'], min_version=Version("18.1"), divider_below=True), + + ## Springboard Tweaks + "LockScreenFootnote": BasicPlistTweak( + "Lock Screen Footnote Text", + FileLocation.footnote, + key="LockScreenFootnote", value="", + edit_type=TweakModifyType.TEXT + ), + "SBDontLockAfterCrash": BasicPlistTweak( + "Disable Lock After Respring", + FileLocation.springboard, + "SBDontLockAfterCrash" + ), + "SBDontDimOrLockOnAC": BasicPlistTweak( + "Disable Screen Dimming While Charging", + FileLocation.springboard, + "SBDontDimOrLockOnAC" + ), + "SBHideLowPowerAlerts": BasicPlistTweak( + "Disable Low Battery Alerts", + FileLocation.springboard, + "SBHideLowPowerAlerts" + ), + "SBNeverBreadcrumb": BasicPlistTweak( + "Disable Breadcrumb", + FileLocation.springboard, + "SBNeverBreadcrumb" + ), + "SBShowSupervisionTextOnLockScreen": BasicPlistTweak( + "Show Supervision Text on Lock Screen", + FileLocation.springboard, + "SBShowSupervisionTextOnLockScreen" + ), + "AirplaySupport": BasicPlistTweak( + "Enable AirPlay support for Stage Manager", + FileLocation.springboard, + "SBExtendedDisplayOverrideSupportForAirPlayAndDontFileRadars", + divider_below=True + ), + + ## Internal Options + "SBBuildNumber": BasicPlistTweak( + "Show Build Version in Status Bar", + FileLocation.globalPreferences, + "UIStatusBarShowBuildVersion" + ), + "RTL": BasicPlistTweak( + "Force Right-to-Left Layout", + FileLocation.globalPreferences, + "NSForceRightToLeftWritingDirection" + ), + "MetalForceHudEnabled": BasicPlistTweak( + "Enable Metal HUD Debug", + FileLocation.globalPreferences, + "MetalForceHudEnabled" + ), + "AccessoryDeveloperEnabled": BasicPlistTweak( + "Enable Accessory Debugging", + FileLocation.globalPreferences, + "AccessoryDeveloperEnabled" + ), + "iMessageDiagnosticsEnabled": BasicPlistTweak( + "Enable iMessage Debugging", + FileLocation.globalPreferences, + "iMessageDiagnosticsEnabled" + ), + "IDSDiagnosticsEnabled": BasicPlistTweak( + "Enable Continuity Debugging", + FileLocation.globalPreferences, + "IDSDiagnosticsEnabled" + ), + "VCDiagnosticsEnabled": FileLocation( + "Enable FaceTime Debugging", + FileLocation.globalPreferences, + "VCDiagnosticsEnabled" + ), + "AppStoreDebug": FileLocation( + "Enable App Store Debug Gesture", + FileLocation.appStore, + "debugGestureEnabled" + ), + "NotesDebugMode": FileLocation( + "Enable Notes App Debug Mode", + FileLocation.notes, + "DebugModeEnabled" + ), + "BKDigitizerVisualizeTouches": FileLocation( + "Show Touches With Debug Info", + FileLocation.backboardd, + "BKDigitizerVisualizeTouches" + ), + "BKHideAppleLogoOnLaunch": FileLocation( + "Hide Respring Icon", + FileLocation.backboardd, + "BKHideAppleLogoOnLaunch" + ), + "EnableWakeGestureHaptic": FileLocation( + "Vibrate on Raise-to-Wake", + FileLocation.coreMotion, + "EnableWakeGestureHaptic" + ), + "PlaySoundOnPaste": FileLocation( + "Play Sound on Paste", + FileLocation.pasteboard, + "PlaySoundOnPaste" + ), + "AnnounceAllPastes": FileLocation( + "Show Notifications for System Pastes", + FileLocation.pasteboard, + "AnnounceAllPastes" + ) } \ No newline at end of file From 8362fc6b4abb9d2831232bea0edb5d4e17af1a87 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Thu, 26 Sep 2024 13:05:52 -0400 Subject: [PATCH 04/17] fix applying for cli & gui --- .DS_Store | Bin 14340 -> 10244 bytes Sparserestore/restore.py | 10 ++++++++++ cli_app.py | 29 +++++++++++++++++++++-------- devicemanagement/device_manager.py | 10 +++++++++- qt/mainwindow.ui | 2 +- qt/mainwindow_ui.py | 2 +- tweaks/tweaks.py | 2 +- 7 files changed, 43 insertions(+), 12 deletions(-) diff --git a/.DS_Store b/.DS_Store index 6ec3dc04de437d7cce44a1fe5aa63d9b487a9089..52e1fc4e049f20404f2f3faf36faed8adefd8f17 100644 GIT binary patch delta 152 zcmZoEXbF&DU|?W$DortDU{C-uIe-{M3-C-V6q~3gIoZI3MH0woFau&npg4nPPJVJy zPJR+d(Z-8r>=Pg4Zf56T;b1h|%%kv=ec}Y^&AbA;88w&zlkm*!(J`LTwMy zL*t$7*+0M|*`pr3nDpSkV7z;&*B*?{F8x8A$B%@tsP|Flwwt^Lwt;wNp4N8Pv5Zs{*@!lg|D2t`pMBt7qWG5D-WYftUe;p$*0v z4W*Y$r(_To;2}JNP1uGP`_PAv@CiP{5&VE-_=7Sg@ER`QZM=^;e1ZjB#i#fj*M{vr zcQ)KLH%w<;w>Z int: '---' \\ \\ / \\ \\ / `----' `--`-' `--`-' """) - print("CLI v2.2") + print("CLI v3.0") print("by LeminLimez") print("Thanks @disfordottie for the clock animation and @lrdsnow for EU Enabler\n") print("Please back up your device before using!") @@ -102,6 +102,7 @@ def get_apply_number(num: int) -> int: # create the other plists flag_plist: dict = {} eligibility_files = None + basic_plists: dict = {} # verify the device credentials before continuing if gestalt_plist["CacheExtra"]["qNNddlUK+B/YlooNoymwgA"] != device.version or gestalt_plist["CacheExtra"]["0+nc/Udy4WNG8S+Q7a/s1A"] != device.model: @@ -120,8 +121,11 @@ def get_apply_number(num: int) -> int: elif isinstance(tweak, EligibilityTweak): tweak.set_region_code(device.locale[-2:]) eligibility_files = tweak.apply_tweak() + elif isinstance(tweak, BasicPlistTweak): + basic_plists = tweak.apply_tweak(basic_plists) else: gestalt_plist = tweak.apply_tweak(gestalt_plist) + # TODO: Improve resetting (make it work with basic plist tweaks) # create the restore file list files_to_restore = [ @@ -138,6 +142,11 @@ def get_apply_number(num: int) -> int: ] if eligibility_files != None: files_to_restore += eligibility_files + for location, plist in basic_plists: + files_to_restore.append(FileToRestore( + contents=plistlib.dumps(plist), + restore_path=location.value + )) # restore to the device try: restore_files(files=files_to_restore, reboot=True, lockdown_client=device.ld) @@ -169,14 +178,18 @@ def get_apply_number(num: int) -> int: if page > 0 and page <= num_tweaks and tweak.is_compatible(device.version): if tweak.edit_type == TweakModifyType.TEXT: # text input - # for now it is just for set model, deal with a fix later - print("\n\nSet Model Name") - print("Leave blank to turn off custom name.\n") - name = input("Enter Model Name: ") - if name == "": + inp_txt = "" + print(f"\n\n{tweak.label}") + print("Leave blank to turn off.\n") + if tweak.label == "Set Device Model Name": + inp_txt = "Enter Model Name: " + elif tweak.label == "Set Lock Screen Footnote Text": + inp_txt = "Enter Footnote: " + new_txt = input(inp_txt) + if new_txt == "": tweak.set_enabled(False) else: - tweak.set_value(name) + tweak.set_value(new_txt) elif tweak.edit_type == TweakModifyType.PICKER: # pick between values print("\n\nSelect a value.") diff --git a/devicemanagement/device_manager.py b/devicemanagement/device_manager.py index e7afdc5..48f2fb6 100644 --- a/devicemanagement/device_manager.py +++ b/devicemanagement/device_manager.py @@ -10,7 +10,7 @@ from devicemanagement.constants import Device, Version from devicemanagement.data_singleton import DataSingleton -from tweaks.tweaks import tweaks, FeatureFlagTweak, EligibilityTweak +from tweaks.tweaks import tweaks, FeatureFlagTweak, EligibilityTweak, BasicPlistTweak from Sparserestore.restore import restore_files, FileToRestore def show_error_msg(txt: str): @@ -105,6 +105,7 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): # create the other plists flag_plist: dict = {} eligibility_files = None + basic_plists: dict = {} # set the plist keys if not resetting: @@ -114,6 +115,8 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): flag_plist = tweak.apply_tweak(flag_plist) elif isinstance(tweak, EligibilityTweak): eligibility_files = tweak.apply_tweak() + elif isinstance(tweak, BasicPlistTweak): + basic_plists = tweak.apply_tweak(basic_plists) else: if gestalt_plist != None: gestalt_plist = tweak.apply_tweak(gestalt_plist) @@ -136,6 +139,11 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): )) if eligibility_files: files_to_restore += eligibility_files + for location, plist in basic_plists: + files_to_restore.append(FileToRestore( + contents=plistlib.dumps(plist), + restore_path=location.value + )) # restore to the device update_label("Restoring to device...") diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index 926c131..fe80b26 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -1518,7 +1518,7 @@ QToolButton:pressed { - Nugget GUI - Version 2.2 + Nugget GUI - Version 3.0 (beta 1) Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index 7daedfe..5950dd8 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -2151,7 +2151,7 @@ def retranslateUi(self, Nugget): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 2.2", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 1)", None)) self.exploreLbl.setText(QCoreApplication.translate("Nugget", u"Explore", None)) self.exploreSubLbl.setText("") self.statusBarLbl_2.setText(QCoreApplication.translate("Nugget", u"Location Simulation", None)) diff --git a/tweaks/tweaks.py b/tweaks/tweaks.py index bda01f2..549afd5 100644 --- a/tweaks/tweaks.py +++ b/tweaks/tweaks.py @@ -39,7 +39,7 @@ ## Springboard Tweaks "LockScreenFootnote": BasicPlistTweak( - "Lock Screen Footnote Text", + "Set Lock Screen Footnote Text", FileLocation.footnote, key="LockScreenFootnote", value="", edit_type=TweakModifyType.TEXT From f4d34c1eee22a515997b7613a771612dbb2d6024 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Fri, 27 Sep 2024 18:43:41 -0400 Subject: [PATCH 05/17] springboard + internal options for gui --- .DS_Store | Bin 10244 -> 14340 bytes README.md | 2 + gui/main_window.py | 112 +- qt/mainwindow.ui | 3519 +++++++++++++++++++++++++------------------ qt/mainwindow_ui.py | 2240 +++++++++++++++------------ qt/ui_mainwindow.py | 2254 +++++++++++++++------------ 6 files changed, 4801 insertions(+), 3326 deletions(-) diff --git a/.DS_Store b/.DS_Store index 52e1fc4e049f20404f2f3faf36faed8adefd8f17..a9edf0fff977c288f9c18626531cf53d549a861f 100644 GIT binary patch delta 866 zcmZuw%}*0S6o1ohZ7UUqk5*b}AhZca0x5|m9xz~u9}OBRAeNxkb~~*bmYMDDwiQe) z2g1GClL!9*55_cmFwu(_6A%6i#=951nrQUxmXB(j=;2RH&C!&!t*>;AP1#VeaSYugpmW*|# z8|b?=O;?nAs1}M$UFKXefO&+5!6l~WKqr%B9zcYh}&7M6~| zg$|&Q=m2a5N`h-#a28A~WRH>on1X9?2i9Q=?(aeiUcxJQ51-%*9KtW+Cs8s%rpP67 zmCTb{Btw?SZE}~abmShVMVv9(amO>+M09eS*5~N!=?H8?0dJc_!<|dm9SxX)8b&j? zQUen+2BJDJ>&D>NW%^%5{z#$0&fmR7eqe7sw|VS^uf1nWBx;A~Prv=Pg4Zf56T;b1h|%%kv!ed1(^$-DwplT}rBPj(b+o4i0|-sV%HeXN4a yAX9*ba{~!ikOdnrerKM{Z=%b{FxiAhd2)gYJEsOn1<)3Q$vGwyH#4d-GXntBtRqtZ diff --git a/README.md b/README.md index 95185e3..0b8f152 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ Note: I am not responsible if your device bootloops. Please back up your data be - Enabling lock screen clock animation, lock screen page duplication button, and more! - Disabling the new iOS 18 Photos UI - EU Enabler +- Springboard Options (from Cowabunga Lite) +- Internal Options (from Cowabunga Lite) ## Running the Program Requirements: diff --git a/gui/main_window.py b/gui/main_window.py index 2429e33..7ae0cc6 100644 --- a/gui/main_window.py +++ b/gui/main_window.py @@ -16,15 +16,13 @@ class Page(Enum): Home = 0 - Explore = 1 - LocSim = 2 - CustomOperations = 5 - Themes = 3 - Gestalt = 4 - Settings = 6 - FeatureFlags = 7 - EUEnabler = 8 - Apply = 9 + Gestalt = 1 + FeatureFlags = 2 + EUEnabler = 3 + Springboard = 4 + InternalOptions = 5 + Apply = 6 + Settings = 7 class MainWindow(QtWidgets.QMainWindow): def __init__(self, device_manager: DeviceManager): @@ -46,6 +44,8 @@ def __init__(self, device_manager: DeviceManager): self.ui.gestaltPageBtn.clicked.connect(self.on_gestaltPageBtn_clicked) self.ui.featureFlagsPageBtn.clicked.connect(self.on_featureFlagsPageBtn_clicked) self.ui.euEnablerPageBtn.clicked.connect(self.on_euEnablerPageBtn_clicked) + self.ui.springboardOptionsPageBtn.clicked.connect(self.on_springboardOptionsPageBtn_clicked) + self.ui.internalOptionsPageBtn.clicked.connect(self.on_internalOptionsPageBtn_clicked) self.ui.applyPageBtn.clicked.connect(self.on_applyPageBtn_clicked) self.ui.settingsPageBtn.clicked.connect(self.on_settingsPageBtn_clicked) @@ -79,6 +79,31 @@ def __init__(self, device_manager: DeviceManager): self.ui.photosChk.toggled.connect(self.on_photosChk_clicked) self.ui.aiChk.toggled.connect(self.on_aiChk_clicked) + ## SPRINGBOARD OPTIONS PAGE ACTIONS + self.ui.footnoteTxt.textEdited.connect(self.on_footnoteTxt_textEdited) + self.ui.disableLockRespringChk.toggled.connect(self.on_disableLockRespringChk_clicked) + self.ui.disableDimmingChk.toggled.connect(self.on_disableDimmingChk_clicked) + self.ui.disableBatteryAlertsChk.toggled.connect(self.on_disableBatteryAlertsChk_clicked) + self.ui.disableCrumbChk.toggled.connect(self.on_disableCrumbChk_clicked) + self.ui.enableSupervisionTextChk.toggled.connect(self.on_enableSupervisionTextChk_clicked) + self.ui.enableAirPlayChk.toggled.connect(self.on_enableAirPlayChk_clicked) + + ## INTERNAL OPTIONS PAGE ACTIONS + self.ui.buildVersionChk.toggled.connect(self.on_buildVersionChk_clicked) + self.ui.RTLChk.toggled.connect(self.on_RTLChk_clicked) + self.ui.metalHUDChk.toggled.connect(self.on_metalHUDChk_clicked) + self.ui.accessoryChk.toggled.connect(self.on_accessoryChk_clicked) + self.ui.iMessageChk.toggled.connect(self.on_iMessageChk_clicked) + self.ui.IDSChk.toggled.connect(self.on_IDSChk_clicked) + self.ui.VCChk.toggled.connect(self.on_VCChk_clicked) + self.ui.appStoreChk.toggled.connect(self.on_appStoreChk_clicked) + self.ui.notesChk.toggled.connect(self.on_notesChk_clicked) + self.ui.showTouchesChk.toggled.connect(self.on_showTouchesChk_clicked) + self.ui.hideRespringChk.toggled.connect(self.on_hideRespringChk_clicked) + self.ui.enableWakeVibrateChk.toggled.connect(self.on_enableWakeVibrateChk_clicked) + self.ui.pasteSoundChk.toggled.connect(self.on_pasteSoundChk_clicked) + self.ui.notifyPastesChk.toggled.connect(self.on_notifyPastesChk_clicked) + ## APPLY PAGE ACTIONS self.ui.applyTweaksBtn.clicked.connect(self.on_applyPageBtn_clicked) self.ui.removeTweaksBtn.clicked.connect(self.on_removeTweaksBtn_clicked) @@ -131,13 +156,15 @@ def refresh_devices(self): # hide all pages self.ui.explorePageBtn.hide() - self.ui.customOperationsPageBtn.hide() self.ui.locSimPageBtn.hide() self.ui.sidebarDiv1.hide() + self.ui.gestaltPageBtn.hide() self.ui.featureFlagsPageBtn.hide() self.ui.euEnablerPageBtn.hide() + self.ui.springboardOptionsPageBtn.hide() self.ui.internalOptionsPageBtn.hide() + self.ui.sidebarDiv2.hide() self.ui.applyPageBtn.hide() else: @@ -148,17 +175,21 @@ def refresh_devices(self): # show all pages self.ui.explorePageBtn.hide() - self.ui.customOperationsPageBtn.hide() self.ui.locSimPageBtn.hide() self.ui.sidebarDiv1.show() self.ui.gestaltPageBtn.show() # self.ui.featureFlagsPageBtn.show() self.ui.euEnablerPageBtn.show() - self.ui.internalOptionsPageBtn.hide() + self.ui.springboardOptionsPageBtn.show() + self.ui.internalOptionsPageBtn.show() + self.ui.sidebarDiv2.show() self.ui.applyPageBtn.show() + self.ui.gestaltPageContent.setDisabled(False) self.ui.featureFlagsPageContent.setDisabled(False) + self.ui.springboardOptionsPageContent.setDisabled(False) + self.ui.internalOptionsPageContent.setDisabled(False) # update the selected device self.ui.devicePicker.setCurrentIndex(0) @@ -216,6 +247,12 @@ def on_featureFlagsPageBtn_clicked(self): def on_euEnablerPageBtn_clicked(self): self.ui.pages.setCurrentIndex(Page.EUEnabler.value) + def on_springboardOptionsPageBtn_clicked(self): + self.ui.pages.setCurrentIndex(Page.Springboard.value) + + def on_internalOptionsPageBtn_clicked(self): + self.ui.pages.setCurrentIndex(Page.InternalOptions.value) + def on_applyPageBtn_clicked(self): self.ui.pages.setCurrentIndex(Page.Apply.value) @@ -360,6 +397,57 @@ def on_methodChoiceDrp_activated(self, index: int): def on_regionCodeTxt_textEdited(self, text: str): tweaks["EUEnabler"].set_region_code(text) + + ## SPRINGBOARD OPTIONS PAGE + def on_footnoteTxt_textEdited(self, text: str): + tweaks["LockScreenFootnote"].set_value(text, toggle_enabled=True) + + def on_disableLockRespringChk_clicked(self, checked: bool): + tweaks["SBDontLockAfterCrash"].set_enabled(checked) + def on_disableBatteryAlertsChk_clicked(self, checked: bool): + tweaks["SBDontDimOrLockOnAC"].set_enabled(checked) + def on_disableDimmingChk_clicked(self, checked: bool): + tweaks["SBHideLowPowerAlerts"].set_enabled(checked) + def on_disableCrumbChk_clicked(self, checked: bool): + tweaks["SBNeverBreadcrumb"].set_enabled(checked) + def on_enableSupervisionTextChk_clicked(self, checked: bool): + tweaks["SBShowSupervisionTextOnLockScreen"].set_enabled(checked) + def on_enableAirPlayChk_clicked(self, checked: bool): + tweaks["AirplaySupport"].set_enabled(checked) + + + ## INTERNAL OPTIONS PAGE + def on_buildVersionChk_clicked(self, checked: bool): + tweaks["SBBuildNumber"].set_enabled(checked) + def on_RTLChk_clicked(self, checked: bool): + tweaks["RTL"].set_enabled(checked) + def on_metalHUDChk_clicked(self, checked: bool): + tweaks["MetalForceHudEnabled"].set_enabled(checked) + def on_accessoryChk_clicked(self, checked: bool): + tweaks["AccessoryDeveloperEnabled"].set_enabled(checked) + def on_iMessageChk_clicked(self, checked: bool): + tweaks["iMessageDiagnosticsEnabled"].set_enabled(checked) + def on_IDSChk_clicked(self, checked: bool): + tweaks["IDSDiagnosticsEnabled"].set_enabled(checked) + def on_VCChk_clicked(self, checked: bool): + tweaks["VCDiagnosticsEnabled"].set_enabled(checked) + + def on_appStoreChk_clicked(self, checked: bool): + tweaks["AppStoreDebug"].set_enabled(checked) + def on_notesChk_clicked(self, checked: bool): + tweaks["NotesDebugMode"].set_enabled(checked) + + def on_showTouchesChk_clicked(self, checked: bool): + tweaks["BKDigitizerVisualizeTouches"].set_enabled(checked) + def on_hideRespringChk_clicked(self, checked: bool): + tweaks["BKHideAppleLogoOnLaunch"].set_enabled(checked) + def on_enableWakeVibrateChk_clicked(self, checked: bool): + tweaks["EnableWakeGestureHaptic"].set_enabled(checked) + def on_pasteSoundChk_clicked(self, checked: bool): + tweaks["PlaySoundOnPaste"].set_enabled(checked) + def on_notifyPastesChk_clicked(self, checked: bool): + tweaks["AnnounceAllPastes"].set_enabled(checked) + ## SETTINGS PAGE def on_allowWifiApplyingChk_toggled(self, checked: bool): diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index fe80b26..3e8051d 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -512,7 +512,7 @@ QSlider::tick:horizontal { - + 0 @@ -520,11 +520,17 @@ QSlider::tick:horizontal { - Custom Operations + Mobile Gestalt - :/icon/pencil.svg:/icon/pencil.svg + :/icon/iphone-island.svg:/icon/iphone-island.svg + + + + 24 + 28 + true @@ -535,31 +541,34 @@ QSlider::tick:horizontal { Qt::ToolButtonTextBesideIcon + + Qt::NoArrow + sidebarBtn - + 0 0 + + + .AppleSystemUIFont + -1 + + - Mobile Gestalt + Feature Flags - :/icon/iphone-island.svg:/icon/iphone-island.svg - - - - 24 - 28 - + :/icon/flag.svg:/icon/flag.svg true @@ -570,34 +579,25 @@ QSlider::tick:horizontal { Qt::ToolButtonTextBesideIcon - - Qt::NoArrow - sidebarBtn - + 0 0 - - - .AppleSystemUIFont - -1 - - - Feature Flags + EU Enabler - :/icon/flag.svg:/icon/flag.svg + :/icon/geo-alt.svg:/icon/geo-alt.svg true @@ -614,7 +614,7 @@ QSlider::tick:horizontal { - + 0 @@ -622,11 +622,11 @@ QSlider::tick:horizontal { - EU Enabler + Springboard Options - :/icon/geo-alt.svg:/icon/geo-alt.svg + :/icon/app-indicator.svg:/icon/app-indicator.svg true @@ -1039,18 +1039,42 @@ QSlider::tick:horizontal { - - - Join the Discord - - - - :/icon/discord.svg:/icon/discord.svg + + + 0 - - Qt::ToolButtonTextBesideIcon + + 0 - + + + + Join the Discord + + + + :/icon/discord.svg:/icon/discord.svg + + + Qt::ToolButtonTextBesideIcon + + + + + + + Star on Github + + + + :/icon/star.svg:/icon/star.svg + + + Qt::ToolButtonTextBesideIcon + + + + @@ -1175,6 +1199,30 @@ QToolButton:pressed { + + + + QToolButton { + border-radius: 0px; + background: none; + border: 1px solid #3b3b3b; + border-left: none; +} + +QToolButton:pressed { + background-color: #535353; + color: #FFFFFF; +} + + + ... + + + + :/icon/github.svg:/icon/github.svg + + + @@ -1527,8 +1575,8 @@ QToolButton:pressed { - - + + 0 @@ -1542,8 +1590,8 @@ QToolButton:pressed { 0 - - + + 10 @@ -1554,7 +1602,7 @@ QToolButton:pressed { 0 - + false @@ -1569,13 +1617,19 @@ QToolButton:pressed { - :/icon/compass.svg:/icon/compass.svg + :/icon/iphone-island.svg:/icon/iphone-island.svg + + + + 30 + 30 + - - + + 6 @@ -1592,7 +1646,7 @@ QToolButton:pressed { 0 - + -1 @@ -1600,22 +1654,31 @@ QToolButton:pressed { - Explore + Mobile Gestalt - - - + + + Qt::Vertical - + + QSizePolicy::Fixed + + + + 20 + 16 + + + - + Qt::Horizontal @@ -1631,7 +1694,7 @@ QToolButton:pressed { - + QFrame { color: #414141; @@ -1646,298 +1709,385 @@ QToolButton:pressed { - - - - 0 - 0 - + + + QFrame::NoFrame - - - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 10 + + QFrame::Plain + + + 0 + + + Qt::ScrollBarAlwaysOff + + + + + 0 + 0 + 650 + 1200 + - - 0 + + + 650 + 1200 + - - 0 + + + 650 + 1200 + - - - - false - - - QToolButton { - icon-size: 24px; - background-color: transparent; - padding-left: 0px; - padding-right: 5px; - border-radius: 0px; -} - - - - :/icon/geo-alt.svg:/icon/geo-alt.svg - - - - - - - - 6 - - - 0 - - - 0 - - - 0 - - - 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + false - - - - - -1 - false - - - - Location Simulation - - - - - - - - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Start Location Simulation - - - - - - - - - - QFrame { - color: #414141; -} - - - QFrame::Plain - - - Qt::Horizontal - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Latitude - - - Qt::AlignCenter - - - - - - - Qt::AlignCenter - - - XXX.XXXXX - - - - - - - Longitude - - - Qt::AlignCenter - - - - - - - Qt::AlignCenter - - - XXX.XXXXX - - - - - - - - 0 - - - 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Device Subtype Preset - - 0 + + + + + + + 0 + 0 + - - 0 + + + 325 + 16777215 + - - - - Set Location - - - - - - - - - - - 0 + + QComboBox { + background-color: #3b3b3b; + border: none; + color: #e8e8e8; + font-size: 14px; + padding-left: 8px; + border-radius: 8px; +} + +QComboBox::drop-down { + image: url(:/icon/caret-down-fill.svg); + icon-size: 16px; + subcontrol-position: right center; + margin-right: 8px; +} + +QComboBox QAbstractItemView { + background-color: #3b3b3b; + outline: none; + margin-top: 1px; +} + +QComboBox QAbstractItemView::item { + background-color: #3b3b3b; + color: #e8e8e8; + padding-left: 8px; +} + +QComboBox QAbstractItemView::item:hover { + background-color: #535353; + color: #ffffff; +} - - 0 + + None - + 0 - - 0 + + 15 - - - Reset Location - - + + None + - - - - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - + + + 2436 (iPhone X Gestures for SE phones) + + + + + 2556 (iPhone 14 Pro Dynamic Island) + + + + + 2796 (iPhone 14 Pro Max Dynamic Island) + + + + + 2976 (iPhone 15 Pro Max Dynamic Island) + + + + + 2622 (iPhone 16 Pro Dynamic Island) + + + + + 2868 (iPhone 16 Pro Max Dynamic Island) + + + + + + + + Change Device Model Name + + + + + + + Model Name + + + + + + + Enable Boot Chime + + + + + + + Enable Charge Limit + + + + + + + Enable Tap to Wake (for iPhone SEs) + + + + + + + Enable iPhone 16 Settings + + + + + + + Disable Wallpaper Parallax + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Enable Stage Manager Supported (WARNING: risky on some devices, mainly phones) + + + + + + + Allow iPad Apps on iPhone + + + + + + + Disable Region Restrictions (ie. Shutter Sound) + + + + + + + Enable Find My Friends + + + + + + + Enable Apple Pencil Settings Tab + + + + + + + Enable Action Button Settings Tab + + + + + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Set as Apple Internal Install (ie Metal HUD in any app) + + + + + + + Enable Internal Storage (WARNING: risky for some devices, mainly iPads) + + + + + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Enable Collision SOS + + + + + + + Enable Sleep Apnea (real) [for Apple Watches] + + + + + + + Enable Always On Display + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + - - + + 0 @@ -1951,9 +2101,9 @@ QToolButton:pressed { 0 - - - + + + 10 @@ -1969,9 +2119,9 @@ QToolButton:pressed { 9 - + - true + false QToolButton { @@ -1984,19 +2134,13 @@ QToolButton:pressed { - :/icon/iphone-island.svg:/icon/iphone-island.svg - - - - 30 - 30 - + :/icon/flag.svg:/icon/flag.svg - - + + 6 @@ -2013,7 +2157,7 @@ QToolButton:pressed { 0 - + -1 @@ -2021,15 +2165,31 @@ QToolButton:pressed { - Mobile Gestalt Modifications + Feature Flags + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 20 + 16 + + + + - + Qt::Horizontal @@ -2041,66 +2201,11 @@ QToolButton:pressed { - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - false - - - QToolButton { - background: none; -} - - - Import Theme: - - - - - - - ... - - - - :/icon/folder.svg:/icon/folder.svg - - - - - - - ... - - - - :/icon/file-earmark-zip.svg:/icon/file-earmark-zip.svg - - - - - - - + QFrame { color: #414141; @@ -2115,11 +2220,11 @@ QToolButton:pressed { - + - false + true - + 0 @@ -2133,10 +2238,24 @@ QToolButton:pressed { 0 - + + + Enable Lockscreen Clock Animation + + - + + + Enable Duplicate Lockscreen Button and Lockscreen Quickswitch + + + + + + + false + QFrame { color: #414141; @@ -2151,17 +2270,21 @@ QToolButton:pressed { - + - Customize Individual Apps + Enable Old Photo UI - + + + Enable Apple Intelligence + + - + Qt::Vertical @@ -2173,70 +2296,13 @@ QToolButton:pressed { - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - Hide/Show All App Names - - - - - - - - 0 - 0 - - - - Toggle All "Border" - - - - - - - - 0 - 0 - - - - Toggle All "Add to Device" - - - - - - - - + + 0 @@ -2250,19 +2316,25 @@ QToolButton:pressed { 0 - - + + 10 0 + + 9 + 0 + + 9 + - + false @@ -2277,19 +2349,13 @@ QToolButton:pressed { - :/icon/iphone-island.svg:/icon/iphone-island.svg - - - - 30 - 30 - + :/icon/geo-alt.svg:/icon/geo-alt.svg - - + + 6 @@ -2306,7 +2372,7 @@ QToolButton:pressed { 0 - + -1 @@ -2314,31 +2380,22 @@ QToolButton:pressed { - Mobile Gestalt + EU Enabler - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 16 - + + + Enabled - + - + Qt::Horizontal @@ -2354,7 +2411,7 @@ QToolButton:pressed { - + QFrame { color: #414141; @@ -2369,94 +2426,40 @@ QToolButton:pressed { - - - QFrame::NoFrame - - - QFrame::Plain - - - 0 + + + false - - Qt::ScrollBarAlwaysOff - - - - - 0 - 0 - 650 - 1200 - + + + 0 - - - 650 - 1200 - + + 0 - - - 650 - 1200 - + + 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - false - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Device Subtype Preset - - - - - - - - 0 - 0 - - - - - 325 - 16777215 - - - - QComboBox { + + 0 + + + + + Method Type + + + + + + + + 150 + 16777215 + + + + QComboBox { background-color: #3b3b3b; border: none; color: #e8e8e8; @@ -2488,259 +2491,959 @@ QComboBox QAbstractItemView::item:hover { background-color: #535353; color: #ffffff; } - - - None - - - 0 - - - 15 - - - - None - - - - - 2436 (iPhone X Gestures for SE phones) - - - - - 2556 (iPhone 14 Pro Dynamic Island) - - - - - 2796 (iPhone 14 Pro Max Dynamic Island) - - - - - 2976 (iPhone 15 Pro Max Dynamic Island) - - - - - 2622 (iPhone 16 Pro Dynamic Island) - - - - - 2868 (iPhone 16 Pro Max Dynamic Island) - - - - - - - - Change Device Model Name - - - - - - - Model Name - - - - - - - Enable Boot Chime - - - - - - - Enable Charge Limit - - - - - - - Enable Tap to Wake (for iPhone SEs) - - - - - - - Enable iPhone 16 Settings - - - - - - - Disable Wallpaper Parallax - - - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - - - QFrame { - color: #414141; -} - - - QFrame::Plain - - - Qt::Horizontal - - - - - - - Enable Stage Manager Supported (WARNING: risky on some devices, mainly phones) - - - - - - - Allow iPad Apps on iPhone - - - - - - - Disable Region Restrictions (ie. Shutter Sound) - - - - - - - Enable Apple Pencil Settings Tab - - - - - - - Enable Action Button Settings Tab - - - - - - - QFrame { + + + + Method 1 + + + + + Method 2 + + + + + + + + Region Code (Should be 2 letters) + + + + + + + Region Code (Default: US) + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 10 + + + 0 + + + 9 + + + 0 + + + 9 + + + + + false + + + QToolButton { + icon-size: 24px; + background-color: transparent; + padding-left: 0px; + padding-right: 5px; + border-radius: 0px; +} + + + + :/icon/app-indicator.svg:/icon/app-indicator.svg + + + + + + + + 6 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + -1 + false + + + + Springboard Options + + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 20 + 16 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + false + + + + 650 + 16777215 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Lock Screen Footnote Text + + + + + + + Footnote Text + + + + + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Disable Lock After Respring + + + + + + + Disable Screen Dimming While Charging + + + + + + + Disable Low Battery Alerts + + + + + + + Disable Breadcrumbs + + + + + + + Show Supervision Text on Lock Screen + + + + + + + Enable AirPlay support for Stage Manager + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 10 + + + 0 + + + 9 + + + 0 + + + 9 + + + + + false + + + QToolButton { + icon-size: 24px; + background-color: transparent; + padding-left: 0px; + padding-right: 5px; + border-radius: 0px; +} + + + + :/icon/hdd.svg:/icon/hdd.svg + + + + + + + + 6 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + -1 + false + + + + Internal Options + + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 20 + 16 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + false + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Show Build Version in Status Bar + + + + + + + Force Right-to-Left Layout + + + + + + + false + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Enable Metal HUD Debug + + + + + + + Enable Accessory Developer + + + + + + + Enable iMessage Debugging + + + + + + + Enable Continuity Debugging + + + + + + + Enable FaceTime Debugging + + + + + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Enable App Store Debug Gesture + + + + + + + Enable Notes Debug Mode + + + + + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Show Touches With Debug Info + + + + + + + Hide Respring Icon + + + + + + + Vibrate on Raise-to-Wake + + + + + + + QFrame { color: #414141; } + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Play Sound on Paste + + + + + + + Show Notifications for System Pastes + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 10 + + + 0 + + + 0 + + + + + false + + + QToolButton { + icon-size: 24px; + background-color: transparent; + padding-left: 0px; + padding-right: 5px; + border-radius: 0px; +} + + + + :/icon/check-circle.svg:/icon/check-circle.svg + + + + + + + + 6 - - QFrame::Plain + + 0 - - Qt::Horizontal + + 0 - - - - - - Set as Apple Internal Install (ie Metal HUD in any app) + + 0 - - - - - - Enable Internal Storage (WARNING: risky for some devices, mainly iPads) + + 0 - - - - - - QFrame { + + + + + -1 + false + + + + Apply + + + + + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + QFrame { color: #414141; } - - - QFrame::Plain - - - Qt::Horizontal - - - - - - - Enable Collision SOS - - - - - - - Enable Sleep Apnea (real) [for Apple Watches] - - - - - - - Enable Always On Display - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Current gestalt file location: + + + Qt::AlignCenter + + + + + + + None + + + Qt::AlignCenter + + + + + + + 10 + + + 0 + + + + + Choose Gestalt File + + + + :/icon/folder.svg:/icon/folder.svg + + + Qt::ToolButtonTextBesideIcon + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Apply Changes + + + + :/icon/check-circle.svg:/icon/check-circle.svg + + + Qt::ToolButtonTextBesideIcon + + + + + + + + + + Ready! + + + Qt::AlignCenter + + + + + + + + 0 + 0 + + + + + 150 + 0 + + + + 0 + + + Qt::AlignCenter + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Remove All Tweaks + + + + + + + Reset Mobile Gestalt + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + - - + + 0 @@ -2754,8 +3457,8 @@ QComboBox QAbstractItemView::item:hover { 0 - - + + 10 @@ -2772,7 +3475,7 @@ QComboBox QAbstractItemView::item:hover { 9 - + false @@ -2787,19 +3490,13 @@ QComboBox QAbstractItemView::item:hover { - :/icon/pencil.svg:/icon/pencil.svg - - - - 25 - 25 - + :/icon/gear.svg:/icon/gear.svg - - + + 6 @@ -2816,7 +3513,7 @@ QComboBox QAbstractItemView::item:hover { 0 - + -1 @@ -2824,22 +3521,31 @@ QComboBox QAbstractItemView::item:hover { - Custom Operations + Nugget Settings - - - + + + Qt::Vertical - + + QSizePolicy::Fixed + + + + 20 + 16 + + + - + Qt::Horizontal @@ -2855,7 +3561,7 @@ QComboBox QAbstractItemView::item:hover { - + QFrame { color: #414141; @@ -2867,133 +3573,62 @@ QComboBox QAbstractItemView::item:hover { Qt::Horizontal - - - - - - true - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - -1 - - - 0 - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - true - - - Import .cowperation - - - - :/icon/import.svg:/icon/import.svg - - - - 20 - 20 - - - - Qt::ToolButtonTextBesideIcon - - - - - - - true - - - - 0 - 0 - - - - - 0 - 35 - - - - New Operation - - - - :/icon/plus.svg:/icon/plus.svg - - - - 16 - 16 - - - - false - - - true - - - Qt::ToolButtonTextBesideIcon - - - - - + + + + + + true + + + + 650 + 16777215 + + + + + 0 + + + 0 + + + 0 + + + 0 + - - - true + + + Allow Applying Over WiFi - - - 0 - 0 - + + true + + + + Qt::Vertical + + + + 20 + 40 + + + + - - + + 0 @@ -3007,25 +3642,19 @@ QComboBox QAbstractItemView::item:hover { 0 - - + + 10 0 - - 9 - 0 - - 9 - - + false @@ -3040,13 +3669,13 @@ QComboBox QAbstractItemView::item:hover { - :/icon/gear.svg:/icon/gear.svg + :/icon/geo-alt.svg:/icon/geo-alt.svg - - + + 6 @@ -3063,7 +3692,7 @@ QComboBox QAbstractItemView::item:hover { 0 - + -1 @@ -3071,31 +3700,22 @@ QComboBox QAbstractItemView::item:hover { - Nugget Settings + Location Simulation - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 16 - + + + - + - + Qt::Horizontal @@ -3107,78 +3727,187 @@ QComboBox QAbstractItemView::item:hover { + + + + Start Location Simulation + + + + + + + + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Latitude + + + Qt::AlignCenter + + + + + + + Qt::AlignCenter + + + XXX.XXXXX + + + + + + + Longitude + + + Qt::AlignCenter + + + + + + + Qt::AlignCenter + + + XXX.XXXXX + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Set Location + + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Reset Location + + + + + + + + + - - - QFrame { - color: #414141; -} - - - QFrame::Plain - + - Qt::Horizontal - - - - - - - true + Qt::Vertical - + - 650 - 16777215 + 20 + 40 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Allow Applying Over WiFi - - - true - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - + - - + + 0 @@ -3192,8 +3921,8 @@ QComboBox QAbstractItemView::item:hover { 0 - - + + 10 @@ -3210,7 +3939,7 @@ QComboBox QAbstractItemView::item:hover { 9 - + false @@ -3225,13 +3954,19 @@ QComboBox QAbstractItemView::item:hover { - :/icon/flag.svg:/icon/flag.svg + :/icon/pencil.svg:/icon/pencil.svg + + + + 25 + 25 + - - + + 6 @@ -3248,7 +3983,7 @@ QComboBox QAbstractItemView::item:hover { 0 - + -1 @@ -3256,31 +3991,22 @@ QComboBox QAbstractItemView::item:hover { - Feature Flags + Custom Operations - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 16 - + + + - + - + Qt::Horizontal @@ -3296,7 +4022,7 @@ QComboBox QAbstractItemView::item:hover { - + QFrame { color: #414141; @@ -3311,11 +4037,11 @@ QComboBox QAbstractItemView::item:hover { - + true - + 0 @@ -3329,71 +4055,112 @@ QComboBox QAbstractItemView::item:hover { 0 - - - Enable Lockscreen Clock Animation + + + -1 - - - - - - Enable Duplicate Lockscreen Button and Lockscreen Quickswitch + + 0 - + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + true + + + Import .cowperation + + + + :/icon/import.svg:/icon/import.svg + + + + 20 + 20 + + + + Qt::ToolButtonTextBesideIcon + + + + + + + true + + + + 0 + 0 + + + + + 0 + 35 + + + + New Operation + + + + :/icon/plus.svg:/icon/plus.svg + + + + 16 + 16 + + + + false + + + true + + + Qt::ToolButtonTextBesideIcon + + + + - + - false - - - QFrame { - color: #414141; -} - - - QFrame::Plain - - - Qt::Horizontal - - - - - - - Enable Old Photo UI + true - - - - - - Enable Apple Intelligence + + + 0 + 0 + - - - - Qt::Vertical - - - - 20 - 40 - - - - - - + + 0 @@ -3407,25 +4174,19 @@ QComboBox QAbstractItemView::item:hover { 0 - - + + 10 0 - - 9 - 0 - - 9 - - + false @@ -3440,13 +4201,13 @@ QComboBox QAbstractItemView::item:hover { - :/icon/geo-alt.svg:/icon/geo-alt.svg + :/icon/compass.svg:/icon/compass.svg - - + + 6 @@ -3463,7 +4224,7 @@ QComboBox QAbstractItemView::item:hover { 0 - + -1 @@ -3471,14 +4232,14 @@ QComboBox QAbstractItemView::item:hover { - EU Enabler + Explore - + - Enabled + @@ -3486,7 +4247,7 @@ QComboBox QAbstractItemView::item:hover { - + Qt::Horizontal @@ -3502,7 +4263,7 @@ QComboBox QAbstractItemView::item:hover { - + QFrame { color: #414141; @@ -3517,118 +4278,19 @@ QComboBox QAbstractItemView::item:hover { - - - false + + + + 0 + 0 + - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Method Type - - - - - - - - 150 - 16777215 - - - - QComboBox { - background-color: #3b3b3b; - border: none; - color: #e8e8e8; - font-size: 14px; - padding-left: 8px; - border-radius: 8px; -} - -QComboBox::drop-down { - image: url(:/icon/caret-down-fill.svg); - icon-size: 16px; - subcontrol-position: right center; - margin-right: 8px; -} - -QComboBox QAbstractItemView { - background-color: #3b3b3b; - outline: none; - margin-top: 1px; -} - -QComboBox QAbstractItemView::item { - background-color: #3b3b3b; - color: #e8e8e8; - padding-left: 8px; -} - -QComboBox QAbstractItemView::item:hover { - background-color: #535353; - color: #ffffff; -} - - - - Method 1 - - - - - Method 2 - - - - - - - - Region Code (Should be 2 letters) - - - - - - - Region Code (Default: US) - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - + + 0 @@ -3642,184 +4304,99 @@ QComboBox QAbstractItemView::item:hover { 0 - - + + + + 10 + 0 - 0 + 9 0 - 0 + 9 - - + + + true + + + QToolButton { + icon-size: 24px; + background-color: transparent; + padding-left: 0px; + padding-right: 5px; + border-radius: 0px; +} + + + + :/icon/iphone-island.svg:/icon/iphone-island.svg + + + + 30 + 30 + + + + + + + - 10 + 6 0 - + + 0 + + + 0 + + 0 - - - false - - - QToolButton { - icon-size: 24px; - background-color: transparent; - padding-left: 0px; - padding-right: 5px; - border-radius: 0px; -} - - - - :/icon/check-circle.svg:/icon/check-circle.svg - - - - - - - - 6 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - -1 - false - - - - Apply - - - - - - - - - - - - - - - - - Qt::Horizontal + + + + -1 + false + - - - 40 - 20 - + + Mobile Gestalt Modifications - + - - - QFrame { - color: #414141; -} - - - QFrame::Plain - + Qt::Horizontal - - - - - - Qt::Vertical - - 20 - 40 + 40 + 20 - - - - Current gestalt file location: - - - Qt::AlignCenter - - - - - - - None - - - Qt::AlignCenter - - - - - - - 10 - - - 0 - - - - - Choose Gestalt File - - - - :/icon/folder.svg:/icon/folder.svg - - - Qt::ToolButtonTextBesideIcon - - - - - - + 0 @@ -3833,56 +4410,111 @@ QComboBox QAbstractItemView::item:hover { 0 - + + + false + + + QToolButton { + background: none; +} + - Apply Changes + Import Theme: + + + + + + + ... - :/icon/check-circle.svg:/icon/check-circle.svg + :/icon/folder.svg:/icon/folder.svg - - Qt::ToolButtonTextBesideIcon + + + + + + ... + + + + :/icon/file-earmark-zip.svg:/icon/file-earmark-zip.svg + + + + + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + false + + + + 0 + + + 0 + + + 0 + + + 0 + + + + - - - Ready! + + + QFrame { + color: #414141; +} - - Qt::AlignCenter + + QFrame::Plain + + + Qt::Horizontal - - - - - 0 - 0 - - - - - 150 - 0 - - - - 0 - - - Qt::AlignCenter + + + + Customize Individual Apps - + + + + Qt::Vertical @@ -3896,7 +4528,7 @@ QComboBox QAbstractItemView::item:hover { - + 0 @@ -3910,44 +4542,43 @@ QComboBox QAbstractItemView::item:hover { 0 - - - Qt::Horizontal - - - - 40 - 20 - + + + + 0 + 0 + - - - - - Remove All Tweaks + Hide/Show All App Names - + + + + 0 + 0 + + - Reset Mobile Gestalt + Toggle All "Border" - - - Qt::Horizontal + + + + 0 + 0 + - - - 40 - 20 - + + Toggle All "Add to Device" - + diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index 5950dd8..3bf4315 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -343,26 +343,13 @@ def setupUi(self, Nugget): self.verticalLayout.addWidget(self.sidebarDiv1) - self.customOperationsPageBtn = QToolButton(self.sidebar) - self.customOperationsPageBtn.setObjectName(u"customOperationsPageBtn") - sizePolicy2.setHeightForWidth(self.customOperationsPageBtn.sizePolicy().hasHeightForWidth()) - self.customOperationsPageBtn.setSizePolicy(sizePolicy2) - icon5 = QIcon() - icon5.addFile(u":/icon/pencil.svg", QSize(), QIcon.Normal, QIcon.Off) - self.customOperationsPageBtn.setIcon(icon5) - self.customOperationsPageBtn.setCheckable(True) - self.customOperationsPageBtn.setAutoExclusive(True) - self.customOperationsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) - - self.verticalLayout.addWidget(self.customOperationsPageBtn) - self.gestaltPageBtn = QToolButton(self.sidebar) self.gestaltPageBtn.setObjectName(u"gestaltPageBtn") sizePolicy2.setHeightForWidth(self.gestaltPageBtn.sizePolicy().hasHeightForWidth()) self.gestaltPageBtn.setSizePolicy(sizePolicy2) - icon6 = QIcon() - icon6.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Normal, QIcon.Off) - self.gestaltPageBtn.setIcon(icon6) + icon5 = QIcon() + icon5.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Normal, QIcon.Off) + self.gestaltPageBtn.setIcon(icon5) self.gestaltPageBtn.setIconSize(QSize(24, 28)) self.gestaltPageBtn.setCheckable(True) self.gestaltPageBtn.setAutoExclusive(True) @@ -378,9 +365,9 @@ def setupUi(self, Nugget): font = QFont() font.setFamilies([u".AppleSystemUIFont"]) self.featureFlagsPageBtn.setFont(font) - icon7 = QIcon() - icon7.addFile(u":/icon/flag.svg", QSize(), QIcon.Normal, QIcon.Off) - self.featureFlagsPageBtn.setIcon(icon7) + icon6 = QIcon() + icon6.addFile(u":/icon/flag.svg", QSize(), QIcon.Normal, QIcon.Off) + self.featureFlagsPageBtn.setIcon(icon6) self.featureFlagsPageBtn.setCheckable(True) self.featureFlagsPageBtn.setAutoExclusive(True) self.featureFlagsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -398,6 +385,19 @@ def setupUi(self, Nugget): self.verticalLayout.addWidget(self.euEnablerPageBtn) + self.springboardOptionsPageBtn = QToolButton(self.sidebar) + self.springboardOptionsPageBtn.setObjectName(u"springboardOptionsPageBtn") + sizePolicy2.setHeightForWidth(self.springboardOptionsPageBtn.sizePolicy().hasHeightForWidth()) + self.springboardOptionsPageBtn.setSizePolicy(sizePolicy2) + icon7 = QIcon() + icon7.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Normal, QIcon.Off) + self.springboardOptionsPageBtn.setIcon(icon7) + self.springboardOptionsPageBtn.setCheckable(True) + self.springboardOptionsPageBtn.setAutoExclusive(True) + self.springboardOptionsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + + self.verticalLayout.addWidget(self.springboardOptionsPageBtn) + self.internalOptionsPageBtn = QToolButton(self.sidebar) self.internalOptionsPageBtn.setObjectName(u"internalOptionsPageBtn") sizePolicy2.setHeightForWidth(self.internalOptionsPageBtn.sizePolicy().hasHeightForWidth()) @@ -582,6 +582,9 @@ def setupUi(self, Nugget): self.verticalLayout_26.addItem(self.verticalSpacer_12) + self.horizontalLayout_8 = QHBoxLayout() + self.horizontalLayout_8.setObjectName(u"horizontalLayout_8") + self.horizontalLayout_8.setContentsMargins(-1, -1, 0, 0) self.discordBtn = QToolButton(self.verticalWidget1) self.discordBtn.setObjectName(u"discordBtn") icon12 = QIcon() @@ -589,7 +592,19 @@ def setupUi(self, Nugget): self.discordBtn.setIcon(icon12) self.discordBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) - self.verticalLayout_26.addWidget(self.discordBtn) + self.horizontalLayout_8.addWidget(self.discordBtn) + + self.starOnGithubBtn = QToolButton(self.verticalWidget1) + self.starOnGithubBtn.setObjectName(u"starOnGithubBtn") + icon13 = QIcon() + icon13.addFile(u":/icon/star.svg", QSize(), QIcon.Normal, QIcon.Off) + self.starOnGithubBtn.setIcon(icon13) + self.starOnGithubBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + + self.horizontalLayout_8.addWidget(self.starOnGithubBtn) + + + self.verticalLayout_26.addLayout(self.horizontalLayout_8) self.verticalSpacer_4 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) @@ -625,9 +640,9 @@ def setupUi(self, Nugget): self.leminBtn.setStyleSheet(u"QToolButton {\n" " background: none;\n" "}") - icon13 = QIcon() - icon13.addFile(u":/credits/LeminLimez.png", QSize(), QIcon.Normal, QIcon.Off) - self.leminBtn.setIcon(icon13) + icon14 = QIcon() + icon14.addFile(u":/credits/LeminLimez.png", QSize(), QIcon.Normal, QIcon.Off) + self.leminBtn.setIcon(icon14) self.leminBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) self.horizontalLayout_6.addWidget(self.leminBtn) @@ -645,12 +660,31 @@ def setupUi(self, Nugget): " background-color: #535353;\n" " color: #FFFFFF;\n" "}") - icon14 = QIcon() - icon14.addFile(u":/icon/twitter.svg", QSize(), QIcon.Normal, QIcon.Off) - self.leminTwitterBtn.setIcon(icon14) + icon15 = QIcon() + icon15.addFile(u":/icon/twitter.svg", QSize(), QIcon.Normal, QIcon.Off) + self.leminTwitterBtn.setIcon(icon15) self.horizontalLayout_6.addWidget(self.leminTwitterBtn) + self.leminGithubBtn = QToolButton(self.horizontalWidget2) + self.leminGithubBtn.setObjectName(u"leminGithubBtn") + self.leminGithubBtn.setStyleSheet(u"QToolButton {\n" +" border-radius: 0px;\n" +" background: none;\n" +" border: 1px solid #3b3b3b;\n" +" border-left: none;\n" +"}\n" +"\n" +"QToolButton:pressed {\n" +" background-color: #535353;\n" +" color: #FFFFFF;\n" +"}") + icon16 = QIcon() + icon16.addFile(u":/icon/github.svg", QSize(), QIcon.Normal, QIcon.Off) + self.leminGithubBtn.setIcon(icon16) + + self.horizontalLayout_6.addWidget(self.leminGithubBtn) + self.leminKoFiBtn = QToolButton(self.horizontalWidget2) self.leminKoFiBtn.setObjectName(u"leminKoFiBtn") self.leminKoFiBtn.setStyleSheet(u"QToolButton {\n" @@ -665,9 +699,9 @@ def setupUi(self, Nugget): " background-color: #535353;\n" " color: #FFFFFF;\n" "}") - icon15 = QIcon() - icon15.addFile(u":/icon/currency-dollar.svg", QSize(), QIcon.Normal, QIcon.Off) - self.leminKoFiBtn.setIcon(icon15) + icon17 = QIcon() + icon17.addFile(u":/icon/currency-dollar.svg", QSize(), QIcon.Normal, QIcon.Off) + self.leminKoFiBtn.setIcon(icon17) self.horizontalLayout_6.addWidget(self.leminKoFiBtn) @@ -841,479 +875,465 @@ def setupUi(self, Nugget): self.verticalLayout_2.addWidget(self.label) self.pages.addWidget(self.homePage) - self.explorePage = QWidget() - self.explorePage.setObjectName(u"explorePage") - self.verticalLayout_31 = QVBoxLayout(self.explorePage) - self.verticalLayout_31.setObjectName(u"verticalLayout_31") - self.verticalLayout_31.setContentsMargins(0, 0, 0, 0) - self.explorePageHeader = QWidget(self.explorePage) - self.explorePageHeader.setObjectName(u"explorePageHeader") - self.horizontalLayout_31 = QHBoxLayout(self.explorePageHeader) - self.horizontalLayout_31.setSpacing(10) - self.horizontalLayout_31.setObjectName(u"horizontalLayout_31") - self.horizontalLayout_31.setContentsMargins(0, -1, 0, -1) - self.toolButton_16 = QToolButton(self.explorePageHeader) - self.toolButton_16.setObjectName(u"toolButton_16") - self.toolButton_16.setEnabled(False) - self.toolButton_16.setStyleSheet(u"QToolButton {\n" + self.gestaltPage = QWidget() + self.gestaltPage.setObjectName(u"gestaltPage") + self.verticalLayout_4 = QVBoxLayout(self.gestaltPage) + self.verticalLayout_4.setObjectName(u"verticalLayout_4") + self.verticalLayout_4.setContentsMargins(0, 0, 0, 0) + self.statusBarPageHeader = QWidget(self.gestaltPage) + self.statusBarPageHeader.setObjectName(u"statusBarPageHeader") + self.horizontalLayout_5 = QHBoxLayout(self.statusBarPageHeader) + self.horizontalLayout_5.setSpacing(10) + self.horizontalLayout_5.setObjectName(u"horizontalLayout_5") + self.horizontalLayout_5.setContentsMargins(0, -1, 0, -1) + self.toolButton_8 = QToolButton(self.statusBarPageHeader) + self.toolButton_8.setObjectName(u"toolButton_8") + self.toolButton_8.setEnabled(False) + self.toolButton_8.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.toolButton_16.setIcon(icon3) + self.toolButton_8.setIcon(icon5) + self.toolButton_8.setIconSize(QSize(30, 30)) - self.horizontalLayout_31.addWidget(self.toolButton_16) + self.horizontalLayout_5.addWidget(self.toolButton_8) - self.verticalWidget_9 = QWidget(self.explorePageHeader) - self.verticalWidget_9.setObjectName(u"verticalWidget_9") - self.verticalLayout_30 = QVBoxLayout(self.verticalWidget_9) - self.verticalLayout_30.setSpacing(6) - self.verticalLayout_30.setObjectName(u"verticalLayout_30") - self.verticalLayout_30.setContentsMargins(0, 0, 0, 0) - self.exploreLbl = QLabel(self.verticalWidget_9) - self.exploreLbl.setObjectName(u"exploreLbl") - self.exploreLbl.setFont(font1) + self.verticalWidget_21 = QWidget(self.statusBarPageHeader) + self.verticalWidget_21.setObjectName(u"verticalWidget_21") + self.verticalLayout_5 = QVBoxLayout(self.verticalWidget_21) + self.verticalLayout_5.setSpacing(6) + self.verticalLayout_5.setObjectName(u"verticalLayout_5") + self.verticalLayout_5.setContentsMargins(0, 0, 0, 0) + self.statusBarLbl = QLabel(self.verticalWidget_21) + self.statusBarLbl.setObjectName(u"statusBarLbl") + self.statusBarLbl.setFont(font1) - self.verticalLayout_30.addWidget(self.exploreLbl) + self.verticalLayout_5.addWidget(self.statusBarLbl) - self.exploreSubLbl = QLabel(self.verticalWidget_9) - self.exploreSubLbl.setObjectName(u"exploreSubLbl") + self.verticalSpacer_8 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.verticalLayout_30.addWidget(self.exploreSubLbl) + self.verticalLayout_5.addItem(self.verticalSpacer_8) - self.horizontalLayout_31.addWidget(self.verticalWidget_9) + self.horizontalLayout_5.addWidget(self.verticalWidget_21) - self.horizontalSpacer_13 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.horizontalSpacer_4 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_31.addItem(self.horizontalSpacer_13) + self.horizontalLayout_5.addItem(self.horizontalSpacer_4) - self.verticalLayout_31.addWidget(self.explorePageHeader) + self.verticalLayout_4.addWidget(self.statusBarPageHeader) - self.line_3 = QFrame(self.explorePage) - self.line_3.setObjectName(u"line_3") - self.line_3.setStyleSheet(u"QFrame {\n" + self.line_8 = QFrame(self.gestaltPage) + self.line_8.setObjectName(u"line_8") + self.line_8.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_3.setFrameShadow(QFrame.Plain) - self.line_3.setFrameShape(QFrame.HLine) + self.line_8.setFrameShadow(QFrame.Plain) + self.line_8.setFrameShape(QFrame.HLine) - self.verticalLayout_31.addWidget(self.line_3) + self.verticalLayout_4.addWidget(self.line_8) - self.exploreThemesCnt = QWidget(self.explorePage) - self.exploreThemesCnt.setObjectName(u"exploreThemesCnt") - sizePolicy5 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding) - sizePolicy5.setHorizontalStretch(0) - sizePolicy5.setVerticalStretch(0) - sizePolicy5.setHeightForWidth(self.exploreThemesCnt.sizePolicy().hasHeightForWidth()) - self.exploreThemesCnt.setSizePolicy(sizePolicy5) + self.scrollArea = QScrollArea(self.gestaltPage) + self.scrollArea.setObjectName(u"scrollArea") + self.scrollArea.setFrameShape(QFrame.NoFrame) + self.scrollArea.setFrameShadow(QFrame.Plain) + self.scrollArea.setLineWidth(0) + self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) + self.scrollAreaWidgetContents = QWidget() + self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") + self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 650, 1200)) + self.scrollAreaWidgetContents.setMinimumSize(QSize(650, 1200)) + self.scrollAreaWidgetContents.setMaximumSize(QSize(650, 1200)) + self.verticalLayout_9 = QVBoxLayout(self.scrollAreaWidgetContents) + self.verticalLayout_9.setObjectName(u"verticalLayout_9") + self.verticalLayout_9.setContentsMargins(0, 0, 0, 0) + self.gestaltPageContent = QWidget(self.scrollAreaWidgetContents) + self.gestaltPageContent.setObjectName(u"gestaltPageContent") + self.gestaltPageContent.setEnabled(False) + self.verticalLayout_8 = QVBoxLayout(self.gestaltPageContent) + self.verticalLayout_8.setObjectName(u"verticalLayout_8") + self.verticalLayout_8.setContentsMargins(0, 0, 0, 0) + self.label_9 = QLabel(self.gestaltPageContent) + self.label_9.setObjectName(u"label_9") - self.verticalLayout_31.addWidget(self.exploreThemesCnt) + self.verticalLayout_8.addWidget(self.label_9) - self.pages.addWidget(self.explorePage) - self.locSimPage = QWidget() - self.locSimPage.setObjectName(u"locSimPage") - self.verticalLayout_28 = QVBoxLayout(self.locSimPage) - self.verticalLayout_28.setObjectName(u"verticalLayout_28") - self.verticalLayout_28.setContentsMargins(0, 0, 0, 0) - self.locSimPageHeader = QWidget(self.locSimPage) - self.locSimPageHeader.setObjectName(u"locSimPageHeader") - self.horizontalLayout_28 = QHBoxLayout(self.locSimPageHeader) - self.horizontalLayout_28.setSpacing(10) - self.horizontalLayout_28.setObjectName(u"horizontalLayout_28") - self.horizontalLayout_28.setContentsMargins(0, -1, 0, -1) - self.toolButton_13 = QToolButton(self.locSimPageHeader) - self.toolButton_13.setObjectName(u"toolButton_13") - self.toolButton_13.setEnabled(False) - self.toolButton_13.setStyleSheet(u"QToolButton {\n" -" icon-size: 24px;\n" -" background-color: transparent;\n" -" padding-left: 0px;\n" -" padding-right: 5px;\n" -" border-radius: 0px;\n" + self.dynamicIslandDrp = QComboBox(self.gestaltPageContent) + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.setObjectName(u"dynamicIslandDrp") + self.dynamicIslandDrp.setMinimumSize(QSize(0, 0)) + self.dynamicIslandDrp.setMaximumSize(QSize(325, 16777215)) + self.dynamicIslandDrp.setStyleSheet(u"QComboBox {\n" +" background-color: #3b3b3b;\n" +" border: none;\n" +" color: #e8e8e8;\n" +" font-size: 14px;\n" +" padding-left: 8px;\n" +" border-radius: 8px;\n" +"}\n" +"\n" +"QComboBox::drop-down {\n" +" image: url(:/icon/caret-down-fill.svg);\n" +" icon-size: 16px;\n" +" subcontrol-position: right center;\n" +" margin-right: 8px;\n" +"}\n" +"\n" +"QComboBox QAbstractItemView {\n" +" background-color: #3b3b3b;\n" +" outline: none;\n" +" margin-top: 1px;\n" +"}\n" +"\n" +"QComboBox QAbstractItemView::item {\n" +" background-color: #3b3b3b;\n" +" color: #e8e8e8;\n" +" padding-left: 8px;\n" +"}\n" +"\n" +"QComboBox QAbstractItemView::item:hover {\n" +" background-color: #535353;\n" +" color: #ffffff;\n" "}") - self.toolButton_13.setIcon(icon4) + self.dynamicIslandDrp.setMaxVisibleItems(15) - self.horizontalLayout_28.addWidget(self.toolButton_13) + self.verticalLayout_8.addWidget(self.dynamicIslandDrp) - self.verticalWidget_8 = QWidget(self.locSimPageHeader) - self.verticalWidget_8.setObjectName(u"verticalWidget_8") - self.verticalLayout_27 = QVBoxLayout(self.verticalWidget_8) - self.verticalLayout_27.setSpacing(6) - self.verticalLayout_27.setObjectName(u"verticalLayout_27") - self.verticalLayout_27.setContentsMargins(0, 0, 0, 0) - self.statusBarLbl_2 = QLabel(self.verticalWidget_8) - self.statusBarLbl_2.setObjectName(u"statusBarLbl_2") - self.statusBarLbl_2.setFont(font1) + self.modelNameChk = QCheckBox(self.gestaltPageContent) + self.modelNameChk.setObjectName(u"modelNameChk") - self.verticalLayout_27.addWidget(self.statusBarLbl_2) + self.verticalLayout_8.addWidget(self.modelNameChk) - self.label_4 = QLabel(self.verticalWidget_8) - self.label_4.setObjectName(u"label_4") + self.modelNameTxt = QLineEdit(self.gestaltPageContent) + self.modelNameTxt.setObjectName(u"modelNameTxt") - self.verticalLayout_27.addWidget(self.label_4) + self.verticalLayout_8.addWidget(self.modelNameTxt) + self.bootChimeChk = QCheckBox(self.gestaltPageContent) + self.bootChimeChk.setObjectName(u"bootChimeChk") - self.horizontalLayout_28.addWidget(self.verticalWidget_8) + self.verticalLayout_8.addWidget(self.bootChimeChk) - self.horizontalSpacer_11 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.chargeLimitChk = QCheckBox(self.gestaltPageContent) + self.chargeLimitChk.setObjectName(u"chargeLimitChk") - self.horizontalLayout_28.addItem(self.horizontalSpacer_11) + self.verticalLayout_8.addWidget(self.chargeLimitChk) - self.loadLocSimBtn = QToolButton(self.locSimPageHeader) - self.loadLocSimBtn.setObjectName(u"loadLocSimBtn") + self.tapToWakeChk = QCheckBox(self.gestaltPageContent) + self.tapToWakeChk.setObjectName(u"tapToWakeChk") - self.horizontalLayout_28.addWidget(self.loadLocSimBtn) + self.verticalLayout_8.addWidget(self.tapToWakeChk) + self.iphone16SettingsChk = QCheckBox(self.gestaltPageContent) + self.iphone16SettingsChk.setObjectName(u"iphone16SettingsChk") - self.verticalLayout_28.addWidget(self.locSimPageHeader) + self.verticalLayout_8.addWidget(self.iphone16SettingsChk) - self.line_2 = QFrame(self.locSimPage) - self.line_2.setObjectName(u"line_2") - self.line_2.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" -"}") - self.line_2.setFrameShadow(QFrame.Plain) - self.line_2.setFrameShape(QFrame.HLine) + self.parallaxChk = QCheckBox(self.gestaltPageContent) + self.parallaxChk.setObjectName(u"parallaxChk") - self.verticalLayout_28.addWidget(self.line_2) + self.verticalLayout_8.addWidget(self.parallaxChk) - self.verticalSpacer_14 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.horizontalWidget4 = QWidget(self.gestaltPageContent) + self.horizontalWidget4.setObjectName(u"horizontalWidget4") + self.horizontalLayout_10 = QHBoxLayout(self.horizontalWidget4) + self.horizontalLayout_10.setObjectName(u"horizontalLayout_10") + self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0) - self.verticalLayout_28.addItem(self.verticalSpacer_14) + self.verticalLayout_8.addWidget(self.horizontalWidget4) - self.locSimCnt = QWidget(self.locSimPage) - self.locSimCnt.setObjectName(u"locSimCnt") - self.locSimPageContent = QVBoxLayout(self.locSimCnt) - self.locSimPageContent.setObjectName(u"locSimPageContent") - self.locSimPageContent.setContentsMargins(0, 0, 0, 0) - self.verticalWidget2 = QWidget(self.locSimCnt) - self.verticalWidget2.setObjectName(u"verticalWidget2") - self.verticalLayout_29 = QVBoxLayout(self.verticalWidget2) - self.verticalLayout_29.setObjectName(u"verticalLayout_29") - self.verticalLayout_29.setContentsMargins(0, 0, 0, 0) - self.label_7 = QLabel(self.verticalWidget2) - self.label_7.setObjectName(u"label_7") - self.label_7.setAlignment(Qt.AlignCenter) + self.line_7 = QFrame(self.gestaltPageContent) + self.line_7.setObjectName(u"line_7") + self.line_7.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_7.setFrameShadow(QFrame.Plain) + self.line_7.setFrameShape(QFrame.HLine) - self.verticalLayout_29.addWidget(self.label_7) + self.verticalLayout_8.addWidget(self.line_7) - self.latitudeTxt = QLineEdit(self.verticalWidget2) - self.latitudeTxt.setObjectName(u"latitudeTxt") - self.latitudeTxt.setAlignment(Qt.AlignCenter) + self.stageManagerChk = QCheckBox(self.gestaltPageContent) + self.stageManagerChk.setObjectName(u"stageManagerChk") - self.verticalLayout_29.addWidget(self.latitudeTxt) + self.verticalLayout_8.addWidget(self.stageManagerChk) - self.label_11 = QLabel(self.verticalWidget2) - self.label_11.setObjectName(u"label_11") - self.label_11.setAlignment(Qt.AlignCenter) + self.ipadAppsChk = QCheckBox(self.gestaltPageContent) + self.ipadAppsChk.setObjectName(u"ipadAppsChk") - self.verticalLayout_29.addWidget(self.label_11) + self.verticalLayout_8.addWidget(self.ipadAppsChk) - self.longitudeTxt = QLineEdit(self.verticalWidget2) - self.longitudeTxt.setObjectName(u"longitudeTxt") - self.longitudeTxt.setAlignment(Qt.AlignCenter) + self.shutterChk = QCheckBox(self.gestaltPageContent) + self.shutterChk.setObjectName(u"shutterChk") - self.verticalLayout_29.addWidget(self.longitudeTxt) + self.verticalLayout_8.addWidget(self.shutterChk) - self.horizontalWidget4 = QWidget(self.verticalWidget2) - self.horizontalWidget4.setObjectName(u"horizontalWidget4") - self.horizontalLayout_3 = QHBoxLayout(self.horizontalWidget4) - self.horizontalLayout_3.setObjectName(u"horizontalLayout_3") - self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0) - self.setLocationBtn = QToolButton(self.horizontalWidget4) - self.setLocationBtn.setObjectName(u"setLocationBtn") + self.findMyFriendsChk = QCheckBox(self.gestaltPageContent) + self.findMyFriendsChk.setObjectName(u"findMyFriendsChk") - self.horizontalLayout_3.addWidget(self.setLocationBtn) + self.verticalLayout_8.addWidget(self.findMyFriendsChk) + self.pencilChk = QCheckBox(self.gestaltPageContent) + self.pencilChk.setObjectName(u"pencilChk") - self.verticalLayout_29.addWidget(self.horizontalWidget4) + self.verticalLayout_8.addWidget(self.pencilChk) - self.horizontalWidget_22 = QWidget(self.verticalWidget2) - self.horizontalWidget_22.setObjectName(u"horizontalWidget_22") - self.horizontalLayout_29 = QHBoxLayout(self.horizontalWidget_22) - self.horizontalLayout_29.setObjectName(u"horizontalLayout_29") - self.horizontalLayout_29.setContentsMargins(0, 0, 0, 0) - self.resetLocationBtn = QToolButton(self.horizontalWidget_22) - self.resetLocationBtn.setObjectName(u"resetLocationBtn") + self.actionButtonChk = QCheckBox(self.gestaltPageContent) + self.actionButtonChk.setObjectName(u"actionButtonChk") - self.horizontalLayout_29.addWidget(self.resetLocationBtn) + self.verticalLayout_8.addWidget(self.actionButtonChk) + self.line_9 = QFrame(self.gestaltPageContent) + self.line_9.setObjectName(u"line_9") + self.line_9.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_9.setFrameShadow(QFrame.Plain) + self.line_9.setFrameShape(QFrame.HLine) - self.verticalLayout_29.addWidget(self.horizontalWidget_22) + self.verticalLayout_8.addWidget(self.line_9) + self.internalInstallChk = QCheckBox(self.gestaltPageContent) + self.internalInstallChk.setObjectName(u"internalInstallChk") - self.locSimPageContent.addWidget(self.verticalWidget2) + self.verticalLayout_8.addWidget(self.internalInstallChk) + self.internalStorageChk = QCheckBox(self.gestaltPageContent) + self.internalStorageChk.setObjectName(u"internalStorageChk") - self.verticalLayout_28.addWidget(self.locSimCnt) + self.verticalLayout_8.addWidget(self.internalStorageChk) - self.verticalSpacer_13 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.line_10 = QFrame(self.gestaltPageContent) + self.line_10.setObjectName(u"line_10") + self.line_10.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_10.setFrameShadow(QFrame.Plain) + self.line_10.setFrameShape(QFrame.HLine) - self.verticalLayout_28.addItem(self.verticalSpacer_13) + self.verticalLayout_8.addWidget(self.line_10) - self.pages.addWidget(self.locSimPage) - self.themingPage = QWidget() - self.themingPage.setObjectName(u"themingPage") - self.verticalLayout_23 = QVBoxLayout(self.themingPage) - self.verticalLayout_23.setObjectName(u"verticalLayout_23") - self.verticalLayout_23.setContentsMargins(0, 0, 0, 0) - self.horizontalWidget_8 = QWidget(self.themingPage) - self.horizontalWidget_8.setObjectName(u"horizontalWidget_8") - self.horizontalLayout_23 = QHBoxLayout(self.horizontalWidget_8) - self.horizontalLayout_23.setSpacing(10) - self.horizontalLayout_23.setObjectName(u"horizontalLayout_23") - self.horizontalLayout_23.setContentsMargins(0, 9, 0, 9) - self.themesBtn = QToolButton(self.horizontalWidget_8) - self.themesBtn.setObjectName(u"themesBtn") - self.themesBtn.setEnabled(True) - self.themesBtn.setStyleSheet(u"QToolButton {\n" + self.collisionSOSChk = QCheckBox(self.gestaltPageContent) + self.collisionSOSChk.setObjectName(u"collisionSOSChk") + + self.verticalLayout_8.addWidget(self.collisionSOSChk) + + self.sleepApneaChk = QCheckBox(self.gestaltPageContent) + self.sleepApneaChk.setObjectName(u"sleepApneaChk") + + self.verticalLayout_8.addWidget(self.sleepApneaChk) + + self.aodChk = QCheckBox(self.gestaltPageContent) + self.aodChk.setObjectName(u"aodChk") + + self.verticalLayout_8.addWidget(self.aodChk) + + self.verticalSpacer_3 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + + self.verticalLayout_8.addItem(self.verticalSpacer_3) + + + self.verticalLayout_9.addWidget(self.gestaltPageContent) + + self.scrollArea.setWidget(self.scrollAreaWidgetContents) + + self.verticalLayout_4.addWidget(self.scrollArea) + + self.pages.addWidget(self.gestaltPage) + self.featureFlagsPage = QWidget() + self.featureFlagsPage.setObjectName(u"featureFlagsPage") + self.verticalLayout_14 = QVBoxLayout(self.featureFlagsPage) + self.verticalLayout_14.setObjectName(u"verticalLayout_14") + self.verticalLayout_14.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_5 = QWidget(self.featureFlagsPage) + self.horizontalWidget_5.setObjectName(u"horizontalWidget_5") + self.horizontalLayout_20 = QHBoxLayout(self.horizontalWidget_5) + self.horizontalLayout_20.setSpacing(10) + self.horizontalLayout_20.setObjectName(u"horizontalLayout_20") + self.horizontalLayout_20.setContentsMargins(0, 9, 0, 9) + self.toolButton_10 = QToolButton(self.horizontalWidget_5) + self.toolButton_10.setObjectName(u"toolButton_10") + self.toolButton_10.setEnabled(False) + self.toolButton_10.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.themesBtn.setIcon(icon6) - self.themesBtn.setIconSize(QSize(30, 30)) + self.toolButton_10.setIcon(icon6) - self.horizontalLayout_23.addWidget(self.themesBtn) + self.horizontalLayout_20.addWidget(self.toolButton_10) - self.verticalWidget_7 = QWidget(self.horizontalWidget_8) - self.verticalWidget_7.setObjectName(u"verticalWidget_7") - self.verticalLayout_21 = QVBoxLayout(self.verticalWidget_7) - self.verticalLayout_21.setSpacing(6) - self.verticalLayout_21.setObjectName(u"verticalLayout_21") - self.verticalLayout_21.setContentsMargins(0, 0, 0, 0) - self.themesLbl = QLabel(self.verticalWidget_7) - self.themesLbl.setObjectName(u"themesLbl") - self.themesLbl.setFont(font1) + self.verticalWidget_4 = QWidget(self.horizontalWidget_5) + self.verticalWidget_4.setObjectName(u"verticalWidget_4") + self.verticalLayout_12 = QVBoxLayout(self.verticalWidget_4) + self.verticalLayout_12.setSpacing(6) + self.verticalLayout_12.setObjectName(u"verticalLayout_12") + self.verticalLayout_12.setContentsMargins(0, 0, 0, 0) + self.internalOptionsLbl = QLabel(self.verticalWidget_4) + self.internalOptionsLbl.setObjectName(u"internalOptionsLbl") + self.internalOptionsLbl.setFont(font1) - self.verticalLayout_21.addWidget(self.themesLbl) + self.verticalLayout_12.addWidget(self.internalOptionsLbl) + self.verticalSpacer_15 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.horizontalLayout_23.addWidget(self.verticalWidget_7) + self.verticalLayout_12.addItem(self.verticalSpacer_15) - self.horizontalSpacer_10 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_23.addItem(self.horizontalSpacer_10) + self.horizontalLayout_20.addWidget(self.verticalWidget_4) - self.horizontalWidget5 = QWidget(self.horizontalWidget_8) - self.horizontalWidget5.setObjectName(u"horizontalWidget5") - self.horizontalLayout_26 = QHBoxLayout(self.horizontalWidget5) - self.horizontalLayout_26.setObjectName(u"horizontalLayout_26") - self.horizontalLayout_26.setContentsMargins(0, 0, 0, 0) - self.importThemeBtn = QToolButton(self.horizontalWidget5) - self.importThemeBtn.setObjectName(u"importThemeBtn") - self.importThemeBtn.setEnabled(False) - self.importThemeBtn.setStyleSheet(u"QToolButton {\n" -" background: none;\n" -"}") + self.horizontalSpacer_7 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_26.addWidget(self.importThemeBtn) + self.horizontalLayout_20.addItem(self.horizontalSpacer_7) - self.importThemeFolderBtn = QToolButton(self.horizontalWidget5) - self.importThemeFolderBtn.setObjectName(u"importThemeFolderBtn") - icon16 = QIcon() - icon16.addFile(u":/icon/folder.svg", QSize(), QIcon.Normal, QIcon.Off) - self.importThemeFolderBtn.setIcon(icon16) - self.horizontalLayout_26.addWidget(self.importThemeFolderBtn) + self.verticalLayout_14.addWidget(self.horizontalWidget_5) - self.importThemeZipBtn = QToolButton(self.horizontalWidget5) - self.importThemeZipBtn.setObjectName(u"importThemeZipBtn") - icon17 = QIcon() - icon17.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Normal, QIcon.Off) - self.importThemeZipBtn.setIcon(icon17) + self.line_12 = QFrame(self.featureFlagsPage) + self.line_12.setObjectName(u"line_12") + self.line_12.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_12.setFrameShadow(QFrame.Plain) + self.line_12.setFrameShape(QFrame.HLine) - self.horizontalLayout_26.addWidget(self.importThemeZipBtn) + self.verticalLayout_14.addWidget(self.line_12) + self.featureFlagsPageContent = QWidget(self.featureFlagsPage) + self.featureFlagsPageContent.setObjectName(u"featureFlagsPageContent") + self.featureFlagsPageContent.setEnabled(True) + self.verticalLayout_13 = QVBoxLayout(self.featureFlagsPageContent) + self.verticalLayout_13.setObjectName(u"verticalLayout_13") + self.verticalLayout_13.setContentsMargins(0, 0, 0, 0) + self.clockAnimChk = QCheckBox(self.featureFlagsPageContent) + self.clockAnimChk.setObjectName(u"clockAnimChk") - self.horizontalLayout_23.addWidget(self.horizontalWidget5) + self.verticalLayout_13.addWidget(self.clockAnimChk) + self.lockscreenChk = QCheckBox(self.featureFlagsPageContent) + self.lockscreenChk.setObjectName(u"lockscreenChk") - self.verticalLayout_23.addWidget(self.horizontalWidget_8) + self.verticalLayout_13.addWidget(self.lockscreenChk) - self.line_15 = QFrame(self.themingPage) - self.line_15.setObjectName(u"line_15") - self.line_15.setStyleSheet(u"QFrame {\n" + self.div = QFrame(self.featureFlagsPageContent) + self.div.setObjectName(u"div") + self.div.setEnabled(False) + self.div.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_15.setFrameShadow(QFrame.Plain) - self.line_15.setFrameShape(QFrame.HLine) + self.div.setFrameShadow(QFrame.Plain) + self.div.setFrameShape(QFrame.HLine) - self.verticalLayout_23.addWidget(self.line_15) + self.verticalLayout_13.addWidget(self.div) - self.themesPageContent = QWidget(self.themingPage) - self.themesPageContent.setObjectName(u"themesPageContent") - self.themesPageContent.setEnabled(False) - self.verticalLayout_22 = QVBoxLayout(self.themesPageContent) - self.verticalLayout_22.setObjectName(u"verticalLayout_22") - self.verticalLayout_22.setContentsMargins(0, 0, 0, 0) - self.themesCnt = QWidget(self.themesPageContent) - self.themesCnt.setObjectName(u"themesCnt") + self.photosChk = QCheckBox(self.featureFlagsPageContent) + self.photosChk.setObjectName(u"photosChk") - self.verticalLayout_22.addWidget(self.themesCnt) + self.verticalLayout_13.addWidget(self.photosChk) - self.line = QFrame(self.themesPageContent) - self.line.setObjectName(u"line") - self.line.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" -"}") - self.line.setFrameShadow(QFrame.Plain) - self.line.setFrameShape(QFrame.HLine) + self.aiChk = QCheckBox(self.featureFlagsPageContent) + self.aiChk.setObjectName(u"aiChk") - self.verticalLayout_22.addWidget(self.line) + self.verticalLayout_13.addWidget(self.aiChk) - self.label_3 = QLabel(self.themesPageContent) - self.label_3.setObjectName(u"label_3") + self.verticalSpacer_6 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_22.addWidget(self.label_3) - - self.iconsCnt = QWidget(self.themesPageContent) - self.iconsCnt.setObjectName(u"iconsCnt") - - self.verticalLayout_22.addWidget(self.iconsCnt) - - self.verticalSpacer_9 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - - self.verticalLayout_22.addItem(self.verticalSpacer_9) - - self.horizontalWidget6 = QWidget(self.themesPageContent) - self.horizontalWidget6.setObjectName(u"horizontalWidget6") - self.horizontalLayout_16 = QHBoxLayout(self.horizontalWidget6) - self.horizontalLayout_16.setObjectName(u"horizontalLayout_16") - self.horizontalLayout_16.setContentsMargins(0, 0, 0, 0) - self.hideNamesBtn = QToolButton(self.horizontalWidget6) - self.hideNamesBtn.setObjectName(u"hideNamesBtn") - sizePolicy2.setHeightForWidth(self.hideNamesBtn.sizePolicy().hasHeightForWidth()) - self.hideNamesBtn.setSizePolicy(sizePolicy2) - - self.horizontalLayout_16.addWidget(self.hideNamesBtn) - - self.borderAllBtn = QToolButton(self.horizontalWidget6) - self.borderAllBtn.setObjectName(u"borderAllBtn") - sizePolicy2.setHeightForWidth(self.borderAllBtn.sizePolicy().hasHeightForWidth()) - self.borderAllBtn.setSizePolicy(sizePolicy2) - - self.horizontalLayout_16.addWidget(self.borderAllBtn) - - self.addAllBtn = QToolButton(self.horizontalWidget6) - self.addAllBtn.setObjectName(u"addAllBtn") - sizePolicy2.setHeightForWidth(self.addAllBtn.sizePolicy().hasHeightForWidth()) - self.addAllBtn.setSizePolicy(sizePolicy2) - - self.horizontalLayout_16.addWidget(self.addAllBtn) - - - self.verticalLayout_22.addWidget(self.horizontalWidget6) + self.verticalLayout_13.addItem(self.verticalSpacer_6) - self.verticalLayout_23.addWidget(self.themesPageContent) + self.verticalLayout_14.addWidget(self.featureFlagsPageContent) - self.pages.addWidget(self.themingPage) - self.gestaltPage = QWidget() - self.gestaltPage.setObjectName(u"gestaltPage") - self.verticalLayout_4 = QVBoxLayout(self.gestaltPage) - self.verticalLayout_4.setObjectName(u"verticalLayout_4") - self.verticalLayout_4.setContentsMargins(0, 0, 0, 0) - self.statusBarPageHeader = QWidget(self.gestaltPage) - self.statusBarPageHeader.setObjectName(u"statusBarPageHeader") - self.horizontalLayout_5 = QHBoxLayout(self.statusBarPageHeader) - self.horizontalLayout_5.setSpacing(10) - self.horizontalLayout_5.setObjectName(u"horizontalLayout_5") - self.horizontalLayout_5.setContentsMargins(0, -1, 0, -1) - self.toolButton_8 = QToolButton(self.statusBarPageHeader) - self.toolButton_8.setObjectName(u"toolButton_8") - self.toolButton_8.setEnabled(False) - self.toolButton_8.setStyleSheet(u"QToolButton {\n" + self.pages.addWidget(self.featureFlagsPage) + self.euEnablerPage = QWidget() + self.euEnablerPage.setObjectName(u"euEnablerPage") + self.verticalLayout_17 = QVBoxLayout(self.euEnablerPage) + self.verticalLayout_17.setObjectName(u"verticalLayout_17") + self.verticalLayout_17.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_6 = QWidget(self.euEnablerPage) + self.horizontalWidget_6.setObjectName(u"horizontalWidget_6") + self.horizontalLayout_21 = QHBoxLayout(self.horizontalWidget_6) + self.horizontalLayout_21.setSpacing(10) + self.horizontalLayout_21.setObjectName(u"horizontalLayout_21") + self.horizontalLayout_21.setContentsMargins(0, 9, 0, 9) + self.toolButton_11 = QToolButton(self.horizontalWidget_6) + self.toolButton_11.setObjectName(u"toolButton_11") + self.toolButton_11.setEnabled(False) + self.toolButton_11.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.toolButton_8.setIcon(icon6) - self.toolButton_8.setIconSize(QSize(30, 30)) + self.toolButton_11.setIcon(icon4) - self.horizontalLayout_5.addWidget(self.toolButton_8) + self.horizontalLayout_21.addWidget(self.toolButton_11) - self.verticalWidget_21 = QWidget(self.statusBarPageHeader) - self.verticalWidget_21.setObjectName(u"verticalWidget_21") - self.verticalLayout_5 = QVBoxLayout(self.verticalWidget_21) - self.verticalLayout_5.setSpacing(6) - self.verticalLayout_5.setObjectName(u"verticalLayout_5") - self.verticalLayout_5.setContentsMargins(0, 0, 0, 0) - self.statusBarLbl = QLabel(self.verticalWidget_21) - self.statusBarLbl.setObjectName(u"statusBarLbl") - self.statusBarLbl.setFont(font1) + self.verticalWidget_5 = QWidget(self.horizontalWidget_6) + self.verticalWidget_5.setObjectName(u"verticalWidget_5") + self.verticalLayout_15 = QVBoxLayout(self.verticalWidget_5) + self.verticalLayout_15.setSpacing(6) + self.verticalLayout_15.setObjectName(u"verticalLayout_15") + self.verticalLayout_15.setContentsMargins(0, 0, 0, 0) + self.setupOptionsLbl = QLabel(self.verticalWidget_5) + self.setupOptionsLbl.setObjectName(u"setupOptionsLbl") + self.setupOptionsLbl.setFont(font1) - self.verticalLayout_5.addWidget(self.statusBarLbl) + self.verticalLayout_15.addWidget(self.setupOptionsLbl) - self.verticalSpacer_8 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) + self.euEnablerEnabledChk = QCheckBox(self.verticalWidget_5) + self.euEnablerEnabledChk.setObjectName(u"euEnablerEnabledChk") - self.verticalLayout_5.addItem(self.verticalSpacer_8) + self.verticalLayout_15.addWidget(self.euEnablerEnabledChk) - self.horizontalLayout_5.addWidget(self.verticalWidget_21) + self.horizontalLayout_21.addWidget(self.verticalWidget_5) - self.horizontalSpacer_4 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.horizontalSpacer_8 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_5.addItem(self.horizontalSpacer_4) + self.horizontalLayout_21.addItem(self.horizontalSpacer_8) - self.verticalLayout_4.addWidget(self.statusBarPageHeader) + self.verticalLayout_17.addWidget(self.horizontalWidget_6) - self.line_8 = QFrame(self.gestaltPage) - self.line_8.setObjectName(u"line_8") - self.line_8.setStyleSheet(u"QFrame {\n" + self.line_13 = QFrame(self.euEnablerPage) + self.line_13.setObjectName(u"line_13") + self.line_13.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_8.setFrameShadow(QFrame.Plain) - self.line_8.setFrameShape(QFrame.HLine) + self.line_13.setFrameShadow(QFrame.Plain) + self.line_13.setFrameShape(QFrame.HLine) - self.verticalLayout_4.addWidget(self.line_8) + self.verticalLayout_17.addWidget(self.line_13) - self.scrollArea = QScrollArea(self.gestaltPage) - self.scrollArea.setObjectName(u"scrollArea") - self.scrollArea.setFrameShape(QFrame.NoFrame) - self.scrollArea.setFrameShadow(QFrame.Plain) - self.scrollArea.setLineWidth(0) - self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) - self.scrollAreaWidgetContents = QWidget() - self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") - self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 650, 1200)) - self.scrollAreaWidgetContents.setMinimumSize(QSize(650, 1200)) - self.scrollAreaWidgetContents.setMaximumSize(QSize(650, 1200)) - self.verticalLayout_9 = QVBoxLayout(self.scrollAreaWidgetContents) - self.verticalLayout_9.setObjectName(u"verticalLayout_9") - self.verticalLayout_9.setContentsMargins(0, 0, 0, 0) - self.gestaltPageContent = QWidget(self.scrollAreaWidgetContents) - self.gestaltPageContent.setObjectName(u"gestaltPageContent") - self.gestaltPageContent.setEnabled(False) - self.verticalLayout_8 = QVBoxLayout(self.gestaltPageContent) - self.verticalLayout_8.setObjectName(u"verticalLayout_8") - self.verticalLayout_8.setContentsMargins(0, 0, 0, 0) - self.label_9 = QLabel(self.gestaltPageContent) - self.label_9.setObjectName(u"label_9") + self.euEnablerPageContent = QWidget(self.euEnablerPage) + self.euEnablerPageContent.setObjectName(u"euEnablerPageContent") + self.euEnablerPageContent.setEnabled(False) + self.verticalLayout_16 = QVBoxLayout(self.euEnablerPageContent) + self.verticalLayout_16.setObjectName(u"verticalLayout_16") + self.verticalLayout_16.setContentsMargins(0, 0, 0, 0) + self.label_5 = QLabel(self.euEnablerPageContent) + self.label_5.setObjectName(u"label_5") - self.verticalLayout_8.addWidget(self.label_9) + self.verticalLayout_16.addWidget(self.label_5) - self.dynamicIslandDrp = QComboBox(self.gestaltPageContent) - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.setObjectName(u"dynamicIslandDrp") - self.dynamicIslandDrp.setMinimumSize(QSize(0, 0)) - self.dynamicIslandDrp.setMaximumSize(QSize(325, 16777215)) - self.dynamicIslandDrp.setStyleSheet(u"QComboBox {\n" + self.methodChoiceDrp = QComboBox(self.euEnablerPageContent) + self.methodChoiceDrp.addItem("") + self.methodChoiceDrp.addItem("") + self.methodChoiceDrp.setObjectName(u"methodChoiceDrp") + self.methodChoiceDrp.setMaximumSize(QSize(150, 16777215)) + self.methodChoiceDrp.setStyleSheet(u"QComboBox {\n" " background-color: #3b3b3b;\n" " border: none;\n" " color: #e8e8e8;\n" @@ -1345,746 +1365,1079 @@ def setupUi(self, Nugget): " background-color: #535353;\n" " color: #ffffff;\n" "}") - self.dynamicIslandDrp.setMaxVisibleItems(15) - self.verticalLayout_8.addWidget(self.dynamicIslandDrp) + self.verticalLayout_16.addWidget(self.methodChoiceDrp) - self.modelNameChk = QCheckBox(self.gestaltPageContent) - self.modelNameChk.setObjectName(u"modelNameChk") + self.label_6 = QLabel(self.euEnablerPageContent) + self.label_6.setObjectName(u"label_6") - self.verticalLayout_8.addWidget(self.modelNameChk) + self.verticalLayout_16.addWidget(self.label_6) - self.modelNameTxt = QLineEdit(self.gestaltPageContent) - self.modelNameTxt.setObjectName(u"modelNameTxt") + self.regionCodeTxt = QLineEdit(self.euEnablerPageContent) + self.regionCodeTxt.setObjectName(u"regionCodeTxt") - self.verticalLayout_8.addWidget(self.modelNameTxt) + self.verticalLayout_16.addWidget(self.regionCodeTxt) - self.bootChimeChk = QCheckBox(self.gestaltPageContent) - self.bootChimeChk.setObjectName(u"bootChimeChk") + self.verticalSpacer_7 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_8.addWidget(self.bootChimeChk) + self.verticalLayout_16.addItem(self.verticalSpacer_7) - self.chargeLimitChk = QCheckBox(self.gestaltPageContent) - self.chargeLimitChk.setObjectName(u"chargeLimitChk") - self.verticalLayout_8.addWidget(self.chargeLimitChk) + self.verticalLayout_17.addWidget(self.euEnablerPageContent) - self.tapToWakeChk = QCheckBox(self.gestaltPageContent) - self.tapToWakeChk.setObjectName(u"tapToWakeChk") + self.pages.addWidget(self.euEnablerPage) + self.springboardOptionsPage = QWidget() + self.springboardOptionsPage.setObjectName(u"springboardOptionsPage") + self.verticalLayout_10 = QVBoxLayout(self.springboardOptionsPage) + self.verticalLayout_10.setObjectName(u"verticalLayout_10") + self.verticalLayout_10.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_4 = QWidget(self.springboardOptionsPage) + self.horizontalWidget_4.setObjectName(u"horizontalWidget_4") + self.horizontalLayout_13 = QHBoxLayout(self.horizontalWidget_4) + self.horizontalLayout_13.setSpacing(10) + self.horizontalLayout_13.setObjectName(u"horizontalLayout_13") + self.horizontalLayout_13.setContentsMargins(0, 9, 0, 9) + self.toolButton_7 = QToolButton(self.horizontalWidget_4) + self.toolButton_7.setObjectName(u"toolButton_7") + self.toolButton_7.setEnabled(False) + self.toolButton_7.setStyleSheet(u"QToolButton {\n" +" icon-size: 24px;\n" +" background-color: transparent;\n" +" padding-left: 0px;\n" +" padding-right: 5px;\n" +" border-radius: 0px;\n" +"}") + self.toolButton_7.setIcon(icon7) - self.verticalLayout_8.addWidget(self.tapToWakeChk) + self.horizontalLayout_13.addWidget(self.toolButton_7) - self.iphone16SettingsChk = QCheckBox(self.gestaltPageContent) - self.iphone16SettingsChk.setObjectName(u"iphone16SettingsChk") + self.verticalWidget_3 = QWidget(self.horizontalWidget_4) + self.verticalWidget_3.setObjectName(u"verticalWidget_3") + self.verticalLayout_7 = QVBoxLayout(self.verticalWidget_3) + self.verticalLayout_7.setSpacing(6) + self.verticalLayout_7.setObjectName(u"verticalLayout_7") + self.verticalLayout_7.setContentsMargins(0, 0, 0, 0) + self.springboardOptionsLbl = QLabel(self.verticalWidget_3) + self.springboardOptionsLbl.setObjectName(u"springboardOptionsLbl") + self.springboardOptionsLbl.setFont(font1) - self.verticalLayout_8.addWidget(self.iphone16SettingsChk) + self.verticalLayout_7.addWidget(self.springboardOptionsLbl) - self.parallaxChk = QCheckBox(self.gestaltPageContent) - self.parallaxChk.setObjectName(u"parallaxChk") + self.verticalSpacer_19 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.verticalLayout_8.addWidget(self.parallaxChk) + self.verticalLayout_7.addItem(self.verticalSpacer_19) - self.horizontalWidget7 = QWidget(self.gestaltPageContent) - self.horizontalWidget7.setObjectName(u"horizontalWidget7") - self.horizontalLayout_10 = QHBoxLayout(self.horizontalWidget7) - self.horizontalLayout_10.setObjectName(u"horizontalLayout_10") - self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0) - self.verticalLayout_8.addWidget(self.horizontalWidget7) + self.horizontalLayout_13.addWidget(self.verticalWidget_3) - self.line_7 = QFrame(self.gestaltPageContent) - self.line_7.setObjectName(u"line_7") - self.line_7.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" -"}") - self.line_7.setFrameShadow(QFrame.Plain) - self.line_7.setFrameShape(QFrame.HLine) + self.horizontalSpacer_6 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.verticalLayout_8.addWidget(self.line_7) + self.horizontalLayout_13.addItem(self.horizontalSpacer_6) - self.stageManagerChk = QCheckBox(self.gestaltPageContent) - self.stageManagerChk.setObjectName(u"stageManagerChk") - self.verticalLayout_8.addWidget(self.stageManagerChk) + self.verticalLayout_10.addWidget(self.horizontalWidget_4) - self.ipadAppsChk = QCheckBox(self.gestaltPageContent) - self.ipadAppsChk.setObjectName(u"ipadAppsChk") + self.line_11 = QFrame(self.springboardOptionsPage) + self.line_11.setObjectName(u"line_11") + self.line_11.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_11.setFrameShadow(QFrame.Plain) + self.line_11.setFrameShape(QFrame.HLine) - self.verticalLayout_8.addWidget(self.ipadAppsChk) + self.verticalLayout_10.addWidget(self.line_11) - self.shutterChk = QCheckBox(self.gestaltPageContent) - self.shutterChk.setObjectName(u"shutterChk") - - self.verticalLayout_8.addWidget(self.shutterChk) - - self.pencilChk = QCheckBox(self.gestaltPageContent) - self.pencilChk.setObjectName(u"pencilChk") + self.springboardOptionsPageContent = QWidget(self.springboardOptionsPage) + self.springboardOptionsPageContent.setObjectName(u"springboardOptionsPageContent") + self.springboardOptionsPageContent.setEnabled(False) + self.springboardOptionsPageContent.setMaximumSize(QSize(650, 16777215)) + self._2 = QVBoxLayout(self.springboardOptionsPageContent) + self._2.setObjectName(u"_2") + self._2.setContentsMargins(0, 0, 0, 0) + self.label_13 = QLabel(self.springboardOptionsPageContent) + self.label_13.setObjectName(u"label_13") - self.verticalLayout_8.addWidget(self.pencilChk) + self._2.addWidget(self.label_13) - self.actionButtonChk = QCheckBox(self.gestaltPageContent) - self.actionButtonChk.setObjectName(u"actionButtonChk") + self.footnoteTxt = QLineEdit(self.springboardOptionsPageContent) + self.footnoteTxt.setObjectName(u"footnoteTxt") - self.verticalLayout_8.addWidget(self.actionButtonChk) + self._2.addWidget(self.footnoteTxt) - self.line_9 = QFrame(self.gestaltPageContent) - self.line_9.setObjectName(u"line_9") - self.line_9.setStyleSheet(u"QFrame {\n" + self.line_6 = QFrame(self.springboardOptionsPageContent) + self.line_6.setObjectName(u"line_6") + self.line_6.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_9.setFrameShadow(QFrame.Plain) - self.line_9.setFrameShape(QFrame.HLine) - - self.verticalLayout_8.addWidget(self.line_9) - - self.internalInstallChk = QCheckBox(self.gestaltPageContent) - self.internalInstallChk.setObjectName(u"internalInstallChk") - - self.verticalLayout_8.addWidget(self.internalInstallChk) + self.line_6.setFrameShadow(QFrame.Plain) + self.line_6.setFrameShape(QFrame.HLine) - self.internalStorageChk = QCheckBox(self.gestaltPageContent) - self.internalStorageChk.setObjectName(u"internalStorageChk") + self._2.addWidget(self.line_6) - self.verticalLayout_8.addWidget(self.internalStorageChk) + self.disableLockRespringChk = QCheckBox(self.springboardOptionsPageContent) + self.disableLockRespringChk.setObjectName(u"disableLockRespringChk") - self.line_10 = QFrame(self.gestaltPageContent) - self.line_10.setObjectName(u"line_10") - self.line_10.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" -"}") - self.line_10.setFrameShadow(QFrame.Plain) - self.line_10.setFrameShape(QFrame.HLine) + self._2.addWidget(self.disableLockRespringChk) - self.verticalLayout_8.addWidget(self.line_10) + self.disableDimmingChk = QCheckBox(self.springboardOptionsPageContent) + self.disableDimmingChk.setObjectName(u"disableDimmingChk") - self.collisionSOSChk = QCheckBox(self.gestaltPageContent) - self.collisionSOSChk.setObjectName(u"collisionSOSChk") + self._2.addWidget(self.disableDimmingChk) - self.verticalLayout_8.addWidget(self.collisionSOSChk) + self.disableBatteryAlertsChk = QCheckBox(self.springboardOptionsPageContent) + self.disableBatteryAlertsChk.setObjectName(u"disableBatteryAlertsChk") - self.sleepApneaChk = QCheckBox(self.gestaltPageContent) - self.sleepApneaChk.setObjectName(u"sleepApneaChk") + self._2.addWidget(self.disableBatteryAlertsChk) - self.verticalLayout_8.addWidget(self.sleepApneaChk) + self.disableCrumbChk = QCheckBox(self.springboardOptionsPageContent) + self.disableCrumbChk.setObjectName(u"disableCrumbChk") - self.aodChk = QCheckBox(self.gestaltPageContent) - self.aodChk.setObjectName(u"aodChk") + self._2.addWidget(self.disableCrumbChk) - self.verticalLayout_8.addWidget(self.aodChk) + self.enableSupervisionTextChk = QCheckBox(self.springboardOptionsPageContent) + self.enableSupervisionTextChk.setObjectName(u"enableSupervisionTextChk") - self.verticalSpacer_3 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self._2.addWidget(self.enableSupervisionTextChk) - self.verticalLayout_8.addItem(self.verticalSpacer_3) + self.enableAirPlayChk = QCheckBox(self.springboardOptionsPageContent) + self.enableAirPlayChk.setObjectName(u"enableAirPlayChk") + self._2.addWidget(self.enableAirPlayChk) - self.verticalLayout_9.addWidget(self.gestaltPageContent) + self.verticalSpacer_5 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.scrollArea.setWidget(self.scrollAreaWidgetContents) + self._2.addItem(self.verticalSpacer_5) - self.verticalLayout_4.addWidget(self.scrollArea) - self.pages.addWidget(self.gestaltPage) - self.customOperationsPage = QWidget() - self.customOperationsPage.setObjectName(u"customOperationsPage") - self.verticalLayout_20 = QVBoxLayout(self.customOperationsPage) - self.verticalLayout_20.setObjectName(u"verticalLayout_20") - self.verticalLayout_20.setContentsMargins(0, 0, 0, 0) - self.horizontalWidget_7 = QWidget(self.customOperationsPage) - self.horizontalWidget_7.setObjectName(u"horizontalWidget_7") - self.horizontalLayout_22 = QHBoxLayout(self.horizontalWidget_7) - self.horizontalLayout_22.setSpacing(10) - self.horizontalLayout_22.setObjectName(u"horizontalLayout_22") - self.horizontalLayout_22.setContentsMargins(0, 9, 0, 9) - self.toolButton_12 = QToolButton(self.horizontalWidget_7) - self.toolButton_12.setObjectName(u"toolButton_12") - self.toolButton_12.setEnabled(False) - self.toolButton_12.setStyleSheet(u"QToolButton {\n" + self.verticalLayout_10.addWidget(self.springboardOptionsPageContent) + + self.pages.addWidget(self.springboardOptionsPage) + self.internalOptionsPage = QWidget() + self.internalOptionsPage.setObjectName(u"internalOptionsPage") + self.verticalLayout_141 = QVBoxLayout(self.internalOptionsPage) + self.verticalLayout_141.setObjectName(u"verticalLayout_141") + self.verticalLayout_141.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_51 = QWidget(self.internalOptionsPage) + self.horizontalWidget_51.setObjectName(u"horizontalWidget_51") + self.horizontalLayout_201 = QHBoxLayout(self.horizontalWidget_51) + self.horizontalLayout_201.setSpacing(10) + self.horizontalLayout_201.setObjectName(u"horizontalLayout_201") + self.horizontalLayout_201.setContentsMargins(0, 9, 0, 9) + self.toolButton_101 = QToolButton(self.horizontalWidget_51) + self.toolButton_101.setObjectName(u"toolButton_101") + self.toolButton_101.setEnabled(False) + self.toolButton_101.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.toolButton_12.setIcon(icon5) - self.toolButton_12.setIconSize(QSize(25, 25)) + self.toolButton_101.setIcon(icon8) - self.horizontalLayout_22.addWidget(self.toolButton_12) + self.horizontalLayout_201.addWidget(self.toolButton_101) - self.verticalWidget_6 = QWidget(self.horizontalWidget_7) - self.verticalWidget_6.setObjectName(u"verticalWidget_6") - self.verticalLayout_18 = QVBoxLayout(self.verticalWidget_6) - self.verticalLayout_18.setSpacing(6) - self.verticalLayout_18.setObjectName(u"verticalLayout_18") - self.verticalLayout_18.setContentsMargins(0, 0, 0, 0) - self.customOperationsLbl = QLabel(self.verticalWidget_6) - self.customOperationsLbl.setObjectName(u"customOperationsLbl") - self.customOperationsLbl.setFont(font1) + self.verticalWidget_41 = QWidget(self.horizontalWidget_51) + self.verticalWidget_41.setObjectName(u"verticalWidget_41") + self.verticalLayout_121 = QVBoxLayout(self.verticalWidget_41) + self.verticalLayout_121.setSpacing(6) + self.verticalLayout_121.setObjectName(u"verticalLayout_121") + self.verticalLayout_121.setContentsMargins(0, 0, 0, 0) + self.internalOptionsLbl1 = QLabel(self.verticalWidget_41) + self.internalOptionsLbl1.setObjectName(u"internalOptionsLbl1") + self.internalOptionsLbl1.setFont(font1) - self.verticalLayout_18.addWidget(self.customOperationsLbl) + self.verticalLayout_121.addWidget(self.internalOptionsLbl1) - self.label_14 = QLabel(self.verticalWidget_6) - self.label_14.setObjectName(u"label_14") + self.verticalSpacer_18 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.verticalLayout_18.addWidget(self.label_14) + self.verticalLayout_121.addItem(self.verticalSpacer_18) - self.horizontalLayout_22.addWidget(self.verticalWidget_6) + self.horizontalLayout_201.addWidget(self.verticalWidget_41) - self.horizontalSpacer_9 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.horizontalSpacer_71 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_22.addItem(self.horizontalSpacer_9) + self.horizontalLayout_201.addItem(self.horizontalSpacer_71) - self.verticalLayout_20.addWidget(self.horizontalWidget_7) + self.verticalLayout_141.addWidget(self.horizontalWidget_51) - self.line_14 = QFrame(self.customOperationsPage) - self.line_14.setObjectName(u"line_14") - self.line_14.setStyleSheet(u"QFrame {\n" + self.line_121 = QFrame(self.internalOptionsPage) + self.line_121.setObjectName(u"line_121") + self.line_121.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_14.setFrameShadow(QFrame.Plain) - self.line_14.setFrameShape(QFrame.HLine) - - self.verticalLayout_20.addWidget(self.line_14) - - self.customOperationsPageContent = QWidget(self.customOperationsPage) - self.customOperationsPageContent.setObjectName(u"customOperationsPageContent") - self.customOperationsPageContent.setEnabled(True) - self.verticalLayout_19 = QVBoxLayout(self.customOperationsPageContent) - self.verticalLayout_19.setObjectName(u"verticalLayout_19") - self.verticalLayout_19.setContentsMargins(0, 0, 0, 0) - self.customOpsTopBtns = QHBoxLayout() -#ifndef Q_OS_MAC - self.customOpsTopBtns.setSpacing(-1) -#endif - self.customOpsTopBtns.setObjectName(u"customOpsTopBtns") - self.customOpsTopBtns.setContentsMargins(-1, -1, -1, 0) - self.horizontalSpacer_17 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.line_121.setFrameShadow(QFrame.Plain) + self.line_121.setFrameShape(QFrame.HLine) - self.customOpsTopBtns.addItem(self.horizontalSpacer_17) + self.verticalLayout_141.addWidget(self.line_121) - self.importOperationBtn = QToolButton(self.customOperationsPageContent) - self.importOperationBtn.setObjectName(u"importOperationBtn") - self.importOperationBtn.setEnabled(True) - icon18 = QIcon() - icon18.addFile(u":/icon/import.svg", QSize(), QIcon.Normal, QIcon.Off) - self.importOperationBtn.setIcon(icon18) - self.importOperationBtn.setIconSize(QSize(20, 20)) - self.importOperationBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + self.internalOptionsPageContent = QWidget(self.internalOptionsPage) + self.internalOptionsPageContent.setObjectName(u"internalOptionsPageContent") + self.internalOptionsPageContent.setEnabled(False) + self.verticalLayout_131 = QVBoxLayout(self.internalOptionsPageContent) + self.verticalLayout_131.setObjectName(u"verticalLayout_131") + self.verticalLayout_131.setContentsMargins(0, 0, 0, 0) + self.buildVersionChk = QCheckBox(self.internalOptionsPageContent) + self.buildVersionChk.setObjectName(u"buildVersionChk") - self.customOpsTopBtns.addWidget(self.importOperationBtn, 0, Qt.AlignLeft) + self.verticalLayout_131.addWidget(self.buildVersionChk) - self.newOperationBtn = QToolButton(self.customOperationsPageContent) - self.newOperationBtn.setObjectName(u"newOperationBtn") - self.newOperationBtn.setEnabled(True) - sizePolicy2.setHeightForWidth(self.newOperationBtn.sizePolicy().hasHeightForWidth()) - self.newOperationBtn.setSizePolicy(sizePolicy2) - self.newOperationBtn.setMinimumSize(QSize(0, 35)) - icon19 = QIcon() - icon19.addFile(u":/icon/plus.svg", QSize(), QIcon.Normal, QIcon.Off) - self.newOperationBtn.setIcon(icon19) - self.newOperationBtn.setIconSize(QSize(16, 16)) - self.newOperationBtn.setCheckable(False) - self.newOperationBtn.setAutoExclusive(True) - self.newOperationBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + self.RTLChk = QCheckBox(self.internalOptionsPageContent) + self.RTLChk.setObjectName(u"RTLChk") - self.customOpsTopBtns.addWidget(self.newOperationBtn, 0, Qt.AlignLeft) + self.verticalLayout_131.addWidget(self.RTLChk) + self.div1 = QFrame(self.internalOptionsPageContent) + self.div1.setObjectName(u"div1") + self.div1.setEnabled(False) + self.div1.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.div1.setFrameShadow(QFrame.Plain) + self.div1.setFrameShape(QFrame.HLine) - self.verticalLayout_19.addLayout(self.customOpsTopBtns) + self.verticalLayout_131.addWidget(self.div1) - self.operationsCnt = QWidget(self.customOperationsPageContent) - self.operationsCnt.setObjectName(u"operationsCnt") - self.operationsCnt.setEnabled(True) - sizePolicy5.setHeightForWidth(self.operationsCnt.sizePolicy().hasHeightForWidth()) - self.operationsCnt.setSizePolicy(sizePolicy5) + self.metalHUDChk = QCheckBox(self.internalOptionsPageContent) + self.metalHUDChk.setObjectName(u"metalHUDChk") - self.verticalLayout_19.addWidget(self.operationsCnt) + self.verticalLayout_131.addWidget(self.metalHUDChk) + self.accessoryChk = QCheckBox(self.internalOptionsPageContent) + self.accessoryChk.setObjectName(u"accessoryChk") - self.verticalLayout_20.addWidget(self.customOperationsPageContent) + self.verticalLayout_131.addWidget(self.accessoryChk) - self.pages.addWidget(self.customOperationsPage) - self.settingsPage = QWidget() - self.settingsPage.setObjectName(u"settingsPage") - self.verticalLayout_10 = QVBoxLayout(self.settingsPage) - self.verticalLayout_10.setObjectName(u"verticalLayout_10") - self.verticalLayout_10.setContentsMargins(0, 0, 0, 0) - self.horizontalWidget_4 = QWidget(self.settingsPage) - self.horizontalWidget_4.setObjectName(u"horizontalWidget_4") - self.horizontalLayout_13 = QHBoxLayout(self.horizontalWidget_4) - self.horizontalLayout_13.setSpacing(10) - self.horizontalLayout_13.setObjectName(u"horizontalLayout_13") - self.horizontalLayout_13.setContentsMargins(0, 9, 0, 9) - self.toolButton_7 = QToolButton(self.horizontalWidget_4) - self.toolButton_7.setObjectName(u"toolButton_7") - self.toolButton_7.setEnabled(False) - self.toolButton_7.setStyleSheet(u"QToolButton {\n" -" icon-size: 24px;\n" -" background-color: transparent;\n" -" padding-left: 0px;\n" -" padding-right: 5px;\n" -" border-radius: 0px;\n" -"}") - self.toolButton_7.setIcon(icon10) + self.iMessageChk = QCheckBox(self.internalOptionsPageContent) + self.iMessageChk.setObjectName(u"iMessageChk") - self.horizontalLayout_13.addWidget(self.toolButton_7) + self.verticalLayout_131.addWidget(self.iMessageChk) - self.verticalWidget_3 = QWidget(self.horizontalWidget_4) - self.verticalWidget_3.setObjectName(u"verticalWidget_3") - self.verticalLayout_7 = QVBoxLayout(self.verticalWidget_3) - self.verticalLayout_7.setSpacing(6) - self.verticalLayout_7.setObjectName(u"verticalLayout_7") - self.verticalLayout_7.setContentsMargins(0, 0, 0, 0) - self.springboardOptionsLbl = QLabel(self.verticalWidget_3) - self.springboardOptionsLbl.setObjectName(u"springboardOptionsLbl") - self.springboardOptionsLbl.setFont(font1) + self.IDSChk = QCheckBox(self.internalOptionsPageContent) + self.IDSChk.setObjectName(u"IDSChk") - self.verticalLayout_7.addWidget(self.springboardOptionsLbl) + self.verticalLayout_131.addWidget(self.IDSChk) - self.verticalSpacer_17 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) + self.VCChk = QCheckBox(self.internalOptionsPageContent) + self.VCChk.setObjectName(u"VCChk") - self.verticalLayout_7.addItem(self.verticalSpacer_17) + self.verticalLayout_131.addWidget(self.VCChk) + self.line_17 = QFrame(self.internalOptionsPageContent) + self.line_17.setObjectName(u"line_17") + self.line_17.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_17.setFrameShadow(QFrame.Plain) + self.line_17.setFrameShape(QFrame.HLine) - self.horizontalLayout_13.addWidget(self.verticalWidget_3) + self.verticalLayout_131.addWidget(self.line_17) - self.horizontalSpacer_6 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.appStoreChk = QCheckBox(self.internalOptionsPageContent) + self.appStoreChk.setObjectName(u"appStoreChk") - self.horizontalLayout_13.addItem(self.horizontalSpacer_6) + self.verticalLayout_131.addWidget(self.appStoreChk) + self.notesChk = QCheckBox(self.internalOptionsPageContent) + self.notesChk.setObjectName(u"notesChk") - self.verticalLayout_10.addWidget(self.horizontalWidget_4) + self.verticalLayout_131.addWidget(self.notesChk) - self.line_11 = QFrame(self.settingsPage) - self.line_11.setObjectName(u"line_11") - self.line_11.setStyleSheet(u"QFrame {\n" + self.line_18 = QFrame(self.internalOptionsPageContent) + self.line_18.setObjectName(u"line_18") + self.line_18.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_11.setFrameShadow(QFrame.Plain) - self.line_11.setFrameShape(QFrame.HLine) + self.line_18.setFrameShadow(QFrame.Plain) + self.line_18.setFrameShape(QFrame.HLine) - self.verticalLayout_10.addWidget(self.line_11) + self.verticalLayout_131.addWidget(self.line_18) - self.settingsPageContent = QWidget(self.settingsPage) - self.settingsPageContent.setObjectName(u"settingsPageContent") - self.settingsPageContent.setEnabled(True) - self.settingsPageContent.setMaximumSize(QSize(650, 16777215)) - self._2 = QVBoxLayout(self.settingsPageContent) - self._2.setObjectName(u"_2") - self._2.setContentsMargins(0, 0, 0, 0) - self.allowWifiApplyingChk = QCheckBox(self.settingsPageContent) - self.allowWifiApplyingChk.setObjectName(u"allowWifiApplyingChk") - self.allowWifiApplyingChk.setChecked(True) + self.showTouchesChk = QCheckBox(self.internalOptionsPageContent) + self.showTouchesChk.setObjectName(u"showTouchesChk") - self._2.addWidget(self.allowWifiApplyingChk) + self.verticalLayout_131.addWidget(self.showTouchesChk) - self.verticalSpacer_5 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.hideRespringChk = QCheckBox(self.internalOptionsPageContent) + self.hideRespringChk.setObjectName(u"hideRespringChk") - self._2.addItem(self.verticalSpacer_5) + self.verticalLayout_131.addWidget(self.hideRespringChk) + self.enableWakeVibrateChk = QCheckBox(self.internalOptionsPageContent) + self.enableWakeVibrateChk.setObjectName(u"enableWakeVibrateChk") - self.verticalLayout_10.addWidget(self.settingsPageContent) + self.verticalLayout_131.addWidget(self.enableWakeVibrateChk) - self.pages.addWidget(self.settingsPage) - self.featureFlagsPage = QWidget() - self.featureFlagsPage.setObjectName(u"featureFlagsPage") - self.verticalLayout_14 = QVBoxLayout(self.featureFlagsPage) - self.verticalLayout_14.setObjectName(u"verticalLayout_14") - self.verticalLayout_14.setContentsMargins(0, 0, 0, 0) - self.horizontalWidget_5 = QWidget(self.featureFlagsPage) - self.horizontalWidget_5.setObjectName(u"horizontalWidget_5") - self.horizontalLayout_20 = QHBoxLayout(self.horizontalWidget_5) - self.horizontalLayout_20.setSpacing(10) - self.horizontalLayout_20.setObjectName(u"horizontalLayout_20") - self.horizontalLayout_20.setContentsMargins(0, 9, 0, 9) - self.toolButton_10 = QToolButton(self.horizontalWidget_5) - self.toolButton_10.setObjectName(u"toolButton_10") - self.toolButton_10.setEnabled(False) - self.toolButton_10.setStyleSheet(u"QToolButton {\n" -" icon-size: 24px;\n" -" background-color: transparent;\n" -" padding-left: 0px;\n" -" padding-right: 5px;\n" -" border-radius: 0px;\n" + self.line_19 = QFrame(self.internalOptionsPageContent) + self.line_19.setObjectName(u"line_19") + self.line_19.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" "}") - self.toolButton_10.setIcon(icon7) + self.line_19.setFrameShadow(QFrame.Plain) + self.line_19.setFrameShape(QFrame.HLine) - self.horizontalLayout_20.addWidget(self.toolButton_10) + self.verticalLayout_131.addWidget(self.line_19) - self.verticalWidget_4 = QWidget(self.horizontalWidget_5) - self.verticalWidget_4.setObjectName(u"verticalWidget_4") - self.verticalLayout_12 = QVBoxLayout(self.verticalWidget_4) - self.verticalLayout_12.setSpacing(6) - self.verticalLayout_12.setObjectName(u"verticalLayout_12") - self.verticalLayout_12.setContentsMargins(0, 0, 0, 0) - self.internalOptionsLbl = QLabel(self.verticalWidget_4) - self.internalOptionsLbl.setObjectName(u"internalOptionsLbl") - self.internalOptionsLbl.setFont(font1) + self.pasteSoundChk = QCheckBox(self.internalOptionsPageContent) + self.pasteSoundChk.setObjectName(u"pasteSoundChk") - self.verticalLayout_12.addWidget(self.internalOptionsLbl) + self.verticalLayout_131.addWidget(self.pasteSoundChk) - self.verticalSpacer_15 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) + self.notifyPastesChk = QCheckBox(self.internalOptionsPageContent) + self.notifyPastesChk.setObjectName(u"notifyPastesChk") - self.verticalLayout_12.addItem(self.verticalSpacer_15) + self.verticalLayout_131.addWidget(self.notifyPastesChk) + self.verticalSpacer_61 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.horizontalLayout_20.addWidget(self.verticalWidget_4) + self.verticalLayout_131.addItem(self.verticalSpacer_61) - self.horizontalSpacer_7 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_20.addItem(self.horizontalSpacer_7) + self.verticalLayout_141.addWidget(self.internalOptionsPageContent) + self.pages.addWidget(self.internalOptionsPage) + self.applyPage = QWidget() + self.applyPage.setObjectName(u"applyPage") + self.verticalLayout_6 = QVBoxLayout(self.applyPage) + self.verticalLayout_6.setObjectName(u"verticalLayout_6") + self.verticalLayout_6.setContentsMargins(0, 0, 0, 0) + self.verticalWidget2 = QWidget(self.applyPage) + self.verticalWidget2.setObjectName(u"verticalWidget2") + self.verticalLayout_24 = QVBoxLayout(self.verticalWidget2) + self.verticalLayout_24.setObjectName(u"verticalLayout_24") + self.verticalLayout_24.setContentsMargins(0, 0, 0, 0) + self.locSimPageHeader_2 = QWidget(self.verticalWidget2) + self.locSimPageHeader_2.setObjectName(u"locSimPageHeader_2") + self.horizontalLayout_33 = QHBoxLayout(self.locSimPageHeader_2) + self.horizontalLayout_33.setSpacing(10) + self.horizontalLayout_33.setObjectName(u"horizontalLayout_33") + self.horizontalLayout_33.setContentsMargins(0, -1, 0, -1) + self.toolButton_18 = QToolButton(self.locSimPageHeader_2) + self.toolButton_18.setObjectName(u"toolButton_18") + self.toolButton_18.setEnabled(False) + self.toolButton_18.setStyleSheet(u"QToolButton {\n" +" icon-size: 24px;\n" +" background-color: transparent;\n" +" padding-left: 0px;\n" +" padding-right: 5px;\n" +" border-radius: 0px;\n" +"}") + self.toolButton_18.setIcon(icon9) - self.verticalLayout_14.addWidget(self.horizontalWidget_5) + self.horizontalLayout_33.addWidget(self.toolButton_18) - self.line_12 = QFrame(self.featureFlagsPage) - self.line_12.setObjectName(u"line_12") - self.line_12.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" -"}") - self.line_12.setFrameShadow(QFrame.Plain) - self.line_12.setFrameShape(QFrame.HLine) + self.verticalWidget_11 = QWidget(self.locSimPageHeader_2) + self.verticalWidget_11.setObjectName(u"verticalWidget_11") + self.verticalLayout_33 = QVBoxLayout(self.verticalWidget_11) + self.verticalLayout_33.setSpacing(6) + self.verticalLayout_33.setObjectName(u"verticalLayout_33") + self.verticalLayout_33.setContentsMargins(0, 0, 0, 0) + self.statusBarLbl_5 = QLabel(self.verticalWidget_11) + self.statusBarLbl_5.setObjectName(u"statusBarLbl_5") + self.statusBarLbl_5.setFont(font1) - self.verticalLayout_14.addWidget(self.line_12) + self.verticalLayout_33.addWidget(self.statusBarLbl_5) - self.featureFlagsPageContent = QWidget(self.featureFlagsPage) - self.featureFlagsPageContent.setObjectName(u"featureFlagsPageContent") - self.featureFlagsPageContent.setEnabled(True) - self.verticalLayout_13 = QVBoxLayout(self.featureFlagsPageContent) - self.verticalLayout_13.setObjectName(u"verticalLayout_13") - self.verticalLayout_13.setContentsMargins(0, 0, 0, 0) - self.clockAnimChk = QCheckBox(self.featureFlagsPageContent) - self.clockAnimChk.setObjectName(u"clockAnimChk") + self.label_16 = QLabel(self.verticalWidget_11) + self.label_16.setObjectName(u"label_16") - self.verticalLayout_13.addWidget(self.clockAnimChk) + self.verticalLayout_33.addWidget(self.label_16) - self.lockscreenChk = QCheckBox(self.featureFlagsPageContent) - self.lockscreenChk.setObjectName(u"lockscreenChk") - self.verticalLayout_13.addWidget(self.lockscreenChk) + self.horizontalLayout_33.addWidget(self.verticalWidget_11) - self.div = QFrame(self.featureFlagsPageContent) - self.div.setObjectName(u"div") - self.div.setEnabled(False) - self.div.setStyleSheet(u"QFrame {\n" + self.horizontalSpacer_15 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_33.addItem(self.horizontalSpacer_15) + + + self.verticalLayout_24.addWidget(self.locSimPageHeader_2) + + self.line_5 = QFrame(self.verticalWidget2) + self.line_5.setObjectName(u"line_5") + self.line_5.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.div.setFrameShadow(QFrame.Plain) - self.div.setFrameShape(QFrame.HLine) + self.line_5.setFrameShadow(QFrame.Plain) + self.line_5.setFrameShape(QFrame.HLine) - self.verticalLayout_13.addWidget(self.div) + self.verticalLayout_24.addWidget(self.line_5) - self.photosChk = QCheckBox(self.featureFlagsPageContent) - self.photosChk.setObjectName(u"photosChk") + self.verticalSpacer_10 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_13.addWidget(self.photosChk) + self.verticalLayout_24.addItem(self.verticalSpacer_10) - self.aiChk = QCheckBox(self.featureFlagsPageContent) - self.aiChk.setObjectName(u"aiChk") + self.modifiedTweaksLbl = QLabel(self.verticalWidget2) + self.modifiedTweaksLbl.setObjectName(u"modifiedTweaksLbl") + self.modifiedTweaksLbl.setAlignment(Qt.AlignCenter) - self.verticalLayout_13.addWidget(self.aiChk) + self.verticalLayout_24.addWidget(self.modifiedTweaksLbl) - self.verticalSpacer_6 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.gestaltLocationLbl = QLabel(self.verticalWidget2) + self.gestaltLocationLbl.setObjectName(u"gestaltLocationLbl") + self.gestaltLocationLbl.setAlignment(Qt.AlignCenter) - self.verticalLayout_13.addItem(self.verticalSpacer_6) + self.verticalLayout_24.addWidget(self.gestaltLocationLbl) + self.horizontalLayout_7 = QHBoxLayout() + self.horizontalLayout_7.setObjectName(u"horizontalLayout_7") + self.horizontalLayout_7.setContentsMargins(-1, 10, -1, 0) + self.chooseGestaltBtn = QToolButton(self.verticalWidget2) + self.chooseGestaltBtn.setObjectName(u"chooseGestaltBtn") + icon18 = QIcon() + icon18.addFile(u":/icon/folder.svg", QSize(), QIcon.Normal, QIcon.Off) + self.chooseGestaltBtn.setIcon(icon18) + self.chooseGestaltBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) - self.verticalLayout_14.addWidget(self.featureFlagsPageContent) + self.horizontalLayout_7.addWidget(self.chooseGestaltBtn) - self.pages.addWidget(self.featureFlagsPage) - self.euEnablerPage = QWidget() - self.euEnablerPage.setObjectName(u"euEnablerPage") - self.verticalLayout_17 = QVBoxLayout(self.euEnablerPage) - self.verticalLayout_17.setObjectName(u"verticalLayout_17") - self.verticalLayout_17.setContentsMargins(0, 0, 0, 0) - self.horizontalWidget_6 = QWidget(self.euEnablerPage) - self.horizontalWidget_6.setObjectName(u"horizontalWidget_6") - self.horizontalLayout_21 = QHBoxLayout(self.horizontalWidget_6) - self.horizontalLayout_21.setSpacing(10) - self.horizontalLayout_21.setObjectName(u"horizontalLayout_21") - self.horizontalLayout_21.setContentsMargins(0, 9, 0, 9) - self.toolButton_11 = QToolButton(self.horizontalWidget_6) - self.toolButton_11.setObjectName(u"toolButton_11") - self.toolButton_11.setEnabled(False) - self.toolButton_11.setStyleSheet(u"QToolButton {\n" + + self.verticalLayout_24.addLayout(self.horizontalLayout_7) + + self.horizontalWidget5 = QWidget(self.verticalWidget2) + self.horizontalWidget5.setObjectName(u"horizontalWidget5") + self.horizontalLayout_17 = QHBoxLayout(self.horizontalWidget5) + self.horizontalLayout_17.setObjectName(u"horizontalLayout_17") + self.horizontalLayout_17.setContentsMargins(0, 0, 0, 0) + self.applyTweaksBtn = QToolButton(self.horizontalWidget5) + self.applyTweaksBtn.setObjectName(u"applyTweaksBtn") + self.applyTweaksBtn.setIcon(icon9) + self.applyTweaksBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + + self.horizontalLayout_17.addWidget(self.applyTweaksBtn) + + + self.verticalLayout_24.addWidget(self.horizontalWidget5) + + self.statusLbl = QLabel(self.verticalWidget2) + self.statusLbl.setObjectName(u"statusLbl") + self.statusLbl.setAlignment(Qt.AlignCenter) + + self.verticalLayout_24.addWidget(self.statusLbl) + + self.restoreProgressBar = QProgressBar(self.verticalWidget2) + self.restoreProgressBar.setObjectName(u"restoreProgressBar") + sizePolicy.setHeightForWidth(self.restoreProgressBar.sizePolicy().hasHeightForWidth()) + self.restoreProgressBar.setSizePolicy(sizePolicy) + self.restoreProgressBar.setMinimumSize(QSize(150, 0)) + self.restoreProgressBar.setValue(0) + self.restoreProgressBar.setAlignment(Qt.AlignCenter) + + self.verticalLayout_24.addWidget(self.restoreProgressBar, 0, Qt.AlignHCenter) + + self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + + self.verticalLayout_24.addItem(self.verticalSpacer_2) + + self.horizontalWidget6 = QWidget(self.verticalWidget2) + self.horizontalWidget6.setObjectName(u"horizontalWidget6") + self.horizontalLayout_25 = QHBoxLayout(self.horizontalWidget6) + self.horizontalLayout_25.setObjectName(u"horizontalLayout_25") + self.horizontalLayout_25.setContentsMargins(0, 0, 0, 0) + self.horizontalSpacer_14 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_25.addItem(self.horizontalSpacer_14) + + self.removeTweaksBtn = QToolButton(self.horizontalWidget6) + self.removeTweaksBtn.setObjectName(u"removeTweaksBtn") + + self.horizontalLayout_25.addWidget(self.removeTweaksBtn) + + self.resetGestaltBtn = QToolButton(self.horizontalWidget6) + self.resetGestaltBtn.setObjectName(u"resetGestaltBtn") + + self.horizontalLayout_25.addWidget(self.resetGestaltBtn) + + self.horizontalSpacer_16 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_25.addItem(self.horizontalSpacer_16) + + + self.verticalLayout_24.addWidget(self.horizontalWidget6) + + + self.verticalLayout_6.addWidget(self.verticalWidget2) + + self.pages.addWidget(self.applyPage) + self.settingsPage = QWidget() + self.settingsPage.setObjectName(u"settingsPage") + self.verticalLayout_101 = QVBoxLayout(self.settingsPage) + self.verticalLayout_101.setObjectName(u"verticalLayout_101") + self.verticalLayout_101.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_41 = QWidget(self.settingsPage) + self.horizontalWidget_41.setObjectName(u"horizontalWidget_41") + self.horizontalLayout_131 = QHBoxLayout(self.horizontalWidget_41) + self.horizontalLayout_131.setSpacing(10) + self.horizontalLayout_131.setObjectName(u"horizontalLayout_131") + self.horizontalLayout_131.setContentsMargins(0, 9, 0, 9) + self.toolButton_71 = QToolButton(self.horizontalWidget_41) + self.toolButton_71.setObjectName(u"toolButton_71") + self.toolButton_71.setEnabled(False) + self.toolButton_71.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.toolButton_11.setIcon(icon4) + self.toolButton_71.setIcon(icon10) - self.horizontalLayout_21.addWidget(self.toolButton_11) + self.horizontalLayout_131.addWidget(self.toolButton_71) - self.verticalWidget_5 = QWidget(self.horizontalWidget_6) - self.verticalWidget_5.setObjectName(u"verticalWidget_5") - self.verticalLayout_15 = QVBoxLayout(self.verticalWidget_5) - self.verticalLayout_15.setSpacing(6) - self.verticalLayout_15.setObjectName(u"verticalLayout_15") - self.verticalLayout_15.setContentsMargins(0, 0, 0, 0) - self.setupOptionsLbl = QLabel(self.verticalWidget_5) - self.setupOptionsLbl.setObjectName(u"setupOptionsLbl") - self.setupOptionsLbl.setFont(font1) + self.verticalWidget_31 = QWidget(self.horizontalWidget_41) + self.verticalWidget_31.setObjectName(u"verticalWidget_31") + self.verticalLayout_71 = QVBoxLayout(self.verticalWidget_31) + self.verticalLayout_71.setSpacing(6) + self.verticalLayout_71.setObjectName(u"verticalLayout_71") + self.verticalLayout_71.setContentsMargins(0, 0, 0, 0) + self.springboardOptionsLbl1 = QLabel(self.verticalWidget_31) + self.springboardOptionsLbl1.setObjectName(u"springboardOptionsLbl1") + self.springboardOptionsLbl1.setFont(font1) - self.verticalLayout_15.addWidget(self.setupOptionsLbl) + self.verticalLayout_71.addWidget(self.springboardOptionsLbl1) - self.euEnablerEnabledChk = QCheckBox(self.verticalWidget_5) - self.euEnablerEnabledChk.setObjectName(u"euEnablerEnabledChk") + self.verticalSpacer_17 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.verticalLayout_15.addWidget(self.euEnablerEnabledChk) + self.verticalLayout_71.addItem(self.verticalSpacer_17) - self.horizontalLayout_21.addWidget(self.verticalWidget_5) + self.horizontalLayout_131.addWidget(self.verticalWidget_31) - self.horizontalSpacer_8 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.horizontalSpacer_61 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_21.addItem(self.horizontalSpacer_8) + self.horizontalLayout_131.addItem(self.horizontalSpacer_61) - self.verticalLayout_17.addWidget(self.horizontalWidget_6) + self.verticalLayout_101.addWidget(self.horizontalWidget_41) - self.line_13 = QFrame(self.euEnablerPage) - self.line_13.setObjectName(u"line_13") - self.line_13.setStyleSheet(u"QFrame {\n" + self.line_111 = QFrame(self.settingsPage) + self.line_111.setObjectName(u"line_111") + self.line_111.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_13.setFrameShadow(QFrame.Plain) - self.line_13.setFrameShape(QFrame.HLine) + self.line_111.setFrameShadow(QFrame.Plain) + self.line_111.setFrameShape(QFrame.HLine) - self.verticalLayout_17.addWidget(self.line_13) + self.verticalLayout_101.addWidget(self.line_111) - self.euEnablerPageContent = QWidget(self.euEnablerPage) - self.euEnablerPageContent.setObjectName(u"euEnablerPageContent") - self.euEnablerPageContent.setEnabled(False) - self.verticalLayout_16 = QVBoxLayout(self.euEnablerPageContent) - self.verticalLayout_16.setObjectName(u"verticalLayout_16") - self.verticalLayout_16.setContentsMargins(0, 0, 0, 0) - self.label_5 = QLabel(self.euEnablerPageContent) - self.label_5.setObjectName(u"label_5") + self.settingsPageContent = QWidget(self.settingsPage) + self.settingsPageContent.setObjectName(u"settingsPageContent") + self.settingsPageContent.setEnabled(True) + self.settingsPageContent.setMaximumSize(QSize(650, 16777215)) + self._21 = QVBoxLayout(self.settingsPageContent) + self._21.setObjectName(u"_21") + self._21.setContentsMargins(0, 0, 0, 0) + self.allowWifiApplyingChk = QCheckBox(self.settingsPageContent) + self.allowWifiApplyingChk.setObjectName(u"allowWifiApplyingChk") + self.allowWifiApplyingChk.setChecked(True) - self.verticalLayout_16.addWidget(self.label_5) + self._21.addWidget(self.allowWifiApplyingChk) - self.methodChoiceDrp = QComboBox(self.euEnablerPageContent) - self.methodChoiceDrp.addItem("") - self.methodChoiceDrp.addItem("") - self.methodChoiceDrp.setObjectName(u"methodChoiceDrp") - self.methodChoiceDrp.setMaximumSize(QSize(150, 16777215)) - self.methodChoiceDrp.setStyleSheet(u"QComboBox {\n" -" background-color: #3b3b3b;\n" -" border: none;\n" -" color: #e8e8e8;\n" -" font-size: 14px;\n" -" padding-left: 8px;\n" -" border-radius: 8px;\n" -"}\n" -"\n" -"QComboBox::drop-down {\n" -" image: url(:/icon/caret-down-fill.svg);\n" -" icon-size: 16px;\n" -" subcontrol-position: right center;\n" -" margin-right: 8px;\n" -"}\n" -"\n" -"QComboBox QAbstractItemView {\n" -" background-color: #3b3b3b;\n" -" outline: none;\n" -" margin-top: 1px;\n" -"}\n" -"\n" -"QComboBox QAbstractItemView::item {\n" -" background-color: #3b3b3b;\n" -" color: #e8e8e8;\n" -" padding-left: 8px;\n" -"}\n" -"\n" -"QComboBox QAbstractItemView::item:hover {\n" -" background-color: #535353;\n" -" color: #ffffff;\n" -"}") + self.verticalSpacer_51 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_16.addWidget(self.methodChoiceDrp) + self._21.addItem(self.verticalSpacer_51) - self.label_6 = QLabel(self.euEnablerPageContent) - self.label_6.setObjectName(u"label_6") - self.verticalLayout_16.addWidget(self.label_6) + self.verticalLayout_101.addWidget(self.settingsPageContent) + + self.pages.addWidget(self.settingsPage) + self.locSimPage = QWidget() + self.locSimPage.setObjectName(u"locSimPage") + self.verticalLayout_28 = QVBoxLayout(self.locSimPage) + self.verticalLayout_28.setObjectName(u"verticalLayout_28") + self.verticalLayout_28.setContentsMargins(0, 0, 0, 0) + self.locSimPageHeader = QWidget(self.locSimPage) + self.locSimPageHeader.setObjectName(u"locSimPageHeader") + self.horizontalLayout_28 = QHBoxLayout(self.locSimPageHeader) + self.horizontalLayout_28.setSpacing(10) + self.horizontalLayout_28.setObjectName(u"horizontalLayout_28") + self.horizontalLayout_28.setContentsMargins(0, -1, 0, -1) + self.toolButton_13 = QToolButton(self.locSimPageHeader) + self.toolButton_13.setObjectName(u"toolButton_13") + self.toolButton_13.setEnabled(False) + self.toolButton_13.setStyleSheet(u"QToolButton {\n" +" icon-size: 24px;\n" +" background-color: transparent;\n" +" padding-left: 0px;\n" +" padding-right: 5px;\n" +" border-radius: 0px;\n" +"}") + self.toolButton_13.setIcon(icon4) + + self.horizontalLayout_28.addWidget(self.toolButton_13) + + self.verticalWidget_8 = QWidget(self.locSimPageHeader) + self.verticalWidget_8.setObjectName(u"verticalWidget_8") + self.verticalLayout_27 = QVBoxLayout(self.verticalWidget_8) + self.verticalLayout_27.setSpacing(6) + self.verticalLayout_27.setObjectName(u"verticalLayout_27") + self.verticalLayout_27.setContentsMargins(0, 0, 0, 0) + self.statusBarLbl_2 = QLabel(self.verticalWidget_8) + self.statusBarLbl_2.setObjectName(u"statusBarLbl_2") + self.statusBarLbl_2.setFont(font1) + + self.verticalLayout_27.addWidget(self.statusBarLbl_2) + + self.label_4 = QLabel(self.verticalWidget_8) + self.label_4.setObjectName(u"label_4") + + self.verticalLayout_27.addWidget(self.label_4) + + + self.horizontalLayout_28.addWidget(self.verticalWidget_8) + + self.horizontalSpacer_11 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_28.addItem(self.horizontalSpacer_11) + + self.loadLocSimBtn = QToolButton(self.locSimPageHeader) + self.loadLocSimBtn.setObjectName(u"loadLocSimBtn") + + self.horizontalLayout_28.addWidget(self.loadLocSimBtn) + + + self.verticalLayout_28.addWidget(self.locSimPageHeader) + + self.line_2 = QFrame(self.locSimPage) + self.line_2.setObjectName(u"line_2") + self.line_2.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_2.setFrameShadow(QFrame.Plain) + self.line_2.setFrameShape(QFrame.HLine) + + self.verticalLayout_28.addWidget(self.line_2) + + self.verticalSpacer_14 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + + self.verticalLayout_28.addItem(self.verticalSpacer_14) + + self.locSimCnt = QWidget(self.locSimPage) + self.locSimCnt.setObjectName(u"locSimCnt") + self.locSimPageContent = QVBoxLayout(self.locSimCnt) + self.locSimPageContent.setObjectName(u"locSimPageContent") + self.locSimPageContent.setContentsMargins(0, 0, 0, 0) + self.verticalWidget3 = QWidget(self.locSimCnt) + self.verticalWidget3.setObjectName(u"verticalWidget3") + self.verticalLayout_29 = QVBoxLayout(self.verticalWidget3) + self.verticalLayout_29.setObjectName(u"verticalLayout_29") + self.verticalLayout_29.setContentsMargins(0, 0, 0, 0) + self.label_7 = QLabel(self.verticalWidget3) + self.label_7.setObjectName(u"label_7") + self.label_7.setAlignment(Qt.AlignCenter) + + self.verticalLayout_29.addWidget(self.label_7) + + self.latitudeTxt = QLineEdit(self.verticalWidget3) + self.latitudeTxt.setObjectName(u"latitudeTxt") + self.latitudeTxt.setAlignment(Qt.AlignCenter) + + self.verticalLayout_29.addWidget(self.latitudeTxt) + + self.label_11 = QLabel(self.verticalWidget3) + self.label_11.setObjectName(u"label_11") + self.label_11.setAlignment(Qt.AlignCenter) + + self.verticalLayout_29.addWidget(self.label_11) + + self.longitudeTxt = QLineEdit(self.verticalWidget3) + self.longitudeTxt.setObjectName(u"longitudeTxt") + self.longitudeTxt.setAlignment(Qt.AlignCenter) + + self.verticalLayout_29.addWidget(self.longitudeTxt) + + self.horizontalWidget7 = QWidget(self.verticalWidget3) + self.horizontalWidget7.setObjectName(u"horizontalWidget7") + self.horizontalLayout_3 = QHBoxLayout(self.horizontalWidget7) + self.horizontalLayout_3.setObjectName(u"horizontalLayout_3") + self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0) + self.setLocationBtn = QToolButton(self.horizontalWidget7) + self.setLocationBtn.setObjectName(u"setLocationBtn") + + self.horizontalLayout_3.addWidget(self.setLocationBtn) + + + self.verticalLayout_29.addWidget(self.horizontalWidget7) + + self.horizontalWidget_22 = QWidget(self.verticalWidget3) + self.horizontalWidget_22.setObjectName(u"horizontalWidget_22") + self.horizontalLayout_29 = QHBoxLayout(self.horizontalWidget_22) + self.horizontalLayout_29.setObjectName(u"horizontalLayout_29") + self.horizontalLayout_29.setContentsMargins(0, 0, 0, 0) + self.resetLocationBtn = QToolButton(self.horizontalWidget_22) + self.resetLocationBtn.setObjectName(u"resetLocationBtn") + + self.horizontalLayout_29.addWidget(self.resetLocationBtn) + + + self.verticalLayout_29.addWidget(self.horizontalWidget_22) + + + self.locSimPageContent.addWidget(self.verticalWidget3) + + + self.verticalLayout_28.addWidget(self.locSimCnt) + + self.verticalSpacer_13 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + + self.verticalLayout_28.addItem(self.verticalSpacer_13) + + self.pages.addWidget(self.locSimPage) + self.customOperationsPage = QWidget() + self.customOperationsPage.setObjectName(u"customOperationsPage") + self.verticalLayout_20 = QVBoxLayout(self.customOperationsPage) + self.verticalLayout_20.setObjectName(u"verticalLayout_20") + self.verticalLayout_20.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_7 = QWidget(self.customOperationsPage) + self.horizontalWidget_7.setObjectName(u"horizontalWidget_7") + self.horizontalLayout_22 = QHBoxLayout(self.horizontalWidget_7) + self.horizontalLayout_22.setSpacing(10) + self.horizontalLayout_22.setObjectName(u"horizontalLayout_22") + self.horizontalLayout_22.setContentsMargins(0, 9, 0, 9) + self.toolButton_12 = QToolButton(self.horizontalWidget_7) + self.toolButton_12.setObjectName(u"toolButton_12") + self.toolButton_12.setEnabled(False) + self.toolButton_12.setStyleSheet(u"QToolButton {\n" +" icon-size: 24px;\n" +" background-color: transparent;\n" +" padding-left: 0px;\n" +" padding-right: 5px;\n" +" border-radius: 0px;\n" +"}") + icon19 = QIcon() + icon19.addFile(u":/icon/pencil.svg", QSize(), QIcon.Normal, QIcon.Off) + self.toolButton_12.setIcon(icon19) + self.toolButton_12.setIconSize(QSize(25, 25)) + + self.horizontalLayout_22.addWidget(self.toolButton_12) + + self.verticalWidget_6 = QWidget(self.horizontalWidget_7) + self.verticalWidget_6.setObjectName(u"verticalWidget_6") + self.verticalLayout_18 = QVBoxLayout(self.verticalWidget_6) + self.verticalLayout_18.setSpacing(6) + self.verticalLayout_18.setObjectName(u"verticalLayout_18") + self.verticalLayout_18.setContentsMargins(0, 0, 0, 0) + self.customOperationsLbl = QLabel(self.verticalWidget_6) + self.customOperationsLbl.setObjectName(u"customOperationsLbl") + self.customOperationsLbl.setFont(font1) + + self.verticalLayout_18.addWidget(self.customOperationsLbl) + + self.label_14 = QLabel(self.verticalWidget_6) + self.label_14.setObjectName(u"label_14") + + self.verticalLayout_18.addWidget(self.label_14) + + + self.horizontalLayout_22.addWidget(self.verticalWidget_6) + + self.horizontalSpacer_9 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_22.addItem(self.horizontalSpacer_9) + + + self.verticalLayout_20.addWidget(self.horizontalWidget_7) + + self.line_14 = QFrame(self.customOperationsPage) + self.line_14.setObjectName(u"line_14") + self.line_14.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_14.setFrameShadow(QFrame.Plain) + self.line_14.setFrameShape(QFrame.HLine) + + self.verticalLayout_20.addWidget(self.line_14) + + self.customOperationsPageContent = QWidget(self.customOperationsPage) + self.customOperationsPageContent.setObjectName(u"customOperationsPageContent") + self.customOperationsPageContent.setEnabled(True) + self.verticalLayout_19 = QVBoxLayout(self.customOperationsPageContent) + self.verticalLayout_19.setObjectName(u"verticalLayout_19") + self.verticalLayout_19.setContentsMargins(0, 0, 0, 0) + self.customOpsTopBtns = QHBoxLayout() +#ifndef Q_OS_MAC + self.customOpsTopBtns.setSpacing(-1) +#endif + self.customOpsTopBtns.setObjectName(u"customOpsTopBtns") + self.customOpsTopBtns.setContentsMargins(-1, -1, -1, 0) + self.horizontalSpacer_17 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.customOpsTopBtns.addItem(self.horizontalSpacer_17) + + self.importOperationBtn = QToolButton(self.customOperationsPageContent) + self.importOperationBtn.setObjectName(u"importOperationBtn") + self.importOperationBtn.setEnabled(True) + icon20 = QIcon() + icon20.addFile(u":/icon/import.svg", QSize(), QIcon.Normal, QIcon.Off) + self.importOperationBtn.setIcon(icon20) + self.importOperationBtn.setIconSize(QSize(20, 20)) + self.importOperationBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + + self.customOpsTopBtns.addWidget(self.importOperationBtn, 0, Qt.AlignLeft) + + self.newOperationBtn = QToolButton(self.customOperationsPageContent) + self.newOperationBtn.setObjectName(u"newOperationBtn") + self.newOperationBtn.setEnabled(True) + sizePolicy2.setHeightForWidth(self.newOperationBtn.sizePolicy().hasHeightForWidth()) + self.newOperationBtn.setSizePolicy(sizePolicy2) + self.newOperationBtn.setMinimumSize(QSize(0, 35)) + icon21 = QIcon() + icon21.addFile(u":/icon/plus.svg", QSize(), QIcon.Normal, QIcon.Off) + self.newOperationBtn.setIcon(icon21) + self.newOperationBtn.setIconSize(QSize(16, 16)) + self.newOperationBtn.setCheckable(False) + self.newOperationBtn.setAutoExclusive(True) + self.newOperationBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + + self.customOpsTopBtns.addWidget(self.newOperationBtn, 0, Qt.AlignLeft) + + + self.verticalLayout_19.addLayout(self.customOpsTopBtns) + + self.operationsCnt = QWidget(self.customOperationsPageContent) + self.operationsCnt.setObjectName(u"operationsCnt") + self.operationsCnt.setEnabled(True) + sizePolicy5 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding) + sizePolicy5.setHorizontalStretch(0) + sizePolicy5.setVerticalStretch(0) + sizePolicy5.setHeightForWidth(self.operationsCnt.sizePolicy().hasHeightForWidth()) + self.operationsCnt.setSizePolicy(sizePolicy5) + + self.verticalLayout_19.addWidget(self.operationsCnt) + + + self.verticalLayout_20.addWidget(self.customOperationsPageContent) + + self.pages.addWidget(self.customOperationsPage) + self.explorePage = QWidget() + self.explorePage.setObjectName(u"explorePage") + self.verticalLayout_31 = QVBoxLayout(self.explorePage) + self.verticalLayout_31.setObjectName(u"verticalLayout_31") + self.verticalLayout_31.setContentsMargins(0, 0, 0, 0) + self.explorePageHeader = QWidget(self.explorePage) + self.explorePageHeader.setObjectName(u"explorePageHeader") + self.horizontalLayout_31 = QHBoxLayout(self.explorePageHeader) + self.horizontalLayout_31.setSpacing(10) + self.horizontalLayout_31.setObjectName(u"horizontalLayout_31") + self.horizontalLayout_31.setContentsMargins(0, -1, 0, -1) + self.toolButton_16 = QToolButton(self.explorePageHeader) + self.toolButton_16.setObjectName(u"toolButton_16") + self.toolButton_16.setEnabled(False) + self.toolButton_16.setStyleSheet(u"QToolButton {\n" +" icon-size: 24px;\n" +" background-color: transparent;\n" +" padding-left: 0px;\n" +" padding-right: 5px;\n" +" border-radius: 0px;\n" +"}") + self.toolButton_16.setIcon(icon3) + + self.horizontalLayout_31.addWidget(self.toolButton_16) + + self.verticalWidget_9 = QWidget(self.explorePageHeader) + self.verticalWidget_9.setObjectName(u"verticalWidget_9") + self.verticalLayout_30 = QVBoxLayout(self.verticalWidget_9) + self.verticalLayout_30.setSpacing(6) + self.verticalLayout_30.setObjectName(u"verticalLayout_30") + self.verticalLayout_30.setContentsMargins(0, 0, 0, 0) + self.exploreLbl = QLabel(self.verticalWidget_9) + self.exploreLbl.setObjectName(u"exploreLbl") + self.exploreLbl.setFont(font1) + + self.verticalLayout_30.addWidget(self.exploreLbl) + + self.exploreSubLbl = QLabel(self.verticalWidget_9) + self.exploreSubLbl.setObjectName(u"exploreSubLbl") + + self.verticalLayout_30.addWidget(self.exploreSubLbl) + + + self.horizontalLayout_31.addWidget(self.verticalWidget_9) + + self.horizontalSpacer_13 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_31.addItem(self.horizontalSpacer_13) - self.regionCodeTxt = QLineEdit(self.euEnablerPageContent) - self.regionCodeTxt.setObjectName(u"regionCodeTxt") - self.verticalLayout_16.addWidget(self.regionCodeTxt) + self.verticalLayout_31.addWidget(self.explorePageHeader) - self.verticalSpacer_7 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.line_3 = QFrame(self.explorePage) + self.line_3.setObjectName(u"line_3") + self.line_3.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_3.setFrameShadow(QFrame.Plain) + self.line_3.setFrameShape(QFrame.HLine) - self.verticalLayout_16.addItem(self.verticalSpacer_7) + self.verticalLayout_31.addWidget(self.line_3) + self.exploreThemesCnt = QWidget(self.explorePage) + self.exploreThemesCnt.setObjectName(u"exploreThemesCnt") + sizePolicy5.setHeightForWidth(self.exploreThemesCnt.sizePolicy().hasHeightForWidth()) + self.exploreThemesCnt.setSizePolicy(sizePolicy5) - self.verticalLayout_17.addWidget(self.euEnablerPageContent) + self.verticalLayout_31.addWidget(self.exploreThemesCnt) - self.pages.addWidget(self.euEnablerPage) - self.applyPage = QWidget() - self.applyPage.setObjectName(u"applyPage") - self.verticalLayout_6 = QVBoxLayout(self.applyPage) - self.verticalLayout_6.setObjectName(u"verticalLayout_6") - self.verticalLayout_6.setContentsMargins(0, 0, 0, 0) - self.verticalWidget3 = QWidget(self.applyPage) - self.verticalWidget3.setObjectName(u"verticalWidget3") - self.verticalLayout_24 = QVBoxLayout(self.verticalWidget3) - self.verticalLayout_24.setObjectName(u"verticalLayout_24") - self.verticalLayout_24.setContentsMargins(0, 0, 0, 0) - self.locSimPageHeader_2 = QWidget(self.verticalWidget3) - self.locSimPageHeader_2.setObjectName(u"locSimPageHeader_2") - self.horizontalLayout_33 = QHBoxLayout(self.locSimPageHeader_2) - self.horizontalLayout_33.setSpacing(10) - self.horizontalLayout_33.setObjectName(u"horizontalLayout_33") - self.horizontalLayout_33.setContentsMargins(0, -1, 0, -1) - self.toolButton_18 = QToolButton(self.locSimPageHeader_2) - self.toolButton_18.setObjectName(u"toolButton_18") - self.toolButton_18.setEnabled(False) - self.toolButton_18.setStyleSheet(u"QToolButton {\n" + self.pages.addWidget(self.explorePage) + self.themingPage = QWidget() + self.themingPage.setObjectName(u"themingPage") + self.verticalLayout_23 = QVBoxLayout(self.themingPage) + self.verticalLayout_23.setObjectName(u"verticalLayout_23") + self.verticalLayout_23.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_8 = QWidget(self.themingPage) + self.horizontalWidget_8.setObjectName(u"horizontalWidget_8") + self.horizontalLayout_23 = QHBoxLayout(self.horizontalWidget_8) + self.horizontalLayout_23.setSpacing(10) + self.horizontalLayout_23.setObjectName(u"horizontalLayout_23") + self.horizontalLayout_23.setContentsMargins(0, 9, 0, 9) + self.themesBtn = QToolButton(self.horizontalWidget_8) + self.themesBtn.setObjectName(u"themesBtn") + self.themesBtn.setEnabled(True) + self.themesBtn.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.toolButton_18.setIcon(icon9) - - self.horizontalLayout_33.addWidget(self.toolButton_18) - - self.verticalWidget_11 = QWidget(self.locSimPageHeader_2) - self.verticalWidget_11.setObjectName(u"verticalWidget_11") - self.verticalLayout_33 = QVBoxLayout(self.verticalWidget_11) - self.verticalLayout_33.setSpacing(6) - self.verticalLayout_33.setObjectName(u"verticalLayout_33") - self.verticalLayout_33.setContentsMargins(0, 0, 0, 0) - self.statusBarLbl_5 = QLabel(self.verticalWidget_11) - self.statusBarLbl_5.setObjectName(u"statusBarLbl_5") - self.statusBarLbl_5.setFont(font1) - - self.verticalLayout_33.addWidget(self.statusBarLbl_5) - - self.label_16 = QLabel(self.verticalWidget_11) - self.label_16.setObjectName(u"label_16") + self.themesBtn.setIcon(icon5) + self.themesBtn.setIconSize(QSize(30, 30)) - self.verticalLayout_33.addWidget(self.label_16) + self.horizontalLayout_23.addWidget(self.themesBtn) + self.verticalWidget_7 = QWidget(self.horizontalWidget_8) + self.verticalWidget_7.setObjectName(u"verticalWidget_7") + self.verticalLayout_21 = QVBoxLayout(self.verticalWidget_7) + self.verticalLayout_21.setSpacing(6) + self.verticalLayout_21.setObjectName(u"verticalLayout_21") + self.verticalLayout_21.setContentsMargins(0, 0, 0, 0) + self.themesLbl = QLabel(self.verticalWidget_7) + self.themesLbl.setObjectName(u"themesLbl") + self.themesLbl.setFont(font1) - self.horizontalLayout_33.addWidget(self.verticalWidget_11) + self.verticalLayout_21.addWidget(self.themesLbl) - self.horizontalSpacer_15 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_33.addItem(self.horizontalSpacer_15) + self.horizontalLayout_23.addWidget(self.verticalWidget_7) + self.horizontalSpacer_10 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.verticalLayout_24.addWidget(self.locSimPageHeader_2) + self.horizontalLayout_23.addItem(self.horizontalSpacer_10) - self.line_5 = QFrame(self.verticalWidget3) - self.line_5.setObjectName(u"line_5") - self.line_5.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" + self.horizontalWidget8 = QWidget(self.horizontalWidget_8) + self.horizontalWidget8.setObjectName(u"horizontalWidget8") + self.horizontalLayout_26 = QHBoxLayout(self.horizontalWidget8) + self.horizontalLayout_26.setObjectName(u"horizontalLayout_26") + self.horizontalLayout_26.setContentsMargins(0, 0, 0, 0) + self.importThemeBtn = QToolButton(self.horizontalWidget8) + self.importThemeBtn.setObjectName(u"importThemeBtn") + self.importThemeBtn.setEnabled(False) + self.importThemeBtn.setStyleSheet(u"QToolButton {\n" +" background: none;\n" "}") - self.line_5.setFrameShadow(QFrame.Plain) - self.line_5.setFrameShape(QFrame.HLine) - self.verticalLayout_24.addWidget(self.line_5) + self.horizontalLayout_26.addWidget(self.importThemeBtn) - self.verticalSpacer_10 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.importThemeFolderBtn = QToolButton(self.horizontalWidget8) + self.importThemeFolderBtn.setObjectName(u"importThemeFolderBtn") + self.importThemeFolderBtn.setIcon(icon18) - self.verticalLayout_24.addItem(self.verticalSpacer_10) + self.horizontalLayout_26.addWidget(self.importThemeFolderBtn) - self.modifiedTweaksLbl = QLabel(self.verticalWidget3) - self.modifiedTweaksLbl.setObjectName(u"modifiedTweaksLbl") - self.modifiedTweaksLbl.setAlignment(Qt.AlignCenter) + self.importThemeZipBtn = QToolButton(self.horizontalWidget8) + self.importThemeZipBtn.setObjectName(u"importThemeZipBtn") + icon22 = QIcon() + icon22.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Normal, QIcon.Off) + self.importThemeZipBtn.setIcon(icon22) - self.verticalLayout_24.addWidget(self.modifiedTweaksLbl) + self.horizontalLayout_26.addWidget(self.importThemeZipBtn) - self.gestaltLocationLbl = QLabel(self.verticalWidget3) - self.gestaltLocationLbl.setObjectName(u"gestaltLocationLbl") - self.gestaltLocationLbl.setAlignment(Qt.AlignCenter) - self.verticalLayout_24.addWidget(self.gestaltLocationLbl) + self.horizontalLayout_23.addWidget(self.horizontalWidget8) - self.horizontalLayout_7 = QHBoxLayout() - self.horizontalLayout_7.setObjectName(u"horizontalLayout_7") - self.horizontalLayout_7.setContentsMargins(-1, 10, -1, 0) - self.chooseGestaltBtn = QToolButton(self.verticalWidget3) - self.chooseGestaltBtn.setObjectName(u"chooseGestaltBtn") - self.chooseGestaltBtn.setIcon(icon16) - self.chooseGestaltBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) - self.horizontalLayout_7.addWidget(self.chooseGestaltBtn) + self.verticalLayout_23.addWidget(self.horizontalWidget_8) + self.line_15 = QFrame(self.themingPage) + self.line_15.setObjectName(u"line_15") + self.line_15.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_15.setFrameShadow(QFrame.Plain) + self.line_15.setFrameShape(QFrame.HLine) - self.verticalLayout_24.addLayout(self.horizontalLayout_7) + self.verticalLayout_23.addWidget(self.line_15) - self.horizontalWidget8 = QWidget(self.verticalWidget3) - self.horizontalWidget8.setObjectName(u"horizontalWidget8") - self.horizontalLayout_17 = QHBoxLayout(self.horizontalWidget8) - self.horizontalLayout_17.setObjectName(u"horizontalLayout_17") - self.horizontalLayout_17.setContentsMargins(0, 0, 0, 0) - self.applyTweaksBtn = QToolButton(self.horizontalWidget8) - self.applyTweaksBtn.setObjectName(u"applyTweaksBtn") - self.applyTweaksBtn.setIcon(icon9) - self.applyTweaksBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + self.themesPageContent = QWidget(self.themingPage) + self.themesPageContent.setObjectName(u"themesPageContent") + self.themesPageContent.setEnabled(False) + self.verticalLayout_22 = QVBoxLayout(self.themesPageContent) + self.verticalLayout_22.setObjectName(u"verticalLayout_22") + self.verticalLayout_22.setContentsMargins(0, 0, 0, 0) + self.themesCnt = QWidget(self.themesPageContent) + self.themesCnt.setObjectName(u"themesCnt") - self.horizontalLayout_17.addWidget(self.applyTweaksBtn) + self.verticalLayout_22.addWidget(self.themesCnt) + self.line = QFrame(self.themesPageContent) + self.line.setObjectName(u"line") + self.line.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line.setFrameShadow(QFrame.Plain) + self.line.setFrameShape(QFrame.HLine) - self.verticalLayout_24.addWidget(self.horizontalWidget8) + self.verticalLayout_22.addWidget(self.line) - self.statusLbl = QLabel(self.verticalWidget3) - self.statusLbl.setObjectName(u"statusLbl") - self.statusLbl.setAlignment(Qt.AlignCenter) + self.label_3 = QLabel(self.themesPageContent) + self.label_3.setObjectName(u"label_3") - self.verticalLayout_24.addWidget(self.statusLbl) + self.verticalLayout_22.addWidget(self.label_3) - self.restoreProgressBar = QProgressBar(self.verticalWidget3) - self.restoreProgressBar.setObjectName(u"restoreProgressBar") - sizePolicy.setHeightForWidth(self.restoreProgressBar.sizePolicy().hasHeightForWidth()) - self.restoreProgressBar.setSizePolicy(sizePolicy) - self.restoreProgressBar.setMinimumSize(QSize(150, 0)) - self.restoreProgressBar.setValue(0) - self.restoreProgressBar.setAlignment(Qt.AlignCenter) + self.iconsCnt = QWidget(self.themesPageContent) + self.iconsCnt.setObjectName(u"iconsCnt") - self.verticalLayout_24.addWidget(self.restoreProgressBar, 0, Qt.AlignHCenter) + self.verticalLayout_22.addWidget(self.iconsCnt) - self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.verticalSpacer_9 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_24.addItem(self.verticalSpacer_2) + self.verticalLayout_22.addItem(self.verticalSpacer_9) - self.horizontalWidget9 = QWidget(self.verticalWidget3) + self.horizontalWidget9 = QWidget(self.themesPageContent) self.horizontalWidget9.setObjectName(u"horizontalWidget9") - self.horizontalLayout_25 = QHBoxLayout(self.horizontalWidget9) - self.horizontalLayout_25.setObjectName(u"horizontalLayout_25") - self.horizontalLayout_25.setContentsMargins(0, 0, 0, 0) - self.horizontalSpacer_14 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - - self.horizontalLayout_25.addItem(self.horizontalSpacer_14) - - self.removeTweaksBtn = QToolButton(self.horizontalWidget9) - self.removeTweaksBtn.setObjectName(u"removeTweaksBtn") + self.horizontalLayout_16 = QHBoxLayout(self.horizontalWidget9) + self.horizontalLayout_16.setObjectName(u"horizontalLayout_16") + self.horizontalLayout_16.setContentsMargins(0, 0, 0, 0) + self.hideNamesBtn = QToolButton(self.horizontalWidget9) + self.hideNamesBtn.setObjectName(u"hideNamesBtn") + sizePolicy2.setHeightForWidth(self.hideNamesBtn.sizePolicy().hasHeightForWidth()) + self.hideNamesBtn.setSizePolicy(sizePolicy2) - self.horizontalLayout_25.addWidget(self.removeTweaksBtn) + self.horizontalLayout_16.addWidget(self.hideNamesBtn) - self.resetGestaltBtn = QToolButton(self.horizontalWidget9) - self.resetGestaltBtn.setObjectName(u"resetGestaltBtn") + self.borderAllBtn = QToolButton(self.horizontalWidget9) + self.borderAllBtn.setObjectName(u"borderAllBtn") + sizePolicy2.setHeightForWidth(self.borderAllBtn.sizePolicy().hasHeightForWidth()) + self.borderAllBtn.setSizePolicy(sizePolicy2) - self.horizontalLayout_25.addWidget(self.resetGestaltBtn) + self.horizontalLayout_16.addWidget(self.borderAllBtn) - self.horizontalSpacer_16 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.addAllBtn = QToolButton(self.horizontalWidget9) + self.addAllBtn.setObjectName(u"addAllBtn") + sizePolicy2.setHeightForWidth(self.addAllBtn.sizePolicy().hasHeightForWidth()) + self.addAllBtn.setSizePolicy(sizePolicy2) - self.horizontalLayout_25.addItem(self.horizontalSpacer_16) + self.horizontalLayout_16.addWidget(self.addAllBtn) - self.verticalLayout_24.addWidget(self.horizontalWidget9) + self.verticalLayout_22.addWidget(self.horizontalWidget9) - self.verticalLayout_6.addWidget(self.verticalWidget3) + self.verticalLayout_23.addWidget(self.themesPageContent) - self.pages.addWidget(self.applyPage) + self.pages.addWidget(self.themingPage) self._3.addWidget(self.pages) @@ -2118,14 +2471,14 @@ def retranslateUi(self, Nugget): self.explorePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.locSimPageBtn.setText(QCoreApplication.translate("Nugget", u" Location Simulation", None)) self.locSimPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) - self.customOperationsPageBtn.setText(QCoreApplication.translate("Nugget", u" Custom Operations", None)) - self.customOperationsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.gestaltPageBtn.setText(QCoreApplication.translate("Nugget", u" Mobile Gestalt", None)) self.gestaltPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.featureFlagsPageBtn.setText(QCoreApplication.translate("Nugget", u" Feature Flags", None)) self.featureFlagsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.euEnablerPageBtn.setText(QCoreApplication.translate("Nugget", u" EU Enabler", None)) self.euEnablerPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.springboardOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Springboard Options", None)) + self.springboardOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.internalOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Internal Options", None)) self.internalOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.applyPageBtn.setText(QCoreApplication.translate("Nugget", u" Apply", None)) @@ -2137,8 +2490,10 @@ def retranslateUi(self, Nugget): self.bigNuggetBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) self.label_2.setText(QCoreApplication.translate("Nugget", u"Nugget", None)) self.discordBtn.setText(QCoreApplication.translate("Nugget", u" Join the Discord", None)) + self.starOnGithubBtn.setText(QCoreApplication.translate("Nugget", u"Star on Github", None)) self.leminBtn.setText(QCoreApplication.translate("Nugget", u" LeminLimez", None)) self.leminTwitterBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) + self.leminGithubBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) self.leminKoFiBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) self.toolButton_14.setText(QCoreApplication.translate("Nugget", u"Main Developer", None)) self.helpFromBtn.setText(QCoreApplication.translate("Nugget", u"With Help From", None)) @@ -2152,25 +2507,6 @@ def retranslateUi(self, Nugget): self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 1)", None)) - self.exploreLbl.setText(QCoreApplication.translate("Nugget", u"Explore", None)) - self.exploreSubLbl.setText("") - self.statusBarLbl_2.setText(QCoreApplication.translate("Nugget", u"Location Simulation", None)) - self.label_4.setText("") - self.loadLocSimBtn.setText(QCoreApplication.translate("Nugget", u"Start Location Simulation", None)) - self.label_7.setText(QCoreApplication.translate("Nugget", u"Latitude", None)) - self.latitudeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"XXX.XXXXX", None)) - self.label_11.setText(QCoreApplication.translate("Nugget", u"Longitude", None)) - self.longitudeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"XXX.XXXXX", None)) - self.setLocationBtn.setText(QCoreApplication.translate("Nugget", u"Set Location", None)) - self.resetLocationBtn.setText(QCoreApplication.translate("Nugget", u"Reset Location", None)) - self.themesLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt Modifications", None)) - self.importThemeBtn.setText(QCoreApplication.translate("Nugget", u"Import Theme:", None)) - self.importThemeFolderBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) - self.importThemeZipBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) - self.label_3.setText(QCoreApplication.translate("Nugget", u"Customize Individual Apps", None)) - self.hideNamesBtn.setText(QCoreApplication.translate("Nugget", u"Hide/Show All App Names", None)) - self.borderAllBtn.setText(QCoreApplication.translate("Nugget", u"Toggle All \"Border\"", None)) - self.addAllBtn.setText(QCoreApplication.translate("Nugget", u"Toggle All \"Add to Device\"", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) @@ -2192,6 +2528,7 @@ def retranslateUi(self, Nugget): self.stageManagerChk.setText(QCoreApplication.translate("Nugget", u"Enable Stage Manager Supported (WARNING: risky on some devices, mainly phones)", None)) self.ipadAppsChk.setText(QCoreApplication.translate("Nugget", u"Allow iPad Apps on iPhone", None)) self.shutterChk.setText(QCoreApplication.translate("Nugget", u"Disable Region Restrictions (ie. Shutter Sound)", None)) + self.findMyFriendsChk.setText(QCoreApplication.translate("Nugget", u"Enable Find My Friends", None)) self.pencilChk.setText(QCoreApplication.translate("Nugget", u"Enable Apple Pencil Settings Tab", None)) self.actionButtonChk.setText(QCoreApplication.translate("Nugget", u"Enable Action Button Settings Tab", None)) self.internalInstallChk.setText(QCoreApplication.translate("Nugget", u"Set as Apple Internal Install (ie Metal HUD in any app)", None)) @@ -2199,12 +2536,6 @@ def retranslateUi(self, Nugget): self.collisionSOSChk.setText(QCoreApplication.translate("Nugget", u"Enable Collision SOS", None)) self.sleepApneaChk.setText(QCoreApplication.translate("Nugget", u"Enable Sleep Apnea (real) [for Apple Watches]", None)) self.aodChk.setText(QCoreApplication.translate("Nugget", u"Enable Always On Display", None)) - self.customOperationsLbl.setText(QCoreApplication.translate("Nugget", u"Custom Operations", None)) - self.label_14.setText("") - self.importOperationBtn.setText(QCoreApplication.translate("Nugget", u" Import .cowperation", None)) - self.newOperationBtn.setText(QCoreApplication.translate("Nugget", u" New Operation", None)) - self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None)) - self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) self.internalOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Feature Flags", None)) self.clockAnimChk.setText(QCoreApplication.translate("Nugget", u"Enable Lockscreen Clock Animation", None)) self.lockscreenChk.setText(QCoreApplication.translate("Nugget", u"Enable Duplicate Lockscreen Button and Lockscreen Quickswitch", None)) @@ -2218,6 +2549,30 @@ def retranslateUi(self, Nugget): self.label_6.setText(QCoreApplication.translate("Nugget", u"Region Code (Should be 2 letters)", None)) self.regionCodeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Region Code (Default: US)", None)) + self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Springboard Options", None)) + self.label_13.setText(QCoreApplication.translate("Nugget", u"Lock Screen Footnote Text", None)) + self.footnoteTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Footnote Text", None)) + self.disableLockRespringChk.setText(QCoreApplication.translate("Nugget", u"Disable Lock After Respring", None)) + self.disableDimmingChk.setText(QCoreApplication.translate("Nugget", u"Disable Screen Dimming While Charging", None)) + self.disableBatteryAlertsChk.setText(QCoreApplication.translate("Nugget", u"Disable Low Battery Alerts", None)) + self.disableCrumbChk.setText(QCoreApplication.translate("Nugget", u"Disable Breadcrumbs", None)) + self.enableSupervisionTextChk.setText(QCoreApplication.translate("Nugget", u"Show Supervision Text on Lock Screen", None)) + self.enableAirPlayChk.setText(QCoreApplication.translate("Nugget", u"Enable AirPlay support for Stage Manager", None)) + self.internalOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Internal Options", None)) + self.buildVersionChk.setText(QCoreApplication.translate("Nugget", u"Show Build Version in Status Bar", None)) + self.RTLChk.setText(QCoreApplication.translate("Nugget", u"Force Right-to-Left Layout", None)) + self.metalHUDChk.setText(QCoreApplication.translate("Nugget", u"Enable Metal HUD Debug", None)) + self.accessoryChk.setText(QCoreApplication.translate("Nugget", u"Enable Accessory Developer", None)) + self.iMessageChk.setText(QCoreApplication.translate("Nugget", u"Enable iMessage Debugging", None)) + self.IDSChk.setText(QCoreApplication.translate("Nugget", u"Enable Continuity Debugging", None)) + self.VCChk.setText(QCoreApplication.translate("Nugget", u"Enable FaceTime Debugging", None)) + self.appStoreChk.setText(QCoreApplication.translate("Nugget", u"Enable App Store Debug Gesture", None)) + self.notesChk.setText(QCoreApplication.translate("Nugget", u"Enable Notes Debug Mode", None)) + self.showTouchesChk.setText(QCoreApplication.translate("Nugget", u"Show Touches With Debug Info", None)) + self.hideRespringChk.setText(QCoreApplication.translate("Nugget", u"Hide Respring Icon", None)) + self.enableWakeVibrateChk.setText(QCoreApplication.translate("Nugget", u"Vibrate on Raise-to-Wake", None)) + self.pasteSoundChk.setText(QCoreApplication.translate("Nugget", u"Play Sound on Paste", None)) + self.notifyPastesChk.setText(QCoreApplication.translate("Nugget", u"Show Notifications for System Pastes", None)) self.statusBarLbl_5.setText(QCoreApplication.translate("Nugget", u"Apply", None)) self.label_16.setText("") self.modifiedTweaksLbl.setText(QCoreApplication.translate("Nugget", u"Current gestalt file location:", None)) @@ -2227,5 +2582,30 @@ def retranslateUi(self, Nugget): self.statusLbl.setText(QCoreApplication.translate("Nugget", u"Ready!", None)) self.removeTweaksBtn.setText(QCoreApplication.translate("Nugget", u"Remove All Tweaks", None)) self.resetGestaltBtn.setText(QCoreApplication.translate("Nugget", u"Reset Mobile Gestalt", None)) + self.springboardOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None)) + self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) + self.statusBarLbl_2.setText(QCoreApplication.translate("Nugget", u"Location Simulation", None)) + self.label_4.setText("") + self.loadLocSimBtn.setText(QCoreApplication.translate("Nugget", u"Start Location Simulation", None)) + self.label_7.setText(QCoreApplication.translate("Nugget", u"Latitude", None)) + self.latitudeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"XXX.XXXXX", None)) + self.label_11.setText(QCoreApplication.translate("Nugget", u"Longitude", None)) + self.longitudeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"XXX.XXXXX", None)) + self.setLocationBtn.setText(QCoreApplication.translate("Nugget", u"Set Location", None)) + self.resetLocationBtn.setText(QCoreApplication.translate("Nugget", u"Reset Location", None)) + self.customOperationsLbl.setText(QCoreApplication.translate("Nugget", u"Custom Operations", None)) + self.label_14.setText("") + self.importOperationBtn.setText(QCoreApplication.translate("Nugget", u" Import .cowperation", None)) + self.newOperationBtn.setText(QCoreApplication.translate("Nugget", u" New Operation", None)) + self.exploreLbl.setText(QCoreApplication.translate("Nugget", u"Explore", None)) + self.exploreSubLbl.setText("") + self.themesLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt Modifications", None)) + self.importThemeBtn.setText(QCoreApplication.translate("Nugget", u"Import Theme:", None)) + self.importThemeFolderBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) + self.importThemeZipBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) + self.label_3.setText(QCoreApplication.translate("Nugget", u"Customize Individual Apps", None)) + self.hideNamesBtn.setText(QCoreApplication.translate("Nugget", u"Hide/Show All App Names", None)) + self.borderAllBtn.setText(QCoreApplication.translate("Nugget", u"Toggle All \"Border\"", None)) + self.addAllBtn.setText(QCoreApplication.translate("Nugget", u"Toggle All \"Add to Device\"", None)) # retranslateUi diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index b215989..1f68bd7 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -343,26 +343,13 @@ def setupUi(self, Nugget): self.verticalLayout.addWidget(self.sidebarDiv1) - self.customOperationsPageBtn = QToolButton(self.sidebar) - self.customOperationsPageBtn.setObjectName(u"customOperationsPageBtn") - sizePolicy2.setHeightForWidth(self.customOperationsPageBtn.sizePolicy().hasHeightForWidth()) - self.customOperationsPageBtn.setSizePolicy(sizePolicy2) - icon5 = QIcon() - icon5.addFile(u":/icon/pencil.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.customOperationsPageBtn.setIcon(icon5) - self.customOperationsPageBtn.setCheckable(True) - self.customOperationsPageBtn.setAutoExclusive(True) - self.customOperationsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) - - self.verticalLayout.addWidget(self.customOperationsPageBtn) - self.gestaltPageBtn = QToolButton(self.sidebar) self.gestaltPageBtn.setObjectName(u"gestaltPageBtn") sizePolicy2.setHeightForWidth(self.gestaltPageBtn.sizePolicy().hasHeightForWidth()) self.gestaltPageBtn.setSizePolicy(sizePolicy2) - icon6 = QIcon() - icon6.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.gestaltPageBtn.setIcon(icon6) + icon5 = QIcon() + icon5.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.gestaltPageBtn.setIcon(icon5) self.gestaltPageBtn.setIconSize(QSize(24, 28)) self.gestaltPageBtn.setCheckable(True) self.gestaltPageBtn.setAutoExclusive(True) @@ -378,9 +365,9 @@ def setupUi(self, Nugget): font = QFont() font.setFamilies([u".AppleSystemUIFont"]) self.featureFlagsPageBtn.setFont(font) - icon7 = QIcon() - icon7.addFile(u":/icon/flag.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.featureFlagsPageBtn.setIcon(icon7) + icon6 = QIcon() + icon6.addFile(u":/icon/flag.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.featureFlagsPageBtn.setIcon(icon6) self.featureFlagsPageBtn.setCheckable(True) self.featureFlagsPageBtn.setAutoExclusive(True) self.featureFlagsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) @@ -398,6 +385,19 @@ def setupUi(self, Nugget): self.verticalLayout.addWidget(self.euEnablerPageBtn) + self.springboardOptionsPageBtn = QToolButton(self.sidebar) + self.springboardOptionsPageBtn.setObjectName(u"springboardOptionsPageBtn") + sizePolicy2.setHeightForWidth(self.springboardOptionsPageBtn.sizePolicy().hasHeightForWidth()) + self.springboardOptionsPageBtn.setSizePolicy(sizePolicy2) + icon7 = QIcon() + icon7.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.springboardOptionsPageBtn.setIcon(icon7) + self.springboardOptionsPageBtn.setCheckable(True) + self.springboardOptionsPageBtn.setAutoExclusive(True) + self.springboardOptionsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + + self.verticalLayout.addWidget(self.springboardOptionsPageBtn) + self.internalOptionsPageBtn = QToolButton(self.sidebar) self.internalOptionsPageBtn.setObjectName(u"internalOptionsPageBtn") sizePolicy2.setHeightForWidth(self.internalOptionsPageBtn.sizePolicy().hasHeightForWidth()) @@ -582,6 +582,9 @@ def setupUi(self, Nugget): self.verticalLayout_26.addItem(self.verticalSpacer_12) + self.horizontalLayout_8 = QHBoxLayout() + self.horizontalLayout_8.setObjectName(u"horizontalLayout_8") + self.horizontalLayout_8.setContentsMargins(-1, -1, 0, 0) self.discordBtn = QToolButton(self.verticalWidget1) self.discordBtn.setObjectName(u"discordBtn") icon12 = QIcon() @@ -589,7 +592,19 @@ def setupUi(self, Nugget): self.discordBtn.setIcon(icon12) self.discordBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) - self.verticalLayout_26.addWidget(self.discordBtn) + self.horizontalLayout_8.addWidget(self.discordBtn) + + self.starOnGithubBtn = QToolButton(self.verticalWidget1) + self.starOnGithubBtn.setObjectName(u"starOnGithubBtn") + icon13 = QIcon() + icon13.addFile(u":/icon/star.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.starOnGithubBtn.setIcon(icon13) + self.starOnGithubBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + + self.horizontalLayout_8.addWidget(self.starOnGithubBtn) + + + self.verticalLayout_26.addLayout(self.horizontalLayout_8) self.verticalSpacer_4 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) @@ -625,9 +640,9 @@ def setupUi(self, Nugget): self.leminBtn.setStyleSheet(u"QToolButton {\n" " background: none;\n" "}") - icon13 = QIcon() - icon13.addFile(u":/credits/LeminLimez.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.leminBtn.setIcon(icon13) + icon14 = QIcon() + icon14.addFile(u":/credits/LeminLimez.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.leminBtn.setIcon(icon14) self.leminBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) self.horizontalLayout_6.addWidget(self.leminBtn) @@ -645,12 +660,31 @@ def setupUi(self, Nugget): " background-color: #535353;\n" " color: #FFFFFF;\n" "}") - icon14 = QIcon() - icon14.addFile(u":/icon/twitter.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.leminTwitterBtn.setIcon(icon14) + icon15 = QIcon() + icon15.addFile(u":/icon/twitter.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.leminTwitterBtn.setIcon(icon15) self.horizontalLayout_6.addWidget(self.leminTwitterBtn) + self.leminGithubBtn = QToolButton(self.horizontalWidget2) + self.leminGithubBtn.setObjectName(u"leminGithubBtn") + self.leminGithubBtn.setStyleSheet(u"QToolButton {\n" +" border-radius: 0px;\n" +" background: none;\n" +" border: 1px solid #3b3b3b;\n" +" border-left: none;\n" +"}\n" +"\n" +"QToolButton:pressed {\n" +" background-color: #535353;\n" +" color: #FFFFFF;\n" +"}") + icon16 = QIcon() + icon16.addFile(u":/icon/github.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.leminGithubBtn.setIcon(icon16) + + self.horizontalLayout_6.addWidget(self.leminGithubBtn) + self.leminKoFiBtn = QToolButton(self.horizontalWidget2) self.leminKoFiBtn.setObjectName(u"leminKoFiBtn") self.leminKoFiBtn.setStyleSheet(u"QToolButton {\n" @@ -665,9 +699,9 @@ def setupUi(self, Nugget): " background-color: #535353;\n" " color: #FFFFFF;\n" "}") - icon15 = QIcon() - icon15.addFile(u":/icon/currency-dollar.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.leminKoFiBtn.setIcon(icon15) + icon17 = QIcon() + icon17.addFile(u":/icon/currency-dollar.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.leminKoFiBtn.setIcon(icon17) self.horizontalLayout_6.addWidget(self.leminKoFiBtn) @@ -841,479 +875,465 @@ def setupUi(self, Nugget): self.verticalLayout_2.addWidget(self.label) self.pages.addWidget(self.homePage) - self.explorePage = QWidget() - self.explorePage.setObjectName(u"explorePage") - self.verticalLayout_31 = QVBoxLayout(self.explorePage) - self.verticalLayout_31.setObjectName(u"verticalLayout_31") - self.verticalLayout_31.setContentsMargins(0, 0, 0, 0) - self.explorePageHeader = QWidget(self.explorePage) - self.explorePageHeader.setObjectName(u"explorePageHeader") - self.horizontalLayout_31 = QHBoxLayout(self.explorePageHeader) - self.horizontalLayout_31.setSpacing(10) - self.horizontalLayout_31.setObjectName(u"horizontalLayout_31") - self.horizontalLayout_31.setContentsMargins(0, -1, 0, -1) - self.toolButton_16 = QToolButton(self.explorePageHeader) - self.toolButton_16.setObjectName(u"toolButton_16") - self.toolButton_16.setEnabled(False) - self.toolButton_16.setStyleSheet(u"QToolButton {\n" + self.gestaltPage = QWidget() + self.gestaltPage.setObjectName(u"gestaltPage") + self.verticalLayout_4 = QVBoxLayout(self.gestaltPage) + self.verticalLayout_4.setObjectName(u"verticalLayout_4") + self.verticalLayout_4.setContentsMargins(0, 0, 0, 0) + self.statusBarPageHeader = QWidget(self.gestaltPage) + self.statusBarPageHeader.setObjectName(u"statusBarPageHeader") + self.horizontalLayout_5 = QHBoxLayout(self.statusBarPageHeader) + self.horizontalLayout_5.setSpacing(10) + self.horizontalLayout_5.setObjectName(u"horizontalLayout_5") + self.horizontalLayout_5.setContentsMargins(0, -1, 0, -1) + self.toolButton_8 = QToolButton(self.statusBarPageHeader) + self.toolButton_8.setObjectName(u"toolButton_8") + self.toolButton_8.setEnabled(False) + self.toolButton_8.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.toolButton_16.setIcon(icon3) + self.toolButton_8.setIcon(icon5) + self.toolButton_8.setIconSize(QSize(30, 30)) - self.horizontalLayout_31.addWidget(self.toolButton_16) + self.horizontalLayout_5.addWidget(self.toolButton_8) - self.verticalWidget_9 = QWidget(self.explorePageHeader) - self.verticalWidget_9.setObjectName(u"verticalWidget_9") - self.verticalLayout_30 = QVBoxLayout(self.verticalWidget_9) - self.verticalLayout_30.setSpacing(6) - self.verticalLayout_30.setObjectName(u"verticalLayout_30") - self.verticalLayout_30.setContentsMargins(0, 0, 0, 0) - self.exploreLbl = QLabel(self.verticalWidget_9) - self.exploreLbl.setObjectName(u"exploreLbl") - self.exploreLbl.setFont(font1) + self.verticalWidget_21 = QWidget(self.statusBarPageHeader) + self.verticalWidget_21.setObjectName(u"verticalWidget_21") + self.verticalLayout_5 = QVBoxLayout(self.verticalWidget_21) + self.verticalLayout_5.setSpacing(6) + self.verticalLayout_5.setObjectName(u"verticalLayout_5") + self.verticalLayout_5.setContentsMargins(0, 0, 0, 0) + self.statusBarLbl = QLabel(self.verticalWidget_21) + self.statusBarLbl.setObjectName(u"statusBarLbl") + self.statusBarLbl.setFont(font1) - self.verticalLayout_30.addWidget(self.exploreLbl) + self.verticalLayout_5.addWidget(self.statusBarLbl) - self.exploreSubLbl = QLabel(self.verticalWidget_9) - self.exploreSubLbl.setObjectName(u"exploreSubLbl") + self.verticalSpacer_8 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.verticalLayout_30.addWidget(self.exploreSubLbl) + self.verticalLayout_5.addItem(self.verticalSpacer_8) - self.horizontalLayout_31.addWidget(self.verticalWidget_9) + self.horizontalLayout_5.addWidget(self.verticalWidget_21) - self.horizontalSpacer_13 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.horizontalSpacer_4 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_31.addItem(self.horizontalSpacer_13) + self.horizontalLayout_5.addItem(self.horizontalSpacer_4) - self.verticalLayout_31.addWidget(self.explorePageHeader) + self.verticalLayout_4.addWidget(self.statusBarPageHeader) - self.line_3 = QFrame(self.explorePage) - self.line_3.setObjectName(u"line_3") - self.line_3.setStyleSheet(u"QFrame {\n" + self.line_8 = QFrame(self.gestaltPage) + self.line_8.setObjectName(u"line_8") + self.line_8.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_3.setFrameShadow(QFrame.Plain) - self.line_3.setFrameShape(QFrame.Shape.HLine) + self.line_8.setFrameShadow(QFrame.Plain) + self.line_8.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_31.addWidget(self.line_3) + self.verticalLayout_4.addWidget(self.line_8) - self.exploreThemesCnt = QWidget(self.explorePage) - self.exploreThemesCnt.setObjectName(u"exploreThemesCnt") - sizePolicy5 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding) - sizePolicy5.setHorizontalStretch(0) - sizePolicy5.setVerticalStretch(0) - sizePolicy5.setHeightForWidth(self.exploreThemesCnt.sizePolicy().hasHeightForWidth()) - self.exploreThemesCnt.setSizePolicy(sizePolicy5) + self.scrollArea = QScrollArea(self.gestaltPage) + self.scrollArea.setObjectName(u"scrollArea") + self.scrollArea.setFrameShape(QFrame.NoFrame) + self.scrollArea.setFrameShadow(QFrame.Plain) + self.scrollArea.setLineWidth(0) + self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) + self.scrollAreaWidgetContents = QWidget() + self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") + self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 650, 1200)) + self.scrollAreaWidgetContents.setMinimumSize(QSize(650, 1200)) + self.scrollAreaWidgetContents.setMaximumSize(QSize(650, 1200)) + self.verticalLayout_9 = QVBoxLayout(self.scrollAreaWidgetContents) + self.verticalLayout_9.setObjectName(u"verticalLayout_9") + self.verticalLayout_9.setContentsMargins(0, 0, 0, 0) + self.gestaltPageContent = QWidget(self.scrollAreaWidgetContents) + self.gestaltPageContent.setObjectName(u"gestaltPageContent") + self.gestaltPageContent.setEnabled(False) + self.verticalLayout_8 = QVBoxLayout(self.gestaltPageContent) + self.verticalLayout_8.setObjectName(u"verticalLayout_8") + self.verticalLayout_8.setContentsMargins(0, 0, 0, 0) + self.label_9 = QLabel(self.gestaltPageContent) + self.label_9.setObjectName(u"label_9") - self.verticalLayout_31.addWidget(self.exploreThemesCnt) + self.verticalLayout_8.addWidget(self.label_9) - self.pages.addWidget(self.explorePage) - self.locSimPage = QWidget() - self.locSimPage.setObjectName(u"locSimPage") - self.verticalLayout_28 = QVBoxLayout(self.locSimPage) - self.verticalLayout_28.setObjectName(u"verticalLayout_28") - self.verticalLayout_28.setContentsMargins(0, 0, 0, 0) - self.locSimPageHeader = QWidget(self.locSimPage) - self.locSimPageHeader.setObjectName(u"locSimPageHeader") - self.horizontalLayout_28 = QHBoxLayout(self.locSimPageHeader) - self.horizontalLayout_28.setSpacing(10) - self.horizontalLayout_28.setObjectName(u"horizontalLayout_28") - self.horizontalLayout_28.setContentsMargins(0, -1, 0, -1) - self.toolButton_13 = QToolButton(self.locSimPageHeader) - self.toolButton_13.setObjectName(u"toolButton_13") - self.toolButton_13.setEnabled(False) - self.toolButton_13.setStyleSheet(u"QToolButton {\n" -" icon-size: 24px;\n" -" background-color: transparent;\n" -" padding-left: 0px;\n" -" padding-right: 5px;\n" -" border-radius: 0px;\n" + self.dynamicIslandDrp = QComboBox(self.gestaltPageContent) + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.addItem("") + self.dynamicIslandDrp.setObjectName(u"dynamicIslandDrp") + self.dynamicIslandDrp.setMinimumSize(QSize(0, 0)) + self.dynamicIslandDrp.setMaximumSize(QSize(325, 16777215)) + self.dynamicIslandDrp.setStyleSheet(u"QComboBox {\n" +" background-color: #3b3b3b;\n" +" border: none;\n" +" color: #e8e8e8;\n" +" font-size: 14px;\n" +" padding-left: 8px;\n" +" border-radius: 8px;\n" +"}\n" +"\n" +"QComboBox::drop-down {\n" +" image: url(:/icon/caret-down-fill.svg);\n" +" icon-size: 16px;\n" +" subcontrol-position: right center;\n" +" margin-right: 8px;\n" +"}\n" +"\n" +"QComboBox QAbstractItemView {\n" +" background-color: #3b3b3b;\n" +" outline: none;\n" +" margin-top: 1px;\n" +"}\n" +"\n" +"QComboBox QAbstractItemView::item {\n" +" background-color: #3b3b3b;\n" +" color: #e8e8e8;\n" +" padding-left: 8px;\n" +"}\n" +"\n" +"QComboBox QAbstractItemView::item:hover {\n" +" background-color: #535353;\n" +" color: #ffffff;\n" "}") - self.toolButton_13.setIcon(icon4) + self.dynamicIslandDrp.setMaxVisibleItems(15) - self.horizontalLayout_28.addWidget(self.toolButton_13) + self.verticalLayout_8.addWidget(self.dynamicIslandDrp) - self.verticalWidget_8 = QWidget(self.locSimPageHeader) - self.verticalWidget_8.setObjectName(u"verticalWidget_8") - self.verticalLayout_27 = QVBoxLayout(self.verticalWidget_8) - self.verticalLayout_27.setSpacing(6) - self.verticalLayout_27.setObjectName(u"verticalLayout_27") - self.verticalLayout_27.setContentsMargins(0, 0, 0, 0) - self.statusBarLbl_2 = QLabel(self.verticalWidget_8) - self.statusBarLbl_2.setObjectName(u"statusBarLbl_2") - self.statusBarLbl_2.setFont(font1) + self.modelNameChk = QCheckBox(self.gestaltPageContent) + self.modelNameChk.setObjectName(u"modelNameChk") - self.verticalLayout_27.addWidget(self.statusBarLbl_2) + self.verticalLayout_8.addWidget(self.modelNameChk) - self.label_4 = QLabel(self.verticalWidget_8) - self.label_4.setObjectName(u"label_4") + self.modelNameTxt = QLineEdit(self.gestaltPageContent) + self.modelNameTxt.setObjectName(u"modelNameTxt") - self.verticalLayout_27.addWidget(self.label_4) + self.verticalLayout_8.addWidget(self.modelNameTxt) + self.bootChimeChk = QCheckBox(self.gestaltPageContent) + self.bootChimeChk.setObjectName(u"bootChimeChk") - self.horizontalLayout_28.addWidget(self.verticalWidget_8) + self.verticalLayout_8.addWidget(self.bootChimeChk) - self.horizontalSpacer_11 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.chargeLimitChk = QCheckBox(self.gestaltPageContent) + self.chargeLimitChk.setObjectName(u"chargeLimitChk") - self.horizontalLayout_28.addItem(self.horizontalSpacer_11) + self.verticalLayout_8.addWidget(self.chargeLimitChk) - self.loadLocSimBtn = QToolButton(self.locSimPageHeader) - self.loadLocSimBtn.setObjectName(u"loadLocSimBtn") + self.tapToWakeChk = QCheckBox(self.gestaltPageContent) + self.tapToWakeChk.setObjectName(u"tapToWakeChk") - self.horizontalLayout_28.addWidget(self.loadLocSimBtn) + self.verticalLayout_8.addWidget(self.tapToWakeChk) + self.iphone16SettingsChk = QCheckBox(self.gestaltPageContent) + self.iphone16SettingsChk.setObjectName(u"iphone16SettingsChk") - self.verticalLayout_28.addWidget(self.locSimPageHeader) + self.verticalLayout_8.addWidget(self.iphone16SettingsChk) - self.line_2 = QFrame(self.locSimPage) - self.line_2.setObjectName(u"line_2") - self.line_2.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" -"}") - self.line_2.setFrameShadow(QFrame.Plain) - self.line_2.setFrameShape(QFrame.Shape.HLine) + self.parallaxChk = QCheckBox(self.gestaltPageContent) + self.parallaxChk.setObjectName(u"parallaxChk") - self.verticalLayout_28.addWidget(self.line_2) + self.verticalLayout_8.addWidget(self.parallaxChk) - self.verticalSpacer_14 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.horizontalWidget4 = QWidget(self.gestaltPageContent) + self.horizontalWidget4.setObjectName(u"horizontalWidget4") + self.horizontalLayout_10 = QHBoxLayout(self.horizontalWidget4) + self.horizontalLayout_10.setObjectName(u"horizontalLayout_10") + self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0) - self.verticalLayout_28.addItem(self.verticalSpacer_14) + self.verticalLayout_8.addWidget(self.horizontalWidget4) - self.locSimCnt = QWidget(self.locSimPage) - self.locSimCnt.setObjectName(u"locSimCnt") - self.locSimPageContent = QVBoxLayout(self.locSimCnt) - self.locSimPageContent.setObjectName(u"locSimPageContent") - self.locSimPageContent.setContentsMargins(0, 0, 0, 0) - self.verticalWidget2 = QWidget(self.locSimCnt) - self.verticalWidget2.setObjectName(u"verticalWidget2") - self.verticalLayout_29 = QVBoxLayout(self.verticalWidget2) - self.verticalLayout_29.setObjectName(u"verticalLayout_29") - self.verticalLayout_29.setContentsMargins(0, 0, 0, 0) - self.label_7 = QLabel(self.verticalWidget2) - self.label_7.setObjectName(u"label_7") - self.label_7.setAlignment(Qt.AlignCenter) + self.line_7 = QFrame(self.gestaltPageContent) + self.line_7.setObjectName(u"line_7") + self.line_7.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_7.setFrameShadow(QFrame.Plain) + self.line_7.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_29.addWidget(self.label_7) + self.verticalLayout_8.addWidget(self.line_7) - self.latitudeTxt = QLineEdit(self.verticalWidget2) - self.latitudeTxt.setObjectName(u"latitudeTxt") - self.latitudeTxt.setAlignment(Qt.AlignCenter) + self.stageManagerChk = QCheckBox(self.gestaltPageContent) + self.stageManagerChk.setObjectName(u"stageManagerChk") - self.verticalLayout_29.addWidget(self.latitudeTxt) + self.verticalLayout_8.addWidget(self.stageManagerChk) - self.label_11 = QLabel(self.verticalWidget2) - self.label_11.setObjectName(u"label_11") - self.label_11.setAlignment(Qt.AlignCenter) + self.ipadAppsChk = QCheckBox(self.gestaltPageContent) + self.ipadAppsChk.setObjectName(u"ipadAppsChk") - self.verticalLayout_29.addWidget(self.label_11) + self.verticalLayout_8.addWidget(self.ipadAppsChk) - self.longitudeTxt = QLineEdit(self.verticalWidget2) - self.longitudeTxt.setObjectName(u"longitudeTxt") - self.longitudeTxt.setAlignment(Qt.AlignCenter) + self.shutterChk = QCheckBox(self.gestaltPageContent) + self.shutterChk.setObjectName(u"shutterChk") - self.verticalLayout_29.addWidget(self.longitudeTxt) + self.verticalLayout_8.addWidget(self.shutterChk) - self.horizontalWidget4 = QWidget(self.verticalWidget2) - self.horizontalWidget4.setObjectName(u"horizontalWidget4") - self.horizontalLayout_3 = QHBoxLayout(self.horizontalWidget4) - self.horizontalLayout_3.setObjectName(u"horizontalLayout_3") - self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0) - self.setLocationBtn = QToolButton(self.horizontalWidget4) - self.setLocationBtn.setObjectName(u"setLocationBtn") + self.findMyFriendsChk = QCheckBox(self.gestaltPageContent) + self.findMyFriendsChk.setObjectName(u"findMyFriendsChk") - self.horizontalLayout_3.addWidget(self.setLocationBtn) + self.verticalLayout_8.addWidget(self.findMyFriendsChk) + self.pencilChk = QCheckBox(self.gestaltPageContent) + self.pencilChk.setObjectName(u"pencilChk") - self.verticalLayout_29.addWidget(self.horizontalWidget4) + self.verticalLayout_8.addWidget(self.pencilChk) - self.horizontalWidget_22 = QWidget(self.verticalWidget2) - self.horizontalWidget_22.setObjectName(u"horizontalWidget_22") - self.horizontalLayout_29 = QHBoxLayout(self.horizontalWidget_22) - self.horizontalLayout_29.setObjectName(u"horizontalLayout_29") - self.horizontalLayout_29.setContentsMargins(0, 0, 0, 0) - self.resetLocationBtn = QToolButton(self.horizontalWidget_22) - self.resetLocationBtn.setObjectName(u"resetLocationBtn") + self.actionButtonChk = QCheckBox(self.gestaltPageContent) + self.actionButtonChk.setObjectName(u"actionButtonChk") - self.horizontalLayout_29.addWidget(self.resetLocationBtn) + self.verticalLayout_8.addWidget(self.actionButtonChk) + self.line_9 = QFrame(self.gestaltPageContent) + self.line_9.setObjectName(u"line_9") + self.line_9.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_9.setFrameShadow(QFrame.Plain) + self.line_9.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_29.addWidget(self.horizontalWidget_22) + self.verticalLayout_8.addWidget(self.line_9) + self.internalInstallChk = QCheckBox(self.gestaltPageContent) + self.internalInstallChk.setObjectName(u"internalInstallChk") - self.locSimPageContent.addWidget(self.verticalWidget2) + self.verticalLayout_8.addWidget(self.internalInstallChk) + self.internalStorageChk = QCheckBox(self.gestaltPageContent) + self.internalStorageChk.setObjectName(u"internalStorageChk") - self.verticalLayout_28.addWidget(self.locSimCnt) + self.verticalLayout_8.addWidget(self.internalStorageChk) - self.verticalSpacer_13 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.line_10 = QFrame(self.gestaltPageContent) + self.line_10.setObjectName(u"line_10") + self.line_10.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_10.setFrameShadow(QFrame.Plain) + self.line_10.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_28.addItem(self.verticalSpacer_13) + self.verticalLayout_8.addWidget(self.line_10) - self.pages.addWidget(self.locSimPage) - self.themingPage = QWidget() - self.themingPage.setObjectName(u"themingPage") - self.verticalLayout_23 = QVBoxLayout(self.themingPage) - self.verticalLayout_23.setObjectName(u"verticalLayout_23") - self.verticalLayout_23.setContentsMargins(0, 0, 0, 0) - self.horizontalWidget_8 = QWidget(self.themingPage) - self.horizontalWidget_8.setObjectName(u"horizontalWidget_8") - self.horizontalLayout_23 = QHBoxLayout(self.horizontalWidget_8) - self.horizontalLayout_23.setSpacing(10) - self.horizontalLayout_23.setObjectName(u"horizontalLayout_23") - self.horizontalLayout_23.setContentsMargins(0, 9, 0, 9) - self.themesBtn = QToolButton(self.horizontalWidget_8) - self.themesBtn.setObjectName(u"themesBtn") - self.themesBtn.setEnabled(True) - self.themesBtn.setStyleSheet(u"QToolButton {\n" + self.collisionSOSChk = QCheckBox(self.gestaltPageContent) + self.collisionSOSChk.setObjectName(u"collisionSOSChk") + + self.verticalLayout_8.addWidget(self.collisionSOSChk) + + self.sleepApneaChk = QCheckBox(self.gestaltPageContent) + self.sleepApneaChk.setObjectName(u"sleepApneaChk") + + self.verticalLayout_8.addWidget(self.sleepApneaChk) + + self.aodChk = QCheckBox(self.gestaltPageContent) + self.aodChk.setObjectName(u"aodChk") + + self.verticalLayout_8.addWidget(self.aodChk) + + self.verticalSpacer_3 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + + self.verticalLayout_8.addItem(self.verticalSpacer_3) + + + self.verticalLayout_9.addWidget(self.gestaltPageContent) + + self.scrollArea.setWidget(self.scrollAreaWidgetContents) + + self.verticalLayout_4.addWidget(self.scrollArea) + + self.pages.addWidget(self.gestaltPage) + self.featureFlagsPage = QWidget() + self.featureFlagsPage.setObjectName(u"featureFlagsPage") + self.verticalLayout_14 = QVBoxLayout(self.featureFlagsPage) + self.verticalLayout_14.setObjectName(u"verticalLayout_14") + self.verticalLayout_14.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_5 = QWidget(self.featureFlagsPage) + self.horizontalWidget_5.setObjectName(u"horizontalWidget_5") + self.horizontalLayout_20 = QHBoxLayout(self.horizontalWidget_5) + self.horizontalLayout_20.setSpacing(10) + self.horizontalLayout_20.setObjectName(u"horizontalLayout_20") + self.horizontalLayout_20.setContentsMargins(0, 9, 0, 9) + self.toolButton_10 = QToolButton(self.horizontalWidget_5) + self.toolButton_10.setObjectName(u"toolButton_10") + self.toolButton_10.setEnabled(False) + self.toolButton_10.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.themesBtn.setIcon(icon6) - self.themesBtn.setIconSize(QSize(30, 30)) + self.toolButton_10.setIcon(icon6) - self.horizontalLayout_23.addWidget(self.themesBtn) + self.horizontalLayout_20.addWidget(self.toolButton_10) - self.verticalWidget_7 = QWidget(self.horizontalWidget_8) - self.verticalWidget_7.setObjectName(u"verticalWidget_7") - self.verticalLayout_21 = QVBoxLayout(self.verticalWidget_7) - self.verticalLayout_21.setSpacing(6) - self.verticalLayout_21.setObjectName(u"verticalLayout_21") - self.verticalLayout_21.setContentsMargins(0, 0, 0, 0) - self.themesLbl = QLabel(self.verticalWidget_7) - self.themesLbl.setObjectName(u"themesLbl") - self.themesLbl.setFont(font1) + self.verticalWidget_4 = QWidget(self.horizontalWidget_5) + self.verticalWidget_4.setObjectName(u"verticalWidget_4") + self.verticalLayout_12 = QVBoxLayout(self.verticalWidget_4) + self.verticalLayout_12.setSpacing(6) + self.verticalLayout_12.setObjectName(u"verticalLayout_12") + self.verticalLayout_12.setContentsMargins(0, 0, 0, 0) + self.internalOptionsLbl = QLabel(self.verticalWidget_4) + self.internalOptionsLbl.setObjectName(u"internalOptionsLbl") + self.internalOptionsLbl.setFont(font1) - self.verticalLayout_21.addWidget(self.themesLbl) + self.verticalLayout_12.addWidget(self.internalOptionsLbl) + self.verticalSpacer_15 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.horizontalLayout_23.addWidget(self.verticalWidget_7) + self.verticalLayout_12.addItem(self.verticalSpacer_15) - self.horizontalSpacer_10 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_23.addItem(self.horizontalSpacer_10) + self.horizontalLayout_20.addWidget(self.verticalWidget_4) - self.horizontalWidget5 = QWidget(self.horizontalWidget_8) - self.horizontalWidget5.setObjectName(u"horizontalWidget5") - self.horizontalLayout_26 = QHBoxLayout(self.horizontalWidget5) - self.horizontalLayout_26.setObjectName(u"horizontalLayout_26") - self.horizontalLayout_26.setContentsMargins(0, 0, 0, 0) - self.importThemeBtn = QToolButton(self.horizontalWidget5) - self.importThemeBtn.setObjectName(u"importThemeBtn") - self.importThemeBtn.setEnabled(False) - self.importThemeBtn.setStyleSheet(u"QToolButton {\n" -" background: none;\n" -"}") + self.horizontalSpacer_7 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_26.addWidget(self.importThemeBtn) + self.horizontalLayout_20.addItem(self.horizontalSpacer_7) - self.importThemeFolderBtn = QToolButton(self.horizontalWidget5) - self.importThemeFolderBtn.setObjectName(u"importThemeFolderBtn") - icon16 = QIcon() - icon16.addFile(u":/icon/folder.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.importThemeFolderBtn.setIcon(icon16) - self.horizontalLayout_26.addWidget(self.importThemeFolderBtn) + self.verticalLayout_14.addWidget(self.horizontalWidget_5) - self.importThemeZipBtn = QToolButton(self.horizontalWidget5) - self.importThemeZipBtn.setObjectName(u"importThemeZipBtn") - icon17 = QIcon() - icon17.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.importThemeZipBtn.setIcon(icon17) + self.line_12 = QFrame(self.featureFlagsPage) + self.line_12.setObjectName(u"line_12") + self.line_12.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_12.setFrameShadow(QFrame.Plain) + self.line_12.setFrameShape(QFrame.Shape.HLine) - self.horizontalLayout_26.addWidget(self.importThemeZipBtn) + self.verticalLayout_14.addWidget(self.line_12) + self.featureFlagsPageContent = QWidget(self.featureFlagsPage) + self.featureFlagsPageContent.setObjectName(u"featureFlagsPageContent") + self.featureFlagsPageContent.setEnabled(True) + self.verticalLayout_13 = QVBoxLayout(self.featureFlagsPageContent) + self.verticalLayout_13.setObjectName(u"verticalLayout_13") + self.verticalLayout_13.setContentsMargins(0, 0, 0, 0) + self.clockAnimChk = QCheckBox(self.featureFlagsPageContent) + self.clockAnimChk.setObjectName(u"clockAnimChk") - self.horizontalLayout_23.addWidget(self.horizontalWidget5) + self.verticalLayout_13.addWidget(self.clockAnimChk) + self.lockscreenChk = QCheckBox(self.featureFlagsPageContent) + self.lockscreenChk.setObjectName(u"lockscreenChk") - self.verticalLayout_23.addWidget(self.horizontalWidget_8) + self.verticalLayout_13.addWidget(self.lockscreenChk) - self.line_15 = QFrame(self.themingPage) - self.line_15.setObjectName(u"line_15") - self.line_15.setStyleSheet(u"QFrame {\n" + self.div = QFrame(self.featureFlagsPageContent) + self.div.setObjectName(u"div") + self.div.setEnabled(False) + self.div.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_15.setFrameShadow(QFrame.Plain) - self.line_15.setFrameShape(QFrame.Shape.HLine) + self.div.setFrameShadow(QFrame.Plain) + self.div.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_23.addWidget(self.line_15) + self.verticalLayout_13.addWidget(self.div) - self.themesPageContent = QWidget(self.themingPage) - self.themesPageContent.setObjectName(u"themesPageContent") - self.themesPageContent.setEnabled(False) - self.verticalLayout_22 = QVBoxLayout(self.themesPageContent) - self.verticalLayout_22.setObjectName(u"verticalLayout_22") - self.verticalLayout_22.setContentsMargins(0, 0, 0, 0) - self.themesCnt = QWidget(self.themesPageContent) - self.themesCnt.setObjectName(u"themesCnt") + self.photosChk = QCheckBox(self.featureFlagsPageContent) + self.photosChk.setObjectName(u"photosChk") - self.verticalLayout_22.addWidget(self.themesCnt) + self.verticalLayout_13.addWidget(self.photosChk) - self.line = QFrame(self.themesPageContent) - self.line.setObjectName(u"line") - self.line.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" -"}") - self.line.setFrameShadow(QFrame.Plain) - self.line.setFrameShape(QFrame.Shape.HLine) + self.aiChk = QCheckBox(self.featureFlagsPageContent) + self.aiChk.setObjectName(u"aiChk") - self.verticalLayout_22.addWidget(self.line) - - self.label_3 = QLabel(self.themesPageContent) - self.label_3.setObjectName(u"label_3") - - self.verticalLayout_22.addWidget(self.label_3) - - self.iconsCnt = QWidget(self.themesPageContent) - self.iconsCnt.setObjectName(u"iconsCnt") - - self.verticalLayout_22.addWidget(self.iconsCnt) - - self.verticalSpacer_9 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - - self.verticalLayout_22.addItem(self.verticalSpacer_9) - - self.horizontalWidget6 = QWidget(self.themesPageContent) - self.horizontalWidget6.setObjectName(u"horizontalWidget6") - self.horizontalLayout_16 = QHBoxLayout(self.horizontalWidget6) - self.horizontalLayout_16.setObjectName(u"horizontalLayout_16") - self.horizontalLayout_16.setContentsMargins(0, 0, 0, 0) - self.hideNamesBtn = QToolButton(self.horizontalWidget6) - self.hideNamesBtn.setObjectName(u"hideNamesBtn") - sizePolicy2.setHeightForWidth(self.hideNamesBtn.sizePolicy().hasHeightForWidth()) - self.hideNamesBtn.setSizePolicy(sizePolicy2) - - self.horizontalLayout_16.addWidget(self.hideNamesBtn) - - self.borderAllBtn = QToolButton(self.horizontalWidget6) - self.borderAllBtn.setObjectName(u"borderAllBtn") - sizePolicy2.setHeightForWidth(self.borderAllBtn.sizePolicy().hasHeightForWidth()) - self.borderAllBtn.setSizePolicy(sizePolicy2) - - self.horizontalLayout_16.addWidget(self.borderAllBtn) - - self.addAllBtn = QToolButton(self.horizontalWidget6) - self.addAllBtn.setObjectName(u"addAllBtn") - sizePolicy2.setHeightForWidth(self.addAllBtn.sizePolicy().hasHeightForWidth()) - self.addAllBtn.setSizePolicy(sizePolicy2) - - self.horizontalLayout_16.addWidget(self.addAllBtn) + self.verticalLayout_13.addWidget(self.aiChk) + self.verticalSpacer_6 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_22.addWidget(self.horizontalWidget6) + self.verticalLayout_13.addItem(self.verticalSpacer_6) - self.verticalLayout_23.addWidget(self.themesPageContent) + self.verticalLayout_14.addWidget(self.featureFlagsPageContent) - self.pages.addWidget(self.themingPage) - self.gestaltPage = QWidget() - self.gestaltPage.setObjectName(u"gestaltPage") - self.verticalLayout_4 = QVBoxLayout(self.gestaltPage) - self.verticalLayout_4.setObjectName(u"verticalLayout_4") - self.verticalLayout_4.setContentsMargins(0, 0, 0, 0) - self.statusBarPageHeader = QWidget(self.gestaltPage) - self.statusBarPageHeader.setObjectName(u"statusBarPageHeader") - self.horizontalLayout_5 = QHBoxLayout(self.statusBarPageHeader) - self.horizontalLayout_5.setSpacing(10) - self.horizontalLayout_5.setObjectName(u"horizontalLayout_5") - self.horizontalLayout_5.setContentsMargins(0, -1, 0, -1) - self.toolButton_8 = QToolButton(self.statusBarPageHeader) - self.toolButton_8.setObjectName(u"toolButton_8") - self.toolButton_8.setEnabled(False) - self.toolButton_8.setStyleSheet(u"QToolButton {\n" + self.pages.addWidget(self.featureFlagsPage) + self.euEnablerPage = QWidget() + self.euEnablerPage.setObjectName(u"euEnablerPage") + self.verticalLayout_17 = QVBoxLayout(self.euEnablerPage) + self.verticalLayout_17.setObjectName(u"verticalLayout_17") + self.verticalLayout_17.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_6 = QWidget(self.euEnablerPage) + self.horizontalWidget_6.setObjectName(u"horizontalWidget_6") + self.horizontalLayout_21 = QHBoxLayout(self.horizontalWidget_6) + self.horizontalLayout_21.setSpacing(10) + self.horizontalLayout_21.setObjectName(u"horizontalLayout_21") + self.horizontalLayout_21.setContentsMargins(0, 9, 0, 9) + self.toolButton_11 = QToolButton(self.horizontalWidget_6) + self.toolButton_11.setObjectName(u"toolButton_11") + self.toolButton_11.setEnabled(False) + self.toolButton_11.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.toolButton_8.setIcon(icon6) - self.toolButton_8.setIconSize(QSize(30, 30)) + self.toolButton_11.setIcon(icon4) - self.horizontalLayout_5.addWidget(self.toolButton_8) + self.horizontalLayout_21.addWidget(self.toolButton_11) - self.verticalWidget_21 = QWidget(self.statusBarPageHeader) - self.verticalWidget_21.setObjectName(u"verticalWidget_21") - self.verticalLayout_5 = QVBoxLayout(self.verticalWidget_21) - self.verticalLayout_5.setSpacing(6) - self.verticalLayout_5.setObjectName(u"verticalLayout_5") - self.verticalLayout_5.setContentsMargins(0, 0, 0, 0) - self.statusBarLbl = QLabel(self.verticalWidget_21) - self.statusBarLbl.setObjectName(u"statusBarLbl") - self.statusBarLbl.setFont(font1) + self.verticalWidget_5 = QWidget(self.horizontalWidget_6) + self.verticalWidget_5.setObjectName(u"verticalWidget_5") + self.verticalLayout_15 = QVBoxLayout(self.verticalWidget_5) + self.verticalLayout_15.setSpacing(6) + self.verticalLayout_15.setObjectName(u"verticalLayout_15") + self.verticalLayout_15.setContentsMargins(0, 0, 0, 0) + self.setupOptionsLbl = QLabel(self.verticalWidget_5) + self.setupOptionsLbl.setObjectName(u"setupOptionsLbl") + self.setupOptionsLbl.setFont(font1) - self.verticalLayout_5.addWidget(self.statusBarLbl) + self.verticalLayout_15.addWidget(self.setupOptionsLbl) - self.verticalSpacer_8 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) + self.euEnablerEnabledChk = QCheckBox(self.verticalWidget_5) + self.euEnablerEnabledChk.setObjectName(u"euEnablerEnabledChk") - self.verticalLayout_5.addItem(self.verticalSpacer_8) + self.verticalLayout_15.addWidget(self.euEnablerEnabledChk) - self.horizontalLayout_5.addWidget(self.verticalWidget_21) + self.horizontalLayout_21.addWidget(self.verticalWidget_5) - self.horizontalSpacer_4 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.horizontalSpacer_8 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_5.addItem(self.horizontalSpacer_4) + self.horizontalLayout_21.addItem(self.horizontalSpacer_8) - self.verticalLayout_4.addWidget(self.statusBarPageHeader) + self.verticalLayout_17.addWidget(self.horizontalWidget_6) - self.line_8 = QFrame(self.gestaltPage) - self.line_8.setObjectName(u"line_8") - self.line_8.setStyleSheet(u"QFrame {\n" + self.line_13 = QFrame(self.euEnablerPage) + self.line_13.setObjectName(u"line_13") + self.line_13.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_8.setFrameShadow(QFrame.Plain) - self.line_8.setFrameShape(QFrame.Shape.HLine) + self.line_13.setFrameShadow(QFrame.Plain) + self.line_13.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_4.addWidget(self.line_8) + self.verticalLayout_17.addWidget(self.line_13) - self.scrollArea = QScrollArea(self.gestaltPage) - self.scrollArea.setObjectName(u"scrollArea") - self.scrollArea.setFrameShape(QFrame.NoFrame) - self.scrollArea.setFrameShadow(QFrame.Plain) - self.scrollArea.setLineWidth(0) - self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) - self.scrollAreaWidgetContents = QWidget() - self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") - self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 650, 1200)) - self.scrollAreaWidgetContents.setMinimumSize(QSize(650, 1200)) - self.scrollAreaWidgetContents.setMaximumSize(QSize(650, 1200)) - self.verticalLayout_9 = QVBoxLayout(self.scrollAreaWidgetContents) - self.verticalLayout_9.setObjectName(u"verticalLayout_9") - self.verticalLayout_9.setContentsMargins(0, 0, 0, 0) - self.gestaltPageContent = QWidget(self.scrollAreaWidgetContents) - self.gestaltPageContent.setObjectName(u"gestaltPageContent") - self.gestaltPageContent.setEnabled(False) - self.verticalLayout_8 = QVBoxLayout(self.gestaltPageContent) - self.verticalLayout_8.setObjectName(u"verticalLayout_8") - self.verticalLayout_8.setContentsMargins(0, 0, 0, 0) - self.label_9 = QLabel(self.gestaltPageContent) - self.label_9.setObjectName(u"label_9") + self.euEnablerPageContent = QWidget(self.euEnablerPage) + self.euEnablerPageContent.setObjectName(u"euEnablerPageContent") + self.euEnablerPageContent.setEnabled(False) + self.verticalLayout_16 = QVBoxLayout(self.euEnablerPageContent) + self.verticalLayout_16.setObjectName(u"verticalLayout_16") + self.verticalLayout_16.setContentsMargins(0, 0, 0, 0) + self.label_5 = QLabel(self.euEnablerPageContent) + self.label_5.setObjectName(u"label_5") - self.verticalLayout_8.addWidget(self.label_9) + self.verticalLayout_16.addWidget(self.label_5) - self.dynamicIslandDrp = QComboBox(self.gestaltPageContent) - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.addItem("") - self.dynamicIslandDrp.setObjectName(u"dynamicIslandDrp") - self.dynamicIslandDrp.setMinimumSize(QSize(0, 0)) - self.dynamicIslandDrp.setMaximumSize(QSize(325, 16777215)) - self.dynamicIslandDrp.setStyleSheet(u"QComboBox {\n" + self.methodChoiceDrp = QComboBox(self.euEnablerPageContent) + self.methodChoiceDrp.addItem("") + self.methodChoiceDrp.addItem("") + self.methodChoiceDrp.setObjectName(u"methodChoiceDrp") + self.methodChoiceDrp.setMaximumSize(QSize(150, 16777215)) + self.methodChoiceDrp.setStyleSheet(u"QComboBox {\n" " background-color: #3b3b3b;\n" " border: none;\n" " color: #e8e8e8;\n" @@ -1345,751 +1365,1079 @@ def setupUi(self, Nugget): " background-color: #535353;\n" " color: #ffffff;\n" "}") - self.dynamicIslandDrp.setMaxVisibleItems(15) - - self.verticalLayout_8.addWidget(self.dynamicIslandDrp) - self.modelNameChk = QCheckBox(self.gestaltPageContent) - self.modelNameChk.setObjectName(u"modelNameChk") - - self.verticalLayout_8.addWidget(self.modelNameChk) + self.verticalLayout_16.addWidget(self.methodChoiceDrp) - self.modelNameTxt = QLineEdit(self.gestaltPageContent) - self.modelNameTxt.setObjectName(u"modelNameTxt") + self.label_6 = QLabel(self.euEnablerPageContent) + self.label_6.setObjectName(u"label_6") - self.verticalLayout_8.addWidget(self.modelNameTxt) + self.verticalLayout_16.addWidget(self.label_6) - self.bootChimeChk = QCheckBox(self.gestaltPageContent) - self.bootChimeChk.setObjectName(u"bootChimeChk") + self.regionCodeTxt = QLineEdit(self.euEnablerPageContent) + self.regionCodeTxt.setObjectName(u"regionCodeTxt") - self.verticalLayout_8.addWidget(self.bootChimeChk) + self.verticalLayout_16.addWidget(self.regionCodeTxt) - self.chargeLimitChk = QCheckBox(self.gestaltPageContent) - self.chargeLimitChk.setObjectName(u"chargeLimitChk") + self.verticalSpacer_7 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_8.addWidget(self.chargeLimitChk) + self.verticalLayout_16.addItem(self.verticalSpacer_7) - self.tapToWakeChk = QCheckBox(self.gestaltPageContent) - self.tapToWakeChk.setObjectName(u"tapToWakeChk") - self.verticalLayout_8.addWidget(self.tapToWakeChk) + self.verticalLayout_17.addWidget(self.euEnablerPageContent) - self.iphone16SettingsChk = QCheckBox(self.gestaltPageContent) - self.iphone16SettingsChk.setObjectName(u"iphone16SettingsChk") + self.pages.addWidget(self.euEnablerPage) + self.springboardOptionsPage = QWidget() + self.springboardOptionsPage.setObjectName(u"springboardOptionsPage") + self.verticalLayout_10 = QVBoxLayout(self.springboardOptionsPage) + self.verticalLayout_10.setObjectName(u"verticalLayout_10") + self.verticalLayout_10.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_4 = QWidget(self.springboardOptionsPage) + self.horizontalWidget_4.setObjectName(u"horizontalWidget_4") + self.horizontalLayout_13 = QHBoxLayout(self.horizontalWidget_4) + self.horizontalLayout_13.setSpacing(10) + self.horizontalLayout_13.setObjectName(u"horizontalLayout_13") + self.horizontalLayout_13.setContentsMargins(0, 9, 0, 9) + self.toolButton_7 = QToolButton(self.horizontalWidget_4) + self.toolButton_7.setObjectName(u"toolButton_7") + self.toolButton_7.setEnabled(False) + self.toolButton_7.setStyleSheet(u"QToolButton {\n" +" icon-size: 24px;\n" +" background-color: transparent;\n" +" padding-left: 0px;\n" +" padding-right: 5px;\n" +" border-radius: 0px;\n" +"}") + self.toolButton_7.setIcon(icon7) - self.verticalLayout_8.addWidget(self.iphone16SettingsChk) + self.horizontalLayout_13.addWidget(self.toolButton_7) - self.parallaxChk = QCheckBox(self.gestaltPageContent) - self.parallaxChk.setObjectName(u"parallaxChk") + self.verticalWidget_3 = QWidget(self.horizontalWidget_4) + self.verticalWidget_3.setObjectName(u"verticalWidget_3") + self.verticalLayout_7 = QVBoxLayout(self.verticalWidget_3) + self.verticalLayout_7.setSpacing(6) + self.verticalLayout_7.setObjectName(u"verticalLayout_7") + self.verticalLayout_7.setContentsMargins(0, 0, 0, 0) + self.springboardOptionsLbl = QLabel(self.verticalWidget_3) + self.springboardOptionsLbl.setObjectName(u"springboardOptionsLbl") + self.springboardOptionsLbl.setFont(font1) - self.verticalLayout_8.addWidget(self.parallaxChk) + self.verticalLayout_7.addWidget(self.springboardOptionsLbl) - self.horizontalWidget7 = QWidget(self.gestaltPageContent) - self.horizontalWidget7.setObjectName(u"horizontalWidget7") - self.horizontalLayout_10 = QHBoxLayout(self.horizontalWidget7) - self.horizontalLayout_10.setObjectName(u"horizontalLayout_10") - self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0) + self.verticalSpacer_19 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.verticalLayout_8.addWidget(self.horizontalWidget7) + self.verticalLayout_7.addItem(self.verticalSpacer_19) - self.line_7 = QFrame(self.gestaltPageContent) - self.line_7.setObjectName(u"line_7") - self.line_7.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" -"}") - self.line_7.setFrameShadow(QFrame.Plain) - self.line_7.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_8.addWidget(self.line_7) + self.horizontalLayout_13.addWidget(self.verticalWidget_3) - self.stageManagerChk = QCheckBox(self.gestaltPageContent) - self.stageManagerChk.setObjectName(u"stageManagerChk") + self.horizontalSpacer_6 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.verticalLayout_8.addWidget(self.stageManagerChk) + self.horizontalLayout_13.addItem(self.horizontalSpacer_6) - self.ipadAppsChk = QCheckBox(self.gestaltPageContent) - self.ipadAppsChk.setObjectName(u"ipadAppsChk") - self.verticalLayout_8.addWidget(self.ipadAppsChk) + self.verticalLayout_10.addWidget(self.horizontalWidget_4) - self.shutterChk = QCheckBox(self.gestaltPageContent) - self.shutterChk.setObjectName(u"shutterChk") - - self.verticalLayout_8.addWidget(self.shutterChk) - - self.findMyFriendsChk = QCheckBox(self.gestaltPageContent) - self.findMyFriendsChk.setObjectName(u"findMyFriendsChk") + self.line_11 = QFrame(self.springboardOptionsPage) + self.line_11.setObjectName(u"line_11") + self.line_11.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_11.setFrameShadow(QFrame.Plain) + self.line_11.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_8.addWidget(self.findMyFriendsChk) + self.verticalLayout_10.addWidget(self.line_11) - self.pencilChk = QCheckBox(self.gestaltPageContent) - self.pencilChk.setObjectName(u"pencilChk") + self.springboardOptionsPageContent = QWidget(self.springboardOptionsPage) + self.springboardOptionsPageContent.setObjectName(u"springboardOptionsPageContent") + self.springboardOptionsPageContent.setEnabled(False) + self.springboardOptionsPageContent.setMaximumSize(QSize(650, 16777215)) + self._2 = QVBoxLayout(self.springboardOptionsPageContent) + self._2.setObjectName(u"_2") + self._2.setContentsMargins(0, 0, 0, 0) + self.label_13 = QLabel(self.springboardOptionsPageContent) + self.label_13.setObjectName(u"label_13") - self.verticalLayout_8.addWidget(self.pencilChk) + self._2.addWidget(self.label_13) - self.actionButtonChk = QCheckBox(self.gestaltPageContent) - self.actionButtonChk.setObjectName(u"actionButtonChk") + self.footnoteTxt = QLineEdit(self.springboardOptionsPageContent) + self.footnoteTxt.setObjectName(u"footnoteTxt") - self.verticalLayout_8.addWidget(self.actionButtonChk) + self._2.addWidget(self.footnoteTxt) - self.line_9 = QFrame(self.gestaltPageContent) - self.line_9.setObjectName(u"line_9") - self.line_9.setStyleSheet(u"QFrame {\n" + self.line_6 = QFrame(self.springboardOptionsPageContent) + self.line_6.setObjectName(u"line_6") + self.line_6.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_9.setFrameShadow(QFrame.Plain) - self.line_9.setFrameShape(QFrame.Shape.HLine) - - self.verticalLayout_8.addWidget(self.line_9) - - self.internalInstallChk = QCheckBox(self.gestaltPageContent) - self.internalInstallChk.setObjectName(u"internalInstallChk") - - self.verticalLayout_8.addWidget(self.internalInstallChk) + self.line_6.setFrameShadow(QFrame.Plain) + self.line_6.setFrameShape(QFrame.Shape.HLine) - self.internalStorageChk = QCheckBox(self.gestaltPageContent) - self.internalStorageChk.setObjectName(u"internalStorageChk") + self._2.addWidget(self.line_6) - self.verticalLayout_8.addWidget(self.internalStorageChk) + self.disableLockRespringChk = QCheckBox(self.springboardOptionsPageContent) + self.disableLockRespringChk.setObjectName(u"disableLockRespringChk") - self.line_10 = QFrame(self.gestaltPageContent) - self.line_10.setObjectName(u"line_10") - self.line_10.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" -"}") - self.line_10.setFrameShadow(QFrame.Plain) - self.line_10.setFrameShape(QFrame.Shape.HLine) + self._2.addWidget(self.disableLockRespringChk) - self.verticalLayout_8.addWidget(self.line_10) + self.disableDimmingChk = QCheckBox(self.springboardOptionsPageContent) + self.disableDimmingChk.setObjectName(u"disableDimmingChk") - self.collisionSOSChk = QCheckBox(self.gestaltPageContent) - self.collisionSOSChk.setObjectName(u"collisionSOSChk") + self._2.addWidget(self.disableDimmingChk) - self.verticalLayout_8.addWidget(self.collisionSOSChk) + self.disableBatteryAlertsChk = QCheckBox(self.springboardOptionsPageContent) + self.disableBatteryAlertsChk.setObjectName(u"disableBatteryAlertsChk") - self.sleepApneaChk = QCheckBox(self.gestaltPageContent) - self.sleepApneaChk.setObjectName(u"sleepApneaChk") + self._2.addWidget(self.disableBatteryAlertsChk) - self.verticalLayout_8.addWidget(self.sleepApneaChk) + self.disableCrumbChk = QCheckBox(self.springboardOptionsPageContent) + self.disableCrumbChk.setObjectName(u"disableCrumbChk") - self.aodChk = QCheckBox(self.gestaltPageContent) - self.aodChk.setObjectName(u"aodChk") + self._2.addWidget(self.disableCrumbChk) - self.verticalLayout_8.addWidget(self.aodChk) + self.enableSupervisionTextChk = QCheckBox(self.springboardOptionsPageContent) + self.enableSupervisionTextChk.setObjectName(u"enableSupervisionTextChk") - self.verticalSpacer_3 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self._2.addWidget(self.enableSupervisionTextChk) - self.verticalLayout_8.addItem(self.verticalSpacer_3) + self.enableAirPlayChk = QCheckBox(self.springboardOptionsPageContent) + self.enableAirPlayChk.setObjectName(u"enableAirPlayChk") + self._2.addWidget(self.enableAirPlayChk) - self.verticalLayout_9.addWidget(self.gestaltPageContent) + self.verticalSpacer_5 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.scrollArea.setWidget(self.scrollAreaWidgetContents) + self._2.addItem(self.verticalSpacer_5) - self.verticalLayout_4.addWidget(self.scrollArea) - self.pages.addWidget(self.gestaltPage) - self.customOperationsPage = QWidget() - self.customOperationsPage.setObjectName(u"customOperationsPage") - self.verticalLayout_20 = QVBoxLayout(self.customOperationsPage) - self.verticalLayout_20.setObjectName(u"verticalLayout_20") - self.verticalLayout_20.setContentsMargins(0, 0, 0, 0) - self.horizontalWidget_7 = QWidget(self.customOperationsPage) - self.horizontalWidget_7.setObjectName(u"horizontalWidget_7") - self.horizontalLayout_22 = QHBoxLayout(self.horizontalWidget_7) - self.horizontalLayout_22.setSpacing(10) - self.horizontalLayout_22.setObjectName(u"horizontalLayout_22") - self.horizontalLayout_22.setContentsMargins(0, 9, 0, 9) - self.toolButton_12 = QToolButton(self.horizontalWidget_7) - self.toolButton_12.setObjectName(u"toolButton_12") - self.toolButton_12.setEnabled(False) - self.toolButton_12.setStyleSheet(u"QToolButton {\n" + self.verticalLayout_10.addWidget(self.springboardOptionsPageContent) + + self.pages.addWidget(self.springboardOptionsPage) + self.internalOptionsPage = QWidget() + self.internalOptionsPage.setObjectName(u"internalOptionsPage") + self.verticalLayout_141 = QVBoxLayout(self.internalOptionsPage) + self.verticalLayout_141.setObjectName(u"verticalLayout_141") + self.verticalLayout_141.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_51 = QWidget(self.internalOptionsPage) + self.horizontalWidget_51.setObjectName(u"horizontalWidget_51") + self.horizontalLayout_201 = QHBoxLayout(self.horizontalWidget_51) + self.horizontalLayout_201.setSpacing(10) + self.horizontalLayout_201.setObjectName(u"horizontalLayout_201") + self.horizontalLayout_201.setContentsMargins(0, 9, 0, 9) + self.toolButton_101 = QToolButton(self.horizontalWidget_51) + self.toolButton_101.setObjectName(u"toolButton_101") + self.toolButton_101.setEnabled(False) + self.toolButton_101.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.toolButton_12.setIcon(icon5) - self.toolButton_12.setIconSize(QSize(25, 25)) + self.toolButton_101.setIcon(icon8) - self.horizontalLayout_22.addWidget(self.toolButton_12) + self.horizontalLayout_201.addWidget(self.toolButton_101) - self.verticalWidget_6 = QWidget(self.horizontalWidget_7) - self.verticalWidget_6.setObjectName(u"verticalWidget_6") - self.verticalLayout_18 = QVBoxLayout(self.verticalWidget_6) - self.verticalLayout_18.setSpacing(6) - self.verticalLayout_18.setObjectName(u"verticalLayout_18") - self.verticalLayout_18.setContentsMargins(0, 0, 0, 0) - self.customOperationsLbl = QLabel(self.verticalWidget_6) - self.customOperationsLbl.setObjectName(u"customOperationsLbl") - self.customOperationsLbl.setFont(font1) + self.verticalWidget_41 = QWidget(self.horizontalWidget_51) + self.verticalWidget_41.setObjectName(u"verticalWidget_41") + self.verticalLayout_121 = QVBoxLayout(self.verticalWidget_41) + self.verticalLayout_121.setSpacing(6) + self.verticalLayout_121.setObjectName(u"verticalLayout_121") + self.verticalLayout_121.setContentsMargins(0, 0, 0, 0) + self.internalOptionsLbl1 = QLabel(self.verticalWidget_41) + self.internalOptionsLbl1.setObjectName(u"internalOptionsLbl1") + self.internalOptionsLbl1.setFont(font1) - self.verticalLayout_18.addWidget(self.customOperationsLbl) + self.verticalLayout_121.addWidget(self.internalOptionsLbl1) - self.label_14 = QLabel(self.verticalWidget_6) - self.label_14.setObjectName(u"label_14") + self.verticalSpacer_18 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.verticalLayout_18.addWidget(self.label_14) + self.verticalLayout_121.addItem(self.verticalSpacer_18) - self.horizontalLayout_22.addWidget(self.verticalWidget_6) + self.horizontalLayout_201.addWidget(self.verticalWidget_41) - self.horizontalSpacer_9 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.horizontalSpacer_71 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_22.addItem(self.horizontalSpacer_9) + self.horizontalLayout_201.addItem(self.horizontalSpacer_71) - self.verticalLayout_20.addWidget(self.horizontalWidget_7) + self.verticalLayout_141.addWidget(self.horizontalWidget_51) - self.line_14 = QFrame(self.customOperationsPage) - self.line_14.setObjectName(u"line_14") - self.line_14.setStyleSheet(u"QFrame {\n" + self.line_121 = QFrame(self.internalOptionsPage) + self.line_121.setObjectName(u"line_121") + self.line_121.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_14.setFrameShadow(QFrame.Plain) - self.line_14.setFrameShape(QFrame.Shape.HLine) - - self.verticalLayout_20.addWidget(self.line_14) - - self.customOperationsPageContent = QWidget(self.customOperationsPage) - self.customOperationsPageContent.setObjectName(u"customOperationsPageContent") - self.customOperationsPageContent.setEnabled(True) - self.verticalLayout_19 = QVBoxLayout(self.customOperationsPageContent) - self.verticalLayout_19.setObjectName(u"verticalLayout_19") - self.verticalLayout_19.setContentsMargins(0, 0, 0, 0) - self.customOpsTopBtns = QHBoxLayout() -#ifndef Q_OS_MAC - self.customOpsTopBtns.setSpacing(-1) -#endif - self.customOpsTopBtns.setObjectName(u"customOpsTopBtns") - self.customOpsTopBtns.setContentsMargins(-1, -1, -1, 0) - self.horizontalSpacer_17 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.line_121.setFrameShadow(QFrame.Plain) + self.line_121.setFrameShape(QFrame.Shape.HLine) - self.customOpsTopBtns.addItem(self.horizontalSpacer_17) + self.verticalLayout_141.addWidget(self.line_121) - self.importOperationBtn = QToolButton(self.customOperationsPageContent) - self.importOperationBtn.setObjectName(u"importOperationBtn") - self.importOperationBtn.setEnabled(True) - icon18 = QIcon() - icon18.addFile(u":/icon/import.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.importOperationBtn.setIcon(icon18) - self.importOperationBtn.setIconSize(QSize(20, 20)) - self.importOperationBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + self.internalOptionsPageContent = QWidget(self.internalOptionsPage) + self.internalOptionsPageContent.setObjectName(u"internalOptionsPageContent") + self.internalOptionsPageContent.setEnabled(False) + self.verticalLayout_131 = QVBoxLayout(self.internalOptionsPageContent) + self.verticalLayout_131.setObjectName(u"verticalLayout_131") + self.verticalLayout_131.setContentsMargins(0, 0, 0, 0) + self.buildVersionChk = QCheckBox(self.internalOptionsPageContent) + self.buildVersionChk.setObjectName(u"buildVersionChk") - self.customOpsTopBtns.addWidget(self.importOperationBtn, 0, Qt.AlignLeft) + self.verticalLayout_131.addWidget(self.buildVersionChk) - self.newOperationBtn = QToolButton(self.customOperationsPageContent) - self.newOperationBtn.setObjectName(u"newOperationBtn") - self.newOperationBtn.setEnabled(True) - sizePolicy2.setHeightForWidth(self.newOperationBtn.sizePolicy().hasHeightForWidth()) - self.newOperationBtn.setSizePolicy(sizePolicy2) - self.newOperationBtn.setMinimumSize(QSize(0, 35)) - icon19 = QIcon() - icon19.addFile(u":/icon/plus.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) - self.newOperationBtn.setIcon(icon19) - self.newOperationBtn.setIconSize(QSize(16, 16)) - self.newOperationBtn.setCheckable(False) - self.newOperationBtn.setAutoExclusive(True) - self.newOperationBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + self.RTLChk = QCheckBox(self.internalOptionsPageContent) + self.RTLChk.setObjectName(u"RTLChk") - self.customOpsTopBtns.addWidget(self.newOperationBtn, 0, Qt.AlignLeft) + self.verticalLayout_131.addWidget(self.RTLChk) + self.div1 = QFrame(self.internalOptionsPageContent) + self.div1.setObjectName(u"div1") + self.div1.setEnabled(False) + self.div1.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.div1.setFrameShadow(QFrame.Plain) + self.div1.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_19.addLayout(self.customOpsTopBtns) + self.verticalLayout_131.addWidget(self.div1) - self.operationsCnt = QWidget(self.customOperationsPageContent) - self.operationsCnt.setObjectName(u"operationsCnt") - self.operationsCnt.setEnabled(True) - sizePolicy5.setHeightForWidth(self.operationsCnt.sizePolicy().hasHeightForWidth()) - self.operationsCnt.setSizePolicy(sizePolicy5) + self.metalHUDChk = QCheckBox(self.internalOptionsPageContent) + self.metalHUDChk.setObjectName(u"metalHUDChk") - self.verticalLayout_19.addWidget(self.operationsCnt) + self.verticalLayout_131.addWidget(self.metalHUDChk) + self.accessoryChk = QCheckBox(self.internalOptionsPageContent) + self.accessoryChk.setObjectName(u"accessoryChk") - self.verticalLayout_20.addWidget(self.customOperationsPageContent) + self.verticalLayout_131.addWidget(self.accessoryChk) - self.pages.addWidget(self.customOperationsPage) - self.settingsPage = QWidget() - self.settingsPage.setObjectName(u"settingsPage") - self.verticalLayout_10 = QVBoxLayout(self.settingsPage) - self.verticalLayout_10.setObjectName(u"verticalLayout_10") - self.verticalLayout_10.setContentsMargins(0, 0, 0, 0) - self.horizontalWidget_4 = QWidget(self.settingsPage) - self.horizontalWidget_4.setObjectName(u"horizontalWidget_4") - self.horizontalLayout_13 = QHBoxLayout(self.horizontalWidget_4) - self.horizontalLayout_13.setSpacing(10) - self.horizontalLayout_13.setObjectName(u"horizontalLayout_13") - self.horizontalLayout_13.setContentsMargins(0, 9, 0, 9) - self.toolButton_7 = QToolButton(self.horizontalWidget_4) - self.toolButton_7.setObjectName(u"toolButton_7") - self.toolButton_7.setEnabled(False) - self.toolButton_7.setStyleSheet(u"QToolButton {\n" -" icon-size: 24px;\n" -" background-color: transparent;\n" -" padding-left: 0px;\n" -" padding-right: 5px;\n" -" border-radius: 0px;\n" -"}") - self.toolButton_7.setIcon(icon10) + self.iMessageChk = QCheckBox(self.internalOptionsPageContent) + self.iMessageChk.setObjectName(u"iMessageChk") - self.horizontalLayout_13.addWidget(self.toolButton_7) + self.verticalLayout_131.addWidget(self.iMessageChk) - self.verticalWidget_3 = QWidget(self.horizontalWidget_4) - self.verticalWidget_3.setObjectName(u"verticalWidget_3") - self.verticalLayout_7 = QVBoxLayout(self.verticalWidget_3) - self.verticalLayout_7.setSpacing(6) - self.verticalLayout_7.setObjectName(u"verticalLayout_7") - self.verticalLayout_7.setContentsMargins(0, 0, 0, 0) - self.springboardOptionsLbl = QLabel(self.verticalWidget_3) - self.springboardOptionsLbl.setObjectName(u"springboardOptionsLbl") - self.springboardOptionsLbl.setFont(font1) + self.IDSChk = QCheckBox(self.internalOptionsPageContent) + self.IDSChk.setObjectName(u"IDSChk") - self.verticalLayout_7.addWidget(self.springboardOptionsLbl) + self.verticalLayout_131.addWidget(self.IDSChk) - self.verticalSpacer_17 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) + self.VCChk = QCheckBox(self.internalOptionsPageContent) + self.VCChk.setObjectName(u"VCChk") - self.verticalLayout_7.addItem(self.verticalSpacer_17) + self.verticalLayout_131.addWidget(self.VCChk) + self.line_17 = QFrame(self.internalOptionsPageContent) + self.line_17.setObjectName(u"line_17") + self.line_17.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_17.setFrameShadow(QFrame.Plain) + self.line_17.setFrameShape(QFrame.Shape.HLine) - self.horizontalLayout_13.addWidget(self.verticalWidget_3) + self.verticalLayout_131.addWidget(self.line_17) - self.horizontalSpacer_6 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.appStoreChk = QCheckBox(self.internalOptionsPageContent) + self.appStoreChk.setObjectName(u"appStoreChk") - self.horizontalLayout_13.addItem(self.horizontalSpacer_6) + self.verticalLayout_131.addWidget(self.appStoreChk) + self.notesChk = QCheckBox(self.internalOptionsPageContent) + self.notesChk.setObjectName(u"notesChk") - self.verticalLayout_10.addWidget(self.horizontalWidget_4) + self.verticalLayout_131.addWidget(self.notesChk) - self.line_11 = QFrame(self.settingsPage) - self.line_11.setObjectName(u"line_11") - self.line_11.setStyleSheet(u"QFrame {\n" + self.line_18 = QFrame(self.internalOptionsPageContent) + self.line_18.setObjectName(u"line_18") + self.line_18.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_11.setFrameShadow(QFrame.Plain) - self.line_11.setFrameShape(QFrame.Shape.HLine) + self.line_18.setFrameShadow(QFrame.Plain) + self.line_18.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_10.addWidget(self.line_11) + self.verticalLayout_131.addWidget(self.line_18) - self.settingsPageContent = QWidget(self.settingsPage) - self.settingsPageContent.setObjectName(u"settingsPageContent") - self.settingsPageContent.setEnabled(True) - self.settingsPageContent.setMaximumSize(QSize(650, 16777215)) - self._2 = QVBoxLayout(self.settingsPageContent) - self._2.setObjectName(u"_2") - self._2.setContentsMargins(0, 0, 0, 0) - self.allowWifiApplyingChk = QCheckBox(self.settingsPageContent) - self.allowWifiApplyingChk.setObjectName(u"allowWifiApplyingChk") - self.allowWifiApplyingChk.setChecked(True) + self.showTouchesChk = QCheckBox(self.internalOptionsPageContent) + self.showTouchesChk.setObjectName(u"showTouchesChk") - self._2.addWidget(self.allowWifiApplyingChk) + self.verticalLayout_131.addWidget(self.showTouchesChk) - self.verticalSpacer_5 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.hideRespringChk = QCheckBox(self.internalOptionsPageContent) + self.hideRespringChk.setObjectName(u"hideRespringChk") - self._2.addItem(self.verticalSpacer_5) + self.verticalLayout_131.addWidget(self.hideRespringChk) + self.enableWakeVibrateChk = QCheckBox(self.internalOptionsPageContent) + self.enableWakeVibrateChk.setObjectName(u"enableWakeVibrateChk") - self.verticalLayout_10.addWidget(self.settingsPageContent) + self.verticalLayout_131.addWidget(self.enableWakeVibrateChk) - self.pages.addWidget(self.settingsPage) - self.featureFlagsPage = QWidget() - self.featureFlagsPage.setObjectName(u"featureFlagsPage") - self.verticalLayout_14 = QVBoxLayout(self.featureFlagsPage) - self.verticalLayout_14.setObjectName(u"verticalLayout_14") - self.verticalLayout_14.setContentsMargins(0, 0, 0, 0) - self.horizontalWidget_5 = QWidget(self.featureFlagsPage) - self.horizontalWidget_5.setObjectName(u"horizontalWidget_5") - self.horizontalLayout_20 = QHBoxLayout(self.horizontalWidget_5) - self.horizontalLayout_20.setSpacing(10) - self.horizontalLayout_20.setObjectName(u"horizontalLayout_20") - self.horizontalLayout_20.setContentsMargins(0, 9, 0, 9) - self.toolButton_10 = QToolButton(self.horizontalWidget_5) - self.toolButton_10.setObjectName(u"toolButton_10") - self.toolButton_10.setEnabled(False) - self.toolButton_10.setStyleSheet(u"QToolButton {\n" -" icon-size: 24px;\n" -" background-color: transparent;\n" -" padding-left: 0px;\n" -" padding-right: 5px;\n" -" border-radius: 0px;\n" + self.line_19 = QFrame(self.internalOptionsPageContent) + self.line_19.setObjectName(u"line_19") + self.line_19.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" "}") - self.toolButton_10.setIcon(icon7) - - self.horizontalLayout_20.addWidget(self.toolButton_10) + self.line_19.setFrameShadow(QFrame.Plain) + self.line_19.setFrameShape(QFrame.Shape.HLine) - self.verticalWidget_4 = QWidget(self.horizontalWidget_5) - self.verticalWidget_4.setObjectName(u"verticalWidget_4") - self.verticalLayout_12 = QVBoxLayout(self.verticalWidget_4) - self.verticalLayout_12.setSpacing(6) - self.verticalLayout_12.setObjectName(u"verticalLayout_12") - self.verticalLayout_12.setContentsMargins(0, 0, 0, 0) - self.internalOptionsLbl = QLabel(self.verticalWidget_4) - self.internalOptionsLbl.setObjectName(u"internalOptionsLbl") - self.internalOptionsLbl.setFont(font1) - - self.verticalLayout_12.addWidget(self.internalOptionsLbl) - - self.verticalSpacer_15 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - - self.verticalLayout_12.addItem(self.verticalSpacer_15) + self.verticalLayout_131.addWidget(self.line_19) + self.pasteSoundChk = QCheckBox(self.internalOptionsPageContent) + self.pasteSoundChk.setObjectName(u"pasteSoundChk") - self.horizontalLayout_20.addWidget(self.verticalWidget_4) + self.verticalLayout_131.addWidget(self.pasteSoundChk) - self.horizontalSpacer_7 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.notifyPastesChk = QCheckBox(self.internalOptionsPageContent) + self.notifyPastesChk.setObjectName(u"notifyPastesChk") - self.horizontalLayout_20.addItem(self.horizontalSpacer_7) + self.verticalLayout_131.addWidget(self.notifyPastesChk) + self.verticalSpacer_61 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_14.addWidget(self.horizontalWidget_5) + self.verticalLayout_131.addItem(self.verticalSpacer_61) - self.line_12 = QFrame(self.featureFlagsPage) - self.line_12.setObjectName(u"line_12") - self.line_12.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" -"}") - self.line_12.setFrameShadow(QFrame.Plain) - self.line_12.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_14.addWidget(self.line_12) + self.verticalLayout_141.addWidget(self.internalOptionsPageContent) - self.featureFlagsPageContent = QWidget(self.featureFlagsPage) - self.featureFlagsPageContent.setObjectName(u"featureFlagsPageContent") - self.featureFlagsPageContent.setEnabled(True) - self.verticalLayout_13 = QVBoxLayout(self.featureFlagsPageContent) - self.verticalLayout_13.setObjectName(u"verticalLayout_13") - self.verticalLayout_13.setContentsMargins(0, 0, 0, 0) - self.clockAnimChk = QCheckBox(self.featureFlagsPageContent) - self.clockAnimChk.setObjectName(u"clockAnimChk") + self.pages.addWidget(self.internalOptionsPage) + self.applyPage = QWidget() + self.applyPage.setObjectName(u"applyPage") + self.verticalLayout_6 = QVBoxLayout(self.applyPage) + self.verticalLayout_6.setObjectName(u"verticalLayout_6") + self.verticalLayout_6.setContentsMargins(0, 0, 0, 0) + self.verticalWidget2 = QWidget(self.applyPage) + self.verticalWidget2.setObjectName(u"verticalWidget2") + self.verticalLayout_24 = QVBoxLayout(self.verticalWidget2) + self.verticalLayout_24.setObjectName(u"verticalLayout_24") + self.verticalLayout_24.setContentsMargins(0, 0, 0, 0) + self.locSimPageHeader_2 = QWidget(self.verticalWidget2) + self.locSimPageHeader_2.setObjectName(u"locSimPageHeader_2") + self.horizontalLayout_33 = QHBoxLayout(self.locSimPageHeader_2) + self.horizontalLayout_33.setSpacing(10) + self.horizontalLayout_33.setObjectName(u"horizontalLayout_33") + self.horizontalLayout_33.setContentsMargins(0, -1, 0, -1) + self.toolButton_18 = QToolButton(self.locSimPageHeader_2) + self.toolButton_18.setObjectName(u"toolButton_18") + self.toolButton_18.setEnabled(False) + self.toolButton_18.setStyleSheet(u"QToolButton {\n" +" icon-size: 24px;\n" +" background-color: transparent;\n" +" padding-left: 0px;\n" +" padding-right: 5px;\n" +" border-radius: 0px;\n" +"}") + self.toolButton_18.setIcon(icon9) - self.verticalLayout_13.addWidget(self.clockAnimChk) + self.horizontalLayout_33.addWidget(self.toolButton_18) - self.lockscreenChk = QCheckBox(self.featureFlagsPageContent) - self.lockscreenChk.setObjectName(u"lockscreenChk") + self.verticalWidget_11 = QWidget(self.locSimPageHeader_2) + self.verticalWidget_11.setObjectName(u"verticalWidget_11") + self.verticalLayout_33 = QVBoxLayout(self.verticalWidget_11) + self.verticalLayout_33.setSpacing(6) + self.verticalLayout_33.setObjectName(u"verticalLayout_33") + self.verticalLayout_33.setContentsMargins(0, 0, 0, 0) + self.statusBarLbl_5 = QLabel(self.verticalWidget_11) + self.statusBarLbl_5.setObjectName(u"statusBarLbl_5") + self.statusBarLbl_5.setFont(font1) - self.verticalLayout_13.addWidget(self.lockscreenChk) + self.verticalLayout_33.addWidget(self.statusBarLbl_5) - self.div = QFrame(self.featureFlagsPageContent) - self.div.setObjectName(u"div") - self.div.setEnabled(False) - self.div.setStyleSheet(u"QFrame {\n" + self.label_16 = QLabel(self.verticalWidget_11) + self.label_16.setObjectName(u"label_16") + + self.verticalLayout_33.addWidget(self.label_16) + + + self.horizontalLayout_33.addWidget(self.verticalWidget_11) + + self.horizontalSpacer_15 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_33.addItem(self.horizontalSpacer_15) + + + self.verticalLayout_24.addWidget(self.locSimPageHeader_2) + + self.line_5 = QFrame(self.verticalWidget2) + self.line_5.setObjectName(u"line_5") + self.line_5.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.div.setFrameShadow(QFrame.Plain) - self.div.setFrameShape(QFrame.Shape.HLine) + self.line_5.setFrameShadow(QFrame.Plain) + self.line_5.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_13.addWidget(self.div) + self.verticalLayout_24.addWidget(self.line_5) - self.photosChk = QCheckBox(self.featureFlagsPageContent) - self.photosChk.setObjectName(u"photosChk") + self.verticalSpacer_10 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_13.addWidget(self.photosChk) + self.verticalLayout_24.addItem(self.verticalSpacer_10) - self.aiChk = QCheckBox(self.featureFlagsPageContent) - self.aiChk.setObjectName(u"aiChk") + self.modifiedTweaksLbl = QLabel(self.verticalWidget2) + self.modifiedTweaksLbl.setObjectName(u"modifiedTweaksLbl") + self.modifiedTweaksLbl.setAlignment(Qt.AlignCenter) - self.verticalLayout_13.addWidget(self.aiChk) + self.verticalLayout_24.addWidget(self.modifiedTweaksLbl) - self.verticalSpacer_6 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.gestaltLocationLbl = QLabel(self.verticalWidget2) + self.gestaltLocationLbl.setObjectName(u"gestaltLocationLbl") + self.gestaltLocationLbl.setAlignment(Qt.AlignCenter) - self.verticalLayout_13.addItem(self.verticalSpacer_6) + self.verticalLayout_24.addWidget(self.gestaltLocationLbl) + self.horizontalLayout_7 = QHBoxLayout() + self.horizontalLayout_7.setObjectName(u"horizontalLayout_7") + self.horizontalLayout_7.setContentsMargins(-1, 10, -1, 0) + self.chooseGestaltBtn = QToolButton(self.verticalWidget2) + self.chooseGestaltBtn.setObjectName(u"chooseGestaltBtn") + icon18 = QIcon() + icon18.addFile(u":/icon/folder.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.chooseGestaltBtn.setIcon(icon18) + self.chooseGestaltBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) - self.verticalLayout_14.addWidget(self.featureFlagsPageContent) + self.horizontalLayout_7.addWidget(self.chooseGestaltBtn) - self.pages.addWidget(self.featureFlagsPage) - self.euEnablerPage = QWidget() - self.euEnablerPage.setObjectName(u"euEnablerPage") - self.verticalLayout_17 = QVBoxLayout(self.euEnablerPage) - self.verticalLayout_17.setObjectName(u"verticalLayout_17") - self.verticalLayout_17.setContentsMargins(0, 0, 0, 0) - self.horizontalWidget_6 = QWidget(self.euEnablerPage) - self.horizontalWidget_6.setObjectName(u"horizontalWidget_6") - self.horizontalLayout_21 = QHBoxLayout(self.horizontalWidget_6) - self.horizontalLayout_21.setSpacing(10) - self.horizontalLayout_21.setObjectName(u"horizontalLayout_21") - self.horizontalLayout_21.setContentsMargins(0, 9, 0, 9) - self.toolButton_11 = QToolButton(self.horizontalWidget_6) - self.toolButton_11.setObjectName(u"toolButton_11") - self.toolButton_11.setEnabled(False) - self.toolButton_11.setStyleSheet(u"QToolButton {\n" + + self.verticalLayout_24.addLayout(self.horizontalLayout_7) + + self.horizontalWidget5 = QWidget(self.verticalWidget2) + self.horizontalWidget5.setObjectName(u"horizontalWidget5") + self.horizontalLayout_17 = QHBoxLayout(self.horizontalWidget5) + self.horizontalLayout_17.setObjectName(u"horizontalLayout_17") + self.horizontalLayout_17.setContentsMargins(0, 0, 0, 0) + self.applyTweaksBtn = QToolButton(self.horizontalWidget5) + self.applyTweaksBtn.setObjectName(u"applyTweaksBtn") + self.applyTweaksBtn.setIcon(icon9) + self.applyTweaksBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + + self.horizontalLayout_17.addWidget(self.applyTweaksBtn) + + + self.verticalLayout_24.addWidget(self.horizontalWidget5) + + self.statusLbl = QLabel(self.verticalWidget2) + self.statusLbl.setObjectName(u"statusLbl") + self.statusLbl.setAlignment(Qt.AlignCenter) + + self.verticalLayout_24.addWidget(self.statusLbl) + + self.restoreProgressBar = QProgressBar(self.verticalWidget2) + self.restoreProgressBar.setObjectName(u"restoreProgressBar") + sizePolicy.setHeightForWidth(self.restoreProgressBar.sizePolicy().hasHeightForWidth()) + self.restoreProgressBar.setSizePolicy(sizePolicy) + self.restoreProgressBar.setMinimumSize(QSize(150, 0)) + self.restoreProgressBar.setValue(0) + self.restoreProgressBar.setAlignment(Qt.AlignCenter) + + self.verticalLayout_24.addWidget(self.restoreProgressBar, 0, Qt.AlignHCenter) + + self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + + self.verticalLayout_24.addItem(self.verticalSpacer_2) + + self.horizontalWidget6 = QWidget(self.verticalWidget2) + self.horizontalWidget6.setObjectName(u"horizontalWidget6") + self.horizontalLayout_25 = QHBoxLayout(self.horizontalWidget6) + self.horizontalLayout_25.setObjectName(u"horizontalLayout_25") + self.horizontalLayout_25.setContentsMargins(0, 0, 0, 0) + self.horizontalSpacer_14 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_25.addItem(self.horizontalSpacer_14) + + self.removeTweaksBtn = QToolButton(self.horizontalWidget6) + self.removeTweaksBtn.setObjectName(u"removeTweaksBtn") + + self.horizontalLayout_25.addWidget(self.removeTweaksBtn) + + self.resetGestaltBtn = QToolButton(self.horizontalWidget6) + self.resetGestaltBtn.setObjectName(u"resetGestaltBtn") + + self.horizontalLayout_25.addWidget(self.resetGestaltBtn) + + self.horizontalSpacer_16 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_25.addItem(self.horizontalSpacer_16) + + + self.verticalLayout_24.addWidget(self.horizontalWidget6) + + + self.verticalLayout_6.addWidget(self.verticalWidget2) + + self.pages.addWidget(self.applyPage) + self.settingsPage = QWidget() + self.settingsPage.setObjectName(u"settingsPage") + self.verticalLayout_101 = QVBoxLayout(self.settingsPage) + self.verticalLayout_101.setObjectName(u"verticalLayout_101") + self.verticalLayout_101.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_41 = QWidget(self.settingsPage) + self.horizontalWidget_41.setObjectName(u"horizontalWidget_41") + self.horizontalLayout_131 = QHBoxLayout(self.horizontalWidget_41) + self.horizontalLayout_131.setSpacing(10) + self.horizontalLayout_131.setObjectName(u"horizontalLayout_131") + self.horizontalLayout_131.setContentsMargins(0, 9, 0, 9) + self.toolButton_71 = QToolButton(self.horizontalWidget_41) + self.toolButton_71.setObjectName(u"toolButton_71") + self.toolButton_71.setEnabled(False) + self.toolButton_71.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.toolButton_11.setIcon(icon4) + self.toolButton_71.setIcon(icon10) - self.horizontalLayout_21.addWidget(self.toolButton_11) + self.horizontalLayout_131.addWidget(self.toolButton_71) - self.verticalWidget_5 = QWidget(self.horizontalWidget_6) - self.verticalWidget_5.setObjectName(u"verticalWidget_5") - self.verticalLayout_15 = QVBoxLayout(self.verticalWidget_5) - self.verticalLayout_15.setSpacing(6) - self.verticalLayout_15.setObjectName(u"verticalLayout_15") - self.verticalLayout_15.setContentsMargins(0, 0, 0, 0) - self.setupOptionsLbl = QLabel(self.verticalWidget_5) - self.setupOptionsLbl.setObjectName(u"setupOptionsLbl") - self.setupOptionsLbl.setFont(font1) + self.verticalWidget_31 = QWidget(self.horizontalWidget_41) + self.verticalWidget_31.setObjectName(u"verticalWidget_31") + self.verticalLayout_71 = QVBoxLayout(self.verticalWidget_31) + self.verticalLayout_71.setSpacing(6) + self.verticalLayout_71.setObjectName(u"verticalLayout_71") + self.verticalLayout_71.setContentsMargins(0, 0, 0, 0) + self.springboardOptionsLbl1 = QLabel(self.verticalWidget_31) + self.springboardOptionsLbl1.setObjectName(u"springboardOptionsLbl1") + self.springboardOptionsLbl1.setFont(font1) - self.verticalLayout_15.addWidget(self.setupOptionsLbl) + self.verticalLayout_71.addWidget(self.springboardOptionsLbl1) - self.euEnablerEnabledChk = QCheckBox(self.verticalWidget_5) - self.euEnablerEnabledChk.setObjectName(u"euEnablerEnabledChk") + self.verticalSpacer_17 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.verticalLayout_15.addWidget(self.euEnablerEnabledChk) + self.verticalLayout_71.addItem(self.verticalSpacer_17) - self.horizontalLayout_21.addWidget(self.verticalWidget_5) + self.horizontalLayout_131.addWidget(self.verticalWidget_31) - self.horizontalSpacer_8 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.horizontalSpacer_61 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_21.addItem(self.horizontalSpacer_8) + self.horizontalLayout_131.addItem(self.horizontalSpacer_61) - self.verticalLayout_17.addWidget(self.horizontalWidget_6) + self.verticalLayout_101.addWidget(self.horizontalWidget_41) - self.line_13 = QFrame(self.euEnablerPage) - self.line_13.setObjectName(u"line_13") - self.line_13.setStyleSheet(u"QFrame {\n" + self.line_111 = QFrame(self.settingsPage) + self.line_111.setObjectName(u"line_111") + self.line_111.setStyleSheet(u"QFrame {\n" " color: #414141;\n" "}") - self.line_13.setFrameShadow(QFrame.Plain) - self.line_13.setFrameShape(QFrame.Shape.HLine) + self.line_111.setFrameShadow(QFrame.Plain) + self.line_111.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_17.addWidget(self.line_13) + self.verticalLayout_101.addWidget(self.line_111) - self.euEnablerPageContent = QWidget(self.euEnablerPage) - self.euEnablerPageContent.setObjectName(u"euEnablerPageContent") - self.euEnablerPageContent.setEnabled(False) - self.verticalLayout_16 = QVBoxLayout(self.euEnablerPageContent) - self.verticalLayout_16.setObjectName(u"verticalLayout_16") - self.verticalLayout_16.setContentsMargins(0, 0, 0, 0) - self.label_5 = QLabel(self.euEnablerPageContent) - self.label_5.setObjectName(u"label_5") + self.settingsPageContent = QWidget(self.settingsPage) + self.settingsPageContent.setObjectName(u"settingsPageContent") + self.settingsPageContent.setEnabled(True) + self.settingsPageContent.setMaximumSize(QSize(650, 16777215)) + self._21 = QVBoxLayout(self.settingsPageContent) + self._21.setObjectName(u"_21") + self._21.setContentsMargins(0, 0, 0, 0) + self.allowWifiApplyingChk = QCheckBox(self.settingsPageContent) + self.allowWifiApplyingChk.setObjectName(u"allowWifiApplyingChk") + self.allowWifiApplyingChk.setChecked(True) - self.verticalLayout_16.addWidget(self.label_5) + self._21.addWidget(self.allowWifiApplyingChk) - self.methodChoiceDrp = QComboBox(self.euEnablerPageContent) - self.methodChoiceDrp.addItem("") - self.methodChoiceDrp.addItem("") - self.methodChoiceDrp.setObjectName(u"methodChoiceDrp") - self.methodChoiceDrp.setMaximumSize(QSize(150, 16777215)) - self.methodChoiceDrp.setStyleSheet(u"QComboBox {\n" -" background-color: #3b3b3b;\n" -" border: none;\n" -" color: #e8e8e8;\n" -" font-size: 14px;\n" -" padding-left: 8px;\n" -" border-radius: 8px;\n" -"}\n" -"\n" -"QComboBox::drop-down {\n" -" image: url(:/icon/caret-down-fill.svg);\n" -" icon-size: 16px;\n" -" subcontrol-position: right center;\n" -" margin-right: 8px;\n" -"}\n" -"\n" -"QComboBox QAbstractItemView {\n" -" background-color: #3b3b3b;\n" -" outline: none;\n" -" margin-top: 1px;\n" -"}\n" -"\n" -"QComboBox QAbstractItemView::item {\n" -" background-color: #3b3b3b;\n" -" color: #e8e8e8;\n" -" padding-left: 8px;\n" -"}\n" -"\n" -"QComboBox QAbstractItemView::item:hover {\n" -" background-color: #535353;\n" -" color: #ffffff;\n" -"}") + self.verticalSpacer_51 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_16.addWidget(self.methodChoiceDrp) + self._21.addItem(self.verticalSpacer_51) - self.label_6 = QLabel(self.euEnablerPageContent) - self.label_6.setObjectName(u"label_6") - self.verticalLayout_16.addWidget(self.label_6) + self.verticalLayout_101.addWidget(self.settingsPageContent) + + self.pages.addWidget(self.settingsPage) + self.locSimPage = QWidget() + self.locSimPage.setObjectName(u"locSimPage") + self.verticalLayout_28 = QVBoxLayout(self.locSimPage) + self.verticalLayout_28.setObjectName(u"verticalLayout_28") + self.verticalLayout_28.setContentsMargins(0, 0, 0, 0) + self.locSimPageHeader = QWidget(self.locSimPage) + self.locSimPageHeader.setObjectName(u"locSimPageHeader") + self.horizontalLayout_28 = QHBoxLayout(self.locSimPageHeader) + self.horizontalLayout_28.setSpacing(10) + self.horizontalLayout_28.setObjectName(u"horizontalLayout_28") + self.horizontalLayout_28.setContentsMargins(0, -1, 0, -1) + self.toolButton_13 = QToolButton(self.locSimPageHeader) + self.toolButton_13.setObjectName(u"toolButton_13") + self.toolButton_13.setEnabled(False) + self.toolButton_13.setStyleSheet(u"QToolButton {\n" +" icon-size: 24px;\n" +" background-color: transparent;\n" +" padding-left: 0px;\n" +" padding-right: 5px;\n" +" border-radius: 0px;\n" +"}") + self.toolButton_13.setIcon(icon4) + + self.horizontalLayout_28.addWidget(self.toolButton_13) + + self.verticalWidget_8 = QWidget(self.locSimPageHeader) + self.verticalWidget_8.setObjectName(u"verticalWidget_8") + self.verticalLayout_27 = QVBoxLayout(self.verticalWidget_8) + self.verticalLayout_27.setSpacing(6) + self.verticalLayout_27.setObjectName(u"verticalLayout_27") + self.verticalLayout_27.setContentsMargins(0, 0, 0, 0) + self.statusBarLbl_2 = QLabel(self.verticalWidget_8) + self.statusBarLbl_2.setObjectName(u"statusBarLbl_2") + self.statusBarLbl_2.setFont(font1) + + self.verticalLayout_27.addWidget(self.statusBarLbl_2) + + self.label_4 = QLabel(self.verticalWidget_8) + self.label_4.setObjectName(u"label_4") + + self.verticalLayout_27.addWidget(self.label_4) + + + self.horizontalLayout_28.addWidget(self.verticalWidget_8) + + self.horizontalSpacer_11 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_28.addItem(self.horizontalSpacer_11) + + self.loadLocSimBtn = QToolButton(self.locSimPageHeader) + self.loadLocSimBtn.setObjectName(u"loadLocSimBtn") + + self.horizontalLayout_28.addWidget(self.loadLocSimBtn) + + + self.verticalLayout_28.addWidget(self.locSimPageHeader) + + self.line_2 = QFrame(self.locSimPage) + self.line_2.setObjectName(u"line_2") + self.line_2.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_2.setFrameShadow(QFrame.Plain) + self.line_2.setFrameShape(QFrame.Shape.HLine) + + self.verticalLayout_28.addWidget(self.line_2) + + self.verticalSpacer_14 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + + self.verticalLayout_28.addItem(self.verticalSpacer_14) + + self.locSimCnt = QWidget(self.locSimPage) + self.locSimCnt.setObjectName(u"locSimCnt") + self.locSimPageContent = QVBoxLayout(self.locSimCnt) + self.locSimPageContent.setObjectName(u"locSimPageContent") + self.locSimPageContent.setContentsMargins(0, 0, 0, 0) + self.verticalWidget3 = QWidget(self.locSimCnt) + self.verticalWidget3.setObjectName(u"verticalWidget3") + self.verticalLayout_29 = QVBoxLayout(self.verticalWidget3) + self.verticalLayout_29.setObjectName(u"verticalLayout_29") + self.verticalLayout_29.setContentsMargins(0, 0, 0, 0) + self.label_7 = QLabel(self.verticalWidget3) + self.label_7.setObjectName(u"label_7") + self.label_7.setAlignment(Qt.AlignCenter) + + self.verticalLayout_29.addWidget(self.label_7) + + self.latitudeTxt = QLineEdit(self.verticalWidget3) + self.latitudeTxt.setObjectName(u"latitudeTxt") + self.latitudeTxt.setAlignment(Qt.AlignCenter) + + self.verticalLayout_29.addWidget(self.latitudeTxt) + + self.label_11 = QLabel(self.verticalWidget3) + self.label_11.setObjectName(u"label_11") + self.label_11.setAlignment(Qt.AlignCenter) + + self.verticalLayout_29.addWidget(self.label_11) + + self.longitudeTxt = QLineEdit(self.verticalWidget3) + self.longitudeTxt.setObjectName(u"longitudeTxt") + self.longitudeTxt.setAlignment(Qt.AlignCenter) + + self.verticalLayout_29.addWidget(self.longitudeTxt) + + self.horizontalWidget7 = QWidget(self.verticalWidget3) + self.horizontalWidget7.setObjectName(u"horizontalWidget7") + self.horizontalLayout_3 = QHBoxLayout(self.horizontalWidget7) + self.horizontalLayout_3.setObjectName(u"horizontalLayout_3") + self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0) + self.setLocationBtn = QToolButton(self.horizontalWidget7) + self.setLocationBtn.setObjectName(u"setLocationBtn") + + self.horizontalLayout_3.addWidget(self.setLocationBtn) + + + self.verticalLayout_29.addWidget(self.horizontalWidget7) + + self.horizontalWidget_22 = QWidget(self.verticalWidget3) + self.horizontalWidget_22.setObjectName(u"horizontalWidget_22") + self.horizontalLayout_29 = QHBoxLayout(self.horizontalWidget_22) + self.horizontalLayout_29.setObjectName(u"horizontalLayout_29") + self.horizontalLayout_29.setContentsMargins(0, 0, 0, 0) + self.resetLocationBtn = QToolButton(self.horizontalWidget_22) + self.resetLocationBtn.setObjectName(u"resetLocationBtn") + + self.horizontalLayout_29.addWidget(self.resetLocationBtn) + + + self.verticalLayout_29.addWidget(self.horizontalWidget_22) + + + self.locSimPageContent.addWidget(self.verticalWidget3) + + + self.verticalLayout_28.addWidget(self.locSimCnt) + + self.verticalSpacer_13 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + + self.verticalLayout_28.addItem(self.verticalSpacer_13) + + self.pages.addWidget(self.locSimPage) + self.customOperationsPage = QWidget() + self.customOperationsPage.setObjectName(u"customOperationsPage") + self.verticalLayout_20 = QVBoxLayout(self.customOperationsPage) + self.verticalLayout_20.setObjectName(u"verticalLayout_20") + self.verticalLayout_20.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_7 = QWidget(self.customOperationsPage) + self.horizontalWidget_7.setObjectName(u"horizontalWidget_7") + self.horizontalLayout_22 = QHBoxLayout(self.horizontalWidget_7) + self.horizontalLayout_22.setSpacing(10) + self.horizontalLayout_22.setObjectName(u"horizontalLayout_22") + self.horizontalLayout_22.setContentsMargins(0, 9, 0, 9) + self.toolButton_12 = QToolButton(self.horizontalWidget_7) + self.toolButton_12.setObjectName(u"toolButton_12") + self.toolButton_12.setEnabled(False) + self.toolButton_12.setStyleSheet(u"QToolButton {\n" +" icon-size: 24px;\n" +" background-color: transparent;\n" +" padding-left: 0px;\n" +" padding-right: 5px;\n" +" border-radius: 0px;\n" +"}") + icon19 = QIcon() + icon19.addFile(u":/icon/pencil.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.toolButton_12.setIcon(icon19) + self.toolButton_12.setIconSize(QSize(25, 25)) + + self.horizontalLayout_22.addWidget(self.toolButton_12) + + self.verticalWidget_6 = QWidget(self.horizontalWidget_7) + self.verticalWidget_6.setObjectName(u"verticalWidget_6") + self.verticalLayout_18 = QVBoxLayout(self.verticalWidget_6) + self.verticalLayout_18.setSpacing(6) + self.verticalLayout_18.setObjectName(u"verticalLayout_18") + self.verticalLayout_18.setContentsMargins(0, 0, 0, 0) + self.customOperationsLbl = QLabel(self.verticalWidget_6) + self.customOperationsLbl.setObjectName(u"customOperationsLbl") + self.customOperationsLbl.setFont(font1) + + self.verticalLayout_18.addWidget(self.customOperationsLbl) + + self.label_14 = QLabel(self.verticalWidget_6) + self.label_14.setObjectName(u"label_14") + + self.verticalLayout_18.addWidget(self.label_14) + + + self.horizontalLayout_22.addWidget(self.verticalWidget_6) + + self.horizontalSpacer_9 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_22.addItem(self.horizontalSpacer_9) + + + self.verticalLayout_20.addWidget(self.horizontalWidget_7) + + self.line_14 = QFrame(self.customOperationsPage) + self.line_14.setObjectName(u"line_14") + self.line_14.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_14.setFrameShadow(QFrame.Plain) + self.line_14.setFrameShape(QFrame.Shape.HLine) + + self.verticalLayout_20.addWidget(self.line_14) + + self.customOperationsPageContent = QWidget(self.customOperationsPage) + self.customOperationsPageContent.setObjectName(u"customOperationsPageContent") + self.customOperationsPageContent.setEnabled(True) + self.verticalLayout_19 = QVBoxLayout(self.customOperationsPageContent) + self.verticalLayout_19.setObjectName(u"verticalLayout_19") + self.verticalLayout_19.setContentsMargins(0, 0, 0, 0) + self.customOpsTopBtns = QHBoxLayout() +#ifndef Q_OS_MAC + self.customOpsTopBtns.setSpacing(-1) +#endif + self.customOpsTopBtns.setObjectName(u"customOpsTopBtns") + self.customOpsTopBtns.setContentsMargins(-1, -1, -1, 0) + self.horizontalSpacer_17 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.customOpsTopBtns.addItem(self.horizontalSpacer_17) + + self.importOperationBtn = QToolButton(self.customOperationsPageContent) + self.importOperationBtn.setObjectName(u"importOperationBtn") + self.importOperationBtn.setEnabled(True) + icon20 = QIcon() + icon20.addFile(u":/icon/import.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.importOperationBtn.setIcon(icon20) + self.importOperationBtn.setIconSize(QSize(20, 20)) + self.importOperationBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + + self.customOpsTopBtns.addWidget(self.importOperationBtn, 0, Qt.AlignLeft) + + self.newOperationBtn = QToolButton(self.customOperationsPageContent) + self.newOperationBtn.setObjectName(u"newOperationBtn") + self.newOperationBtn.setEnabled(True) + sizePolicy2.setHeightForWidth(self.newOperationBtn.sizePolicy().hasHeightForWidth()) + self.newOperationBtn.setSizePolicy(sizePolicy2) + self.newOperationBtn.setMinimumSize(QSize(0, 35)) + icon21 = QIcon() + icon21.addFile(u":/icon/plus.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.newOperationBtn.setIcon(icon21) + self.newOperationBtn.setIconSize(QSize(16, 16)) + self.newOperationBtn.setCheckable(False) + self.newOperationBtn.setAutoExclusive(True) + self.newOperationBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + + self.customOpsTopBtns.addWidget(self.newOperationBtn, 0, Qt.AlignLeft) + + + self.verticalLayout_19.addLayout(self.customOpsTopBtns) + + self.operationsCnt = QWidget(self.customOperationsPageContent) + self.operationsCnt.setObjectName(u"operationsCnt") + self.operationsCnt.setEnabled(True) + sizePolicy5 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding) + sizePolicy5.setHorizontalStretch(0) + sizePolicy5.setVerticalStretch(0) + sizePolicy5.setHeightForWidth(self.operationsCnt.sizePolicy().hasHeightForWidth()) + self.operationsCnt.setSizePolicy(sizePolicy5) + + self.verticalLayout_19.addWidget(self.operationsCnt) + + + self.verticalLayout_20.addWidget(self.customOperationsPageContent) + + self.pages.addWidget(self.customOperationsPage) + self.explorePage = QWidget() + self.explorePage.setObjectName(u"explorePage") + self.verticalLayout_31 = QVBoxLayout(self.explorePage) + self.verticalLayout_31.setObjectName(u"verticalLayout_31") + self.verticalLayout_31.setContentsMargins(0, 0, 0, 0) + self.explorePageHeader = QWidget(self.explorePage) + self.explorePageHeader.setObjectName(u"explorePageHeader") + self.horizontalLayout_31 = QHBoxLayout(self.explorePageHeader) + self.horizontalLayout_31.setSpacing(10) + self.horizontalLayout_31.setObjectName(u"horizontalLayout_31") + self.horizontalLayout_31.setContentsMargins(0, -1, 0, -1) + self.toolButton_16 = QToolButton(self.explorePageHeader) + self.toolButton_16.setObjectName(u"toolButton_16") + self.toolButton_16.setEnabled(False) + self.toolButton_16.setStyleSheet(u"QToolButton {\n" +" icon-size: 24px;\n" +" background-color: transparent;\n" +" padding-left: 0px;\n" +" padding-right: 5px;\n" +" border-radius: 0px;\n" +"}") + self.toolButton_16.setIcon(icon3) + + self.horizontalLayout_31.addWidget(self.toolButton_16) + + self.verticalWidget_9 = QWidget(self.explorePageHeader) + self.verticalWidget_9.setObjectName(u"verticalWidget_9") + self.verticalLayout_30 = QVBoxLayout(self.verticalWidget_9) + self.verticalLayout_30.setSpacing(6) + self.verticalLayout_30.setObjectName(u"verticalLayout_30") + self.verticalLayout_30.setContentsMargins(0, 0, 0, 0) + self.exploreLbl = QLabel(self.verticalWidget_9) + self.exploreLbl.setObjectName(u"exploreLbl") + self.exploreLbl.setFont(font1) + + self.verticalLayout_30.addWidget(self.exploreLbl) + + self.exploreSubLbl = QLabel(self.verticalWidget_9) + self.exploreSubLbl.setObjectName(u"exploreSubLbl") + + self.verticalLayout_30.addWidget(self.exploreSubLbl) + + + self.horizontalLayout_31.addWidget(self.verticalWidget_9) + + self.horizontalSpacer_13 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + + self.horizontalLayout_31.addItem(self.horizontalSpacer_13) - self.regionCodeTxt = QLineEdit(self.euEnablerPageContent) - self.regionCodeTxt.setObjectName(u"regionCodeTxt") - self.verticalLayout_16.addWidget(self.regionCodeTxt) + self.verticalLayout_31.addWidget(self.explorePageHeader) - self.verticalSpacer_7 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.line_3 = QFrame(self.explorePage) + self.line_3.setObjectName(u"line_3") + self.line_3.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_3.setFrameShadow(QFrame.Plain) + self.line_3.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_16.addItem(self.verticalSpacer_7) + self.verticalLayout_31.addWidget(self.line_3) + self.exploreThemesCnt = QWidget(self.explorePage) + self.exploreThemesCnt.setObjectName(u"exploreThemesCnt") + sizePolicy5.setHeightForWidth(self.exploreThemesCnt.sizePolicy().hasHeightForWidth()) + self.exploreThemesCnt.setSizePolicy(sizePolicy5) - self.verticalLayout_17.addWidget(self.euEnablerPageContent) + self.verticalLayout_31.addWidget(self.exploreThemesCnt) - self.pages.addWidget(self.euEnablerPage) - self.applyPage = QWidget() - self.applyPage.setObjectName(u"applyPage") - self.verticalLayout_6 = QVBoxLayout(self.applyPage) - self.verticalLayout_6.setObjectName(u"verticalLayout_6") - self.verticalLayout_6.setContentsMargins(0, 0, 0, 0) - self.verticalWidget3 = QWidget(self.applyPage) - self.verticalWidget3.setObjectName(u"verticalWidget3") - self.verticalLayout_24 = QVBoxLayout(self.verticalWidget3) - self.verticalLayout_24.setObjectName(u"verticalLayout_24") - self.verticalLayout_24.setContentsMargins(0, 0, 0, 0) - self.locSimPageHeader_2 = QWidget(self.verticalWidget3) - self.locSimPageHeader_2.setObjectName(u"locSimPageHeader_2") - self.horizontalLayout_33 = QHBoxLayout(self.locSimPageHeader_2) - self.horizontalLayout_33.setSpacing(10) - self.horizontalLayout_33.setObjectName(u"horizontalLayout_33") - self.horizontalLayout_33.setContentsMargins(0, -1, 0, -1) - self.toolButton_18 = QToolButton(self.locSimPageHeader_2) - self.toolButton_18.setObjectName(u"toolButton_18") - self.toolButton_18.setEnabled(False) - self.toolButton_18.setStyleSheet(u"QToolButton {\n" + self.pages.addWidget(self.explorePage) + self.themingPage = QWidget() + self.themingPage.setObjectName(u"themingPage") + self.verticalLayout_23 = QVBoxLayout(self.themingPage) + self.verticalLayout_23.setObjectName(u"verticalLayout_23") + self.verticalLayout_23.setContentsMargins(0, 0, 0, 0) + self.horizontalWidget_8 = QWidget(self.themingPage) + self.horizontalWidget_8.setObjectName(u"horizontalWidget_8") + self.horizontalLayout_23 = QHBoxLayout(self.horizontalWidget_8) + self.horizontalLayout_23.setSpacing(10) + self.horizontalLayout_23.setObjectName(u"horizontalLayout_23") + self.horizontalLayout_23.setContentsMargins(0, 9, 0, 9) + self.themesBtn = QToolButton(self.horizontalWidget_8) + self.themesBtn.setObjectName(u"themesBtn") + self.themesBtn.setEnabled(True) + self.themesBtn.setStyleSheet(u"QToolButton {\n" " icon-size: 24px;\n" " background-color: transparent;\n" " padding-left: 0px;\n" " padding-right: 5px;\n" " border-radius: 0px;\n" "}") - self.toolButton_18.setIcon(icon9) - - self.horizontalLayout_33.addWidget(self.toolButton_18) - - self.verticalWidget_11 = QWidget(self.locSimPageHeader_2) - self.verticalWidget_11.setObjectName(u"verticalWidget_11") - self.verticalLayout_33 = QVBoxLayout(self.verticalWidget_11) - self.verticalLayout_33.setSpacing(6) - self.verticalLayout_33.setObjectName(u"verticalLayout_33") - self.verticalLayout_33.setContentsMargins(0, 0, 0, 0) - self.statusBarLbl_5 = QLabel(self.verticalWidget_11) - self.statusBarLbl_5.setObjectName(u"statusBarLbl_5") - self.statusBarLbl_5.setFont(font1) - - self.verticalLayout_33.addWidget(self.statusBarLbl_5) - - self.label_16 = QLabel(self.verticalWidget_11) - self.label_16.setObjectName(u"label_16") + self.themesBtn.setIcon(icon5) + self.themesBtn.setIconSize(QSize(30, 30)) - self.verticalLayout_33.addWidget(self.label_16) + self.horizontalLayout_23.addWidget(self.themesBtn) + self.verticalWidget_7 = QWidget(self.horizontalWidget_8) + self.verticalWidget_7.setObjectName(u"verticalWidget_7") + self.verticalLayout_21 = QVBoxLayout(self.verticalWidget_7) + self.verticalLayout_21.setSpacing(6) + self.verticalLayout_21.setObjectName(u"verticalLayout_21") + self.verticalLayout_21.setContentsMargins(0, 0, 0, 0) + self.themesLbl = QLabel(self.verticalWidget_7) + self.themesLbl.setObjectName(u"themesLbl") + self.themesLbl.setFont(font1) - self.horizontalLayout_33.addWidget(self.verticalWidget_11) + self.verticalLayout_21.addWidget(self.themesLbl) - self.horizontalSpacer_15 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.horizontalLayout_33.addItem(self.horizontalSpacer_15) + self.horizontalLayout_23.addWidget(self.verticalWidget_7) + self.horizontalSpacer_10 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - self.verticalLayout_24.addWidget(self.locSimPageHeader_2) + self.horizontalLayout_23.addItem(self.horizontalSpacer_10) - self.line_5 = QFrame(self.verticalWidget3) - self.line_5.setObjectName(u"line_5") - self.line_5.setStyleSheet(u"QFrame {\n" -" color: #414141;\n" + self.horizontalWidget8 = QWidget(self.horizontalWidget_8) + self.horizontalWidget8.setObjectName(u"horizontalWidget8") + self.horizontalLayout_26 = QHBoxLayout(self.horizontalWidget8) + self.horizontalLayout_26.setObjectName(u"horizontalLayout_26") + self.horizontalLayout_26.setContentsMargins(0, 0, 0, 0) + self.importThemeBtn = QToolButton(self.horizontalWidget8) + self.importThemeBtn.setObjectName(u"importThemeBtn") + self.importThemeBtn.setEnabled(False) + self.importThemeBtn.setStyleSheet(u"QToolButton {\n" +" background: none;\n" "}") - self.line_5.setFrameShadow(QFrame.Plain) - self.line_5.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_24.addWidget(self.line_5) + self.horizontalLayout_26.addWidget(self.importThemeBtn) - self.verticalSpacer_10 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.importThemeFolderBtn = QToolButton(self.horizontalWidget8) + self.importThemeFolderBtn.setObjectName(u"importThemeFolderBtn") + self.importThemeFolderBtn.setIcon(icon18) - self.verticalLayout_24.addItem(self.verticalSpacer_10) + self.horizontalLayout_26.addWidget(self.importThemeFolderBtn) - self.modifiedTweaksLbl = QLabel(self.verticalWidget3) - self.modifiedTweaksLbl.setObjectName(u"modifiedTweaksLbl") - self.modifiedTweaksLbl.setAlignment(Qt.AlignCenter) + self.importThemeZipBtn = QToolButton(self.horizontalWidget8) + self.importThemeZipBtn.setObjectName(u"importThemeZipBtn") + icon22 = QIcon() + icon22.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off) + self.importThemeZipBtn.setIcon(icon22) - self.verticalLayout_24.addWidget(self.modifiedTweaksLbl) + self.horizontalLayout_26.addWidget(self.importThemeZipBtn) - self.gestaltLocationLbl = QLabel(self.verticalWidget3) - self.gestaltLocationLbl.setObjectName(u"gestaltLocationLbl") - self.gestaltLocationLbl.setAlignment(Qt.AlignCenter) - self.verticalLayout_24.addWidget(self.gestaltLocationLbl) + self.horizontalLayout_23.addWidget(self.horizontalWidget8) - self.horizontalLayout_7 = QHBoxLayout() - self.horizontalLayout_7.setObjectName(u"horizontalLayout_7") - self.horizontalLayout_7.setContentsMargins(-1, 10, -1, 0) - self.chooseGestaltBtn = QToolButton(self.verticalWidget3) - self.chooseGestaltBtn.setObjectName(u"chooseGestaltBtn") - self.chooseGestaltBtn.setIcon(icon16) - self.chooseGestaltBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) - self.horizontalLayout_7.addWidget(self.chooseGestaltBtn) + self.verticalLayout_23.addWidget(self.horizontalWidget_8) + self.line_15 = QFrame(self.themingPage) + self.line_15.setObjectName(u"line_15") + self.line_15.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_15.setFrameShadow(QFrame.Plain) + self.line_15.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_24.addLayout(self.horizontalLayout_7) + self.verticalLayout_23.addWidget(self.line_15) - self.horizontalWidget8 = QWidget(self.verticalWidget3) - self.horizontalWidget8.setObjectName(u"horizontalWidget8") - self.horizontalLayout_17 = QHBoxLayout(self.horizontalWidget8) - self.horizontalLayout_17.setObjectName(u"horizontalLayout_17") - self.horizontalLayout_17.setContentsMargins(0, 0, 0, 0) - self.applyTweaksBtn = QToolButton(self.horizontalWidget8) - self.applyTweaksBtn.setObjectName(u"applyTweaksBtn") - self.applyTweaksBtn.setIcon(icon9) - self.applyTweaksBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon) + self.themesPageContent = QWidget(self.themingPage) + self.themesPageContent.setObjectName(u"themesPageContent") + self.themesPageContent.setEnabled(False) + self.verticalLayout_22 = QVBoxLayout(self.themesPageContent) + self.verticalLayout_22.setObjectName(u"verticalLayout_22") + self.verticalLayout_22.setContentsMargins(0, 0, 0, 0) + self.themesCnt = QWidget(self.themesPageContent) + self.themesCnt.setObjectName(u"themesCnt") - self.horizontalLayout_17.addWidget(self.applyTweaksBtn) + self.verticalLayout_22.addWidget(self.themesCnt) + self.line = QFrame(self.themesPageContent) + self.line.setObjectName(u"line") + self.line.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line.setFrameShadow(QFrame.Plain) + self.line.setFrameShape(QFrame.Shape.HLine) - self.verticalLayout_24.addWidget(self.horizontalWidget8) + self.verticalLayout_22.addWidget(self.line) - self.statusLbl = QLabel(self.verticalWidget3) - self.statusLbl.setObjectName(u"statusLbl") - self.statusLbl.setAlignment(Qt.AlignCenter) + self.label_3 = QLabel(self.themesPageContent) + self.label_3.setObjectName(u"label_3") - self.verticalLayout_24.addWidget(self.statusLbl) + self.verticalLayout_22.addWidget(self.label_3) - self.restoreProgressBar = QProgressBar(self.verticalWidget3) - self.restoreProgressBar.setObjectName(u"restoreProgressBar") - sizePolicy.setHeightForWidth(self.restoreProgressBar.sizePolicy().hasHeightForWidth()) - self.restoreProgressBar.setSizePolicy(sizePolicy) - self.restoreProgressBar.setMinimumSize(QSize(150, 0)) - self.restoreProgressBar.setValue(0) - self.restoreProgressBar.setAlignment(Qt.AlignCenter) + self.iconsCnt = QWidget(self.themesPageContent) + self.iconsCnt.setObjectName(u"iconsCnt") - self.verticalLayout_24.addWidget(self.restoreProgressBar, 0, Qt.AlignHCenter) + self.verticalLayout_22.addWidget(self.iconsCnt) - self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + self.verticalSpacer_9 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) - self.verticalLayout_24.addItem(self.verticalSpacer_2) + self.verticalLayout_22.addItem(self.verticalSpacer_9) - self.horizontalWidget9 = QWidget(self.verticalWidget3) + self.horizontalWidget9 = QWidget(self.themesPageContent) self.horizontalWidget9.setObjectName(u"horizontalWidget9") - self.horizontalLayout_25 = QHBoxLayout(self.horizontalWidget9) - self.horizontalLayout_25.setObjectName(u"horizontalLayout_25") - self.horizontalLayout_25.setContentsMargins(0, 0, 0, 0) - self.horizontalSpacer_14 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) - - self.horizontalLayout_25.addItem(self.horizontalSpacer_14) - - self.removeTweaksBtn = QToolButton(self.horizontalWidget9) - self.removeTweaksBtn.setObjectName(u"removeTweaksBtn") + self.horizontalLayout_16 = QHBoxLayout(self.horizontalWidget9) + self.horizontalLayout_16.setObjectName(u"horizontalLayout_16") + self.horizontalLayout_16.setContentsMargins(0, 0, 0, 0) + self.hideNamesBtn = QToolButton(self.horizontalWidget9) + self.hideNamesBtn.setObjectName(u"hideNamesBtn") + sizePolicy2.setHeightForWidth(self.hideNamesBtn.sizePolicy().hasHeightForWidth()) + self.hideNamesBtn.setSizePolicy(sizePolicy2) - self.horizontalLayout_25.addWidget(self.removeTweaksBtn) + self.horizontalLayout_16.addWidget(self.hideNamesBtn) - self.resetGestaltBtn = QToolButton(self.horizontalWidget9) - self.resetGestaltBtn.setObjectName(u"resetGestaltBtn") + self.borderAllBtn = QToolButton(self.horizontalWidget9) + self.borderAllBtn.setObjectName(u"borderAllBtn") + sizePolicy2.setHeightForWidth(self.borderAllBtn.sizePolicy().hasHeightForWidth()) + self.borderAllBtn.setSizePolicy(sizePolicy2) - self.horizontalLayout_25.addWidget(self.resetGestaltBtn) + self.horizontalLayout_16.addWidget(self.borderAllBtn) - self.horizontalSpacer_16 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) + self.addAllBtn = QToolButton(self.horizontalWidget9) + self.addAllBtn.setObjectName(u"addAllBtn") + sizePolicy2.setHeightForWidth(self.addAllBtn.sizePolicy().hasHeightForWidth()) + self.addAllBtn.setSizePolicy(sizePolicy2) - self.horizontalLayout_25.addItem(self.horizontalSpacer_16) + self.horizontalLayout_16.addWidget(self.addAllBtn) - self.verticalLayout_24.addWidget(self.horizontalWidget9) + self.verticalLayout_22.addWidget(self.horizontalWidget9) - self.verticalLayout_6.addWidget(self.verticalWidget3) + self.verticalLayout_23.addWidget(self.themesPageContent) - self.pages.addWidget(self.applyPage) + self.pages.addWidget(self.themingPage) self._3.addWidget(self.pages) @@ -2123,14 +2471,14 @@ def retranslateUi(self, Nugget): self.explorePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.locSimPageBtn.setText(QCoreApplication.translate("Nugget", u" Location Simulation", None)) self.locSimPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) - self.customOperationsPageBtn.setText(QCoreApplication.translate("Nugget", u" Custom Operations", None)) - self.customOperationsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.gestaltPageBtn.setText(QCoreApplication.translate("Nugget", u" Mobile Gestalt", None)) self.gestaltPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.featureFlagsPageBtn.setText(QCoreApplication.translate("Nugget", u" Feature Flags", None)) self.featureFlagsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.euEnablerPageBtn.setText(QCoreApplication.translate("Nugget", u" EU Enabler", None)) self.euEnablerPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) + self.springboardOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Springboard Options", None)) + self.springboardOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.internalOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Internal Options", None)) self.internalOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.applyPageBtn.setText(QCoreApplication.translate("Nugget", u" Apply", None)) @@ -2142,8 +2490,10 @@ def retranslateUi(self, Nugget): self.bigNuggetBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) self.label_2.setText(QCoreApplication.translate("Nugget", u"Nugget", None)) self.discordBtn.setText(QCoreApplication.translate("Nugget", u" Join the Discord", None)) + self.starOnGithubBtn.setText(QCoreApplication.translate("Nugget", u"Star on Github", None)) self.leminBtn.setText(QCoreApplication.translate("Nugget", u" LeminLimez", None)) self.leminTwitterBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) + self.leminGithubBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) self.leminKoFiBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) self.toolButton_14.setText(QCoreApplication.translate("Nugget", u"Main Developer", None)) self.helpFromBtn.setText(QCoreApplication.translate("Nugget", u"With Help From", None)) @@ -2156,26 +2506,7 @@ def retranslateUi(self, Nugget): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 2.2", None)) - self.exploreLbl.setText(QCoreApplication.translate("Nugget", u"Explore", None)) - self.exploreSubLbl.setText("") - self.statusBarLbl_2.setText(QCoreApplication.translate("Nugget", u"Location Simulation", None)) - self.label_4.setText("") - self.loadLocSimBtn.setText(QCoreApplication.translate("Nugget", u"Start Location Simulation", None)) - self.label_7.setText(QCoreApplication.translate("Nugget", u"Latitude", None)) - self.latitudeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"XXX.XXXXX", None)) - self.label_11.setText(QCoreApplication.translate("Nugget", u"Longitude", None)) - self.longitudeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"XXX.XXXXX", None)) - self.setLocationBtn.setText(QCoreApplication.translate("Nugget", u"Set Location", None)) - self.resetLocationBtn.setText(QCoreApplication.translate("Nugget", u"Reset Location", None)) - self.themesLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt Modifications", None)) - self.importThemeBtn.setText(QCoreApplication.translate("Nugget", u"Import Theme:", None)) - self.importThemeFolderBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) - self.importThemeZipBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) - self.label_3.setText(QCoreApplication.translate("Nugget", u"Customize Individual Apps", None)) - self.hideNamesBtn.setText(QCoreApplication.translate("Nugget", u"Hide/Show All App Names", None)) - self.borderAllBtn.setText(QCoreApplication.translate("Nugget", u"Toggle All \"Border\"", None)) - self.addAllBtn.setText(QCoreApplication.translate("Nugget", u"Toggle All \"Add to Device\"", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 1)", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) @@ -2205,12 +2536,6 @@ def retranslateUi(self, Nugget): self.collisionSOSChk.setText(QCoreApplication.translate("Nugget", u"Enable Collision SOS", None)) self.sleepApneaChk.setText(QCoreApplication.translate("Nugget", u"Enable Sleep Apnea (real) [for Apple Watches]", None)) self.aodChk.setText(QCoreApplication.translate("Nugget", u"Enable Always On Display", None)) - self.customOperationsLbl.setText(QCoreApplication.translate("Nugget", u"Custom Operations", None)) - self.label_14.setText("") - self.importOperationBtn.setText(QCoreApplication.translate("Nugget", u" Import .cowperation", None)) - self.newOperationBtn.setText(QCoreApplication.translate("Nugget", u" New Operation", None)) - self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None)) - self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) self.internalOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Feature Flags", None)) self.clockAnimChk.setText(QCoreApplication.translate("Nugget", u"Enable Lockscreen Clock Animation", None)) self.lockscreenChk.setText(QCoreApplication.translate("Nugget", u"Enable Duplicate Lockscreen Button and Lockscreen Quickswitch", None)) @@ -2224,6 +2549,30 @@ def retranslateUi(self, Nugget): self.label_6.setText(QCoreApplication.translate("Nugget", u"Region Code (Should be 2 letters)", None)) self.regionCodeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Region Code (Default: US)", None)) + self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Springboard Options", None)) + self.label_13.setText(QCoreApplication.translate("Nugget", u"Lock Screen Footnote Text", None)) + self.footnoteTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Footnote Text", None)) + self.disableLockRespringChk.setText(QCoreApplication.translate("Nugget", u"Disable Lock After Respring", None)) + self.disableDimmingChk.setText(QCoreApplication.translate("Nugget", u"Disable Screen Dimming While Charging", None)) + self.disableBatteryAlertsChk.setText(QCoreApplication.translate("Nugget", u"Disable Low Battery Alerts", None)) + self.disableCrumbChk.setText(QCoreApplication.translate("Nugget", u"Disable Breadcrumbs", None)) + self.enableSupervisionTextChk.setText(QCoreApplication.translate("Nugget", u"Show Supervision Text on Lock Screen", None)) + self.enableAirPlayChk.setText(QCoreApplication.translate("Nugget", u"Enable AirPlay support for Stage Manager", None)) + self.internalOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Internal Options", None)) + self.buildVersionChk.setText(QCoreApplication.translate("Nugget", u"Show Build Version in Status Bar", None)) + self.RTLChk.setText(QCoreApplication.translate("Nugget", u"Force Right-to-Left Layout", None)) + self.metalHUDChk.setText(QCoreApplication.translate("Nugget", u"Enable Metal HUD Debug", None)) + self.accessoryChk.setText(QCoreApplication.translate("Nugget", u"Enable Accessory Developer", None)) + self.iMessageChk.setText(QCoreApplication.translate("Nugget", u"Enable iMessage Debugging", None)) + self.IDSChk.setText(QCoreApplication.translate("Nugget", u"Enable Continuity Debugging", None)) + self.VCChk.setText(QCoreApplication.translate("Nugget", u"Enable FaceTime Debugging", None)) + self.appStoreChk.setText(QCoreApplication.translate("Nugget", u"Enable App Store Debug Gesture", None)) + self.notesChk.setText(QCoreApplication.translate("Nugget", u"Enable Notes Debug Mode", None)) + self.showTouchesChk.setText(QCoreApplication.translate("Nugget", u"Show Touches With Debug Info", None)) + self.hideRespringChk.setText(QCoreApplication.translate("Nugget", u"Hide Respring Icon", None)) + self.enableWakeVibrateChk.setText(QCoreApplication.translate("Nugget", u"Vibrate on Raise-to-Wake", None)) + self.pasteSoundChk.setText(QCoreApplication.translate("Nugget", u"Play Sound on Paste", None)) + self.notifyPastesChk.setText(QCoreApplication.translate("Nugget", u"Show Notifications for System Pastes", None)) self.statusBarLbl_5.setText(QCoreApplication.translate("Nugget", u"Apply", None)) self.label_16.setText("") self.modifiedTweaksLbl.setText(QCoreApplication.translate("Nugget", u"Current gestalt file location:", None)) @@ -2233,5 +2582,30 @@ def retranslateUi(self, Nugget): self.statusLbl.setText(QCoreApplication.translate("Nugget", u"Ready!", None)) self.removeTweaksBtn.setText(QCoreApplication.translate("Nugget", u"Remove All Tweaks", None)) self.resetGestaltBtn.setText(QCoreApplication.translate("Nugget", u"Reset Mobile Gestalt", None)) + self.springboardOptionsLbl1.setText(QCoreApplication.translate("Nugget", u"Nugget Settings", None)) + self.allowWifiApplyingChk.setText(QCoreApplication.translate("Nugget", u"Allow Applying Over WiFi", None)) + self.statusBarLbl_2.setText(QCoreApplication.translate("Nugget", u"Location Simulation", None)) + self.label_4.setText("") + self.loadLocSimBtn.setText(QCoreApplication.translate("Nugget", u"Start Location Simulation", None)) + self.label_7.setText(QCoreApplication.translate("Nugget", u"Latitude", None)) + self.latitudeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"XXX.XXXXX", None)) + self.label_11.setText(QCoreApplication.translate("Nugget", u"Longitude", None)) + self.longitudeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"XXX.XXXXX", None)) + self.setLocationBtn.setText(QCoreApplication.translate("Nugget", u"Set Location", None)) + self.resetLocationBtn.setText(QCoreApplication.translate("Nugget", u"Reset Location", None)) + self.customOperationsLbl.setText(QCoreApplication.translate("Nugget", u"Custom Operations", None)) + self.label_14.setText("") + self.importOperationBtn.setText(QCoreApplication.translate("Nugget", u" Import .cowperation", None)) + self.newOperationBtn.setText(QCoreApplication.translate("Nugget", u" New Operation", None)) + self.exploreLbl.setText(QCoreApplication.translate("Nugget", u"Explore", None)) + self.exploreSubLbl.setText("") + self.themesLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt Modifications", None)) + self.importThemeBtn.setText(QCoreApplication.translate("Nugget", u"Import Theme:", None)) + self.importThemeFolderBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) + self.importThemeZipBtn.setText(QCoreApplication.translate("Nugget", u"...", None)) + self.label_3.setText(QCoreApplication.translate("Nugget", u"Customize Individual Apps", None)) + self.hideNamesBtn.setText(QCoreApplication.translate("Nugget", u"Hide/Show All App Names", None)) + self.borderAllBtn.setText(QCoreApplication.translate("Nugget", u"Toggle All \"Border\"", None)) + self.addAllBtn.setText(QCoreApplication.translate("Nugget", u"Toggle All \"Add to Device\"", None)) # retranslateUi From a543f8cb9bb543ced20d3e49af6d2461c1b0be00 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Fri, 27 Sep 2024 19:07:51 -0400 Subject: [PATCH 06/17] resetting file location tweaks --- cli_app.py | 10 +++++++++- devicemanagement/device_manager.py | 19 +++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/cli_app.py b/cli_app.py index d14837a..94c0128 100644 --- a/cli_app.py +++ b/cli_app.py @@ -1,5 +1,6 @@ from Sparserestore.restore import restore_files, FileToRestore, restore_file from tweaks.tweaks import tweaks, TweakModifyType, FeatureFlagTweak, EligibilityTweak, BasicPlistTweak +from tweaks.basic_plist_locations import FileLocation from devicemanagement.constants import Device from pymobiledevice3.exceptions import PyMobileDevice3Exception @@ -125,7 +126,6 @@ def get_apply_number(num: int) -> int: basic_plists = tweak.apply_tweak(basic_plists) else: gestalt_plist = tweak.apply_tweak(gestalt_plist) - # TODO: Improve resetting (make it work with basic plist tweaks) # create the restore file list files_to_restore = [ @@ -147,6 +147,14 @@ def get_apply_number(num: int) -> int: contents=plistlib.dumps(plist), restore_path=location.value )) + # reset basic tweaks + if resetting: + empty_data = plistlib.dumps({}) + for location in FileLocation: + files_to_restore.append(FileToRestore( + contents=empty_data, + restore_path=location.value + )) # restore to the device try: restore_files(files=files_to_restore, reboot=True, lockdown_client=device.ld) diff --git a/devicemanagement/device_manager.py b/devicemanagement/device_manager.py index 48f2fb6..e50032f 100644 --- a/devicemanagement/device_manager.py +++ b/devicemanagement/device_manager.py @@ -11,6 +11,7 @@ from devicemanagement.data_singleton import DataSingleton from tweaks.tweaks import tweaks, FeatureFlagTweak, EligibilityTweak, BasicPlistTweak +from tweaks.basic_plist_locations import FileLocation from Sparserestore.restore import restore_files, FileToRestore def show_error_msg(txt: str): @@ -121,6 +122,12 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): if gestalt_plist != None: gestalt_plist = tweak.apply_tweak(gestalt_plist) + gestalt_data = None + if resetting: + gestalt_data = b"" + elif gestalt_plist != None: + gestalt_data = plistlib.dumps(gestalt_plist) + # Generate backup update_label("Generating backup...") # create the restore file list @@ -131,9 +138,9 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): restore_name="Global.plist" ) ] - if gestalt_plist != None: + if gestalt_data != None: files_to_restore.append(FileToRestore( - contents=plistlib.dumps(gestalt_plist), + contents=gestalt_data, restore_path="/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/", restore_name="com.apple.MobileGestalt.plist" )) @@ -144,6 +151,14 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): contents=plistlib.dumps(plist), restore_path=location.value )) + # reset basic tweaks + if resetting: + empty_data = plistlib.dumps({}) + for location in FileLocation: + files_to_restore.append(FileToRestore( + contents=empty_data, + restore_path=location.value + )) # restore to the device update_label("Restoring to device...") From 8a5966fdbb4bb6d2bac393aafd327ed55111dfd0 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Fri, 27 Sep 2024 20:23:49 -0400 Subject: [PATCH 07/17] ai enabler --- .DS_Store | Bin 14340 -> 10244 bytes cli_app.py | 7 ++- devicemanagement/device_manager.py | 7 ++- gui/main_window.py | 37 ++++++++++- qt/mainwindow.ui | 96 ++++++++++++++++++++++++++--- qt/mainwindow_ui.py | 72 +++++++++++++++++++--- qt/ui_mainwindow.py | 72 +++++++++++++++++++--- tweaks/eligibility_tweak.py | 42 ++++++++++++- tweaks/tweaks.py | 7 ++- 9 files changed, 306 insertions(+), 34 deletions(-) diff --git a/.DS_Store b/.DS_Store index a9edf0fff977c288f9c18626531cf53d549a861f..fc39c7b49f085713747f51bc9858a1526fae1c8e 100644 GIT binary patch delta 238 zcmZoEXbF&DU|?W$DortDU{C-uIe-{M3-C-V6q~3gIoZI3MH0woFa=^ppg4nPPJVJy zPJR+d(Z-8r>=Pg4Zf56T;b1hK%%gC4GOJ?Tr1$PBU>=pb$& y;R76DLMFs1I_{!An9$l}R1?!i zrr%yjM2TcPSvtv(p%Qm6izW+NlqN##5ZOl_9(I=-Zl&CC%PJSR$@Awg^#P(ZaY;P0 z-iZt8=OW6O(Uu{$TyXRI(7C(__&&>s3sVe4MqSH&d%x|BI8t}(VnV#J{tAqaV%gJi&(-6O1Q?;rWIn7e~q)`Ig3ZDGK|1n;N`$9XGGpC?Ae&Z zJZl`DQeUL@xU@P^0xu|E4LgC)%JWzwL&k{QM1ebSnHAFJ{^>80dq64R27S3X8I`YN zf2T6T<#hWME#}I5Cxa@Bc4-cdP+&tv@AP5xRwO+!ZC;iSZc0w1JruW0Yiww9QP+GC z7k<_|u!H;hq|Q2i&M4K=;B)V{zmJGxx!I%gIlres6jPSColEHR%JXtP;g4sd;_ int: # create the other plists flag_plist: dict = {} eligibility_files = None + ai_file = None basic_plists: dict = {} # verify the device credentials before continuing @@ -122,6 +123,8 @@ def get_apply_number(num: int) -> int: elif isinstance(tweak, EligibilityTweak): tweak.set_region_code(device.locale[-2:]) eligibility_files = tweak.apply_tweak() + elif isinstance(tweak, AITweak): + ai_file = tweak.apply_tweak() elif isinstance(tweak, BasicPlistTweak): basic_plists = tweak.apply_tweak(basic_plists) else: @@ -142,6 +145,8 @@ def get_apply_number(num: int) -> int: ] if eligibility_files != None: files_to_restore += eligibility_files + if ai_file != None: + files_to_restore.append(ai_file) for location, plist in basic_plists: files_to_restore.append(FileToRestore( contents=plistlib.dumps(plist), diff --git a/devicemanagement/device_manager.py b/devicemanagement/device_manager.py index e50032f..e044146 100644 --- a/devicemanagement/device_manager.py +++ b/devicemanagement/device_manager.py @@ -10,7 +10,7 @@ from devicemanagement.constants import Device, Version from devicemanagement.data_singleton import DataSingleton -from tweaks.tweaks import tweaks, FeatureFlagTweak, EligibilityTweak, BasicPlistTweak +from tweaks.tweaks import tweaks, FeatureFlagTweak, EligibilityTweak, AITweak, BasicPlistTweak from tweaks.basic_plist_locations import FileLocation from Sparserestore.restore import restore_files, FileToRestore @@ -106,6 +106,7 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): # create the other plists flag_plist: dict = {} eligibility_files = None + ai_file = None basic_plists: dict = {} # set the plist keys @@ -116,6 +117,8 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): flag_plist = tweak.apply_tweak(flag_plist) elif isinstance(tweak, EligibilityTweak): eligibility_files = tweak.apply_tweak() + elif isinstance(tweak, AITweak): + ai_file = tweak.apply_tweak() elif isinstance(tweak, BasicPlistTweak): basic_plists = tweak.apply_tweak(basic_plists) else: @@ -146,6 +149,8 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): )) if eligibility_files: files_to_restore += eligibility_files + if ai_file != None: + files_to_restore.append(ai_file) for location, plist in basic_plists: files_to_restore.append(FileToRestore( contents=plistlib.dumps(plist), diff --git a/gui/main_window.py b/gui/main_window.py index 7ae0cc6..f6482d2 100644 --- a/gui/main_window.py +++ b/gui/main_window.py @@ -68,11 +68,15 @@ def __init__(self, device_manager: DeviceManager): self.ui.discordBtn.clicked.connect(self.on_discordBtn_clicked) - ## EU ENABLER PAGE ACTIONS + ## ELIGIBILITY PAGE ACTIONS self.ui.euEnablerEnabledChk.toggled.connect(self.on_euEnablerEnabledChk_toggled) self.ui.methodChoiceDrp.activated.connect(self.on_methodChoiceDrp_activated) self.ui.regionCodeTxt.textEdited.connect(self.on_regionCodeTxt_textEdited) + self.ui.enableAIChk.toggled.connect(self.on_enableAIChk_toggled) + self.ui.languageTxt.textEdited.connect(self.on_languageTxt_textEdited) + self.ui.spoofModelChk.toggled.connect(self.on_spoofModelChk_toggled) + ## FEATURE FLAGS PAGE self.ui.clockAnimChk.toggled.connect(self.on_clockAnimChk_toggled) self.ui.lockscreenChk.toggled.connect(self.on_lockscreenChk_clicked) @@ -188,6 +192,7 @@ def refresh_devices(self): self.ui.gestaltPageContent.setDisabled(False) self.ui.featureFlagsPageContent.setDisabled(False) + self.ui.euEnablerPageContent.setDisabled(False) self.ui.springboardOptionsPageContent.setDisabled(False) self.ui.internalOptionsPageContent.setDisabled(False) @@ -208,6 +213,14 @@ def change_selected_device(self, index): self.ui.dynamicIslandDrp.removeItem(5) except: pass + if Version(self.device_manager.data_singleton.current_device.version) >= Version("18.0"): + self.ui.enableAIChk.show() + else: + self.ui.enableAIChk.hide() + self.ui.languageLbl.hide() + self.ui.languageTxt.hide() + self.ui.aiInfoLabel.hide() + self.ui.spoofModelChk.hide() if Version(self.device_manager.data_singleton.current_device.version) >= Version("18.0"): self.ui.aodChk.show() self.ui.sleepApneaChk.show() @@ -388,15 +401,33 @@ def on_aiChk_clicked(self, checked: bool): tweaks["AI"].set_enabled(checked) - ## EU ENABLER PAGE + ## ELIGIBILITY PAGE def on_euEnablerEnabledChk_toggled(self, checked: bool): tweaks["EUEnabler"].set_enabled(checked) - self.ui.euEnablerPageContent.setDisabled(not checked) def on_methodChoiceDrp_activated(self, index: int): tweaks["EUEnabler"].set_selected_option(index) def on_regionCodeTxt_textEdited(self, text: str): tweaks["EUEnabler"].set_region_code(text) + def on_enableAIChk_toggled(self, checked: bool): + tweaks["AIEligibility"].set_enabled(checked) + tweaks["AIGestalt"].set_enabled(checked) + # change the visibility of stuff + if checked: + self.ui.languageLbl.show() + self.ui.languageTxt.show() + self.ui.aiInfoLabel.show() + self.ui.spoofModelChk.show() + else: + self.ui.languageLbl.hide() + self.ui.languageTxt.hide() + self.ui.aiInfoLabel.hide() + self.ui.spoofModelChk.hide() + def on_languageTxt_textEdited(self, text: str): + tweaks["AIEligibility"].set_language_code(text) + def on_spoofModelChk_toggled(self, checked: bool): + tweaks["SpoofModel"].set_enabled(checked) + ## SPRINGBOARD OPTIONS PAGE def on_footnoteTxt_textEdited(self, text: str): diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index 3e8051d..11bd4ea 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -593,7 +593,7 @@ QSlider::tick:horizontal { - EU Enabler + Eligibility @@ -2372,7 +2372,7 @@ QComboBox QAbstractItemView::item:hover { 0 - + -1 @@ -2380,16 +2380,25 @@ QComboBox QAbstractItemView::item:hover { - EU Enabler + Eligibility Tweaks - - - Enabled + + + Qt::Vertical - + + QSizePolicy::Fixed + + + + 20 + 16 + + + @@ -2425,6 +2434,13 @@ QComboBox QAbstractItemView::item:hover { + + + + Enable EU Enabler + + + @@ -2518,6 +2534,72 @@ QComboBox QAbstractItemView::item:hover { + + + + false + + + QFrame { + color: #414141; +} + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + Enable Apple Intelligence (for Unsupported Devices) + + + + + + + Language Code (not needed for English) + + + + + + + Language Code (i.e. en) + + + + + + + + 0 + 0 + + + + In order to download the AI model, you must spoof the device model. This will break Face ID until +you revert. + +Once the model has downloaded, disable "Spoof Device Model" and click the "Apply Tweaks" +button on the "Apply" page again to fix Face ID. + + + Qt::AutoText + + + + + + + Spoof Device Model + + + diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index 3bf4315..c091846 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -1286,16 +1286,15 @@ def setupUi(self, Nugget): self.verticalLayout_15.setSpacing(6) self.verticalLayout_15.setObjectName(u"verticalLayout_15") self.verticalLayout_15.setContentsMargins(0, 0, 0, 0) - self.setupOptionsLbl = QLabel(self.verticalWidget_5) - self.setupOptionsLbl.setObjectName(u"setupOptionsLbl") - self.setupOptionsLbl.setFont(font1) + self.eligibilityLbl = QLabel(self.verticalWidget_5) + self.eligibilityLbl.setObjectName(u"eligibilityLbl") + self.eligibilityLbl.setFont(font1) - self.verticalLayout_15.addWidget(self.setupOptionsLbl) + self.verticalLayout_15.addWidget(self.eligibilityLbl) - self.euEnablerEnabledChk = QCheckBox(self.verticalWidget_5) - self.euEnablerEnabledChk.setObjectName(u"euEnablerEnabledChk") + self.verticalSpacer_20 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.verticalLayout_15.addWidget(self.euEnablerEnabledChk) + self.verticalLayout_15.addItem(self.verticalSpacer_20) self.horizontalLayout_21.addWidget(self.verticalWidget_5) @@ -1317,6 +1316,11 @@ def setupUi(self, Nugget): self.verticalLayout_17.addWidget(self.line_13) + self.euEnablerEnabledChk = QCheckBox(self.euEnablerPage) + self.euEnablerEnabledChk.setObjectName(u"euEnablerEnabledChk") + + self.verticalLayout_17.addWidget(self.euEnablerEnabledChk) + self.euEnablerPageContent = QWidget(self.euEnablerPage) self.euEnablerPageContent.setObjectName(u"euEnablerPageContent") self.euEnablerPageContent.setEnabled(False) @@ -1378,6 +1382,45 @@ def setupUi(self, Nugget): self.verticalLayout_16.addWidget(self.regionCodeTxt) + self.line_16 = QFrame(self.euEnablerPageContent) + self.line_16.setObjectName(u"line_16") + self.line_16.setEnabled(False) + self.line_16.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_16.setFrameShadow(QFrame.Plain) + self.line_16.setFrameShape(QFrame.HLine) + + self.verticalLayout_16.addWidget(self.line_16) + + self.enableAIChk = QCheckBox(self.euEnablerPageContent) + self.enableAIChk.setObjectName(u"enableAIChk") + + self.verticalLayout_16.addWidget(self.enableAIChk) + + self.languageLbl = QLabel(self.euEnablerPageContent) + self.languageLbl.setObjectName(u"languageLbl") + + self.verticalLayout_16.addWidget(self.languageLbl) + + self.languageTxt = QLineEdit(self.euEnablerPageContent) + self.languageTxt.setObjectName(u"languageTxt") + + self.verticalLayout_16.addWidget(self.languageTxt) + + self.aiInfoLabel = QLabel(self.euEnablerPageContent) + self.aiInfoLabel.setObjectName(u"aiInfoLabel") + sizePolicy1.setHeightForWidth(self.aiInfoLabel.sizePolicy().hasHeightForWidth()) + self.aiInfoLabel.setSizePolicy(sizePolicy1) + self.aiInfoLabel.setTextFormat(Qt.AutoText) + + self.verticalLayout_16.addWidget(self.aiInfoLabel) + + self.spoofModelChk = QCheckBox(self.euEnablerPageContent) + self.spoofModelChk.setObjectName(u"spoofModelChk") + + self.verticalLayout_16.addWidget(self.spoofModelChk) + self.verticalSpacer_7 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) self.verticalLayout_16.addItem(self.verticalSpacer_7) @@ -2475,7 +2518,7 @@ def retranslateUi(self, Nugget): self.gestaltPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.featureFlagsPageBtn.setText(QCoreApplication.translate("Nugget", u" Feature Flags", None)) self.featureFlagsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) - self.euEnablerPageBtn.setText(QCoreApplication.translate("Nugget", u" EU Enabler", None)) + self.euEnablerPageBtn.setText(QCoreApplication.translate("Nugget", u" Eligibility", None)) self.euEnablerPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.springboardOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Springboard Options", None)) self.springboardOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) @@ -2541,14 +2584,23 @@ def retranslateUi(self, Nugget): self.lockscreenChk.setText(QCoreApplication.translate("Nugget", u"Enable Duplicate Lockscreen Button and Lockscreen Quickswitch", None)) self.photosChk.setText(QCoreApplication.translate("Nugget", u"Enable Old Photo UI", None)) self.aiChk.setText(QCoreApplication.translate("Nugget", u"Enable Apple Intelligence", None)) - self.setupOptionsLbl.setText(QCoreApplication.translate("Nugget", u"EU Enabler", None)) - self.euEnablerEnabledChk.setText(QCoreApplication.translate("Nugget", u"Enabled", None)) + self.eligibilityLbl.setText(QCoreApplication.translate("Nugget", u"Eligibility Tweaks", None)) + self.euEnablerEnabledChk.setText(QCoreApplication.translate("Nugget", u"Enable EU Enabler", None)) self.label_5.setText(QCoreApplication.translate("Nugget", u"Method Type", None)) self.methodChoiceDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Method 1", None)) self.methodChoiceDrp.setItemText(1, QCoreApplication.translate("Nugget", u"Method 2", None)) self.label_6.setText(QCoreApplication.translate("Nugget", u"Region Code (Should be 2 letters)", None)) self.regionCodeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Region Code (Default: US)", None)) + self.enableAIChk.setText(QCoreApplication.translate("Nugget", u"Enable Apple Intelligence (for Unsupported Devices)", None)) + self.languageLbl.setText(QCoreApplication.translate("Nugget", u"Language Code (not needed for English)", None)) + self.languageTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Language Code (i.e. en)", None)) + self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI model, you must spoof the device model. This will break Face ID until\n" +"you revert.\n" +"\n" +"Once the model has downloaded, disable \"Spoof Device Model\" and click the \"Apply Tweaks\"\n" +"button on the \"Apply\" page again to fix Face ID.", None)) + self.spoofModelChk.setText(QCoreApplication.translate("Nugget", u"Spoof Device Model", None)) self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Springboard Options", None)) self.label_13.setText(QCoreApplication.translate("Nugget", u"Lock Screen Footnote Text", None)) self.footnoteTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Footnote Text", None)) diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index 1f68bd7..d1ea245 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -1286,16 +1286,15 @@ def setupUi(self, Nugget): self.verticalLayout_15.setSpacing(6) self.verticalLayout_15.setObjectName(u"verticalLayout_15") self.verticalLayout_15.setContentsMargins(0, 0, 0, 0) - self.setupOptionsLbl = QLabel(self.verticalWidget_5) - self.setupOptionsLbl.setObjectName(u"setupOptionsLbl") - self.setupOptionsLbl.setFont(font1) + self.eligibilityLbl = QLabel(self.verticalWidget_5) + self.eligibilityLbl.setObjectName(u"eligibilityLbl") + self.eligibilityLbl.setFont(font1) - self.verticalLayout_15.addWidget(self.setupOptionsLbl) + self.verticalLayout_15.addWidget(self.eligibilityLbl) - self.euEnablerEnabledChk = QCheckBox(self.verticalWidget_5) - self.euEnablerEnabledChk.setObjectName(u"euEnablerEnabledChk") + self.verticalSpacer_20 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed) - self.verticalLayout_15.addWidget(self.euEnablerEnabledChk) + self.verticalLayout_15.addItem(self.verticalSpacer_20) self.horizontalLayout_21.addWidget(self.verticalWidget_5) @@ -1317,6 +1316,11 @@ def setupUi(self, Nugget): self.verticalLayout_17.addWidget(self.line_13) + self.euEnablerEnabledChk = QCheckBox(self.euEnablerPage) + self.euEnablerEnabledChk.setObjectName(u"euEnablerEnabledChk") + + self.verticalLayout_17.addWidget(self.euEnablerEnabledChk) + self.euEnablerPageContent = QWidget(self.euEnablerPage) self.euEnablerPageContent.setObjectName(u"euEnablerPageContent") self.euEnablerPageContent.setEnabled(False) @@ -1378,6 +1382,45 @@ def setupUi(self, Nugget): self.verticalLayout_16.addWidget(self.regionCodeTxt) + self.line_16 = QFrame(self.euEnablerPageContent) + self.line_16.setObjectName(u"line_16") + self.line_16.setEnabled(False) + self.line_16.setStyleSheet(u"QFrame {\n" +" color: #414141;\n" +"}") + self.line_16.setFrameShadow(QFrame.Plain) + self.line_16.setFrameShape(QFrame.Shape.HLine) + + self.verticalLayout_16.addWidget(self.line_16) + + self.enableAIChk = QCheckBox(self.euEnablerPageContent) + self.enableAIChk.setObjectName(u"enableAIChk") + + self.verticalLayout_16.addWidget(self.enableAIChk) + + self.languageLbl = QLabel(self.euEnablerPageContent) + self.languageLbl.setObjectName(u"languageLbl") + + self.verticalLayout_16.addWidget(self.languageLbl) + + self.languageTxt = QLineEdit(self.euEnablerPageContent) + self.languageTxt.setObjectName(u"languageTxt") + + self.verticalLayout_16.addWidget(self.languageTxt) + + self.aiInfoLabel = QLabel(self.euEnablerPageContent) + self.aiInfoLabel.setObjectName(u"aiInfoLabel") + sizePolicy1.setHeightForWidth(self.aiInfoLabel.sizePolicy().hasHeightForWidth()) + self.aiInfoLabel.setSizePolicy(sizePolicy1) + self.aiInfoLabel.setTextFormat(Qt.AutoText) + + self.verticalLayout_16.addWidget(self.aiInfoLabel) + + self.spoofModelChk = QCheckBox(self.euEnablerPageContent) + self.spoofModelChk.setObjectName(u"spoofModelChk") + + self.verticalLayout_16.addWidget(self.spoofModelChk) + self.verticalSpacer_7 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) self.verticalLayout_16.addItem(self.verticalSpacer_7) @@ -2475,7 +2518,7 @@ def retranslateUi(self, Nugget): self.gestaltPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.featureFlagsPageBtn.setText(QCoreApplication.translate("Nugget", u" Feature Flags", None)) self.featureFlagsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) - self.euEnablerPageBtn.setText(QCoreApplication.translate("Nugget", u" EU Enabler", None)) + self.euEnablerPageBtn.setText(QCoreApplication.translate("Nugget", u" Eligibility", None)) self.euEnablerPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) self.springboardOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Springboard Options", None)) self.springboardOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None)) @@ -2541,14 +2584,23 @@ def retranslateUi(self, Nugget): self.lockscreenChk.setText(QCoreApplication.translate("Nugget", u"Enable Duplicate Lockscreen Button and Lockscreen Quickswitch", None)) self.photosChk.setText(QCoreApplication.translate("Nugget", u"Enable Old Photo UI", None)) self.aiChk.setText(QCoreApplication.translate("Nugget", u"Enable Apple Intelligence", None)) - self.setupOptionsLbl.setText(QCoreApplication.translate("Nugget", u"EU Enabler", None)) - self.euEnablerEnabledChk.setText(QCoreApplication.translate("Nugget", u"Enabled", None)) + self.eligibilityLbl.setText(QCoreApplication.translate("Nugget", u"Eligibility Tweaks", None)) + self.euEnablerEnabledChk.setText(QCoreApplication.translate("Nugget", u"Enable EU Enabler", None)) self.label_5.setText(QCoreApplication.translate("Nugget", u"Method Type", None)) self.methodChoiceDrp.setItemText(0, QCoreApplication.translate("Nugget", u"Method 1", None)) self.methodChoiceDrp.setItemText(1, QCoreApplication.translate("Nugget", u"Method 2", None)) self.label_6.setText(QCoreApplication.translate("Nugget", u"Region Code (Should be 2 letters)", None)) self.regionCodeTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Region Code (Default: US)", None)) + self.enableAIChk.setText(QCoreApplication.translate("Nugget", u"Enable Apple Intelligence (for Unsupported Devices)", None)) + self.languageLbl.setText(QCoreApplication.translate("Nugget", u"Language Code (not needed for English)", None)) + self.languageTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Language Code (i.e. en)", None)) + self.aiInfoLabel.setText(QCoreApplication.translate("Nugget", u"In order to download the AI model, you must spoof the device model. This will break Face ID until\n" +"you revert.\n" +"\n" +"Once the model has downloaded, disable \"Spoof Device Model\" and click the \"Apply Tweaks\"\n" +"button on the \"Apply\" page again to fix Face ID.", None)) + self.spoofModelChk.setText(QCoreApplication.translate("Nugget", u"Spoof Device Model", None)) self.springboardOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Springboard Options", None)) self.label_13.setText(QCoreApplication.translate("Nugget", u"Lock Screen Footnote Text", None)) self.footnoteTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Footnote Text", None)) diff --git a/tweaks/eligibility_tweak.py b/tweaks/eligibility_tweak.py index 42da131..c2bf966 100644 --- a/tweaks/eligibility_tweak.py +++ b/tweaks/eligibility_tweak.py @@ -89,4 +89,44 @@ def apply_tweak(self) -> list[FileToRestore]: # return the new files to restore return files_to_restore - \ No newline at end of file + + +class AITweak(Tweak): + def __init__(self): + super().__init__(label="Enable Apple Intelligence (for Unsupported Devices) (Eligibility)", key=None, value="", min_version=Version("18.1")) + + def set_language_code(self, lang: str): + self.value = lang + + def apply_tweak(self) -> FileToRestore: + if not self.enabled: + return None + langs = ["en"] + if self.value != "": + langs.append(self.value) + plist = { + "OS_ELIGIBILITY_DOMAIN_CALCIUM": { + "os_eligibility_answer_source_t": 1, + "os_eligibility_answer_t": 2, + "status": { + "OS_ELIGIBILITY_INPUT_CHINA_CELLULAR": 2 + } + }, + "OS_ELIGIBILITY_DOMAIN_GREYMATTER": { + "context": { + "OS_ELIGIBILITY_CONTEXT_ELIGIBLE_DEVICE_LANGUAGES": langs + }, + "os_eligibility_answer_source_t": 1, + "os_eligibility_answer_t": 4, + "status": { + "OS_ELIGIBILITY_INPUT_DEVICE_LANGUAGE": 3, + "OS_ELIGIBILITY_INPUT_DEVICE_REGION_CODE": 3, + "OS_ELIGIBILITY_INPUT_EXTERNAL_BOOT_DRIVE": 3, + "OS_ELIGIBILITY_INPUT_GENERATIVE_MODEL_SYSTEM": 3, + "OS_ELIGIBILITY_INPUT_SHARED_IPAD": 3, + "OS_ELIGIBILITY_INPUT_SIRI_LANGUAGE": 3 + } + } + } + + return FileToRestore(contents=plistlib.dumps(plist), restore_path="/var/db/eligibilityd/eligibility.plist") \ No newline at end of file diff --git a/tweaks/tweaks.py b/tweaks/tweaks.py index 549afd5..7b3a512 100644 --- a/tweaks/tweaks.py +++ b/tweaks/tweaks.py @@ -1,6 +1,6 @@ from devicemanagement.constants import Version from .tweak_classes import MobileGestaltTweak, MobileGestaltMultiTweak, MobileGestaltPickerTweak, FeatureFlagTweak, TweakModifyType, BasicPlistTweak -from .eligibility_tweak import EligibilityTweak +from .eligibility_tweak import EligibilityTweak, AITweak from .basic_plist_locations import FileLocation @@ -37,6 +37,11 @@ "PhotoUI": FeatureFlagTweak("Enable Old Photo UI", flag_category='Photos', flag_names=['Lemonade'], is_list=False, inverted=True, min_version=Version("18.0")), "AI": FeatureFlagTweak("Enable Apple Intelligence", flag_category='SpringBoard', flag_names=['Domino', 'SuperDomino'], min_version=Version("18.1"), divider_below=True), + ## AI Enabler + "AIEligibility": AITweak(), + "AIGestalt": MobileGestaltTweak("Enable Apple Intelligence (for Unsupported Devices) (Gestalt)", "A62OafQ85EJAiiqKn4agtg", min_version=Version("18.1")), + "SpoofModel": MobileGestaltTweak("Spoof Device Model", "h9jDsbgj7xIVeIQ8S3/X3Q", value="iPhone17,3", min_version=Version("18.1"), divider_below=True), + ## Springboard Tweaks "LockScreenFootnote": BasicPlistTweak( "Set Lock Screen Footnote Text", From d51c7af01ffbf64baa16636437998b6a0e11dde6 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Fri, 27 Sep 2024 20:27:49 -0400 Subject: [PATCH 08/17] fix stupids --- tweaks/tweak_classes.py | 2 +- tweaks/tweaks.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tweaks/tweak_classes.py b/tweaks/tweak_classes.py index 037f4f4..8942d70 100644 --- a/tweaks/tweak_classes.py +++ b/tweaks/tweak_classes.py @@ -51,7 +51,7 @@ def __init__( min_version: Version = Version("1.0"), divider_below: bool = False ): - super.__init__(label=label, key=key, subkey=None, value=value, edit_type=edit_type, min_version=min_version, divider_below=divider_below) + super().__init__(label=label, key=key, subkey=None, value=value, edit_type=edit_type, min_version=min_version, divider_below=divider_below) self.file_location = file_location def apply_tweak(self, other_tweaks: dict) -> dict: diff --git a/tweaks/tweaks.py b/tweaks/tweaks.py index 7b3a512..9d2065e 100644 --- a/tweaks/tweaks.py +++ b/tweaks/tweaks.py @@ -112,42 +112,42 @@ FileLocation.globalPreferences, "IDSDiagnosticsEnabled" ), - "VCDiagnosticsEnabled": FileLocation( + "VCDiagnosticsEnabled": BasicPlistTweak( "Enable FaceTime Debugging", FileLocation.globalPreferences, "VCDiagnosticsEnabled" ), - "AppStoreDebug": FileLocation( + "AppStoreDebug": BasicPlistTweak( "Enable App Store Debug Gesture", FileLocation.appStore, "debugGestureEnabled" ), - "NotesDebugMode": FileLocation( + "NotesDebugMode": BasicPlistTweak( "Enable Notes App Debug Mode", FileLocation.notes, "DebugModeEnabled" ), - "BKDigitizerVisualizeTouches": FileLocation( + "BKDigitizerVisualizeTouches": BasicPlistTweak( "Show Touches With Debug Info", FileLocation.backboardd, "BKDigitizerVisualizeTouches" ), - "BKHideAppleLogoOnLaunch": FileLocation( + "BKHideAppleLogoOnLaunch": BasicPlistTweak( "Hide Respring Icon", FileLocation.backboardd, "BKHideAppleLogoOnLaunch" ), - "EnableWakeGestureHaptic": FileLocation( + "EnableWakeGestureHaptic": BasicPlistTweak( "Vibrate on Raise-to-Wake", FileLocation.coreMotion, "EnableWakeGestureHaptic" ), - "PlaySoundOnPaste": FileLocation( + "PlaySoundOnPaste": BasicPlistTweak( "Play Sound on Paste", FileLocation.pasteboard, "PlaySoundOnPaste" ), - "AnnounceAllPastes": FileLocation( + "AnnounceAllPastes": BasicPlistTweak( "Show Notifications for System Pastes", FileLocation.pasteboard, "AnnounceAllPastes" From 752710fb71a3767871505569636dc0fe4392d89c Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Fri, 27 Sep 2024 20:29:14 -0400 Subject: [PATCH 09/17] fix ai enabler gui --- gui/main_window.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gui/main_window.py b/gui/main_window.py index f6482d2..c6a5be9 100644 --- a/gui/main_window.py +++ b/gui/main_window.py @@ -213,8 +213,12 @@ def change_selected_device(self, index): self.ui.dynamicIslandDrp.removeItem(5) except: pass - if Version(self.device_manager.data_singleton.current_device.version) >= Version("18.0"): + if Version(self.device_manager.data_singleton.current_device.version) >= Version("18.1"): self.ui.enableAIChk.show() + self.ui.languageLbl.hide() + self.ui.languageTxt.hide() + self.ui.aiInfoLabel.hide() + self.ui.spoofModelChk.hide() else: self.ui.enableAIChk.hide() self.ui.languageLbl.hide() From 165e76f552e506b21b3e4991f500ef69d2ac50cb Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Fri, 27 Sep 2024 20:40:05 -0400 Subject: [PATCH 10/17] make ios 18.1 beta 5 and newer unsupported --- devicemanagement/constants.py | 13 ++++++++++++- devicemanagement/device_manager.py | 11 ++++++++--- gui/main_window.py | 3 +-- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/devicemanagement/constants.py b/devicemanagement/constants.py index 48cb9e7..b88a4b1 100644 --- a/devicemanagement/constants.py +++ b/devicemanagement/constants.py @@ -2,14 +2,25 @@ from pymobiledevice3.lockdown import LockdownClient class Device: - def __init__(self, uuid: int, name: str, version: str, model: str, locale: str, ld: LockdownClient): + def __init__(self, uuid: int, name: str, version: str, build: str, model: str, locale: str, ld: LockdownClient): self.uuid = uuid self.name = name self.version = version + self.build = build self.model = model self.locale = locale self.ld = ld + def supported(self) -> bool: + parsed_ver: Version = Version(self.version) + if (parsed_ver < Version("17.0")) or (parsed_ver > Version("18.1")): + return False + if (parsed_ver == Version("18.1") + and self.build != "22B5007p" and self.build == "22B5023e" + and self.build == "22B5034e" and self.build == "22B5045g"): + return False + return True + class Version: def __init__(self, major: int, minor: int = 0, patch: int = 0): self.major = major diff --git a/devicemanagement/device_manager.py b/devicemanagement/device_manager.py index e044146..bdbb2ad 100644 --- a/devicemanagement/device_manager.py +++ b/devicemanagement/device_manager.py @@ -23,8 +23,6 @@ def show_error_msg(txt: str): detailsBox.exec() class DeviceManager: - min_version: Version = Version("17") - ## Class Functions def __init__(self): self.devices: list[Device] = [] @@ -45,6 +43,7 @@ def get_devices(self): uuid=device.serial, name=vals['DeviceName'], version=vals['ProductVersion'], + build=vals['BuildVersion'], model=vals['ProductType'], locale=ld.locale, ld=ld @@ -68,7 +67,7 @@ def set_current_device(self, index: int = None): self.current_device_index = 0 else: self.data_singleton.current_device = self.devices[index] - if Version(self.devices[index].version) < DeviceManager.min_version: + if Version(self.devices[index].version) < Version("17.0"): self.data_singleton.device_available = False self.data_singleton.gestalt_path = None else: @@ -92,6 +91,12 @@ def get_current_device_uuid(self) -> str: return "" else: return self.data_singleton.current_device.uuid + + def get_current_device_supported(self) -> bool: + if self.data_singleton.current_device == None: + return False + else: + return self.data_singleton.current_device.supported() ## APPLYING OR REMOVING TWEAKS AND RESTORING diff --git a/gui/main_window.py b/gui/main_window.py index c6a5be9..74384c1 100644 --- a/gui/main_window.py +++ b/gui/main_window.py @@ -308,9 +308,8 @@ def toggle_version_label(self): self.ui.phoneVersionLbl.setText(f"{uuid}") def show_version_text(self, version: str): - parsed_ver: Version = Version(version) support_str: str = "Supported!" - if parsed_ver < DeviceManager.min_version: + if not self.device_manager.get_current_device_supported(): support_str = "Not Supported." self.ui.phoneVersionLbl.setText(f"iOS {version} {support_str}") From 69169b9512009960d21ddc6aa928f0654aa7dcf5 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Fri, 27 Sep 2024 22:21:12 -0400 Subject: [PATCH 11/17] rdar/status bar fix --- .DS_Store | Bin 10244 -> 14340 bytes cli_app.py | 6 ++- devicemanagement/device_manager.py | 5 ++- gui/main_window.py | 10 +++++ qt/mainwindow.ui | 9 ++++- qt/mainwindow_ui.py | 8 +++- qt/ui_mainwindow.py | 8 +++- tweaks/basic_plist_locations.py | 3 ++ tweaks/tweak_classes.py | 60 +++++++++++++++++++++++++++++ tweaks/tweaks.py | 3 +- 10 files changed, 104 insertions(+), 8 deletions(-) diff --git a/.DS_Store b/.DS_Store index fc39c7b49f085713747f51bc9858a1526fae1c8e..e4c46681cdfa1bada523b65e002672e2156ec333 100644 GIT binary patch delta 766 zcmah{J8#oa7(I5K2Z}3fsiYzn#Y5T(P!o57f+#3`43(foLM=;GXdZ+}PUF-z5FwQc zMJ!CwUEv2Xp~wqis)Shi7hT(#0hM!&BBd(C*Nf8$e^tZB@!{tK4f(3n#B7t#9Jp6)XBWwW0J6FC~?n(2egmGI+|@LkAU3sNe-^ za^?ISCs=O?fi_FldWGBrS`nM9YuJxh z-MCwxoa|^(-Cx8WdnL-rp-NDP>8OO_klytF=&eh7;<|ZHBVgp l;$nX8g1mr7G>E&pC7$I|iG{fG@;z~o9YpHHlB$og`U9!ks;K|~ delta 292 zcmZoEXbF&DU|?W$DortDU{C-uIe-{M3-C-V6q~3gIoZI3MH0woFa=^ppg4nPPJVJy zPJR+d(Z-8r>=Pg4Zf56T;b1hK%%gBvo|Peqp_Cz$A%`IaStSDlQ#w$G<>X%q_LCPX zSx=Tx=I8wZG?M>66l}IoKEN_@vI-{y12aQ9$c)J!RE|x)Eijjj@h4DW-R3&Mn@p1{ z1O+E&h!kvA5nabL`M1jM$wlJQo0m)YGYT>T%?APnZXn?b^1;T7- int: ld = create_using_usbmux(serial=current_device.serial) vals = ld.all_values device = Device(uuid=current_device.serial, name=vals['DeviceName'], version=vals['ProductVersion'], model=vals['ProductType'], locale=ld.locale, ld=ld) + tweaks["RdarFix"].get_rdar_mode() except Exception as e: print(traceback.format_exc()) input("Press Enter to continue...") @@ -125,7 +126,7 @@ def get_apply_number(num: int) -> int: eligibility_files = tweak.apply_tweak() elif isinstance(tweak, AITweak): ai_file = tweak.apply_tweak() - elif isinstance(tweak, BasicPlistTweak): + elif isinstance(tweak, BasicPlistTweak) or isinstance(tweak, RdarFixTweak): basic_plists = tweak.apply_tweak(basic_plists) else: gestalt_plist = tweak.apply_tweak(gestalt_plist) @@ -218,6 +219,7 @@ def get_apply_number(num: int) -> int: picker_choice = int(input("Select option: ")) if picker_choice > 0 and picker_choice <= len(values): tweak.set_selected_option(picker_choice-1) + tweaks["RdarFix"].set_di_type(values[tweak.get_selected_option()]) elif picker_choice == len(values)+1: tweak.set_enabled(False) else: diff --git a/devicemanagement/device_manager.py b/devicemanagement/device_manager.py index bdbb2ad..5626313 100644 --- a/devicemanagement/device_manager.py +++ b/devicemanagement/device_manager.py @@ -10,7 +10,7 @@ from devicemanagement.constants import Device, Version from devicemanagement.data_singleton import DataSingleton -from tweaks.tweaks import tweaks, FeatureFlagTweak, EligibilityTweak, AITweak, BasicPlistTweak +from tweaks.tweaks import tweaks, FeatureFlagTweak, EligibilityTweak, AITweak, BasicPlistTweak, RdarFixTweak from tweaks.basic_plist_locations import FileLocation from Sparserestore.restore import restore_files, FileToRestore @@ -48,6 +48,7 @@ def get_devices(self): locale=ld.locale, ld=ld ) + tweaks["RdarFix"].get_rdar_mode(vals['ProductType']) self.devices.append(dev) except Exception as e: print(f"ERROR with lockdown device with UUID {device.serial}") @@ -124,7 +125,7 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): eligibility_files = tweak.apply_tweak() elif isinstance(tweak, AITweak): ai_file = tweak.apply_tweak() - elif isinstance(tweak, BasicPlistTweak): + elif isinstance(tweak, BasicPlistTweak) or isinstance(tweak, RdarFixTweak): basic_plists = tweak.apply_tweak(basic_plists) else: if gestalt_plist != None: diff --git a/gui/main_window.py b/gui/main_window.py index 74384c1..b022701 100644 --- a/gui/main_window.py +++ b/gui/main_window.py @@ -116,6 +116,7 @@ def __init__(self, device_manager: DeviceManager): ## MOBILE GESTALT PAGE ACTIONS self.ui.dynamicIslandDrp.activated.connect(self.on_dynamicIslandDrp_activated) + self.ui.rdarFixChk.clicked.connect(self.on_rdarFixChk_clicked) self.ui.modelNameChk.toggled.connect(self.on_modelNameChk_clicked) self.ui.modelNameTxt.textEdited.connect(self.on_modelNameTxt_textEdited) @@ -213,6 +214,12 @@ def change_selected_device(self, index): self.ui.dynamicIslandDrp.removeItem(5) except: pass + rdar_title = tweaks["RdarFix"].get_rdar_title() + if rdar_title == "hide": + self.ui.rdarFixChk.hide() + else: + self.ui.rdarFixChk.show() + self.ui.rdarFixChk.setText(f"{rdar_title} (modifies resolution)") if Version(self.device_manager.data_singleton.current_device.version) >= Version("18.1"): self.ui.enableAIChk.show() self.ui.languageLbl.hide() @@ -348,6 +355,9 @@ def on_dynamicIslandDrp_activated(self, index: int): tweaks["DynamicIsland"].set_enabled(False) else: tweaks["DynamicIsland"].set_selected_option(index - 1) + tweaks["RdarFix"].set_di_type(tweaks["DynamicIsland"].value[tweaks["DynamicIsland"].get_selected_option()]) + def on_rdarFixChk_clicked(self, checked: bool): + tweaks["RdarFix"].set_enabled(checked) def on_modelNameChk_clicked(self, checked: bool): tweaks["ModelName"].set_enabled(checked) diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index 11bd4ea..f0ce940 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -1566,7 +1566,7 @@ QToolButton:pressed { - Nugget GUI - Version 3.0 (beta 1) + Nugget GUI - Version 3.0 (beta 2) Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -1875,6 +1875,13 @@ QComboBox QAbstractItemView::item:hover { + + + + Fix RDAR (modifies resolution) + + + diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index c091846..d16c52a 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -1009,6 +1009,11 @@ def setupUi(self, Nugget): self.verticalLayout_8.addWidget(self.dynamicIslandDrp) + self.rdarFixChk = QCheckBox(self.gestaltPageContent) + self.rdarFixChk.setObjectName(u"rdarFixChk") + + self.verticalLayout_8.addWidget(self.rdarFixChk) + self.modelNameChk = QCheckBox(self.gestaltPageContent) self.modelNameChk.setObjectName(u"modelNameChk") @@ -2549,7 +2554,7 @@ def retranslateUi(self, Nugget): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 1)", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 2)", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) @@ -2561,6 +2566,7 @@ def retranslateUi(self, Nugget): self.dynamicIslandDrp.setItemText(6, QCoreApplication.translate("Nugget", u"2868 (iPhone 16 Pro Max Dynamic Island)", None)) self.dynamicIslandDrp.setCurrentText(QCoreApplication.translate("Nugget", u"None", None)) + self.rdarFixChk.setText(QCoreApplication.translate("Nugget", u"Fix RDAR (modifies resolution)", None)) self.modelNameChk.setText(QCoreApplication.translate("Nugget", u"Change Device Model Name", None)) self.modelNameTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Model Name", None)) self.bootChimeChk.setText(QCoreApplication.translate("Nugget", u"Enable Boot Chime", None)) diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index d1ea245..552fde6 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -1009,6 +1009,11 @@ def setupUi(self, Nugget): self.verticalLayout_8.addWidget(self.dynamicIslandDrp) + self.rdarFixChk = QCheckBox(self.gestaltPageContent) + self.rdarFixChk.setObjectName(u"rdarFixChk") + + self.verticalLayout_8.addWidget(self.rdarFixChk) + self.modelNameChk = QCheckBox(self.gestaltPageContent) self.modelNameChk.setObjectName(u"modelNameChk") @@ -2549,7 +2554,7 @@ def retranslateUi(self, Nugget): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 1)", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 2)", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) @@ -2561,6 +2566,7 @@ def retranslateUi(self, Nugget): self.dynamicIslandDrp.setItemText(6, QCoreApplication.translate("Nugget", u"2868 (iPhone 16 Pro Max Dynamic Island)", None)) self.dynamicIslandDrp.setCurrentText(QCoreApplication.translate("Nugget", u"None", None)) + self.rdarFixChk.setText(QCoreApplication.translate("Nugget", u"Fix RDAR (modifies resolution)", None)) self.modelNameChk.setText(QCoreApplication.translate("Nugget", u"Change Device Model Name", None)) self.modelNameTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Model Name", None)) self.bootChimeChk.setText(QCoreApplication.translate("Nugget", u"Enable Boot Chime", None)) diff --git a/tweaks/basic_plist_locations.py b/tweaks/basic_plist_locations.py index 2bc9ad5..d8328f0 100644 --- a/tweaks/basic_plist_locations.py +++ b/tweaks/basic_plist_locations.py @@ -1,6 +1,9 @@ from enum import Enum class FileLocation(Enum): + # Mobile Gestalt + resolution = "/var/Managed Preferences/mobile/com.apple.iokit.IOMobileGraphicsFamily.plist" + # Springboard Options springboard = "/var/Managed Preferences/mobile/com.apple.springboard.plist" footnote = "/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/SharedDeviceConfiguration.plist" diff --git a/tweaks/tweak_classes.py b/tweaks/tweak_classes.py index 8942d70..a94f1b1 100644 --- a/tweaks/tweak_classes.py +++ b/tweaks/tweak_classes.py @@ -62,6 +62,66 @@ def apply_tweak(self, other_tweaks: dict) -> dict: else: other_tweaks[self.file_location] = {self.key: self.value} return other_tweaks + + +class RdarFixTweak(BasicPlistTweak): + def __init__(self, divider_below: bool = False): + super().__init__(label="Fix RDAR (modifies resolution)", file_location=FileLocation.resolution, key=None, divider_below=divider_below) + self.mode = 0 + + def get_rdar_mode(self, model: str) -> int: + if (model == "iPhone11,2" or model == "iPhone11,4" or model == "iPhone11,6" + or model == "iPhone11,8" + or model == "iPhone12,1" or model == "iPhone12,3" or model == "iPhone12,5"): + self.mode = 1 + elif (model == "iPhone13,1" or model == "iPhone13,2" or model == "iPhone13,3" or model == "iPhone13,4" + or model == "iPhone14,4" or model == "iPhone14,5" or model == "iPhone14,2" or model == "iPhone14,3" + or model == "iPhone14,7" or model == "iPhone14,8"): + self.mode = 2 + elif (model == "iPhone12,8" or model == "iPhone14,6"): + self.mode = 3 + return self.mode + + def get_rdar_title(self) -> str: + if self.mode == 1 or self.mode == 3: + return "Fix RDAR" + elif self.mode == 2: + return "Dynamic Island Status Bar Fix" + return "hide" + + def set_di_type(self, type: int): + self.di_type = type + + def apply_tweak(self, other_tweaks: dict) -> dict: + if not self.enabled: + return other_tweaks + if self.mode == 1 or self.mode == 3: + plist = { + "canvas_height": 1791, + "canvas_width": 828 + } + other_tweaks[self.file_location] = plist + elif self.mode == 2: + width = 2868 + height = 1320 + if self.di_type == 2556: + width = 1179 + height = 2556 + elif self.di_type == 2796 or self.di_type == 2976: + width = 1290 + height = 2796 + elif self.di_type == 2622: + width = 1206 + height = 2622 + elif self.di_type == 2868: + width = 1320 + height = 2868 + plist = { + "canvas_height": height, + "canvas_width": width + } + other_tweaks[self.file_location] = plist + return other_tweaks class MobileGestaltTweak(Tweak): diff --git a/tweaks/tweaks.py b/tweaks/tweaks.py index 9d2065e..775dd49 100644 --- a/tweaks/tweaks.py +++ b/tweaks/tweaks.py @@ -1,5 +1,5 @@ from devicemanagement.constants import Version -from .tweak_classes import MobileGestaltTweak, MobileGestaltMultiTweak, MobileGestaltPickerTweak, FeatureFlagTweak, TweakModifyType, BasicPlistTweak +from .tweak_classes import MobileGestaltTweak, MobileGestaltMultiTweak, MobileGestaltPickerTweak, FeatureFlagTweak, TweakModifyType, BasicPlistTweak, RdarFixTweak from .eligibility_tweak import EligibilityTweak, AITweak from .basic_plist_locations import FileLocation @@ -7,6 +7,7 @@ tweaks = { ## MobileGestalt Tweaks "DynamicIsland": MobileGestaltPickerTweak("Toggle Dynamic Island", "oPeik/9e8lQWMszEjbPzng", "ArtworkDeviceSubType", [2436, 2556, 2796, 2976, 2622, 2868]), + "RdarFix": RdarFixTweak(), "ModelName": MobileGestaltTweak("Set Device Model Name", "oPeik/9e8lQWMszEjbPzng", "ArtworkDeviceProductDescription", "", TweakModifyType.TEXT), "BootChime": MobileGestaltTweak("Toggle Boot Chime", "QHxt+hGLaBPbQJbXiUJX3w"), "ChargeLimit": MobileGestaltTweak("Toggle Charge Limit", "37NVydb//GP/GrhuTN+exg"), From 6c1f9a566d3506cbeea032931acccff78835a5b8 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Fri, 27 Sep 2024 23:21:08 -0400 Subject: [PATCH 12/17] depricate old FileToRestore --- Sparserestore/restore.py | 17 ++++------------- cli_app.py | 9 +++------ devicemanagement/device_manager.py | 9 +++------ tweaks/eligibility_tweak.py | 9 +++------ 4 files changed, 13 insertions(+), 31 deletions(-) diff --git a/Sparserestore/restore.py b/Sparserestore/restore.py index d604992..bb53073 100644 --- a/Sparserestore/restore.py +++ b/Sparserestore/restore.py @@ -3,19 +3,9 @@ import os class FileToRestore: - # TODO: Depricate this in favor of second init definition - def __init__(self, contents: str, restore_path: str, restore_name: str, owner: int = 501, group: int = 501): - self.contents = contents - self.restore_path = restore_path - self.restore_name = restore_name - self.owner = owner - self.group = group - def __init__(self, contents: str, restore_path: str, owner: int = 501, group: int = 501): self.contents = contents - path, file = os.path.split(restore_path) - self.restore_path = path + "/" - self.restore_name = file # TODO: Remove this and handle splitting in the restore_files function + self.restore_path = restore_path self.owner = owner self.group = group @@ -52,7 +42,8 @@ def restore_files(files: list, reboot: bool = False, lockdown_client: LockdownCl elif file.restore_path.startswith("/private/var/"): base_path = "/private/var/backup" # don't append the directory if it has already been added (restore will fail) - domain_path = f"SysContainerDomain-../../../../../../../..{base_path}{file.restore_path}" + path, name = os.path.split(file.restore_path) + domain_path = f"SysContainerDomain-../../../../../../../..{base_path}{path}" if last_domain != domain_path: files_list.append(backup.Directory( "", @@ -63,7 +54,7 @@ def restore_files(files: list, reboot: bool = False, lockdown_client: LockdownCl last_domain = domain_path files_list.append(backup.ConcreteFile( "", - f"{domain_path}{file.restore_name}", + f"{domain_path}{name}", owner=file.owner, group=file.group, contents=b"", diff --git a/cli_app.py b/cli_app.py index 75c31b1..e182f15 100644 --- a/cli_app.py +++ b/cli_app.py @@ -135,13 +135,11 @@ def get_apply_number(num: int) -> int: files_to_restore = [ FileToRestore( contents=plistlib.dumps(gestalt_plist), - restore_path="/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/", - restore_name="com.apple.MobileGestalt.plist" + restore_path="/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist", ), FileToRestore( contents=plistlib.dumps(flag_plist), - restore_path="/var/preferences/FeatureFlags/", - restore_name="Global.plist" + restore_path="/var/preferences/FeatureFlags/Global.plist", ) ] if eligibility_files != None: @@ -175,8 +173,7 @@ def get_apply_number(num: int) -> int: try: restore_files(files=[FileToRestore( contents=b"", - restore_path="/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/", - restore_name="com.apple.MobileGestalt.plist" + restore_path="/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist", )], reboot=True, lockdown_client=device.ld) except Exception as e: print(traceback.format_exc()) diff --git a/devicemanagement/device_manager.py b/devicemanagement/device_manager.py index 5626313..95fbe99 100644 --- a/devicemanagement/device_manager.py +++ b/devicemanagement/device_manager.py @@ -143,15 +143,13 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): files_to_restore = [ FileToRestore( contents=plistlib.dumps(flag_plist), - restore_path="/var/preferences/FeatureFlags/", - restore_name="Global.plist" + restore_path="/var/preferences/FeatureFlags/Global.plist", ) ] if gestalt_data != None: files_to_restore.append(FileToRestore( contents=gestalt_data, - restore_path="/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/", - restore_name="com.apple.MobileGestalt.plist" + restore_path="/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist", )) if eligibility_files: files_to_restore += eligibility_files @@ -197,8 +195,7 @@ def reset_mobilegestalt(self, update_label=lambda x: None): try: restore_files(files=[FileToRestore( contents=b"", - restore_path="/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/", - restore_name="com.apple.MobileGestalt.plist" + restore_path="/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist", )], reboot=True, lockdown_client=self.data_singleton.current_device.ld) QMessageBox.information(None, "Success!", "All done! Your device will now restart.") update_label("Success!") diff --git a/tweaks/eligibility_tweak.py b/tweaks/eligibility_tweak.py index c2bf966..9bfa4d8 100644 --- a/tweaks/eligibility_tweak.py +++ b/tweaks/eligibility_tweak.py @@ -62,8 +62,7 @@ def apply_tweak(self) -> list[FileToRestore]: files_to_restore = [ FileToRestore( contents=eligibility_data, - restore_path="/var/db/os_eligibility/", - restore_name="eligibility.plist" + restore_path="/var/db/os_eligibility/eligibility.plist", ) ] @@ -74,16 +73,14 @@ def apply_tweak(self) -> list[FileToRestore]: files_to_restore.append( FileToRestore( contents=config_data, - restore_path="/var/MobileAsset/AssetsV2/com_apple_MobileAsset_OSEligibility/purpose_auto/c55a421c053e10233e5bfc15c42fa6230e5639a9.asset/AssetData/", - restore_name="Config.plist" + restore_path="/var/MobileAsset/AssetsV2/com_apple_MobileAsset_OSEligibility/purpose_auto/c55a421c053e10233e5bfc15c42fa6230e5639a9.asset/AssetData/Config.plist", ) ) elif self.method == 1: files_to_restore.append( FileToRestore( contents=config_data, - restore_path="/var/MobileAsset/AssetsV2/com_apple_MobileAsset_OSEligibility/purpose_auto/247556c634fc4cc4fd742f1b33af9abf194a986e.asset/AssetData/", - restore_name="Config.plist" + restore_path="/var/MobileAsset/AssetsV2/com_apple_MobileAsset_OSEligibility/purpose_auto/247556c634fc4cc4fd742f1b33af9abf194a986e.asset/AssetData/Config.plist", ) ) From 3641c5a3439d79664df0066e0222a14b3a716d42 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Sat, 28 Sep 2024 14:37:22 -0400 Subject: [PATCH 13/17] applying fixes --- .DS_Store | Bin 14340 -> 12292 bytes Sparserestore/restore.py | 3 +++ cli_app.py | 6 +++--- devicemanagement/device_manager.py | 6 +++--- tweaks/basic_plist_locations.py | 12 ++++++++---- 5 files changed, 17 insertions(+), 10 deletions(-) diff --git a/.DS_Store b/.DS_Store index e4c46681cdfa1bada523b65e002672e2156ec333..0effba6259735619716b44b88cb40e1e04d452d8 100644 GIT binary patch delta 228 zcmZoEXh~3DU|?W$DortDV9)?EIe-{M3-ADmb_NCo?uiQeqSinTGfYA zRAFOE2io;+v#)3p7o+569)&mT8je8CmjA&3$YNjx5kMDk0|{4TS8Tlao_R9Ai7q3< lWJeQu9-y5dmoflpgULB26M>G~K6##C;pSY`ZYCaNLjgepGvfdN delta 230 zcmZokXem%&U|?W$DortDU@!nOIe-{M3-ADmHUs%-N^_DLiNmif+ATZzt60XS302=(Bc{0C_ tF4*P+lWle6d6*#XwE*duoS`#uvVlaw=3LcoCLRHXG@y$r7<3tO835WpD~SLA diff --git a/Sparserestore/restore.py b/Sparserestore/restore.py index bb53073..0cb5bb8 100644 --- a/Sparserestore/restore.py +++ b/Sparserestore/restore.py @@ -9,6 +9,9 @@ def __init__(self, contents: str, restore_path: str, owner: int = 501, group: in self.owner = owner self.group = group + def __lt__(self, other): + return self.restore_path < other.restore_path + # files is a list of FileToRestore objects def restore_files(files: list, reboot: bool = False, lockdown_client: LockdownClient = None): # create the files to be backed up diff --git a/cli_app.py b/cli_app.py index e182f15..c65845e 100644 --- a/cli_app.py +++ b/cli_app.py @@ -1,6 +1,6 @@ from Sparserestore.restore import restore_files, FileToRestore, restore_file from tweaks.tweaks import tweaks, TweakModifyType, FeatureFlagTweak, EligibilityTweak, AITweak, BasicPlistTweak, RdarFixTweak -from tweaks.basic_plist_locations import FileLocation +from tweaks.basic_plist_locations import FileLocationsList from devicemanagement.constants import Device from pymobiledevice3.exceptions import PyMobileDevice3Exception @@ -146,7 +146,7 @@ def get_apply_number(num: int) -> int: files_to_restore += eligibility_files if ai_file != None: files_to_restore.append(ai_file) - for location, plist in basic_plists: + for location, plist in basic_plists.items(): files_to_restore.append(FileToRestore( contents=plistlib.dumps(plist), restore_path=location.value @@ -154,7 +154,7 @@ def get_apply_number(num: int) -> int: # reset basic tweaks if resetting: empty_data = plistlib.dumps({}) - for location in FileLocation: + for location in FileLocationsList: files_to_restore.append(FileToRestore( contents=empty_data, restore_path=location.value diff --git a/devicemanagement/device_manager.py b/devicemanagement/device_manager.py index 95fbe99..1f40bfd 100644 --- a/devicemanagement/device_manager.py +++ b/devicemanagement/device_manager.py @@ -11,7 +11,7 @@ from devicemanagement.data_singleton import DataSingleton from tweaks.tweaks import tweaks, FeatureFlagTweak, EligibilityTweak, AITweak, BasicPlistTweak, RdarFixTweak -from tweaks.basic_plist_locations import FileLocation +from tweaks.basic_plist_locations import FileLocationsList from Sparserestore.restore import restore_files, FileToRestore def show_error_msg(txt: str): @@ -155,7 +155,7 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): files_to_restore += eligibility_files if ai_file != None: files_to_restore.append(ai_file) - for location, plist in basic_plists: + for location, plist in basic_plists.items(): files_to_restore.append(FileToRestore( contents=plistlib.dumps(plist), restore_path=location.value @@ -163,7 +163,7 @@ def apply_changes(self, resetting: bool = False, update_label=lambda x: None): # reset basic tweaks if resetting: empty_data = plistlib.dumps({}) - for location in FileLocation: + for location in FileLocationsList: files_to_restore.append(FileToRestore( contents=empty_data, restore_path=location.value diff --git a/tweaks/basic_plist_locations.py b/tweaks/basic_plist_locations.py index d8328f0..40596a6 100644 --- a/tweaks/basic_plist_locations.py +++ b/tweaks/basic_plist_locations.py @@ -7,9 +7,6 @@ class FileLocation(Enum): # Springboard Options springboard = "/var/Managed Preferences/mobile/com.apple.springboard.plist" footnote = "/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/SharedDeviceConfiguration.plist" - uikit = "/var/Managed Preferences/mobile/com.apple.UIKit.plist" - wifiDebug = "/var/Managed Preferences/mobile/com.apple.MobileWiFi.debug.plist" - airdrop = "/var/Managed Preferences/mobile/com.apple.sharingd.plist" # Internal Options globalPreferences = "/var/Managed Preferences/mobile/.GlobalPreferences.plist" @@ -17,4 +14,11 @@ class FileLocation(Enum): backboardd = "/var/Managed Preferences/mobile/com.apple.backboardd.plist" coreMotion = "/var/Managed Preferences/mobile/com.apple.CoreMotion.plist" pasteboard = "/var/Managed Preferences/mobile/com.apple.Pasteboard.plist" - notes = "/var/Managed Preferences/mobile/com.apple.mobilenotes.plist" \ No newline at end of file + notes = "/var/Managed Preferences/mobile/com.apple.mobilenotes.plist" + +# support for older versions of python that cannot enumerate over enums +FileLocationsList: list[FileLocation] = [ + FileLocation.resolution, + FileLocation.springboard, FileLocation.footnote, + FileLocation.globalPreferences, FileLocation.appStore, FileLocation.backboardd, FileLocation.coreMotion, FileLocation.pasteboard, FileLocation.notes +] \ No newline at end of file From bb3405a4d1a86181cbf9f06e00bea61d2dc04564 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Sat, 28 Sep 2024 14:38:51 -0400 Subject: [PATCH 14/17] bump version --- qt/mainwindow.ui | 4 ++-- qt/mainwindow_ui.py | 4 ++-- qt/ui_mainwindow.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index f0ce940..59d2d54 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -1566,7 +1566,7 @@ QToolButton:pressed { - Nugget GUI - Version 3.0 (beta 2) + Nugget GUI - Version 3.0 (beta 3) Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -1726,7 +1726,7 @@ QToolButton:pressed { 0 - 0 + -3 650 1200 diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index d16c52a..625d057 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -945,7 +945,7 @@ def setupUi(self, Nugget): self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) self.scrollAreaWidgetContents = QWidget() self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") - self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 650, 1200)) + self.scrollAreaWidgetContents.setGeometry(QRect(0, -3, 650, 1200)) self.scrollAreaWidgetContents.setMinimumSize(QSize(650, 1200)) self.scrollAreaWidgetContents.setMaximumSize(QSize(650, 1200)) self.verticalLayout_9 = QVBoxLayout(self.scrollAreaWidgetContents) @@ -2554,7 +2554,7 @@ def retranslateUi(self, Nugget): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 2)", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 3)", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index 552fde6..4aced5d 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -945,7 +945,7 @@ def setupUi(self, Nugget): self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) self.scrollAreaWidgetContents = QWidget() self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") - self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 650, 1200)) + self.scrollAreaWidgetContents.setGeometry(QRect(0, -3, 650, 1200)) self.scrollAreaWidgetContents.setMinimumSize(QSize(650, 1200)) self.scrollAreaWidgetContents.setMaximumSize(QSize(650, 1200)) self.verticalLayout_9 = QVBoxLayout(self.scrollAreaWidgetContents) @@ -2554,7 +2554,7 @@ def retranslateUi(self, Nugget): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 2)", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 3)", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) From 77eb4dab38baeea60b3f41569bd32f9968f02ae9 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:04:14 -0400 Subject: [PATCH 15/17] fix applying (for real this time) --- Sparserestore/restore.py | 39 ++++++--------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) diff --git a/Sparserestore/restore.py b/Sparserestore/restore.py index 0cb5bb8..78c5a39 100644 --- a/Sparserestore/restore.py +++ b/Sparserestore/restore.py @@ -9,32 +9,15 @@ def __init__(self, contents: str, restore_path: str, owner: int = 501, group: in self.owner = owner self.group = group - def __lt__(self, other): - return self.restore_path < other.restore_path - # files is a list of FileToRestore objects def restore_files(files: list, reboot: bool = False, lockdown_client: LockdownClient = None): # create the files to be backed up files_list = [ - backup.Directory("", "RootDomain"), - backup.Directory("Library", "RootDomain"), - backup.Directory("Library/Preferences", "RootDomain"), ] - sorted_files = sorted(files) - # create the links - for file_num in range(len(sorted_files)): - files_list.append(backup.ConcreteFile( - f"Library/Preferences/temp{file_num}", - "RootDomain", - owner=files[file_num].owner, - group=files[file_num].group, - contents=files[file_num].contents, - inode=file_num - )) + sorted_files = sorted(files, key=lambda x: x.restore_path, reverse=True) # add the file paths last_domain = "" - for file_num in range(len(sorted_files)): - file = files[file_num] + for file in sorted_files: base_path = "/var/backup" # set it to work in the separate volumes (prevents a bootloop) if file.restore_path.startswith("/var/mobile/"): @@ -46,32 +29,22 @@ def restore_files(files: list, reboot: bool = False, lockdown_client: LockdownCl base_path = "/private/var/backup" # don't append the directory if it has already been added (restore will fail) path, name = os.path.split(file.restore_path) - domain_path = f"SysContainerDomain-../../../../../../../..{base_path}{path}" + domain_path = f"SysContainerDomain-../../../../../../../..{base_path}{path}/" if last_domain != domain_path: files_list.append(backup.Directory( "", - domain_path, + f"{domain_path}/", owner=file.owner, group=file.group )) last_domain = domain_path files_list.append(backup.ConcreteFile( "", - f"{domain_path}{name}", + f"{domain_path}/{name}", owner=file.owner, group=file.group, - contents=b"", - inode=file_num + contents=file.contents )) - # break the hard links - for file_num in range(len(sorted_files)): - files_list.append(backup.ConcreteFile( - "", - f"SysContainerDomain-../../../../../../../../var/.backup.i/var/root/Library/Preferences/temp{file_num}", - owner=501, - group=501, - contents=b"", - )) # Break the hard link files_list.append(backup.ConcreteFile("", "SysContainerDomain-../../../../../../../.." + "/crash_on_purpose", contents=b"")) # create the backup From 90aa74698738e3981cc666e0fad1562b011d6308 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:07:37 -0400 Subject: [PATCH 16/17] fix github buttons --- .DS_Store | Bin 12292 -> 12292 bytes gui/main_window.py | 5 ++++- qt/mainwindow.ui | 4 ++-- qt/mainwindow_ui.py | 4 ++-- qt/ui_mainwindow.py | 4 ++-- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.DS_Store b/.DS_Store index 0effba6259735619716b44b88cb40e1e04d452d8..7ee15e37e479aab5b1b1e2cae417c1c2448733c4 100644 GIT binary patch delta 98 zcmZokXi3=cLX>gqWPOQ3718Qy6Js3(i&`CpYD*&n9R(8$gW6h74pC)&>!A4ToZP(p p_Q~~P@{Apu=ZocVZst;W%g*D-z`$Vn9}E~aGi!Wd=S3D_002VTBennl delta 53 wcmZokXi3=cLUgjbz^=^;#WFcJb1S@I=V5SUU|_KP4+fi=HNLR(B8xBp09Uscp#T5? diff --git a/gui/main_window.py b/gui/main_window.py index b022701..5255a4b 100644 --- a/gui/main_window.py +++ b/gui/main_window.py @@ -54,8 +54,9 @@ def __init__(self, device_manager: DeviceManager): ## HOME PAGE LINKS self.ui.bigNuggetBtn.clicked.connect(self.on_bigNuggetBtn_clicked) + self.ui.starOnGithubBtn.clicked.connect(self.on_githubBtn_clicked) - # self.ui.leminGitHubBtn.clicked.connect(self.on_leminGitHubBtn_clicked) + self.ui.leminGithubBtn.clicked.connect(self.on_leminGitHubBtn_clicked) self.ui.leminTwitterBtn.clicked.connect(self.on_leminTwitterBtn_clicked) self.ui.leminKoFiBtn.clicked.connect(self.on_leminKoFiBtn_clicked) @@ -345,6 +346,8 @@ def on_qtBtn_clicked(self): def on_discordBtn_clicked(self): webbrowser.open_new_tab("https://discord.gg/MN8JgqSAqT") + def on_githubBtn_clicked(self): + webbrowser.open_new_tab("https://github.com/leminlimez/Nugget") def on_bigNuggetBtn_clicked(self): webbrowser.open_new_tab("https://cowabun.ga") diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index 59d2d54..c7c93e7 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -1566,7 +1566,7 @@ QToolButton:pressed { - Nugget GUI - Version 3.0 (beta 3) + Nugget GUI - Version 3.0 (beta 4) Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -1726,7 +1726,7 @@ QToolButton:pressed { 0 - -3 + 0 650 1200 diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index 625d057..cec3f55 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -945,7 +945,7 @@ def setupUi(self, Nugget): self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) self.scrollAreaWidgetContents = QWidget() self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") - self.scrollAreaWidgetContents.setGeometry(QRect(0, -3, 650, 1200)) + self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 650, 1200)) self.scrollAreaWidgetContents.setMinimumSize(QSize(650, 1200)) self.scrollAreaWidgetContents.setMaximumSize(QSize(650, 1200)) self.verticalLayout_9 = QVBoxLayout(self.scrollAreaWidgetContents) @@ -2554,7 +2554,7 @@ def retranslateUi(self, Nugget): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 3)", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 4)", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index 4aced5d..460c2a4 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -945,7 +945,7 @@ def setupUi(self, Nugget): self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) self.scrollAreaWidgetContents = QWidget() self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") - self.scrollAreaWidgetContents.setGeometry(QRect(0, -3, 650, 1200)) + self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 650, 1200)) self.scrollAreaWidgetContents.setMinimumSize(QSize(650, 1200)) self.scrollAreaWidgetContents.setMaximumSize(QSize(650, 1200)) self.verticalLayout_9 = QVBoxLayout(self.scrollAreaWidgetContents) @@ -2554,7 +2554,7 @@ def retranslateUi(self, Nugget): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 3)", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 4)", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) From 11b9d6dbc9c32d2bb135dedf53f553f32dc020e2 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Sun, 29 Sep 2024 12:54:10 -0400 Subject: [PATCH 17/17] enable medusa/ipad multitasking --- .DS_Store | Bin 12292 -> 12292 bytes gui/main_window.py | 5 +++++ qt/mainwindow.ui | 9 ++++++++- qt/mainwindow_ui.py | 8 +++++++- qt/ui_mainwindow.py | 8 +++++++- tweaks/tweaks.py | 1 + 6 files changed, 28 insertions(+), 3 deletions(-) diff --git a/.DS_Store b/.DS_Store index 7ee15e37e479aab5b1b1e2cae417c1c2448733c4..401b7616e45725772b66c14880fb1339721c35be 100644 GIT binary patch delta 54 wcmZokXi3=ME-?9p=+4cIf?WKYxfI^8^EfgvFj)Qv1BT5^8eiD?kVP0608suGp#T5? delta 53 vcmZokXi3=ME-+a~V%H`?F8= Version("18.0"): self.ui.aodChk.show() + self.ui.iphone16SettingsChk.show() self.ui.sleepApneaChk.show() self.ui.featureFlagsPageBtn.show() # show the other dynamic island options @@ -242,6 +244,7 @@ def change_selected_device(self, index): self.ui.dynamicIslandDrp.addItem("2868 (iPhone 16 Pro Max Dynamic Island)") else: self.ui.aodChk.hide() + self.ui.iphone16SettingsChk.hide() self.ui.sleepApneaChk.hide() self.ui.featureFlagsPageBtn.hide() else: @@ -380,6 +383,8 @@ def on_parallaxChk_clicked(self, checked: bool): def on_stageManagerChk_clicked(self, checked: bool): tweaks["StageManager"].set_enabled(checked) + def on_enableMedusaChk_clicked(self, checked: bool): + tweaks["Medusa"].set_enabled(checked) def on_ipadAppsChk_clicked(self, checked: bool): tweaks["iPadApps"].set_enabled(checked) def on_shutterChk_clicked(self, checked: bool): diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui index c7c93e7..e9fc454 100644 --- a/qt/mainwindow.ui +++ b/qt/mainwindow.ui @@ -1566,7 +1566,7 @@ QToolButton:pressed { - Nugget GUI - Version 3.0 (beta 4) + Nugget GUI - Version 3.0 Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -1971,6 +1971,13 @@ QComboBox QAbstractItemView::item:hover { + + + + Enable Medusa (iPad Multitasking) (WARNING: may be risky on some phones) + + + diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py index cec3f55..43f1fe7 100644 --- a/qt/mainwindow_ui.py +++ b/qt/mainwindow_ui.py @@ -1072,6 +1072,11 @@ def setupUi(self, Nugget): self.verticalLayout_8.addWidget(self.stageManagerChk) + self.enableMedusaChk = QCheckBox(self.gestaltPageContent) + self.enableMedusaChk.setObjectName(u"enableMedusaChk") + + self.verticalLayout_8.addWidget(self.enableMedusaChk) + self.ipadAppsChk = QCheckBox(self.gestaltPageContent) self.ipadAppsChk.setObjectName(u"ipadAppsChk") @@ -2554,7 +2559,7 @@ def retranslateUi(self, Nugget): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 4)", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) @@ -2575,6 +2580,7 @@ def retranslateUi(self, Nugget): self.iphone16SettingsChk.setText(QCoreApplication.translate("Nugget", u"Enable iPhone 16 Settings", None)) self.parallaxChk.setText(QCoreApplication.translate("Nugget", u"Disable Wallpaper Parallax", None)) self.stageManagerChk.setText(QCoreApplication.translate("Nugget", u"Enable Stage Manager Supported (WARNING: risky on some devices, mainly phones)", None)) + self.enableMedusaChk.setText(QCoreApplication.translate("Nugget", u"Enable Medusa (iPad Multitasking) (WARNING: may be risky on some phones)", None)) self.ipadAppsChk.setText(QCoreApplication.translate("Nugget", u"Allow iPad Apps on iPhone", None)) self.shutterChk.setText(QCoreApplication.translate("Nugget", u"Disable Region Restrictions (ie. Shutter Sound)", None)) self.findMyFriendsChk.setText(QCoreApplication.translate("Nugget", u"Enable Find My Friends", None)) diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py index 460c2a4..6cb1b07 100644 --- a/qt/ui_mainwindow.py +++ b/qt/ui_mainwindow.py @@ -1072,6 +1072,11 @@ def setupUi(self, Nugget): self.verticalLayout_8.addWidget(self.stageManagerChk) + self.enableMedusaChk = QCheckBox(self.gestaltPageContent) + self.enableMedusaChk.setObjectName(u"enableMedusaChk") + + self.verticalLayout_8.addWidget(self.enableMedusaChk) + self.ipadAppsChk = QCheckBox(self.gestaltPageContent) self.ipadAppsChk.setObjectName(u"ipadAppsChk") @@ -2554,7 +2559,7 @@ def retranslateUi(self, Nugget): self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None)) self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None)) self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None)) - self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0 (beta 4)", None)) + self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 3.0", None)) self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None)) self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None)) self.dynamicIslandDrp.setItemText(0, QCoreApplication.translate("Nugget", u"None", None)) @@ -2575,6 +2580,7 @@ def retranslateUi(self, Nugget): self.iphone16SettingsChk.setText(QCoreApplication.translate("Nugget", u"Enable iPhone 16 Settings", None)) self.parallaxChk.setText(QCoreApplication.translate("Nugget", u"Disable Wallpaper Parallax", None)) self.stageManagerChk.setText(QCoreApplication.translate("Nugget", u"Enable Stage Manager Supported (WARNING: risky on some devices, mainly phones)", None)) + self.enableMedusaChk.setText(QCoreApplication.translate("Nugget", u"Enable Medusa (iPad Multitasking) (WARNING: may be risky on some phones)", None)) self.ipadAppsChk.setText(QCoreApplication.translate("Nugget", u"Allow iPad Apps on iPhone", None)) self.shutterChk.setText(QCoreApplication.translate("Nugget", u"Disable Region Restrictions (ie. Shutter Sound)", None)) self.findMyFriendsChk.setText(QCoreApplication.translate("Nugget", u"Enable Find My Friends", None)) diff --git a/tweaks/tweaks.py b/tweaks/tweaks.py index 775dd49..e4de5c1 100644 --- a/tweaks/tweaks.py +++ b/tweaks/tweaks.py @@ -16,6 +16,7 @@ "CameraButton": MobileGestaltMultiTweak("Toggle iPhone 16 Settings", {"CwvKxM2cEogD3p+HYgaW0Q": 1, "oOV1jhJbdV3AddkcCg0AEA": 1}, min_version=Version("18.0")), "Parallax": MobileGestaltTweak("Disable Wallpaper Parallax", "UIParallaxCapability", value=0), "StageManager": MobileGestaltTweak("Toggle Stage Manager Supported (WARNING: risky on some devices, mainly phones)", "qeaj75wk3HF4DwQ8qbIi7g", value=1), + "Medusa": MobileGestaltMultiTweak("Toggle Medusa (iPad Multitasking) (WARNING: may be risky on some phones)", {"mG0AnH/Vy1veoqoLRAIgTA": 1, "UCG5MkVahJxG1YULbbd5Bg": 1, "ZYqko/XM5zD3XBfN5RmaXA": 1, "nVh/gwNpy7Jv1NOk00CMrw": 1, "uKc7FPnEO++lVhHWHFlGbQ": 1}), "iPadApps": MobileGestaltTweak("Allow iPad Apps on iPhone", "9MZ5AdH43csAUajl/dU+IQ", value=[1, 2]), "Shutter": MobileGestaltMultiTweak("Disable Region Restrictions (ie. Shutter Sound)", {"h63QSdBCiT/z0WU6rdQv6Q": "US", "zHeENZu+wbg7PUprwNwBWg": "LL/A"}), "FindMyFriends": MobileGestaltTweak("Toggle Find My Friends", "Y2Y67z0Nq/XdDXgW2EeaVg"),