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

Пребарај: #birdconservation

当前筛选 #birdconservation清除筛选
EKOLOG.UZ| ENG

@ekologuzenglish · Post #11029 · 01.01.2026 г., 08:02

🦤 The Great Bustard Has Returned to Uzbekistan In early November 2025, one of the rarest birds of Uzbekistan and the world — the Great Bustard — returned to the country for wintering. 📍 More than 50 individuals are currently staying in the Farish and Gallaorol districts of Jizzakh region. Some of these critically endangered birds have even been captured on video — truly rare and valuable footage. As part of the Great Bustard conservation program in Uzbekistan, the Bird Protection Society of Uzbekistan continues to: conduct weekly monitoring of the population and threats; hold educational talks in schools of Jizzakh region; organize public hearings with active hunters to prevent illegal hunting of bustards. ❗️ Important to note: The Bird Protection Society of Uzbekistan is the only public environmental organization in the country that consistently advocates for the protection of the Great Bustard — the largest and rarest bird species in Uzbekistan. The future of the Great Bustard in Uzbekistan — and its global population — largely depends on our actions today. This is our shared contribution to protecting endangered species that may disappear tomorrow. ☘️Read the latest environmental news on the @ekologuz page. Follow us and send your suggestions and wishes via @eklguz_bot Instagram | Facebook | Twitter | Sayt | Youtube. #GreatBustard#EndangeredSpecies#BirdConservation#Biodiversity#EcologyUzbekistan