Опубликовал для вас один из своих учебных проектов моего курса про PySide2 — LaunchPanel.
Это панель, которая выезжает сверху экрана когда к ней подводишь курсор. Содержит кнопки для запуска любых команд.
🔸 можно добавить любые команды
🔸 одна кнопка может содержать много вариантов одной команды. Доступ к ним через контекстное меню
🔸 панель настраивается через файлы конфига
Но самое главное в этом проекте то, что почти каждая строка задокументирована!😱
Что используется в проекте?
🔸 стилизация виджетов через StyleSheet
🔸 настройка отображения окна как панели без рамок, заголовка и всего остального
🔸 использование файлов конфига
🔸 HTML текст в виджетах
🔸 анимация свойств виджета (позиция и прозрачность)
🔸 реакция виджета на курсор
🔸 запуск подпроцессов
🌎 Исходники забираем здесь
Смотрите, изучайте, пользуйтесь 😉
#qt#source
#showerthoughts
I've never thought about dark mode in LaTeX. It sounds weird at first, but now thinking about this, it's actually a great style.
This is a dark style from Dracula.
https://draculatheme.com/latex
#showerthoughts
As human beings, we read or hear about facts of something. These are our priors. Our belief is then updated based on observation of data, aka, likelihood. Some people abide by the priors, they are the prior-people, while others are more like likelihood-people and easily change their belief based on observations.
There is a third type. They combine priors and likelihood. Change belief based on likelihood is prone to biases in data. By combining priors and likelihood, they have a better chance of getting to the right conclusion.
People have better ideas in the shower because warm water raises dopamine, a brain chemical that boosts creativity. Showering distracts the mind, helping it stop stressing over problems and work on solutions quietly. Doing a simple, relaxing task like showering makes it easier for new ideas to pop up. 🧠🚿
[Read more]
@googlefactss#Creativity#Dopamine#ShowerThoughts#Brain#Ideas