class Ui_Widget(object): def setupUi(self, Widget): Widget.setObjectName("Widget") Widget.resize(QtCore.QSize(QtCore.QRect(0,0,508,316).size()).expandedTo(Widget.minimumSizeHint())) self.vboxlayout = QtGui.QVBoxLayout(Widget) self.vboxlayout.setObjectName("vboxlayout") self.groupBox = QtGui.QGroupBox(Widget) self.groupBox.setObjectName("groupBox") self.gridlayout = QtGui.QGridLayout(self.groupBox) self.gridlayout.setObjectName("gridlayout") self.label = QtGui.QLabel(self.groupBox) self.label.setObjectName("label") self.gridlayout.addWidget(self.label,0,0,1,1) self.kcfg_textcat_LM_path = KUrlRequester(self.groupBox) self.kcfg_textcat_LM_path.setObjectName("kcfg_textcat_LM_path") self.gridlayout.addWidget(self.kcfg_textcat_LM_path,0,1,1,1) self.vboxlayout.addWidget(self.groupBox) self.kcfg_language_encoding_pref = KComboListBox(Widget) self.kcfg_language_encoding_pref.setObjectName("kcfg_language_encoding_pref") self.vboxlayout.addWidget(self.kcfg_language_encoding_pref) self.label.setBuddy(self.kcfg_textcat_LM_path) self.retranslateUi(Widget) QtCore.QMetaObject.connectSlotsByName(Widget) def retranslateUi(self, Widget): Widget.setWindowTitle(kdecore.i18n("Form")) self.groupBox.setTitle(kdecore.i18n("Textcat")) self.label.setText(kdecore.i18n("&Textcat language model path"))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(442, 160) self.groupBox = QtGui.QGroupBox(Dialog) self.groupBox.setGeometry(QtCore.QRect(50, 10, 354, 121)) self.groupBox.setObjectName("groupBox") self.formLayout = QtGui.QFormLayout(self.groupBox) self.formLayout.setObjectName("formLayout") self.dPfad = KUrlRequester(self.groupBox) self.dPfad.setObjectName("dPfad") self.dPfad.setMode(KFile.Mode(2)) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.dPfad) self.dNeuerName = KLineEdit(self.groupBox) self.dNeuerName.setEnabled(True) self.dNeuerName.setObjectName("dNeuerName") self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.dNeuerName) self.dDateiEndung = QtGui.QLineEdit(self.groupBox) self.dDateiEndung.setObjectName("dDateiEndung") self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.dDateiEndung) self.groupBox_2 = QtGui.QGroupBox(Dialog) self.groupBox_2.setGeometry(QtCore.QRect(50, 80, 351, 64)) self.groupBox_2.setObjectName("groupBox_2") self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox_2) self.horizontalLayout.setObjectName("horizontalLayout") self.dAbbrechen = QtGui.QPushButton(self.groupBox_2) self.dAbbrechen.setObjectName("dAbbrechen") self.horizontalLayout.addWidget(self.dAbbrechen) self.dAusfuehren = QtGui.QPushButton(self.groupBox_2) self.dAusfuehren.setDefault(False) self.dAusfuehren.setObjectName("dAusfuehren") self.horizontalLayout.addWidget(self.dAusfuehren) self.retranslateUi(Dialog) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "Renamer", None, QtGui.QApplication.UnicodeUTF8)) self.dNeuerName.setText(QtGui.QApplication.translate("Dialog", "Neuer Name", None, QtGui.QApplication.UnicodeUTF8)) self.dDateiEndung.setText(QtGui.QApplication.translate("Dialog", "Dateiendung", None, QtGui.QApplication.UnicodeUTF8)) self.dAbbrechen.setText(QtGui.QApplication.translate("Dialog", "Abbrechen", None, QtGui.QApplication.UnicodeUTF8)) self.dAusfuehren.setText(QtGui.QApplication.translate("Dialog", "Ok", None, QtGui.QApplication.UnicodeUTF8))
class Ui_Widget(object): def setupUi(self, Widget): Widget.setObjectName("Widget") Widget.resize(508, 316) self.gridLayout = QtGui.QGridLayout(Widget) self.gridLayout.setObjectName("gridLayout") self.dirs = QtGui.QListWidget(Widget) self.dirs.setObjectName("dirs") self.gridLayout.addWidget(self.dirs, 0, 0, 1, 2) self.kcfg_url = KUrlRequester(Widget) self.kcfg_url.setObjectName("kcfg_url") self.gridLayout.addWidget(self.kcfg_url, 1, 0, 1, 1) self.pb_addurl = QtGui.QPushButton(Widget) self.pb_addurl.setObjectName("pb_addurl") self.gridLayout.addWidget(self.pb_addurl, 1, 1, 1, 1) self.retranslateUi(Widget) QtCore.QMetaObject.connectSlotsByName(Widget) def retranslateUi(self, Widget): Widget.setWindowTitle(kdecore.i18n("Form")) self.pb_addurl.setText(kdecore.i18n("PushButton"))
class Ui_MainWindow(object,GUI_AKCJE): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(1270, 715) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.pushButton = QtGui.QPushButton(self.centralwidget) self.pushButton.setGeometry(QtCore.QRect(0, 40, 121, 21)) self.pushButton.setObjectName("pushButton") self.pushButton_2 = QtGui.QPushButton(self.centralwidget) self.pushButton_2.setGeometry(QtCore.QRect(0, 220, 121, 21)) self.pushButton_2.setObjectName("pushButton_2") self.pushButton_3 = QtGui.QPushButton(self.centralwidget) self.pushButton_3.setGeometry(QtCore.QRect(0, 200, 121, 21)) self.pushButton_3.setObjectName("pushButton_3") self.pushButton_4 = QtGui.QPushButton(self.centralwidget) self.pushButton_4.setGeometry(QtCore.QRect(0, 80, 121, 21)) self.pushButton_4.setObjectName("pushButton_4") self.pushButton_5 = QtGui.QPushButton(self.centralwidget) self.pushButton_5.setGeometry(QtCore.QRect(0, 60, 121, 21)) self.pushButton_5.setObjectName("pushButton_5") self.pushButton_7 = QtGui.QPushButton(self.centralwidget) self.pushButton_7.setGeometry(QtCore.QRect(0, 100, 121, 21)) self.pushButton_7.setObjectName("pushButton_7") self.pushButton_8 = QtGui.QPushButton(self.centralwidget) self.pushButton_8.setGeometry(QtCore.QRect(0, 20, 121, 21)) self.pushButton_8.setObjectName("pushButton_8") self.label = QtGui.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(1150, 10, 81, 16)) self.label.setObjectName("label") self.scrollArea = QtGui.QScrollArea(self.centralwidget) self.scrollArea.setGeometry(QtCore.QRect(1100, 190, 171, 211)) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtGui.QWidget(self.scrollArea) self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 169, 209)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.listWidget = QtGui.QListWidget(self.scrollAreaWidgetContents) self.listWidget.setGeometry(QtCore.QRect(0, 20, 171, 191)) self.listWidget.setObjectName("listWidget") self.label_2 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_2.setGeometry(QtCore.QRect(40, 0, 101, 16)) self.label_2.setObjectName("label_2") self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.frame = QtGui.QFrame(self.centralwidget) self.frame.setGeometry(QtCore.QRect(1100, 440, 171, 231)) self.frame.setFrameShape(QtGui.QFrame.StyledPanel) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName("frame") self.label_3 = QtGui.QLabel(self.frame) self.label_3.setGeometry(QtCore.QRect(30, 0, 121, 20)) self.label_3.setObjectName("label_3") self.frame_2 = QtGui.QFrame(self.centralwidget) self.frame_2.setGeometry(QtCore.QRect(0, 340, 120, 331)) self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel) self.frame_2.setFrameShadow(QtGui.QFrame.Raised) self.frame_2.setObjectName("frame_2") self.label_4 = QtGui.QLabel(self.centralwidget) self.label_4.setGeometry(QtCore.QRect(0, 320, 111, 16)) self.label_4.setObjectName("label_4") self.label_5 = QtGui.QLabel(self.centralwidget) self.label_5.setGeometry(QtCore.QRect(0, 0, 131, 16)) self.label_5.setObjectName("label_5") self.pushButton_13 = QtGui.QPushButton(self.centralwidget) self.pushButton_13.setGeometry(QtCore.QRect(0, 140, 121, 21)) self.pushButton_13.setObjectName("pushButton_13") self.pushButton_14 = QtGui.QPushButton(self.centralwidget) self.pushButton_14.setGeometry(QtCore.QRect(0, 120, 121, 21)) self.pushButton_14.setObjectName("pushButton_14") self.pushButton_16 = QtGui.QPushButton(self.centralwidget) self.pushButton_16.setGeometry(QtCore.QRect(1100, 80, 171, 20)) self.pushButton_16.setObjectName("pushButton_16") self.pushButton_17 = QtGui.QPushButton(self.centralwidget) self.pushButton_17.setGeometry(QtCore.QRect(1180, 420, 91, 21)) self.pushButton_17.setObjectName("pushButton_17") self.pushButton_18 = QtGui.QPushButton(self.centralwidget) self.pushButton_18.setGeometry(QtCore.QRect(1180, 400, 51, 21)) self.pushButton_18.setObjectName("pushButton_18") self.pushButton_19 = QtGui.QPushButton(self.centralwidget) self.pushButton_19.setGeometry(QtCore.QRect(1230, 400, 41, 21)) self.pushButton_19.setObjectName("pushButton_19") self.pushButton_20 = QtGui.QPushButton(self.centralwidget) self.pushButton_20.setGeometry(QtCore.QRect(1100, 420, 81, 21)) self.pushButton_20.setObjectName("pushButton_20") self.pushButton_21 = QtGui.QPushButton(self.centralwidget) self.pushButton_21.setGeometry(QtCore.QRect(1100, 400, 81, 21)) self.pushButton_21.setObjectName("pushButton_21") self.frame_3 = QtGui.QFrame(self.centralwidget) self.frame_3.setGeometry(QtCore.QRect(350, 0, 601, 31)) self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel) self.frame_3.setFrameShadow(QtGui.QFrame.Raised) self.frame_3.setObjectName("frame_3") self.pushButton_10 = QtGui.QPushButton(self.frame_3) self.pushButton_10.setGeometry(QtCore.QRect(50, 0, 61, 31)) self.pushButton_10.setObjectName("pushButton_10") self.textEdit = QtGui.QTextEdit(self.frame_3) self.textEdit.setGeometry(QtCore.QRect(110, 0, 61, 31)) self.textEdit.setObjectName("textEdit") self.label_6 = QtGui.QLabel(self.frame_3) self.label_6.setGeometry(QtCore.QRect(0, 0, 41, 31)) self.label_6.setObjectName("label_6") self.pushButton_9 = QtGui.QPushButton(self.frame_3) self.pushButton_9.setGeometry(QtCore.QRect(290, 0, 85, 31)) self.pushButton_9.setObjectName("pushButton_9") self.horizontalSlider = QtGui.QSlider(self.frame_3) self.horizontalSlider.setGeometry(QtCore.QRect(450, 10, 101, 19)) self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal) self.horizontalSlider.setObjectName("horizontalSlider") self.pushButton_11 = QtGui.QPushButton(self.frame_3) self.pushButton_11.setGeometry(QtCore.QRect(550, 0, 51, 31)) self.pushButton_11.setObjectName("pushButton_11") self.label_7 = QtGui.QLabel(self.frame_3) self.label_7.setGeometry(QtCore.QRect(390, 10, 41, 16)) self.label_7.setObjectName("label_7") self.pushButton_26 = QtGui.QPushButton(self.frame_3) self.pushButton_26.setGeometry(QtCore.QRect(170, 0, 41, 31)) self.pushButton_26.setObjectName("pushButton_26") self.pushButton_27 = QtGui.QPushButton(self.frame_3) self.pushButton_27.setGeometry(QtCore.QRect(210, 0, 41, 31)) self.pushButton_27.setObjectName("pushButton_27") self.pushButton_28 = QtGui.QPushButton(self.frame_3) self.pushButton_28.setGeometry(QtCore.QRect(250, 0, 41, 31)) self.pushButton_28.setObjectName("pushButton_28") self.frame_4 = QtGui.QFrame(self.centralwidget) self.frame_4.setGeometry(QtCore.QRect(950, 0, 151, 31)) self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel) self.frame_4.setFrameShadow(QtGui.QFrame.Raised) self.frame_4.setObjectName("frame_4") self.label_9 = QtGui.QLabel(self.frame_4) self.label_9.setGeometry(QtCore.QRect(0, 0, 81, 31)) self.label_9.setObjectName("label_9") self.plainTextEdit_2 = QtGui.QPlainTextEdit(self.frame_4) self.plainTextEdit_2.setGeometry(QtCore.QRect(80, 0, 31, 31)) self.plainTextEdit_2.setObjectName("plainTextEdit_2") self.pushButton_12 = QtGui.QPushButton(self.frame_4) self.pushButton_12.setGeometry(QtCore.QRect(110, 0, 41, 31)) self.pushButton_12.setObjectName("pushButton_12") self.pushButton_22 = QtGui.QPushButton(self.centralwidget) self.pushButton_22.setGeometry(QtCore.QRect(0, 240, 121, 21)) self.pushButton_22.setObjectName("pushButton_22") self.pushButton_23 = QtGui.QPushButton(self.centralwidget) self.pushButton_23.setGeometry(QtCore.QRect(0, 260, 121, 21)) self.pushButton_23.setObjectName("pushButton_23") self.pushButton_24 = QtGui.QPushButton(self.centralwidget) self.pushButton_24.setGeometry(QtCore.QRect(0, 280, 121, 21)) self.pushButton_24.setObjectName("pushButton_24") self.pushButton_25 = QtGui.QPushButton(self.centralwidget) self.pushButton_25.setGeometry(QtCore.QRect(0, 300, 121, 21)) self.pushButton_25.setObjectName("pushButton_25") self.qvtkWidget = QVTKRenderWindowInteractor(self.centralwidget) self.qvtkWidget.setGeometry(QtCore.QRect(130, 30, 971, 641)) self.qvtkWidget.setObjectName("qvtkWidget") self.kurlrequester = KUrlRequester(self.centralwidget) self.kurlrequester.setGeometry(QtCore.QRect(130, 0, 201, 31)) self.kurlrequester.setObjectName("kurlrequester") self.listWidget_2 = QtGui.QListWidget(self.centralwidget) self.listWidget_2.setGeometry(QtCore.QRect(1100, 30, 171, 51)) self.listWidget_2.setObjectName("listWidget_2") self.pushButton_29 = QtGui.QPushButton(self.centralwidget) self.pushButton_29.setGeometry(QtCore.QRect(1220, 160, 51, 31)) self.pushButton_29.setObjectName("pushButton_29") self.label_10 = QtGui.QLabel(self.centralwidget) self.label_10.setGeometry(QtCore.QRect(1110, 100, 121, 20)) self.label_10.setObjectName("label_10") self.kintnuminput = KIntNumInput(self.centralwidget) self.kintnuminput.setGeometry(QtCore.QRect(1160, 120, 31, 21)) self.kintnuminput.setObjectName("kintnuminput") self.kintnuminput_2 = KIntNumInput(self.centralwidget) self.kintnuminput_2.setGeometry(QtCore.QRect(1190, 120, 31, 21)) self.kintnuminput_2.setObjectName("kintnuminput_2") self.kintnuminput_4 = KIntNumInput(self.centralwidget) self.kintnuminput_4.setGeometry(QtCore.QRect(1160, 140, 31, 21)) self.kintnuminput_4.setObjectName("kintnuminput_4") self.kintnuminput_5 = KIntNumInput(self.centralwidget) self.kintnuminput_5.setGeometry(QtCore.QRect(1190, 140, 31, 21)) self.kintnuminput_5.setObjectName("kintnuminput_5") self.kintnuminput_7 = KIntNumInput(self.centralwidget) self.kintnuminput_7.setGeometry(QtCore.QRect(1160, 160, 31, 21)) self.kintnuminput_7.setObjectName("kintnuminput_7") self.kintnuminput_8 = KIntNumInput(self.centralwidget) self.kintnuminput_8.setGeometry(QtCore.QRect(1190, 160, 31, 21)) self.kintnuminput_8.setObjectName("kintnuminput_8") self.label_8 = QtGui.QLabel(self.centralwidget) self.label_8.setGeometry(QtCore.QRect(1130, 120, 21, 16)) self.label_8.setObjectName("label_8") self.label_11 = QtGui.QLabel(self.centralwidget) self.label_11.setGeometry(QtCore.QRect(1130, 140, 21, 16)) self.label_11.setObjectName("label_11") self.label_12 = QtGui.QLabel(self.centralwidget) self.label_12.setGeometry(QtCore.QRect(1130, 160, 21, 16)) self.label_12.setObjectName("label_12") self.pushButton_6 = QtGui.QPushButton(self.centralwidget) self.pushButton_6.setGeometry(QtCore.QRect(0, 160, 121, 21)) self.pushButton_6.setObjectName("pushButton_6") self.pushButton_15 = QtGui.QPushButton(self.centralwidget) self.pushButton_15.setGeometry(QtCore.QRect(0, 180, 121, 21)) self.pushButton_15.setObjectName("pushButton_15") MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 1270, 23)) self.menubar.setObjectName("menubar") self.menuInput = QtGui.QMenu(self.menubar) self.menuInput.setObjectName("menuInput") self.menuOutput = QtGui.QMenu(self.menubar) self.menuOutput.setObjectName("menuOutput") self.menuSettings = QtGui.QMenu(self.menubar) self.menuSettings.setObjectName("menuSettings") self.menuHelp = QtGui.QMenu(self.menubar) self.menuHelp.setObjectName("menuHelp") MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.actionImport_vtk_file = QtGui.QAction(MainWindow) self.actionImport_vtk_file.setObjectName("actionImport_vtk_file") self.actionImport_dat_file = QtGui.QAction(MainWindow) self.actionImport_dat_file.setObjectName("actionImport_dat_file") self.actionSave_as_JPEG = QtGui.QAction(MainWindow) self.actionSave_as_JPEG.setObjectName("actionSave_as_JPEG") self.actionAutor = QtGui.QAction(MainWindow) self.actionAutor.setObjectName("actionAutor") self.actionWersja = QtGui.QAction(MainWindow) self.actionWersja.setObjectName("actionWersja") self.actionLinki = QtGui.QAction(MainWindow) self.actionLinki.setObjectName("actionLinki") self.actionBackground_color = QtGui.QAction(MainWindow) self.actionBackground_color.setObjectName("actionBackground_color") self.actionWork_space = QtGui.QAction(MainWindow) self.actionWork_space.setObjectName("actionWork_space") self.actionExport_properties = QtGui.QAction(MainWindow) self.actionExport_properties.setObjectName("actionExport_properties") self.actionExit = QtGui.QAction(MainWindow) self.actionExit.setObjectName("actionExit") self.actionSave_Session = QtGui.QAction(MainWindow) self.actionSave_Session.setObjectName("actionSave_Session") self.actionExport_directory = QtGui.QAction(MainWindow) self.actionExport_directory.setObjectName("actionExport_directory") self.actionTutorials = QtGui.QAction(MainWindow) self.actionTutorials.setObjectName("actionTutorials") self.menuInput.addAction(self.actionSave_Session) self.menuInput.addAction(self.actionExit) self.menuOutput.addAction(self.actionSave_as_JPEG) self.menuOutput.addAction(self.actionExport_directory) self.menuSettings.addAction(self.actionBackground_color) self.menuSettings.addAction(self.actionWork_space) self.menuHelp.addAction(self.actionAutor) self.menuHelp.addAction(self.actionTutorials) self.menubar.addAction(self.menuInput.menuAction()) self.menubar.addAction(self.menuOutput.menuAction()) self.menubar.addAction(self.menuSettings.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) self.connections() def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton.setText(QtGui.QApplication.translate("MainWindow", "Isosurface", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_2.setText(QtGui.QApplication.translate("MainWindow", "XYZ Plot", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_3.setText(QtGui.QApplication.translate("MainWindow", "XY Plot", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_4.setText(QtGui.QApplication.translate("MainWindow", "Mat Plot 3D", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_5.setText(QtGui.QApplication.translate("MainWindow", "Layers, Dots", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_7.setText(QtGui.QApplication.translate("MainWindow", "Outline", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_8.setText(QtGui.QApplication.translate("MainWindow", "Axes", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("MainWindow", "Data Objects", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Rendered Objects", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText(QtGui.QApplication.translate("MainWindow", "Object Options", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText(QtGui.QApplication.translate("MainWindow", "Function options", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText(QtGui.QApplication.translate("MainWindow", "Visualization functions", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_13.setText(QtGui.QApplication.translate("MainWindow", "Sphere Volume", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_14.setText(QtGui.QApplication.translate("MainWindow", "Scalar Bar", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_16.setText(QtGui.QApplication.translate("MainWindow", "Delete Data Object", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_17.setText(QtGui.QApplication.translate("MainWindow", "Delete", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_18.setText(QtGui.QApplication.translate("MainWindow", "Hide", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_19.setText(QtGui.QApplication.translate("MainWindow", "Show", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_20.setText(QtGui.QApplication.translate("MainWindow", "Delete All", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_21.setText(QtGui.QApplication.translate("MainWindow", "New window", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_10.setText(QtGui.QApplication.translate("MainWindow", "Set View", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText(QtGui.QApplication.translate("MainWindow", "View", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_9.setText(QtGui.QApplication.translate("MainWindow", "Reset Camera", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_11.setText(QtGui.QApplication.translate("MainWindow", "Apply", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setText(QtGui.QApplication.translate("MainWindow", "Zoom", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_26.setText(QtGui.QApplication.translate("MainWindow", "XView", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_27.setText(QtGui.QApplication.translate("MainWindow", "YView", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_28.setText(QtGui.QApplication.translate("MainWindow", "ZView", None, QtGui.QApplication.UnicodeUTF8)) self.label_9.setText(QtGui.QApplication.translate("MainWindow", "Magnification", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_12.setText(QtGui.QApplication.translate("MainWindow", "Photo", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_22.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_23.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_24.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_25.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_29.setText(QtGui.QApplication.translate("MainWindow", "Cut", None, QtGui.QApplication.UnicodeUTF8)) self.label_10.setText(QtGui.QApplication.translate("MainWindow", "Shrink numerical box", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setText(QtGui.QApplication.translate("MainWindow", "Nx", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setText(QtGui.QApplication.translate("MainWindow", "Ny", None, QtGui.QApplication.UnicodeUTF8)) self.label_12.setText(QtGui.QApplication.translate("MainWindow", "Nz", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_6.setText(QtGui.QApplication.translate("MainWindow", "Vector Field", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_15.setText(QtGui.QApplication.translate("MainWindow", "Volume", None, QtGui.QApplication.UnicodeUTF8)) self.menuInput.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8)) self.menuOutput.setTitle(QtGui.QApplication.translate("MainWindow", "Output", None, QtGui.QApplication.UnicodeUTF8)) self.menuSettings.setTitle(QtGui.QApplication.translate("MainWindow", "Settings", None, QtGui.QApplication.UnicodeUTF8)) self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8)) self.actionImport_vtk_file.setText(QtGui.QApplication.translate("MainWindow", "Open vtk file", None, QtGui.QApplication.UnicodeUTF8)) self.actionImport_dat_file.setText(QtGui.QApplication.translate("MainWindow", "Open dat file", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_as_JPEG.setText(QtGui.QApplication.translate("MainWindow", "Export format", None, QtGui.QApplication.UnicodeUTF8)) self.actionAutor.setText(QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8)) self.actionWersja.setText(QtGui.QApplication.translate("MainWindow", "Wersja", None, QtGui.QApplication.UnicodeUTF8)) self.actionLinki.setText(QtGui.QApplication.translate("MainWindow", "Linki", None, QtGui.QApplication.UnicodeUTF8)) self.actionBackground_color.setText(QtGui.QApplication.translate("MainWindow", "Background color", None, QtGui.QApplication.UnicodeUTF8)) self.actionWork_space.setText(QtGui.QApplication.translate("MainWindow", "Work space", None, QtGui.QApplication.UnicodeUTF8)) self.actionExport_properties.setText(QtGui.QApplication.translate("MainWindow", "Export properties", None, QtGui.QApplication.UnicodeUTF8)) self.actionExit.setText(QtGui.QApplication.translate("MainWindow", "Exit", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_Session.setText(QtGui.QApplication.translate("MainWindow", "Save Session", None, QtGui.QApplication.UnicodeUTF8)) self.actionExport_directory.setText(QtGui.QApplication.translate("MainWindow", "Export directory", None, QtGui.QApplication.UnicodeUTF8)) self.actionTutorials.setText(QtGui.QApplication.translate("MainWindow", "Tutorials", None, QtGui.QApplication.UnicodeUTF8))
class Ui_MainWindow(object, GUI_AKCJE): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(1270, 715) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.pushButton = QtGui.QPushButton(self.centralwidget) self.pushButton.setGeometry(QtCore.QRect(0, 40, 121, 21)) self.pushButton.setObjectName("pushButton") self.pushButton_2 = QtGui.QPushButton(self.centralwidget) self.pushButton_2.setGeometry(QtCore.QRect(0, 220, 121, 21)) self.pushButton_2.setObjectName("pushButton_2") self.pushButton_3 = QtGui.QPushButton(self.centralwidget) self.pushButton_3.setGeometry(QtCore.QRect(0, 200, 121, 21)) self.pushButton_3.setObjectName("pushButton_3") self.pushButton_4 = QtGui.QPushButton(self.centralwidget) self.pushButton_4.setGeometry(QtCore.QRect(0, 80, 121, 21)) self.pushButton_4.setObjectName("pushButton_4") self.pushButton_5 = QtGui.QPushButton(self.centralwidget) self.pushButton_5.setGeometry(QtCore.QRect(0, 60, 121, 21)) self.pushButton_5.setObjectName("pushButton_5") self.pushButton_7 = QtGui.QPushButton(self.centralwidget) self.pushButton_7.setGeometry(QtCore.QRect(0, 100, 121, 21)) self.pushButton_7.setObjectName("pushButton_7") self.pushButton_8 = QtGui.QPushButton(self.centralwidget) self.pushButton_8.setGeometry(QtCore.QRect(0, 20, 121, 21)) self.pushButton_8.setObjectName("pushButton_8") self.label = QtGui.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(1150, 10, 81, 16)) self.label.setObjectName("label") self.scrollArea = QtGui.QScrollArea(self.centralwidget) self.scrollArea.setGeometry(QtCore.QRect(1100, 190, 171, 211)) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtGui.QWidget(self.scrollArea) self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 169, 209)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.listWidget = QtGui.QListWidget(self.scrollAreaWidgetContents) self.listWidget.setGeometry(QtCore.QRect(0, 20, 171, 191)) self.listWidget.setObjectName("listWidget") self.label_2 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_2.setGeometry(QtCore.QRect(40, 0, 101, 16)) self.label_2.setObjectName("label_2") self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.frame = QtGui.QFrame(self.centralwidget) self.frame.setGeometry(QtCore.QRect(1100, 440, 171, 231)) self.frame.setFrameShape(QtGui.QFrame.StyledPanel) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName("frame") self.label_3 = QtGui.QLabel(self.frame) self.label_3.setGeometry(QtCore.QRect(30, 0, 121, 20)) self.label_3.setObjectName("label_3") self.frame_2 = QtGui.QFrame(self.centralwidget) self.frame_2.setGeometry(QtCore.QRect(0, 340, 120, 331)) self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel) self.frame_2.setFrameShadow(QtGui.QFrame.Raised) self.frame_2.setObjectName("frame_2") self.label_4 = QtGui.QLabel(self.centralwidget) self.label_4.setGeometry(QtCore.QRect(0, 320, 111, 16)) self.label_4.setObjectName("label_4") self.label_5 = QtGui.QLabel(self.centralwidget) self.label_5.setGeometry(QtCore.QRect(0, 0, 131, 16)) self.label_5.setObjectName("label_5") self.pushButton_13 = QtGui.QPushButton(self.centralwidget) self.pushButton_13.setGeometry(QtCore.QRect(0, 140, 121, 21)) self.pushButton_13.setObjectName("pushButton_13") self.pushButton_14 = QtGui.QPushButton(self.centralwidget) self.pushButton_14.setGeometry(QtCore.QRect(0, 120, 121, 21)) self.pushButton_14.setObjectName("pushButton_14") self.pushButton_16 = QtGui.QPushButton(self.centralwidget) self.pushButton_16.setGeometry(QtCore.QRect(1100, 80, 171, 20)) self.pushButton_16.setObjectName("pushButton_16") self.pushButton_17 = QtGui.QPushButton(self.centralwidget) self.pushButton_17.setGeometry(QtCore.QRect(1180, 420, 91, 21)) self.pushButton_17.setObjectName("pushButton_17") self.pushButton_18 = QtGui.QPushButton(self.centralwidget) self.pushButton_18.setGeometry(QtCore.QRect(1180, 400, 51, 21)) self.pushButton_18.setObjectName("pushButton_18") self.pushButton_19 = QtGui.QPushButton(self.centralwidget) self.pushButton_19.setGeometry(QtCore.QRect(1230, 400, 41, 21)) self.pushButton_19.setObjectName("pushButton_19") self.pushButton_20 = QtGui.QPushButton(self.centralwidget) self.pushButton_20.setGeometry(QtCore.QRect(1100, 420, 81, 21)) self.pushButton_20.setObjectName("pushButton_20") self.pushButton_21 = QtGui.QPushButton(self.centralwidget) self.pushButton_21.setGeometry(QtCore.QRect(1100, 400, 81, 21)) self.pushButton_21.setObjectName("pushButton_21") self.frame_3 = QtGui.QFrame(self.centralwidget) self.frame_3.setGeometry(QtCore.QRect(350, 0, 601, 31)) self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel) self.frame_3.setFrameShadow(QtGui.QFrame.Raised) self.frame_3.setObjectName("frame_3") self.pushButton_10 = QtGui.QPushButton(self.frame_3) self.pushButton_10.setGeometry(QtCore.QRect(50, 0, 61, 31)) self.pushButton_10.setObjectName("pushButton_10") self.textEdit = QtGui.QTextEdit(self.frame_3) self.textEdit.setGeometry(QtCore.QRect(110, 0, 61, 31)) self.textEdit.setObjectName("textEdit") self.label_6 = QtGui.QLabel(self.frame_3) self.label_6.setGeometry(QtCore.QRect(0, 0, 41, 31)) self.label_6.setObjectName("label_6") self.pushButton_9 = QtGui.QPushButton(self.frame_3) self.pushButton_9.setGeometry(QtCore.QRect(290, 0, 85, 31)) self.pushButton_9.setObjectName("pushButton_9") self.horizontalSlider = QtGui.QSlider(self.frame_3) self.horizontalSlider.setGeometry(QtCore.QRect(450, 10, 101, 19)) self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal) self.horizontalSlider.setObjectName("horizontalSlider") self.pushButton_11 = QtGui.QPushButton(self.frame_3) self.pushButton_11.setGeometry(QtCore.QRect(550, 0, 51, 31)) self.pushButton_11.setObjectName("pushButton_11") self.label_7 = QtGui.QLabel(self.frame_3) self.label_7.setGeometry(QtCore.QRect(390, 10, 41, 16)) self.label_7.setObjectName("label_7") self.pushButton_26 = QtGui.QPushButton(self.frame_3) self.pushButton_26.setGeometry(QtCore.QRect(170, 0, 41, 31)) self.pushButton_26.setObjectName("pushButton_26") self.pushButton_27 = QtGui.QPushButton(self.frame_3) self.pushButton_27.setGeometry(QtCore.QRect(210, 0, 41, 31)) self.pushButton_27.setObjectName("pushButton_27") self.pushButton_28 = QtGui.QPushButton(self.frame_3) self.pushButton_28.setGeometry(QtCore.QRect(250, 0, 41, 31)) self.pushButton_28.setObjectName("pushButton_28") self.frame_4 = QtGui.QFrame(self.centralwidget) self.frame_4.setGeometry(QtCore.QRect(950, 0, 151, 31)) self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel) self.frame_4.setFrameShadow(QtGui.QFrame.Raised) self.frame_4.setObjectName("frame_4") self.label_9 = QtGui.QLabel(self.frame_4) self.label_9.setGeometry(QtCore.QRect(0, 0, 81, 31)) self.label_9.setObjectName("label_9") self.plainTextEdit_2 = QtGui.QPlainTextEdit(self.frame_4) self.plainTextEdit_2.setGeometry(QtCore.QRect(80, 0, 31, 31)) self.plainTextEdit_2.setObjectName("plainTextEdit_2") self.pushButton_12 = QtGui.QPushButton(self.frame_4) self.pushButton_12.setGeometry(QtCore.QRect(110, 0, 41, 31)) self.pushButton_12.setObjectName("pushButton_12") self.pushButton_22 = QtGui.QPushButton(self.centralwidget) self.pushButton_22.setGeometry(QtCore.QRect(0, 240, 121, 21)) self.pushButton_22.setObjectName("pushButton_22") self.pushButton_23 = QtGui.QPushButton(self.centralwidget) self.pushButton_23.setGeometry(QtCore.QRect(0, 260, 121, 21)) self.pushButton_23.setObjectName("pushButton_23") self.pushButton_24 = QtGui.QPushButton(self.centralwidget) self.pushButton_24.setGeometry(QtCore.QRect(0, 280, 121, 21)) self.pushButton_24.setObjectName("pushButton_24") self.pushButton_25 = QtGui.QPushButton(self.centralwidget) self.pushButton_25.setGeometry(QtCore.QRect(0, 300, 121, 21)) self.pushButton_25.setObjectName("pushButton_25") self.qvtkWidget = QVTKRenderWindowInteractor(self.centralwidget) self.qvtkWidget.setGeometry(QtCore.QRect(130, 30, 971, 641)) self.qvtkWidget.setObjectName("qvtkWidget") self.kurlrequester = KUrlRequester(self.centralwidget) self.kurlrequester.setGeometry(QtCore.QRect(130, 0, 201, 31)) self.kurlrequester.setObjectName("kurlrequester") self.listWidget_2 = QtGui.QListWidget(self.centralwidget) self.listWidget_2.setGeometry(QtCore.QRect(1100, 30, 171, 51)) self.listWidget_2.setObjectName("listWidget_2") self.pushButton_29 = QtGui.QPushButton(self.centralwidget) self.pushButton_29.setGeometry(QtCore.QRect(1220, 160, 51, 31)) self.pushButton_29.setObjectName("pushButton_29") self.label_10 = QtGui.QLabel(self.centralwidget) self.label_10.setGeometry(QtCore.QRect(1110, 100, 121, 20)) self.label_10.setObjectName("label_10") self.kintnuminput = KIntNumInput(self.centralwidget) self.kintnuminput.setGeometry(QtCore.QRect(1160, 120, 31, 21)) self.kintnuminput.setObjectName("kintnuminput") self.kintnuminput_2 = KIntNumInput(self.centralwidget) self.kintnuminput_2.setGeometry(QtCore.QRect(1190, 120, 31, 21)) self.kintnuminput_2.setObjectName("kintnuminput_2") self.kintnuminput_4 = KIntNumInput(self.centralwidget) self.kintnuminput_4.setGeometry(QtCore.QRect(1160, 140, 31, 21)) self.kintnuminput_4.setObjectName("kintnuminput_4") self.kintnuminput_5 = KIntNumInput(self.centralwidget) self.kintnuminput_5.setGeometry(QtCore.QRect(1190, 140, 31, 21)) self.kintnuminput_5.setObjectName("kintnuminput_5") self.kintnuminput_7 = KIntNumInput(self.centralwidget) self.kintnuminput_7.setGeometry(QtCore.QRect(1160, 160, 31, 21)) self.kintnuminput_7.setObjectName("kintnuminput_7") self.kintnuminput_8 = KIntNumInput(self.centralwidget) self.kintnuminput_8.setGeometry(QtCore.QRect(1190, 160, 31, 21)) self.kintnuminput_8.setObjectName("kintnuminput_8") self.label_8 = QtGui.QLabel(self.centralwidget) self.label_8.setGeometry(QtCore.QRect(1130, 120, 21, 16)) self.label_8.setObjectName("label_8") self.label_11 = QtGui.QLabel(self.centralwidget) self.label_11.setGeometry(QtCore.QRect(1130, 140, 21, 16)) self.label_11.setObjectName("label_11") self.label_12 = QtGui.QLabel(self.centralwidget) self.label_12.setGeometry(QtCore.QRect(1130, 160, 21, 16)) self.label_12.setObjectName("label_12") self.pushButton_6 = QtGui.QPushButton(self.centralwidget) self.pushButton_6.setGeometry(QtCore.QRect(0, 160, 121, 21)) self.pushButton_6.setObjectName("pushButton_6") self.pushButton_15 = QtGui.QPushButton(self.centralwidget) self.pushButton_15.setGeometry(QtCore.QRect(0, 180, 121, 21)) self.pushButton_15.setObjectName("pushButton_15") MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 1270, 23)) self.menubar.setObjectName("menubar") self.menuInput = QtGui.QMenu(self.menubar) self.menuInput.setObjectName("menuInput") self.menuOutput = QtGui.QMenu(self.menubar) self.menuOutput.setObjectName("menuOutput") self.menuSettings = QtGui.QMenu(self.menubar) self.menuSettings.setObjectName("menuSettings") self.menuHelp = QtGui.QMenu(self.menubar) self.menuHelp.setObjectName("menuHelp") MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.actionImport_vtk_file = QtGui.QAction(MainWindow) self.actionImport_vtk_file.setObjectName("actionImport_vtk_file") self.actionImport_dat_file = QtGui.QAction(MainWindow) self.actionImport_dat_file.setObjectName("actionImport_dat_file") self.actionSave_as_JPEG = QtGui.QAction(MainWindow) self.actionSave_as_JPEG.setObjectName("actionSave_as_JPEG") self.actionAutor = QtGui.QAction(MainWindow) self.actionAutor.setObjectName("actionAutor") self.actionWersja = QtGui.QAction(MainWindow) self.actionWersja.setObjectName("actionWersja") self.actionLinki = QtGui.QAction(MainWindow) self.actionLinki.setObjectName("actionLinki") self.actionBackground_color = QtGui.QAction(MainWindow) self.actionBackground_color.setObjectName("actionBackground_color") self.actionWork_space = QtGui.QAction(MainWindow) self.actionWork_space.setObjectName("actionWork_space") self.actionExport_properties = QtGui.QAction(MainWindow) self.actionExport_properties.setObjectName("actionExport_properties") self.actionExit = QtGui.QAction(MainWindow) self.actionExit.setObjectName("actionExit") self.actionSave_Session = QtGui.QAction(MainWindow) self.actionSave_Session.setObjectName("actionSave_Session") self.actionExport_directory = QtGui.QAction(MainWindow) self.actionExport_directory.setObjectName("actionExport_directory") self.actionTutorials = QtGui.QAction(MainWindow) self.actionTutorials.setObjectName("actionTutorials") self.menuInput.addAction(self.actionSave_Session) self.menuInput.addAction(self.actionExit) self.menuOutput.addAction(self.actionSave_as_JPEG) self.menuOutput.addAction(self.actionExport_directory) self.menuSettings.addAction(self.actionBackground_color) self.menuSettings.addAction(self.actionWork_space) self.menuHelp.addAction(self.actionAutor) self.menuHelp.addAction(self.actionTutorials) self.menubar.addAction(self.menuInput.menuAction()) self.menubar.addAction(self.menuOutput.menuAction()) self.menubar.addAction(self.menuSettings.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) self.connections() def retranslateUi(self, MainWindow): MainWindow.setWindowTitle( QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton.setText( QtGui.QApplication.translate("MainWindow", "Isosurface", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_2.setText( QtGui.QApplication.translate("MainWindow", "XYZ Plot", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_3.setText( QtGui.QApplication.translate("MainWindow", "XY Plot", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_4.setText( QtGui.QApplication.translate("MainWindow", "Mat Plot 3D", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_5.setText( QtGui.QApplication.translate("MainWindow", "Layers, Dots", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_7.setText( QtGui.QApplication.translate("MainWindow", "Outline", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_8.setText( QtGui.QApplication.translate("MainWindow", "Axes", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText( QtGui.QApplication.translate("MainWindow", "Data Objects", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText( QtGui.QApplication.translate("MainWindow", "Rendered Objects", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText( QtGui.QApplication.translate("MainWindow", "Object Options", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText( QtGui.QApplication.translate("MainWindow", "Function options", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText( QtGui.QApplication.translate("MainWindow", "Visualization functions", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_13.setText( QtGui.QApplication.translate("MainWindow", "Sphere Volume", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_14.setText( QtGui.QApplication.translate("MainWindow", "Scalar Bar", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_16.setText( QtGui.QApplication.translate("MainWindow", "Delete Data Object", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_17.setText( QtGui.QApplication.translate("MainWindow", "Delete", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_18.setText( QtGui.QApplication.translate("MainWindow", "Hide", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_19.setText( QtGui.QApplication.translate("MainWindow", "Show", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_20.setText( QtGui.QApplication.translate("MainWindow", "Delete All", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_21.setText( QtGui.QApplication.translate("MainWindow", "New window", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_10.setText( QtGui.QApplication.translate("MainWindow", "Set View", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText( QtGui.QApplication.translate("MainWindow", "View", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_9.setText( QtGui.QApplication.translate("MainWindow", "Reset Camera", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_11.setText( QtGui.QApplication.translate("MainWindow", "Apply", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setText( QtGui.QApplication.translate("MainWindow", "Zoom", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_26.setText( QtGui.QApplication.translate("MainWindow", "XView", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_27.setText( QtGui.QApplication.translate("MainWindow", "YView", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_28.setText( QtGui.QApplication.translate("MainWindow", "ZView", None, QtGui.QApplication.UnicodeUTF8)) self.label_9.setText( QtGui.QApplication.translate("MainWindow", "Magnification", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_12.setText( QtGui.QApplication.translate("MainWindow", "Photo", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_22.setText( QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_23.setText( QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_24.setText( QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_25.setText( QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_29.setText( QtGui.QApplication.translate("MainWindow", "Cut", None, QtGui.QApplication.UnicodeUTF8)) self.label_10.setText( QtGui.QApplication.translate("MainWindow", "Shrink numerical box", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setText( QtGui.QApplication.translate("MainWindow", "Nx", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setText( QtGui.QApplication.translate("MainWindow", "Ny", None, QtGui.QApplication.UnicodeUTF8)) self.label_12.setText( QtGui.QApplication.translate("MainWindow", "Nz", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_6.setText( QtGui.QApplication.translate("MainWindow", "Vector Field", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_15.setText( QtGui.QApplication.translate("MainWindow", "Volume", None, QtGui.QApplication.UnicodeUTF8)) self.menuInput.setTitle( QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8)) self.menuOutput.setTitle( QtGui.QApplication.translate("MainWindow", "Output", None, QtGui.QApplication.UnicodeUTF8)) self.menuSettings.setTitle( QtGui.QApplication.translate("MainWindow", "Settings", None, QtGui.QApplication.UnicodeUTF8)) self.menuHelp.setTitle( QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8)) self.actionImport_vtk_file.setText( QtGui.QApplication.translate("MainWindow", "Open vtk file", None, QtGui.QApplication.UnicodeUTF8)) self.actionImport_dat_file.setText( QtGui.QApplication.translate("MainWindow", "Open dat file", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_as_JPEG.setText( QtGui.QApplication.translate("MainWindow", "Export format", None, QtGui.QApplication.UnicodeUTF8)) self.actionAutor.setText( QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8)) self.actionWersja.setText( QtGui.QApplication.translate("MainWindow", "Wersja", None, QtGui.QApplication.UnicodeUTF8)) self.actionLinki.setText( QtGui.QApplication.translate("MainWindow", "Linki", None, QtGui.QApplication.UnicodeUTF8)) self.actionBackground_color.setText( QtGui.QApplication.translate("MainWindow", "Background color", None, QtGui.QApplication.UnicodeUTF8)) self.actionWork_space.setText( QtGui.QApplication.translate("MainWindow", "Work space", None, QtGui.QApplication.UnicodeUTF8)) self.actionExport_properties.setText( QtGui.QApplication.translate("MainWindow", "Export properties", None, QtGui.QApplication.UnicodeUTF8)) self.actionExit.setText( QtGui.QApplication.translate("MainWindow", "Exit", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_Session.setText( QtGui.QApplication.translate("MainWindow", "Save Session", None, QtGui.QApplication.UnicodeUTF8)) self.actionExport_directory.setText( QtGui.QApplication.translate("MainWindow", "Export directory", None, QtGui.QApplication.UnicodeUTF8)) self.actionTutorials.setText( QtGui.QApplication.translate("MainWindow", "Tutorials", None, QtGui.QApplication.UnicodeUTF8))
class Ui_VideoWidget(object): def setupUi(self, VideoWidget): VideoWidget.setObjectName(_fromUtf8("VideoWidget")) VideoWidget.resize(448, 554) VideoWidget.setWindowTitle(_fromUtf8("")) self.verticalLayout_2 = QtGui.QVBoxLayout(VideoWidget) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.videoFrame = QtGui.QFrame(VideoWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.videoFrame.sizePolicy().hasHeightForWidth()) self.videoFrame.setSizePolicy(sizePolicy) self.videoFrame.setMinimumSize(QtCore.QSize(440, 330)) self.videoFrame.setFrameShape(QtGui.QFrame.StyledPanel) self.videoFrame.setFrameShadow(QtGui.QFrame.Raised) self.videoFrame.setObjectName(_fromUtf8("videoFrame")) self.verticalLayout_2.addWidget(self.videoFrame) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.formLayout = QtGui.QFormLayout() self.formLayout.setFieldGrowthPolicy( QtGui.QFormLayout.ExpandingFieldsGrow) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.sourceLabel = QtGui.QLabel(VideoWidget) self.sourceLabel.setObjectName(_fromUtf8("sourceLabel")) self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.sourceLabel) self.capsLabel = QtGui.QLabel(VideoWidget) self.capsLabel.setObjectName(_fromUtf8("capsLabel")) self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.capsLabel) self.capsInput = KIntNumInput(VideoWidget) self.capsInput.setObjectName(_fromUtf8("capsInput")) self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.capsInput) self.desintationLabel = QtGui.QLabel(VideoWidget) self.desintationLabel.setObjectName(_fromUtf8("desintationLabel")) self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.desintationLabel) self.destinationRequester = KUrlRequester(VideoWidget) self.destinationRequester.setObjectName( _fromUtf8("destinationRequester")) self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.destinationRequester) self.sourceRequester = KUrlRequester(VideoWidget) self.sourceRequester.setObjectName(_fromUtf8("sourceRequester")) self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.sourceRequester) self.sourceComboBox = KComboBox(VideoWidget) self.sourceComboBox.setObjectName(_fromUtf8("sourceComboBox")) self.sourceComboBox.addItem(_fromUtf8("")) self.sourceComboBox.addItem(_fromUtf8("")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.sourceComboBox) self.label = QtGui.QLabel(VideoWidget) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label) self.chapterComboBox = KComboBox(VideoWidget) self.chapterComboBox.setObjectName(_fromUtf8("chapterComboBox")) self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.chapterComboBox) self.label_2 = QtGui.QLabel(VideoWidget) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_2) self.label_3 = QtGui.QLabel(VideoWidget) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3) self.titleComboBox = KComboBox(VideoWidget) self.titleComboBox.setObjectName(_fromUtf8("titleComboBox")) self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.titleComboBox) self.verticalLayout.addLayout(self.formLayout) self.captureButton = KPushButton(VideoWidget) self.captureButton.setObjectName(_fromUtf8("captureButton")) self.verticalLayout.addWidget(self.captureButton) self.verticalLayout_2.addLayout(self.verticalLayout) self.retranslateUi(VideoWidget) QtCore.QMetaObject.connectSlotsByName(VideoWidget) def retranslateUi(self, VideoWidget): self.sourceLabel.setText(kdecore.i18n(_fromUtf8("FIle"))) self.capsLabel.setText(kdecore.i18n(_fromUtf8("Number of screencaps"))) self.desintationLabel.setText( kdecore.i18n(_fromUtf8("Destination directory"))) self.sourceComboBox.setItemText(0, kdecore.i18n(_fromUtf8("File"))) self.sourceComboBox.setItemText(1, kdecore.i18n(_fromUtf8("DVD"))) self.label.setText(kdecore.i18n(_fromUtf8("Source"))) self.label_2.setText(kdecore.i18n(_fromUtf8("DVD chapter"))) self.label_3.setText(kdecore.i18n(_fromUtf8("DVD title"))) self.captureButton.setText(kdecore.i18n(_fromUtf8("Capture")))
class Ui_VideoWidget(object): def setupUi(self, VideoWidget): VideoWidget.setObjectName(_fromUtf8("VideoWidget")) VideoWidget.resize(448, 554) VideoWidget.setWindowTitle(_fromUtf8("")) self.verticalLayout_2 = QtGui.QVBoxLayout(VideoWidget) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.videoFrame = QtGui.QFrame(VideoWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.videoFrame.sizePolicy().hasHeightForWidth()) self.videoFrame.setSizePolicy(sizePolicy) self.videoFrame.setMinimumSize(QtCore.QSize(440, 330)) self.videoFrame.setFrameShape(QtGui.QFrame.StyledPanel) self.videoFrame.setFrameShadow(QtGui.QFrame.Raised) self.videoFrame.setObjectName(_fromUtf8("videoFrame")) self.verticalLayout_2.addWidget(self.videoFrame) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.formLayout = QtGui.QFormLayout() self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.sourceLabel = QtGui.QLabel(VideoWidget) self.sourceLabel.setObjectName(_fromUtf8("sourceLabel")) self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.sourceLabel) self.capsLabel = QtGui.QLabel(VideoWidget) self.capsLabel.setObjectName(_fromUtf8("capsLabel")) self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.capsLabel) self.capsInput = KIntNumInput(VideoWidget) self.capsInput.setObjectName(_fromUtf8("capsInput")) self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.capsInput) self.desintationLabel = QtGui.QLabel(VideoWidget) self.desintationLabel.setObjectName(_fromUtf8("desintationLabel")) self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.desintationLabel) self.destinationRequester = KUrlRequester(VideoWidget) self.destinationRequester.setObjectName(_fromUtf8("destinationRequester")) self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.destinationRequester) self.sourceRequester = KUrlRequester(VideoWidget) self.sourceRequester.setObjectName(_fromUtf8("sourceRequester")) self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.sourceRequester) self.sourceComboBox = KComboBox(VideoWidget) self.sourceComboBox.setObjectName(_fromUtf8("sourceComboBox")) self.sourceComboBox.addItem(_fromUtf8("")) self.sourceComboBox.addItem(_fromUtf8("")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.sourceComboBox) self.label = QtGui.QLabel(VideoWidget) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label) self.chapterComboBox = KComboBox(VideoWidget) self.chapterComboBox.setObjectName(_fromUtf8("chapterComboBox")) self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.chapterComboBox) self.label_2 = QtGui.QLabel(VideoWidget) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_2) self.label_3 = QtGui.QLabel(VideoWidget) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3) self.titleComboBox = KComboBox(VideoWidget) self.titleComboBox.setObjectName(_fromUtf8("titleComboBox")) self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.titleComboBox) self.verticalLayout.addLayout(self.formLayout) self.captureButton = KPushButton(VideoWidget) self.captureButton.setObjectName(_fromUtf8("captureButton")) self.verticalLayout.addWidget(self.captureButton) self.verticalLayout_2.addLayout(self.verticalLayout) self.retranslateUi(VideoWidget) QtCore.QMetaObject.connectSlotsByName(VideoWidget) def retranslateUi(self, VideoWidget): self.sourceLabel.setText(kdecore.i18n(_fromUtf8("FIle"))) self.capsLabel.setText(kdecore.i18n(_fromUtf8("Number of screencaps"))) self.desintationLabel.setText(kdecore.i18n(_fromUtf8("Destination directory"))) self.sourceComboBox.setItemText(0, kdecore.i18n(_fromUtf8("File"))) self.sourceComboBox.setItemText(1, kdecore.i18n(_fromUtf8("DVD"))) self.label.setText(kdecore.i18n(_fromUtf8("Source"))) self.label_2.setText(kdecore.i18n(_fromUtf8("DVD chapter"))) self.label_3.setText(kdecore.i18n(_fromUtf8("DVD title"))) self.captureButton.setText(kdecore.i18n(_fromUtf8("Capture")))