@LanguageStuff · Post #8712 · 04.07.2024 г., 13:29
English language #learnenglish https://t.me/LanguageStuff
Hashtags
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
Пребарај: #learnenglish
@LanguageStuff · Post #8712 · 04.07.2024 г., 13:29
English language #learnenglish https://t.me/LanguageStuff
Hashtags
@adceducate · Post #8013 · 23.10.2023 г., 13:40
« ADC » THE WAY TO KNOWLEDGE 🧠🫨 #knowledge#adceducate#english#school#brain #learnenglish
Hashtags
@english_bbc_learning · Post #3698 · 28.09.2025 г., 09:41
🙄 Do you ever want to tell someone that you just don’t care? 🤷♂️🤷♀️ This expression is for you! 🐵⚠️Use it carefully though – it’s VERY informal! Write your answer in the comments and don’t forget to give this post a like! Do you have a similar expression in your language? #learnenglish
Hashtags
@englishtipsquizzes · Post #131 · 18.02.2023 г., 10:23
🔰🔰🔰 Questions without inversion In informal conversation a question can sometimes have the same word order as in a statement. The question has a rising intonation • The machine gives change? ~ No, it doesn't. • You're travelling tomorrow?~ Yes. • The car is blue?~ That's right. • The car is what colour? ~ Blue. • They went which way?~ That way. We use this kind of question only when it follows on from what was said before. I need a return ticket to Paddington • You're travelling when?~ Tomorrow. #learnenglish#vocabulary 👉@wallstreetenglish_WSE
Hashtags
@englishtipsquizzes · Post #70 · 09.02.2023 г., 11:30
#vocabulary#learnenglish
Hashtags
@englishtipsquizzes · Post #67 · 09.02.2023 г., 07:45
🔰When Someone Is Insistent/Pressuring You🔰 • I’d love to, but I really can’t/have to go/don’t have the time. • It’s been a pleasure, but I really have to go. • This simply isn’t the right time, unfortunately. • I would love to help you, but I’m already overcommitted as it is. • I wish I could be of more help to you, but I can’t. • I must respectfully decline. • I’m sorry, but I can’t help you. • I don’t have time for this at the moment. • Please leave me alone/stop pushing. • This conversation is unnecessary. • Maybe this is the way you get things done, but I don’t like it. • It’s useless; you’re wasting your efforts on me. • You’ll be wasting your time if you keep talking to me/pushing me. • Why don’t you take this up with someone who actually has the time? • You really should put your energy elsewhere. • If I need your help, I’ll ask for it. • The answer is no. • No is a complete sentence. • You’re pushing too hard—stop it! • Go bother somebody else! #learnenglish#vocabulary @wallstreetenglish_WSE @wallstreetenglish_WSE @wallstreetenglish_WSE
Hashtags
@englishtipsquizzes · Post #58 · 07.02.2023 г., 13:22
**🔰Air Lane VS Airline🔰** • Air lane (Also: airway ) a regular route of travel for aircraft: - This will enable controllers to squeeze an extra 20 percent traffic into the crowded air lanes. • Airline 1. Company that carries passengers and cargo by airplane: - The airline has announced it will run daily service to Florida. 2. A tube through which air is passed under pressure: - Any big truck lives and dies, steers and brakes, on its air-lines. #learnenglish#vocabulary @wallstreetenglish_WSE @wallstreetenglish_WSE @wallstreetenglish_WSE
Hashtags
@englishtipsquizzes · Post #51 · 06.02.2023 г., 09:15
🔰Adapted For Something VS Adapted To Something🔰 Adapted For Something —(of things) made suitable for a new use, situation, etc.: • The book was adapted for television as a four-part series screened by the BBC. Adapted To Something —(of people) accustomed or suitable to smth.: • I am not adapted to this business. • I was bred a farmer, and ought not to have left that occupation. #learnenglish#vocabulary
Hashtags
@englishtipsquizzes · Post #40 · 05.02.2023 г., 15:09
#learnenglish#grammar Don't forget to follow us 👇👇👇 @wallstreetenglish_WSE
Hashtags
@Englishdaybyday · Post #6254 · 22.07.2025 г., 20:21
✈️ Conversations on the plane 🤣#english#learnenglish ▬▬▬▬▬▬▬▬▬▬▬▬ ➠@PhrasalCards ➠@SlangWords ➠@IdiomsLand ➠@Vocabulix ➠@GrammarCards ➠@EnglishGate ➠@StoryPage
Hashtags
@EspressoEnglish · Post #3922 · 17.08.2025 г., 19:16
😂At the dentist with Mike🩷 Comment Preply and I'll send you the link! ✨#english#learnenglish ▬▬▬▬▬▬▬▬▬▬▬▬ ➠@PhrasalCards ➠@SlangWords ➠@IdiomsLand ➠@Vocabulix ➠@GrammarCards ➠@EnglishGate ➠@StoryPage
Hashtags
@EspressoEnglish · Post #3867 · 07.07.2025 г., 19:56
😂At the dentist with Mike🩷 Comment Preply and I'll send you the link! ✨#english#learnenglish ▬▬▬▬▬▬▬▬▬▬▬▬ ➠@PhrasalCards ➠@SlangWords ➠@IdiomsLand ➠@Vocabulix ➠@GrammarCards ➠@EnglishGate ➠@StoryPage
Hashtags