🤩Разбираем полезные исходники!
Функция, возвращающая словарь с данными о панели задач.
screen : номер монитора
location : расположение на экране (внизу, слева и тд)
geometry : QRect с координатами таскбара
system_tray : доступен ли системный трей
🔸 Как может пригодиться?
Я использую для открытия виджета по клику на значке в трее с выравниванием по таскбару. Аналогично работает попап у Dropbox клиента.
🔸 Тестил на Windows10 и Debian10.
🔸 В комплекте проверочный виджет который при создании точно перекрывает таскбар. Проверка правильности определения геометрии таскбара. Закрывается по клику.
🔸 Ещё в комплекте пример окошка, которое появляется в районе часов над таскбаром.
🔸 Есть один баг. При перекрытии тасбара в Gnome (linux) виджет не получает событий от мыши.
Решения пока не нашел😕
Код забираем здесь ↗️
#source#qt
@RusEmbMalta:
🇷🇺Commentary by the Russian Ambassador to Malta Andrey Lopukhov on the "Times of Malta" editorial “A Far More Complex Reality” (published on 29 September 2025 in Times of Malta).
🔗 Read in full here.
🔹 The Minsk Agreements were designed to resolve the issues of Russian-speakers through autonomy within Ukraine. Their failure resulted from Kiev and its Western guarantors refusing to implement them.
🔹 Russian-speaking citizens in Ukraine faced systemic pressure: language and media bans, party closures, and discrimination against the canonical Orthodox Church.
🔹 NATO’s eastward expansion was among the key drivers of the Ukranian crisis and a real strategic risk for Russia’s security.
🔹 Russia is a nation with immense strategic potential, a resilient economy, and a proven efficiency Army. Any plans to “defeat” it are doomed to fail.
🔹 Europe’s future lies either in continuing self-deception and escalation, or in recognizing reality and seeking a genuine balance of interests.
#UkrainianCrisis#RussiaMalta
@RusEmbMalta:
Interview with the Russian Ambassador to Malta Andrey Lopukhov by Shawn Borg.
🔗https://shorturl.at/msGWY
#russiamalta
#russiawest
#RussiaUkraine
@RusEmbMalta:
🇷🇺 Comment by the Russian Ambassador to Malta, Andrey Lopukhov on the article by Edward Zammit Lewis, Chairperson of the Foreign and European Affairs Parliamentary Standing Committee, Malta, published in Times of Malta.
Key points:
🔹 Any “tribunals” or “funds” without UN Security Council mandate are legally null and void.
🔹 Malta’s neutrality cannot mean one-sided support for Ukraine alone.
🔹 Root causes of the crisis: Kiev’s refusal to implement the Minsk agreements, discrimination of Russian speakers, and NATO’s expansionist course.
🔹 Ignoring Kiev’s violations is not neutrality, but bias.
🔹 Confiscation of Russian assets in Europe = violation of the principle of property inviolability.
🔹 History shows: pressure and force against Russia have never worked.
👉 Full text: read
#RussiaMalta#RussiaEU#UkraineCrisis#InternationalLaw