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

Резултати

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

Пребарај: #testing

当前筛选 #testing清除筛选
IT Masters

@ITmastersuz · Post #11664 · 28.09.2024 г., 04:56

S24 vs 15 Pro Max batareya sinovi 🔥 🔥 - Samsung S24 👍 - iPhone 15 Pro Max 👉Bizning barcha loyihalar | #testing

Hashtags

Momogram

@momogram_update · Post #1285 · 16.04.2026 г., 03:57

#testing v12.6.4 cb9a1daa95 r1128 Fixed: - Content in ChatEditTypeActivity not aligned Misc: - APK signature changed - nekox.messenger.broken is now momo.gram Note: In general, secret chats will be lost when you switch between apps starting from the last build. Momogram contains a secret chat backup/restore helper that can partially mitigate this problem. The contents of secret chats can be migrated to the new Momogram release (view-only; you still have to create a new secret chat for future messages). Note that this functionality isn’t guaranteed. Make sure you don’t uninstall the old build before confirming the content is properly restored on the other side. Steps to migrate: - Open Momo account settings with previous build - Tap on "Backup Secret Chats" - Enter a password - Share it to yourself (Saved Messages) - Install this build - Tap on the file you shared to yourself - Enter the password you specified earlier and press OK PS. While the exported backup is always encrypted, it's advised to delete the backup as soon as you done with the migration. PPS. To prevent issues, the backup file created is restricted to be used with the same upstream version, try to restore on a different version will be resulted in decrypt error

Hashtags

Momogram

@momogram_update · Post #1275 · 10.04.2026 г., 13:04

#testing v12.6.4 899700cb58 r1127 Fixed: - A typo in Momo settings - Duplicated share button in custom tab UI for certain browsers - (unverified) Random ANR & crash fix

Hashtags

Momogram

@momogram_update · Post #1264 · 07.04.2026 г., 13:08

#testing v12.6.4 6a8da4a514 r1126 Added: - Randomize attached file name (Note. names of files with existing cache won't be randomized) - Hide AI button in edit text field Fixed: - Details button not showing for some messages - Repeat scheduled message not hidden for non-premium users - New Telegram translate UI (TranslateAlert3)

Hashtags

Momogram

@momogram_update · Post #1254 · 06.04.2026 г., 15:17

#testing v12.6.3 013d69a41f r1125 First 12.6.3 test build Added: - Disable pull down to show search bar at chat list (thx Nagram) Misc: - Abandon outdated local Chinese translations (replaced with official beta language pack)

Hashtags

Momogram

@momogram_update · Post #1244 · 03.04.2026 г., 15:02

#testing v12.5.1 b043950be7 r1124 Added: - Active session checker to check if there's active session of potentially malicious clients (Please consider share API ID from experimental settings if you get the warning message) Fixed: - Passkey login for Bitwarden (Thx Nagram) - Edit/Promote admin in groups

Hashtags

Momogram

@momogram_update · Post #1193 · 23.02.2026 г., 09:47

#testing v12.4.1 6ecd8a6547 r1120 Added: - Hide bottom navigation tabs (Special Thanks: tehcneko) Fixed: - Send button size/position in chat list when forwarding Misc: - Close search settings by taping on bottom tab - Move appearance settings to a separate page - Show proxy in chat list menu

Hashtags

Momogram

@momogram_update · Post #1188 · 21.02.2026 г., 10:40

#testing v12.4.1 339a548ad2 r1119 Added: Switch account by long click on title Basically usable now, may still have some minor bugs, but most annoying glitches were fixed, thanks for everyone helped testing

Hashtags

123•••56
ПретходнаСтраница 1 од 6Следна