summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeepa-chaudhari2015-06-16 18:08:39 +0530
committerdeepa-chaudhari2015-06-16 18:08:39 +0530
commit2c1e750c049e75aec9eed68cb8eef162a10eac52 (patch)
tree5af4ddc0dfab179668e6bf1b244e87446b36197d
parentae6da92ff79412f0802b2cf5a496bb95a29401d9 (diff)
downloadOsdagLive-2c1e750c049e75aec9eed68cb8eef162a10eac52.tar.gz
OsdagLive-2c1e750c049e75aec9eed68cb8eef162a10eac52.tar.bz2
OsdagLive-2c1e750c049e75aec9eed68cb8eef162a10eac52.zip
Osdagmain page
-rw-r--r--osdagMainPage.py35
-rw-r--r--osdagpage.ui451
-rw-r--r--ui_osdagpage.py263
3 files changed, 749 insertions, 0 deletions
diff --git a/osdagMainPage.py b/osdagMainPage.py
new file mode 100644
index 0000000..8665cbc
--- /dev/null
+++ b/osdagMainPage.py
@@ -0,0 +1,35 @@
+'''
+Created on 16-Jun-2015
+
+@author: deepa
+'''
+import sys
+from PyQt4 import QtGui,QtCore
+from ui_osdagpage import Ui_MainWindow
+
+class OsdagMainWindow(QtGui.QMainWindow):
+
+
+
+
+
+ def __init__(self):
+ QtGui.QMainWindow.__init__(self)
+ self.ui = Ui_MainWindow()
+ self.ui.setupUi(self)
+
+ self.ui.myListWidget.currentItemChanged.connect(self.changePage)
+ self.ui.myListWidget.setCurrentRow(0)
+
+ def changePage(self, current, previous):
+ if not current:
+ current = previous
+
+ self.ui.myStackedWidget.setCurrentIndex(self.ui.myListWidget.row(current))
+
+
+if __name__ == '__main__':
+ app = QtGui.QApplication(sys.argv)
+ window = OsdagMainWindow()
+ window.show()
+ sys.exit(app.exec_()) \ No newline at end of file
diff --git a/osdagpage.ui b/osdagpage.ui
new file mode 100644
index 0000000..221c56a
--- /dev/null
+++ b/osdagpage.ui
@@ -0,0 +1,451 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>MainWindow</class>
+ <widget class="QMainWindow" name="MainWindow">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>1019</width>
+ <height>674</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>MainWindow</string>
+ </property>
+ <widget class="QWidget" name="centralwidget">
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="0" colspan="2">
+ <widget class="QListWidget" name="myListWidget">
+ <property name="minimumSize">
+ <size>
+ <width>300</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QListWidget::item {
+ color:#00ff00;
+ background-color:#5930ac;
+ }
+QListWidget{background-color:#83AC30;
+}
+ QListWidget:item:selected:active {
+ background: #000000;}</string>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <property name="lineWidth">
+ <number>5</number>
+ </property>
+ <property name="midLineWidth">
+ <number>2</number>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>48</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="spacing">
+ <number>5</number>
+ </property>
+ <item>
+ <property name="text">
+ <string>Create :</string>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>12</pointsize>
+ <weight>75</weight>
+ <bold>true</bold>
+ </font>
+ </property>
+ <property name="flags">
+ <set>NoItemFlags</set>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Connections</string>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>12</pointsize>
+ <weight>50</weight>
+ <bold>false</bold>
+ </font>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../../Pictures/images (3).jpg</normaloff>../../Pictures/images (3).jpg</iconset>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Tesion Members</string>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>12</pointsize>
+ </font>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../../Pictures/images (3).jpg</normaloff>../../Pictures/images (3).jpg</iconset>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Compression Members</string>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>12</pointsize>
+ </font>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../../Pictures/images (3).jpg</normaloff>../../Pictures/images (3).jpg</iconset>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Flexural Members</string>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>12</pointsize>
+ </font>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../../Pictures/images (3).jpg</normaloff>../../Pictures/images (3).jpg</iconset>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Beam-Column</string>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>12</pointsize>
+ </font>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../../Pictures/images (3).jpg</normaloff>../../Pictures/images (3).jpg</iconset>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Plate Girders</string>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>12</pointsize>
+ </font>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../../Pictures/images (3).jpg</normaloff>../../Pictures/images (3).jpg</iconset>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Gantry Girders</string>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>12</pointsize>
+ </font>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../../Pictures/images (3).jpg</normaloff>../../Pictures/images (3).jpg</iconset>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QPushButton" name="pushButton_2">
+ <property name="styleSheet">
+ <string notr="true">QPushButton {background-color: #5930ac; color: #00ff00;}</string>
+ </property>
+ <property name="text">
+ <string>Help</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QPushButton" name="pushButton">
+ <property name="styleSheet">
+ <string notr="true">QPushButton {background-color: #5930ac; color: #00ff00;}
+QPushButton:pressed { background-color: #000000 }</string>
+ </property>
+ <property name="text">
+ <string>Open File</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QStackedWidget" name="myStackedWidget">
+ <property name="currentIndex">
+ <number>1</number>
+ </property>
+ <widget class="QWidget" name="osdagPage">
+ <widget class="QLabel" name="label">
+ <property name="geometry">
+ <rect>
+ <x>60</x>
+ <y>100</y>
+ <width>151</width>
+ <height>131</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap>../../Pictures/cfd_logo.png</pixmap>
+ </property>
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+ </widget>
+ <widget class="QLabel" name="label_2">
+ <property name="geometry">
+ <rect>
+ <x>240</x>
+ <y>110</y>
+ <width>461</width>
+ <height>121</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap>../../Pictures/banner12.png</pixmap>
+ </property>
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+ </widget>
+ <widget class="QLabel" name="label_3">
+ <property name="geometry">
+ <rect>
+ <x>740</x>
+ <y>540</y>
+ <width>84</width>
+ <height>81</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap>../../Pictures/logo.png</pixmap>
+ </property>
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </widget>
+ <widget class="QWidget" name="connectionPage">
+ <layout class="QGridLayout" name="gridLayout_2">
+ <item row="0" column="0">
+ <widget class="QTabWidget" name="myTabWidget">
+ <property name="font">
+ <font>
+ <pointsize>12</pointsize>
+ </font>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QTabBar::tab { height: 30px; width: 180px; }
+</string>
+ </property>
+ <property name="tabShape">
+ <enum>QTabWidget::Rounded</enum>
+ </property>
+ <property name="currentIndex">
+ <number>1</number>
+ </property>
+ <widget class="QWidget" name="tab">
+ <attribute name="title">
+ <string>Shear Connection</string>
+ </attribute>
+ <widget class="QRadioButton" name="radioButton">
+ <property name="geometry">
+ <rect>
+ <x>50</x>
+ <y>110</y>
+ <width>137</width>
+ <height>27</height>
+ </rect>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>11</pointsize>
+ </font>
+ </property>
+ <property name="styleSheet">
+ <string notr="true"/>
+ </property>
+ <property name="text">
+ <string>Cleat</string>
+ </property>
+ </widget>
+ <widget class="QRadioButton" name="radioButton_2">
+ <property name="geometry">
+ <rect>
+ <x>50</x>
+ <y>150</y>
+ <width>137</width>
+ <height>27</height>
+ </rect>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>11</pointsize>
+ </font>
+ </property>
+ <property name="text">
+ <string>End Plate</string>
+ </property>
+ </widget>
+ <widget class="QRadioButton" name="radioButton_3">
+ <property name="geometry">
+ <rect>
+ <x>50</x>
+ <y>190</y>
+ <width>137</width>
+ <height>27</height>
+ </rect>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>11</pointsize>
+ </font>
+ </property>
+ <property name="text">
+ <string>Fin Plate</string>
+ </property>
+ </widget>
+ <widget class="QPushButton" name="pushButton_3">
+ <property name="geometry">
+ <rect>
+ <x>430</x>
+ <y>400</y>
+ <width>186</width>
+ <height>32</height>
+ </rect>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>12</pointsize>
+ <weight>75</weight>
+ <italic>false</italic>
+ <bold>true</bold>
+ </font>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QPushButton {
+ color:#00ff00;
+ background-color:#5930ac;
+ border-style: outset;
+ border-width: 2px;
+ border-radius: 10px;
+ border-color: #00ff00;}
+
+QPushButton:pressed { background-color: #000000 }
+
+</string>
+ </property>
+ <property name="text">
+ <string>Start</string>
+ </property>
+ </widget>
+ <widget class="QRadioButton" name="radioButton_4">
+ <property name="geometry">
+ <rect>
+ <x>50</x>
+ <y>230</y>
+ <width>137</width>
+ <height>27</height>
+ </rect>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>11</pointsize>
+ </font>
+ </property>
+ <property name="text">
+ <string>Seated</string>
+ </property>
+ </widget>
+ </widget>
+ <widget class="QWidget" name="tab_2">
+ <attribute name="title">
+ <string>Moment</string>
+ </attribute>
+ </widget>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tensionPage">
+ <widget class="QLabel" name="label_4">
+ <property name="geometry">
+ <rect>
+ <x>380</x>
+ <y>240</y>
+ <width>211</width>
+ <height>81</height>
+ </rect>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>17</pointsize>
+ <weight>75</weight>
+ <italic>true</italic>
+ <bold>true</bold>
+ </font>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QLabel{ color : #5930ac;}</string>
+ </property>
+ <property name="text">
+ <string>Comming soon!</string>
+ </property>
+ <property name="scaledContents">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </widget>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QMenuBar" name="menubar">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>1019</width>
+ <height>30</height>
+ </rect>
+ </property>
+ </widget>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/ui_osdagpage.py b/ui_osdagpage.py
new file mode 100644
index 0000000..b48d828
--- /dev/null
+++ b/ui_osdagpage.py
@@ -0,0 +1,263 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'osdagpage.ui'
+#
+# Created: Tue Jun 16 17:27:55 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.radioButton = QtGui.QRadioButton(self.tab)
+ self.radioButton.setGeometry(QtCore.QRect(50, 110, 137, 27))
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ self.radioButton.setFont(font)
+ self.radioButton.setStyleSheet(_fromUtf8(""))
+ self.radioButton.setObjectName(_fromUtf8("radioButton"))
+ self.radioButton_2 = QtGui.QRadioButton(self.tab)
+ self.radioButton_2.setGeometry(QtCore.QRect(50, 150, 137, 27))
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ self.radioButton_2.setFont(font)
+ self.radioButton_2.setObjectName(_fromUtf8("radioButton_2"))
+ self.radioButton_3 = QtGui.QRadioButton(self.tab)
+ self.radioButton_3.setGeometry(QtCore.QRect(50, 190, 137, 27))
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ self.radioButton_3.setFont(font)
+ self.radioButton_3.setObjectName(_fromUtf8("radioButton_3"))
+ self.pushButton_3 = QtGui.QPushButton(self.tab)
+ self.pushButton_3.setGeometry(QtCore.QRect(430, 400, 186, 32))
+ font = QtGui.QFont()
+ font.setPointSize(12)
+ font.setBold(True)
+ font.setItalic(False)
+ font.setWeight(75)
+ self.pushButton_3.setFont(font)
+ self.pushButton_3.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.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))
+ self.radioButton_4 = QtGui.QRadioButton(self.tab)
+ self.radioButton_4.setGeometry(QtCore.QRect(50, 230, 137, 27))
+ font = QtGui.QFont()
+ font.setPointSize(11)
+ self.radioButton_4.setFont(font)
+ self.radioButton_4.setObjectName(_fromUtf8("radioButton_4"))
+ 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(1)
+ 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.radioButton.setText(_translate("MainWindow", "Cleat", None))
+ self.radioButton_2.setText(_translate("MainWindow", "End Plate", None))
+ self.radioButton_3.setText(_translate("MainWindow", "Fin Plate", None))
+ self.pushButton_3.setText(_translate("MainWindow", "Start", None))
+ self.radioButton_4.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))
+