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

Резултати

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

Пребарај: #trench

当前筛选 #trench清除筛选
Amazing Geography 🌍

@amazingeo · Post #298 · 26.09.2025 г., 12:31

🌍 The deepest parts of the Mariana Trench were first explored by humans in 1960, but remote vehicles have since found entire new species living over 10,900 meters below the sea surface. ✨ #exploration⚡#ocean⚡#trench⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1367 · 07.04.2026 г., 12:11

🌎 In the Mariana Trench, the deepest part of the ocean, researchers have found strange microbial life living over 10,900 meters below the surface. These microbes survive by breaking down chemicals from rocks, not sunlight, and help recycle nutrients in this harsh environment. ✨ #ocean⚡#trench⚡#microbes 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1041 · 15.11.2025 г., 18:11

🌎 Beneath the waves near Antarctica, scientists have located a deep-sea region called the South Sandwich Trench, reaching depths of about 8,266 meters. This trench is the deepest point in the Southern Ocean, and recent expeditions revealed unique amphipod species living at these extreme pressures. ✨ #ocean⚡#trench⚡#amphipods 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1132 · 15.12.2025 г., 18:11

🌎 The Mariana Trench is the deepest part of the world’s oceans, plunging nearly 11,000 meters at its Challenger Deep. Extreme pressure and cold make exploration challenging. The trench’s deepest known animal is the amphipod Hirondellea gigas, found over 10,900 meters down. ✨ #ocean⚡#mysteries⚡#depth⚡#trench 👉subscribe Interesting Planet 👉more Channels ​