summaryrefslogtreecommitdiff
path: root/ui_osdagpage.py
blob: b4cfd24d10cc68f205c77c5e00ab6f580ff6989b (plain)
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'osdagpage.ui'
#
# Created: Tue Jun 16 21:38:35 2015
#      by: PyQt4 UI code generator 4.10.4
#
# 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_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(1019, 674)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.myListWidget = QtGui.QListWidget(self.centralwidget)
        self.myListWidget.setMinimumSize(QtCore.QSize(300, 0))
        self.myListWidget.setStyleSheet(_fromUtf8("QListWidget::item {\n"
"  color:#00ff00;\n"
" background-color:#5930ac;\n"
"  }\n"
"QListWidget{background-color:#83AC30;\n"
"}\n"
" QListWidget:item:selected:active {\n"
"                                     background: #000000;}"))
        self.myListWidget.setFrameShape(QtGui.QFrame.Box)
        self.myListWidget.setFrameShadow(QtGui.QFrame.Raised)
        self.myListWidget.setLineWidth(5)
        self.myListWidget.setMidLineWidth(2)
        self.myListWidget.setIconSize(QtCore.QSize(48, 48))
        self.myListWidget.setSpacing(5)
        self.myListWidget.setObjectName(_fromUtf8("myListWidget"))
        item = QtGui.QListWidgetItem()
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        item.setFlags(QtCore.Qt.NoItemFlags)
        self.myListWidget.addItem(item)
        item = QtGui.QListWidgetItem()
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(False)
        font.setWeight(50)
        item.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("../../Pictures/images (3).jpg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        item.setIcon(icon)
        self.myListWidget.addItem(item)
        item = QtGui.QListWidgetItem()
        font = QtGui.QFont()
        font.setPointSize(12)
        item.setFont(font)
        item.setIcon(icon)
        self.myListWidget.addItem(item)
        item = QtGui.QListWidgetItem()
        font = QtGui.QFont()
        font.setPointSize(12)
        item.setFont(font)
        item.setIcon(icon)
        self.myListWidget.addItem(item)
        item = QtGui.QListWidgetItem()
        font = QtGui.QFont()
        font.setPointSize(12)
        item.setFont(font)
        item.setIcon(icon)
        self.myListWidget.addItem(item)
        item = QtGui.QListWidgetItem()
        font = QtGui.QFont()
        font.setPointSize(12)
        item.setFont(font)
        item.setIcon(icon)
        self.myListWidget.addItem(item)
        item = QtGui.QListWidgetItem()
        font = QtGui.QFont()
        font.setPointSize(12)
        item.setFont(font)
        item.setIcon(icon)
        self.myListWidget.addItem(item)
        item = QtGui.QListWidgetItem()
        font = QtGui.QFont()
        font.setPointSize(12)
        item.setFont(font)
        item.setIcon(icon)
        self.myListWidget.addItem(item)
        self.gridLayout.addWidget(self.myListWidget, 0, 0, 1, 2)
        self.pushButton_2 = QtGui.QPushButton(self.centralwidget)
        self.pushButton_2.setStyleSheet(_fromUtf8("QPushButton {background-color: #5930ac; color: #00ff00;}"))
        self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
        self.gridLayout.addWidget(self.pushButton_2, 1, 1, 1, 1)
        self.pushButton = QtGui.QPushButton(self.centralwidget)
        self.pushButton.setStyleSheet(_fromUtf8("QPushButton {background-color: #5930ac; color: #00ff00;}\n"
"QPushButton:pressed { background-color: #000000 }"))
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.gridLayout.addWidget(self.pushButton, 1, 0, 1, 1)
        self.myStackedWidget = QtGui.QStackedWidget(self.centralwidget)
        self.myStackedWidget.setObjectName(_fromUtf8("myStackedWidget"))
        self.osdagPage = QtGui.QWidget()
        self.osdagPage.setObjectName(_fromUtf8("osdagPage"))
        self.label = QtGui.QLabel(self.osdagPage)
        self.label.setGeometry(QtCore.QRect(60, 100, 151, 131))
        self.label.setText(_fromUtf8(""))
        self.label.setPixmap(QtGui.QPixmap(_fromUtf8("../../Pictures/cfd_logo.png")))
        self.label.setScaledContents(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.label_2 = QtGui.QLabel(self.osdagPage)
        self.label_2.setGeometry(QtCore.QRect(240, 110, 461, 121))
        self.label_2.setText(_fromUtf8(""))
        self.label_2.setPixmap(QtGui.QPixmap(_fromUtf8("../../Pictures/banner12.png")))
        self.label_2.setScaledContents(True)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_3 = QtGui.QLabel(self.osdagPage)
        self.label_3.setGeometry(QtCore.QRect(740, 540, 84, 81))
        self.label_3.setText(_fromUtf8(""))
        self.label_3.setPixmap(QtGui.QPixmap(_fromUtf8("../../Pictures/logo.png")))
        self.label_3.setScaledContents(True)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.myStackedWidget.addWidget(self.osdagPage)
        self.connectionPage = QtGui.QWidget()
        self.connectionPage.setObjectName(_fromUtf8("connectionPage"))
        self.gridLayout_2 = QtGui.QGridLayout(self.connectionPage)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.myTabWidget = QtGui.QTabWidget(self.connectionPage)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.myTabWidget.setFont(font)
        self.myTabWidget.setStyleSheet(_fromUtf8("QTabBar::tab { height: 30px; width: 180px; }\n"
""))
        self.myTabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.myTabWidget.setObjectName(_fromUtf8("myTabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.cleatRdBtn = QtGui.QRadioButton(self.tab)
        self.cleatRdBtn.setGeometry(QtCore.QRect(50, 110, 137, 27))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.cleatRdBtn.setFont(font)
        self.cleatRdBtn.setStyleSheet(_fromUtf8(""))
        self.cleatRdBtn.setObjectName(_fromUtf8("cleatRdBtn"))
        self.endPlateRdBtn = QtGui.QRadioButton(self.tab)
        self.endPlateRdBtn.setGeometry(QtCore.QRect(50, 150, 137, 27))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.endPlateRdBtn.setFont(font)
        self.endPlateRdBtn.setObjectName(_fromUtf8("endPlateRdBtn"))
        self.finPlateRdBtn = QtGui.QRadioButton(self.tab)
        self.finPlateRdBtn.setGeometry(QtCore.QRect(50, 190, 137, 27))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.finPlateRdBtn.setFont(font)
        self.finPlateRdBtn.setObjectName(_fromUtf8("finPlateRdBtn"))
        self.shearBtnStart = QtGui.QPushButton(self.tab)
        self.shearBtnStart.setGeometry(QtCore.QRect(430, 400, 186, 32))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setItalic(False)
        font.setWeight(75)
        self.shearBtnStart.setFont(font)
        self.shearBtnStart.setStyleSheet(_fromUtf8("QPushButton {\n"
"     color:#00ff00;\n"
" background-color:#5930ac;\n"
"    border-style: outset;\n"
"    border-width: 2px;\n"
"    border-radius: 10px;\n"
"    border-color: #00ff00;}\n"
"\n"
"QPushButton:pressed { background-color: #000000 }\n"
"   \n"
""))
        self.shearBtnStart.setObjectName(_fromUtf8("shearBtnStart"))
        self.seatedRdBtn = QtGui.QRadioButton(self.tab)
        self.seatedRdBtn.setGeometry(QtCore.QRect(50, 230, 137, 27))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.seatedRdBtn.setFont(font)
        self.seatedRdBtn.setObjectName(_fromUtf8("seatedRdBtn"))
        self.myTabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.myTabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.myTabWidget, 0, 0, 1, 1)
        self.myStackedWidget.addWidget(self.connectionPage)
        self.tensionPage = QtGui.QWidget()
        self.tensionPage.setObjectName(_fromUtf8("tensionPage"))
        self.label_4 = QtGui.QLabel(self.tensionPage)
        self.label_4.setGeometry(QtCore.QRect(380, 240, 211, 81))
        font = QtGui.QFont()
        font.setPointSize(17)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label_4.setFont(font)
        self.label_4.setStyleSheet(_fromUtf8("QLabel{ color : #5930ac;}"))
        self.label_4.setScaledContents(False)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.myStackedWidget.addWidget(self.tensionPage)
        self.gridLayout.addWidget(self.myStackedWidget, 0, 2, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1019, 30))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        MainWindow.setMenuBar(self.menubar)

        self.retranslateUi(MainWindow)
        self.myStackedWidget.setCurrentIndex(1)
        self.myTabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        __sortingEnabled = self.myListWidget.isSortingEnabled()
        self.myListWidget.setSortingEnabled(False)
        item = self.myListWidget.item(0)
        item.setText(_translate("MainWindow", "Create :", None))
        item = self.myListWidget.item(1)
        item.setText(_translate("MainWindow", "Connections", None))
        item = self.myListWidget.item(2)
        item.setText(_translate("MainWindow", "Tesion Members", None))
        item = self.myListWidget.item(3)
        item.setText(_translate("MainWindow", "Compression Members", None))
        item = self.myListWidget.item(4)
        item.setText(_translate("MainWindow", "Flexural Members", None))
        item = self.myListWidget.item(5)
        item.setText(_translate("MainWindow", "Beam-Column", None))
        item = self.myListWidget.item(6)
        item.setText(_translate("MainWindow", "Plate Girders", None))
        item = self.myListWidget.item(7)
        item.setText(_translate("MainWindow", "Gantry Girders", None))
        self.myListWidget.setSortingEnabled(__sortingEnabled)
        self.pushButton_2.setText(_translate("MainWindow", "Help", None))
        self.pushButton.setText(_translate("MainWindow", "Open File", None))
        self.cleatRdBtn.setText(_translate("MainWindow", "Cleat", None))
        self.endPlateRdBtn.setText(_translate("MainWindow", "End Plate", None))
        self.finPlateRdBtn.setText(_translate("MainWindow", "Fin Plate", None))
        self.shearBtnStart.setText(_translate("MainWindow", "Start", None))
        self.seatedRdBtn.setText(_translate("MainWindow", "Seated", None))
        self.myTabWidget.setTabText(self.myTabWidget.indexOf(self.tab), _translate("MainWindow", "Shear Connection", None))
        self.myTabWidget.setTabText(self.myTabWidget.indexOf(self.tab_2), _translate("MainWindow", "Moment", None))
        self.label_4.setText(_translate("MainWindow", "Comming soon!", None))