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

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

Резултати

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

Пребарај: #handicraft

当前筛选 #handicraft清除筛选
"Hunarmand" uyushmasi rasmiy sahifasi

@handicraftman · Post #53586 · 16.12.2025 г., 17:19

📊The video you are watching is from the III International Festival of Handicrafts 2025 in Kokand, Uzbekistan. The festival took place on 19–21 September in Kokand, Fergana Region. It served as a platform for traditional and contemporary handicraft exhibitions, as well as an international exchange of experience. 📊Interviewers in the video: • Hokim of Fergana region - Hayrullo Bozorov • President of the World Crafts Council - Saad Hani Al-Qaddumi 📊The video was produced in cooperation with a South African expert group led by Nadya Mir, the Fergana Regional Administration, and the Hunarmand Association. 📊It features exclusive interviews with festival participants, examples of traditional handicrafts, and creative processes behind artisan work. #Handicraft#KokandFestival#FerganaCrafts#WorldCraftsCouncil#CulturalHeritage