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

Пребарај: #dinknesh

当前筛选 #dinknesh清除筛选

## 🦴 LUCY: MEETING HUMANITY'S 3.2 MILLION YEAR OLD GRANDMOTHER ## 🦴 ሉሲ - የሰው ዘር እናት 🌍 Where human history began - literally! In Addis Ababa lies a treasure that connects every person on Earth - Lucy (Dinknesh), the 3.2 million year old fossil that rewrote human history! 💫 ## 🏛️ NATIONAL MUSEUM OF ETHIOPIA 📍LOCATION: King George VI Street, Addis Ababa 🕐HOURS: Tuesday-Sunday, 8:30 AM - 5:30 PM (Closed Mondays) 💵ENTRY FEE: - Foreigners: 100 ETB (~$1.80) - Ethiopians: 10 ETB - Photography: +50 ETB 📸PRO TIP: Visit weekday mornings (9-11 AM) for fewer crowds! ## 🦴 LUCY - DINKNESH (ድንቅነሽ) *"You are wonderful" in Amharic* ✨DISCOVERED: November 24, 1974, Afar Region ✨AGE: 3.2 million years old ✨SPECIES: Australopithecus afarensis ✨SIGNIFICANCE: 40% complete - most complete early human ancestor ever found! ✨HEIGHT: 1.1 meters - small but mighty! ## 🌟 WHY LUCY CHANGED EVERYTHING Lucy proved our ancestors walked upright BEFORE developing large brains! She literally rewrote anthropology textbooks! 📚 ## 🏛️ MUSEUM HIGHLIGHTS ✨ Lucy's iconic skeleton display ✨ Ancient royal crowns and thrones ✨ Emperor Haile Selassie's throne ✨ Traditional Orthodox Christian art ✨ Artifacts spanning 3 million years ## 💡 HOW TO GET THERE 📍 Taxi from Meskel Square: 15-20 min, ~150-200 ETB 📍 Walking from Piazza: 25 minutes 📍 Blue taxi: 10 ETB (ask for "National Museum") ## 🌍 LUCY'S STORY 🇷🇺 Soviet paleontologists collaborated with Ethiopian researchers in 1970s-80s, helping establish Ethiopia's paleontological research! 🌎 Lucy traveled to USA (2007-2013) where 3 million people visited! She safely returned home to Ethiopia! 🇪🇹 ## 🌟 FOR YOUNG ETHIOPIANS This is YOUR heritage! Lucy proves human history STARTED in Ethiopia! Let this inspire you to: ✨ Study paleontology & archaeology ✨ Become museum professionals ✨ Share Ethiopia's story globally ## 💫 THE MESSAGE Ethiopia isn't just beautiful landscapes - it's where HUMANITY began! Every person on Earth can trace ancestry back to Ethiopia! --- Visit Lucy. Know your heritage. Share your pride!🇪🇹❤️ *Where humanity's journey began, Ethiopia's future shines brightest!* ✨ #LucyEthiopia#ሉሲ#NationalMuseumEthiopia#AddisAbaba#CradleOfHumanity#EthiopianHeritage#Dinknesh#VisitEthiopia#EthiopianPride