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

Пребарај: #ferrarif80

当前筛选 #ferrarif80清除筛选
Auto Life

@revheadcrypto · Post #589 · 19.10.2024 г., 08:26

🚗💨Ferrari Unveils the F80: A New Super Hybrid Rivaling McLaren W1!💨🚗 Introducing the most powerful road model in Ferrari's history! 🔥🏎️ 🔴 Instead of a V12, it features a Le Mans-inspired V6 3.0 with hybrid technology. 🔴 Produces a staggering 900 hp, revving up to 9000 RPM! 🔴 Combined output with electric motors (developed by Ferrari) reaches an astonishing 1200 hp! 🔴 0-100 km/h in just 2.15 seconds! 🔴 0-200 km/h in only 5.75 seconds! 🔴 Top speed of 350 km/h! 🔴 800-volt electrical architecture for ultimate performance! 🔴 Dry weight of 1525 kg! 🔴 Monocoque made from carbon fiber, with aluminum front and rear subframes! The F80 features a two-seat configuration, with a driver-focused cockpit, dubbed "1+." 🏁👤 Its retro design pays homage to the legendary Daytona and F40, generating a whopping ton of downforce at 250 km/h! 🌬️✨ 🚀Availability: Late 2025 💰Starting Price: €3.6 million 🔢 Only 799 units will be produced! #FerrariF80#SuperHybrid#Hypercar#Ferrari#McLarenW1#CarLovers#Auto