aboutsummaryrefslogtreecommitdiffstats
path: root/examples/charts/chartthemes/ui_themewidget.py
blob: 711615b3e70df1f24b0283a9dab500216d1418a0 (plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'themewidget.ui'
##
## Created by: Qt User Interface Compiler version 6.7.0
##
## 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 (QApplication, QCheckBox, QComboBox, QGridLayout,
    QHBoxLayout, QLabel, QSizePolicy, QSpacerItem,
    QWidget)

class Ui_ThemeWidgetForm(object):
    def setupUi(self, ThemeWidgetForm):
        if not ThemeWidgetForm.objectName():
            ThemeWidgetForm.setObjectName(u"ThemeWidgetForm")
        ThemeWidgetForm.resize(900, 600)
        self.gridLayout = QGridLayout(ThemeWidgetForm)
        self.gridLayout.setObjectName(u"gridLayout")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.themeLabel = QLabel(ThemeWidgetForm)
        self.themeLabel.setObjectName(u"themeLabel")

        self.horizontalLayout.addWidget(self.themeLabel)

        self.themeComboBox = QComboBox(ThemeWidgetForm)
        self.themeComboBox.setObjectName(u"themeComboBox")

        self.horizontalLayout.addWidget(self.themeComboBox)

        self.animatedLabel = QLabel(ThemeWidgetForm)
        self.animatedLabel.setObjectName(u"animatedLabel")

        self.horizontalLayout.addWidget(self.animatedLabel)

        self.animatedComboBox = QComboBox(ThemeWidgetForm)
        self.animatedComboBox.setObjectName(u"animatedComboBox")

        self.horizontalLayout.addWidget(self.animatedComboBox)

        self.legendLabel = QLabel(ThemeWidgetForm)
        self.legendLabel.setObjectName(u"legendLabel")

        self.horizontalLayout.addWidget(self.legendLabel)

        self.legendComboBox = QComboBox(ThemeWidgetForm)
        self.legendComboBox.setObjectName(u"legendComboBox")

        self.horizontalLayout.addWidget(self.legendComboBox)

        self.antialiasCheckBox = QCheckBox(ThemeWidgetForm)
        self.antialiasCheckBox.setObjectName(u"antialiasCheckBox")
        self.antialiasCheckBox.setChecked(False)

        self.horizontalLayout.addWidget(self.antialiasCheckBox)

        self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer)


        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 3)


        self.retranslateUi(ThemeWidgetForm)
        self.themeComboBox.currentIndexChanged.connect(ThemeWidgetForm.update_ui)
        self.antialiasCheckBox.toggled.connect(ThemeWidgetForm.update_ui)
        self.legendComboBox.currentIndexChanged.connect(ThemeWidgetForm.update_ui)
        self.animatedComboBox.currentIndexChanged.connect(ThemeWidgetForm.update_ui)

        QMetaObject.connectSlotsByName(ThemeWidgetForm)
    # setupUi

    def retranslateUi(self, ThemeWidgetForm):
        self.themeLabel.setText(QCoreApplication.translate("ThemeWidgetForm", u"Theme:", None))
        self.animatedLabel.setText(QCoreApplication.translate("ThemeWidgetForm", u"Animation:", None))
        self.legendLabel.setText(QCoreApplication.translate("ThemeWidgetForm", u"Legend:", None))
        self.antialiasCheckBox.setText(QCoreApplication.translate("ThemeWidgetForm", u"Anti-aliasing", None))
        pass
    # retranslateUi