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

Резултати

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

Пребарај: #irannucleartalks

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

@CryptoM · Post #65222 · 12.04.2026 г., 04:13

🚀 Iran Nuclear Talks Fail as Tensions Impact Crypto Markets U.S. Vice President Vance announced that after 21 hours of negotiations, no agreement was reached with Iran, which refused to abandon its nuclear weapons program. According to BlockBeats, U.S. President Donald Trump had previously warned that failure in talks would lead to 'total destruction' of Iran. The ongoing conflict has caused volatility in the crypto market for weeks, compounded by tariff disputes, with Bitcoin dropping below $70,000 earlier this month. Analysts had predicted that a successful agreement could push Bitcoin to $80,000, while a breakdown might see it fall to $65,000. On the bullish side, data from on-chain wallets indicate that the largest Bitcoin holders, known as whales, have continued to buy during the peak of geopolitical turmoil rather than sell. Their reasoning is that if the conflict escalates, disrupting oil supplies from the Persian Gulf, rising oil prices and inflation could delay Federal Reserve rate cuts, benefiting scarce assets like Bitcoin and gold. Conversely, Peter Schiff, a gold trader and long-time Bitcoin skeptic, argues that as tensions rise, investors will flee Bitcoin for gold. Schiff predicts a Bitcoin 'collapse,' asserting that gold is the only true safe haven during wartime, and suggests that insiders may be profiting from market fluctuations driven by conflict news. If Trump follows through on his 'total destruction' threat, both stock and crypto markets are likely to experience simultaneous sell-offs. In terms of future developments, Vice President Vance maintained a firm stance at a press conference but did not rule out further negotiations. The Iranian parliamentary speaker demanded a ceasefire in Lebanon and the unfreezing of assets before engaging in formal talks. For Bitcoin traders, the next 72 hours hinge on two critical issues: whether a ceasefire agreement can be sustained and if Trump will escalate the conflict. Meanwhile, whale wallets continue to buy at current prices, indicating that some large investors are betting on stabilization of the situation. #IranNuclearTalks#CryptoMarket#Bitcoin#GeopoliticalRisk#Trump#OilPrices#Inflation#Gold#MarketVolatility#WhaleInvesting#MiddleEastConflict#Lebanon#USPolitics#BTC