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

Резултати

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

Пребарај: #yemen

当前筛选 #yemen清除筛选
Islamic World News

@iswnews_en · Post #18527 · 10.04.2026 г., 00:14

🇾🇪🇾🇪🎙Key excerpts from the speech of Sayyid Abdul-Malik Badr al-Din al-Houthi, leader of the Yemeni revolution and the Ansarallah movement 🟡 The main goal of attacking Iran was to implement the dangerous Zionist plan. The acceptance and announcement of a ceasefire in itself is a great victory for Iran, the Resistance, the Islamic Ummah, and the free peoples of the world. 🟡 The stability of the Islamic Republic of Iran was immense at the level of leadership, people, and armed forces with all their institutions, and it remains steadfast despite the martyrdom of leaders and commanders. Ultimately, with divine assistance and success, the Iranian armed forces thwarted the enemy. 🟡 One of the most important achievements of this stage was the establishment of the equation of unity of the fields and fronts of the axis of jihad and resistance. 🟡Iran carried out unprecedented and heavy operations to strike the Israeli enemy and American bases. Among the results of these operations was the flight of American soldiers to hotels and other hidden locations. Iranian attacks caused the Zionists to spend more than 40 days in shelters. Closing the Strait of Hormuz was one of Iran’s major measures in pressuring the US and its allies. 🟡 The Arab regimes have a mistaken belief that their interests lie in submission and obedience to the Americans and Israelis and loyalty to them. The reality has become clear to the Arab regimes: they entangled themselves to protect American bases and jeopardized their own security and lives. Their positions are a heinous, ugly, and dangerous betrayal before God Almighty, because they cooperate with the enemy of the Islamic Ummah, betray the principles of Islam and God’s teachings, and support the tyrant. 🟡 The “Changing the Middle East” plan is the prominent title of the enemies in the region, and on the Iranian front it was presented as “overthrowing the Islamic system.” They faced the steadfastness of the Islamic Revolution and the Iranian people, and they were defeated. Israel does not dare to enter a conflict with Iran alone – a lesson they learned in the 12‑day war. They forced the Americans to participate in the war using Epstein documents, and some regional leaders were also threatened with those same documents. 🟡Trump’s claims that the Iranian people asked him to destroy everything in Iran are utterly ridiculous, and the Iranians rejected them through their round‑the‑clock presence against the attacks. Twelve million Iranians joined the general mobilization to be ready for any ground confrontation or otherwise against the enemy. The resilience of the Iranians is an inspiring model for the nations of the region. 🟡 The enemy’s claim of weakening Iran is false. Iran has also learned many lessons from this round of war and will use them to advance and develop its capabilities. 🟡 The ceasefire and halt of war in this round do not mean the end of the war, and one must prepare for subsequent rounds. The principle of unity of the fields is very important, and there are efforts to split the battlefront and target the Islamic Ummah, but they have so far failed. We will never allow the Israeli enemy to act alone on any front, including the Palestinian front. 🟡One of the most important results of the Yemeni front was preventing the Israeli and American enemies from using the Red Sea militarily in hostile actions against Iran and the countries of the axis. Our joint military operations with the axis of jihad and resistance continued until the ceasefire was announced this week. If the enemy acts against Iran again, our active and escalatory operations and participation will also return. 🟡 I ask our dear people of Yemen – the people of faith, wisdom, jihad, and loyalty – to participate tomorrow, Friday, in a million‑strong march to thank God, celebrate the victory, and congratulate Iran and the Axis of Resistance. #Yemen

Hashtags

Islamic World News

@iswnews_en · Post #18126 · 02.04.2026 г., 21:09

