How do you access attributes of a class when inheriting from it? Can't you <br>
just say:<br>
<br>
self.attribute?  <br>
<br>
Help?!<br>
.......................................................................................................<br>
#!/usr/bin/python<br>
<br>
from Dialog import Dialog<br>
import enscmd<br>
<br>
class RatDialog(Dialog):<br>
    def __init__(self,parent = Dialog,name = "RatDialog",modal = 0,fl = 0):<br>
        Dialog.__init__(self)<br>
        self.ClipListView.header().setLabel(0,self.__tr("Clips"))   <----ERROR<br>
        self.ClipListView.clear()<br>
    def CloseButton_clicked(self):<br>
        self.close()<br>
<br>
....................................................................................<br>
<br>
from qt import *<br>
<br>
<br>
class Dialog(QDialog):<br>
    def __init__(self,parent = None,name = None,modal = 0,fl = 0):<br>
        QDialog.__init__(self,parent,name,modal,fl)<br>
<br>
        if not name:<br>
            self.setName("Dialog")<br>
<br>
<br>
        DialogLayout = QGridLayout(self,1,1,11,6,"DialogLayout")<br>
<br>
        layout14 = QVBoxLayout(None,0,6,"layout14")<br>
<br>
        layout13 = QHBoxLayout(None,0,6,"layout13")<br>
<br>
        self.ClipListView = QListView(self,"ClipListView")<br>
        self.ClipListView.addColumn(self.__tr("Column 1"))<br>
        layout13.addWidget(self.ClipListView)<br>
<br>
        self.ClipTextEdit = QTextEdit(self,"ClipTextEdit")<br>
        layout13.addWidget(self.ClipTextEdit)<br>
        layout14.addLayout(layout13)<br>
<br>
        layout10 = QHBoxLayout(None,0,6,"layout10")<br>
<br>
        layout9 = QVBoxLayout(None,0,6,"layout9")<br>
<br>
        layoutWidth = QHBoxLayout(None,0,6,"layoutWidth")<br>
<br>
        self.WidthLabel = QLabel(self,"WidthLabel")<br>
        layoutWidth.addWidget(self.WidthLabel)<br>
<br>
        self.WidthLineEdit = QLineEdit(self,"WidthLineEdit")<br>
        layoutWidth.addWidget(self.WidthLineEdit)<br>
        layout9.addLayout(layoutWidth)<br>
<br>
        layout5 = QVBoxLayout(None,0,6,"layout5")<br>
<br>
        self.OriginLabel = QLabel(self,"OriginLabel")<br>
        self.OriginLabel.setAlignment(QLabel.WordBreak | QLabel.AlignCenter)<br>
        layout5.addWidget(self.OriginLabel)<br>
<br>
        layoutX = QHBoxLayout(None,0,6,"layoutX")<br>
<br>
        self.XLabel = QLabel(self,"XLabel")<br>
        layoutX.addWidget(self.XLabel)<br>
<br>
        self.XLineEdit = QLineEdit(self,"XLineEdit")<br>
        layoutX.addWidget(self.XLineEdit)<br>
        layout5.addLayout(layoutX)<br>
<br>
        layoutY = QHBoxLayout(None,0,6,"layoutY")<br>
<br>
        self.YLabel = QLabel(self,"YLabel")<br>
        layoutY.addWidget(self.YLabel)<br>
<br>
        self.YLineEdit = QLineEdit(self,"YLineEdit")<br>
        layoutY.addWidget(self.YLineEdit)<br>
        layout5.addLayout(layoutY)<br>
<br>
        layoutZ = QHBoxLayout(None,0,6,"layoutZ")<br>
<br>
        self.ZLabel = QLabel(self,"ZLabel")<br>
        layoutZ.addWidget(self.ZLabel)<br>
