@binarypartner · Post #13881 · 21.05.2024 г., 16:05
#Quotex Account Open Step by Step Full Video 🔥https://youtu.be/Ro9Y57pe5i4
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
Пребарај: #quotex
@binarypartner · Post #13881 · 21.05.2024 г., 16:05
#Quotex Account Open Step by Step Full Video 🔥https://youtu.be/Ro9Y57pe5i4
Hashtags
@binarypartner · Post #13847 · 06.09.2023 г., 19:00
#Quotex verification process https://youtu.be/LgUe0ghYXb4
Hashtags
@ss7trader · Post #30010 · 04.03.2026 г., 18:05
Yesterday Live Session 🚀 Best MT5 AI Trading Indicator 🤖 100% Non Repaint Binary Indicator #NonRepaintIndicator#PocketOption#Quotex
@ss7trader · Post #29991 · 03.03.2026 г., 15:08
Yesterday Live Session 🚀 Best MT5 AI Trading Indicator 🤖 100% Non Repaint Binary Indicator #NonRepaintIndicator#PocketOption#Quotex
@ss7trader · Post #29981 · 02.03.2026 г., 11:49
Yesterday Live Session 🚀 Best MT5 AI Trading Indicator 🤖 100% Non Repaint Binary Indicator #NonRepaintIndicator#PocketOption#Quotex
@ss7trader · Post #29933 · 25.02.2026 г., 12:14
Yesterday Live Session 🚀 Best MT5 AI Trading Indicator 🤖 100% Non Repaint Binary Indicator #NonRepaintIndicator#PocketOption#Quotex
@ss7trader · Post #29894 · 23.02.2026 г., 12:57
Yesterday Live Session 🚀 Best MT5 AI Trading Indicator 🤖 100% Non Repaint Binary Indicator #NonRepaintIndicator#PocketOption#Quotex
@ss7trader · Post #30790 · 11.05.2026 г., 16:18
⚙100% NON-REPAINT. 0% GUESSING.⚙ 👉Look at these clean entries from today's session with Pro Thunder V12. Once the signal appears, it STAYS. No shifting, no disappearing, just pure accuracy. 👉Neural Network Logic: Our AI scans thousands of data points to find the highest probability reversal. 📈Result: See the screenshots for the clinical precision. Stop losing money on lagging indicators. It’s time to upgrade to the V12 standard.👑 👇 GET YOUR COPY NOW 👇 👉CLICK TO GET V12 NOW! #MT5#Indicator#binaryindicator#pocketoption#quotex#бинарныеопционы#бинарныеопционы
@ss7trader · Post #30745 · 06.05.2026 г., 12:09
⚡️V12 STRIKES AGAIN! ⚡️ Another Perfect Signal on EUR/GBP. 👉 Neural Confirmed 👉 100% Non-Repaint 👉 Pure Profit Stop losing to lagging indicators. Join the ss7trader revolution today. 👑 👇GET ACCESS 👇 https://ss7trader.com/product/pro-thunder-v12/ #MT5#Indicator#binaryindicator#pocketoption#quotex#бинарныеопционы#бинарныеопционы
@ss7trader · Post #30693 · 29.04.2026 г., 14:49
⚡️V12 STRIKES AGAIN! ⚡️ Another Perfect Signal on GBP/JPY. 👉 Neural Confirmed 👉 100% Non-Repaint 👉 Pure Profit Stop losing to lagging indicators. Join the ss7trader revolution today. 👑 👇GET ACCESS 👇 https://ss7trader.com/product/pro-thunder-v12/ #MT5#Indicator#binaryindicator#pocketoption#quotex#бинарныеопционы#бинарныеопционы
@ss7trader · Post #30643 · 27.04.2026 г., 12:36
⚙100% NON-REPAINT. 0% GUESSING.⚙ 👉Look at these clean entries from today's session with Pro Thunder V12. Once the signal appears, it STAYS. No shifting, no disappearing, just pure accuracy. 👉Neural Network Logic: Our AI scans thousands of data points to find the highest probability reversal. 📈Result: See the screenshots for the clinical precision. Stop losing money on lagging indicators. It’s time to upgrade to the V12 standard.👑 👇 GET YOUR COPY NOW 👇 👉CLICK TO GET V12 NOW! #MT5#Indicator#binaryindicator#pocketoption#quotex#бинарныеопционы#бинарныеопционы
@ss7trader · Post #30610 · 24.04.2026 г., 12:05
⚙100% NON-REPAINT. 0% GUESSING.⚙ 👉Look at these clean entries from today's session with Pro Thunder V12. Once the signal appears, it STAYS. No shifting, no disappearing, just pure accuracy. 👉Neural Network Logic: Our AI scans thousands of data points to find the highest probability reversal. 📈Result: See the screenshots for the clinical precision. Stop losing money on lagging indicators. It’s time to upgrade to the V12 standard.👑 👇 GET YOUR COPY NOW 👇 👉CLICK TO GET V12 NOW! #MT5#Indicator#binaryindicator#pocketoption#quotex#бинарныеопционы#бинарныеопционы