@CoinSonar · Post #243664 · 17.04.2026 г., 13:17
#ADA | Volume spike (USDT PAIR) 9 times the average volume 3.17M USDT traded in 15 min └Buying vol: 1.73M USDT 🟢 Boost score: 3/10 24h Vol: 31.42M USDT (Binance) Price: 0.2631 (-3.5% in 24h)
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
Пребарај: #ada
@CoinSonar · Post #243664 · 17.04.2026 г., 13:17
#ADA | Volume spike (USDT PAIR) 9 times the average volume 3.17M USDT traded in 15 min └Buying vol: 1.73M USDT 🟢 Boost score: 3/10 24h Vol: 31.42M USDT (Binance) Price: 0.2631 (-3.5% in 24h)
Hashtags
@CoinSonar · Post #243533 · 17.04.2026 г., 08:19
#ADA | Volume spike (USDT PAIR) 59 times the average volume 1.29M USDT traded in 1 min └Buying vol: 667.54K USDT 🟢 Boost score: 4/10 24h Vol: 31.42M USDT (Binance) Price: 0.2565 (-3.5% in 24h)
Hashtags
@CoinSonar · Post #243270 · 16.04.2026 г., 18:53
#ADA | Volume spike (USDT PAIR) 9 times the average volume 3.18M USDT traded in 15 min └Buying vol: 1.99M USDT 🟢 Boost score: 4/10 24h Vol: 31.42M USDT (Binance) Price: 0.2596 (-3.5% in 24h)
Hashtags
@cointrendz · Post #85438 · 16.03.2026 г., 06:50
🟢RSI Overbought Alert (4h)🟢 📉#ADA (RSI: 77.41 ⚡) | 24h📈: 10.24%
Hashtags
@cryptobull_360 · Post #48396 · 16.02.2026 г., 11:56
#ADA is consolidating within a descending broadening wedge pattern and is currently trading below both the resistance trendline and the Ichimoku Cloud. A decisive breakout of the wedge would signal a bullish trend, while continued weakness below the cloud could lead to further downside.
Hashtags
@whale_tank_crypto · Post #46872 · 30.03.2026 г., 20:28
#ADA/USDT Take-Profit target 1 ✅ Profit: 112.5379% 📈 Period: 2 hr 51 min ⏰
Hashtags
@market_headlines · Post #28663 · 24.04.2026 г., 08:28
#ada ❌ JPG Store и Comet закроются 23 мая –анонс JPG Store – NFT-маркетплейс в экосистеме Cardano. Comet – мобильное приложение для торговли Cardano-токенами, что-то ближе к swap/DEX-агрегатору. Crypto Headlines
Hashtags
@proanalysistrader · Post #27859 · 20.08.2024 г., 13:38
#ADA/USDT analysis : #ADA is currently experiencing a rejection from the resistance zone after being rejected in that area near the 200 EMA. The current trend indicates a continuation of the downward momentum, with a potential retest of previous lows anticipated. TF : 4H Entry : $0.3467 Target : $0.2863 SL : $0.3626
Hashtags
@americancryptotrading · Post #27463 · 08.12.2025 г., 10:15
🇺🇸#ADA/USDT is ready to rebound from the lowerborder of the descendingchannel formation on the 2D chart🧐 Bounce pressure is building📈 American Crypto©
Hashtags
@americancryptotrading · Post #27347 · 18.08.2025 г., 10:12
🇺🇸#ADA/USDT is currently trading above the neckline of the cup & handle formation on the weekly chart🔍 Up we go📈 American Crypto©
Hashtags
@americancryptotrading · Post #27327 · 30.07.2025 г., 08:37
🇺🇸#ADA/USDT is bouncing from the broken s/rzone on the weekly chart👀 Expecting further upside📈 American Crypto©
Hashtags
@americancryptotrading · Post #27301 · 04.07.2025 г., 08:55
🇺🇸#ADA/USDT is currently retesting the s/rzone on the weekly timeframe🔥 Climbing higher from here✈️ American Crypto©
Hashtags