SHARE
TWEET

alvare

a guest Apr 15th, 2009 109 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # -*- coding: utf-8 -*-
  2.  
  3. # Form implementation generated from reading ui file 'MainWin.ui'
  4. #
  5. # Created: Sun Mar 22 18:08:51 2009
  6. #      by: PyQt4 UI code generator 4.3.3
  7. #
  8. # WARNING! All changes made in this file will be lost!
  9.  
  10. from PyQt4 import QtCore, QtGui
  11. import os, sys
  12.  
  13. class Ui_MainWin(object):
  14.     def setupUi(self, MainWin):
  15.         MainWin.setObjectName("MainWin")
  16.         MainWin.resize(QtCore.QSize(QtCore.QRect(0,0,682,559).size()).expandedTo(MainWin.minimumSizeHint()))
  17.         MainWin.setWindowIcon(QtGui.QIcon(os.path.join(os.path.dirname(sys.argv[0]),("icon.png"))))
  18.  
  19.         self.pushButtonReload = QtGui.QPushButton(MainWin)
  20.         self.pushButtonReload.setGeometry(QtCore.QRect(10,499,328,50))
  21.         self.pushButtonReload.setMinimumSize(QtCore.QSize(0,50))
  22.         self.pushButtonReload.setObjectName("pushButtonReload")
  23.  
  24.         self.pushButtonQuit = QtGui.QPushButton(MainWin)
  25.         self.pushButtonQuit.setGeometry(QtCore.QRect(344,499,328,50))
  26.  
  27.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Fixed)
  28.         sizePolicy.setHorizontalStretch(0)
  29.         sizePolicy.setVerticalStretch(0)
  30.         sizePolicy.setHeightForWidth(self.pushButtonQuit.sizePolicy().hasHeightForWidth())
  31.         self.pushButtonQuit.setSizePolicy(sizePolicy)
  32.         self.pushButtonQuit.setMinimumSize(QtCore.QSize(0,50))
  33.         self.pushButtonQuit.setObjectName("pushButtonQuit")
  34.  
  35.         self.listGenre = QtGui.QListWidget(MainWin)
  36.         self.listGenre.setGeometry(QtCore.QRect(344,40,328,451))
  37.         self.listGenre.setObjectName("listGenre")
  38.  
  39.         self.listName = QtGui.QListWidget(MainWin)
  40.         self.listName.setGeometry(QtCore.QRect(10,40,328,451))
  41.         self.listName.setObjectName("listName")
  42.  
  43.         self.label = QtGui.QLabel(MainWin)
  44.         self.label.setGeometry(QtCore.QRect(10,10,328,22))
  45.  
  46.         font = QtGui.QFont()
  47.         font.setPointSize(11)
  48.         self.label.setFont(font)
  49.         self.label.setObjectName("label")
  50.  
  51.         self.label_2 = QtGui.QLabel(MainWin)
  52.         self.label_2.setGeometry(QtCore.QRect(344,10,328,22))
  53.  
  54.         font = QtGui.QFont()
  55.         font.setPointSize(11)
  56.         self.label_2.setFont(font)
  57.         self.label_2.setObjectName("label_2")
  58.  
  59.         self.retranslateUi(MainWin)
  60.         self.listGenre.setCurrentRow(-1)
  61.         self.listName.setCurrentRow(-1)
  62.         QtCore.QObject.connect(self.pushButtonQuit,QtCore.SIGNAL("clicked()"),MainWin.close)
  63.         QtCore.QMetaObject.connectSlotsByName(MainWin)
  64.  
  65.     def retranslateUi(self, MainWin):
  66.         MainWin.setWindowTitle(QtGui.QApplication.translate("MainWin", "PyShoutcast", None, QtGui.QApplication.UnicodeUTF8))
  67.         self.pushButtonReload.setText(QtGui.QApplication.translate("MainWin", "Reload", None, QtGui.QApplication.UnicodeUTF8))
  68.         self.pushButtonQuit.setText(QtGui.QApplication.translate("MainWin", "Quit", None, QtGui.QApplication.UnicodeUTF8))
  69.         self.label.setText(QtGui.QApplication.translate("MainWin", "Radio Name", None, QtGui.QApplication.UnicodeUTF8))
  70.         self.label_2.setText(QtGui.QApplication.translate("MainWin", "Radio Genre", None, QtGui.QApplication.UnicodeUTF8))
RAW Paste Data
Top