@degenpump_crypto_pump_signals · Post #504470 · 11.05.2026 г., 18:48
#OGN/USDT Take-Profit target 1 ✅ Profit: 21.9959% 📈 Period: 12 hr 11 min ⏰
Hashtags
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
Пребарај: #ogn
@degenpump_crypto_pump_signals · Post #504470 · 11.05.2026 г., 18:48
#OGN/USDT Take-Profit target 1 ✅ Profit: 21.9959% 📈 Period: 12 hr 11 min ⏰
Hashtags
@degenpump_crypto_pump_signals · Post #504464 · 11.05.2026 г., 18:48
#OGN/USDT Take-Profit target 1 ✅ Profit: 20.436% 📈 Period: 9 hr 36 min ⏰
Hashtags
@degenpump_crypto_pump_signals · Post #504127 · 09.05.2026 г., 08:12
#OGN/USDT Take-Profit target 1 ✅ Profit: 18.1965% 📈 Period: 3 hr 4 min ⏰
Hashtags
@CoinSonar · Post #243848 · 17.04.2026 г., 21:36
#OGN | Volume spike (USDT PAIR) 119 times the average volume 109.63K USDT traded in 5 min └Buying vol: 74.11K USDT 🟢 Boost score: 7/10 24h Vol: 263.92K USDT (Binance) Price: 0.0243 (-1.7% in 24h)
Hashtags
@CoinSonar · Post #243729 · 17.04.2026 г., 15:04
#OGN | Volume spike (USDT PAIR) 523 times the average volume 95.96K USDT traded in 1 min └Buying vol: 65.78K USDT 🟢 Boost score: 8/10 24h Vol: 263.92K USDT (Binance) Price: 0.0246 (-1.7% in 24h)
Hashtags
@CoinSonar · Post #243481 · 17.04.2026 г., 06:30
#OGN | Volume spike (USDT PAIR) 117 times the average volume 107.72K USDT traded in 5 min └Buying vol: 66.46K USDT 🟢 Boost score: 5/10 24h Vol: 263.92K USDT (Binance) Price: 0.0236 (-1.7% in 24h)
Hashtags
@proanalysistrader · Post #28527 · 08.03.2025 г., 16:29
#OGN/USDT analysis : #OGN is currently in a downtrend, trading below the 200 EMA. The price has broken and retested the support zone, suggesting a continuation of the bearish momentum and a potential drop to lower levels. For short entry, look for a pullback. TF : 2H Entry : $0.0653 Target : $0.0600 SL : $0.0690
Hashtags
@proanalysistrader · Post #28345 · 17.12.2024 г., 13:33
#OGN/USDT analysis : #OGN is in an uptrend, making higher highs (HHs) and higher lows (HLs) above the 200 EMA. Currently, it’s consolidating over the 200 EMA, which suggests a potential bounce back and continuation of the bullish momentum. Watch for a breakout above the $0.1460 level to enter a long position, as this will lead to testing previous highs. TF : 4H Entry : $0.1460 Target : $0.1700 SL : $0.1300
Hashtags
@proanalysistrader · Post #28281 · 28.11.2024 г., 15:03
#OGN/USDT analysis : #OGN is currently in a downward slope, consistently forming lower lows (LLs) and lower highs (LHs). The price is anticipated to continue its bearish momentum and may test the previous swing low. TF : 15min Entry : $0.1242 Target : $0.1201 SL : $0.1270
Hashtags
@proanalysistrader · Post #27933 · 14.09.2024 г., 15:14
#OGN/USDT analysis : #OGN has broken out above previous highs and the 200 EMA, currently finding support above these levels. The price is expected to bounce off from this support and continue its bullish momentum to test previous highs. TF : 1H Entry : $0.0854 Target : $0.0937 SL : $0.0800
Hashtags
@americancryptotrading · Post #27300 · 03.07.2025 г., 08:44
🇺🇸#OGN/USDT is printing the descendingresistance line on the daily timeframe👨💻 A breakout is coming✈️ American Crypto©
Hashtags
@americancryptotrading · Post #27118 · 12.01.2025 г., 17:04
🇺🇸#OGN/USDT is consolidating within the descendingtriangle on the weekly chart🧐 Looking for a leg upwards✈️ American Crypto©
Hashtags