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

Резултати

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

Пребарај: #liberty

当前筛选 #liberty清除筛选

Liberty. Equality. Fraternity. And don't forget to leave the keys... Today, TON and Telegram represent a decentralized spaceship with 13 million inhabitants on board, ahead of its time. Cryptocurrency gives many people hope for a free and secure life. Web3 is not just about pixel images and taps; it is also a technology uniting millions of people who today collect coins together and tomorrow could make an important decision for the whole world. In the few years since TON was established, communities have sprung up around the world—in almost all CIS countries, as well as in Denmark, Italy, Nigeria, Iran, South Korea, Hong Kong... these are just the ones that come to mind because I personally read them. But the community itself is huge and, most importantly, international. It is also very friendly. Just look at the scale of support for Pavel Durov with the ✈️ symbol that hundreds of channels with multimillion audiences simultaneously posted. I have never encountered racial or religious animosity in TON chats. No one has offered me drugs or weapons. Politics are generally not discussed in crypto communities, except in terms of its impact on the exchange rate. Overall, this is a community of enthusiasts who are eager to learn new things and share their knowledge with others. So, I can confidently say that this is a healthy and sane community. Against the backdrop of current events, it is worth remembering that the idea around which more than 13 million people worldwide have united is alive and thriving. If all these people lived in one country, that country would rank 75th in population among all the countries in the world. The main idea of the Telegram messenger and TON cryptocurrency is Freedom. Yes, the very freedom that its ideological inspirer Pavel Durov is currently deprived of. #FreeDurov#TON#Telegram#Liberty

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40120 · 18.11.2025 г., 11:01

For over 20 years, the US has detained 39 Muslim men at Guantánamo Bay, with 27 never charged. The CIA operated secret "black sites" where at least 119 Muslim men were held and at least 39 tortured, without accountability. This system of unlawful detention, rendition, and abuse has cost billions, fueled propaganda by armed groups, and undermined global human rights. [Read more] @googlefactss#HumanRights#Guantanamo#Torture#Accountability#usa#liberty#LandOfTheFree

Venture Village Wall 🦄

@venturevillagewall · Post #3944 · 21.01.2025 г., 22:00

Trump Calls for Ross Ulbricht's Release Senator Rand Paul urges President Trump to free Ross Ulbricht, the founder of Silk Road. Meanwhile, Coinbase CEO Brian Armstrong states Trump is excited about a Strategic Bitcoin Reserve, aiming to be the first Bitcoin President. Additionally, Binance's CEO predicts a crypto all-time high in 2025 amid clearer U.S. regulation under Trump. Critical Metals Corp raises $500M for Bitcoin reserve strategy as they accept BTC as treasury asset—first Nasdaq company in critical minerals sector to do so. 🔗 Related articles from Watcher Guru and CoinDesk. #Bitcoin#USDC#Crypto#Trump#Coinbase#Binance#HesterPeirce#SEC#Decentralization#Finance#Investment#CriticalMetals#Aviation#Regulation#Liberty#Decentralized#Blockchain#CryptoNews#VC #Bitcoin#USDC#Crypto#Trump#Coinbase#Binance#HesterPeirce#SEC#Decentralization#Finance#Investment#CriticalMetals#Aviation#Regulation#Liberty#Decentralized#Blockchain#CryptoNews#VC

Kayleigh McEnany

@kayleighmcenany · Post #2252 · 09.01.2025 г., 08:23

Trump and the American Empire recovery/2 In the grand scheme, reclaiming America’s global dominance is critical to preserving liberty worldwide. Trump’s focus on expanding influence into Greenland, Canada, and the Panama Canal reflects this understanding. By securing these strategic positions, America strengthens its economy, protects vital trade routes, and curtails the growing influence of adversaries. The fight isn’t just about geography—it’s about values. Trump’s vision recognizes that American strength is a bulwark against tyranny. A strong America doesn’t just serve Americans—it serves the cause of freedom for all. But the ultimate success of this strategy depends on one thing: vigilance. America must remain true to its founding values of liberty, autonomy, and justice. That means balancing global influence with domestic safeguards, ensuring that while we project strength abroad, we don’t compromise freedom at home. Only then can the American empire thrive as a force for good, outshining authoritarian rivals like China and Russia, and ensuring a world where liberty reigns supreme. #Canada#Greenland#Denmark#Trump#MAGA#China#Russia#Iran#War#Israel#America#US#USA#Liberty#Freedom#Politics#Panama Part 1 @KayleighMcEnany