PyQt5 Windows10 QListWidget out of app

the table out of my screen

This is a part of my code for a selection box, i test it on Linux, everything perfect. But when test on Windows10, the selection box out of my screen, I set the position of the box Cursor position. How could I put the box up when the box out of screen

    self.edit = QLineEdit()
    self.edit.setText(text)
    self.edit.setValidator(labelValidator())
    self.edit.editingFinished.connect(self.postProcess)

    model = QStringListModel()
    model.setStringList(listItem)
    completer = QCompleter()
    completer.setModel(model)
    self.edit.setCompleter(completer)

    layout = QVBoxLayout()
    layout.addWidget(self.edit)
    self.buttonBox = bb = BB(BB.Ok | BB.Cancel, Qt.Horizontal, self)
    bb.button(BB.Ok).setIcon(newIcon('done'))
    bb.button(BB.Cancel).setIcon(newIcon('undo'))
    bb.accepted.connect(self.validate)
    bb.rejected.connect(self.reject)
    layout.addWidget(bb)

    if listItem is not None and len(listItem) > 0:
        self.listWidget = QListWidget(self)
        for item in listItem:
            self.listWidget.addItem(item)
        self.listWidget.itemClicked.connect(self.listItemClick)
        self.listWidget.itemDoubleClicked.connect(self.listItemDoubleClick)
        layout.addWidget(self.listWidget)

    self.setLayout(layout)

there is no this problem on ubuntu, but win10 just like the picture