예제 #1
0
    def setupUi(self, Fullscreen):
        Fullscreen.setObjectName("Fullscreen")
        Fullscreen.resize(1024, 409)
        self.gridLayout = QtWidgets.QGridLayout(Fullscreen)
        self.gridLayout.setObjectName("gridLayout")
        self.labelCode = QtWidgets.QLabel(Fullscreen)
        font = QtGui.QFont()
        font.setPointSize(110)
        font.setBold(True)
        self.labelCode.setFont(font)
        self.labelCode.setStyleSheet("background-color: rgb(226, 240, 255);")
        self.labelCode.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
        self.labelCode.setObjectName("labelCode")
        self.gridLayout.addWidget(self.labelCode, 0, 0, 1, 1)
        self.pushButtonClose = QtWidgets.QPushButton(Fullscreen)
        font = QtGui.QFont()
        font.setPointSize(24)
        font.setBold(True)
        self.pushButtonClose.setFont(font)
        self.pushButtonClose.setDefault(True)
        self.pushButtonClose.setObjectName("pushButtonClose")
        self.gridLayout.addWidget(self.pushButtonClose, 1, 0, 1, 1)

        self.retranslateUi(Fullscreen)
        QtCore.QMetaObject.connectSlotsByName(Fullscreen)
    def setupUi(self, DeleteAccFolderWindow):
        DeleteAccFolderWindow.setObjectName("DeleteAccFolderWindow")
        DeleteAccFolderWindow.resize(342, 108)
        font = QtGui.QFont()
        font.setFamily("Roboto")
        DeleteAccFolderWindow.setFont(font)
        self.centralwidget = QtWidgets.QWidget(DeleteAccFolderWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.bDeleteAccFolder = QtWidgets.QPushButton(self.centralwidget)
        self.bDeleteAccFolder.setGeometry(QtCore.QRect(110, 40, 121, 24))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setBold(True)
        self.bDeleteAccFolder.setFont(font)
        self.bDeleteAccFolder.setObjectName("bDeleteAccFolder")
        self.cbFolders = QtWidgets.QComboBox(self.centralwidget)
        self.cbFolders.setGeometry(QtCore.QRect(10, 10, 321, 22))
        self.cbFolders.setObjectName("cbFolders")
        DeleteAccFolderWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(DeleteAccFolderWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 342, 22))
        self.menubar.setObjectName("menubar")
        DeleteAccFolderWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(DeleteAccFolderWindow)
        self.statusbar.setObjectName("statusbar")
        DeleteAccFolderWindow.setStatusBar(self.statusbar)

        self.retranslateUi(DeleteAccFolderWindow)
        QtCore.QMetaObject.connectSlotsByName(DeleteAccFolderWindow)
    def setupUi(self, InstallerSecondWindow):
        InstallerSecondWindow.setObjectName("InstallerSecondWindow")
        InstallerSecondWindow.resize(800, 456)
        font = QtGui.QFont()
        font.setFamily("Roboto")
        InstallerSecondWindow.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("download.ico"), QtGui.QIcon.Mode.Normal,
                       QtGui.QIcon.State.Off)
        InstallerSecondWindow.setWindowIcon(icon)
        self.centralwidget = QtWidgets.QWidget(InstallerSecondWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.bFinish = QtWidgets.QPushButton(self.centralwidget)
        self.bFinish.setEnabled(False)
        self.bFinish.setGeometry(QtCore.QRect(710, 380, 75, 24))
        self.bFinish.setObjectName("bFinish")
        self.OutputLabel = QtWidgets.QLabel(self.centralwidget)
        self.OutputLabel.setGeometry(QtCore.QRect(10, 50, 81, 21))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        self.OutputLabel.setFont(font)
        self.OutputLabel.setObjectName("OutputLabel")
        self.OutputText = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.OutputText.setGeometry(QtCore.QRect(13, 80, 771, 241))
        self.OutputText.setReadOnly(True)
        self.OutputText.setObjectName("OutputText")
        self.checkRunAfterInstall = QtWidgets.QCheckBox(self.centralwidget)
        self.checkRunAfterInstall.setEnabled(False)
        self.checkRunAfterInstall.setGeometry(QtCore.QRect(20, 380, 221, 20))
        self.checkRunAfterInstall.setObjectName("checkRunAfterInstall")
        self.progressBar = QtWidgets.QProgressBar(self.centralwidget)
        self.progressBar.setGeometry(QtCore.QRect(17, 340, 761, 23))
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.checkDesktopShortcut = QtWidgets.QCheckBox(self.centralwidget)
        self.checkDesktopShortcut.setGeometry(QtCore.QRect(10, 10, 151, 20))
        self.checkDesktopShortcut.setChecked(True)
        self.checkDesktopShortcut.setObjectName("checkDesktopShortcut")
        self.checkStartMenuShortcut = QtWidgets.QCheckBox(self.centralwidget)
        self.checkStartMenuShortcut.setGeometry(QtCore.QRect(10, 30, 171, 20))
        self.checkStartMenuShortcut.setChecked(True)
        self.checkStartMenuShortcut.setObjectName("checkStartMenuShortcut")
        self.bInstall = QtWidgets.QPushButton(self.centralwidget)
        self.bInstall.setGeometry(QtCore.QRect(700, 40, 75, 24))
        self.bInstall.setObjectName("bInstall")
        InstallerSecondWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(InstallerSecondWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22))
        self.menubar.setObjectName("menubar")
        InstallerSecondWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(InstallerSecondWindow)
        self.statusbar.setObjectName("statusbar")
        InstallerSecondWindow.setStatusBar(self.statusbar)

        self.retranslateUi(InstallerSecondWindow)
        QtCore.QMetaObject.connectSlotsByName(InstallerSecondWindow)
