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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #45 · 2 мар.

В фреймворке PyQt (и PySide тоже) часто встречается настройка чего-либо с помощью так называемых флагов. widget.setWindowFlags(Qt.Window) Взаимодействие нескольких флагов делается с помощью бинарных (или побитовых) операторов. Несколько флагов можно указать с помощью оператора "|" list_item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsEnabled) исключить флаг из уже имеющегося набора можно так list_item.setFlags(list_item.flags() ^ Qt.ItemIsEnabled) Добавить новый флаг к имеющимся можно так list_item.setFlags(list_item.flags() | Qt.ItemIsEnabled) А проверка наличия делается так is_enabled = item.flags() & Qt.ItemIsEnabled > 0 Почему именно так? Всё дело в том как именно работают побитовые операторы. Но об этом в следующем посте. #qt

Hashtags

Резултати

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

Пребарај: #bliss18

当前筛选 #bliss18清除筛选
Xiaomi 12T Pro | K50U | Updates

@xiaomi_12tpro_updates · Post #222 · 12.01.2025 г., 13:11

¡New build available! #A15#BlissRom Xiaomi 12T Pro / Redmi K50 Ultra (diting) Maintainer:@TeamMEX_XDA (Kισżż) Version:Bliss-v18.1-diting-UNOFFICIAL-gapps-20250112 Download Firmware Device Changelog: - Fix eSIM (forgot to add the wrapper) - Include the firmware again - Allow people to flash stuff via bliss recovery (you can still use ofox or twrp) - Fix Misight domain sepolicy issues - Implement rebased yuki kernel (again is fixed the issues on 12tPRO? ) - FW included - Feas support - FEAS: Code refactoring to improve efficiency and readability. '#BlissRom' '#Voyager' '#Bliss18.1' If you like my work and want to support it please consider making a donation this helps with server costs. Donate PayPal

Xiaomi 12T Pro | K50U | Updates

@xiaomi_12tpro_updates · Post #220 · 10.01.2025 г., 02:06

¡New build available! #A15#BlissRom Xiaomi 12T Pro / Redmi K50 Ultra (diting) Maintainer:@TeamMEX_XDA (Kισżż) Version:Bliss-v18.1-diting-UNOFFICIAL-gapps-20250109 Download Firmware Device Changelog: - Add Updater support - Yuki kernel updated - Enable smartpixels and disable it on udfps location - enable Screen off udfps support - use correct sensor for pocket mode - initial release for diting '#BlissRom' '#Voyager' '#Bliss18.1' If you like my work and want to support it please consider making a donation this helps with server costs. Donate PayPal Follow @xiaomi_12tpro_updates Join @xiaomi12tpro_chat