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 слични објави

Пребарај: #peacemaker

当前筛选 #peacemaker清除筛选
BadVolf

@BadvolfNews · Post #129 · 05.06.2022 г., 09:31

I decided to respond to #Ukraine#President#Zelensky about being placed on the Ukrainian #Peacemaker Execution list. Yes, Me and some other #journalists were put on the Ukrainian's "Peacemaker" Extermination list. It's a website that Ukrainian troops use and if you are on that list and found in Ukraine, you are #executed on the spot. Their source of information is not only their #SBU, but western intelligence agencies, like the #FBI, #CIA, #NSA, #MI5 and others. I took this opportunity to address President Zelensky about his policy of executing journalists that refused to regurgitate his Ukrainian talking point lies. Mr. Zelensky, This is for YOU 🖕🏿🖕🏿🖕🏿