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

Резултати

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

Пребарај: #planet

当前筛选 #planet清除筛选
404 KIDS SEE GHOSTS (生产力之王版

@Isaiahsystem · Post #1092 · 21.12.2023 г., 11:42

1 小时了解地球整个历史(45 亿年) 4.5 Billion Years in 1 Hour Kurzgesagt 最近制作了关于地球整个历史的介绍动画,1 小时视频拉过地球 45 亿年历史,每秒闪过 100 万年。 动画制作精美,观感非常舒服,适合科普教育,如果像之前分享的 Short Trip 那样交互互动,就更棒了。Kurzgesagt 是个通过动画视频进行科普的油管频道,内容质量很不错。 Reference YouTube 的使用 Combo #planet

Hashtags

Interesting Planet 🌍

@interesting_planet_facts · Post #739 · 13.09.2025 г., 03:22

🌎 Earth’s “hum” is a persistent, faint vibration detectable even without earthquakes. Seismic sensors first recorded this low-frequency noise in 1998; it’s caused by ocean waves interacting with the seafloor. This global signal averages around 2 to 7 millihertz in frequency. ✨ #sound⚡#planet⚡#mystery 👉subscribe Interesting Planet ​

Amazing Geography 🌍

@amazingeo · Post #524 · 19.12.2025 г., 20:31

🌍 Earth's atmosphere extends far beyond clouds, but 99% of its mass is within just 32 kilometers of the surface—a thin layer compared to the planet's size, yet essential for life. ✨ #earth⚡#planet⚡#atmosphere⚡#geography⚡#nature 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #148 · 31.08.2025 г., 03:12

🌍 Earth’s atmosphere is a fragile shell just 100 kilometers thick—less than 2% of the planet’s radius. This thin layer protects all life from harmful space radiation and extreme temperatures. ✨ #earth⚡#atmosphere⚡#planet⚡#geography⚡#nature 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #261 · 18.09.2025 г., 20:12

🌍 Earth’s surface area is about 510 million square kilometers—more than 70% is covered by oceans, making our home a true water planet among the rocky worlds of our Solar System. ✨ #Earth⚡#oceans⚡#planet⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

123•••56
ПретходнаСтраница 1 од 6Следна