В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны.
Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2.
Например, в PyQt4 и PySide есть метод
QHeaderView.setResizeMode
Для PyQt5 и PySide2 они были благополучно переименованы в
QHeaderView.setSectionResizeMode
Чтобы применить этот метод следует использовать такой код
from Qt import QtCompath
header = self.horizontalHeader()
QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed)
Унификация загрузки UI файлов:
# PySide2
from PySide2.QtUiTools import QUiLoader
loader = QUiLoader()
widget = loader.load(ui_file)
# PyQt5
from PyQt5 import uic
widget = uic.loadUi(ui_file)
# Qt.py
from Qt import QtCompat
widget = QtCompat.loadUi(ui_file)
Хорошо что таких моментов не много и их легко запомнить.
Полный список можно посмотреть в таблице.
#qt#tricks
#Ombudsman va Talaba-qizlar
🌟🌟🌟🌟🌟
Joriy yilning 5-7-dekabrida TDYU Ombudsmani y.f.d., professor Tolaganova Gulchexra Zaxitovna hamda Jinoiy odil sudlov fakulteti dekan maslahatchisi Qodirova Mohigul Xamitovna tomonidan davra suhbatlari tashkil etildi.
👥 Mazkur tadbirda mamlakatimizning asosiy qonuni, qomusimiz bo’lgan Konstitutsiya inson huquq va erkinliklari, qonuniy manfaatlarining garovi ekanligi alohida e’tirof etildi.
📝 Ushbu davra suhbatlari:
🔘Jaholatga qarshi ma’rifat
🔘Inson huquqlari umumjahon Deklaratsiyasi
🔘Talaba-qizlar huquqlarini himoya qilishda TDYU Ombudsmanining o’rni kabi masalalar muhokama qilindi va ta’lim sohasida ayollarga berilayotgan imtiyozlar ham ta’kidlandi.
📝 Targ’ibotlar so’ngida talaba-qizlar o’rtasida viktorina o’tkazilib, g’oliblar munosib taqdirlandi.
#Ombudsman
📣Xabaringiz bor TDYUda talabalar hamda xodimlar huquqlari bo‘yicha vakil Ombudsman faoliyati yo‘lga qo‘yilgan.
📝Ombudsman talabalar va xodimlar huquqlarini himoya qilishda quyidagi vazifalarni amalga oshiradi:
1️⃣talabalar va xodimlarning buzilgan huquqlarini tiklashga ko‘maklashish;
2️⃣talabalar va xodimlarning huquqlari va qonuniy manfaatlarini himoya qilish, ularga rioya qilinishini nazorat qilish;
3️⃣universitet jamoasi o‘rtasida inson huquqlari, erkinliklari va qonuniy manfaatlari masalalari bo‘yicha huquqiy ong va huquqiy madaniyatni oshirishga ko‘maklashish;
4️⃣xodimlar, talabalar hamda ular qonuniy vakillarining inson huquqlari va qonuniy manfaatlari buzilishi to‘g‘risidagi murojaatlarni ko‘rib chiqish orqali ularning huquqlari, erkinliklari va qonuniy manfaatlarini himoya qilish kafolatlarini ta'minlash va boshqalar.
❗️Siz o‘zingizning buzilgan huquqlaringizni himoya qilish maqsadida universitet Ombudsmani @gulizaxitovna ga murojaat qilishingiz mumkin.
Ethiopia’s Ombudsman Says 83 Percent Of Administrative Abuse Cases Are On Gov’t Institution. Read.
https://borkena.com/2025/11/19/ethiopias-ombudsman-says-83-percent-of-administrative-abuse-cases-are-on-govt-institution/#Ethiopia#News#Ombudsman
#ombudsman
#Инсон_ҳуқуқи_амалда
Бугун Қонунчилик палатасида бўлиб ўтган навбатдаги ялпи мажлисда Ўзбекистон Республикаси Олий Мажлисининг Инсон ҳуқуқлари бўйича вакили(омбудсман)нинг 2024 йилдаги фаолияти тўғрисида маърузани кўриб чиқдик.
Маърузадаги таҳлилий маълумотлардан кўриб турганимиздек, мамлакатимизда инсон ҳуқуқлари, эркинликлари ва қонуний манфаатларини таъминлашда парламент қошидаги Омбудсман институтининг ўрни ва роли тобора ошиб борган. Буни Омбудсманга келиб тушаётган мурожаатларнинг сонидаги динамикадан ҳам кўрсак бўлади.
Хусусан, Омбудсман номига келиб тушган мурожаатлар 2024 йилда 23422 тани ташкил этгани, яъни 2023 йилга нисбатан 4800 тага кўпайгани одамларимизнинг мазкур институтга нисбатан ишончи мустаҳкамланиб бораётганидан далолатдир.
Яна бир масала депутатларимизнинг эътирофига сабаб бўлди. Омбудсман мутахассислари нафақат келиб тушган мурожаатларни ўрганиш билан, балки ижтимоий тармоқларда қизғин муҳокама қилинган ахборотларга ҳам ўз вақтида муносабат билдиргани, ушбу ҳолатлар бўйича тегишли ташкилотларга талабномалар юборгани диққат марказимизда бўлди.
Шунингдек, омбудсманнинг хориждаги ватандошларимиз ҳолидан хабар олиш ва уларнинг муаммоларини ҳал қилишдаги фаолиятини ҳам эътироф этиш лозим, деб ҳисоблаймиз.
Мурожаатларнинг келиб тушиш воситасига эътибор берадиган бўлсак, уларнинг қарийб 80 фоизи замонавий ахборот коммуникация алоқа воситалари, яъни www.murojaat.gov.uz интернет портали, почта алоқаси, Президентнинг виртуал қабулхонаси, Омбудсман мобиль иловаси ёки ишонч телефонлари орқали юборилган. Қолган 20 фоизи сайёр қабул ва шахсий қабуллар давомида келиб тушган.
Бу рақамларга алоҳида тўхталишимизнинг сабаби бор. Партиямиз доимо фуқароларга хизмат кўрсатиш ва улар билан яқиндан алоқа ўрнатишда илғор информацион технологиялардан, яъни интернет, почта, телефон ва мобиль иловалардан унумли фойдаланиш кераклигини таъкидлаб келади.
Ялпи мажлисда ушбу ғоямиз қанчалик асосли эканлиги Омбудсман фаолиятида ҳам яққол сезилиб тургани бўйича фикримизни билдирдик.
Хулоса қилиб айтганда, депутатлик корпуси вакиллари Бош қомусимизда белгиланган ваколатлардан унумли фойдалана олган Омбудсман институти билан яқиндан ҳамкорлик ўрнатишдан доимо манфаатдор. Зотан, қонунчиликка риоя этилиши устидан таъсирчан парламент назоратини амалга ошириш, миллий қонунчиликни такомиллаштириш ҳамда фуқароларнинг ҳуқуқий онги ва ҳуқуқий маданиятини юксалтириш борасида биргаликда қиладиган ишларимиз кўп.
Робахон МАХМУДОВА
⚡️Венецианская комиссия позитивно оценила проходящие в Казахстане преобразования
16-17 декабря в городе Венеция (Италия) состоялась 133-я пленарная сессия Европейской комиссии за демократию через право Совета Европы (Венецианская комиссия), в работе которой приняла участие казахстанская делегация в составе члена Венецианской комиссии от Казахстана, президента её Подкомиссии по институту омбудсмена, председателя Комиссии по правам человека при президенте Республики Казахстан Игоря Рогова, первого секретаря Посольства Казахстана в Итальянской Республике Бауржана Хасенова.
В работе сессии приняли участие руководство Совета Европы, Европейского Союза, ОБСЕ, Венецианской комиссии, руководители и члены парламентов, судов и органов конституционной юстиции зарубежных стран.
Основная часть сессии была посвящена вопросам принятия заключений Комиссии по законодательным актам отдельных государств (Армении, Грузии, Румынии, Сербии, Украины и др.)
На пленарной сессии Венецианской комиссией с удовлетворением было отмечено, что казахстанским Парламентом при принятии Конституционного закона «Об Уполномоченном по правам человека в Республике Казахстан» была учтена значительная часть рекомендаций, содержащихся в принятом ранее по проекту данного Конституционного закона заключении Комиссии.
Состоялись двусторонние рабочие встречи с руководителями Венецианской комиссии и представителями ряда государств.
Игорь Рогов обсудил с руководителями Венецианской комиссии вопросы сотрудничества Казахстана и Комиссии в сфере утверждения принципов верховенства права.
Руководство Венецианской комиссии позитивно отнеслось к проходящим в Казахстане преобразованиям и выразило готовность оказывать при необходимости экспертную помощь.
Венецианская комиссия является консультативным органом по конституционному праву при Совете Европы, задачами которого являются анализ законов и их проектов, затрагивающих проблемы конституционного права и защиты прав человека. Казахстан является членом Венецианской комиссии с 2012 года.
🔗https://kazpravda.kz/n/venetsianskaya-komissiya-pozitivno-otsenila-prohodyashchie-v-kazahstane-preobrazovaniya/
#Ombudsman#ПраваЧеловека
📌В Казахстане упростят процедуры организации забастовок
Мажилис на пленарном заседании одобрил в первом чтении поправки по упрощению порядка разрешения трудовых споров и конфликтов.
Законопроект упростить процедуры организации переговоров, усилить институт согласительных комиссий и трудового арбитража, усилить роль профессиональных союзов в решении трудовых споров.
По данным депутатов, с начала года в стране растет количество митингов и забастовок лежащих в плоскости трудовых отношений. Большая часть инцидентов происходит, минуя этап переговоров.
Так, законопроектом закрепляется обязанность работодателя предоставлять помещение для собраний. Их организация станет проще и доступней, а решение о проведении забастовки можно будет принимать не двумя третями, а простым большинством, при этом также сокращается кворум конференции.
Вводится понятие «часовая предупредительная забастовка», которая может быть проведена в период арбитража и показывает серьезность намерений коллектива.
#Ombudsman#ПраваЧеловека
🔹Ombudsman's Office strengthens cooperation in the field of protection of human rights and freedoms
International conference "Interaction and cooperation in the field of reliable protection of human rights and freedoms" was held in Samarkand to mark the 28th anniversary of Ombudsman Institution of the Oliy Majlis. The conference was organized in cooperation with the Organization for Security and Cooperation in Europe (OSCE) Project Coordinator in Uzbekistan, the Legal Reform Program of the United States Agency for International Development (USAID).
The main purpose of the event is to exchange experience with Ombudsmen of foreign countries, national institutions, competent state bodies and international organizations in ensuring human rights and freedoms, strengthening cooperation in the field of labor migration.
The conference is designed to unite forces, develop new mechanisms and models to counterbalance the problems in the sphere of human rights.
The Kazakhstan Office of the Commissioner for Human Rights is represented by Mr. A.S. Umarov, Acting Head of the National Center for Human Rights.
Representatives of human rights institutions and diplomatic corps from about 20 foreign countries took part in the conference.
During working sessions of the conference topical aspects of protection of rights of women and youth, disabled people and detainees in penitentiary institutions were discussed, as well as issues of mutual cooperation of the Ombudsman with governmental bodies and representatives of civil society.
As Mr. Umarov noted in an interview to the Uzbek media: «One of the effective approaches in implementing the mission of ombudsmen is a functioning on a permanent basis of regional representatives. This makes it possible to promptly ensure the protection of human rights. At the same time, the interaction with governments in resolving human rights protection problems provides synergy in achieving the ombudsmen's goals».
#Ombudsman#HumanRights
🔹 The Office of the Ombudsman intends to obtain the accreditation status «A» in the GANHRI system
The Office of the Ombudsman is working on getting accreditation status «A» in the Global Alliance of National Human Rights Institutions (GANHRI) that is full compliance with the Paris Principles which outline the status of national institutions for human rights promotion and protection.
According to the Paris Principles national institutions are classified as Level C compliant (non-compliant), «B» partially compliant, and «A» fully compliant. Currently, the Office of the Ombudsman of Kazakhstan has been given accreditation status «B».
The Commissioner for Human Rights Artur Lastayev played an important role in the process of obtaining «A» accreditation status by participating in the annual seminar of the Asia-Pacific Forum (APF) held in Bangkok, Thailand. The event aimed to establish partnerships between the national human rights institutions of APF member states, including support to be accredited in the GANHRI.
The current constitutional modernization in Kazakhstan in accordance with international standards provides an opportunity to prepare for the highest accreditation status. This includes strengthening the Commissioner for Human Rights' role, status, independence and guarantee of immunity as well as expanding the regional network of Ombudsman representatives.
During the forum, ATF representatives agreed to visit Kazakhstan in order to conduct a preliminary assessment of the National Human Rights Institute and provide advisory support for more effective preparation for upcoming accreditation.
#Ombudsman#HumanRights
❗️A gap in national legislation shall not threaten foreigners with expulsion from the country
The Office of the Commissioner for Human Rights analyzed compliance with international obligations regarding the international principle of «non-refoulement».
Kazakhstan has joined the conventions on the status of refugees and against torture in different years.
These international treaties prohibit the expulsion, return or extradition of foreigners and stateless persons to countries where they are at risk of torture or danger on the grounds of their race, religion, political beliefs, etc. In international law, this prohibition has been called the principle of «non-refoulement».
In domestic legislation, this principle is implemented only in the Criminal Procedure Code, which prohibits the extradition of persons who may be subjected to the above threats.
However, foreigners or stateless persons can still be expelled from the State as punishments for committing criminal or administrative offenses, as well as by decisions of civil courts.
Therefore, the Ombudsman sent recommendations to the Ministry of Justice on amendments to the Criminal Code, the Administrative Code, the CPC and the Law «On the Legal Status of Foreigners» in order to harmonize national legislation with international obligations.
The Ministry of Justice has supported this initiative and will make the proposed amendments during the legislative work.
Taking into account that article 4 of the Constitution establishes the priority of ratified international treaties over the legislation of Kazakhstan, proposals have also been sent to the Prosecutor General's Office on compliance with the principle of «non-refoulement» before making the noted changes.
The Prosecutor General's Office also agreed with this.
It is important to note that the principle in question does not prohibit expulsion from Kazakhstan. It is only a question of prohibiting the expulsion of a person only to a state where he or she may face unjust persecution, that is, forcible removal to a "third" safe country is permitted.
#Ombudsman#HumanRights
🇰🇿🤝🇺🇸 Ombudsman's Office and USAID strengthen partnership in countering human trafficking
Deputy Head of the National Center for Human Rights Alua Nadirkulova met with the head of the USAID project «Safe Migration in Central Asia» Eleanor Valentine.
The sides discussed ways to promote safe and legal migration in the region, as well as a number of other topical issues on the migration agenda.
The representative of the Ombudsman's office informed the interlocutor about the situation in the field of human trafficking in the country and the work carried out by state bodies within the framework of a special Action Plan for the prevention and combating crimes related to human trafficking for 2021-2023.
Nadirkulova also noted innovations in the draft law «On combating human trafficking in the Republic of Kazakhstan», which the government plans to submit to the Majilis of the country's Parliament in the near future.
Ms. Valentine confirmed the project's commitment to promoting safe migration in Central Asia and expressed readiness to strengthen cooperation with the National Human Rights Institute to exchange experiences, achievements and best practices in the field of protecting the rights of migrants and victims of human trafficking.
Following the meeting, the parties expressed their readiness to continue mutually beneficial contacts.
#Ombudsman#HumanRights
⚖️ Revision of the state fee as a factor of access to justice
The representative of the Ombudsman office Umarov A. acted in the Constitutional court as the participant of constitutional proceedings on the appeal of the citizen E.Dosmagambetov on conformity to the Basic Law (point 2 of article 13 and article 14), provisions of the Code "About taxes and other obligatory payments to the budget" (point 1) and point 2 of article 610), which provide the state fee for appealing to the Supreme Court.
Thus, gr. Dosmagambetov E.N. points to the fact that, due to his property status, he cannot file a petition for review of judicial acts in cassation because the contested norms of the Tax Code for preliminary consideration establish an unaffordable amount of state duty, which hinders his constitutional right to access to justice.
Having analysed the national legislation, the package of international treaties of the Republic of Kazakhstan and the relevant international practice, the representative of the Ombudsman pointed to the equality of all before the law, excluding discrimination.
However, in the case at hand, the reason for challenging Dosmagambetov E. is not the fact of payment of state duty established by law, but the fact of its exceptionally high amount, in this case - about two million tenge, the payment of which is unaffordable for him.
As A. Umarov noted, assessment of the amount of state duty depending on the financial situation of the payer is subjective.
At the end of his speech the representative of Ombudsman suggested to determine a fixed size of state fee not conditioned by the amount of claim and its percentage ranking or review its ceiling amount excluding possibility to become a barrier for realization of constitutional rights.
"Taking into account the above stated, we consider that the current wording of subparagraph 1) of paragraph 1 and paragraph 2 of Article 610 of the Tax Code in some cases without taking into account the financial position of payers can be an obstacle for realization of constitutional rights to equality and judicial protection", - summarized the representative of the Office of the Human Rights Commissioner Umarov A.S.
#Ombudsman#HumanRights
🔷 Human rights in the domestic business environment were discussed at the UNDP site
Deputy of the National Center for Human Rights Alua Nadirkulova participated in a workshop on the implementation of the guiding principles of entrepreneurship in the aspect of human rights within the framework of the project «Business and human rights» in Kazakhstan.
The event, organized by the UNDP office in the capital, was also attended by representatives of interested state bodies, international organizations, the non-governmental sector and public associations of a human rights orientation.
The representative of the Ombudsman's office informed the participants about the constitutional reform being carried out in Kazakhstan, within the framework of which the constitutional laws «On the Commissioner for Human Rights» and «On the Constitutional Court» were adopted, defining new opportunities for citizens to restore violated rights and prevent such violations. She also presented to the participants an information and analytical review on the considered appeals of citizens, including those received from representatives of small and medium-sized businesses.
In conclusion, the parties reached an understanding on the need to create a working group in support of the National Baseline Assessment in Entrepreneurship. The evaluation procedure is a prerequisite for the further development of a country action plan on human rights in business, aimed at creating a responsible business environment.
#Ombudsman#HumanRights