@Marwa_OsmanLB · Post #3325 · 24.09.2024 г., 10:15
Israel expanded its bombing campaign on Lebanon to include the Beka’a Valley, adding to civilian casualties. #Lebano#Israel#Bekaa#South
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #45 · 2 мар.
В фреймворке PyQt (и PySide тоже) часто встречается настройка чего-либо с помощью так называемых флагов. widget.setWindowFlags(Qt.Window) Взаимодействие нескольких флагов делается с помощью бинарных (или побитовых) операторов. Несколько флагов можно указать с помощью оператора "|" list_item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsEnabled) исключить флаг из уже имеющегося набора можно так list_item.setFlags(list_item.flags() ^ Qt.ItemIsEnabled) Добавить новый флаг к имеющимся можно так list_item.setFlags(list_item.flags() | Qt.ItemIsEnabled) А проверка наличия делается так is_enabled = item.flags() & Qt.ItemIsEnabled > 0 Почему именно так? Всё дело в том как именно работают побитовые операторы. Но об этом в следующем посте. #qt
Hashtags
Пребарај: #bekaa
@Marwa_OsmanLB · Post #3325 · 24.09.2024 г., 10:15
Israel expanded its bombing campaign on Lebanon to include the Beka’a Valley, adding to civilian casualties. #Lebano#Israel#Bekaa#South
@Marwa_OsmanLB · Post #4169 · 17.03.2025 г., 12:02
Lebanese Media reported that a child was killed and four others were injured due to shelling originating from the Qusayr countryside in Syria, targeting border towns in the eastern #Bekaa region of #Lebanon. On Sunday evening, rockets were launched from the Qusayr countryside inside Syrian territory toward the town of Al-Qasr on the Lebanese-Syrian border. Lebanese Media reported ongoing artillery shelling from positions held by Hay’at Tahrir al-Sham (HTS) in the Qusayr countryside, targeting the same town. Amid escalating artillery fire from the #Qusayr countryside, residents of Lebanese border towns were seen fleeing toward the city of #Hermel. Meanwhile, the Lebanese Army, through the Red Cross, handed over to Syrian authorities the bodies of three HTS fighters who had been found in Al-Qasr.