more ui files instead of python generated ui
This commit is contained in:
@@ -15,9 +15,9 @@ from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
||||
QFont, QFontDatabase, QGradient, QIcon,
|
||||
QImage, QKeySequence, QLinearGradient, QPainter,
|
||||
QPalette, QPixmap, QRadialGradient, QTransform)
|
||||
from PySide6.QtWidgets import (QAbstractButton, QApplication, QCheckBox, QComboBox,
|
||||
QDialog, QDialogButtonBox, QFormLayout, QLabel,
|
||||
QLineEdit, QSizePolicy, QSpacerItem, QVBoxLayout,
|
||||
from PySide6.QtWidgets import (QAbstractButton, QApplication, QCheckBox, QDialog,
|
||||
QDialogButtonBox, QFormLayout, QLabel, QLineEdit,
|
||||
QPushButton, QSizePolicy, QSpacerItem, QVBoxLayout,
|
||||
QWidget)
|
||||
|
||||
class Ui_ComponentOptionsDialog(object):
|
||||
@@ -39,53 +39,21 @@ class Ui_ComponentOptionsDialog(object):
|
||||
|
||||
self.optionsForm.setWidget(0, QFormLayout.ItemRole.FieldRole, self.nameEdit)
|
||||
|
||||
self.shapeLabel = QLabel(ComponentOptionsDialog)
|
||||
self.shapeLabel.setObjectName(u"shapeLabel")
|
||||
self.iconLabel = QLabel(ComponentOptionsDialog)
|
||||
self.iconLabel.setObjectName(u"iconLabel")
|
||||
|
||||
self.optionsForm.setWidget(1, QFormLayout.ItemRole.LabelRole, self.shapeLabel)
|
||||
self.optionsForm.setWidget(1, QFormLayout.ItemRole.LabelRole, self.iconLabel)
|
||||
|
||||
self.shapeCombo = QComboBox(ComponentOptionsDialog)
|
||||
self.shapeCombo.addItem("")
|
||||
self.shapeCombo.addItem("")
|
||||
self.shapeCombo.setObjectName(u"shapeCombo")
|
||||
self.editIconButton = QPushButton(ComponentOptionsDialog)
|
||||
self.editIconButton.setObjectName(u"editIconButton")
|
||||
|
||||
self.optionsForm.setWidget(1, QFormLayout.ItemRole.FieldRole, self.shapeCombo)
|
||||
|
||||
self.iconTextLabel = QLabel(ComponentOptionsDialog)
|
||||
self.iconTextLabel.setObjectName(u"iconTextLabel")
|
||||
|
||||
self.optionsForm.setWidget(2, QFormLayout.ItemRole.LabelRole, self.iconTextLabel)
|
||||
|
||||
self.iconTextEdit = QLineEdit(ComponentOptionsDialog)
|
||||
self.iconTextEdit.setObjectName(u"iconTextEdit")
|
||||
|
||||
self.optionsForm.setWidget(2, QFormLayout.ItemRole.FieldRole, self.iconTextEdit)
|
||||
|
||||
self.fillLabel = QLabel(ComponentOptionsDialog)
|
||||
self.fillLabel.setObjectName(u"fillLabel")
|
||||
|
||||
self.optionsForm.setWidget(3, QFormLayout.ItemRole.LabelRole, self.fillLabel)
|
||||
|
||||
self.fillEdit = QLineEdit(ComponentOptionsDialog)
|
||||
self.fillEdit.setObjectName(u"fillEdit")
|
||||
|
||||
self.optionsForm.setWidget(3, QFormLayout.ItemRole.FieldRole, self.fillEdit)
|
||||
|
||||
self.borderLabel = QLabel(ComponentOptionsDialog)
|
||||
self.borderLabel.setObjectName(u"borderLabel")
|
||||
|
||||
self.optionsForm.setWidget(4, QFormLayout.ItemRole.LabelRole, self.borderLabel)
|
||||
|
||||
self.borderEdit = QLineEdit(ComponentOptionsDialog)
|
||||
self.borderEdit.setObjectName(u"borderEdit")
|
||||
|
||||
self.optionsForm.setWidget(4, QFormLayout.ItemRole.FieldRole, self.borderEdit)
|
||||
self.optionsForm.setWidget(1, QFormLayout.ItemRole.FieldRole, self.editIconButton)
|
||||
|
||||
self.showSubtreeCheckBox = QCheckBox(ComponentOptionsDialog)
|
||||
self.showSubtreeCheckBox.setObjectName(u"showSubtreeCheckBox")
|
||||
self.showSubtreeCheckBox.setChecked(True)
|
||||
|
||||
self.optionsForm.setWidget(5, QFormLayout.ItemRole.SpanningRole, self.showSubtreeCheckBox)
|
||||
self.optionsForm.setWidget(2, QFormLayout.ItemRole.SpanningRole, self.showSubtreeCheckBox)
|
||||
|
||||
|
||||
self.dialogLayout.addLayout(self.optionsForm)
|
||||
@@ -111,15 +79,11 @@ class Ui_ComponentOptionsDialog(object):
|
||||
def retranslateUi(self, ComponentOptionsDialog):
|
||||
ComponentOptionsDialog.setWindowTitle(QCoreApplication.translate("ComponentOptionsDialog", u"Component Options", None))
|
||||
self.nameLabel.setText(QCoreApplication.translate("ComponentOptionsDialog", u"Name:", None))
|
||||
self.shapeLabel.setText(QCoreApplication.translate("ComponentOptionsDialog", u"Icon shape:", None))
|
||||
self.shapeCombo.setItemText(0, QCoreApplication.translate("ComponentOptionsDialog", u"rectangle", None))
|
||||
self.shapeCombo.setItemText(1, QCoreApplication.translate("ComponentOptionsDialog", u"ellipse", None))
|
||||
|
||||
self.iconTextLabel.setText(QCoreApplication.translate("ComponentOptionsDialog", u"Icon text:", None))
|
||||
self.fillLabel.setText(QCoreApplication.translate("ComponentOptionsDialog", u"Fill color:", None))
|
||||
self.fillEdit.setPlaceholderText(QCoreApplication.translate("ComponentOptionsDialog", u"#dbeafe", None))
|
||||
self.borderLabel.setText(QCoreApplication.translate("ComponentOptionsDialog", u"Border color:", None))
|
||||
self.borderEdit.setPlaceholderText(QCoreApplication.translate("ComponentOptionsDialog", u"#303030", None))
|
||||
self.iconLabel.setText(QCoreApplication.translate("ComponentOptionsDialog", u"Icon:", None))
|
||||
self.editIconButton.setText(QCoreApplication.translate("ComponentOptionsDialog", u"Edit Icon\u2026", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.editIconButton.setToolTip(QCoreApplication.translate("ComponentOptionsDialog", u"Open the vector icon and port-position editor", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.showSubtreeCheckBox.setText(QCoreApplication.translate("ComponentOptionsDialog", u"Show contained components in the Libraries tree", None))
|
||||
# retranslateUi
|
||||
|
||||
|
||||
119
BEdit/src/bedit/gui/generated/ui_icon_editor_dialog.py
Normal file
119
BEdit/src/bedit/gui/generated/ui_icon_editor_dialog.py
Normal file
@@ -0,0 +1,119 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'icon_editor_dialog.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.11.1
|
||||
##
|
||||
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
################################################################################
|
||||
|
||||
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
||||
QMetaObject, QObject, QPoint, QRect,
|
||||
QSize, QTime, QUrl, Qt)
|
||||
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
||||
QFont, QFontDatabase, QGradient, QIcon,
|
||||
QImage, QKeySequence, QLinearGradient, QPainter,
|
||||
QPalette, QPixmap, QRadialGradient, QTransform)
|
||||
from PySide6.QtWidgets import (QAbstractButton, QApplication, QDialog, QDialogButtonBox,
|
||||
QGraphicsView, QHBoxLayout, QLabel, QPushButton,
|
||||
QSizePolicy, QSpacerItem, QToolButton, QVBoxLayout,
|
||||
QWidget)
|
||||
|
||||
from bedit.gui.graphics.icon_canvas import IconCanvasView
|
||||
|
||||
class Ui_IconEditorDialog(object):
|
||||
def setupUi(self, IconEditorDialog):
|
||||
if not IconEditorDialog.objectName():
|
||||
IconEditorDialog.setObjectName(u"IconEditorDialog")
|
||||
IconEditorDialog.resize(850, 600)
|
||||
self.dialogLayout = QVBoxLayout(IconEditorDialog)
|
||||
self.dialogLayout.setObjectName(u"dialogLayout")
|
||||
self.shapeToolbarLayout = QHBoxLayout()
|
||||
self.shapeToolbarLayout.setObjectName(u"shapeToolbarLayout")
|
||||
self.addShapeLabel = QLabel(IconEditorDialog)
|
||||
self.addShapeLabel.setObjectName(u"addShapeLabel")
|
||||
|
||||
self.shapeToolbarLayout.addWidget(self.addShapeLabel)
|
||||
|
||||
self.addRectangleButton = QToolButton(IconEditorDialog)
|
||||
self.addRectangleButton.setObjectName(u"addRectangleButton")
|
||||
|
||||
self.shapeToolbarLayout.addWidget(self.addRectangleButton)
|
||||
|
||||
self.addCircleButton = QToolButton(IconEditorDialog)
|
||||
self.addCircleButton.setObjectName(u"addCircleButton")
|
||||
|
||||
self.shapeToolbarLayout.addWidget(self.addCircleButton)
|
||||
|
||||
self.addEllipseButton = QToolButton(IconEditorDialog)
|
||||
self.addEllipseButton.setObjectName(u"addEllipseButton")
|
||||
|
||||
self.shapeToolbarLayout.addWidget(self.addEllipseButton)
|
||||
|
||||
self.addLineButton = QToolButton(IconEditorDialog)
|
||||
self.addLineButton.setObjectName(u"addLineButton")
|
||||
|
||||
self.shapeToolbarLayout.addWidget(self.addLineButton)
|
||||
|
||||
self.addTriangleButton = QToolButton(IconEditorDialog)
|
||||
self.addTriangleButton.setObjectName(u"addTriangleButton")
|
||||
|
||||
self.shapeToolbarLayout.addWidget(self.addTriangleButton)
|
||||
|
||||
self.addTextButton = QToolButton(IconEditorDialog)
|
||||
self.addTextButton.setObjectName(u"addTextButton")
|
||||
|
||||
self.shapeToolbarLayout.addWidget(self.addTextButton)
|
||||
|
||||
self.toolbarSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
||||
|
||||
self.shapeToolbarLayout.addItem(self.toolbarSpacer)
|
||||
|
||||
self.deleteSelectedButton = QPushButton(IconEditorDialog)
|
||||
self.deleteSelectedButton.setObjectName(u"deleteSelectedButton")
|
||||
|
||||
self.shapeToolbarLayout.addWidget(self.deleteSelectedButton)
|
||||
|
||||
|
||||
self.dialogLayout.addLayout(self.shapeToolbarLayout)
|
||||
|
||||
self.iconView = IconCanvasView(IconEditorDialog)
|
||||
self.iconView.setObjectName(u"iconView")
|
||||
self.iconView.setDragMode(QGraphicsView.DragMode.RubberBandDrag)
|
||||
|
||||
self.dialogLayout.addWidget(self.iconView)
|
||||
|
||||
self.portHintLabel = QLabel(IconEditorDialog)
|
||||
self.portHintLabel.setObjectName(u"portHintLabel")
|
||||
self.portHintLabel.setWordWrap(True)
|
||||
|
||||
self.dialogLayout.addWidget(self.portHintLabel)
|
||||
|
||||
self.buttonBox = QDialogButtonBox(IconEditorDialog)
|
||||
self.buttonBox.setObjectName(u"buttonBox")
|
||||
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
|
||||
|
||||
self.dialogLayout.addWidget(self.buttonBox)
|
||||
|
||||
|
||||
self.retranslateUi(IconEditorDialog)
|
||||
self.buttonBox.accepted.connect(IconEditorDialog.accept)
|
||||
self.buttonBox.rejected.connect(IconEditorDialog.reject)
|
||||
|
||||
QMetaObject.connectSlotsByName(IconEditorDialog)
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, IconEditorDialog):
|
||||
IconEditorDialog.setWindowTitle(QCoreApplication.translate("IconEditorDialog", u"Icon Editor", None))
|
||||
self.addShapeLabel.setText(QCoreApplication.translate("IconEditorDialog", u"Add:", None))
|
||||
self.addRectangleButton.setText(QCoreApplication.translate("IconEditorDialog", u"Rectangle", None))
|
||||
self.addCircleButton.setText(QCoreApplication.translate("IconEditorDialog", u"Circle", None))
|
||||
self.addEllipseButton.setText(QCoreApplication.translate("IconEditorDialog", u"Ellipse", None))
|
||||
self.addLineButton.setText(QCoreApplication.translate("IconEditorDialog", u"Line", None))
|
||||
self.addTriangleButton.setText(QCoreApplication.translate("IconEditorDialog", u"Triangle", None))
|
||||
self.addTextButton.setText(QCoreApplication.translate("IconEditorDialog", u"Text", None))
|
||||
self.deleteSelectedButton.setText(QCoreApplication.translate("IconEditorDialog", u"Delete selected", None))
|
||||
self.portHintLabel.setText(QCoreApplication.translate("IconEditorDialog", u"Green points are inputs; red points are outputs. Drag them to place connection anchors.", None))
|
||||
# retranslateUi
|
||||
|
||||
@@ -40,6 +40,12 @@ class Ui_MainWindow(object):
|
||||
icon1 = QIcon()
|
||||
icon1.addFile(u":/icons/icons/transform-rotate.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.actionRotateClockwise.setIcon(icon1)
|
||||
self.actionZoomIn = QAction(MainWindow)
|
||||
self.actionZoomIn.setObjectName(u"actionZoomIn")
|
||||
self.actionZoomOut = QAction(MainWindow)
|
||||
self.actionZoomOut.setObjectName(u"actionZoomOut")
|
||||
self.actionCenterView = QAction(MainWindow)
|
||||
self.actionCenterView.setObjectName(u"actionCenterView")
|
||||
self.actionOpen = QAction(MainWindow)
|
||||
self.actionOpen.setObjectName(u"actionOpen")
|
||||
icon2 = QIcon()
|
||||
@@ -123,6 +129,8 @@ class Ui_MainWindow(object):
|
||||
self.librariesLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.treeView = QTreeView(self.dockWidgetContents)
|
||||
self.treeView.setObjectName(u"treeView")
|
||||
self.treeView.setIconSize(QSize(28, 28))
|
||||
self.treeView.setStyleSheet(u"QTreeView::item { height: 32px; }")
|
||||
self.treeView.setAlternatingRowColors(True)
|
||||
self.treeView.setUniformRowHeights(True)
|
||||
|
||||
@@ -141,6 +149,7 @@ class Ui_MainWindow(object):
|
||||
self.documentPanelLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.documentTreeView = QTreeView(self.documentDockContents)
|
||||
self.documentTreeView.setObjectName(u"documentTreeView")
|
||||
self.documentTreeView.setIconSize(QSize(16, 16))
|
||||
self.documentTreeView.setAlternatingRowColors(True)
|
||||
self.documentTreeView.setUniformRowHeights(True)
|
||||
|
||||
@@ -201,20 +210,6 @@ class Ui_MainWindow(object):
|
||||
|
||||
self.workspaceHeaderLayout.addWidget(self.pointerToolButton)
|
||||
|
||||
self.inputToolButton = QToolButton(self.workspaceHeader)
|
||||
self.inputToolButton.setObjectName(u"inputToolButton")
|
||||
self.inputToolButton.setCheckable(True)
|
||||
self.inputToolButton.setAutoExclusive(True)
|
||||
|
||||
self.workspaceHeaderLayout.addWidget(self.inputToolButton)
|
||||
|
||||
self.outputToolButton = QToolButton(self.workspaceHeader)
|
||||
self.outputToolButton.setObjectName(u"outputToolButton")
|
||||
self.outputToolButton.setCheckable(True)
|
||||
self.outputToolButton.setAutoExclusive(True)
|
||||
|
||||
self.workspaceHeaderLayout.addWidget(self.outputToolButton)
|
||||
|
||||
|
||||
self.workspaceEditorLayout.addWidget(self.workspaceHeader)
|
||||
|
||||
@@ -245,10 +240,12 @@ class Ui_MainWindow(object):
|
||||
self.workspaceStack.addWidget(self.jsonPage)
|
||||
self.emptyPage = QWidget()
|
||||
self.emptyPage.setObjectName(u"emptyPage")
|
||||
self.emptyPage.setStyleSheet(u"background-color: #9a9a9a;")
|
||||
self.emptyPageLayout = QVBoxLayout(self.emptyPage)
|
||||
self.emptyPageLayout.setObjectName(u"emptyPageLayout")
|
||||
self.emptyWorkspaceLabel = QLabel(self.emptyPage)
|
||||
self.emptyWorkspaceLabel.setObjectName(u"emptyWorkspaceLabel")
|
||||
self.emptyWorkspaceLabel.setStyleSheet(u"background: transparent; color: #202020;")
|
||||
self.emptyWorkspaceLabel.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
|
||||
self.emptyPageLayout.addWidget(self.emptyWorkspaceLabel)
|
||||
@@ -295,6 +292,9 @@ class Ui_MainWindow(object):
|
||||
self.transformToolbar = QToolBar(MainWindow)
|
||||
self.transformToolbar.setObjectName(u"transformToolbar")
|
||||
MainWindow.addToolBar(Qt.ToolBarArea.TopToolBarArea, self.transformToolbar)
|
||||
self.cameraToolbar = QToolBar(MainWindow)
|
||||
self.cameraToolbar.setObjectName(u"cameraToolbar")
|
||||
MainWindow.addToolBar(Qt.ToolBarArea.TopToolBarArea, self.cameraToolbar)
|
||||
|
||||
self.menubar.addAction(self.menuFile.menuAction())
|
||||
self.menubar.addAction(self.menuEdit.menuAction())
|
||||
@@ -332,6 +332,9 @@ class Ui_MainWindow(object):
|
||||
self.editToolbar.addAction(self.actionCut)
|
||||
self.editToolbar.addAction(self.actionPaste)
|
||||
self.transformToolbar.addAction(self.actionRotateClockwise)
|
||||
self.cameraToolbar.addAction(self.actionZoomIn)
|
||||
self.cameraToolbar.addAction(self.actionZoomOut)
|
||||
self.cameraToolbar.addAction(self.actionCenterView)
|
||||
|
||||
self.retranslateUi(MainWindow)
|
||||
|
||||
@@ -356,6 +359,18 @@ class Ui_MainWindow(object):
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
#if QT_CONFIG(shortcut)
|
||||
self.actionRotateClockwise.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+R", None))
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
self.actionZoomIn.setText(QCoreApplication.translate("MainWindow", u"Zoom In", None))
|
||||
#if QT_CONFIG(shortcut)
|
||||
self.actionZoomIn.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl++", None))
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
self.actionZoomOut.setText(QCoreApplication.translate("MainWindow", u"Zoom Out", None))
|
||||
#if QT_CONFIG(shortcut)
|
||||
self.actionZoomOut.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+-", None))
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
self.actionCenterView.setText(QCoreApplication.translate("MainWindow", u"Center", None))
|
||||
#if QT_CONFIG(shortcut)
|
||||
self.actionCenterView.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+0", None))
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
self.actionOpen.setText(QCoreApplication.translate("MainWindow", u"&Open\u2026", None))
|
||||
#if QT_CONFIG(statustip)
|
||||
@@ -427,14 +442,6 @@ class Ui_MainWindow(object):
|
||||
self.workspaceModeLabel.setText(QCoreApplication.translate("MainWindow", u"Graph", None))
|
||||
self.applyJsonButton.setText(QCoreApplication.translate("MainWindow", u"Apply JSON", None))
|
||||
self.pointerToolButton.setText(QCoreApplication.translate("MainWindow", u"Pointer", None))
|
||||
self.inputToolButton.setText(QCoreApplication.translate("MainWindow", u"Input", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.inputToolButton.setToolTip(QCoreApplication.translate("MainWindow", u"Add an interface input", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.outputToolButton.setText(QCoreApplication.translate("MainWindow", u"Output", None))
|
||||
#if QT_CONFIG(tooltip)
|
||||
self.outputToolButton.setToolTip(QCoreApplication.translate("MainWindow", u"Add an interface output", None))
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
self.jsonEditor.setPlaceholderText(QCoreApplication.translate("MainWindow", u"Component JSON", None))
|
||||
self.emptyWorkspaceLabel.setText(QCoreApplication.translate("MainWindow", u"No document open", None))
|
||||
self.menuFile.setTitle(QCoreApplication.translate("MainWindow", u"&File", None))
|
||||
@@ -446,5 +453,6 @@ class Ui_MainWindow(object):
|
||||
self.fileToolbar.setWindowTitle(QCoreApplication.translate("MainWindow", u"File", None))
|
||||
self.editToolbar.setWindowTitle(QCoreApplication.translate("MainWindow", u"Edit", None))
|
||||
self.transformToolbar.setWindowTitle(QCoreApplication.translate("MainWindow", u"Transform", None))
|
||||
self.cameraToolbar.setWindowTitle(QCoreApplication.translate("MainWindow", u"Camera", None))
|
||||
# retranslateUi
|
||||
|
||||
|
||||
135
BEdit/src/bedit/gui/generated/ui_port_options_dialog.py
Normal file
135
BEdit/src/bedit/gui/generated/ui_port_options_dialog.py
Normal file
@@ -0,0 +1,135 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'port_options_dialog.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.11.1
|
||||
##
|
||||
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
################################################################################
|
||||
|
||||
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
||||
QMetaObject, QObject, QPoint, QRect,
|
||||
QSize, QTime, QUrl, Qt)
|
||||
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
||||
QFont, QFontDatabase, QGradient, QIcon,
|
||||
QImage, QKeySequence, QLinearGradient, QPainter,
|
||||
QPalette, QPixmap, QRadialGradient, QTransform)
|
||||
from PySide6.QtWidgets import (QAbstractButton, QApplication, QComboBox, QDialog,
|
||||
QDialogButtonBox, QFormLayout, QHBoxLayout, QLabel,
|
||||
QLineEdit, QListWidget, QListWidgetItem, QPushButton,
|
||||
QSizePolicy, QSplitter, QVBoxLayout, QWidget)
|
||||
|
||||
class Ui_PortOptionsDialog(object):
|
||||
def setupUi(self, PortOptionsDialog):
|
||||
if not PortOptionsDialog.objectName():
|
||||
PortOptionsDialog.setObjectName(u"PortOptionsDialog")
|
||||
PortOptionsDialog.resize(620, 380)
|
||||
self.dialogLayout = QVBoxLayout(PortOptionsDialog)
|
||||
self.dialogLayout.setObjectName(u"dialogLayout")
|
||||
self.portSplitter = QSplitter(PortOptionsDialog)
|
||||
self.portSplitter.setObjectName(u"portSplitter")
|
||||
self.portSplitter.setOrientation(Qt.Orientation.Horizontal)
|
||||
self.portListPanel = QWidget(self.portSplitter)
|
||||
self.portListPanel.setObjectName(u"portListPanel")
|
||||
self.portListLayout = QVBoxLayout(self.portListPanel)
|
||||
self.portListLayout.setObjectName(u"portListLayout")
|
||||
self.portListLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.portList = QListWidget(self.portListPanel)
|
||||
self.portList.setObjectName(u"portList")
|
||||
|
||||
self.portListLayout.addWidget(self.portList)
|
||||
|
||||
self.portButtonsLayout = QHBoxLayout()
|
||||
self.portButtonsLayout.setObjectName(u"portButtonsLayout")
|
||||
self.addPortButton = QPushButton(self.portListPanel)
|
||||
self.addPortButton.setObjectName(u"addPortButton")
|
||||
|
||||
self.portButtonsLayout.addWidget(self.addPortButton)
|
||||
|
||||
self.removePortButton = QPushButton(self.portListPanel)
|
||||
self.removePortButton.setObjectName(u"removePortButton")
|
||||
|
||||
self.portButtonsLayout.addWidget(self.removePortButton)
|
||||
|
||||
|
||||
self.portListLayout.addLayout(self.portButtonsLayout)
|
||||
|
||||
self.portSplitter.addWidget(self.portListPanel)
|
||||
self.portDetailsPanel = QWidget(self.portSplitter)
|
||||
self.portDetailsPanel.setObjectName(u"portDetailsPanel")
|
||||
self.portDetailsForm = QFormLayout(self.portDetailsPanel)
|
||||
self.portDetailsForm.setObjectName(u"portDetailsForm")
|
||||
self.portDetailsForm.setContentsMargins(0, 0, 0, 0)
|
||||
self.nameLabel = QLabel(self.portDetailsPanel)
|
||||
self.nameLabel.setObjectName(u"nameLabel")
|
||||
|
||||
self.portDetailsForm.setWidget(0, QFormLayout.ItemRole.LabelRole, self.nameLabel)
|
||||
|
||||
self.nameEdit = QLineEdit(self.portDetailsPanel)
|
||||
self.nameEdit.setObjectName(u"nameEdit")
|
||||
|
||||
self.portDetailsForm.setWidget(0, QFormLayout.ItemRole.FieldRole, self.nameEdit)
|
||||
|
||||
self.typeLabel = QLabel(self.portDetailsPanel)
|
||||
self.typeLabel.setObjectName(u"typeLabel")
|
||||
|
||||
self.portDetailsForm.setWidget(1, QFormLayout.ItemRole.LabelRole, self.typeLabel)
|
||||
|
||||
self.typeCombo = QComboBox(self.portDetailsPanel)
|
||||
self.typeCombo.addItem("")
|
||||
self.typeCombo.setObjectName(u"typeCombo")
|
||||
|
||||
self.portDetailsForm.setWidget(1, QFormLayout.ItemRole.FieldRole, self.typeCombo)
|
||||
|
||||
self.orientationLabel = QLabel(self.portDetailsPanel)
|
||||
self.orientationLabel.setObjectName(u"orientationLabel")
|
||||
|
||||
self.portDetailsForm.setWidget(2, QFormLayout.ItemRole.LabelRole, self.orientationLabel)
|
||||
|
||||
self.orientationCombo = QComboBox(self.portDetailsPanel)
|
||||
self.orientationCombo.addItem("")
|
||||
self.orientationCombo.addItem("")
|
||||
self.orientationCombo.setObjectName(u"orientationCombo")
|
||||
|
||||
self.portDetailsForm.setWidget(2, QFormLayout.ItemRole.FieldRole, self.orientationCombo)
|
||||
|
||||
self.positionHintLabel = QLabel(self.portDetailsPanel)
|
||||
self.positionHintLabel.setObjectName(u"positionHintLabel")
|
||||
self.positionHintLabel.setWordWrap(True)
|
||||
|
||||
self.portDetailsForm.setWidget(3, QFormLayout.ItemRole.SpanningRole, self.positionHintLabel)
|
||||
|
||||
self.portSplitter.addWidget(self.portDetailsPanel)
|
||||
|
||||
self.dialogLayout.addWidget(self.portSplitter)
|
||||
|
||||
self.buttonBox = QDialogButtonBox(PortOptionsDialog)
|
||||
self.buttonBox.setObjectName(u"buttonBox")
|
||||
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
|
||||
|
||||
self.dialogLayout.addWidget(self.buttonBox)
|
||||
|
||||
|
||||
self.retranslateUi(PortOptionsDialog)
|
||||
self.buttonBox.accepted.connect(PortOptionsDialog.accept)
|
||||
self.buttonBox.rejected.connect(PortOptionsDialog.reject)
|
||||
|
||||
QMetaObject.connectSlotsByName(PortOptionsDialog)
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, PortOptionsDialog):
|
||||
PortOptionsDialog.setWindowTitle(QCoreApplication.translate("PortOptionsDialog", u"Port Options", None))
|
||||
self.addPortButton.setText(QCoreApplication.translate("PortOptionsDialog", u"Add Port", None))
|
||||
self.removePortButton.setText(QCoreApplication.translate("PortOptionsDialog", u"Remove Port", None))
|
||||
self.nameLabel.setText(QCoreApplication.translate("PortOptionsDialog", u"Name:", None))
|
||||
self.typeLabel.setText(QCoreApplication.translate("PortOptionsDialog", u"Type:", None))
|
||||
self.typeCombo.setItemText(0, QCoreApplication.translate("PortOptionsDialog", u"Signal", None))
|
||||
|
||||
self.orientationLabel.setText(QCoreApplication.translate("PortOptionsDialog", u"Orientation:", None))
|
||||
self.orientationCombo.setItemText(0, QCoreApplication.translate("PortOptionsDialog", u"Input", None))
|
||||
self.orientationCombo.setItemText(1, QCoreApplication.translate("PortOptionsDialog", u"Output", None))
|
||||
|
||||
self.positionHintLabel.setText(QCoreApplication.translate("PortOptionsDialog", u"New ports start at (0, 0) in the icon editor.", None))
|
||||
# retranslateUi
|
||||
|
||||
@@ -25,7 +25,7 @@ class Ui_SettingsDialog(object):
|
||||
def setupUi(self, SettingsDialog):
|
||||
if not SettingsDialog.objectName():
|
||||
SettingsDialog.setObjectName(u"SettingsDialog")
|
||||
SettingsDialog.resize(480, 300)
|
||||
SettingsDialog.resize(480, 420)
|
||||
SettingsDialog.setModal(True)
|
||||
self.dialogLayout = QVBoxLayout(SettingsDialog)
|
||||
self.dialogLayout.setObjectName(u"dialogLayout")
|
||||
@@ -52,6 +52,52 @@ class Ui_SettingsDialog(object):
|
||||
|
||||
self.generalLayout.addWidget(self.autosaveGroupBox)
|
||||
|
||||
self.editorGridsGroupBox = QGroupBox(self.generalTab)
|
||||
self.editorGridsGroupBox.setObjectName(u"editorGridsGroupBox")
|
||||
self.editorGridsLayout = QFormLayout(self.editorGridsGroupBox)
|
||||
self.editorGridsLayout.setObjectName(u"editorGridsLayout")
|
||||
self.graphGridLabel = QLabel(self.editorGridsGroupBox)
|
||||
self.graphGridLabel.setObjectName(u"graphGridLabel")
|
||||
|
||||
self.editorGridsLayout.setWidget(0, QFormLayout.ItemRole.LabelRole, self.graphGridLabel)
|
||||
|
||||
self.graphGridSpinBox = QSpinBox(self.editorGridsGroupBox)
|
||||
self.graphGridSpinBox.setObjectName(u"graphGridSpinBox")
|
||||
self.graphGridSpinBox.setMinimum(8)
|
||||
self.graphGridSpinBox.setMaximum(512)
|
||||
self.graphGridSpinBox.setValue(64)
|
||||
|
||||
self.editorGridsLayout.setWidget(0, QFormLayout.ItemRole.FieldRole, self.graphGridSpinBox)
|
||||
|
||||
self.graphSnapLabel = QLabel(self.editorGridsGroupBox)
|
||||
self.graphSnapLabel.setObjectName(u"graphSnapLabel")
|
||||
|
||||
self.editorGridsLayout.setWidget(1, QFormLayout.ItemRole.LabelRole, self.graphSnapLabel)
|
||||
|
||||
self.graphSnapSpinBox = QSpinBox(self.editorGridsGroupBox)
|
||||
self.graphSnapSpinBox.setObjectName(u"graphSnapSpinBox")
|
||||
self.graphSnapSpinBox.setMinimum(1)
|
||||
self.graphSnapSpinBox.setMaximum(128)
|
||||
self.graphSnapSpinBox.setValue(8)
|
||||
|
||||
self.editorGridsLayout.setWidget(1, QFormLayout.ItemRole.FieldRole, self.graphSnapSpinBox)
|
||||
|
||||
self.iconGridLabel = QLabel(self.editorGridsGroupBox)
|
||||
self.iconGridLabel.setObjectName(u"iconGridLabel")
|
||||
|
||||
self.editorGridsLayout.setWidget(2, QFormLayout.ItemRole.LabelRole, self.iconGridLabel)
|
||||
|
||||
self.iconGridSpinBox = QSpinBox(self.editorGridsGroupBox)
|
||||
self.iconGridSpinBox.setObjectName(u"iconGridSpinBox")
|
||||
self.iconGridSpinBox.setMinimum(1)
|
||||
self.iconGridSpinBox.setMaximum(64)
|
||||
self.iconGridSpinBox.setValue(8)
|
||||
|
||||
self.editorGridsLayout.setWidget(2, QFormLayout.ItemRole.FieldRole, self.iconGridSpinBox)
|
||||
|
||||
|
||||
self.generalLayout.addWidget(self.editorGridsGroupBox)
|
||||
|
||||
self.generalSpacer = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self.generalLayout.addItem(self.generalSpacer)
|
||||
@@ -122,6 +168,13 @@ class Ui_SettingsDialog(object):
|
||||
SettingsDialog.setWindowTitle(QCoreApplication.translate("SettingsDialog", u"Settings", None))
|
||||
self.autosaveGroupBox.setTitle(QCoreApplication.translate("SettingsDialog", u"Automatic saving", None))
|
||||
self.autosaveIntervalSpinBox.setSuffix(QCoreApplication.translate("SettingsDialog", u" minutes", None))
|
||||
self.editorGridsGroupBox.setTitle(QCoreApplication.translate("SettingsDialog", u"Editor grids", None))
|
||||
self.graphGridLabel.setText(QCoreApplication.translate("SettingsDialog", u"Workspace grid size:", None))
|
||||
self.graphGridSpinBox.setSuffix(QCoreApplication.translate("SettingsDialog", u" units", None))
|
||||
self.graphSnapLabel.setText(QCoreApplication.translate("SettingsDialog", u"Workspace snapping size:", None))
|
||||
self.graphSnapSpinBox.setSuffix(QCoreApplication.translate("SettingsDialog", u" units", None))
|
||||
self.iconGridLabel.setText(QCoreApplication.translate("SettingsDialog", u"Icon grid size:", None))
|
||||
self.iconGridSpinBox.setSuffix(QCoreApplication.translate("SettingsDialog", u" units", None))
|
||||
self.settingsTabs.setTabText(self.settingsTabs.indexOf(self.generalTab), QCoreApplication.translate("SettingsDialog", u"General", None))
|
||||
self.libraryPathsLabel.setText(QCoreApplication.translate("SettingsDialog", u"Load library JSON files from these files or folders at startup:", None))
|
||||
self.addLibraryFileButton.setText(QCoreApplication.translate("SettingsDialog", u"Add File\u2026", None))
|
||||
|
||||
194
BEdit/src/bedit/gui/generated/ui_shape_options_dialog.py
Normal file
194
BEdit/src/bedit/gui/generated/ui_shape_options_dialog.py
Normal file
@@ -0,0 +1,194 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'shape_options_dialog.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.11.1
|
||||
##
|
||||
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
################################################################################
|
||||
|
||||
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
||||
QMetaObject, QObject, QPoint, QRect,
|
||||
QSize, QTime, QUrl, Qt)
|
||||
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
||||
QFont, QFontDatabase, QGradient, QIcon,
|
||||
QImage, QKeySequence, QLinearGradient, QPainter,
|
||||
QPalette, QPixmap, QRadialGradient, QTransform)
|
||||
from PySide6.QtWidgets import (QAbstractButton, QApplication, QComboBox, QDialog,
|
||||
QDialogButtonBox, QDoubleSpinBox, QFormLayout, QLabel,
|
||||
QLineEdit, QPushButton, QSizePolicy, QSpacerItem,
|
||||
QVBoxLayout, QWidget)
|
||||
|
||||
class Ui_ShapeOptionsDialog(object):
|
||||
def setupUi(self, ShapeOptionsDialog):
|
||||
if not ShapeOptionsDialog.objectName():
|
||||
ShapeOptionsDialog.setObjectName(u"ShapeOptionsDialog")
|
||||
ShapeOptionsDialog.resize(420, 440)
|
||||
self.dialogLayout = QVBoxLayout(ShapeOptionsDialog)
|
||||
self.dialogLayout.setObjectName(u"dialogLayout")
|
||||
self.optionsForm = QFormLayout()
|
||||
self.optionsForm.setObjectName(u"optionsForm")
|
||||
self.widthLabel = QLabel(ShapeOptionsDialog)
|
||||
self.widthLabel.setObjectName(u"widthLabel")
|
||||
|
||||
self.optionsForm.setWidget(0, QFormLayout.ItemRole.LabelRole, self.widthLabel)
|
||||
|
||||
self.widthSpin = QDoubleSpinBox(ShapeOptionsDialog)
|
||||
self.widthSpin.setObjectName(u"widthSpin")
|
||||
self.widthSpin.setMinimum(1.000000000000000)
|
||||
self.widthSpin.setMaximum(500.000000000000000)
|
||||
|
||||
self.optionsForm.setWidget(0, QFormLayout.ItemRole.FieldRole, self.widthSpin)
|
||||
|
||||
self.heightLabel = QLabel(ShapeOptionsDialog)
|
||||
self.heightLabel.setObjectName(u"heightLabel")
|
||||
|
||||
self.optionsForm.setWidget(1, QFormLayout.ItemRole.LabelRole, self.heightLabel)
|
||||
|
||||
self.heightSpin = QDoubleSpinBox(ShapeOptionsDialog)
|
||||
self.heightSpin.setObjectName(u"heightSpin")
|
||||
self.heightSpin.setMinimum(1.000000000000000)
|
||||
self.heightSpin.setMaximum(500.000000000000000)
|
||||
|
||||
self.optionsForm.setWidget(1, QFormLayout.ItemRole.FieldRole, self.heightSpin)
|
||||
|
||||
self.lineStyleLabel = QLabel(ShapeOptionsDialog)
|
||||
self.lineStyleLabel.setObjectName(u"lineStyleLabel")
|
||||
|
||||
self.optionsForm.setWidget(2, QFormLayout.ItemRole.LabelRole, self.lineStyleLabel)
|
||||
|
||||
self.lineStyleCombo = QComboBox(ShapeOptionsDialog)
|
||||
self.lineStyleCombo.addItem("")
|
||||
self.lineStyleCombo.addItem("")
|
||||
self.lineStyleCombo.addItem("")
|
||||
self.lineStyleCombo.addItem("")
|
||||
self.lineStyleCombo.addItem("")
|
||||
self.lineStyleCombo.setObjectName(u"lineStyleCombo")
|
||||
|
||||
self.optionsForm.setWidget(2, QFormLayout.ItemRole.FieldRole, self.lineStyleCombo)
|
||||
|
||||
self.lineWidthLabel = QLabel(ShapeOptionsDialog)
|
||||
self.lineWidthLabel.setObjectName(u"lineWidthLabel")
|
||||
|
||||
self.optionsForm.setWidget(3, QFormLayout.ItemRole.LabelRole, self.lineWidthLabel)
|
||||
|
||||
self.lineWidthSpin = QDoubleSpinBox(ShapeOptionsDialog)
|
||||
self.lineWidthSpin.setObjectName(u"lineWidthSpin")
|
||||
self.lineWidthSpin.setMinimum(0.100000000000000)
|
||||
self.lineWidthSpin.setMaximum(20.000000000000000)
|
||||
self.lineWidthSpin.setSingleStep(0.500000000000000)
|
||||
|
||||
self.optionsForm.setWidget(3, QFormLayout.ItemRole.FieldRole, self.lineWidthSpin)
|
||||
|
||||
self.strokeColorLabel = QLabel(ShapeOptionsDialog)
|
||||
self.strokeColorLabel.setObjectName(u"strokeColorLabel")
|
||||
|
||||
self.optionsForm.setWidget(4, QFormLayout.ItemRole.LabelRole, self.strokeColorLabel)
|
||||
|
||||
self.strokeColorButton = QPushButton(ShapeOptionsDialog)
|
||||
self.strokeColorButton.setObjectName(u"strokeColorButton")
|
||||
|
||||
self.optionsForm.setWidget(4, QFormLayout.ItemRole.FieldRole, self.strokeColorButton)
|
||||
|
||||
self.fillTypeLabel = QLabel(ShapeOptionsDialog)
|
||||
self.fillTypeLabel.setObjectName(u"fillTypeLabel")
|
||||
|
||||
self.optionsForm.setWidget(5, QFormLayout.ItemRole.LabelRole, self.fillTypeLabel)
|
||||
|
||||
self.fillTypeCombo = QComboBox(ShapeOptionsDialog)
|
||||
self.fillTypeCombo.addItem("")
|
||||
self.fillTypeCombo.addItem("")
|
||||
self.fillTypeCombo.setObjectName(u"fillTypeCombo")
|
||||
|
||||
self.optionsForm.setWidget(5, QFormLayout.ItemRole.FieldRole, self.fillTypeCombo)
|
||||
|
||||
self.fillColorLabel = QLabel(ShapeOptionsDialog)
|
||||
self.fillColorLabel.setObjectName(u"fillColorLabel")
|
||||
|
||||
self.optionsForm.setWidget(6, QFormLayout.ItemRole.LabelRole, self.fillColorLabel)
|
||||
|
||||
self.fillColorButton = QPushButton(ShapeOptionsDialog)
|
||||
self.fillColorButton.setObjectName(u"fillColorButton")
|
||||
|
||||
self.optionsForm.setWidget(6, QFormLayout.ItemRole.FieldRole, self.fillColorButton)
|
||||
|
||||
self.cornerRadiusLabel = QLabel(ShapeOptionsDialog)
|
||||
self.cornerRadiusLabel.setObjectName(u"cornerRadiusLabel")
|
||||
|
||||
self.optionsForm.setWidget(7, QFormLayout.ItemRole.LabelRole, self.cornerRadiusLabel)
|
||||
|
||||
self.cornerRadiusSpin = QDoubleSpinBox(ShapeOptionsDialog)
|
||||
self.cornerRadiusSpin.setObjectName(u"cornerRadiusSpin")
|
||||
self.cornerRadiusSpin.setMaximum(50.000000000000000)
|
||||
|
||||
self.optionsForm.setWidget(7, QFormLayout.ItemRole.FieldRole, self.cornerRadiusSpin)
|
||||
|
||||
self.textLabel = QLabel(ShapeOptionsDialog)
|
||||
self.textLabel.setObjectName(u"textLabel")
|
||||
|
||||
self.optionsForm.setWidget(8, QFormLayout.ItemRole.LabelRole, self.textLabel)
|
||||
|
||||
self.textEdit = QLineEdit(ShapeOptionsDialog)
|
||||
self.textEdit.setObjectName(u"textEdit")
|
||||
|
||||
self.optionsForm.setWidget(8, QFormLayout.ItemRole.FieldRole, self.textEdit)
|
||||
|
||||
self.fontSizeLabel = QLabel(ShapeOptionsDialog)
|
||||
self.fontSizeLabel.setObjectName(u"fontSizeLabel")
|
||||
|
||||
self.optionsForm.setWidget(9, QFormLayout.ItemRole.LabelRole, self.fontSizeLabel)
|
||||
|
||||
self.fontSizeSpin = QDoubleSpinBox(ShapeOptionsDialog)
|
||||
self.fontSizeSpin.setObjectName(u"fontSizeSpin")
|
||||
self.fontSizeSpin.setMinimum(4.000000000000000)
|
||||
self.fontSizeSpin.setMaximum(96.000000000000000)
|
||||
|
||||
self.optionsForm.setWidget(9, QFormLayout.ItemRole.FieldRole, self.fontSizeSpin)
|
||||
|
||||
|
||||
self.dialogLayout.addLayout(self.optionsForm)
|
||||
|
||||
self.verticalSpacer = QSpacerItem(20, 20, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self.dialogLayout.addItem(self.verticalSpacer)
|
||||
|
||||
self.buttonBox = QDialogButtonBox(ShapeOptionsDialog)
|
||||
self.buttonBox.setObjectName(u"buttonBox")
|
||||
self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Cancel|QDialogButtonBox.StandardButton.Ok)
|
||||
|
||||
self.dialogLayout.addWidget(self.buttonBox)
|
||||
|
||||
|
||||
self.retranslateUi(ShapeOptionsDialog)
|
||||
self.buttonBox.accepted.connect(ShapeOptionsDialog.accept)
|
||||
self.buttonBox.rejected.connect(ShapeOptionsDialog.reject)
|
||||
|
||||
QMetaObject.connectSlotsByName(ShapeOptionsDialog)
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, ShapeOptionsDialog):
|
||||
ShapeOptionsDialog.setWindowTitle(QCoreApplication.translate("ShapeOptionsDialog", u"Shape Options", None))
|
||||
self.widthLabel.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Width:", None))
|
||||
self.heightLabel.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Height:", None))
|
||||
self.lineStyleLabel.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Line style:", None))
|
||||
self.lineStyleCombo.setItemText(0, QCoreApplication.translate("ShapeOptionsDialog", u"solid", None))
|
||||
self.lineStyleCombo.setItemText(1, QCoreApplication.translate("ShapeOptionsDialog", u"dash", None))
|
||||
self.lineStyleCombo.setItemText(2, QCoreApplication.translate("ShapeOptionsDialog", u"dot", None))
|
||||
self.lineStyleCombo.setItemText(3, QCoreApplication.translate("ShapeOptionsDialog", u"dash-dot", None))
|
||||
self.lineStyleCombo.setItemText(4, QCoreApplication.translate("ShapeOptionsDialog", u"none", None))
|
||||
|
||||
self.lineWidthLabel.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Line width:", None))
|
||||
self.strokeColorLabel.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Line colour:", None))
|
||||
self.strokeColorButton.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Choose\u2026", None))
|
||||
self.fillTypeLabel.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Fill type:", None))
|
||||
self.fillTypeCombo.setItemText(0, QCoreApplication.translate("ShapeOptionsDialog", u"solid", None))
|
||||
self.fillTypeCombo.setItemText(1, QCoreApplication.translate("ShapeOptionsDialog", u"none", None))
|
||||
|
||||
self.fillColorLabel.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Fill colour:", None))
|
||||
self.fillColorButton.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Choose\u2026", None))
|
||||
self.cornerRadiusLabel.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Corner radius:", None))
|
||||
self.textLabel.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Text:", None))
|
||||
self.fontSizeLabel.setText(QCoreApplication.translate("ShapeOptionsDialog", u"Font size:", None))
|
||||
# retranslateUi
|
||||
|
||||
Reference in New Issue
Block a user