📄 qt23.py
字号:
# Form implementation generated from reading ui file 'qt23.ui'
#
# Created: Mon Mar 1 09:07:01 2004
# by: The Python User Interface Compiler (pyuic) 3.6
#
# WARNING! All changes made in this file will be lost!
from qt import *
from qttable import *
class Form1(QDialog):
def __init__(self,parent = None,name = None,modal = 0,fl = 0):
QDialog.__init__(self,parent,name,modal,fl)
if name == None:
self.setName('Form1')
self.resize(456,350)
self.setCaption(self.tr("Form1"))
LayoutWidget = QWidget(self,'Layout5')
LayoutWidget.setGeometry(QRect(0,20,451,322))
Layout5 = QVBoxLayout(LayoutWidget)
Layout5.setSpacing(6)
Layout5.setMargin(0)
Layout3 = QHBoxLayout()
Layout3.setSpacing(6)
Layout3.setMargin(0)
Layout2 = QVBoxLayout()
Layout2.setSpacing(6)
Layout2.setMargin(0)
self.PushButton1 = QPushButton(LayoutWidget,'PushButton1')
self.PushButton1.setText(self.tr("refresh"))
Layout2.addWidget(self.PushButton1)
self.ListView1 = QListView(LayoutWidget,'ListView1')
self.ListView1.addColumn(self.tr("Column 1"))
item = QListViewItem(self.ListView1,None)
item.setText(0,self.tr("New Item"))
Layout2.addWidget(self.ListView1)
Layout3.addLayout(Layout2)
self.Table1 = QTable(LayoutWidget,'Table1')
Layout3.addWidget(self.Table1)
Layout5.addLayout(Layout3)
Layout4 = QHBoxLayout()
Layout4.setSpacing(6)
Layout4.setMargin(0)
self.MultiLineEdit1 = QMultiLineEdit(LayoutWidget,'MultiLineEdit1')
Layout4.addWidget(self.MultiLineEdit1)
self.PushButton2 = QPushButton(LayoutWidget,'PushButton2')
self.PushButton2.setText(self.tr("commit"))
Layout4.addWidget(self.PushButton2)
Layout5.addLayout(Layout4)
Layout1 = QHBoxLayout()
Layout1.setSpacing(6)
Layout1.setMargin(0)
self.TextLabel1 = QLabel(LayoutWidget,'TextLabel1')
self.TextLabel1.setText(self.tr("TextLabel1"))
Layout1.addWidget(self.TextLabel1)
self.PushButton3 = QPushButton(LayoutWidget,'PushButton3')
self.PushButton3.setText(self.tr("connection"))
Layout1.addWidget(self.PushButton3)
Layout5.addLayout(Layout1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -