PyQt pass data from class
luca72
lucaberto at libero.it
Tue Nov 15 12:01:07 EST 2016
Hello i need to this
class Form(QWidget, Ui_Form):
"""
Class documentation goes here.
"""
def __init__(self, parent=None):
"""
Constructor
@param parent reference to the parent widget
@type QWidget
"""
super(Form, self).__init__(parent)
self.setupUi(self)
self.tabWidget.setCurrentIndex(0)
combo = QComboBox()
self.disegno = Cornice()
class Cornice(QPainter):
def __init__(self, parent=None):
lista_dati = []
in the class Form i have a lineEdit
in the class Cornice i need to write something link
self.lineEdit.setText('blabla') that is in the class Form
in wich way i can have access to the lineedit of class Form without event from class Cornice
Many Thanks
More information about the Python-list
mailing list