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

Пребарај: #spatialdata

当前筛选 #spatialdata清除筛选
Green University CA | Official

@centralasian_greenuniversity · Post #403 · 01.12.2025 г., 07:54

Green University at the Spatial Data Workshop at Green University! 🖥On 26 November 2025, our representatives took part in a spatial data processing workshop held within the preparation of the Atlas of Environmental Change. 🗣️The event, organized by the Institute of Geography of the Russian Academy of Sciences, Lomonosov Moscow State University, and supported by the UN Environment Programme, focused on practical training in: 🔵remote sensing data 🔴elevation and relief analysis 🟢settlement dynamics in disaster-risk areas 🟡working with geoportals Participants explored modern tools for environmental monitoring and discussed future steps for the Atlas project together with experts and national focal points. #GreenUniversity#EnvironmentalChange#SpatialData#UNEP#GIS#Sustainability ✉️[email protected] ☎️ +998 55 512 00 77 📍Location 🌐Website | 📱Telegram | 📱Instagram | 📱LinkedIn | 🟥YouTube