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

Резултати

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

Пребарај: #wewillsail

当前筛选 #wewillsail清除筛选
Freedom Flotilla Coalition

@FFC_official_channel · Post #586 · 13.07.2025 г., 02:16

The Freedom Flotilla Coalition is setting sail again. Join us in Siracusa, Italy — or online — on July 13 at 10:30 CEST (GMT+2) as we launch ‘Handala’ on its journey toward Gaza. Just weeks after Israeli forces illegally seized our boat ‘Madleen’ and abducted 12 unarmed civilians in international waters, we continue — with global solidarity — to challenge Israel’s illegal and deadly siege. This mission is for the children of Gaza. #FreedomFlotilla#WeWillSail#AllEyesOnDeck#BreakTheSiege#Handala

Freedom Flotilla Coalition

@FFC_official_channel · Post #68 · 02.05.2024 г., 20:55

The ‘Handala’, named after the iconic symbol of the Palestinian people, is “For The Children of Gaza”, and aims to challenge and break the illegal blockade of Gaza, to shed light on the inhumane measures taken against Palestinian children by Israel, and to highlight the complicity of European and US governments in the ongoing genocide. To be clear, this is not the Freedom Flotilla’s humanitarian aid mission, but it is one of our vessels, and we couldn’t be more proud. Follow @shiptogazanorway and @ship_togazasweden for live updates. #BreakTheSiege#Handala#WeWillSail#FreePalestine#FreeGaza#FreedomFlotilla

Freedom Flotilla Coalition

@FFC_official_channel · Post #225 · 04.09.2024 г., 20:53

BREAKING ⚠️🚨 ⛴️⛴️⛴️ After months of failed negotiations, the @gazafreedomflotilla campaign in Turkiye @mavimarmaratr started the #FreedomWatch , a non-violent direct action with hundreds of people to free our boats from Hyadarpasa port in Istambul. The demonstrators blocked the port entrance and peacefully chained themselves to the gates. 🚨 LIVE NOW: https://www.instagram.com/mavimarmaratr?igsh=emNib2ZtZHFjZTFj 🇵🇸🍉 The objective of this inspiring action is that the we can finally sail to #Gaza to take desperately needed humanitarian aid and break the genocidal siege that Israel established on Gaza since 2007. ⛴️ Our protests in Turkiye will continue until our boats are free to sail, since they have all the necessary documentation and meet all the necessary requirements to do so. Please help us share this important action to #BreakTheSiege and to create a people´s humanitarian corridor in Gaza. When governments fail, we sail! #FreedomFlotilla#WeWillSail#LetThemSail🇵🇸

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 #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 Coalition

@FFC_official_channel · Post #697 · 25.07.2025 г., 23:37

After drones repeatedly hovered over the ‘Handala’ last night, we need people of the world to help tag and email their foreign ministry. The volunteers aboard are delivering life-saving aid to Gaza. They are unarmed, carrying only food, medicine, and baby formula, and acting fully within international law. It’s time for world governments to step up. Demand they protect their citizens aboard the 'Handala' and stop enabling Israel's war crimes. Safe passage is a legal obligation, and a moral one. #Handala#SafePassageNow#HumanitarianAidIsNotACrime#WeWillSail#AllEyesOnDeck#StandWithGaza#BreakIsraelsSiege

Freedom Flotilla Coalition

@FFC_official_channel · Post #64 · 02.05.2024 г., 20:52

‘Handala’ has just left Oslo and is on its way to various European ports before heading to Gaza. “‘It feels important to be able to participate in a manifestation that draws people’s attention to Israel’s genocide in Gaza”, said Stefan. Sundström is among the human rights activists and artists traveling on or meeting Handala, such as the group Nynningen, General Knas, and Karin xx, who will perform at several ports and finally in Malmö, where Eurovision is taking place. Both artists Mikael Wiehe and Daniel Lemma will be present at the reception.” Head to our website for the full press release, and follow @shiptogazanorway and @ship_togazasweden for live updates. #BreakTheSiege#Handala#FreedomFlotillaCoalition#Norway#FreeGaza#FreePalestine#WeWillSail

Freedom Flotilla Coalition

@FFC_official_channel · Post #544 · 12.06.2025 г., 11:35

Şuayb, our beautiful friend and man capable of any job, was abducted in international waters, while trying to bring food and medicine to Palestinians in Gaza. His wife, Sumerya, shares their story about joining the Freedom Flotilla Coalition last year in Istanbul for the 'Break the Siege' action, followed by 'Handala', the 'Conscience', and now 'Madleen'. She carries his voice forward—because this was never just about any of us. It’s about Palestinians who have endured Israel's brutal siege, aparthied, occupation, unlawful imprisonment, bombs, and global silence for far too long. Gaza is still waiting. And so we must keep sailing. #WeWillSail#BreakIsraelsSiege#EndTheBlockade#StandWithMadleen#StandWithGaza#AllEyesOnDeck#FreePalestine#Şuayb

Freedom Flotilla Coalition

@FFC_official_channel · Post #282 · 22.05.2025 г., 08:57

We will sail. Since our ship was attacked on May 2, Israel has killed nearly 2,000 more Palestinians. Meanwhile, 14,000 babies now face imminent death from hunger due to Israel’s deliberate starvation campaign. This is the cost of global impunity. But we refuse to back down. The ‘Madleen’ will sail soon. She may be small, but her mission is powerful: To break the silence. To challenge Israel’s illegal blockade through nonviolent direct action. To stand firmly and unapologetically, with Gaza. JOIN US. Registrations are open for experienced and committed captains, crew, volunteers, and boat owners. You will be vetted and contacted only if successful: https://bit.ly/joinfreedomflotillaform To those who can help us on land, sign our petition for an investigation into the attacks, demand your governments ensure safe passage for the 'Madleen’, and share this journey - because the more eyes on us, the safer we are. #WeWillSail#Madleen#Conscience#FreeGaza#EndTheSiege#AllEyesOnDeck#StopArmingIsrael

Freedom Flotilla Coalition

@FFC_official_channel · Post #411 · 04.06.2025 г., 10:44

After drones repeatedly hovered over the ‘Madleen’ last night, we need people of the world to help tag and email their foreign ministry. The volunteers aboard are delivering life-saving aid to Gaza. They are unarmed, carrying only food, medicine, and baby formula, and acting fully within international law. It’s time for world governments to step up. Demand they protect their citizens aboard the 'Madleen' and stop enabling Israel's war crimes. Safe passage is a legal obligation, and a moral one. #ProtectTheMadleen#SafePassageNow#HumanitarianAidIsNotACrime#WeWillSail#AllEyesOnDeck#StandWithGaza#BreakIsraelsSiege

Freedom Flotilla Coalition

@FFC_official_channel · Post #197 · 25.07.2024 г., 07:59

Robert has long fought alongside Palestinians and isn't stopping now. Having spent time in Palestine documenting horrific human rights abuses by Israeli forces, he has seen the brutality of the occupation first hand. Despite the extreme difficulty in leaving his children and partner back home in what he describes as a "grieving process", he shares how important it is to use his privilege to be a part of the collective effort to break the siege on Gaza. As we have witnessed over the course of 9 months and 76+ years prior, we cannot fathom or predict the IOF's brutality or what they are capable of if they intercept 'Handala' in international waters. So we need your help in keeping Robert as safe as possible. We need your help in demanding safe passage for all volunteers onboard our Flotillas. Please share our videos, tag your politicians and ensure that we reach Gaza safely. #endtheblockade#breakthesiege#robertmartin#freepalestine#freegaza#endtheoccupation#solidarity#wewillsail#letthemsail

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