@TFGames · Post #1582 · 19.12.2023 г., 23:35
#GAME#WIDGETS https://testflight.apple.com/join/yW1ug7sg
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #380 · 21 окт.
Регулярно приходится писать и ревьюить код, где используется PySide2-6. Заметил, что в подавляющем большинстве случаев настройка создаваемых базовых виджетов происходит через методы. Думаю, всем знаком такой способ. Простой пример с кнопкой: button = QPushButton("Click Me") button.setMinimumWidth(300) button.setFlat(True) button.setStyleSheet("font-size: 20pt") button.setToolTip("Super Button") button.clicked.connect(lambda: print("Button clicked")) Но есть и альтернативный способ - настройка через свойства. Это просто ключевые аргументы конструктора класса. Хоть они и не указаны в документации как аргументы, но они есть) Этот код делает тоже самое но с помощью Property button = QPushButton( "Click Me", minimumWidth=300, flat=True, styleSheet="font-size: 20pt", toolTip="Super Button", clicked=lambda: print("Button clicked"), ) Где это может быть полезно ▫️ Это выглядит более аккуратно и коротко, уже повод использовать ▫️ Может использоваться в заполнении лейаута, когда нам не нужно никакое другое взаимодействие с виджетом и поэтому сохранять его в переменную не требуется. Например, лейбл или кнопка. widget = QWidget(minimumWidth=400) layout = QHBoxLayout(widget) layout.addWidget(QLabel("Button >", alignment=Qt.AlignRight)) layout.addWidget(QPushButton("Click Me", clicked=lambda: print("Button clicked"))) widget.show() Либо так widget = QWidget(minimumWidth=400) layout = QHBoxLayout(widget) for wd in ( QLabel("Button >", alignment=Qt.AlignRight), QPushButton("Click Me", clicked=lambda: ...) ): layout.addWidget(wd) widget.show() ▫️ Можно хранить настройки в каком-то конфиге или генерировать на лету, после чего передавать как kwargs. kwargs = {"text": "Hello " * 30, "wordWrap": True} my_label = QLabel(**kwargs) Как получить полный список доступных свойств? Эта функция распечатает в терминал все свойства виджета и их текущие значения def print_widget_properties(widget): meta_object = widget.metaObject() for i in range(meta_object.propertyCount()): property_ = meta_object.property(i) property_name = property_.name() property_value = property_.read(widget) print(f"{property_name}: {property_value}") #tricks#qt
Пребарај: #widgets
@TFGames · Post #1582 · 19.12.2023 г., 23:35
#GAME#WIDGETS https://testflight.apple.com/join/yW1ug7sg
@arrowwalls · Post #1929 · 31.03.2025 г., 15:31
A new update for Newthing Widgets Pro is on the way.🔥 https://play.google.com/store/apps/details?id=com.appslab.nothing.widgetspro #widgets#wallpapers
Hashtags
@hishoot2imaterial · Post #2599 · 12.05.2025 г., 15:29
⚡️ Giveaway Time! 🎁 🚀 We're giving away 25 promo codes for Photo Widget Pro25 lucky winners will be chosen in 24 hours. Eligibility: - You must be a member of: ~ @AppsLab_Co ~ @popMODS ~ @popmodschat - How to redeem codes? - Click here Notes and warns: - Please don't forget to rate and comment the app(s) after you redeemed. - You have 24 hours to get your code from the bot, later then, you won't get your code even if you won. - Anyone who joins only for the giveaway and leaves the channel immediately after the giveaway is over will be banned indefinitely. It does not matter when you leave. 🏷 Tags: #Android#Widgets#Giveaway
@NothingPhone2Updates · Post #602 · 26.04.2025 г., 18:31
Widgets Pro- Nothing inspired Widgets ✍️ Details: - Version: 1.1.8 ⬇️ Download : Here 📔 Source : Here 📸 Screenshots : Here 👨💻 Support Group : Here ✍️ Note: - Minimum sdk is 14. - If you are unable to give necessary permissions, go app info > 3 dot menu & allow restricted access from there. 😎 Developer : @tpk53 | @RedSkulxHYDRA 💬 Community: @Nothing_Archive 🔖 Tags : #CommunityProject#App#Widgets#Nothing
@TestFlightX · Post #34532 · 07.11.2024 г., 10:41
#NFTTRACK#NEW#SCREEN#WIDGETS https://testflight.apple.com/join/XPP3geMf
@venturevillagewall · Post #4339 · 08.03.2025 г., 13:00
Top 5 Insights from Trendoscope Lab 1️⃣ a16z's new report reveals top B2C AI apps by traffic differ from revenue leaders like photo and video editors. Read more 2️⃣ Google launches AI Mode with Gemini, initially for Google One subscribers, enhancing AI SEO relevance. Details here 3️⃣ Short drama apps surge with 221% annual growth in downloads, affecting traditional streamers like Netflix and Disney+ that declined by 35%. Insight found here 4️⃣ Google and Meta enable developers to access cameras on XR devices, easing previous privacy restrictions. More info and here 5️⃣ Google enhances Android widget visibility with new filters and dedicated pages. Learn more #AI#Google#Tech#Streaming#XR#Investments#B2C#Apps#VideoEditing#Photos#Dramas#SEO#Privacy#Android#Widgets#Investing#VC#a16z#Trends#Innovation
@githubtrending · Post #15204 · 08.10.2025 г., 11:30
#java#cloud#coap#dashboard#iot#iot_analytics#iot_platform#iot_solutions#java#kafka#lwm2m#microservices#middleware#mqtt#netty#platform#snmp#thingsboard#visualization#websockets#widgets ThingsBoard is an open-source IoT platform that helps manage and analyze data from connected devices. It allows users to collect data, create real-time dashboards, and automate tasks using a powerful rule engine. This platform supports various protocols like MQTT and HTTP, making it easy to connect devices. Users can also define relationships between devices and assets, and trigger alarms based on specific conditions. The benefit is that it simplifies IoT project development, making it scalable and efficient for applications like smart farming, smart offices, and more. https://github.com/thingsboard/thingsboard