@cryptobull_360 · Post #49765 · 12.05.2026 г., 12:45
🇺🇸📈 U.S. April seasonally adjusted Core CPI rose 0.4% MoM, above market expectations of 0.3%. This marks the highest reading since January 2025. #macro
Hashtags
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
Пребарај: #macro
@cryptobull_360 · Post #49765 · 12.05.2026 г., 12:45
🇺🇸📈 U.S. April seasonally adjusted Core CPI rose 0.4% MoM, above market expectations of 0.3%. This marks the highest reading since January 2025. #macro
Hashtags
@cryptobull_360 · Post #49764 · 12.05.2026 г., 12:44
⚡️🇺🇸#macro USA: - consumption (CPI; Apr): - m/m: 0.6% (prog: 0.6%; prev: 0.9%) - y/y: 3.8% (prog: 3.7%; pre: 3.3%); – Baseline (CPI) (YoY): 2.8% (Prog: 2.7%; Prev: 2.6%).
Hashtags
@cryptobull_360 · Post #49630 · 30.04.2026 г., 13:05
🇺🇸📝#macro USA - Initial Jobless Claims = 189K (exp 213K / prev 214K) - Continuing Jobless Claims = 1.785M (exp 1.820M / prev 1.821M)
Hashtags
@cryptobull_360 · Post #49305 · 14.04.2026 г., 14:38
🔮 IMF Raises Its 2026 Global Headline Inflation Forecast to 4.4% Amid Conflict-Driven Energy Shocks. #macro
Hashtags
@cryptobull_360 · Post #49140 · 09.04.2026 г., 12:59
🇺🇸👀#macroUSA: – PCE Price index (Feb): - m/m: 0.4% (prog: 0.4%; prev: 0.3%) - y/y: 2.8% (prog: 2.8%; pre: 2.8%) – Baseline PCE (YoY): 3% (prog: 3.0%; pre: 3.1%); – Initial Jobless Claims: 219 thousand (previous: 202 thousand); – GDP (Q4): 0.5% (prev: 4.4%)
Hashtags
@cryptobull_360 · Post #49120 · 07.04.2026 г., 23:53
🇺🇸 Trump said he decided to suspend attacks on Iran for 2 weeks. #macro
Hashtags
@cryptobull_360 · Post #48980 · 30.03.2026 г., 15:07
🇺🇸#macro Powell (post may be supplemented): - Politics is in a position that allows for a wait-and-see attitude; - DKP is in an advantageous position; - the economy is stable.
Hashtags
@cryptobull_360 · Post #48865 · 23.03.2026 г., 03:32
📉 Gold fell below $4350. 📉🇯🇵 Japanese Nikkei 225 stock index futures fell 4% after Iran threatened to “completely close” the Strait of Hormuz. #macro
Hashtags
@cryptobull_360 · Post #48847 · 19.03.2026 г., 12:30
🇺🇸👀#macro Initial Jobless Claims: 205 thousand (previous: 213 thousand)
Hashtags
@cryptobull_360 · Post #48845 · 18.03.2026 г., 12:36
🇺🇸👀#macro US: - Producer Price Index (PPI; Feb): - m/m: 0.7% (prior: 0.5%) - y/y: 3.4% (prior: 2.9%); - Core PPI: 3.9% y/y (prior: 3.6%).
Hashtags
@cryptobull_360 · Post #48739 · 13.03.2026 г., 12:44
🇺🇸👀#macroUSA: – GDP (Q4): 0.7% (prev: 4.4%); – PCE Price index (Jan): - m/m: 0.3% (prog: 0.3%; prev: 0.4%) - y/y: 2.8% (prog: 2.9%; pre: 2.9%) – Baseline PCE (YoY): 3.1% (prog: 3.1%; pre: 3%)
Hashtags
@cryptobull_360 · Post #48629 · 05.03.2026 г., 13:35
🇺🇸👀#macro Initial Jobless Claims: 213 thousand (previous: 212 thousand).
Hashtags