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

Пребарај: #slenderbilledcurlew

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

@ekologuzenglish · Post #10335 · 16.11.2025 г., 10:01

Red_book 🌿 Slender-billed Curlew (Numenius tenuirostris) 🌿 This rare bird species is on the brink of extinction (CR). Distribution: Southern Aral region (migration), Western Siberia (breeding), Mediterranean countries (wintering). Habitat: flat wetlands with marshy shores and shallow areas. Population: currently less than 50 individuals worldwide; in the 1980–90s, there were 316–326. Lifestyle: spring migration — March–April, autumn migration — August–September; feeds on aquatic invertebrates. Threats: habitat loss and changes in natural environments. Conservation: hunting is prohibited; protected in the “Sudochye Lakes System” state reserve. Listed in CITES Appendix I and under the Bonn Convention. 💚 Let’s protect nature and save rare species together! #Conservation#EndangeredSpecies#SlenderBilledCurlew#Ecology#Biodiversity#Uzbekistan