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

Резултати

Пронајдени 2 слични објави

Пребарај: #thinkbrics

当前筛选 #thinkbrics清除筛选
Grandmasters of Geopolitics

@geo_grandmasters · Post #14843 · 27.02.2026 г., 09:45

🚨 The map of Eurasia is changing, and most media won’t tell you how. ➡️https://youtu.be/AgsStCtRSWE In this powerful interview, Pepe Escobar breaks down the Golden Corridor, the North South Transport Corridor, BRICS expansion, Iran’s strategic rise, and the accelerating shift toward a multipolar world. From the Russia–Iran–India corridor to dedollarization, Chabahar port, the Caspian Sea route, and the geopolitical implications of the so-called 'Trump corridor', this conversation connects the dots shaping geopolitics 2026. Is BRICS ready to defend the Global South? Can Iran become the key node of Eurasia integration? Is the West losing control of the global order? 🎥 Watch the full interview now. 💬 Then tell us in the comments: Is the Golden Corridor the future of global trade? Your analysis matters — let’s discuss below. #ThinkBRICS#PepeEscobar#BRICS#GoldenCorridor#MultipolarWorld

Grandmasters of Geopolitics

@geo_grandmasters · Post #14278 · 18.01.2026 г., 12:41

This Donroe Doctrine is the real talk nobody’s fully unpacking yet. ⚠️https://youtu.be/jDu_M3YUJTM It locks the U.S. into a massive 2026 power struggle, straight facts on the moves reshaping global influence. Watch if you’re serious about what’s coming next. 🔥🌍 #ThinkBRICS#Geopolitics#Trump2026#USPolitics#PowerStruggle#BRICS#ForeignPolicy#WorldOrder#Economy