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

Резултати

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

Пребарај: #microbiology

当前筛选 #microbiology清除筛选
Interesting Planet 🌍

@interesting_planet_facts · Post #423 · 26.07.2025 г., 03:22

🌎 In the world’s caves, “moonmilk” forms as a creamy white mineral paste, oozing from rock walls. Created by bacteria that slowly dissolve limestone, moonmilk has been used for centuries as folk medicine by local cultures. ✨ #geology⚡#microbiology⚡#caves 👉subscribe Interesting Planet

Amazing Geography 🌍

@amazingeo · Post #469 · 22.11.2025 г., 12:31

🌍 Some karst caves contain rare bacteria that feed on mineral rock, creating colorful biofilms and even helping form new cave crystals—making the underground world alive in ways few people expect. ✨ #caves⚡#karst⚡#microbiology⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #578 · 15.01.2026 г., 20:31

🌍 Some polar lakes never see sunlight and stay covered with ice year-round. Microbes living under this ice survive in complete darkness, making them some of the most isolated life forms on Earth. ✨ #glaciers⚡#polar⚡#microbiology⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #466 · 30.07.2025 г., 13:22

🌎 In the dry canyons of the American Southwest, cryptobiotic soil forms a living crust of bacteria, fungi, and lichens. This fragile layer stabilizes desert soil and helps seeds germinate, supporting entire ecosystems in these harsh climates. ✨ #desert⚡#microbiology⚡#ecosystems 👉subscribe Interesting Planet

Venture Village Wall 🦄

@venturevillagewall · Post #4210 · 21.02.2025 г., 16:00

Latest Funding Rounds in Tech & Agri Funding highlights: - Johnvents Industries: $40.5M - Indigenous agribusiness in Africa. Read more - Valencia Technologies: $35M - Focused on tech innovations. Read more - Certn: $30M - Efficient background screening solutions. Read more - EG 427: $28.17M - DNA medicines for chronic diseases. Read more - Methuselah: $27.46M - Medical technology advancements. Read more - Spore.bio: $23M - Innovations in microbiology. Read more - Avandra Imaging: $17.75M - Imaging technology developments. Read more - Nuveen Green Capital: $15M - Sustainable real estate financing. Read more - METYCLE: $14.71M - Supplier access and product sales. Read more - fileAI: $14M - AI file automation solutions. Read more #Funding#Agribusiness#Tech#Sustainable#BackgroundCheck#Healthcare#MedicalTech#Microbiology#RealEstate#AI