<br>
        self.ZLineEdit = QLineEdit(self,"ZLineEdit")<br>
        layoutZ.addWidget(self.ZLineEdit)<br>
        layout5.addLayout(layoutZ)<br>
        layout9.addLayout(layout5)<br>
        layout10.addLayout(layout9)<br>
<br>
        self.ButtonGroup = QButtonGroup(self,"ButtonGroup")<br>
<br>
        self.CircleRadioButton = <br>
QRadioButton(self.ButtonGroup,"CircleRadioButton")<br>
        self.CircleRadioButton.setGeometry(QRect(20,50,56,21))<br>
<br>
        self.SquareRadioButton = <br>
QRadioButton(self.ButtonGroup,"SquareRadioButton")<br>
        self.SquareRadioButton.setGeometry(QRect(20,20,64,21))<br>
        self.SquareRadioButton.setChecked(1)<br>
        layout10.addWidget(self.ButtonGroup)<br>
        layout14.addLayout(layout10)<br>
<br>
        layout11 = QHBoxLayout(None,0,6,"layout11")<br>
<br>
        self.NewClipButton = QPushButton(self,"NewClipButton")<br>
        layout11.addWidget(self.NewClipButton)<br>
<br>
        self.DeleteClipButton = QPushButton(self,"DeleteClipButton")<br>
        layout11.addWidget(self.DeleteClipButton)<br>
<br>
        self.CloseButton = QPushButton(self,"CloseButton")<br>
        layout11.addWidget(self.CloseButton)<br>
        layout14.addLayout(layout11)<br>
<br>
        DialogLayout.addLayout(layout14,0,0)<br>
<br>
        self.languageChange()<br>
<br>
        self.resize(QSize(340,427).expandedTo(self.minimumSizeHint()))<br>
        self.clearWState(Qt.WState_Polished)<br>
<br>
        <br>
self.connect(self.NewClipButton,SIGNAL("clicked()"),self.NewClipButton_clicked)<br>
        <br>
self.connect(self.DeleteClipButton,SIGNAL("clicked()"),self.DeleteClipButton_clicked)<br>
        <br>
self.connect(self.CloseButton,SIGNAL("clicked()"),self.CloseButton_clicked)<br>
<br>
<br>
    def languageChange(self):<br>
        self.setCaption(self.__tr("RAT"))<br>
        self.ClipListView.header().setLabel(0,self.__tr("Column 1"))<br>
        self.ClipListView.clear()<br>
        item = QListViewItem(self.ClipListView,None)<br>
        item.setText(0,self.__tr("New Item"))<br>
<br>
        self.WidthLabel.setText(self.__tr("<b>Width/Radius</b>"))<br>
        self.OriginLabel.setText(self.__tr("<b>Origin</b>"))<br>
        self.XLabel.setText(self.__tr("<b>X</b>"))<br>
        self.YLabel.setText(self.__tr("<b>Y</b>"))<br>
        self.ZLabel.setText(self.__tr("<b>Z</b>"))<br>
        self.ButtonGroup.setTitle(self.__tr("Clip Type"))<br>
        self.CircleRadioButton.setText(self.__tr("Circle"))<br>
        self.SquareRadioButton.setText(self.__tr("Square"))<br>
        self.NewClipButton.setText(self.__tr("New"))<br>
        self.DeleteClipButton.setText(self.__tr("Delete"))<br>
        self.CloseButton.setText(self.__tr("Close"))<br>
<br>
<br>
    def NewClipButton_clicked(self):<br>
        print "Dialog.NewClipButton_clicked(): Not implemented yet"<br>
<br>
    def DeleteClipButton_clicked(self):<br>
        print "Dialog.DeleteClipButton_clicked(): Not implemented yet"<br>
<br>
    def CloseButton_clicked(self):<br>
        print "Dialog.CloseButton_clicked(): Not implemented yet"<br>
<br>
    def __tr(self,s,c = None):<br>
        return qApp<br clear="all"><br>-- <br><br>Bismuti