예제 #4
0
    def setupUi(self, MainWindow):  # Установка юзер интерфейса(то, что увидит пользователь)
        MainWindow.setObjectName("MainWindow")
        MainWindow.setWindowModality(QtCore.Qt.WindowModality.NonModal)
        MainWindow.resize(355, 592)
        MainWindow.setMinimumSize(QtCore.QSize(355, 592))
        MainWindow.setMaximumSize(QtCore.QSize(355, 592))
        MainWindow.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(298, 515, 51, 51))
        self.pushButton.setObjectName("pushButton")
        self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
        self.textEdit.setGeometry(QtCore.QRect(10, 499, 281, 81))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding,
                                           QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textEdit.sizePolicy().hasHeightForWidth())
        self.textEdit.setSizePolicy(sizePolicy)
        self.textEdit.setMinimumSize(QtCore.QSize(1, 41))
        self.textEdit.setMaximumSize(QtCore.QSize(391, 120))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.textEdit.setFont(font)
        self.textEdit.setObjectName("textEdit")
        self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(10, 130, 338, 351))
        self.textBrowser.setObjectName("textBrowser")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(207, 82, 141, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lineEdit.setFont(font)
        self.lineEdit.setText("")
        self.lineEdit.setObjectName("lineEdit")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(142, 85, 61, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(123, 16, 161, 51))
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setBold(True)
        font.setUnderline(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
예제 #5
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(846, 552)
        self.gridLayout_2 = QtWidgets.QGridLayout(Form)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.splitter = QtWidgets.QSplitter(Form)
        self.splitter.setOrientation(QtCore.Qt.Orientations.Horizontal)
        self.splitter.setObjectName("splitter")
        self.widget = QtWidgets.QWidget(self.splitter)
        self.widget.setObjectName("widget")
        self.gridLayout = QtWidgets.QGridLayout(self.widget)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.exampleTree = QtWidgets.QTreeWidget(self.widget)
        self.exampleTree.setObjectName("exampleTree")
        self.exampleTree.headerItem().setText(0, "1")
        self.exampleTree.header().setVisible(False)
        self.gridLayout.addWidget(self.exampleTree, 0, 0, 1, 2)
        self.qtLibCombo = QtWidgets.QComboBox(self.widget)
        self.qtLibCombo.setObjectName("qtLibCombo")
        self.qtLibCombo.addItem("")
        self.qtLibCombo.addItem("")
        self.qtLibCombo.addItem("")
        self.qtLibCombo.addItem("")
        self.qtLibCombo.addItem("")
        self.gridLayout.addWidget(self.qtLibCombo, 1, 1, 1, 1)
        self.label = QtWidgets.QLabel(self.widget)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.loadBtn = QtWidgets.QPushButton(self.widget)
        self.loadBtn.setObjectName("loadBtn")
        self.gridLayout.addWidget(self.loadBtn, 3, 1, 1, 1)
        self.widget1 = QtWidgets.QWidget(self.splitter)
        self.widget1.setObjectName("widget1")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.widget1)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.loadedFileLabel = QtWidgets.QLabel(self.widget1)
        font = QtGui.QFont()
        font.setBold(True)
        self.loadedFileLabel.setFont(font)
        self.loadedFileLabel.setText("")
        self.loadedFileLabel.setAlignment(QtCore.Qt.Alignment.AlignCenter)
        self.loadedFileLabel.setObjectName("loadedFileLabel")
        self.verticalLayout.addWidget(self.loadedFileLabel)
        self.codeView = QtWidgets.QPlainTextEdit(self.widget1)
        font = QtGui.QFont()
        font.setFamily("Courier New")
        self.codeView.setFont(font)
        self.codeView.setObjectName("codeView")
        self.verticalLayout.addWidget(self.codeView)
        self.gridLayout_2.addWidget(self.splitter, 0, 0, 1, 1)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
예제 #6
0
    def setupUi(self, RemoveAccInFolderWindow):
        RemoveAccInFolderWindow.setObjectName("RemoveAccInFolderWindow")
        RemoveAccInFolderWindow.resize(544, 138)
        font = QtGui.QFont()
        font.setFamily("Roboto")
        RemoveAccInFolderWindow.setFont(font)
        self.centralwidget = QtWidgets.QWidget(RemoveAccInFolderWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.bRemoveAccInFolder = QtWidgets.QPushButton(self.centralwidget)
        self.bRemoveAccInFolder.setGeometry(QtCore.QRect(200, 70, 151, 24))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setBold(True)
        self.bRemoveAccInFolder.setFont(font)
        self.bRemoveAccInFolder.setObjectName("bRemoveAccInFolder")
        self.FolderNameLabel = QtWidgets.QLabel(self.centralwidget)
        self.FolderNameLabel.setGeometry(QtCore.QRect(10, 10, 111, 20))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setBold(True)
        self.FolderNameLabel.setFont(font)
        self.FolderNameLabel.setObjectName("FolderNameLabel")
        self.AccountsLabel = QtWidgets.QLabel(self.centralwidget)
        self.AccountsLabel.setGeometry(QtCore.QRect(10, 40, 111, 16))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setBold(True)
        self.AccountsLabel.setFont(font)
        self.AccountsLabel.setObjectName("AccountsLabel")
        self.cbFolders = QtWidgets.QComboBox(self.centralwidget)
        self.cbFolders.setGeometry(QtCore.QRect(120, 10, 331, 22))
        self.cbFolders.setObjectName("cbFolders")
        self.bGetAcc = QtWidgets.QPushButton(self.centralwidget)
        self.bGetAcc.setGeometry(QtCore.QRect(460, 10, 71, 24))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setBold(True)
        self.bGetAcc.setFont(font)
        self.bGetAcc.setObjectName("bGetAcc")
        self.cbAccounts = QtWidgets.QComboBox(self.centralwidget)
        self.cbAccounts.setGeometry(QtCore.QRect(120, 40, 411, 22))
        self.cbAccounts.setObjectName("cbAccounts")
        RemoveAccInFolderWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(RemoveAccInFolderWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 544, 22))
        self.menubar.setObjectName("menubar")
        RemoveAccInFolderWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(RemoveAccInFolderWindow)
        self.statusbar.setObjectName("statusbar")
        RemoveAccInFolderWindow.setStatusBar(self.statusbar)

        self.retranslateUi(RemoveAccInFolderWindow)
        QtCore.QMetaObject.connectSlotsByName(RemoveAccInFolderWindow)
    def setupUi(self, GenerateStrongPassWindow):
        GenerateStrongPassWindow.setObjectName("GenerateStrongPassWindow")
        GenerateStrongPassWindow.resize(534, 143)
        font = QtGui.QFont()
        font.setFamily("Roboto")
        GenerateStrongPassWindow.setFont(font)
        self.centralwidget = QtWidgets.QWidget(GenerateStrongPassWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.NumberOfCharsInput = QtWidgets.QLineEdit(self.centralwidget)
        self.NumberOfCharsInput.setGeometry(QtCore.QRect(160, 10, 201, 22))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        self.NumberOfCharsInput.setFont(font)
        self.NumberOfCharsInput.setObjectName("NumberOfCharsInput")
        self.bGenerateStrongPass = QtWidgets.QPushButton(self.centralwidget)
        self.bGenerateStrongPass.setGeometry(QtCore.QRect(370, 10, 151, 24))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setBold(True)
        self.bGenerateStrongPass.setFont(font)
        self.bGenerateStrongPass.setObjectName("bGenerateStrongPass")
        self.NumberOfCharsLabel = QtWidgets.QLabel(self.centralwidget)
        self.NumberOfCharsLabel.setGeometry(QtCore.QRect(10, 10, 141, 20))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setBold(True)
        self.NumberOfCharsLabel.setFont(font)
        self.NumberOfCharsLabel.setObjectName("NumberOfCharsLabel")
        self.OutputLabel = QtWidgets.QLabel(self.centralwidget)
        self.OutputLabel.setGeometry(QtCore.QRect(240, 40, 61, 20))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setBold(True)
        self.OutputLabel.setFont(font)
        self.OutputLabel.setObjectName("OutputLabel")
        self.OutputText = QtWidgets.QLineEdit(self.centralwidget)
        self.OutputText.setGeometry(QtCore.QRect(12, 70, 511, 22))
        self.OutputText.setReadOnly(True)
        self.OutputText.setObjectName("OutputText")
        GenerateStrongPassWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(GenerateStrongPassWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 534, 22))
        self.menubar.setObjectName("menubar")
        GenerateStrongPassWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(GenerateStrongPassWindow)
        self.statusbar.setObjectName("statusbar")
        GenerateStrongPassWindow.setStatusBar(self.statusbar)

        self.retranslateUi(GenerateStrongPassWindow)
        QtCore.QMetaObject.connectSlotsByName(GenerateStrongPassWindow)
예제 #8
0
    def setupUi(self, ImportWindow):
        ImportWindow.setObjectName("ImportWindow")
        ImportWindow.resize(590, 519)
        self.gridLayout_3 = QtWidgets.QGridLayout(ImportWindow)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.ButtonImport = QtWidgets.QPushButton(ImportWindow)
        self.ButtonImport.setObjectName("ButtonImport")
        self.horizontalLayout.addWidget(self.ButtonImport)
        self.ButtonClose = QtWidgets.QPushButton(ImportWindow)
        self.ButtonClose.setObjectName("ButtonClose")
        self.horizontalLayout.addWidget(self.ButtonClose)
        self.gridLayout_3.addLayout(self.horizontalLayout, 5, 1, 1, 1)
        self.label = QtWidgets.QLabel(ImportWindow)
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.gridLayout_3.addWidget(self.label, 1, 0, 1, 1)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_3 = QtWidgets.QLabel(ImportWindow)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 0, 0, 1, 1)
        self.spinBoxRuntime = QtWidgets.QSpinBox(ImportWindow)
        self.spinBoxRuntime.setMaximumSize(QtCore.QSize(40, 16777215))
        self.spinBoxRuntime.setProperty("value", 1)
        self.spinBoxRuntime.setObjectName("spinBoxRuntime")
        self.gridLayout_2.addWidget(self.spinBoxRuntime, 0, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(ImportWindow)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 2, 1, 1)
        self.gridLayout_3.addLayout(self.gridLayout_2, 4, 0, 1, 1)
        self.plainTextEditCodes = QtWidgets.QPlainTextEdit(ImportWindow)
        self.plainTextEditCodes.setObjectName("plainTextEditCodes")
        self.gridLayout_3.addWidget(self.plainTextEditCodes, 3, 0, 1, 2)
        self.label_2 = QtWidgets.QLabel(ImportWindow)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.gridLayout_3.addWidget(self.label_2, 0, 0, 1, 2)
        self.label_5 = QtWidgets.QLabel(ImportWindow)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setItalic(True)
        self.label_5.setFont(font)
        self.label_5.setWordWrap(True)
        self.label_5.setObjectName("label_5")
        self.gridLayout_3.addWidget(self.label_5, 2, 0, 1, 2)

        self.retranslateUi(ImportWindow)
        QtCore.QMetaObject.connectSlotsByName(ImportWindow)
