-
Notifications
You must be signed in to change notification settings - Fork 1
/
db_plot1.py
83 lines (75 loc) · 3.74 KB
/
db_plot1.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_db_plot1.ui'
#
# Created: Thu Nov 21 11:10:24 2013
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_DBPlot1(object):
def setupUi(self, DBPlot1):
DBPlot1.setObjectName(_fromUtf8("DBPlot1"))
DBPlot1.resize(640, 480)
self.verticalLayout = QtGui.QVBoxLayout(DBPlot1)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.groupBox = QtGui.QGroupBox(DBPlot1)
self.groupBox.setEnabled(True)
self.groupBox.setMaximumSize(QtCore.QSize(350, 150))
self.groupBox.setTitle(_fromUtf8(""))
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.plotButton = QtGui.QPushButton(self.groupBox)
self.plotButton.setMaximumSize(QtCore.QSize(50, 16777215))
self.plotButton.setObjectName(_fromUtf8("plotButton"))
self.gridLayout_2.addWidget(self.plotButton, 3, 0, 1, 1)
self.label_2 = QtGui.QLabel(self.groupBox)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
self.comboX = QtGui.QComboBox(self.groupBox)
self.comboX.setMinimumSize(QtCore.QSize(200, 0))
self.comboX.setMaximumSize(QtCore.QSize(250, 16777215))
self.comboX.setObjectName(_fromUtf8("comboX"))
self.gridLayout_2.addWidget(self.comboX, 1, 1, 1, 1)
self.label_3 = QtGui.QLabel(self.groupBox)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.gridLayout_2.addWidget(self.label_3, 2, 0, 1, 1)
self.label = QtGui.QLabel(self.groupBox)
self.label.setObjectName(_fromUtf8("label"))
self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
self.comboTable = QtGui.QComboBox(self.groupBox)
self.comboTable.setMinimumSize(QtCore.QSize(200, 0))
self.comboTable.setMaximumSize(QtCore.QSize(250, 16777215))
self.comboTable.setObjectName(_fromUtf8("comboTable"))
self.gridLayout_2.addWidget(self.comboTable, 0, 1, 1, 1)
self.comboY = QtGui.QComboBox(self.groupBox)
self.comboY.setMinimumSize(QtCore.QSize(200, 0))
self.comboY.setMaximumSize(QtCore.QSize(250, 16777215))
self.comboY.setObjectName(_fromUtf8("comboY"))
self.gridLayout_2.addWidget(self.comboY, 2, 1, 1, 1)
self.whereText = QtGui.QPlainTextEdit(self.groupBox)
self.whereText.setMaximumBlockCount(0)
self.whereText.setObjectName(_fromUtf8("whereText"))
self.gridLayout_2.addWidget(self.whereText, 3, 1, 1, 1)
self.verticalLayout.addWidget(self.groupBox)
self.retranslateUi(DBPlot1)
QtCore.QMetaObject.connectSlotsByName(DBPlot1)
def retranslateUi(self, DBPlot1):
DBPlot1.setWindowTitle(_translate("DBPlot1", "Form", None))
self.plotButton.setText(_translate("DBPlot1", "Plot", None))
self.label_2.setText(_translate("DBPlot1", "X", None))
self.label_3.setText(_translate("DBPlot1", "Y", None))
self.label.setText(_translate("DBPlot1", "Table", None))
self.whereText.setDocumentTitle(_translate("DBPlot1", "Where Statement", None))