##// END OF EJS Templates
Rewrite controller, remove MPDecorator to units (keep for plots an writers) use of queues for interproc comm instead of zmq, self operations are no longer supported
Rewrite controller, remove MPDecorator to units (keep for plots an writers) use of queues for interproc comm instead of zmq, self operations are no longer supported

File last commit:

r642:c6531a7a640a
r1287:af11e4aac00c
Show More
ui_initwindow.py
95 lines | 4.0 KiB | text/x-python | PythonLexer
Alexander Valdez
VERSION1-GUI...
r208 # -*- coding: utf-8 -*-
Alexander Valdez
ui_initwindow: ...
r373 # Form implementation generated from reading ui file '/home/roj-idl71/SignalChain/initwindowv2.ui'
Alexander Valdez
VERSION1-GUI...
r208 #
Alexander Valdez
ui_initwindow: ...
r373 # Created: Wed Mar 6 15:32:39 2013
# by: PyQt4 UI code generator 4.8.6
Alexander Valdez
VERSION1-GUI...
r208 #
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
Miguel Valdez
Bug fixed in SchainGUI: figures were not been loaded
r583 import os
from schainpy.gui.figures import tools
Miguel Valdez
About window was added to SChainGUI...
r642 from schainpy import __version__
Miguel Valdez
Bug fixed in SchainGUI: figures were not been loaded
r583
Miguel Valdez
About window was added to SChainGUI...
r642 INITIAL_MSG = "Signal Chain GUI - v%s" %__version__
Miguel Valdez
Bug fixed in SchainGUI: figures were not been loaded
r583 FIGURES_PATH = tools.get_path()
Alexander Valdez
VERSION1-GUI...
r208 class Ui_InitWindow(object):
Alexander Valdez
ui_initwindow: ...
r373 def setupUi(self, Dialog):
Dialog.setObjectName(_fromUtf8("Dialog"))
Dialog.resize(652, 496)
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
self.gridLayout = QtGui.QGridLayout(Dialog)
Alexander Valdez
VERSION1-GUI...
r208 self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
Alexander Valdez
ui_initwindow: ...
r373 self.verticalLayout_3 = QtGui.QVBoxLayout()
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
self.verticalLayout_4 = QtGui.QVBoxLayout()
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
self.label_3 = QtGui.QLabel(Dialog)
Alexander Valdez
VERSION1-GUI...
r208 font = QtGui.QFont()
Alexander Valdez
ui_initwindow:...
r259 font.setFamily(_fromUtf8("Cambria"))
font.setPointSize(22)
font.setBold(False)
font.setWeight(50)
Alexander Valdez
ui_initwindow: ...
r373 self.label_3.setFont(font)
Miguel Valdez
Bugs fixed: Error selecting FTP parameters in Signal Chain GUI
r606 self.label_3.setText(QtGui.QApplication.translate("Dialog", INITIAL_MSG, None, QtGui.QApplication.UnicodeUTF8))
Alexander Valdez
ui_initwindow: ...
r373 self.label_3.setObjectName(_fromUtf8("label_3"))
self.verticalLayout_4.addWidget(self.label_3)
self.line_2 = QtGui.QFrame(Dialog)
self.line_2.setFrameShape(QtGui.QFrame.HLine)
self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
self.line_2.setObjectName(_fromUtf8("line_2"))
self.verticalLayout_4.addWidget(self.line_2)
self.label_4 = QtGui.QLabel(Dialog)
self.label_4.setText(_fromUtf8(""))
Miguel Valdez
Bug fixed in SchainGUI: figures were not been loaded
r583 self.label_4.setPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"w.jpg") )))
Alexander Valdez
ui_initwindow: ...
r373 self.label_4.setScaledContents(True)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.verticalLayout_4.addWidget(self.label_4)
self.verticalLayout_3.addLayout(self.verticalLayout_4)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
self.horizontalLayout_4 = QtGui.QHBoxLayout()
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
Alexander Valdez
VERSION1-GUI...
r208 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
Alexander Valdez
ui_initwindow: ...
r373 self.horizontalLayout_4.addItem(spacerItem)
self.ExitBtn = QtGui.QPushButton(Dialog)
self.ExitBtn.setText(QtGui.QApplication.translate("Dialog", "Exit", None, QtGui.QApplication.UnicodeUTF8))
Alexander Valdez
ui_initwindow:...
r259 self.ExitBtn.setObjectName(_fromUtf8("ExitBtn"))
Alexander Valdez
ui_initwindow: ...
r373 self.horizontalLayout_4.addWidget(self.ExitBtn)
self.ContinueBtn = QtGui.QPushButton(Dialog)
self.ContinueBtn.setText(QtGui.QApplication.translate("Dialog", "Continue", None, QtGui.QApplication.UnicodeUTF8))
Alexander Valdez
ui_initwindow:...
r259 self.ContinueBtn.setObjectName(_fromUtf8("ContinueBtn"))
Alexander Valdez
ui_initwindow: ...
r373 self.horizontalLayout_4.addWidget(self.ContinueBtn)
Alexander Valdez
VERSION1-GUI...
r208 spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
Alexander Valdez
ui_initwindow: ...
r373 self.horizontalLayout_4.addItem(spacerItem1)
self.horizontalLayout_3.addLayout(self.horizontalLayout_4)
self.verticalLayout_3.addLayout(self.horizontalLayout_3)
self.gridLayout.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
Alexander Valdez
VERSION1-GUI...
r208
Alexander Valdez
ui_initwindow: ...
r373 self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
Alexander Valdez
VERSION1-GUI...
r208
Alexander Valdez
ui_initwindow: ...
r373 def retranslateUi(self, Dialog):
pass
Alexander Valdez
ui_initwindow:...
r259
Alexander Valdez
VERSION1-GUI...
r208
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
Alexander Valdez
ui_initwindow: ...
r373 Dialog = QtGui.QDialog()
Alexander Valdez
VERSION1-GUI...
r208 ui = Ui_InitWindow()
Alexander Valdez
ui_initwindow: ...
r373 ui.setupUi(Dialog)
Dialog.show()
Alexander Valdez
VERSION1-GUI...
r208 sys.exit(app.exec_())
Alexander Valdez
ui_initwindow: ...
r373