@jonafzan · Post #446 · 20.06.2018 г., 08:14
📂 G-Dragon 🎤#BigBang 🎤#GDragon 📥 Link 👇👇 🌸🌸🌸Pack 1 🌸🌸🌸 t.me/addstickers/GDragonStickers 🌸🌸🌸 Pack 2 🌸🌸🌸 T.me/addstickers/BigbangStickers ⚙️@Jonafzan
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #380 · 21 окт.
Регулярно приходится писать и ревьюить код, где используется PySide2-6. Заметил, что в подавляющем большинстве случаев настройка создаваемых базовых виджетов происходит через методы. Думаю, всем знаком такой способ. Простой пример с кнопкой: button = QPushButton("Click Me") button.setMinimumWidth(300) button.setFlat(True) button.setStyleSheet("font-size: 20pt") button.setToolTip("Super Button") button.clicked.connect(lambda: print("Button clicked")) Но есть и альтернативный способ - настройка через свойства. Это просто ключевые аргументы конструктора класса. Хоть они и не указаны в документации как аргументы, но они есть) Этот код делает тоже самое но с помощью Property button = QPushButton( "Click Me", minimumWidth=300, flat=True, styleSheet="font-size: 20pt", toolTip="Super Button", clicked=lambda: print("Button clicked"), ) Где это может быть полезно ▫️ Это выглядит более аккуратно и коротко, уже повод использовать ▫️ Может использоваться в заполнении лейаута, когда нам не нужно никакое другое взаимодействие с виджетом и поэтому сохранять его в переменную не требуется. Например, лейбл или кнопка. widget = QWidget(minimumWidth=400) layout = QHBoxLayout(widget) layout.addWidget(QLabel("Button >", alignment=Qt.AlignRight)) layout.addWidget(QPushButton("Click Me", clicked=lambda: print("Button clicked"))) widget.show() Либо так widget = QWidget(minimumWidth=400) layout = QHBoxLayout(widget) for wd in ( QLabel("Button >", alignment=Qt.AlignRight), QPushButton("Click Me", clicked=lambda: ...) ): layout.addWidget(wd) widget.show() ▫️ Можно хранить настройки в каком-то конфиге или генерировать на лету, после чего передавать как kwargs. kwargs = {"text": "Hello " * 30, "wordWrap": True} my_label = QLabel(**kwargs) Как получить полный список доступных свойств? Эта функция распечатает в терминал все свойства виджета и их текущие значения def print_widget_properties(widget): meta_object = widget.metaObject() for i in range(meta_object.propertyCount()): property_ = meta_object.property(i) property_name = property_.name() property_value = property_.read(widget) print(f"{property_name}: {property_value}") #tricks#qt
Пребарај: #bigbang
@jonafzan · Post #446 · 20.06.2018 г., 08:14
📂 G-Dragon 🎤#BigBang 🎤#GDragon 📥 Link 👇👇 🌸🌸🌸Pack 1 🌸🌸🌸 t.me/addstickers/GDragonStickers 🌸🌸🌸 Pack 2 🌸🌸🌸 T.me/addstickers/BigbangStickers ⚙️@Jonafzan
@jonafzan · Post #39 · 19.02.2018 г., 06:42
G-Dragon #GDragon#BigBang
@jonafzan · Post #32 · 19.02.2018 г., 06:36
G-Dragon #GDragon#BigBang
@bubbletealuv · Post #3115 · 08.02.2025 г., 18:43
ᝬ 🤩𖠵 ゛ (( 🐰) new post by bubbletealuv ↝ #GDragon➛ #BigBang#Solo.. ✨ …( emoji ) 💭 взяли? буду рад увидеть плюсы и реакции.
@bubbletealuv · Post #1910 · 22.12.2023 г., 18:13
Тэян [BigBang] 🍱🍱🍱 💫установить пак💫 tag - #Taeyang#BigBang#solo#kpop
@bubbletealuv · Post #1909 · 21.12.2023 г., 19:51
Джи Драгон [BigBang] 🍜🍜🍜 🦖установить пак🦖 tag - #GDragon#BigBang#solo#kpop
@cosmomyst · Post #439 · 17.10.2025 г., 20:21
🪐 The cosmic microwave background is not just a faint afterglow—embedded within it are tiny, swirling patterns called "polarization anomalies," first mapped in detail by the Planck satellite. These twists in the microwave light tell scientists how matter and light interacted in the early universe, revealing clues about the first few moments after the Big Bang and hinting at processes like cosmic inflation—an explosive expansion that happened in fractions of a second. ✨ #cosmology⚡#universe⚡#bigbang⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@bubbletealuv · Post #1911 · 22.12.2023 г., 19:43
Дэсон [BigBang] 🍲🍲🍲 🐰установить пак🐰 tag - #Daesung#BigBang#solo#kpop
@abmedia_news · Post #23950 · 17.04.2026 г., 10:00
【🚀 交易市場|HYBE、SM、JYP、YG 合體推「Phenomenon」:韓版 Coachella 音樂節啟動 】 #BIGBANG#BTS#Coachella 📍 請見報導: https://abmedia.io/hybe-sm-jyp-yg-phenomenon 💸 [活動]:BingX 推出 SpaceX IPO 前資產的鏈上交易機制,進一步拓展未來高價值資產布局
Hashtags
@cosmomyst · Post #570 · 20.12.2025 г., 22:21
🪐 When the European Space Agency’s Planck satellite mapped the cosmic microwave background—the faint afterglow of the Big Bang—it found the universe’s temperature is nearly uniform everywhere, but with subtle hot and cold spots only millionths of a degree apart. These tiny temperature variations, scattered across the sky, serve as a cosmic “fossil record,” encoding clues to how galaxies, clusters, and the vast cosmic web evolved from the universe’s earliest moments. ✨ #microwaveradiation⚡#bigbang⚡#universe⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #724 · 27.03.2026 г., 22:21
🪐 The cosmic microwave background, first detected by Arno Penzias and Robert Wilson in 1965, is the faint, ancient light left over from the Big Bang that fills all of space and bathes galaxies like the Milky Way in low-energy microwaves. This "baby picture" of the universe reveals information about the cosmos just 380,000 years after its beginning, before any stars or galaxies existed, giving astronomers a unique window into how everything started and evolved. ✨ #microwaves⚡#bigbang⚡#universe⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #289 · 18.09.2025 г., 03:11
🪐 The cosmic microwave background is filled with "anisotropies"—tiny temperature variations only millionths of a degree apart, mapped in stunning detail by the Planck satellite. These subtle patterns show how matter and energy were distributed just 380,000 years after the Big Bang, providing a cosmic blueprint that led to the galaxies and clusters we see today. ✨ #microwaverelic⚡#bigbang⚡#universe⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#cosmos⚡#space 👉subscribe Universe Mysteries