forked from ThunderGemios10/The-Super-Duper-Script-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_console.py
65 lines (58 loc) · 3.1 KB
/
ui_console.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'qt\ui\console.ui'
#
# Created: Mon Jun 03 01:17:16 2013
# by: PyQt4 UI code generator 4.8.5
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_Console(object):
def setupUi(self, Console):
Console.setObjectName(_fromUtf8("Console"))
Console.resize(689, 369)
Console.setWindowTitle(QtGui.QApplication.translate("Console", "Console", None, QtGui.QApplication.UnicodeUTF8))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/monokuma-green.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Console.setWindowIcon(icon)
self.verticalLayout = QtGui.QVBoxLayout(Console)
self.verticalLayout.setSpacing(2)
self.verticalLayout.setMargin(2)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.txtConsole = XLoggerWidget(Console)
self.txtConsole.setLineWrapMode(QtGui.QTextEdit.NoWrap)
self.txtConsole.setObjectName(_fromUtf8("txtConsole"))
self.verticalLayout.addWidget(self.txtConsole)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setSpacing(8)
self.horizontalLayout.setContentsMargins(4, -1, 0, -1)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.label = QtGui.QLabel(Console)
self.label.setText(QtGui.QApplication.translate("Console", "Logging Level", None, QtGui.QApplication.UnicodeUTF8))
self.label.setObjectName(_fromUtf8("label"))
self.horizontalLayout.addWidget(self.label)
self.cboLevels = QtGui.QComboBox(Console)
self.cboLevels.setObjectName(_fromUtf8("cboLevels"))
self.horizontalLayout.addWidget(self.cboLevels)
self.chkWordWrap = QtGui.QCheckBox(Console)
self.chkWordWrap.setText(QtGui.QApplication.translate("Console", "Word wrap", None, QtGui.QApplication.UnicodeUTF8))
self.chkWordWrap.setObjectName(_fromUtf8("chkWordWrap"))
self.horizontalLayout.addWidget(self.chkWordWrap)
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.pushButton = QtGui.QPushButton(Console)
self.pushButton.setText(QtGui.QApplication.translate("Console", "Clear", None, QtGui.QApplication.UnicodeUTF8))
self.pushButton.setObjectName(_fromUtf8("pushButton"))
self.horizontalLayout.addWidget(self.pushButton)
self.verticalLayout.addLayout(self.horizontalLayout)
self.retranslateUi(Console)
QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), self.txtConsole.clear)
QtCore.QObject.connect(self.cboLevels, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")), Console.updateLogLevel)
QtCore.QMetaObject.connectSlotsByName(Console)
def retranslateUi(self, Console):
pass
from projexui.xloggerwidget import XLoggerWidget
import icons_rc