@ZIGChain · Post #10 · 21.09.2024 г., 12:20
Uncovering #ZIGChain, the groundbreaking Layer 1 Blockchain reshaping the infrastructure for wealth generation and management! Ready to #BuidlOnZIGChain? 💪
Hashtags
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
Пребарај: #buidlonzigchain
@ZIGChain · Post #10 · 21.09.2024 г., 12:20
Uncovering #ZIGChain, the groundbreaking Layer 1 Blockchain reshaping the infrastructure for wealth generation and management! Ready to #BuidlOnZIGChain? 💪
Hashtags
@ZIGChain · Post #4 · 04.07.2024 г., 10:53
🚀 Launch your token on #ZIGChain in < 20 seconds! 🤯 With its’ permission-less tech, ZIGChain democratizes development, making it accessible to all. Whether you're a seasoned pro or new to the game, we empower you to #BuidlOnZIGChain and bring innovative ideas to life with ease. Get ready to unlock limitless possibilities with #ZIGChain💪
Hashtags