@lx_hub · Post #464 · 27.01.2026 г., 13:39
#Dump 还是看没人发那我发了 纯净版全权限砸壳
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #381 · 23 окт.
Установить свойства виджета в PySide можно не только через соответствующие методы и конструктор класса. Можно их изменять с помощью метода setProperty по имени. btn = QPushButton("Click Me") btn.setProperty("flat", True) Это аналогично вызову btn.setFlat(True) Если указать несуществующее свойство, то оно просто создается btn.setProperty("btnType", "super") Получить его значение можно методом .property(name) btn_type = btn.property("btnType") Когда это может быть полезно? ▫️Можно просто хранить какие то данные в виджете и потом их доставать обратно widget = QWidget() widget.setProperty('my_data', 123) print(widget.property('my_data')) ▫️ Назначая эти свойства разным виджетам можно потом отличить виджеты во время итераци по ним. Например, найти все кнопки со свойством my_data="superbtn". Но ведь вместо кастомного свойства можно использовать objectName, будет тот же результат. Да, но y ObjectName есть ограничение - только строки. ▫️ Если нам потребуется не просто поиск а, например, сортировка по числу, то свойства позволяют нам это сделать. Поддерживается любой тип данных widget.setProperty('my_data', {'Key': 'value'}) widget.setProperty('order', 1) all_widgets.sort(key=w: w.property('order')) Но ведь Python позволяет всё вышеперечисленное сделать простым созданием атрибута у объекта widget.order = 1 widget.my_data = 123 Да, но я думаю что не надо объяснять почему не стоит так делать. К тому же, если у виджета нет свойства то метод .property(name) вернет None, а отсутствующий атрибут выбросит исключение. ▫️ Действительно полезное применение кастомным свойствам - контроль стилей. Здесь атрибутами не обойтись, нужны именно свойства. Дело в том, что в селекторах стилей можно указывать конкретные свойства виджетов на которые следует назначать стиль. Просто запустите этот код from PySide2.QtWidgets import * if __name__ == "__main__": app = QApplication([]) widget = QWidget(minimumWidth=300) layout = QVBoxLayout(widget) btn1 = QPushButton("Action 1") btn2 = QPushButton("Action 2") btn3 = QPushButton("Action 3", flat=True) layout.addWidget(btn1) layout.addWidget(btn2) layout.addWidget(btn3) # добавим кастомное свойство одной кнопке btn1.setProperty("btnType", "super") # добавляем стили widget.setStyleSheet( """ QPushButton[btnType="super"] { background-color: yellow; color: red; } QPushButton[flat="true"] { color: yellow; } """ ) widget.show() app.exec_() С помощью селектора мы избирательно назначили стили на конкретные кнопки. Как получить список всех кастомный свойств? Функция получения списка кастомных свойств отличается от получения дефолтных. def print_widget_dyn_properties(widget): for prop_name in widget.dynamicPropertyNames(): property_name = prop_name.data().decode() property_value = widget.property(property_name) print(f"{property_name}: {property_value}") #tricks#qt
Пребарај: #dump
@lx_hub · Post #464 · 27.01.2026 г., 13:39
#Dump 还是看没人发那我发了 纯净版全权限砸壳
Hashtags
@lx_hub · Post #446 · 09.01.2026 г., 09:56
#Dump 都没人发那我发了 纯净版全权限砸壳
Hashtags
@lx_hub · Post #278 · 05.09.2025 г., 02:55
#Dump 63正式版 全权限纯净砸壳
Hashtags
@lx_hub · Post #149 · 02.07.2025 г., 03:31
#Dump
Hashtags
@lx_hub · Post #111 · 06.06.2025 г., 04:38
#Dump 纯净版全权限砸壳 保留手表组件
Hashtags
@spotonchain · Post #780 · 13.04.2024 г., 01:44
#FTX and #Alameda Research liquidators truly have a knack for choosing their exit points! Just 8 hours ago, they deposited another 2,500 $ETH ($8.56M) into #Coinbase at ~$3,426, right before the recent #dump! Since Mar 1, FTX and Alameda have deposited 15,850 $ETH ($58M) into CEX at ~$3,659, and dramatic price changes tended to follow afterward (see pic 👆). Follow @spotonchain and set alerts for FTX and Alameda to know as soon as they move more $ETH again now: 1. FTX 1. FTX: https://platform.spotonchain.ai/en/entity/354 2. Alameda Research: https://platform.spotonchain.ai/en/entity/79
@tonevents_en · Post #824 · 09.09.2024 г., 14:54
⚠️🎱 ANON is scam. Unveiling the situation Another scam has surfaced, this time involving a project with a million-strong audience and a participant in the Open League. Background ANON started in the private 8club community for anonymous number holders, quickly raising funds in just three hours. Initially supported by Sasha P., the project gained traction with promises of utility but failed to deliver. ANON League To expand its audience, ANON launched its own league, inviting 83 channels to compete. However, after the season ended and the winners were announced, prize payments were never made. Sasha P. distanced himself, claiming he was never or anymore involved with the project. The ANON treasury was returned to him, and a DAO vote returned it to investors. Despite this, channels invested significant amounts into the league, hosting contests and creating content, with no compensation due to the missing treasury funds. More details here. Thank you all and goodbye Channels that completed tasks and invested heavily were left with unpaid rewards. Efforts to resolve the issue with the project's former and current leadership have failed. The community, including channel administrators, has contacted TON Foundation for help, but no solutions have been provided. Today, we, along with others, declare that @anon_club, @AnonEarnBot, @anonopen, @b_user, and @Mr_Domovoi are SCAMS for failing to meet their obligations, leaving many people financially deceived. If you agree with this assessment, feel free to share this post with your friends. 🩸Rest in peace ANON #TON#ANON#SCAM#Dump#RIP
@teasticker · Post #10037 · 20.07.2022 г., 08:58
#vvrart#hi#blue#dump#emojis
@teasticker · Post #9375 · 28.02.2022 г., 15:31
#SportAninatedpack#Cyanide#dump#lost#animated
@teasticker · Post #9997 · 16.07.2022 г., 16:00
Grumpy Tiger 🙃 #GrumpyTigerpacks#scream#dump#tiger#animated #尖叫#重复#老虎#动画
@elfcryptovip · Post #12659 · 11.05.2026 г., 10:34
📍 List of abbreviations commonly used in cryptocurrency trading: #ALTCOIN = Alternate cryptocurrency except bitcoin #SHITCOIN = A coin with no potential value or use #BEAR | #BEARISH = Negative price movement #BULL | #BULLISH = Positive price movement #LONG = Margin buy position #SHORT = Margin sell position #BTFD = Buy The Fucking Dip #DILDO = Long green or red candles 😆 #DYOR = Do Your Own Research #FA = Fundamental Analysis #TA = Technical Analysis #FOMO = Fear Of Missing Out #JOMO = Joy Of Missing Out #FUD = Fear Uncertainty & Doubt #HODL = Hold a position #MCAP = Market Capitalization #MOON = Continuous upward movement of price #OTC = Over The Counter #PUMP = Upward price movement #DUMP = To sell off a coin #REKT = When you have a bad loss #WHALE = Very wealthy trader/Market mover #AMA = Ask me anything #ATH = All Time High #ATL = All Time Low #DLT = Distributed ledger technology #IMO = In My Opinion #LAMBO = Lambo is symbol that becomes an elusive goal for most investors #NOOB = A person who is inexperienced #SAFU = Secure Asset Funds for Users #SHILL = Holder of altcoin who just wants to promote it for his own benefit ✅@ElfCryptoVIP