@americancryptotrading · Post #27568 · 25.03.2026 г., 11:03
🇺🇸#SEI/USDT has found support at the lowerborder of the descendingchannel on the 3D timeframe👀 Looks good for the midterm✈️ American Crypto©
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #381 · 23 окт.
Установить свойства виджета в PySide можно не только через соответствующие методы и конструктор класса. Можно их изменять с помощью метода setProperty по имени. btn = QPushButton("Click Me") btn.setProperty("flat", True) Это аналогично вызову btn.setFlat(True) Если указать несуществующее свойство, то оно просто создается btn.setProperty("btnType", "super") Получить его значение можно методом .property(name) btn_type = btn.property("btnType") Когда это может быть полезно? ▫️Можно просто хранить какие то данные в виджете и потом их доставать обратно widget = QWidget() widget.setProperty('my_data', 123) print(widget.property('my_data')) ▫️ Назначая эти свойства разным виджетам можно потом отличить виджеты во время итераци по ним. Например, найти все кнопки со свойством my_data="superbtn". Но ведь вместо кастомного свойства можно использовать objectName, будет тот же результат. Да, но y ObjectName есть ограничение - только строки. ▫️ Если нам потребуется не просто поиск а, например, сортировка по числу, то свойства позволяют нам это сделать. Поддерживается любой тип данных widget.setProperty('my_data', {'Key': 'value'}) widget.setProperty('order', 1) all_widgets.sort(key=w: w.property('order')) Но ведь Python позволяет всё вышеперечисленное сделать простым созданием атрибута у объекта widget.order = 1 widget.my_data = 123 Да, но я думаю что не надо объяснять почему не стоит так делать. К тому же, если у виджета нет свойства то метод .property(name) вернет None, а отсутствующий атрибут выбросит исключение. ▫️ Действительно полезное применение кастомным свойствам - контроль стилей. Здесь атрибутами не обойтись, нужны именно свойства. Дело в том, что в селекторах стилей можно указывать конкретные свойства виджетов на которые следует назначать стиль. Просто запустите этот код from PySide2.QtWidgets import * if __name__ == "__main__": app = QApplication([]) widget = QWidget(minimumWidth=300) layout = QVBoxLayout(widget) btn1 = QPushButton("Action 1") btn2 = QPushButton("Action 2") btn3 = QPushButton("Action 3", flat=True) layout.addWidget(btn1) layout.addWidget(btn2) layout.addWidget(btn3) # добавим кастомное свойство одной кнопке btn1.setProperty("btnType", "super") # добавляем стили widget.setStyleSheet( """ QPushButton[btnType="super"] { background-color: yellow; color: red; } QPushButton[flat="true"] { color: yellow; } """ ) widget.show() app.exec_() С помощью селектора мы избирательно назначили стили на конкретные кнопки. Как получить список всех кастомный свойств? Функция получения списка кастомных свойств отличается от получения дефолтных. def print_widget_dyn_properties(widget): for prop_name in widget.dynamicPropertyNames(): property_name = prop_name.data().decode() property_value = widget.property(property_name) print(f"{property_name}: {property_value}") #tricks#qt
Пребарај: #sei
@americancryptotrading · Post #27568 · 25.03.2026 г., 11:03
🇺🇸#SEI/USDT has found support at the lowerborder of the descendingchannel on the 3D timeframe👀 Looks good for the midterm✈️ American Crypto©
Hashtags
@americancryptotrading · Post #27532 · 12.02.2026 г., 09:45
🇺🇸#SEI/USDT is currently consolidating inside the descendingchannel formation on the 3D timeframe👨💻 Accumulate before the rocket takes off📈 American Crypto©
Hashtags
@americancryptotrading · Post #27495 · 07.01.2026 г., 11:51
🇺🇸#SEI/USDT is holding above the lowerboundary of the descendingchannel formation on the 3D timeframe💁♂️ Strong upside potential on a bounce🚀 American Crypto©
Hashtags
@americancryptotrading · Post #27414 · 22.10.2025 г., 08:58
🇺🇸#SEI/USDT is consolidating inside the descendingchannel pattern on the 3D chart🧐 A breakout will bring a huge rally🐃 American Crypto©
Hashtags
@americancryptotrading · Post #27360 · 30.08.2025 г., 08:46
🇺🇸#SEI/USDT has retested the s/rzone on the 2D timeframe👀 Time to bounce and rally🚀 American Crypto©
Hashtags
@americancryptotrading · Post #27163 · 22.02.2025 г., 12:16
🇺🇸#SEI/USDT is facing the upperborder of the fallingwedge formation on the daily chart🔍 Bullish case if we break above the one🚀 American Crypto©
Hashtags
@bitcoinbuliets · Post #14217 · 10.05.2026 г., 20:05
#SEI Market Analysis SEI/USDT showing strong bullish momentum with price near the upper Bollinger Band and MACD confirming upward trend. RSI above 76 signals overbought conditions but doesn't negate short-term strength. Holding above 0.0591 supports continuation toward resistance at 0.0620. Bear case triggers below 0.0585, risking a deeper pullback to key supports near 0.0579. Watch 0.0591 as the pivot for bulls and bears. --- ➖➖➖➖➖➖➖ Bitcoin Bullets® Trading
Hashtags
@bitcoinbuliets · Post #14146 · 09.05.2026 г., 20:05
#SEI Market Analysis SEI/USDT showing strong bullish momentum with MACD confirming upside and RSI stretched near 74 signaling overbought conditions. Price hugging the upper Bollinger Band suggests continuation but warns of a short-term pullback. Bull case: Hold above 0.0586 to target 0.0620 and beyond. Bear case: Break below 0.0575 risks deeper correction toward 0.0550. Key level to watch: 0.0586 support. --- ➖➖➖➖➖➖➖ Bitcoin Bullets® Trading
Hashtags
@bitcoinbuliets · Post #13522 · 22.04.2026 г., 20:03
#SEI Market Analysis SEI/USDT holding a strong bullish structure with MACD confirming momentum and RSI pushing into overbought territory near the upper Bollinger Band. Price is well above key supports, showing solid demand on dips. Bull case: Hold above 0.055, targeting a test of 0.059 resistance. Bear case: Lose 0.054 support, risk deeper pullback toward 0.05385. Watch 0.055 closely for trade direction. --- ➖➖➖➖➖➖➖ Bitcoin Bullets® Trading
Hashtags
@bitcoinbuliets · Post #13511 · 22.04.2026 г., 04:03
#SEI Market Analysis SEI/USDT is in a weak bearish trend but shows short-term bullish signals with MACD turning positive and RSI near 61. Price is testing resistance near 0.056 and trading close to the upper Bollinger Band, indicating potential exhaustion. Bull case: hold above 0.056, targeting 0.059 for a relief bounce. Bear case: lose 0.055 and risk a deeper pullback toward the 0.053 support zone. Key level to watch: 0.056. --- ➖➖➖➖➖➖➖ Bitcoin Bullets® Trading
Hashtags
@bitcoinbuliets · Post #13219 · 04.04.2026 г., 04:09
#SEI Market Analysis SEI/USDT shows a weak bearish structure with price hovering near resistance at 0.05496 and RSI steady around 54. MACD is bullish and price trades in the upper half of the Bollinger Bands, signaling potential short-term strength. Bull case: hold above 0.05375 to target 0.05558 resistance. Bear case: lose 0.0509 support and risk a deeper pullback toward 0.0486. Key level to watch: 0.05375. --- ➖➖➖➖➖➖➖ Bitcoin Bullets® Trading
Hashtags
@bitcoinbuliets · Post #13215 · 03.04.2026 г., 20:09
#SEI Market Analysis SEI/USDT shows a weak bearish structure but MACD is turning bullish, signaling potential short-term strength. Price is near the upper Bollinger Band with RSI around 59, indicating room to run but also caution for a squeeze. Bull case: hold above 0.05496 for a push to 0.05595 resistance. Bear case: lose 0.0509 support and risk a deeper drop to 0.0486. Key level to watch: 0.05496. --- ➖➖➖➖➖➖➖ Bitcoin Bullets® Trading
Hashtags