🤩Разбираем полезные исходники!
Функция, возвращающая словарь с данными о панели задач.
screen : номер монитора
location : расположение на экране (внизу, слева и тд)
geometry : QRect с координатами таскбара
system_tray : доступен ли системный трей
🔸 Как может пригодиться?
Я использую для открытия виджета по клику на значке в трее с выравниванием по таскбару. Аналогично работает попап у Dropbox клиента.
🔸 Тестил на Windows10 и Debian10.
🔸 В комплекте проверочный виджет который при создании точно перекрывает таскбар. Проверка правильности определения геометрии таскбара. Закрывается по клику.
🔸 Ещё в комплекте пример окошка, которое появляется в районе часов над таскбаром.
🔸 Есть один баг. При перекрытии тасбара в Gnome (linux) виджет не получает событий от мыши.
Решения пока не нашел😕
Код забираем здесь ↗️
#source#qt
#topics
People who had their SSBs recently kindly drop down the lecturette topics and GD Topics so that we can utilise and post them for the benefit of all.
Also do mention the SSB board name and date.
👇
#topics
People who had their SSBs recently kindly drop down the lecturette topics and GD Topics so that we can utilise and post them for the benefit of all.
Also do mention the SSB board name and date.
👇
#topics
People who had their SSBs recently kindly drop down the lecturette topics and GD Topics so that we can utilise and post them for the benefit of all.
Also do mention the SSB board name and date.
👇
#essay#ielts#topics
Task 2.
It’s important for children to learn the difference between right and wrong at an early age. Punishment is necessary to help them learn this distinction. To what extent do you agree or disagree? What sort of punishments should parents and teachers be allowed to use to teach good behavior to children?