File: rectangular_patch_editor_gui.py

package info (click to toggle)
planetary-system-stacker 0.8.32~git20230901.01f3625-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 50,468 kB
  • sloc: python: 14,055; makefile: 3
file content (48 lines) | stat: -rw-r--r-- 2,641 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'rectangular_patch_editor_gui.ui'
#
# Created by: PyQt5 UI code generator 5.12
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_rectangular_patch_editor(object):
    def setupUi(self, rectangular_patch_editor):
        rectangular_patch_editor.setObjectName("rectangular_patch_editor")
        rectangular_patch_editor.resize(900, 630)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(rectangular_patch_editor.sizePolicy().hasHeightForWidth())
        rectangular_patch_editor.setSizePolicy(sizePolicy)
        rectangular_patch_editor.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        rectangular_patch_editor.setFrameShape(QtWidgets.QFrame.Panel)
        rectangular_patch_editor.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.verticalLayout = QtWidgets.QVBoxLayout(rectangular_patch_editor)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.messageLabel = QtWidgets.QLabel(rectangular_patch_editor)
        self.messageLabel.setObjectName("messageLabel")
        self.horizontalLayout.addWidget(self.messageLabel)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.buttonBox = QtWidgets.QDialogButtonBox(rectangular_patch_editor)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.horizontalLayout.addWidget(self.buttonBox)
        self.verticalLayout.addLayout(self.horizontalLayout)

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

    def retranslateUi(self, rectangular_patch_editor):
        _translate = QtCore.QCoreApplication.translate
        rectangular_patch_editor.setWindowTitle(_translate("rectangular_patch_editor", "Frame"))
        self.messageLabel.setText(_translate("rectangular_patch_editor", "Message to be displayed"))
        self.buttonBox.setToolTip(_translate("rectangular_patch_editor", "Press \'OK\' to save the selection and exit, or \'cancel\' to discard the selection."))