Version: 8.3.0
gui.logview.LogView Class Reference
Inheritance diagram for gui.logview.LogView:
Collaboration diagram for gui.logview.LogView:

Public Member Functions

def __init__
 

Public Attributes

 text
 
 button
 

Detailed Description

Definition at line 38 of file logview.py.

Constructor & Destructor Documentation

def gui.logview.LogView.__init__ (   self,
  parent = None,
  name = None,
  modal = 0,
  fl = 0 
)

Definition at line 39 of file logview.py.

39 
40  def __init__(self,parent = None,name = None,modal = 0,fl = 0):
41  QDialog.__init__(self,parent,name,modal,fl)
42  layout = QVBoxLayout(self,6,6,"AboutFormLayout")
43  self.text=QTextBrowser(self,"log")
44  self.text.setFrameShape(QTextEdit.NoFrame)
45  self.text.setTextFormat(QTextEdit.PlainText)
46  #self.text.setWordWrap(QTextEdit.FixedColumnWidth)
47  #self.text.setWrapColumnOrWidth(120)
48  self.text.setReadOnly(1)
49  #self.text.setText(log)
50  layout.addWidget(self.text)
51  self.button = QPushButton(self,"pushButton1")
52  self.button.setText("&Close")
53  layout.addWidget(self.button)
54  self.resize(QSize(532,437).expandedTo(self.minimumSizeHint()))
55  self.connect(self.button,SIGNAL("clicked()"),self.accept)
56 
57 

Member Data Documentation

gui.logview.LogView.button

Definition at line 50 of file logview.py.

gui.logview.LogView.text

Definition at line 42 of file logview.py.


The documentation for this class was generated from the following file: