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

Пребарај: #hangsengtechindex

当前筛选 #hangsengtechindex清除筛选
Crypto M - Crypto News

@CryptoM · Post #65343 · 13.04.2026 г., 01:23

🚀 Hong Kong Stocks Open Lower as Tech Shares Decline Hong Kong stocks opened lower today, with the Hang Seng Index dropping 0.71% and the Hang Seng Tech Index falling 0.69%. According to Jin10, technology stocks led the decline, with Baidu (09888.HK) down over 3% and NetEase-S (09999.HK) falling more than 2%. #HongKongStocks#HangSengIndex#HangSengTechIndex#TechStocks#Baidu#NetEase

Crypto M - Crypto News

@CryptoM · Post #64811 · 10.04.2026 г., 01:25

🚀 STOCKS | Hong Kong Stocks Open Higher with Semiconductor Gains Hong Kong stocks opened with gains as the Hang Seng Index rose by 0.54% and the Hang Seng Tech Index increased by 0.47%. According to Jin10, Hua Hong Semiconductor saw a rise of over 3.5%, while CATL and WH Group both experienced nearly 3% increases. In contrast, NIO faced a decline of more than 6.5%, and Baidu dropped over 3.5%. #HongKongStocks#HangSengIndex#HangSengTechIndex#Semiconductors#HuaHongSemiconductor#CATL#WHGroup#NIO#Baidu#StockMarket