@scorpionx_co · Post #1192 · 11.01.2025 г., 12:55
📇 10 بلاک چین برتر از نظر درآمد در سال 2024. #Blockchain @ScorpionX_Co
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
Пребарај: #blockchain
@scorpionx_co · Post #1192 · 11.01.2025 г., 12:55
📇 10 بلاک چین برتر از نظر درآمد در سال 2024. #Blockchain @ScorpionX_Co
Hashtags
@producTICvidad · Post #537 · 05.09.2021 г., 13:12
Algo de #blockchain para empezar el día 👇🏽👇🏽 El estratega senior de Bloomberg llama a Bitcoin un activo de reserva global en camino a los USD 100,000 Tras una corrección masiva, los activos digitales liderados por Bitcoin y Ethereum están en camino de alcanzar nuevos picos, según un nuevo informe de Bloomberg https://ct.com/9wwt
Hashtags
@djangoproject · Post #502 · 14.11.2017 г., 17:02
https://medium.freecodecamp.org/from-what-is-blockchain-to-building-a-blockchain-within-an-hour-4e738efc819d From “What is Blockchain?” to building a #blockchain in less than an hour.
Hashtags
@immunefi · Post #467 · 21.06.2022 г., 18:37
If you still haven’t read our ultimate guide to hacking #Blockchain, now is the perfect time to do it 🤓 Let us know what you think 💭 https://medium.com/immunefi/hacking-the-blockchain-an-ultimate-guide-4f34b33c6e8b
Hashtags
@producTICvidad · Post #333 · 25.02.2021 г., 19:42
Para qué sirve #blockchain? En el 2020 se han presentado importantes noticias en la implementación de proyectos blockchain. Uno de los pilotos más importantes para el Foro Económico Mundial (WEF en inglés) tienen como protagonista a Colombia, en donde ya menciona los proyectos específicos para la gestión del Programa de Alimentación Escolar - PAE, en el marco de la iniciativa liderada por la Procuraduría General de la Nación, en asocio con el Centro de la Cuarta Revolución Industrial de Colombia y otros actores. Este proyecto busca mitigar la corrupción en dicho programa ofreciendo transparencia en los procesos, cuidando así los recursos públicos y el bienestar de los beneficiarios.
Hashtags
@Dwflabs · Post #32 · 15.09.2022 г., 11:06
DWF Labs is pleased to announce our strategic secondary market investment into Conflux. (https://twitter.com/Conflux_Network) Conflux is the only regulatory-compliant permissionless Layer 1 blockchain in China. The #blockchain helps to connect decentralized economies across borders and protocols. Conflux provides a fast, secure, and scalable blockchain environment through the Tree-Graph consensus algorithm. This unique consensus algorithm enables parallel processing of blocks and transactions to make the blockchain fast, secure, and scalable with low transaction fees.
Hashtags
@venomfoundationofficial · Post #30 · 21.02.2023 г., 14:02
Venom is happy to announce its partnership with Hacken. Venom & Hacken will join forces to increase the security around blockchain adoption. Together, we will work towards a safer and more accessible #blockchain ecosystem for everyone.
Hashtags
@repo_science · Post #3234 · 27.05.2023 г., 18:47
#python#blockchain 💰 Learn about Python and Blockchain: The Complete Guide! Blockchain technology explained. Cryptocurrency, cryptography, transactions & programming in the best Blockchain course 🗣️: Mammoth Interactive, John Bura 🔗Link ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----
Hashtags
@tonlines · Post #7615 · 25.11.2025 г., 13:30
⚡️The Daily TON: Challenges Facing the TON Ecosystem #TON#blockchain The Daily TON highlights the closure of the SettleTON project as part of a trend of non-profitable projects within the TON ecosystem. While lesser-known projects are closing, the core functionalities remain intact. However, the situation signals an urgent need for changes to prevent further losses. Source: link @tonlines
Hashtags
@tonlines · Post #7534 · 19.11.2025 г., 14:56
⚡️Toncoin Unveils New Documentation #TON#blockchain Toncoin has launched a completely revamped documentation site incorporating community feedback. The update includes AI assistance, simplified navigation, and comprehensive guides for various tools and concepts related to TON. Source: link @tonlines
Hashtags
@tonlines · Post #7305 · 21.05.2025 г., 09:04
Hipo Highlights: Understanding Blockchain Nodes #blockchain#TON Hipo explains the fundamental role of nodes in blockchains like TON and Bitcoin. Nodes are crucial for maintaining decentralization and security by storing and syncing data globally. Source: link @tonlines
Hashtags
@tonlines · Post #7301 · 20.05.2025 г., 15:37
The Daily TON: Why Technical Knowledge of TON Matters #TON#blockchain The Daily TON highlights the importance of understanding technical aspects of the TON blockchain even for regular users. Knowledge of elements like collators and technical underpinnings helps users avoid potential pitfalls and make informed decisions, underpinning their participation in the ecosystem's growth. Source: link @tonlines
Hashtags