TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #175 · 30 окт.

В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль 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

Hashtags

Резултати

Пронајдени 143 слични објави

Пребарај: #somonair

当前筛选 #somonair清除筛选
Somon Air

@somonair · Post #771 · 01.11.2024 г., 11:31

As part of the strategy to improve the level of passenger service, Somon Air launched a program to update passenger seats in its aircraft. As part of the program, we will replace outdated seats with new ones. The Elesa economy class seat model manufactured by TCI (Türkiye) was chosen as the new seats. The presentation of the seats was successfully held earlier in Dushanbe at the International Tourism Exhibition DITE-2024 and received good reviews. The comfortable seats have a Bi-fold back mounted tray table, literature pockets, and a coat hook. The seats are equipped with a mechanically controlled recline mechanism and an armrest. Gadget lovers will love the new feature of the seats - they have a stand for personal electronic devices integrated into the table, on which passengers can place a mobile phone or tablet for working or viewing content during the flight. The new seat design with the company logo imprinted on the backrest reflects the evolution of onboard branding. #somonair

Hashtags

Somon Air

@somonair · Post #693 · 09.07.2024 г., 09:28

Somon Air flight attendants Farrukh Mavlyanov and Shoira Mullojonova took part in Seminar on Civil Aviation Flight Attendants for the “Belt and Road” Countries which took place in Hainan (China). Participants from around the world were taught by experienced and highly qualified specialists from Sanya Aviation & Tourism College on topics such as aviation security management, passenger transportation, safety on board an aircraft in emergencies, emergency medical care in flight, etc. Participants also got acquainted with the activities of Sanya Aviation & Tourism College. #somonair

Hashtags

Somon Air

@somonair · Post #672 · 04.06.2024 г., 08:27

We are happy to announce that starting from June, 5 we will operate regular flights from Dushanbe – Munich and return twice a week. The flights will be operated on Wednesdays and Saturdays. Increasing the frequency of flights between Dushanbe and Munich will provide more opportunities and convenience for passengers who will be able to plan their trip taking into account innovations in the flight schedule on this route. Departure from Dushanbe at 00:10, from Munich - at 17:00. The time is local. Flights will be operated on Boeing 737-800 and Boeing 737-900 aircraft. #somonair

Hashtags

Somon Air

@somonair · Post #652 · 21.05.2024 г., 07:13

Airline is not only about aircraft and new destinations. These are, first of all, people. In our new section, we will introduce you to the employees of our airline, who from the first days have been working for the benefit of the enterprise and contributing to its development. Zuhra Rashidova, leading accountant In 2009, when Z. Rashidova became part of the professional team of Somon Air, only five people worked in the accounting department. To be fair, it should be noted that the company had only two planes at that time. A lot of changes have happened since 2009. The volume of work has increased significantly. “We built everything brick by brick. At the beginning it was difficult, but also interesting,” she recalls. - Now there are more than 20 of us in the financial department. We became one big family." For her contribution to the development of Somon Air, Zuhra Rashidova was awarded the “95th Anniversary of Civil Aviation of Tajikistan” medal. #somonair

Hashtags

Somon Air

@somonair · Post #634 · 07.05.2024 г., 06:18

Somon Air met with U.S. Embassy representatives to discuss an increase in Somon Air’s passenger traffic, prospects for increasing Somon Air’s fleet through the acquisition of new Boeing 737-8 aircraft, and the possibility of securing financing for these aircraft from U.S. banking institutions. Somon Air is currently considering the acquisition of new Boeing aircraft as part of its fleet and route network development strategy. Somon Air General Director Abdulkosim Valiev noted that the airline transported 250,000 passengers in the first quarter of 2024, an increase of 65,000 passengers or 35 percent compared to the same period last year. #somonair

Hashtags

Somon Air

@somonair · Post #615 · 05.04.2024 г., 14:16

Somon Air management held a meeting today with the Ambassador Extraordinary and Plenipotentiary of the Republic of Korea to the Republic of Tajikistan Kwon Dongseok and the Deputy Head of Mission of the Embassy Kim Junsik. The main topic of the negotiations was the possibility of opening a direct flight on the Dushanbe-Seoul-Dushanbe route. The parties noted that the opening of direct flights will certainly strengthen relations between the two states in various areas. Somon Air CEO, Abdulkosim Valiev noted: “As Tajikistan air carrier, we are ready to make every effort to open this flight.” It was noted that the parties are ready to consider various mechanisms for operating a flight on the Dushanbe-Seoul-Dushanbe route. Today Somon Air successfully operates flights from Tajikistan to Germany, UAE, Turkey, China, India, Saudi Arabia, Iran, Russia, Kazakhstan and Uzbekistan. The fleet of the airline consists of Boeing 737-800 and Boeing 737-900 aircraft. #somonair

