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

Пребарај: #brunchgoals

当前筛选 #brunchgoals清除筛选
Dishes.Cooking.Food

@cookingdish · Post #604 · 05.12.2024 г., 15:50

Fillo Quiche Cups Recipe🥚🥓🧈 Perfect for brunch or appetizers! Ingredients: Fillo Dough Shells: 📜 250g Fillo pastry sheets 🧈 50g butter, melted Filling: 🥓 200g Pancetta or bacon, diced 🥚 10 Large eggs 🌿 50g Fresh chives, chopped 🧂 Salt/Pepper to taste 🧀 150g Swiss & Gruyere cheese 🧀 150g Fresh Mozzarella cheese, sliced ⚪️ Sesame seeds Instructions: 1️⃣ Preheat oven to 190°C (375°F). 2️⃣ Cut fillo sheets into squares, brush each layer with melted butter, and stack them in a muffin tin. 3️⃣ In a bowl, whisk eggs 🥚, add pancetta 🥓, chives 🌿, and cheese 🧀. Season with salt and pepper 🧂. 4️⃣ Pour mixture into fillo shells, top with mozzarella slices, and sprinkle sesame seeds ⚪️. 5️⃣ Bake for 15–20 minutes or until golden brown ✨. #EasyRecipes#BrunchGoals#MiniQuiches#CheeseLovers🥧 @dishes