@NEASingapore · Post #146 · 07.01.2021 г., 02:00
Leaving your soiled tissue on dining tables is inconsiderate and unsanitary! Dispose of them properly, to help prevent the spread of diseases. #SGUnited#BinOurTissues#KeepSGClean
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
Пребарај: #binourtissues
@NEASingapore · Post #146 · 07.01.2021 г., 02:00
Leaving your soiled tissue on dining tables is inconsiderate and unsanitary! Dispose of them properly, to help prevent the spread of diseases. #SGUnited#BinOurTissues#KeepSGClean
@NEASingapore · Post #154 · 22.01.2021 г., 10:50
Have you been returning your trays and binning used tissues? A large majority of people surveyed agreed that litter left behind poses a public health risk. However, whilst 90% felt that diners should clear their tables after eating at public dining places, the average tray return rate at most hawker centres is only around 30%. View key findings of the survey at https://www.nea.gov.sg/media/news/news/index/vast-majority-surveyed-feel-that-patrons-should-be-required-to-clear-their-tables-after-eating-at-public-dining-places We can do more to keep #OurHawkerCentres clean and safe for everyone! #ReturnOurTrays#BinOurTissues
@NEASingapore · Post #144 · 28.12.2020 г., 05:22
Phase 3 of Re-opening commences today. To accommodate the increase in group size of up to 8 persons, markings on seats and tables at the dining areas of hawker centres have been revised. While we bond over our favourite hawker food, let’s also #ReturnOurTrays and #BinOurTissues. #OurHawkerCulture is not just about the heritage, great food and bustling ambience – it is also about how it brings people from all walks of life together. Let’s keep #OurHawkerCentres clean and safe for everyone 😊 Access control and interim fencing at more markets will also be removed, details at https://www.nea.gov.sg/media/news/news/index/phase-3-of-re-opening-hawker-centres-and-markets
@NEASingapore · Post #69 · 20.06.2020 г., 03:30
We are all looking forward to dining in again at our favourite places. Let’s not forget good dining habits at #OurHawkerCentres to mitigate the spread of COVID-19! #BinOurTissues & #ReturnOurTrays, to keep the table clean for the next user and reduce the risk of disease transmission to cleaners and other members of the public. Eat from your tray, and don’t leave behind soiled tissues or wet wipes on dining tables. #FightCOVID19#SGClean
@NEASingapore · Post #67 · 17.06.2020 г., 12:55
Don’t leave your used tissues or wet wipes behind when dining at #OurHawkerCentres! It is important to dispose of used tissues or wet wipes which can be highly contaminated, to #FightCOVID19, especially as we resume our activities gradually. From 19 Jun when dining-in resumes, Safe Distancing Ambassadors at hawker centres and coffeeshops will be on hand to remind patrons to be socially responsible and observe personal hygiene. Let’s all do our part to keep ourselves and those around us safe. https://go.gov.sg/nea17jun20-hygieneathcs-toilets #BinOurTissues#ReturnOurTrays#SGClean#KeepSGClean
@NEASingapore · Post #73 · 02.07.2020 г., 00:30
Let’s remember to stay at least a metre apart from each other. We wouldn’t want all the effort and resources of the past few months to go to waste. Dining in at #OurHawkerCentres? Let’s not forget to #ReturnOurTrays and #BinOurTissues after enjoying the meal! #SGUnited#SafeDistancing#FightCOVID19