예제 #9
0
    def setupUi(self, AddStyleWindow):
        AddStyleWindow.setObjectName("AddStyleWindow")
        AddStyleWindow.resize(609, 366)
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setBold(False)
        AddStyleWindow.setFont(font)
        self.centralwidget = QtWidgets.QWidget(AddStyleWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.bAddStyle = QtWidgets.QPushButton(self.centralwidget)
        self.bAddStyle.setGeometry(QtCore.QRect(500, 300, 91, 24))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(9)
        font.setBold(True)
        self.bAddStyle.setFont(font)
        self.bAddStyle.setObjectName("bAddStyle")
        self.StyleTextLabel = QtWidgets.QLabel(self.centralwidget)
        self.StyleTextLabel.setGeometry(QtCore.QRect(10, 10, 91, 20))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setBold(True)
        self.StyleTextLabel.setFont(font)
        self.StyleTextLabel.setObjectName("StyleTextLabel")
        self.ptStyleText = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.ptStyleText.setGeometry(QtCore.QRect(10, 40, 591, 251))
        self.ptStyleText.setObjectName("ptStyleText")
        self.SyleNameLabel = QtWidgets.QLabel(self.centralwidget)
        self.SyleNameLabel.setGeometry(QtCore.QRect(10, 300, 111, 20))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setBold(True)
        self.SyleNameLabel.setFont(font)
        self.SyleNameLabel.setObjectName("SyleNameLabel")
        self.StyleNameText = QtWidgets.QLineEdit(self.centralwidget)
        self.StyleNameText.setGeometry(QtCore.QRect(120, 300, 191, 22))
        self.StyleNameText.setObjectName("StyleNameText")
        AddStyleWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(AddStyleWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 609, 22))
        self.menubar.setObjectName("menubar")
        AddStyleWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(AddStyleWindow)
        self.statusbar.setObjectName("statusbar")
        AddStyleWindow.setStatusBar(self.statusbar)

        self.retranslateUi(AddStyleWindow)
        QtCore.QMetaObject.connectSlotsByName(AddStyleWindow)
예제 #10
0
    def setupUi(self, MainWindow):
        MainWindow.setFixedSize(480, 500)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.scrollArea = QtWidgets.QScrollArea(self.centralwidget)
        self.scrollArea.setGeometry(QtCore.QRect(80, 20, 331, 181))
        self.scrollArea.setWidgetResizable(True)
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 329, 179))
        self.verticalLayout = QtWidgets.QVBoxLayout(
            self.scrollAreaWidgetContents)
        self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label.setFont(font)
        self.label.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
        self.label.setAlignment(QtCore.Qt.Alignment.AlignCenter)
        self.verticalLayout.addWidget(self.label)
        self.label_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_2.setFont(font)
        self.label_2.setAlignment(QtCore.Qt.Alignment.AlignCenter)
        self.verticalLayout.addWidget(self.label_2)
        self.label_3 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_3.setFont(font)
        self.label_3.setAlignment(QtCore.Qt.Alignment.AlignCenter)
        self.verticalLayout.addWidget(self.label_3)
        self.label_4 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_4.setFont(font)
        self.label_4.setAlignment(QtCore.Qt.Alignment.AlignCenter)
        self.verticalLayout.addWidget(self.label_4)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(80, 220, 331, 51))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton.setFont(font)
        self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_2.setGeometry(QtCore.QRect(80, 290, 331, 51))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_2.setFont(font)
        self.pushButton_3 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_3.setGeometry(QtCore.QRect(80, 360, 331, 51))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.pushButton_3.setFont(font)
        self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_4.setGeometry(QtCore.QRect(80, 430, 331, 51))
        font = QtGui.QFont()
        font.setPointSize(9)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
예제 #11
0
    def setupUi(self, AccInFolderListWindow):
        AccInFolderListWindow.setObjectName("AccInFolderListWindow")
        AccInFolderListWindow.resize(802, 358)
        font = QtGui.QFont()
        font.setFamily("Roboto")
        AccInFolderListWindow.setFont(font)
        self.centralwidget = QtWidgets.QWidget(AccInFolderListWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.AccInFolderListText = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.AccInFolderListText.setEnabled(True)
        self.AccInFolderListText.setGeometry(QtCore.QRect(10, 30, 781, 271))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setBold(True)
        self.AccInFolderListText.setFont(font)
        self.AccInFolderListText.setReadOnly(True)
        self.AccInFolderListText.setObjectName("AccInFolderListText")
        self.FolderNameLabel = QtWidgets.QLabel(self.centralwidget)
        self.FolderNameLabel.setGeometry(QtCore.QRect(10, 0, 121, 21))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setBold(True)
        self.FolderNameLabel.setFont(font)
        self.FolderNameLabel.setObjectName("FolderNameLabel")
        self.bListAccounts = QtWidgets.QPushButton(self.centralwidget)
        self.bListAccounts.setGeometry(QtCore.QRect(670, 0, 121, 24))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setBold(True)
        self.bListAccounts.setFont(font)
        self.bListAccounts.setObjectName("bListAccounts")
        self.cbFolders = QtWidgets.QComboBox(self.centralwidget)
        self.cbFolders.setGeometry(QtCore.QRect(130, 0, 531, 22))
        self.cbFolders.setObjectName("cbFolders")
        AccInFolderListWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(AccInFolderListWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 802, 22))
        self.menubar.setObjectName("menubar")
        AccInFolderListWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(AccInFolderListWindow)
        self.statusbar.setObjectName("statusbar")
        AccInFolderListWindow.setStatusBar(self.statusbar)

        self.retranslateUi(AccInFolderListWindow)
        QtCore.QMetaObject.connectSlotsByName(AccInFolderListWindow)
예제 #12
0
    def initUI(self):
        vbox = QtWidgets.QVBoxLayout()
        self.setLayout(vbox)

        hbox = QtWidgets.QHBoxLayout()
        self.btnOpen = QtWidgets.QPushButton("OpenDocument", self)
        self.btnOpen.clicked.connect(self.openDoc)
        hbox.addWidget(self.btnOpen)

        self.btnPlay = QtWidgets.QPushButton("PlayDocument", self)
        self.btnPlay.clicked.connect(self.playDoc)
        hbox.addWidget(self.btnPlay)

        self.btnStop = QtWidgets.QPushButton("Stop", self)
        self.btnStop.clicked.connect(self.stopPlay)
        hbox.addWidget(self.btnStop)

        self.label = QtWidgets.QLabel("0/0", self)
        self.label.setFont(QtGui.QFont("Verdana", 20))
        hbox.addWidget(self.label)

        vbox.addLayout(hbox)

        self.labelImg = QtWidgets.QLabel("Document", self)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding
        )
        self.labelImg.setSizePolicy(sizePolicy)
        vbox.addWidget(self.labelImg)

        self.setGeometry(100, 100, 400, 600)
        self.setWindowTitle("PyMuPDF Document Player")
        self.show()
예제 #13
0
    def setupUi(self, Login):
        Login.setObjectName("Login")
        Login.resize(262, 131)
        self.gridLayout = QtWidgets.QGridLayout(Login)
        self.gridLayout.setObjectName("gridLayout")
        self.label_2 = QtWidgets.QLabel(Login)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.pushButtonOK = QtWidgets.QPushButton(Login)
        self.pushButtonOK.setObjectName("pushButtonOK")
        self.gridLayout.addWidget(self.pushButtonOK, 3, 0, 1, 1)
        self.label = QtWidgets.QLabel(Login)
        font = QtGui.QFont()
        font.setBold(True)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.pushButtonAbbrechen = QtWidgets.QPushButton(Login)
        self.pushButtonAbbrechen.setObjectName("pushButtonAbbrechen")
        self.gridLayout.addWidget(self.pushButtonAbbrechen, 3, 1, 1, 1)
        self.lineEditPW = QtWidgets.QLineEdit(Login)
        self.lineEditPW.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
        self.lineEditPW.setObjectName("lineEditPW")
        self.gridLayout.addWidget(self.lineEditPW, 2, 0, 1, 2)

        self.retranslateUi(Login)
        QtCore.QMetaObject.connectSlotsByName(Login)
예제 #14
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.setEnabled(True)
        MainWindow.resize(331, 521)
        MainWindow.setMaximumSize(QtCore.QSize(331, 521))
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(290, 460, 31, 41))
        self.pushButton.setObjectName("pushButton")
        self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
        self.textEdit.setGeometry(QtCore.QRect(10, 450, 271, 61))
        self.textEdit.setObjectName("textEdit")
        self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(10, 80, 311, 361))
        self.textBrowser.setObjectName("textBrowser")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(180, 50, 141, 21))
        self.lineEdit.setObjectName("lineEdit")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(100, 50, 71, 20))
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(10, 10, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(24)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
예제 #15
0
    def setupUi(self, Warning):
        Warning.setObjectName("Warning")
        Warning.setWindowModality(
            QtCore.Qt.WindowModality.WindowModality.ApplicationModal)
        Warning.resize(400, 300)
        self.buttonBox = QtWidgets.QDialogButtonBox(Warning)
        self.buttonBox.setGeometry(QtCore.QRect(30, 250, 341, 32))
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(
            QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.title = QtWidgets.QLabel(Warning)
        self.title.setGeometry(QtCore.QRect(20, 30, 361, 31))
        font = QtGui.QFont()
        font.setPointSize(24)
        self.title.setFont(font)
        self.title.setObjectName("title")
        self.message = QtWidgets.QLabel(Warning)
        self.message.setGeometry(QtCore.QRect(20, 80, 361, 151))
        self.message.setWordWrap(True)
        self.message.setObjectName("message")

        self.retranslateUi(Warning)
        self.buttonBox.accepted.connect(Warning.accept)
        self.buttonBox.rejected.connect(Warning.reject)
        QtCore.QMetaObject.connectSlotsByName(Warning)
예제 #16
0
    def __init__(self, comic_info: ComicInfo, tab_widget: QTabWidget, down_v_box_layout: QVBoxLayout):
        super().__init__()
        self.tabWidget = tab_widget
        self.comicInfo = comic_info
        self.down_v_box_layout = down_v_box_layout
        self.setMinimumHeight(200)
        # 图片
        img = QImage.fromData(comic_info.cover)
        self.img_label = QLabel(self)
        self.img_label.setScaledContents(True)
        w, h = image_resize(comic_info.cover, height=200)
        self.img_label.resize(QtCore.QSize(w, h))
        self.img_label.setGeometry(5, 5, w, h)
        self.img_label.setPixmap(QPixmap.fromImage(img))
        # self.img_label.setPixmap(QtGui.QPixmap("/Users/bo/my/tmp/老夫子2/第1卷/1.jpg"))
        # 标题
        self.title = ButtonQLabel(self)
        self.title.onclick(self.add_tab)
        self.title.setText(comic_info.title)
        self.title.setGeometry(180, 10, 550, 35)
        title_font = QtGui.QFont()
        title_font.setPointSize(30)
        title_font.setBold(True)
        title_font.setUnderline(True)
        self.title.setFont(title_font)
        self.title.setCursor(QtGui.QCursor(QtCore.Qt.CursorShape.PointingHandCursor))

        # 作者
        self.author = QLabel(self)
        self.author.setText("作者 : " + comic_info.author)
        self.author.setGeometry(180, 50, 250, 20)
        # 状态
        self.status = QLabel(self)
        self.status.setText("更新状态 : " + comic_info.status)
        self.status.setGeometry(500, 50, 150, 20)
        # 热度
        self.status = QLabel(self)
        self.status.setText("热度 : " + str(comic_info.heat))
        self.status.setGeometry(800, 50, 100, 20)

        # 类型
        self.tip = QLabel(self)
        self.tip.setText("类型 : " + comic_info.tip)
        self.tip.setGeometry(180, 70, 250, 20)

        # web
        self.domain = QLabel(self)
        self.domain.setText(f"查看原网页 : {comic_info.domain}")
        self.domain.setText(f'查看原网页 : <a href="{comic_info.url}">{comic_info.domain}</a>')
        self.domain.setGeometry(500, 70, 250, 20)
        self.domain.setOpenExternalLinks(True)

        # 描述
        self.describe = QLabel(self)
        self.describe.setText("  " + comic_info.describe)
        self.describe.setGeometry(180, 90, 664, 110)
        self.describe.setWordWrap(True)
        # 对齐方式
        self.describe.setAlignment(
            QtCore.Qt.AlignmentFlag.AlignLeading | QtCore.Qt.AlignmentFlag.AlignLeft | QtCore.Qt.AlignmentFlag.AlignTop)
예제 #17
0
파일: clientui.py 프로젝트: afroll/learnpy
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(400, 466)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(40, 10, 101, 31))
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
        self.textEdit.setGeometry(QtCore.QRect(40, 390, 261, 31))
        self.textEdit.setObjectName("textEdit")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(320, 390, 31, 32))
        self.pushButton.setObjectName("pushButton")
        self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(40, 80, 321, 291))
        self.textBrowser.setObjectName("textBrowser")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(248, 50, 113, 21))
        self.lineEdit.setObjectName("lineEdit")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(178, 52, 71, 16))
        self.label_2.setObjectName("label_2")
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
예제 #18
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(633, 458)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(190, 10, 251, 41))
        font = QtGui.QFont()
        font.setPointSize(28)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.Alignment.AlignCenter)
        self.label.setObjectName("label")
        self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
        self.textEdit.setGeometry(QtCore.QRect(10, 390, 531, 41))
        self.textEdit.setObjectName("textEdit")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(550, 385, 77, 54))
        self.pushButton.setObjectName("pushButton")
        self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(10, 90, 611, 290))
        self.textBrowser.setObjectName("textBrowser")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(372, 60, 249, 21))
        self.lineEdit.setObjectName("lineEdit")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(340, 60, 31, 16))
        self.label_2.setObjectName("label_2")
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
예제 #19
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(371, 460)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(310, 400, 41, 32))
        self.pushButton.setObjectName("pushButton")
        self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
        self.textEdit.setGeometry(QtCore.QRect(20, 390, 271, 51))
        self.textEdit.setPlaceholderText("")
        self.textEdit.setObjectName("textEdit")
        self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(20, 70, 331, 301))
        self.textBrowser.setObjectName("textBrowser")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(238, 33, 113, 21))
        self.lineEdit.setObjectName("lineEdit")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(200, 35, 31, 16))
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(20, 10, 171, 41))
        font = QtGui.QFont()
        font.setPointSize(24)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
