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

Резултати

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

Пребарај: #winterolympics

当前筛选 #winterolympics清除筛选
Kursiv Uzbekistan (Eng)

@kursivuzeng · Post #2622 · 22.02.2026 г., 02:45

🏅 Milano Cortina 2026 — Day 15 Highlights Norway’s Johannes Høsflot Klæbo made Olympic history on the penultimate day, winning his sixth gold medal of the Games in the men’s 50km mass start — the most golds ever won at a single Winter Olympics. Other key results: 🇨🇦 Canada beat Great Britain 9–6 for men’s curling gold 🇩🇪 Germany defended the two-woman bobsleigh title 🇫🇷 France secured wins in ski mountaineering and biathlon 🇺🇸 Team USA retained mixed aerials gold 🇮🇹 Italy celebrated ski cross gold on home snow 🇳🇱 Dutch skaters Bergsma & Groenewoud won mass start titles 🇫🇮 Finland claimed hockey bronze With one day left, Milano Cortina 2026 continues to deliver historic moments and intense medal battles across multiple disciplines. #MilanoCortina2026#WinterOlympics#Sport

Kursiv Uzbekistan (Eng)

@kursivuzeng · Post #2638 · 22.02.2026 г., 02:50

⛸✨ An emotional farewell on ice — Milano Cortina 2026 figure skating gala The Olympic figure skating gala delivered a spectacular and heartfelt finale to theWinter Games, blending artistry, humour and unforgettable moments. 🇮🇹 Italian legend Carolina Kostner opened the night on home ice 🎭 29 performances ranged from dramatic solos to playful routines 🔥 Ilia Malinin wowed fans with explosive jumps and signature backflips 🎭 Adam Siao Him Fa stunned with a mid-skate costume reveal 💖 Chock & Bates brought romance to the ice 🐼 Kazakhstan’s Mikhail Shaidorov stole smiles in a panda costume The night ended with a powerful group performance, as Japan’s Kaori Sakamoto took her traditional group selfie — a symbolic goodbye to the Olympic ice. A magical finale that reminded the world: figure skating is as much art as sport. #MilanoCortina2026#FigureSkating#WinterOlympics#Sport