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

Резултати

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

Пребарај: #alsabeel

当前筛选 #alsabeel清除筛选
Eva Karene Bartlett

@EvaKarene_Bartlett · Post #30636 · 02.05.2026 г., 04:19

#Homs: The young Alawite man Mohammed Al-Ashqar, was killed after being shot by a terrorist group near the “Al-Kutaib Cemetery” in #alSabeel neighborhood in Homs, resulting in his immediate death. The incident occurred today, May 1, 2026.​​​​​​​​​​​​​​​​ 📌This coincides with incitement campaigns against Alawites led by media figures and activists loyal to the STg across social media platforms for several days, attributing all crimes of the Assad regime collectively to the Alawite community. Over the past 3 days, the kidnapping of two Alawite girls one of them a minor, has been recorded (not yet reported by us), along with the killing of three young Alawite men to date, in addition to provocations in Alawite villages in the rural outskirts of Baniyas.