1 from PyQt4.QtCore import *
2 from PyQt4.QtGui import *
4 from sface.config import config
7 class LogWindow(QDialog):
8 def __init__(self, parent=None):
9 QWidget.__init__(self, parent)
10 self.setWindowTitle("SFI Log")
11 self.text = QTextBrowser(self)
13 layout = QVBoxLayout()
14 layout.addWidget(self.text)
15 self.setLayout(layout)
17 def setText(self, txt):
18 self.text.setText(txt)