TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #175 · 30 окт.

В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks

Hashtags

Резултати

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

Пребарај: #hangsengindex

当前筛选 #hangsengindex清除筛选
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 #64505 · 09.04.2026 г., 04:13

🚀 STOCKS | Hong Kong's Hang Seng Index Retreats After Previous Surge On April 9, Hong Kong's Hang Seng Index experienced a pullback following a significant rise of nearly 800 points the previous day. According to Jin10, the index opened over 100 points lower in the morning and briefly fell more than 200 points to reach 25,653.63 points before recovering slightly. By midday, the Hang Seng Index closed down 0.35% at 25,803.12 points, while the Hang Seng Tech Index fell 1.26% to 4,861.39 points. The total market turnover for the Hang Seng Index reached HKD 126.652 billion. In terms of sector performance, optical communication and computing infrastructure stocks led gains, while the innovative drug concept saw a brief surge in early trading. However, most technology stocks underwent a correction, with real estate and gold stocks experiencing notable declines. Among individual stocks, Yangtze Optical Fibre and Cable Joint Stock Limited Company (06869.HK) rose 3.2%, WuXi AppTec Co., Ltd. (02359.HK) increased by 3.53%, Kingdee International Software Group Company Limited (00268.HK) fell 5.49%, Kuaishou Technology (01024.HK) dropped 3.55%, and Longfor Group Holdings Limited (00960.HK) decreased by 4.07%. #HangSengIndex#HongKongStocks#StockMarket#TechStocks#RealEstate#Gold#MarketPullback#Trading#Investment

Crypto M - Crypto News

@CryptoM · Post #64465 · 09.04.2026 г., 01:23

🚀 Hong Kong Stocks Open Lower as Tech Shares Decline Hong Kong's stock market opened with losses today, with the Hang Seng Index down by 0.53% and the Hang Seng Tech Index dropping by 1.11%. According to Jin10, several technology stocks experienced declines, including Alibaba, which fell by 2.69%, and Kuaishou, which decreased by 2.53%. #HongKongStocks#HangSengIndex#TechShares#Alibaba#Kuaishou#StockMarket#TechDecline

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