@forexsignalstrialgroup · Post #18348 · 07.04.2026 г., 07:54
Crypto Signals Live News Today – 7th April 2026 https://www.fxpremiere.com/crypto-signals-live-news-today-7th-april-2026/#cryptocurrency
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
Пребарај: #cryptocurrency
@forexsignalstrialgroup · Post #18348 · 07.04.2026 г., 07:54
Crypto Signals Live News Today – 7th April 2026 https://www.fxpremiere.com/crypto-signals-live-news-today-7th-april-2026/#cryptocurrency
Hashtags
@thehackernews · Post #8826 · 18.04.2026 г., 08:00
Sanctioned #cryptocurrency exchange Grinex is shutting down after a $13.74M hack. Stolen funds were quickly moved and swapped to avoid freezing. The platform is linked to Garantex, flagged for laundering over $100M. 🔗 Read → https://thehackernews.com/2026/04/1374m-hack-shuts-down-sanctioned-grinex.html
Hashtags
@SenTedCruz · Post #1705 · 18.11.2021 г., 18:15
🔻 Congress shouldn’t stifle the innovation and creativity in emerging #cryptocurrency industries. https://t.co/Xq2QTOyhop November 18, 2021 at 09:38PM via Twitter @SenTedCruz
Hashtags
@perspectiveix · Post #1281 · 20.05.2018 г., 19:30
💰With at least $1.3 billion invested globally in 2018, VC funding for blockchain blows past 2017 totals 🚀@PerspectiveIX Read more at t.me/iXNews/25659 Do you own any #CryptoCurrency? 👍🏻 Yes 😅 No, but I'm thinking of buying 👎🏻 No, not interested at all
Hashtags
@Dwflabs · Post #183 · 27.01.2023 г., 03:05
Fans of the TON #cryptocurrency now have a new way to trade their favorite altcoin following its addition to the options trading markets on the popular exchange platforms BIT and Paradigm. The options are live on the platform today and will be available on the institution-focused liquidity network Paradigm later, the exchange said in a statement shared with CoinDesk. The options are launched in collaboration with liquidity provider Darley Technologies and blockchain industry market maker and TON-backer DWF Labs. "Joining the options market is a logical and important step for TON because, until now, the only coins available there were BTC and ETH. It means TON will take its place alongside crypto's most prestigious coins," said Andrei Grachev, Managing Partner at DWF Labs. Full read here: https://lnkd.in/g6zACNN7
Hashtags
@expeditionsworldwide · Post #52 · 12.08.2020 г., 04:30
📊Intermediate statistics for the experimental portfolio: Days elapsed since launch: 20; Purchased 18 coins: #BTC #XRP #REP #EOS #NEO #STRAT #BSTX #OGN #ETC #ICX #LTC #CELR #QTUM #DASH #BEAM #LTO; Already Invested (since launch): $200 Total profit (since launch): 7.02% 📊Detailed portfolio statistics - https://bit.ly/30GlvN2 ➕FIBONACCI $10 Experiment (#cryptocurrency)
Hashtags
@trumpsear_tg · Post #1448 · 02.09.2025 г., 13:59
Trump earned more in cryptocurrency in a day than in real estate in his entire life - The Wall Street Journal On September 1, the WLFI token, another cryptocurrency issued by the Trump family, began trading on exchanges. The price of the token on the first day of trading fell by more than a third from its peak value, but despite this, the Trump fortune increased by more than $5 billion per day. This is much more than the value of all the real estate owned by Trump. #Trump#cryptocurrency 👂More on Trump's Ear ⚠️
Hashtags
@tonlines · Post #7324 · 22.05.2025 г., 11:25
⚡️TON Community: Join the Ultimate TON NFT Gathering in Lisbon #TON#cryptocurrency TON Community announces an exclusive one-day event, TON of People, in Lisbon on June 5, 2025. The event will feature key figures from the TON blockchain and cryptocurrency communities, providing insights into NFTs and blockchain marketing. Attendees will also have access to additional events during the NFC Summit. Source: link @tonlines
Hashtags
@tonlines · Post #6753 · 14.04.2025 г., 12:08
⚡️xRocket News: Real-Time Crypto Rates and Referral System #Telegram#cryptocurrency xRocket News introduces a new @xrocket dash command in Telegram that provides instant cryptocurrency rates and changes within chats. Users can also benefit from a built-in referral system by typing @xrocket dash followed by desired tokens. The rates automatically update every 30 minutes in larger groups or channels. Source: link @tonlines
Hashtags
@Dwflabs · Post #167 · 20.01.2023 г., 07:40
BIT x DWF Labs Crypto Snapshot [13 Jan] 📰 Highlights: 🔸Shanghai Upgrade Well On Track With Latest Testnet Developments 🔸#Bitcoin Rebounds From Its Lows Back To $21,000 🔸Innovation And Sound Practices Are Key For #Cryptocurrency Integration Full read here.
Hashtags
@tonlines · Post #7055 · 05.05.2025 г., 16:22
Trending Apps: Discover TonTradingBot for Seamless Crypto Management #Cryptocurrency#Web3 Trending Apps highlights TonTradingBot, a comprehensive solution for crypto enthusiasts to manage trading operations directly within the chat. It offers features such as sniper mode, limit orders, and copy-trading, along with tools like Fast Swap and Honeypot Detection, promising secure and fast performance. Source: link @tonlines
Hashtags
@sudo_recast · Post #662 · 04.04.2023 г., 02:47
唉炒作狗 https://www.google.com/finance/quote/DOGE-USD?window=5D #twitter#cryptocurrency
Hashtags