@lotok · Post #951 · 07.03.2026 г., 12:16
Meoooor #signs from my #subs, from one of my most lovely sub :) Blue, you are the best!
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #175 · 30 окт.
В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks
Пребарај: #signs
@lotok · Post #951 · 07.03.2026 г., 12:16
Meoooor #signs from my #subs, from one of my most lovely sub :) Blue, you are the best!
@lotok · Post #946 · 06.03.2026 г., 13:48
#signs from our #subs
@lotok · Post #929 · 02.03.2026 г., 16:42
#subs#signs are awesome
@starvetbooks · Post #4932 · 07.02.2025 г., 15:17
COCCIDIOSIS Coccidiosis is a deadly disease that hampers chicken's productivity and welfare. Thus, the disease is a major menace to the global poultry industry. Coccidiosis which is caused by the apicomplexan parasite of the genus Eimeria has seven known species which affect the different parts of the intestinal tract of chickens #SIGNS Common signs in infected flocks include *reduced feed consumption, * rapid weight loss, * droopiness * ruffled feathers, * severe diarrhea. * Wet droppings with mucus * Clinical infections are seldom seen in poults >8 wk old. Morbidity and mortality may be high #TREATMENT The most popular treatment for coccidiosis is #Amprolium, which blocks the parasite's ability to uptake and multiply. Treatment is usually administered by adding Amprolium to the chickens' water supply, however in some cases, where sick chickens aren't eating or drinking enough, the medication is given orally. https://t.me/starvetbooks
Hashtags
@dreamsgallerys · Post #1801 · 12.12.2023 г., 07:57
Dreams Gallery #арт#art#some#spell#sorceress#enchantress#green#signs#magic