coding utf-8 Form implementation generated from reading ui file vivaio

  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
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'vivaio.ui'
#
# Created: Fri May 15 17:49:58 2009
# by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
from PyQt4.QtCore import SIGNAL
from core import *
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(741, 398)
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.tabWidget = QtGui.QTabWidget(self.centralwidget)
self.tabWidget.setGeometry(QtCore.QRect(0, 0, 741, 351))
self.tabWidget.setObjectName("tabWidget")
self.tabInsertClient = QtGui.QWidget()
self.tabInsertClient.setObjectName("tabInsertClient")
self.buttonSaveClient = QtGui.QPushButton(self.tabInsertClient)
self.buttonSaveClient.setGeometry(QtCore.QRect(250, 190, 85, 29))
self.buttonSaveClient.setObjectName("buttonSaveClient")
self.txtClientName = QtGui.QTextEdit(self.tabInsertClient)
self.txtClientName.setGeometry(QtCore.QRect(250, 20, 261, 31))
self.txtClientName.setObjectName("txtClientName")
self.txtClientSurname = QtGui.QTextEdit(self.tabInsertClient)
self.txtClientSurname.setGeometry(QtCore.QRect(250, 60, 261, 31))
self.txtClientSurname.setObjectName("txtClientSurname")
self.txtClientCellphone = QtGui.QTextEdit(self.tabInsertClient)
self.txtClientCellphone.setGeometry(QtCore.QRect(250, 100, 261, 31))
self.txtClientCellphone.setObjectName("txtClientCellphone")
self.txtClientAddress = QtGui.QTextEdit(self.tabInsertClient)
self.txtClientAddress.setGeometry(QtCore.QRect(250, 140, 261, 31))
self.txtClientAddress.setObjectName("txtClientAddress")
self.buttonResetClient = QtGui.QPushButton(self.tabInsertClient)
self.buttonResetClient.setGeometry(QtCore.QRect(430, 190, 85, 29))
self.buttonResetClient.setObjectName("buttonResetClient")
self.buttonConnectToDB = QtGui.QPushButton(self.tabInsertClient)
self.buttonConnectToDB.setGeometry(QtCore.QRect(70, 260, 85, 29))
self.buttonConnectToDB.setObjectName("buttonConnectToDB")
self.tabWidget.addTab(self.tabInsertClient, "")
self.tabInsertSpecie = QtGui.QWidget()
self.tabInsertSpecie.setObjectName("tabInsertSpecie")
self.txtSpeciesName = QtGui.QTextEdit(self.tabInsertSpecie)
self.txtSpeciesName.setGeometry(QtCore.QRect(230, 30, 201, 31))
self.txtSpeciesName.setObjectName("txtSpeciesName")
self.txtSpeciesSeason = QtGui.QTextEdit(self.tabInsertSpecie)
self.txtSpeciesSeason.setGeometry(QtCore.QRect(230, 70, 201, 31))
self.txtSpeciesSeason.setObjectName("txtSpeciesSeason")
self.txtSpeciesCultivation = QtGui.QTextEdit(self.tabInsertSpecie)
self.txtSpeciesCultivation.setGeometry(QtCore.QRect(230, 110, 201, 31))
self.txtSpeciesCultivation.setObjectName("txtSpeciesCultivation")
self.checkBoxSpeciesPresent = QtGui.QCheckBox(self.tabInsertSpecie)
self.checkBoxSpeciesPresent.setGeometry(QtCore.QRect(460, 30, 87, 24))
self.checkBoxSpeciesPresent.setObjectName("checkBoxSpeciesPresent")
self.checkBoxSpeciesIndoor = QtGui.QCheckBox(self.tabInsertSpecie)
self.checkBoxSpeciesIndoor.setGeometry(QtCore.QRect(460, 70, 87, 24))
self.checkBoxSpeciesIndoor.setObjectName("checkBoxSpeciesIndoor")
self.buttonSaveSpecies = QtGui.QPushButton(self.tabInsertSpecie)
self.buttonSaveSpecies.setGeometry(QtCore.QRect(230, 200, 85, 29))
self.buttonSaveSpecies.setObjectName("buttonSaveSpecies")
self.buttonResetSpecies = QtGui.QPushButton(self.tabInsertSpecie)
self.buttonResetSpecies.setGeometry(QtCore.QRect(340, 200, 85, 29))
self.buttonResetSpecies.setObjectName("buttonResetSpecies")
self.comboBox = QtGui.QComboBox(self.tabInsertSpecie)
self.comboBox.setGeometry(QtCore.QRect(230, 150, 201, 24))
self.comboBox.setObjectName("comboBox")
self.tabWidget.addTab(self.tabInsertSpecie, "")
self.tabInsertJobRequest = QtGui.QWidget()
self.tabInsertJobRequest.setObjectName("tabInsertJobRequest")
self.txtRequestDate = QtGui.QTextEdit(self.tabInsertJobRequest)
self.txtRequestDate.setGeometry(QtCore.QRect(210, 30, 221, 31))
self.txtRequestDate.setObjectName("txtRequestDate")
self.txtExecutionDate = QtGui.QTextEdit(self.tabInsertJobRequest)
self.txtExecutionDate.setGeometry(QtCore.QRect(210, 70, 221, 31))
self.txtExecutionDate.setObjectName("txtExecutionDate")
self.comboJobId = QtGui.QComboBox(self.tabInsertJobRequest)
self.comboJobId.setGeometry(QtCore.QRect(210, 110, 221, 24))
self.comboJobId.setObjectName("comboJobId")
self.comboWorkerId = QtGui.QComboBox(self.tabInsertJobRequest)
self.comboWorkerId.setGeometry(QtCore.QRect(210, 140, 221, 24))
self.comboWorkerId.setObjectName("comboWorkerId")
self.comboClientId = QtGui.QComboBox(self.tabInsertJobRequest)
self.comboClientId.setGeometry(QtCore.QRect(210, 170, 221, 24))
self.comboClientId.setObjectName("comboClientId")
self.buttonSaveJobRequest = QtGui.QPushButton(self.tabInsertJobRequest)
self.buttonSaveJobRequest.setGeometry(QtCore.QRect(210, 210, 85, 29))
self.buttonSaveJobRequest.setObjectName("buttonSaveJobRequest")
self.buttonResetJobRequest = QtGui.QPushButton(self.tabInsertJobRequest)
self.buttonResetJobRequest.setGeometry(QtCore.QRect(340, 210, 85, 29))
self.buttonResetJobRequest.setObjectName("buttonResetJobRequest")
self.tabWidget.addTab(self.tabInsertJobRequest, "")
self.tabPrintJobs = QtGui.QWidget()
self.tabPrintJobs.setObjectName("tabPrintJobs")
self.tabWidget.addTab(self.tabPrintJobs, "")
self.tabPrintWorkerJob = QtGui.QWidget()
self.tabPrintWorkerJob.setObjectName("tabPrintWorkerJob")
self.tabWidget.addTab(self.tabPrintWorkerJob, "")
self.tabPrintJobRequests = QtGui.QWidget()
self.tabPrintJobRequests.setObjectName("tabPrintJobRequests")
self.tabWidget.addTab(self.tabPrintJobRequests, "")
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtGui.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def instantiateManager(self):
self.txtClientName.setPlainText('bla')
MainWindow.connect(self.buttonConnectToDB, SIGNAL("clicked()"), self.instantiateManager)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
self.buttonSaveClient.setText(QtGui.QApplication.translate("MainWindow", "Salva", None, QtGui.QApplication.UnicodeUTF8))
self.buttonResetClient.setText(QtGui.QApplication.translate("MainWindow", "Resetta", None, QtGui.QApplication.UnicodeUTF8))
self.buttonConnectToDB.setText(QtGui.QApplication.translate("MainWindow", "Connect", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabInsertClient), QtGui.QApplication.translate("MainWindow", "Ins. Cliente", None, QtGui.QApplication.UnicodeUTF8))
self.checkBoxSpeciesPresent.setText(QtGui.QApplication.translate("MainWindow", "Presente", None, QtGui.QApplication.UnicodeUTF8))
self.checkBoxSpeciesIndoor.setText(QtGui.QApplication.translate("MainWindow", "Interno", None, QtGui.QApplication.UnicodeUTF8))
self.buttonSaveSpecies.setText(QtGui.QApplication.translate("MainWindow", "Salva", None, QtGui.QApplication.UnicodeUTF8))
self.buttonResetSpecies.setText(QtGui.QApplication.translate("MainWindow", "Resetta", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabInsertSpecie), QtGui.QApplication.translate("MainWindow", "Ins. Specie", None, QtGui.QApplication.UnicodeUTF8))
self.buttonSaveJobRequest.setText(QtGui.QApplication.translate("MainWindow", "Salva", None, QtGui.QApplication.UnicodeUTF8))
self.buttonResetJobRequest.setText(QtGui.QApplication.translate("MainWindow", "Resetta", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabInsertJobRequest), QtGui.QApplication.translate("MainWindow", "Ins. Richieste", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabPrintJobs), QtGui.QApplication.translate("MainWindow", "Stmp. Attivita", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabPrintWorkerJob), QtGui.QApplication.translate("MainWindow", "Stmp. Attivita Personale", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabPrintJobRequests), QtGui.QApplication.translate("MainWindow", "Stmp. Richieste", None, QtGui.QApplication.UnicodeUTF8))