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

Пребарај: #cabriolet

当前筛选 #cabriolet清除筛选
Car News

@car_news · Post #1964 · 15.04.2026 г., 13:09

🚘 Porsche unveiled the 911 GT3 S/C lightweight-cabriolet 🆕 This is the first GT3 with an automatic retractable roof and currently the only two-seater 911 convertible. 🐎 Under the hood is a naturally aspirated 4.0L engine producing 510 hp. 💨 0–100 km/h takes just 3.9 seconds, with a top speed of 313 km/h. 6️⃣ And yes — it comes with a 6-speed manual transmission. 💶 Price – €269,000. Already available for order. #Porsche#cabriolet@Car_News

Car News

@car_news · Post #1030 · 22.02.2025 г., 16:50

📰Maserati GranCabrio was presented in its newbase version 🚘 The base cabriolet is equipped with a biturbo V6 engine with an output of 490 hp, 8-speed automatic transmission and all-wheel drive, acceleration to 100 km/h is in 3.9 seconds. 💶 In Italy, the base cabriolet costs at least 170 thousand euros. @CarsNews #Maserati#cabriolet