F
Fabian Steiner
Hello!
I have got a QMainWindow with a QListView, in which the different
entries of a database are shown to the user. Moreover it has got a
QPushButton, so that another QDialog can be opened where the user is
able to add a new entry:
....
self.connect(self.btnNew, SIGNAL('clicked()'), self.openNewDialog)
....
def openNewDialog(self):
dialog = MyDialog(self)
dialog.show()
self.showListViewItems() # this line isn't recognized
MyDialog is closed by calling MyDialog.accept(). What can I do so that
self.showListViewItems() is called after MyDialog has been closed?
Thank you for any input!
Cheers,
Fabian Steiner
I have got a QMainWindow with a QListView, in which the different
entries of a database are shown to the user. Moreover it has got a
QPushButton, so that another QDialog can be opened where the user is
able to add a new entry:
....
self.connect(self.btnNew, SIGNAL('clicked()'), self.openNewDialog)
....
def openNewDialog(self):
dialog = MyDialog(self)
dialog.show()
self.showListViewItems() # this line isn't recognized
MyDialog is closed by calling MyDialog.accept(). What can I do so that
self.showListViewItems() is called after MyDialog has been closed?
Thank you for any input!
Cheers,
Fabian Steiner