Hashtags

Somon Air

@somonair · Post #495 · 12.12.2023 г., 11:49

On December 11, Somon Air was replenished with two more captains. One after another, Yosinjon Juraev (29 years old) and Aminjon Aliev (29 years old) completed their first independent flights as captains. Yosinjon Juraev made a flight on the Dushanbe-Tashkent-Dushanbe route, and Aminjon Aliev - on the Dushanbe-Delhi-Dushanbe route. Both captains, having graduated from the Kirovograd Flight Academy together, were hired by Somon Air as co-pilots in 2015. #somonair

Hashtags

Somon Air

@somonair · Post #487 · 18.11.2023 г., 09:29

Somon Air signed the IATA Safety Leadership Charter and thus joined more than 20 airlines around the world. The signing ceremony of the Charter took place on November, 14 in Amsterdam as part of the Wings of Change Europe 2023 forum of the International Air Transport Association (IATA). The document is aimed at strengthening organizational safety culture through commitment to eight key safety leadership-guiding principles. Abdulkosim Valiev, CEO of Somon Air: “By joining the IATA Safety Leadership Charter, Somon Air confirms its ongoing commitment to flight safety. Flight safety has always been, is and will be a priority for the airline. We are honored to be part of the overall campaign under the auspices of such a prestigious organization as the International Air Transport Association (IATA).” #somonair

Hashtags

Somon Air

@somonair · Post #450 · 10.10.2023 г., 06:38

On October 2-6, 2023, Somon Air concluded IOSA renewal audit (IATA Operational Safety Audit). Passing IOSA audit gives airlines the status of a safe international air carrier. In 2003, the International Air Transport Association (IATA) launched the IOSA Operational Safety Audit. And today, IOSA is a global industry standard for airline operational safety auditing, designed to assess the safety management system, quality assurance, and process management in all operational areas of an airline. Its completion is proof of the airline’s readiness and desire to continuously improve its flight safety processes. Passing this most difficult audit for any airline is a great professional achievement, global recognition and trust. IATA member airlines must prove their compliance with the high standards of civil aviation every two years; this is a mandatory requirement for membership in the association. #somonair

Hashtags

Somon Air

@somonair · Post #429 · 21.09.2023 г., 08:45

These days, at our Aviation Training Center, initial flight attendant training courses are being held under the training program to work on a Boeing 737 NG aircraft. As part of the theoretical course, the new flight attendants will study the design and operation of aircraft systems and equipment, undergo emergency rescue training, initial aviation safety training, an aviation medicine course, etc. Upon completion of the theoretical course, a group of airline flight attendants will be sent to Moscow to undergo practical training at the Aeroflot airline aviation school. #somonair

Hashtags

Somon Air

@somonair · Post #428 · 15.09.2023 г., 06:23

Farrukh Mavlyanov is an Instructor-Cabin Crew, Compliance Monitoring and Safety Auditor. Farrukh has been working for Somon Air since 2013. In 2014, he became a senior flight attendant, in 2016 - a line checker, and in 2023 - an Instructor-Cabin Crew. At the same time, since 2019 he has been an Auditor, conducting an IOSA audit (IATA operational audit) and teaching colleagues emergency procedures at the Somon Air Aviation Training Center. “I really love aviation. This is a field where you are constantly on the move, meeting new people, and traveling. In a word, if you are full of energy, then aviation is for you. Now I fly less often, as I am very busy with trainings and preparing for the IOSA audit, which also brings me pleasure. I am very grateful to Somon Air, which is an interesting chapter in my life for a whole decade,” says F. Mavlyanov. #somonair

Hashtags

Somon Air

@somonair · Post #356 · 31.05.2023 г., 03:56

Today is International Flight Attendant Day. This day is dedicated to flight crew members who get up early, stay late and remain vigilant throughout the flight to ensure passengers are safe, comfortable and cared for during the journey. Yulia Koltsova has been working as a flight attendant at Somon Air for 11 years. “I am very lucky to be a part of #somonair. Working with competent management and colleagues - a team of professionals who have become friends for a long time - is a pleasure and adds more necessary experience. My work is also pleasant acquaintances, new cities and countries, as well as vivid memories. I am a happy wife and mother of two children and proudly representing women in the aviation industry. I believe that every girl considering joining the aviation industry should give a try. For me, this decision is one of the best I have made in my life, and I can say with confidence that I am a happy person because I enjoy my profession.”

Hashtags

123•••101112
ПретходнаСтраница 1 од 12Следна