<filename>gui/cncimportUI.py
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file './gui/cncImportUI.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(513, 590)
        self.horizontalLayout = QtWidgets.QHBoxLayout(Dialog)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setContentsMargins(-1, 0, -1, -1)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.info_txt = QtWidgets.QLabel(Dialog)
        self.info_txt.setObjectName("info_txt")
        self.horizontalLayout_3.addWidget(self.info_txt)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setContentsMargins(-1, 0, -1, -1)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label = QtWidgets.QLabel(Dialog)
        self.label.setObjectName("label")
        self.horizontalLayout_4.addWidget(self.label, 0, QtCore.Qt.AlignVCenter)
        self.cb_cnc_np = ToggleSwitch(Dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cb_cnc_np.sizePolicy().hasHeightForWidth())
        self.cb_cnc_np.setSizePolicy(sizePolicy)
        self.cb_cnc_np.setObjectName("cb_cnc_np")
        self.horizontalLayout_4.addWidget(self.cb_cnc_np)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.txt_cnc = QtWidgets.QPlainTextEdit(Dialog)
        self.txt_cnc.setObjectName("txt_cnc")
        self.verticalLayout.addWidget(self.txt_cnc)
        self.tab_para = QtWidgets.QTableWidget(Dialog)
        self.tab_para.setAlternatingRowColors(True)
        self.tab_para.setObjectName("tab_para")
        self.tab_para.setColumnCount(1)
        self.tab_para.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.tab_para.setHorizontalHeaderItem(0, item)
        self.tab_para.horizontalHeader().setDefaultSectionSize(50)
        self.tab_para.horizontalHeader().setSortIndicatorShown(False)
        self.verticalLayout.addWidget(self.tab_para)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setContentsMargins(-1, 0, -1, -1)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.but_back_close = QtWidgets.QPushButton(Dialog)
        self.but_back_close.setObjectName("but_back_close")
        self.horizontalLayout_2.addWidget(self.but_back_close)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.but_accept = QtWidgets.QPushButton(Dialog)
        self.but_accept.setObjectName("but_accept")
        self.horizontalLayout_2.addWidget(self.but_accept)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout.addLayout(self.verticalLayout)

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

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.info_txt.setText(_translate("Dialog", "Hier steht dann ein Lauftext."))
        self.label.setText(_translate("Dialog", "Part to process: "))
        self.cb_cnc_np.setToolTip(_translate("Dialog", "Part to be processed"))
        self.cb_cnc_np.setText(_translate("Dialog", "CheckBox"))
        self.txt_cnc.setPlainText(_translate("Dialog", "Texteditor\n"
""))
        item = self.tab_para.horizontalHeaderItem(0)
        item.setText(_translate("Dialog", "Test"))
        self.but_back_close.setText(_translate("Dialog", "Close"))
        self.but_accept.setText(_translate("Dialog", "Accept"))
from gui.toggleswitch import ToggleSwitch


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Dialog = QtWidgets.QDialog()
    ui = Ui_Dialog()
    ui.setupUi(Dialog)
    Dialog.show()
    sys.exit(app.exec_())
