TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #175 · 30 окт.

В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks

Hashtags

Резултати

Пронајдени 1 слични објави

Пребарај: #customrom

当前筛选 #customrom清除筛选
Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #475 · 22.11.2024 г., 06:31

Google's Play Integrity policy is making it harder to use custom ROMs. If you can't access banking apps or payments, it's time to take action! 🔑 What is a Keybox? When using a custom ROM, some apps won’t work due to security checks (Strong Integrity). A keybox acts as a fake certificate to trick apps into thinking your phone is unmodified, allowing apps like banking apps to work. Modules like TrickyStore can be used along with keyboxes to bypass these restrictions. However, keyboxes are being abused in certain ways: - Shared publicly or checked via bots, leading to revocations. - Scammers sell fake or leaked keyboxes. - Genuine users who need keyboxes for essential apps are losing access. ❗️Precautions: - Don't use keyboxes for flexing unless your important work apps really need it. Stick with Device Integrity, it makes no difference. - Avoid sharing them publicly or checking them via keybox checker bots in telegram. These get forwarded to the hosters in some cases! - Stop checking for Integrity via multiple apps / playstore repeatedly. You should not bother until your apps stop working. - Use alternative apps when possible. Please do remember that any keybox made public or being used in bulk would trigger the failsafe and Goolag would eventually ban it! 🚨✍️Sign the Petition✍️🚨: https://www.change.org/p/stop-google-from-limiting-custom-roms @alph4 is working to take legal action against Google through Antitrust and consumer protection agencies in the European Union over the issue of Google Play Integrity! "We ask Google to change its Play Integrity implementation, allowing Custom ROMs to pass Play Integrity so the users can enjoy their device's capabilities fully" ✅ To-Do List: • Sign and verify your signature via email auth. • Share how experience regarding how Play Integrity affects your custom ROM experience with respect to apps. • Spread the word to friends and other groups. Forwarding this post can also help. Thanks for your attention and support! A community post made on behalf of @Nothing_Archive & @Crosscrew Federation #Keybox#PlayIntegrity#Petition#StrongIntegrity#CustomROM#AndroidFreedom#DigitalRights