@cryptocurreniesbtc · Post #22119 · 11.11.2023 г., 12:14
#Altcoin season is arround the corner.
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #62 · 4 апр.
Когда разрабатываете свой GUI с помощью PyQt для какого-либо софта бывает необходимо позаимствовать цвета из текущего стиля интерфейса. Например, чтобы правильно раскрасить свои виджеты, подогнав их по цвету. Ведь бывает, что ваш GUI используется в разных софтах. Причём некоторые со светлой темой а другие с тёмной. По умолчанию стили наследуются, но если вы задаёте какую-либо раскраску для части виджета через свой styleSheet, то требуется ссылаться на цвета текущего стиля. Как это сделать? Как получить нужный цвет из палитры имеющегося стиля? Это достаточно просто, нужно использовать класс QPalette и его роли. Например, мне нужно достать цвет текста из одного виджета и применить его в другом как цвет фона (не важно зачем именно так, просто захотелось😊). Получаем палитру виджета и сразу достаём нужный цвет, указав его роль. from PySide2.QtGui import QPalette color = main_window.palette().color(QPalette.Text) теперь можем использовать этот цвет в стилях my_widget.setStyleSheet(f'background-color: {color.name()};') Готово, мы динамически переопределили дефолтный стиль используя текущий стиль окна! На самом деле есть запись покороче, в одну строку и без лишних переменных. Не очень-то по правилам CSS, но Qt это понимает. my_widget.setStyleSheet('background-color: palette(Text);') Этот способ не подходит если вам нужно как-то модифицировать цвет перед применением в своих стилях. В этом случае потребуется первый способ. Зато он прекрасно сработает в файле .qss, то есть не придётся в коде прописывать раскраску отдельных элементов через ссылки на палитру, всё красиво сохранится в отдельном файле .qss! QListView#my_widget::item:selected { background: palette(Midlight); } Про имеющиеся роли можно почитать здесь🌍 #qt#tricks
Пребарај: #altcoin
@cryptocurreniesbtc · Post #22119 · 11.11.2023 г., 12:14
#Altcoin season is arround the corner.
Hashtags
@CryptoAustralia · Post #14735 · 14.12.2023 г., 08:57
I think #Altcoin season is next. By Crypto Australia
Hashtags
@elfcryptovip · Post #11747 · 21.07.2025 г., 07:45
The #Altcoin Season Index is climbing rapidly, but only a handful of coins are seeing strong gains!
Hashtags
@michaelvandepoppeanalyst · Post #4797 · 09.09.2024 г., 18:29
The boring state is the period of accumulation before a new push happens. That’s the current state of the #Altcoin markets.
Hashtags
@michaelvandepoppeanalyst · Post #4780 · 07.09.2024 г., 08:12
The #Altcoin market capitalization valued in Bitcoin is at the highest level since the end of July. Good perspectives, and it's a pretty substantial breakout. Better times are ahead.
Hashtags
@michaelvandepoppeanalyst · Post #4768 · 05.09.2024 г., 16:43
The #Altcoin markets are reversing. I'm positioned into $OMNI (and under-water), but it's showing a: - Daily bullish divergence. - Reclaiming the level of early August. Expect to see a run of 2-3x in the coming 2-3 months against $BTC value --> the most important metric.
Hashtags
@michaelvandepoppeanalyst · Post #4694 · 31.08.2024 г., 15:48
The #Altcoin market capitalization, valued in Bitcoin, is still consolidating. We're in the middle of that bottoming process, but it's taking a long time. Expecting to see a significant run towards new highs once this starts to turn around.
Hashtags
@michaelvandepoppeanalyst · Post #4605 · 24.08.2024 г., 08:01
Valid falling wedge and bullish divergence on the #Altcoin market capitalization divided by Bitcoin. I think we’re in for a great final part of this year. https://x.com/CryptoMichNL/status/1827254521225162944?t=CykS0U09CC0XSGUvztSAHw&s=19
Hashtags
@michaelvandepoppeanalyst · Post #4510 · 17.08.2024 г., 13:41
The Others market capitalization, which is technically the #Altcoin market capitalization, is currently acting at the low of 'Disbelief'.
Hashtags
@michaelvandepoppeanalyst · Post #4451 · 11.08.2024 г., 15:38
The #Altcoin market capitalization is down 60% from the ATH, while Bitcoin is only down 15%. Lots of upside for altcoins still to come.
Hashtags
@michaelvandepoppeanalyst · Post #4379 · 03.08.2024 г., 13:00
The #Altcoin market capitalization is not showing anything massive, yet. Smaller altcoins have been collapsing. The bigger ones still stand, through which this can be seen as a relatively normal consolidation for the entire index. Reversals should come in the coming weeks.
Hashtags
@michaelvandepoppeanalyst · Post #4244 · 20.07.2024 г., 14:05
The total #Altcoin market capitalization has bottomed during the release of the Mt. Gox news. A strong upward bounce, but more importantly, a strong reversal since it tested a higher timeframe support. https://x.com/CryptoMichNL/status/1814661548193034620?t=tmCmHJhGfr0c38lQIfYUfg&s=19
Hashtags