# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'tstMain.ui'
#
# Created: Sun Sep 30 21:39:12 2007
# by: PyQt4 UI code generator 4.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_tstMain(object):
def setupUi(self, tstMain):
tstMain.setObjectName("tstMain")
tstMain.setEnabled(True)
tstMain.
resize(QtCore.
QSize(QtCore.
QRect(0,
0,
951,
394).
size()).
expandedTo(tstMain.
minimumSizeHint()))
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(tstMain.sizePolicy().hasHeightForWidth())
tstMain.setSizePolicy(sizePolicy)
tstMain.setLayoutDirection(QtCore.Qt.LeftToRight)
self.
centralwidget = QtGui.
QWidget(tstMain
) self.centralwidget.setObjectName("centralwidget")
self.
tbl_OpenFile.
setGeometry(QtCore.
QRect(110,
80,
811,
121))
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tbl_OpenFile.sizePolicy().hasHeightForWidth())
self.tbl_OpenFile.setSizePolicy(sizePolicy)
self.
tbl_OpenFile.
setMaximumSize(QtCore.
QSize(16777215,
16777215)) self.tbl_OpenFile.setLineWidth(1)
self.tbl_OpenFile.setObjectName("tbl_OpenFile")
self.
btn_OpenFile = QtGui.
QPushButton(self.
centralwidget) self.
btn_OpenFile.
setGeometry(QtCore.
QRect(20,
80,
81,
23)) self.btn_OpenFile.setObjectName("btn_OpenFile")
self.
tbl_ListShow.
setGeometry(QtCore.
QRect(20,
260,
901,
81)) self.tbl_ListShow.setObjectName("tbl_ListShow")
self.
btn_SetWorkingDir = QtGui.
QPushButton(self.
centralwidget) self.
btn_SetWorkingDir.
setGeometry(QtCore.
QRect(20,
50,
82,
23)) self.btn_SetWorkingDir.setObjectName("btn_SetWorkingDir")
self.
lnEdt_WorkingDir = QtGui.
QLineEdit(self.
centralwidget) self.lnEdt_WorkingDir.setEnabled(True)
self.
lnEdt_WorkingDir.
setGeometry(QtCore.
QRect(110,
50,
811,
20)) self.lnEdt_WorkingDir.setAutoFillBackground(False)
self.lnEdt_WorkingDir.setReadOnly(True)
self.lnEdt_WorkingDir.setObjectName("lnEdt_WorkingDir")
self.
btn_ListShow = QtGui.
QPushButton(self.
centralwidget) self.
btn_ListShow.
setGeometry(QtCore.
QRect(730,
230,
191,
23)) self.btn_ListShow.setObjectName("btn_ListShow")
tstMain.setCentralWidget(self.centralwidget)
self.
menubar.
setGeometry(QtCore.
QRect(0,
0,
951,
21)) self.menubar.setObjectName("menubar")
tstMain.setMenuBar(self.menubar)
self.statusbar.setObjectName("statusbar")
tstMain.setStatusBar(self.statusbar)
self.retranslateUi(tstMain)
def retranslateUi(self, tstMain):
tstMain.
setWindowTitle(QtGui.
QApplication.
translate("tstMain",
"My Test Application", None, QtGui.
QApplication.
UnicodeUTF8)) self.tbl_OpenFile.setRowCount(0)
self.tbl_OpenFile.clear()
self.tbl_OpenFile.setColumnCount(0)
self.tbl_OpenFile.setRowCount(0)
self.tbl_ListShow.clear()
self.tbl_ListShow.setColumnCount(0)
self.tbl_ListShow.setRowCount(0)
self.
btn_SetWorkingDir.
setText(QtGui.
QApplication.
translate("tstMain",
"Set Working Dir", None, QtGui.
QApplication.
UnicodeUTF8)) self.
lnEdt_WorkingDir.
setText(QtGui.
QApplication.
translate("tstMain",
"Working Directory NOT yet set !", None, QtGui.
QApplication.
UnicodeUTF8))
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'tstMain.ui'
#
# Created: Sun Sep 30 21:39:12 2007
# by: PyQt4 UI code generator 4.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_tstMain(object):
def setupUi(self, tstMain):
tstMain.setObjectName("tstMain")
tstMain.setEnabled(True)
tstMain.resize(QtCore.QSize(QtCore.QRect(0,0,951,394).size()).expandedTo(tstMain.minimumSizeHint()))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(tstMain.sizePolicy().hasHeightForWidth())
tstMain.setSizePolicy(sizePolicy)
tstMain.setLayoutDirection(QtCore.Qt.LeftToRight)
self.centralwidget = QtGui.QWidget(tstMain)
self.centralwidget.setObjectName("centralwidget")
self.tbl_OpenFile = QtGui.QTableWidget(self.centralwidget)
self.tbl_OpenFile.setGeometry(QtCore.QRect(110,80,811,121))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tbl_OpenFile.sizePolicy().hasHeightForWidth())
self.tbl_OpenFile.setSizePolicy(sizePolicy)
self.tbl_OpenFile.setMaximumSize(QtCore.QSize(16777215,16777215))
self.tbl_OpenFile.setLineWidth(1)
self.tbl_OpenFile.setObjectName("tbl_OpenFile")
self.btn_OpenFile = QtGui.QPushButton(self.centralwidget)
self.btn_OpenFile.setGeometry(QtCore.QRect(20,80,81,23))
self.btn_OpenFile.setObjectName("btn_OpenFile")
self.tbl_ListShow = QtGui.QTableWidget(self.centralwidget)
self.tbl_ListShow.setGeometry(QtCore.QRect(20,260,901,81))
self.tbl_ListShow.setObjectName("tbl_ListShow")
self.btn_SetWorkingDir = QtGui.QPushButton(self.centralwidget)
self.btn_SetWorkingDir.setGeometry(QtCore.QRect(20,50,82,23))
self.btn_SetWorkingDir.setObjectName("btn_SetWorkingDir")
self.lnEdt_WorkingDir = QtGui.QLineEdit(self.centralwidget)
self.lnEdt_WorkingDir.setEnabled(True)
self.lnEdt_WorkingDir.setGeometry(QtCore.QRect(110,50,811,20))
self.lnEdt_WorkingDir.setAutoFillBackground(False)
self.lnEdt_WorkingDir.setReadOnly(True)
self.lnEdt_WorkingDir.setObjectName("lnEdt_WorkingDir")
self.btn_ListShow = QtGui.QPushButton(self.centralwidget)
self.btn_ListShow.setGeometry(QtCore.QRect(730,230,191,23))
self.btn_ListShow.setObjectName("btn_ListShow")
tstMain.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(tstMain)
self.menubar.setGeometry(QtCore.QRect(0,0,951,21))
self.menubar.setObjectName("menubar")
tstMain.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(tstMain)
self.statusbar.setObjectName("statusbar")
tstMain.setStatusBar(self.statusbar)
self.retranslateUi(tstMain)
QtCore.QMetaObject.connectSlotsByName(tstMain)
def retranslateUi(self, tstMain):
tstMain.setWindowTitle(QtGui.QApplication.translate("tstMain", "My Test Application", None, QtGui.QApplication.UnicodeUTF8))
self.tbl_OpenFile.setRowCount(0)
self.tbl_OpenFile.clear()
self.tbl_OpenFile.setColumnCount(0)
self.tbl_OpenFile.setRowCount(0)
self.btn_OpenFile.setText(QtGui.QApplication.translate("tstMain", "Open File", None, QtGui.QApplication.UnicodeUTF8))
self.tbl_ListShow.clear()
self.tbl_ListShow.setColumnCount(0)
self.tbl_ListShow.setRowCount(0)
self.btn_SetWorkingDir.setText(QtGui.QApplication.translate("tstMain", "Set Working Dir", None, QtGui.QApplication.UnicodeUTF8))
self.lnEdt_WorkingDir.setText(QtGui.QApplication.translate("tstMain", "Working Directory NOT yet set !", None, QtGui.QApplication.UnicodeUTF8))
self.btn_ListShow.setText(QtGui.QApplication.translate("tstMain", "Show List", None, QtGui.QApplication.UnicodeUTF8))
To copy to clipboard, switch view to plain text mode
Bookmarks