Answer the question
In order to leave comments, you need to log in
Revaluation of goods in retail gives empty entries on account 42, why?
The document on the revaluation of goods in retail generates transactions from 41.11 to 42.01, but for some reason without prices, although the old and new prices are different.
The warehouse has the type "Retail store".
Answer the question
In order to leave comments, you need to log in
Well, about the global one - I got excited .... because you already made it root's daughter when you created it. (and this is supposedly enough)
As a temporary solution, I can only suggest calling show () after creating and specifying the coordinates.
newLabel.show() - this will make it show up anyway.... but I don't know if this is the "quite" correct solution...
can be hidden and made visible in the method
import sys
from PyQt5 import QtWidgets
class Widget(QtWidgets.QWidget):
def __init__(self):
super().__init__()
self.resize(100, 100)
self.button = QtWidgets.QPushButton('Button', self)
self.button.clicked.connect(self.visible_lab)
self.newLabel = QtWidgets.QLabel(self)
self.newLabel.setText('Hellow Wrold')
self.newLabel.move(10, 50)
self.newLabel.setVisible(False)
def visible_lab(self):
self.newLabel.setVisible(True)
if __name__ == '__main__':
app = QtWidgets.QApplication(sys.argv)
main = Widget()
main.show()
sys.exit(app.exec_())
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question