Dear Alex, thanks for your reply.
I do add the views to a layout. The code in the first post is followed by:
self.rightlayout.addWidget(self.qlist)
self.rightlayout.addWidget(self.qinfow)
self.
qcheckbox = QtGui.
QCheckBox("Hide convergences")self.rightlayout.addWidget(self.qcheckbox)
self.connect(self.qcheckbox, QtCore.SIGNAL('stateChanged(int)'), self.reflexInfo.convergences_toggled)
self.mainlayout.addWidget(self.splitterwidget,5)
self.mainlayout.addLayout(self.rightlayout)
self.setLayout(self.mainlayout)
self.rightlayout.addWidget(self.qlist)
self.rightlayout.addWidget(self.qinfow)
self.qcheckbox = QtGui.QCheckBox("Hide convergences")
self.rightlayout.addWidget(self.qcheckbox)
self.connect(self.qcheckbox, QtCore.SIGNAL('stateChanged(int)'), self.reflexInfo.convergences_toggled)
self.mainlayout.addWidget(self.splitterwidget,5)
self.mainlayout.addLayout(self.rightlayout)
self.setLayout(self.mainlayout)
To copy to clipboard, switch view to plain text mode
Do you happen to know what I am doing wrong?
Bookmarks