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

Пребарај: #kabbalah

当前筛选 #kabbalah清除筛选
De Nieuwshoorn

@Nieuwshoorn · Post #53100 · 01.03.2026 г., 13:04

“Alright, now attack Iran during Purim, the Jewish holiday celebrating the massacre of 75,000 Persians. Start the attack on the 11th day of the 9th month on the Muslim calendar.” “But sir, won’t that cause people to reconsider who was responsible for 9/11?” “Do it. Make sure #Purim coincides with a blood moon that peaks at 3:33 am on 3/3.” “But sir-“ “I know 3 is a highly significant number in Jewish #Kabbalah, symbolizing an 3rd party ending a unresolvable conflict between 1 & 2. Now do it.” “But-” “Have a Jewish journalist publish an article admitting how significant the symbolism is, and comparing Iran to Amalek.” “…” 💬THREAD Join us @E2Gcensored✡️