This repository has been archived on 2021-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
wikicookbook/WikiCookBook/UI/CodeDialog.py

46 lines
1.8 KiB
Python
Raw Normal View History

2020-05-03 17:21:56 +02:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_code_dialog.ui'
#
# Created by: PyQt5 UI code generator 5.14.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class CodeDialog(object):
def setupUi(self, CodeDialog):
CodeDialog.setObjectName("CodeDialog")
CodeDialog.resize(530, 643)
self.verticalLayout_2 = QtWidgets.QVBoxLayout(CodeDialog)
2020-05-03 17:21:56 +02:00
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.e_code = QtWidgets.QPlainTextEdit(CodeDialog)
2020-05-03 17:21:56 +02:00
font = QtGui.QFont()
font.setFamily("Monospace")
self.e_code.setFont(font)
self.e_code.setReadOnly(True)
self.e_code.setObjectName("e_code")
self.verticalLayout_2.addWidget(self.e_code)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.b_copy = QtWidgets.QPushButton(CodeDialog)
2020-05-03 17:21:56 +02:00
self.b_copy.setObjectName("b_copy")
self.horizontalLayout.addWidget(self.b_copy)
self.b_close = QtWidgets.QPushButton(CodeDialog)
2020-05-03 17:21:56 +02:00
self.b_close.setObjectName("b_close")
self.horizontalLayout.addWidget(self.b_close)
self.verticalLayout_2.addLayout(self.horizontalLayout)
self.retranslateUi(CodeDialog)
QtCore.QMetaObject.connectSlotsByName(CodeDialog)
2020-05-03 17:21:56 +02:00
def retranslateUi(self, CodeDialog):
2020-05-03 17:21:56 +02:00
_translate = QtCore.QCoreApplication.translate
CodeDialog.setWindowTitle(_translate("CodeDialog", "CodeDialog"))
self.b_copy.setText(_translate("CodeDialog", "Kopieren"))
self.b_close.setText(_translate("CodeDialog", "Schließen"))