예제 #20
0
    def setup_ui(self, main_window):
        main_window.setObjectName("MainWindow")
        main_window.resize(420, 443)
        self.centralwidget = QtWidgets.QWidget(main_window)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(340, 364, 51, 41))
        self.pushButton.setObjectName("pushButton")
        self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
        self.textEdit.setGeometry(QtCore.QRect(30, 364, 301, 41))
        self.textEdit.setObjectName("textEdit")
        self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(30, 90, 361, 261))
        self.textBrowser.setObjectName("textBrowser")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(90, 0, 231, 41))
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(278, 58, 113, 21))
        self.lineEdit.setObjectName("lineEdit")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(205, 60, 71, 16))
        self.label_2.setObjectName("label_2")
        main_window.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(main_window)
        self.statusbar.setObjectName("statusbar")
        main_window.setStatusBar(self.statusbar)

        self.retranslateUi(main_window)
        QtCore.QMetaObject.connectSlotsByName(main_window)
예제 #21
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(153, 200)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(20, 150, 113, 32))
        self.pushButton.setObjectName("pushButton")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(20, 20, 111, 61))
        font = QtGui.QFont()
        font.setPointSize(20)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
        self.label.setObjectName("label")
        self.minValue = QtWidgets.QLineEdit(self.centralwidget)
        self.minValue.setGeometry(QtCore.QRect(20, 90, 113, 21))
        self.minValue.setObjectName("minValue")
        self.maxValue = QtWidgets.QLineEdit(self.centralwidget)
        self.maxValue.setGeometry(QtCore.QRect(20, 120, 113, 21))
        self.maxValue.setObjectName("maxValue")
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
예제 #22
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(377, 457)
        MainWindow.setMinimumSize(QtCore.QSize(354, 457))
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(320, 370, 31, 28))
        self.pushButton.setObjectName("pushButton")
        self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
        self.textEdit.setGeometry(QtCore.QRect(30, 360, 281, 51))
        self.textEdit.setObjectName("textEdit")
        self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(30, 100, 321, 251))
        self.textBrowser.setObjectName("textBrowser")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(240, 60, 113, 22))
        self.lineEdit.setObjectName("lineEdit")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(140, 60, 71, 16))
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(40, 20, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
예제 #23
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(400, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(325, 530, 50, 50))
        self.pushButton.setObjectName("pushButton")
        self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
        self.textEdit.setGeometry(QtCore.QRect(25, 530, 290, 50))
        self.textEdit.setObjectName("textEdit")
        self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(25, 90, 350, 425))
        self.textBrowser.setObjectName("textBrowser")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(220, 60, 150, 25))
        self.lineEdit.setObjectName("lineEdit")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(160, 60, 50, 25))
        font = QtGui.QFont()
        font.setFamily("Montserrat")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.Alignment.AlignCenter)
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(100, 20, 200, 25))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setFamily("Montserrat")
        font.setPointSize(15)
        font.setBold(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setScaledContents(False)
        self.label_2.setAlignment(QtCore.Qt.Alignment.AlignCenter)
        self.label_2.setObjectName("label_2")
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
예제 #24
0
    def setupUi(self, Einstellungen):
        Einstellungen.setObjectName("Einstellungen")
        Einstellungen.setWindowModality(QtCore.Qt.WindowModality.ApplicationModal)
        Einstellungen.resize(276, 229)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(".\\ui\\../images/icon.ico"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
        Einstellungen.setWindowIcon(icon)
        self.gridLayout_2 = QtWidgets.QGridLayout(Einstellungen)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.pushButtonOK = QtWidgets.QPushButton(Einstellungen)
        self.pushButtonOK.setDefault(True)
        self.pushButtonOK.setObjectName("pushButtonOK")
        self.gridLayout.addWidget(self.pushButtonOK, 0, 0, 1, 1)
        self.pushButtonAbbrechen = QtWidgets.QPushButton(Einstellungen)
        self.pushButtonAbbrechen.setObjectName("pushButtonAbbrechen")
        self.gridLayout.addWidget(self.pushButtonAbbrechen, 0, 1, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 8, 0, 1, 1)
        self.label = QtWidgets.QLabel(Einstellungen)
        font = QtGui.QFont()
        font.setBold(True)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(Einstellungen)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.lineEditAktPW = QtWidgets.QLineEdit(Einstellungen)
        self.lineEditAktPW.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
        self.lineEditAktPW.setClearButtonEnabled(True)
        self.lineEditAktPW.setObjectName("lineEditAktPW")
        self.gridLayout_2.addWidget(self.lineEditAktPW, 2, 0, 1, 1)
        self.lineEditNeuPW = QtWidgets.QLineEdit(Einstellungen)
        self.lineEditNeuPW.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
        self.lineEditNeuPW.setClearButtonEnabled(True)
        self.lineEditNeuPW.setObjectName("lineEditNeuPW")
        self.gridLayout_2.addWidget(self.lineEditNeuPW, 4, 0, 1, 1)
        self.lineEditWdhNeuPW = QtWidgets.QLineEdit(Einstellungen)
        self.lineEditWdhNeuPW.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
        self.lineEditWdhNeuPW.setClearButtonEnabled(True)
        self.lineEditWdhNeuPW.setObjectName("lineEditWdhNeuPW")
        self.gridLayout_2.addWidget(self.lineEditWdhNeuPW, 6, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(Einstellungen)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 5, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(Einstellungen)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 3, 0, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 7, 0, 1, 1)

        self.retranslateUi(Einstellungen)
        QtCore.QMetaObject.connectSlotsByName(Einstellungen)
        Einstellungen.setTabOrder(self.lineEditAktPW, self.lineEditNeuPW)
        Einstellungen.setTabOrder(self.lineEditNeuPW, self.lineEditWdhNeuPW)
        Einstellungen.setTabOrder(self.lineEditWdhNeuPW, self.pushButtonOK)
        Einstellungen.setTabOrder(self.pushButtonOK, self.pushButtonAbbrechen)
예제 #25
0
    def setupUi(self, ConfirmationWindow):
        ConfirmationWindow.setObjectName("ConfirmationWindow")
        ConfirmationWindow.resize(395, 108)
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setStyleStrategy(QtGui.QFont.StyleStrategy.PreferAntialias)
        ConfirmationWindow.setFont(font)
        self.centralwidget = QtWidgets.QWidget(ConfirmationWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.QuestionLabel = QtWidgets.QLabel(self.centralwidget)
        self.QuestionLabel.setGeometry(QtCore.QRect(8, 0, 381, 20))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setStyleStrategy(QtGui.QFont.StyleStrategy.PreferDefault)
        self.QuestionLabel.setFont(font)
        self.QuestionLabel.setAlignment(QtCore.Qt.Alignment.AlignCenter)
        self.QuestionLabel.setObjectName("QuestionLabel")
        self.bYes = QtWidgets.QPushButton(self.centralwidget)
        self.bYes.setGeometry(QtCore.QRect(120, 40, 75, 24))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setStyleStrategy(QtGui.QFont.StyleStrategy.PreferAntialias)
        self.bYes.setFont(font)
        self.bYes.setObjectName("bYes")
        self.bNo = QtWidgets.QPushButton(self.centralwidget)
        self.bNo.setGeometry(QtCore.QRect(200, 40, 75, 24))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setStyleStrategy(QtGui.QFont.StyleStrategy.PreferAntialias)
        self.bNo.setFont(font)
        self.bNo.setObjectName("bNo")
        ConfirmationWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(ConfirmationWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 395, 22))
        self.menubar.setObjectName("menubar")
        ConfirmationWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(ConfirmationWindow)
        self.statusbar.setObjectName("statusbar")
        ConfirmationWindow.setStatusBar(self.statusbar)

        self.retranslateUi(ConfirmationWindow)
        QtCore.QMetaObject.connectSlotsByName(ConfirmationWindow)
예제 #26
0
파일: clientui.py 프로젝트: ELENA-VM/study
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(334, 342)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(0, 0, 330, 31))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.Alignment.AlignCenter)
        self.label.setObjectName("label")
        self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
        self.textEdit.setGeometry(QtCore.QRect(10, 280, 281, 31))
        self.textEdit.setObjectName("textEdit")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(300, 280, 21, 31))
        self.pushButton.setObjectName("pushButton")
        self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(10, 70, 311, 193))
        self.textBrowser.setObjectName("textBrowser")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(210, 40, 111, 20))
        self.lineEdit.setObjectName("lineEdit")
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setGeometry(QtCore.QRect(10, 40, 191, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_3.setFont(font)
        self.label_3.setAlignment(QtCore.Qt.Alignment.AlignRight
                                  | QtCore.Qt.Alignment.AlignTrailing
                                  | QtCore.Qt.Alignment.AlignVCenter)
        self.label_3.setObjectName("label_3")
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.lineEdit, self.textBrowser)
        MainWindow.setTabOrder(self.textBrowser, self.pushButton)
        MainWindow.setTabOrder(self.pushButton, self.textEdit)
예제 #27
0
    def setupUi(self, Messenger):
        Messenger.setObjectName("Messenger")
        Messenger.resize(340, 340)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed,
                                           QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            Messenger.sizePolicy().hasHeightForWidth())
        Messenger.setSizePolicy(sizePolicy)
        Messenger.setMinimumSize(QtCore.QSize(340, 340))
        Messenger.setMaximumSize(QtCore.QSize(340, 340))
        self.centralwidget = QtWidgets.QWidget(Messenger)
        self.centralwidget.setObjectName("centralwidget")
        self.sendMsg = QtWidgets.QPushButton(self.centralwidget)
        self.sendMsg.setGeometry(QtCore.QRect(280, 280, 40, 40))
        self.sendMsg.setObjectName("sendMsg")
        self.inputMsg = QtWidgets.QTextEdit(self.centralwidget)
        self.inputMsg.setGeometry(QtCore.QRect(20, 280, 250, 40))
        self.inputMsg.setObjectName("inputMsg")
        self.outputMsg = QtWidgets.QTextBrowser(self.centralwidget)
        self.outputMsg.setGeometry(QtCore.QRect(20, 60, 300, 200))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.outputMsg.setFont(font)
        self.outputMsg.setObjectName("outputMsg")
        self.inputName = QtWidgets.QLineEdit(self.centralwidget)
        self.inputName.setGeometry(QtCore.QRect(220, 20, 100, 20))
        self.inputName.setObjectName("inputName")
        self.labelName = QtWidgets.QLabel(self.centralwidget)
        self.labelName.setGeometry(QtCore.QRect(155, 20, 60, 20))
        self.labelName.setObjectName("labelName")
        self.labelMessenger = QtWidgets.QLabel(self.centralwidget)
        self.labelMessenger.setGeometry(QtCore.QRect(20, 8, 110, 40))
        font = QtGui.QFont()
        font.setPointSize(16)
        self.labelMessenger.setFont(font)
        self.labelMessenger.setObjectName("labelMessenger")
        Messenger.setCentralWidget(self.centralwidget)

        self.retranslateUi(Messenger)
        QtCore.QMetaObject.connectSlotsByName(Messenger)
