TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

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

Hashtags

Резултати

Пронајдени 1,491 слични објави

Пребарај: #apk

当前筛选 #apk清除筛选
MUJER🏆EXITOSA

@mujerexitosa · Post #3628 · 01.09.2020 г., 14:04

Si te consideras novata en el mundo de las infografías, te presento una #apk que se ajusta a tus necesidades principales. Canva: Graphic Design, Video Collage, Logo Maker by Canva Versión: 2.76.0(12137) Actualizada: Agosto 25, 2020 Tamaño: 33.61MB ‼️EMPIEZA DESDE YA‼️ ❣Recomendado por: Mujer🏆Exitosa

Hashtags

Libreware

@libreware · Post #1182 · 19.09.2023 г., 04:51

. Obtainium is available via IzzyOnDroid or GitHub and let's you search for apps directly, or you can enter a URL to an app's project, where it grabs the latest APK, and installs it. Then it will check periodically for updates & install those as soon as they pop up. It is the fastest way to get the latest version of an app, & completely bypasses all the app stores. This can be good or bad. Good because you get apps you can't get anywhere else, and the latest versions sooner. Bad because you don't have anyone verifying the safeness of the file. FFUpdater does the same with web browsers and OrBot. If you use Obtainium for other apps, you can use it for your browsers as well, and get rid of FFUpdater to free up resources. Obtainium supports many App sources, including but not limited to: - GitHub - GitLab - IzzyOnDroid - F-Droid - APKPure - APKMirror Obtainium is in pre-release, & isn't the most user friendly app, so it may take a while to learn. Don't give up! ⚡️https://t.me/LinuxTechIndex/738 #apk

Hashtags

【软件名称】File Converter 万能文件转换器v12.2.6高级版 【软件支持】安卓 【软件大小】27.38M 【支持语言】简体中文 【软件简介】文件转换器将在几乎所有文件格式之间转换,同时节省您的时间和电池。使用我们的文件转换应用程序从2000 多种源格式转换音频、电子书、视频、3D 模型、文档、演示文稿、CAD 绘图、图像、LaTeX、字体、电子表格、Gerber PCB 甚至元数据!File Converter 应用程序在云中转换文件,因此不会浪费您的电池,您可以继续使用您的设备,并且您的转换速度会快得多。 #APK

Hashtags

Libreware

@libreware · Post #1435 · 16.03.2025 г., 17:05

Obtainium Get #Android App Updates Directly From the Source. Tired of waiting for updates in the Play Store? Obtainium lets you install and update Android apps directly from their source (like GitHub release pages) and notifies you about new releases. Cut out the middleman and stay up-to-date! Key Features: * Direct Updates: Install and update apps directly from release pages. * Notifications: Get notified when new versions of your apps are available. * Open Source: Built by the community, for the community. Learn More: * Video Tutorial:Obtainium 101 * README:GitHub * Wiki:obtainium.imranr.dev Recommended Tools: * AppVerifier:GitHub - Verify app authenticity. Community Resources: * Crowdsourced App Configs:apps.obtainium.imranr.dev Why Use Obtainium? See the original motivation: Side Of Burritos - You should use this instead of F-Droid | How to use app RSS feed Project Links: * Website:obtainium.imranr.dev * Source Code:GitHub #apk

Hashtags

APP喵-软件资源共享

@appmew · Post #14934 · 26.10.2025 г., 06:18

安卓软件APK安装包arm64-v8a、armeabi-v7a、x86、x86-64有何区别?如何选择? 一篇文章给你讲明白 🏷标签:#APK#安卓#教程 ☁链接:点击获取 ⭐频道😮群聊✏投稿🌍中文

123•••100•••124125
ПретходнаСтраница 1 од 125Следна