🇾🇪🇾🇪🎙Key excerpts from the speech of Sayyid Abdul-Malik Badr al-Din al-Houthi, leader of the Yemeni revolution regarding the latest developments in the region. 🟡The Islamic Republic of Iran, through extensive operations involving waves of missiles and drones, has destroyed US military bases in the region and punished the Israeli enemy. 🟡 The enemy's military and industrial capabilities have been degraded, a large number of American and Israeli aircraft have been destroyed, and heavy human losses have been inflicted upon their forces. 🟡The broad and sustained presence of the Iranian people in support of their leadership, the IRGC, and the Iranian army represents a great, clear, explicit, strong, and enduring backing of the Islamic system. Their immense steadfastness forms a solid barrier against the enemies' efforts to realize the dangerous stage of their Zionist scheme. 🟡If the enemies manage to destroy the Islamic Republic, those regimes that have adopted a submissive stance will surrender because they will have no choice but to submit. 🟡The magnificent scenes of today's battle, in the unity of fronts within the axis of jihad and resistance, are a grand and Qur'anically harmonious scene. What would happen if the entire Islamic Ummah moved? The Ummah's great problem lies in its weakness. There is no doubt or suspicion about the Zionist‑Jewish‑Israeli and American enmity toward the truth; they are absolute evil, rebellious, aggressive, and criminal. 🟡We will not sit idly by while the enemy achieves its goals, nor will we place all burdens on others and pretend to be indifferent. We belong to this Ummah—indeed, we are from its heart, Yemen, the land of faith and wisdom, which has played its historic and pivotal role in this Ummah from the dawn of Islam until today. Yemen cannot be absent from such developments. Yemen cannot be absent from the sacred battle to repel the evil of the enemies. The purest, most pious, and most intelligent position is to fight the Israeli enemy, the open enemy of Islam. Pay no heed to the reproaches of Zionist loudspeakers or the voices of hypocrisy and betrayal. 🟡Iran's response is legitimate and based on right. Iran has the right to respond to American bases, to anything linked to the Americans, and to anyone who assists them in carrying out their attacks. Zionist loudspeakers describe Iran's response to America as aggression against regional countries, pretending it does not concern them. Those who try to vilify Iran and the Axis of Resistance have previously tried to undermine the position of the mujahideen in Gaza. 🟡The ridiculous point is that Arab governments pay no attention to what their enemy shouts: "Death to the Arabs!" How can it be unimportant to us that the enemy's plan aims to destroy the Arabs, occupy their lands, violate their honor, commit genocide, and do everything against them? The Zionist enemy has targeted the Arabs from the very beginning, occupied their lands, and its slogan from the start has been "Death to the Arabs." The project of establishing Greater Israel is entirely built on Arab lands. 🟡All our people must know that the media war is part of the targeting of any movement that supports the issues of the Ummah and the cause of Palestine. 🟡The takfiri current within the Islamic Ummah relied on a logic of doubt, questioning the sincerity and seriousness of Iran's position regarding the Palestinian cause. They even cast doubt on Hezbollah, which has a great, pure, and honorable record. But recent events have revealed the truth to the sons of this Ummah. With these events, it is no longer possible to hide, and the sun has shone upon everything. 🟡Zionist loudspeakers rejoiced and mocked the martyrdom of Palestinian and resistance commanders. In Yemen, they mocked the slogan of disavowal of America and Israel, but when the matter turned into a serious battle, they began criticizing jihad against America and Israel. /1 #Yemen

Hashtags

Islamic World News

@iswnews_en · Post #17783 · 27.03.2026 г., 20:10

🇾🇪🚨Brigadier General Yahya Saree, spokesman for the Yemeni Armed Forces, will announce an important statement in the coming hours. #Yemen

Hashtags

Islamic World News

@iswnews_en · Post #17734 · 26.03.2026 г., 20:10