예제 #28
0
    def setupUi(self, drctryChoice):
        drctryChoice.setObjectName("drctryChoice")
        drctryChoice.resize(706, 95)
        font = QtGui.QFont()
        font.setFamily("Calibri")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        drctryChoice.setFont(font)
        drctryChoice.setStyleSheet("background-color: rgb(61, 255, 200);\n"
                                   "border-color: rgb(7, 7, 7);")
        self.lineEdit = QtWidgets.QLineEdit(drctryChoice)
        self.lineEdit.setGeometry(QtCore.QRect(200, 27, 381, 41))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.lineEdit.setFont(font)
        self.lineEdit.setStyleSheet("background-color: rgb(255, 255, 255);\n"
                                    "color: rgb(0, 0, 0);")
        self.lineEdit.setText("")
        self.lineEdit.setObjectName("lineEdit")
        self.pushButton = QtWidgets.QPushButton(drctryChoice)
        self.pushButton.setGeometry(QtCore.QRect(600, 33, 93, 29))
        font = QtGui.QFont()
        font.setFamily("Calibri")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.pushButton.setFont(font)
        self.pushButton.setStyleSheet("background-color: rgb(255, 255, 255);")
        self.pushButton.setObjectName("pushButton")
        self.label = QtWidgets.QLabel(drctryChoice)
        self.label.setGeometry(QtCore.QRect(10, 37, 161, 21))
        font = QtGui.QFont()
        font.setFamily("Calibri")
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName("label")

        self.retranslateUi(drctryChoice)
        QtCore.QMetaObject.connectSlotsByName(drctryChoice)
