@profile_pictures_tm · Post #19133 · 27.01.2025 г., 16:52
#Universe💫 ✨✨
Hashtags
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
Пребарај: #universe
@profile_pictures_tm · Post #19133 · 27.01.2025 г., 16:52
#Universe💫 ✨✨
Hashtags
@astronomic · Post #3251 · 24.08.2023 г., 17:27
#Universe @Astronomic
Hashtags
@astronomic · Post #3127 · 19.03.2023 г., 06:28
#UNIVERSE This is so beautiful 😍 @Astronomic
Hashtags
@interesting_planet_facts · Post #1382 · 23.04.2026 г., 22:11
🌎 The coldest known place in the universe is the Boomerang Nebula, located about 5,000 light-years from Earth. Its temperature is just 1 kelvin, or –272°C, which is even colder than the background temperature of space. This nebula formed from rapidly expanding gas blown out by a dying star. ✨ #space⚡#universe⚡#astronomy 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #680 · 03.09.2025 г., 13:22
🌎 The Boötes Void is an enormous empty region of space, spanning about 330 million light-years across. This cosmic void contains far fewer galaxies than expected, making it one of the largest known gaps in the observable universe. ✨ #space⚡#astronomy⚡#universe 👉subscribe Interesting Planet
Hashtags
@astronomic · Post #3211 · 27.06.2023 г., 06:48
#Space #Universe @astronomic
@testflightynoti · Post #38026 · 10.05.2026 г., 08:28
#Asteroid#Music#Universe Join the Asteroid - Music Universe beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/MvMzHPZV Shared by Dimitri
@interesting_planet_facts · Post #626 · 25.08.2025 г., 13:22
🌎 At the edge of the observable universe, mysterious “dark flow” tugs galaxy clusters in the same direction, hinting at unseen forces or realms beyond our cosmic horizon. This puzzling movement can’t be explained by known gravity alone, sparking debate about what lies outside the visible universe. ✨ #space⚡#universe⚡#cosmology 👉subscribe Interesting Planet
Hashtags
@interesting_planet_facts · Post #1118 · 10.12.2025 г., 22:11
🌎 Scientists researching the mysteries of parallel worlds often reference "brane theory," which suggests our universe could be a 3D surface, or 'brane,' floating in higher-dimensional space. In this model, multiple branes—each a universe with its own laws—could exist, and gravity may leak between them, which physicists are testing with experiments at facilities like CERN. ✨ #physics⚡#universe⚡#dimensions 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #780 · 19.09.2025 г., 13:22
🌎 Hidden in the vast cosmic darkness, rogue planets drift alone through space without orbiting any star. These “orphan worlds” form when gravitational forces eject young planets from their home systems. Some estimates suggest our galaxy may contain more rogue planets than stars. ✨ #universe⚡#astronomy⚡#exoplanets 👉subscribe Interesting Planet
Hashtags
@interesting_planet_facts · Post #1236 · 19.01.2026 г., 12:11
🌎 Mysterious dark matter makes up about 27% of the universe, but it does not emit or absorb light, making it invisible. Scientists detect dark matter only through its gravitational effects on galaxies and galaxy clusters. The leading candidates for dark matter particles are called WIMPs—Weakly Interacting Massive Particles. ✨ #space⚡#universe⚡#astrophysics 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #654 · 30.08.2025 г., 00:22
🌎 An ancient mystery lingers at the center of our galaxy—a supermassive black hole called Sagittarius A*. Its powerful gravity bends space and time, hiding beyond a swirling cloud of stars and gas. This invisible giant shapes the Milky Way, anchoring everything around it with immense, unseen force. ✨ #space⚡#blackhole⚡#universe 👉subscribe Interesting Planet
Hashtags