@forexsignalstrialgroup · Post #18103 · 10.03.2026 г., 09:05
Crypto News Today – 10 March 2026 https://www.fxpremiere.com/crypto-news-today-10-march-2026/#crypto#cryptocurrency#cryptotrading Make Money Online - FxPremiere Group
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
Пребарај: #cryptotrading
@forexsignalstrialgroup · Post #18103 · 10.03.2026 г., 09:05
Crypto News Today – 10 March 2026 https://www.fxpremiere.com/crypto-news-today-10-march-2026/#crypto#cryptocurrency#cryptotrading Make Money Online - FxPremiere Group
@forexsignalstrialgroup · Post #17804 · 05.02.2026 г., 11:53
Live Crypto USA News Today — Bitcoin, Ethereum & Altcoins (5 February 2026) https://www.fxpremiere.com/live-crypto-usa-news-today-bitcoin-ethereum-altcoins-5-february-2026/#crypto#cryptocurrency#cryptotrading
@forexsignalstrialgroup · Post #17941 · 19.02.2026 г., 12:31
Live Crypto News Today — Bitcoin, Ethereum & Altcoins February 19, 2026 https://www.fxpremiere.com/live-crypto-news-today-bitcoin-ethereum-altcoins-february-19-2026/#cryptocurrency#crypto#cryptonews#cryptotrading
@forexsignalstrialgroup · Post #17898 · 16.02.2026 г., 11:12
Live Crypto News Today — Bitcoin, Ethereum & Altcoins (February 16, 2026) https://www.fxpremiere.com/live-crypto-news-today-bitcoin-ethereum-altcoins-february-16-2026/#crypto#cryptocurrency#cryptonews#cryptotrading FxPremiere Telegram Alerts
@forexsignalstrialgroup · Post #17881 · 13.02.2026 г., 10:17
Live Crypto News Today — Bitcoin, Ethereum & Altcoins February 13, 2026 https://www.fxpremiere.com/live-crypto-news-today-bitcoin-ethereum-altcoins-february-13-2026/#cryptocurrency#Crypto#cryptonews#cryptotrading
@gemscrypto100x · Post #2032 · 09.02.2026 г., 20:47
🟥 🟥 🟥GOYIM COIN – SOLANA GEM ALERT 🚀 📈 Strong Pump Ongoing | Heavy Volume Flow 🚀 Early buyers are already winning — next leg loading… 🔹 Chain: Solana 📈 Live on DexScreener: https://dexscreener.com/solana/ASCSDmpkbXDNRiPRKGAPiLU4Kukc6P8vgNBtNhGw3Hnf ✔️ Contract: 9S8edqWxoWz5LYLnxWUmWBJnePg35WfdYQp7HQkUpump 🐋Strong buying pressure • Healthy volume inflow • Meme narrative + active community 🚀 Official Links: 🐦Twitter (X): https://x.com/goyimcoinsol 🌎 Website: https://goyim.life/ #Solana#LowCap#CryptoTrading
Hashtags
@thekingfisher_btc · Post #3928 · 03.03.2025 г., 16:27
🤔 Who are you REALLY trading against in crypto? 🕵️♀️ Learn how market makers operate & how understanding their strategies can improve YOUR trading. 🎧 New podcast with The Kingfisher’s founders! #CryptoTrading#MarketMaking#Bitcoin https://www.youtube.com/watch?v=7xZf6Ae3sqI
@thekingfisher_btc · Post #3589 · 13.10.2024 г., 17:33
🤔 Who are you REALLY trading against in crypto? 🕵️♀️ Learn how market makers operate & how understanding their strategies can improve YOUR trading. 🎧 New podcast with The Kingfisher’s founders! #CryptoTrading#MarketMaking#Bitcoin https://www.youtube.com/watch?v=7xZf6Ae3sqI
@thekingfisher_btc · Post #3523 · 08.09.2024 г., 12:38
🤔 Who are you REALLY trading against in crypto? 🕵️♀️ Learn how market makers operate & how understanding their strategies can improve YOUR trading. 🎧 New podcast with The Kingfisher’s founders! #CryptoTrading#MarketMaking#Bitcoin https://www.youtube.com/watch?v=7xZf6Ae3sqI
@thekingfisher_btc · Post #3471 · 26.08.2024 г., 20:12
🤔 Who are you REALLY trading against in crypto? 🕵️♀️ Learn how market makers operate & how understanding their strategies can improve YOUR trading. 🎧 New podcast with The Kingfisher’s founders! #CryptoTrading#MarketMaking#Bitcoin https://www.youtube.com/watch?v=7xZf6Ae3sqI
@propheta_indicator · Post #23074 · 19.11.2025 г., 17:57
👆 Propheta living up to its name yet again 🔮 Reached 9th TP in the VIP PRO channel! That's why we call it the "Money Printer" 💴💷💵ACCESS TO MANUAL TRADING for 70usdt/month 👉 Looking at those reports and can't believe what you're seing? Go to our reports channel and audit us! @propheta_reports Register and get bonuses up to $6,000 Binance | OKX | ByBit👈🏻click! #cryptotrading#autotrading#cryptomarket
@propheta_indicator · Post #22867 · 07.10.2025 г., 12:13
Reached 9th TP in the VIP HTL channel! Easy $207 with a 5% entry and a $1000 deposit! VIPs getting filthy rich by the day ☺️🤑🤑ACCESS TO MANUAL TRADING for 70usdt/month 👉 Join us and earn big! Start here: t.me/ProphetaAdmin_bot Register and get bonuses up to $6,000 Binance | OKX | ByBit👈🏻click! #cryptobot#cryptotrading#eth
Hashtags