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

Резултати

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

Пребарај: #madleen

当前筛选 #madleen清除筛选
Jean-Luc Mélenchon

@jlmelenchon · Post #3424 · 09.06.2025 г., 23:02

Nullité des services français. Les familles de tous les prisonniers du bateau #Madleen reçoivent des nouvelles de leur service consulaire national. Sauf les Français. Nos familles n'ont aucune nouvelle alors que la rétention illégale dure depuis près de 24h. Nous Insoumis sommes sans nouvelle aussi. Malgré nos relances au plus haut niveau, on ne sait même pas où sont les détenus. Les services français ont-ils seulement demandé à être mis en contact ? Comment dire l'ecoeurement que cela nous inspire ? Comment notre pays peut-il s'abaisser ainsi ? Pourquoi les citoyens français sont-ils traités comme ça par les dirigeants du pays ? 👉Partagez sur Twitter ----------- On vous a transféré ce message ? Abonnez-vous au canal Telegram de Jean-Luc Mélenchon sur : https://t.me/JLMelenchon

Hashtags

El Pueblo Informa

@EPInforma · Post #35479 · 09.06.2025 г., 02:03

Rumbo a Gaza 🇵🇸 | 12 voluntarios de todo el mundo que navegan en el #Madleen. Una misión para romper el asedio ilegal de Israel a Gaza y establecer un corredor marítimo popular. #FreedomFlotillaCoalition Vía 📱@PiensaPrensa Síguenos t.me/Epinforma🔁 comparte

Freedom Flotilla Coalition

@FFC_official_channel · Post #525 · 10.06.2025 г., 18:49

Some snippets from Greta’s interview after being deported by Israeli authorities. Continue fighting for Palestinians in Gaza, including those in wider Palestine who are unlawfully imprisoned, including over 400 children. #Madleen#IOF#GretaThunberg#FreedomFlotilla

Freedom Flotilla Coalition

@FFC_official_channel · Post #531 · 11.06.2025 г., 12:13

Palestinians in Gaza are being starved, denied aid, genocided- and this is all on live stream and on our watch. A statement from Yasemin Acar, FFC volunteer on ‘Madleen’ who was kidnapped by IOF, forcibly taken to Israel and currently being held in detention is delivered by her brother J. Acar. This is the real story. #FreeGaza#BreakTheSiege #Madleen#EndTheGenocide

Freedom Flotilla Coalition

@FFC_official_channel · Post #514 · 09.06.2025 г., 20:54

Our 'Madleen' was on a mission of urgency after a year of set backs, carrying baby formula, food, medicine, and basic humanity. Then came unidentified vessels, speedboats, quadcopters, and finally, Israeli soldiers. Francesca Albanese recounts what happened in real-time as she spoke to the crew live. She reminds us that 'Madleen' was a UK-flagged boat seized in international waters. Israel's interception is an act of piracy. Abduction is illegal, as is their siege, genocide, occupation and countless other war crimes across Palestine. So what makes a small, aid boat so scary for the Israeli occupation? According to Francesca Albanese: it is our humanity. It is everyone's defiance. It is our collective power to break the siege. #BreakIsraelsSiege#EndTheBlockade#StandWithGaza#FrancescaAlbanese#Madleen

Freedom Flotilla Coalition

@FFC_official_channel · Post #293 · 28.05.2025 г., 05:14

The Freedom Flotilla Coalition invites you to join us from May 30th to June 1st in Catania, Sicily, Italy, as we stand together in solidarity to launch our new mission, the ‘Madleen’. The summit will be happening in Porto di San Giovanni li Cuti, where we will stand in solidarity with the Palestinian people in a series of panels, cultural programs, and community gatherings. The ‘Madleen‘ will sail to break Israel's illegal siege as we bring humanitarian aid, hope, and solidarity to Gaza. The world stands united against the deliberate starvation, genocide, Apartheid, colonial occupation, and the ethnic cleansing of the Palestinian people. Join us! Let's sail in spirit and solidarity. Free Palestine! #FreedomFlotilla#BreakIsraelsSiege#EndTheBlockade#StandWithGaza#AllEyesOnDeck#Madleen#Conscience

Freedom Flotilla Coalition

@FFC_official_channel · Post #307 · 29.05.2025 г., 09:52

