This commit is contained in:
DonRenando 2015-04-04 15:47:24 +02:00
parent 7367c7aefa
commit 6da252374d
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'mainWindow.ui'
#
# Created: Sat Apr 4 00:06:19 2015
# Created: Sat Apr 4 15:44:01 2015
# by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!
@ -27,7 +27,7 @@ class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName(_fromUtf8("Dialog"))
Dialog.setEnabled(True)
Dialog.resize(809, 558)
Dialog.resize(827, 558)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8("../../../../../../Images/Homer-Simpson-homer-simpson-3065329-800-600.jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Dialog.setWindowIcon(icon)

View File

@ -9,7 +9,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>809</width>
<width>827</width>
<height>558</height>
</rect>
</property>

View File

@ -131,7 +131,7 @@ class start(QtGui.QDialog):
if re.compile('USERLIST').search(txt.split(" ")[0] ) :
n = len(txt.split(" ")[1:]) +1
for i in range(1,n) :
self.ui.listNames.addItem(str(txt.split(" ")[i]))
self.ui.listNames.addItem(str(txt.split(" ")[i]).replace("USERAWAY",""))
print(str(txt.split(" ")[1:]))
if re.compile('USERAWAY').search(txt.split(" ")[0] ) :