🇾🇪🇾🇪🎙 Key excerpts from the speech of Sayyed Abdul-Malik Badr al-Din al-Houthi, leader of the Yemeni revolution and Ansar Allah movement, on National Resilience Day ✉️ The Saudi regime has no justification for hostility toward the Yemeni people and could have maintained a positive, brotherly, and respectful relationship based on the principle of good neighborliness. The Saudis’ problem lies in their arrogant negative tendencies and their alignment with the American, British, and Israeli agenda against the people of the region. The Saudi regime must end its hostility toward the Yemeni people and free itself from its ties to the American and Israeli agenda. ✉️America is the second wing of Zionism after Israel. Some Arab regimes deliberately ignore the facts of the Zionist project and attempt to conceal it. The statements of Americans and Israelis about the Zionist project are clear, and they are implementing it to establish a "Greater Israel." When Americans—from Trump to others—along with Zionist Jews declare they are "reshaping the Middle East," they are targeting all countries in the region. We must understand that when they speak of reshaping the region, they seek to erase the signs of Islam, occupy the land, and establish a "Greater Israel." It is deeply regrettable that countries in this region serve the Americans and Israelis. ✉️ Some of them deploy their money and media to serve the aggression against the Islamic Republic of Iran. All the blame and criticism directed at Iran stems from its legitimate right to respond to American bases. ✉️Those who blame Iran want the Iranian people to surrender and remain captive so that Americans can attack them without response. Arab regimes engaging in war with Iran is detrimental to their own people and the entire region. Americans have turned Arab countries into war zones, and their primary role is to protect US bases and bear their burden. They are employed as guardians of the Israeli enemy, and the Americans' effort is to involve Arab countries in war with Iran. ✉️ Despite the suffering of the Lebanese people and the relentless attacks against them, most governmental criticism in Lebanon is directed at Hezbollah! Lebanon's treacherous foreign minister does not work for his country but rather for his political faction, which serves Israel and has a long record of betrayal. ✉️The great resilience of the Iranian people, their cohesion, and their constant presence on the streetshave left the enemy disappointed. Iran's heroic and jihadist stance inspires resistance and cooperation among the sons of the Islamic Ummah. Everyone must rally around Iran at all levels and with all forms of support. Iran's military stance is strong, with missiles and drones that penetrate all layers of defense. ✉️ Cooperation with Iran serves the Palestinian cause, the people of Lebanon, prevents constant aggression against Syria, and wards off danger from Egypt, Jordan, and the Arabian Peninsula. ✉️ We are not neutral in this war; we stand with Islam and the Islamic Ummah, and we are on the side of truth. Yemen's position falls within the framework of jihad for God's sake against the American-Israeli plot targeting Muslims and humanity. The Yemeni people reciprocate loyalty with loyalty, and Iran was the only country that officially showed solidarity in the face of aggression against our nation. I declare that we will never hesitate in our Islamic duty to wage jihad for God's sake against the tyranny of the Zionist Jewish era and its American hand. ✉️Whenever the developments of battle require military action, we will act with faith in God and reliance on Him, as we have in previous phases. Our position is clear and explicit against America and Israel, and we have no aggressive intent toward any Muslim country. I call upon all countries of the Islamic world to unite to end Zionist wickedness & American tyranny, which targets the entire Ummah. We are confident that the fruit of resistance & steadfastness, rooted in trust in God and adherence to truth, is the promised victory. #Yemen

Hashtags

POPULAR FRONT

@popularxfront · Post #4802 · 29.01.2026 г., 16:38

🇾🇪#Yemen: A recent video showing the Houthis (Ansar Allah) conducting various combat drills with weaponry and drones. What is of note is the use of a locally made anti-materiel sniper rifle dubbed "Khatef". (via @war_noir)

Hashtags

The bastard children of England and US no longer follow their parents. The Saudis have sent a message to the leaders of #Yemen that they are not thinking about the return of the war, nor will they become a member of the US coalition against Yemen. The Saudis said they still adhere to past agreements with Yemen and want the war to end. This issue has disappointed the US and the Israeli regime. https://t.me/YediotNewsChat

Hashtags

Mártir Ayatolá Jameneí

@khamenei_es · Post #4566 · 07.09.2025 г., 14:26

✊🇾🇪«Habría que cerrar las vías de ayuda al régimen sionista. Lo que hoy lleva a cabo el valiente pueblo de #Yemen es correcto; es eso lo correcto...» (24/08/2025). 📥spanish.khamenei.ir/news/6898 ✅@khamenei_es KHAMENEI.IR | 𝕏 | Facebook| TikTok

Hashtags

Mártir Ayatolá Jameneí

@khamenei_es · Post #4565 · 06.09.2025 г., 17:00

⭕️ «El crimen que están cometiendo hoy los jefes del gobierno sionista carece, en mi opinión, de precedentes en la historia. Hay que oponerse a ellos, y oponerse no solo de palabra, no diciendo los gobiernos «¡estamos en contra, los condenamos!». »Lo que hoy lleva a cabo el valiente pueblo de #Yemen es correcto; es eso lo correcto...» (24/08/2025). 🔗 LEER 👉spanish.khamenei.ir/news/6891 ✅@khamenei_es KHAMENEI.IR | 𝕏 | Facebook| TikTok

Hashtags

Mártir Ayatolá Jameneí

@khamenei_es · Post #4551 · 24.08.2025 г., 19:08

🔻«Deben cerrarse las vías de ayuda al régimen sionista. Lo que hoy lleva a cabo el valiente pueblo de #Yemen es correcto; es eso lo correcto...» (24/08/2025). ⭕️VER EL MENSAJE EN X👇👇 https://x.com/es_Khamenei/status/1959639336313299083 ✅@khamenei_es KHAMENEI.IR | 𝕏 | Facebook| TikTok

Hashtags

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