예제 #29
0
    def setupUi(self, CreateAccFolderWindow):
        CreateAccFolderWindow.setObjectName("CreateAccFolderWindow")
        CreateAccFolderWindow.resize(342, 108)
        font = QtGui.QFont()
        font.setFamily("Roboto")
        CreateAccFolderWindow.setFont(font)
        self.centralwidget = QtWidgets.QWidget(CreateAccFolderWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.FolderNameInput = QtWidgets.QLineEdit(self.centralwidget)
        self.FolderNameInput.setGeometry(QtCore.QRect(50, 10, 281, 22))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        self.FolderNameInput.setFont(font)
        self.FolderNameInput.setObjectName("FolderNameInput")
        self.bCreateAccFolder = QtWidgets.QPushButton(self.centralwidget)
        self.bCreateAccFolder.setGeometry(QtCore.QRect(110, 40, 121, 24))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setBold(True)
        self.bCreateAccFolder.setFont(font)
        self.bCreateAccFolder.setObjectName("bCreateAccFolder")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(0, 10, 51, 21))
        font = QtGui.QFont()
        font.setFamily("Roboto")
        font.setPointSize(12)
        font.setBold(False)
        self.label.setFont(font)
        self.label.setObjectName("label")
        CreateAccFolderWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(CreateAccFolderWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 342, 22))
        self.menubar.setObjectName("menubar")
        CreateAccFolderWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(CreateAccFolderWindow)
        self.statusbar.setObjectName("statusbar")
        CreateAccFolderWindow.setStatusBar(self.statusbar)

        self.retranslateUi(CreateAccFolderWindow)
        QtCore.QMetaObject.connectSlotsByName(CreateAccFolderWindow)
예제 #30
0
    def setupUi(self, ImportWindow):
        ImportWindow.setObjectName("ImportWindow")
        ImportWindow.resize(437, 139)
        self.gridLayout_3 = QtWidgets.QGridLayout(ImportWindow)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_2 = QtWidgets.QLabel(ImportWindow)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.gridLayout_3.addWidget(self.label_2, 0, 0, 1, 2)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(ImportWindow)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.ButtonDateiname = QtWidgets.QPushButton(ImportWindow)
        self.ButtonDateiname.setMaximumSize(QtCore.QSize(31, 23))
        self.ButtonDateiname.setObjectName("ButtonDateiname")
        self.gridLayout.addWidget(self.ButtonDateiname, 0, 2, 1, 1)
        self.lineEditDateiname = QtWidgets.QLineEdit(ImportWindow)
        self.lineEditDateiname.setMinimumSize(QtCore.QSize(291, 20))
        self.lineEditDateiname.setObjectName("lineEditDateiname")
        self.gridLayout.addWidget(self.lineEditDateiname, 0, 1, 1, 1)
        self.gridLayout_3.addLayout(self.gridLayout, 1, 0, 1, 2)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_3 = QtWidgets.QLabel(ImportWindow)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 0, 0, 1, 1)
        self.spinBoxRuntime = QtWidgets.QSpinBox(ImportWindow)
        self.spinBoxRuntime.setMaximumSize(QtCore.QSize(41, 20))
        self.spinBoxRuntime.setProperty("value", 1)
        self.spinBoxRuntime.setObjectName("spinBoxRuntime")
        self.gridLayout_2.addWidget(self.spinBoxRuntime, 0, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(ImportWindow)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 2, 1, 1)
        self.gridLayout_3.addLayout(self.gridLayout_2, 2, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.ButtonImport = QtWidgets.QPushButton(ImportWindow)
        self.ButtonImport.setObjectName("ButtonImport")
        self.horizontalLayout.addWidget(self.ButtonImport)
        self.ButtonClose = QtWidgets.QPushButton(ImportWindow)
        self.ButtonClose.setObjectName("ButtonClose")
        self.horizontalLayout.addWidget(self.ButtonClose)
        self.gridLayout_3.addLayout(self.horizontalLayout, 3, 1, 1, 1)

        self.retranslateUi(ImportWindow)
        QtCore.QMetaObject.connectSlotsByName(ImportWindow)