@cryptobull_360 · Post #49304 · 14.04.2026 г., 14:36
#SILVER
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
Пребарај: #silver
@cryptobull_360 · Post #49304 · 14.04.2026 г., 14:36
#SILVER
Hashtags
@binancefuturesignal · Post #35745 · 07.02.2026 г., 14:45
✔️✔️#Silver can still make a new ATH
Hashtags
@btctradingclub · Post #26898 · 07.02.2026 г., 14:45
✔️✔️#Silver can still make a new ATH
Hashtags
@priceactionexpert · Post #8813 · 03.03.2026 г., 11:02
#silver
Hashtags
@wolfoftrading · Post #6029 · 13.03.2026 г., 19:28
Silver just dropped below $80! The largest on-chain#silver short, 0x007d, holds 148,359 xyz:SILVER ($11.88M) and is now up $2.23M.
Hashtags
@maninamerica · Post #3396 · 09.10.2025 г., 12:50
🚨#SILVER TOUCHES $50. 🚨#SILVER ABOUT TO CROSS THE RUBICON.
Hashtags
@free_signals · Post #9876 · 09.12.2025 г., 13:01
🔅SILVER Is Very Bearish! Sell!📉 - - - - - - - - Please, check our technical outlook for 📊SILVER. The price is testing a key resistance 5,871.4. Taking into consideration the current market trend & overbought RSI, chances will be high to see a bearish movement to the downside at least to 5,754.1 level. - - - - - - - - #freesignal#silver - - - - - - - - 🌐Free Copy Trading: Link 📲Join VIP via Bot:Link ❓Official Contact:@signalprovidercontact
Hashtags
@free_signals · Post #9826 · 30.11.2025 г., 14:25
🔅SILVER Will Move Higher! Long!📈 - - - - - - - Please, check our technical outlook for 📊SILVER. The market is trading around a solid horizontal structure 5,642.3. The above observations make me that the market will inevitably achieve 6,175.7 level. - - - - - - - - #freesignal#silver - - - - - - - - 🌐Free Copy Trading: Link 📲Join VIP via Bot:Link ❓Official Contact:@signalprovidercontact
Hashtags
@free_signals · Post #9796 · 26.11.2025 г., 14:04
🔅SILVER Will Grow! Long!📈 - - - - - - - Here is our detailed technical review for 📊SILVER. The market is testing a major horizontal structure 5,240.5. Taking into consideration the structure & trend analysis, I believe that the market will reach 5,614.1 level soon. - - - - - - - - #freesignal#silver - - - - - - - - 🌐Free Copy Trading: Link 📲Join VIP via Bot:Link ❓Official Contact:@signalprovidercontact
Hashtags
@priceactionexpert · Post #8861 · 23.03.2026 г., 11:27
https://x.com/priceactiongann/status/2036042034608509042?s=20 #silver Silver one of the major prices encoded holds 63.00 to 62.00 intermarket cycles can range in between and if price further breaks down only will take it down deeper #gold one market cycle is one way and finding cycles in both and relating them can give further confirmations 1.speed is very fast and volatile in one direction almost risk is on sentiment 2. gold also reaches 4090 and 4320 which coincides with silver 63 which is 9x7 3.both bounces and forms low which gives further delay on this current sell trend 4.more downsides should break this low further and gold current low near 4090 5.when end of intermediate cycles it forms such levels and we use them and combine to deduce more than what to do and what not to do 6. in this case what should not be done is clear as one part is done, we cannot keep looking for further down unless low is broken again 7.knoweldge with proper understanding of cycles is key to all when in slight doubt in one direction i avoid and be cautious Always study and confirm it never trade on hope and fear when not clear avoid and study further there is opportunity always save your capital is your first rule.
@priceactionexpert · Post #8853 · 19.03.2026 г., 14:28
#gold Massive drop can happen! Gold dropped and broken 4631 and went down and again comes back to retest So there would be a high and massive drop can come from here if this level holds #silver retest should be at 69.5 which is current price both Drop can take to 63 to 64 if this high holds Watch out here ! Just follow the intensity until the price goes up as within the above region of 4675. https://x.com/priceactiongann/status/2034636669102735711?s=20
@priceactionexpert · Post #8841 · 13.03.2026 г., 15:49
https://x.com/priceactiongann/status/2032484028490948913?s=20 #Gold Gold from 5225 top cycle it's been anchored to drop from there dropping nicely so far next drop was hinted at 5120 and it's where exactly it formed high and retest also accurate to the point there only 5121.00 drops on top to 5080 and next 5050 done with slight bounce confirming the levels breaking further lows next can to 5000 and 4949 only use studies and analysis and combine with yours use multiple confluences side by side and combine with silver cycle #silver levels are key, use that too and check both instruments where the levels meet and use those for our advantage always Its all-pure maths and geometry only! Do share and repost max so many can benefit. thanks.