🤩Разбираем полезные исходники!
Функция, возвращающая словарь с данными о панели задач.
screen : номер монитора
location : расположение на экране (внизу, слева и тд)
geometry : QRect с координатами таскбара
system_tray : доступен ли системный трей
🔸 Как может пригодиться?
Я использую для открытия виджета по клику на значке в трее с выравниванием по таскбару. Аналогично работает попап у Dropbox клиента.
🔸 Тестил на Windows10 и Debian10.
🔸 В комплекте проверочный виджет который при создании точно перекрывает таскбар. Проверка правильности определения геометрии таскбара. Закрывается по клику.
🔸 Ещё в комплекте пример окошка, которое появляется в районе часов над таскбаром.
🔸 Есть один баг. При перекрытии тасбара в Gnome (linux) виджет не получает событий от мыши.
Решения пока не нашел😕
Код забираем здесь ↗️
#source#qt
From Bush to Trump to Biden, US imperialism against Venezuela has remained a bipartisan affair. VA writer Andreína Chávez's column traces this continuity, from sanctions to coup efforts and beyond.
Read the full column here 👉🏼https://shorturl.at/B8Vdw
#DonaldTrump#sanctions#thesubversivetruth#vacolumn
📝OPINION | VA writer Andreína Chávez examines Venezuela's communes and grassroots democracy just in time for Sunday’s "National Popular Consultation."
“If you speak to a Venezuelan engaged in grassroots organizing, you’ll find that to them democracy is about much more than counting ballots or electing politicians, and they reject foreign meddling as a matter of principle. True democracy demands a deep commitment to democratizing a country’s political and economic system, ensuring that people have control over the structures and resources that shape their lives.”
🔗Read the full opinion piece here:https://shorturl.at/MPLV3
#demcoracy#grassrootsdemocracy#communes#elections#popularvote#fyp#TheSubversiveTruth