@rusembsg · Post #3571 · 10.10.2024 г., 02:42
🛬 Russia’s Foreign Minister Sergey Lavrov arrives in Vientiane (Laos) to take part in the 19th East Asia Summit 🌏#EAS
Hashtags
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
Пребарај: #eas
@rusembsg · Post #3571 · 10.10.2024 г., 02:42
🛬 Russia’s Foreign Minister Sergey Lavrov arrives in Vientiane (Laos) to take part in the 19th East Asia Summit 🌏#EAS
Hashtags
@aseanrussia · Post #1908 · 19.10.2025 г., 10:28
🗓 On October 17, the Russian delegation comprising representatives from the Ministry of Energy and the Ministry of Foreign Affairs 🇷🇺 — took part in the 19th East Asia Summit (#EAS) Energy Ministers’ Meeting held in Kuala Lumpur 🇲🇾. 🔹️The discussions focused on enhancing regional energy connectivity and resilience, with participants exchanging views on practical cooperation, energy transition pathways, and cross-border investments in energy development.
Hashtags
@aseanrussia · Post #1885 · 26.09.2025 г., 03:56
🗓 On September 25, the delegation of the Ministry of Economic Development of the Russian Federation 🇷🇺 took part in the 13th East Asia Summit (#EAS) Economic Ministers’ Meeting in Kuala Lumpur, Malaysia 🇲🇾. 🔹️The Meeting underscored the importance of fostering closer economic cooperation between ASEAN and the EAS Participating Countries and highlighted the importance of engaging in constructive dialogue, open communication, and collaboration to address challenges. 🔹️Participants also discussed possible areas for cooperation to support efforts to drive robust economic growth in the region.
Hashtags
@rusconct · Post #1850 · 11.10.2024 г., 07:20
🇷🇺 Russia's Foreign Minister Sergey Lavrov takes part in the 19th East Asia Summit (#EAS) 📍Vientiane, October 11, 2024
Hashtags
@aseanrussia · Post #1847 · 10.09.2025 г., 04:59
🗓 On September 10, Russia's Alternate SOM Leader, Director-General of the Department of Asian and Pacific Cooperation of the Russian MFA Mr. Alexey Ovchinnikov🇷🇺 participated in the East Asia Summit Senior Officials' Meeting (#EAS SOM) in Port Dickson, Malaysia 🇲🇾. 🔹️Senior officials discussed issues related to preparation for the EAS Summit in October and joint efforts on strengthening tangible cooperation within the EAS. #EAS
Hashtags
@aseanrussia · Post #1777 · 11.07.2025 г., 04:56
📸 Russia's Foreign Minister Sergey Lavrov takes part in the 15th meeting of the Foreign Ministers of the countries participating in the East Asia Summit (#EAS) 📍 Kuala Lumpur, July 11
Hashtags
@aseanrussia · Post #1343 · 23.10.2024 г., 12:11
🎙 Excerpts from the Comment by Russia's Foreign Ministry Spokeswoman Maria Zakharova on the developments around the East Asia Summit (#EAS). https://telegra.ph/Comment-by-Russias-Foreign-Ministry-Spokeswoman-Maria-Zakharova-on-the-developments-around-the-East-Asia-Summit-10-23
Hashtags
@aseanrussia · Post #1308 · 18.10.2024 г., 09:02
Ambassador of Russia to ASEAN H.E. Mr. Evgeny Zagaynov 🇷🇺 💬 "Attempts to politicize the East Asia Summit (#EAS) agenda are detrimental to the regional cooperation". https://m.antaranews.com/berita/4400313/rusia-ada-upaya-masukkan-geopolitik-di-ktt-asia-timur?utm_source=antaranews&utm_medium=mobile&utm_campaign=latest_category
Hashtags
@aseanrussia · Post #1297 · 11.10.2024 г., 04:21
🇷🇺 Russia's Foreign Minister Sergey Lavrov takes part in the 19th East Asia Summit (#EAS) 📍Vientiane, October 11, 2024
Hashtags
@aseanrussia · Post #1283 · 10.10.2024 г., 03:24
🛬 Russia’s Foreign Minister Sergey Lavrov arrives in Vientiane (Laos) to take part in the 19th East Asia Summit 🌏#EAS
Hashtags
@aseanrussia · Post #1281 · 23.09.2024 г., 10:06
🗓 On September 21, the delegation of the Ministry of Economic Development of the Russian Federation 🇷🇺 took part in the 12th East Asia Summit (#EAS) Economic Ministers’ Meeting in Vientiane, Lao PDR 🇱🇦. 🔹️The Meeting exchanged views on the global and regional economic developments and discussed how EAS Participating Countries can take concerted actions to mitigate global economic challenges. 🔹️Participants also discussed possible areas for cooperation to support efforts to drive robust economic growth in the region.
Hashtags
@aseanrussia · Post #1235 · 23.08.2024 г., 03:16
🗓 On August 22, Russian delegation 🇷🇺 took part in the East Asia Summit Senior Officials' Meeting (#EAS SOM) in Luang Prabang, Lao PDR 🇱🇦. 🔹️Participants discussed the preparation for the upcoming 19th EAS Summit in October 2024 in Vientiane and exchanged views on the EAS agenda. 🇷🇺 Russian Ambassador to ASEAN H.E. Evgeny Zagaynov underlined Russia's unwavering support of the Lao PDR during its ASEAN Chairmanship and emphasized the need to further promote tangible cooperation within the EAS in particular in such areas as fight against infectious diseases and tourism.
Hashtags