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 слични објави

Пребарај: #grayjay

当前筛选 #grayjay清除筛选
Libreware

@libreware · Post #1197 · 31.10.2023 г., 13:57

. Louis Rossman and FUTO have released another not -FOSS app of interest. This time they bring us the #video#streaming app #Grayjay, which is designed to let you surf and search all you favorite video streaming services at once. Grayjay does everything the popular NewPipe app does, plus more. Unfortunately NewPipe only worked with YouTube and PeerTube. So far Grayjay works w/these platforms (to a certain extent) - Rumble - Odysee - Youtube - FUTO's PeerTube Instance - Twitch - Patreon - Soundcloud - Kick - Nebula Sorry, no BitChute so far. You can download videos for offline viewing, and then export those to your Movies folder on your phone. You can download the apk install file here: https://grayjay.app/ Their GitLab source code can be found here: https://gitlab.futo.org/videostreaming/grayjay Casting: https://gitlab.futo.org/videostreaming/grayjay/-/blob/master/docs/casting.md ⚠️ License https://gitlab.futo.org/alex/voiceinput/-/blob/master/FTL_LICENSE.md ⚡️@LinuxTechIndex