Meet just some of the panelists, volunteers and supporters that will join us as we launch the ‘Madleen’ that will sail in a matter of days to break Israel's illegal siege of Gaza. We urge media, press and supporters to join us in Catania, Sicily - your coverage and solidarity is critical in helping ensure our safety. March with us. Make noise with us. Show the world that Europe will not be silent. Share our content. Make it impossible for every politician, for the European Union and media to ignore what is happening in Gaza. Make it impossible for them to ignore the voice of the people, to ignore this mission, and to ignore this moment. #BreakTheSiege#BreakIsraelsSiege#AllEyesOnDeck#EndTheBlockade#StandWithGaza#AllEyesOnDeck#Madleen#Conscience

Freedom Flotilla Coalition

@FFC_official_channel · Post #538 · 11.06.2025 г., 20:39

Lara, speaking from Brazil, has had no contact with her husband, Thiago Ávila, since he was abducted and detained illegally by Israeli forces from the 'Madleen'. Since then, Thiago has been placed in solitary confinement, denied communication with his family. According to Lara, Israeli authorities threatened Thiago with the psychological torment of isolation without light or ventilation. Despite this, Thiago remains on hunger strike, holding firm to his belief in justice for Palestinians and the right of every child to food, safety, and freedom. From his prison cell, he wrote a letter to his 1-year-old daughter. Lara generously shares that with us today. This is a call not just for Thiago’s release—but for the world to pay attention to Gaza, to Palestine, and to all people who are exploited, forced to live under occupation. #FreedomFlotilla#Madleen#Thiago#IOF#WeWillSail#BreakIsraelsSiege#EndTheBlockade

Freedom Flotilla Coalition

@FFC_official_channel · Post #553 · 13.06.2025 г., 09:13

Now with Israel's attack on Iran, the airports are shut down, and our three remaining 'Madleen' team members, Pascal Maurieras, Yanis Mhamdi, and Marco van Rennes may face an extra month, illegally detained in Israeli prison. All three were meant to be released and flying back to their families today, June 13. The French and Dutch governments must find alternative routes and get their citizens home, whether through Jordan or otherwise - NOW. Contact details in our slides and email template in our stories. #BreakIsraelsSiege#EndTheBlockade#Madleen#WeWillSail#AllEyesOnDeck#StandWithMadleen#StandWithPalestine

Freedom Flotilla Coalition

@FFC_official_channel · Post #352 · 02.06.2025 г., 02:37

Meet the 12 volunteers from around the world, who are sailing on 'Madleen' in the Freedom Flotilla Coalition's steadfast mission to break Israel's illegal siege of Gaza and establish a people's sea corridor: Baptiste Andre 🇫🇷 Greta Thunberg 🇸🇪 Şuayb Ordu 🇹🇷 Mark van Rennes 🇳🇱 Omar Faiad 🇫🇷 Pascal Maurieras 🇫🇷 Reva Viard 🇫🇷 Rima Hassan 🇫🇷 Sergio Toribio 🇪🇸 Thiago Ávila 🇧🇷 Yanis Mhamdi 🇫🇷 Yasemin Acar 🇩🇪 Let their names be known, as they hold the people's hearts and courage, and carry solidarity to Palestinians in Gaza. #AllEyesOnDeck#Madleen#Conscience#BreakTheSiege#EndOccupation#FreePalestine#FreedomFlotilla

Freedom Flotilla Coalition

@FFC_official_channel · Post #530 · 10.06.2025 г., 19:28

The seizure, detention, and attempted deportation of the our team are clear violations of international law and Israeli law. They must be released immediately and unconditionally. We will not be silent. The blockade is illegal. Our mission remains: to break the siege and deliver aid to Gaza. Artwork by Zina Zindah, 11 years old, during an art workshop by @maysaartist from Gaza. #FreedomFlotilla#EndTheBlockade#Gaza#HumanRights#LetThemGo#Madleen#WeWillSail

Freedom Flotilla Official Update: It's time for our governments to do their jobs and sanction Israel. Its illegal attack on 'Madleen' while sailing in international waters is a small extension of their war crimes in Gaza. Governments, institutions, media, and corporations must stop protecting Israel, now. They must stop prioritising profit over human lives, now. Protect our volunteers while protecting Palestinians in Gaza and wider Palestine. #BreakIsraelsSiege#EndTheBlockade#Madleen#FreedomFlotilla#Volunteers#IOF#StandWithGaza#StandWithPalestine

12
ПретходнаСтраница 1 од 2Следна