Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
UncertainProd
GitHub Repository: UncertainProd/FnF-Spritesheet-and-XML-Maker
Path: blob/master/src/animpreviewwindow.py
254 views
1
# -*- coding: utf-8 -*-
2
3
# Form implementation generated from reading ui file 'PreviewAnimationWindow.ui'
4
#
5
# Created by: PyQt5 UI code generator 5.15.4
6
#
7
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
8
# run again. Do not edit this file unless you know what you are doing.
9
10
11
from PyQt5 import QtCore, QtGui, QtWidgets
12
13
14
class Ui_animation_view(object):
15
def setupUi(self, animation_view):
16
animation_view.setObjectName("animation_view")
17
animation_view.resize(578, 542)
18
self.verticalLayout = QtWidgets.QVBoxLayout(animation_view)
19
self.verticalLayout.setObjectName("verticalLayout")
20
self.frame = QtWidgets.QFrame(animation_view)
21
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
22
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
23
self.frame.setObjectName("frame")
24
self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
25
self.horizontalLayout.setObjectName("horizontalLayout")
26
self.animation_info_label = QtWidgets.QLabel(self.frame)
27
self.animation_info_label.setObjectName("animation_info_label")
28
self.horizontalLayout.addWidget(self.animation_info_label)
29
self.pose_combobox = QtWidgets.QComboBox(self.frame)
30
self.pose_combobox.setObjectName("pose_combobox")
31
self.horizontalLayout.addWidget(self.pose_combobox)
32
self.framerate_adjust = QtWidgets.QSpinBox(self.frame)
33
self.framerate_adjust.setButtonSymbols(QtWidgets.QAbstractSpinBox.UpDownArrows)
34
self.framerate_adjust.setMinimum(1)
35
self.framerate_adjust.setMaximum(140)
36
self.framerate_adjust.setProperty("value", 24)
37
self.framerate_adjust.setObjectName("framerate_adjust")
38
self.horizontalLayout.addWidget(self.framerate_adjust)
39
self.play_anim_button = QtWidgets.QPushButton(self.frame)
40
self.play_anim_button.setObjectName("play_anim_button")
41
self.horizontalLayout.addWidget(self.play_anim_button)
42
self.verticalLayout.addWidget(self.frame)
43
self.animation_display_area = QtWidgets.QLabel(animation_view)
44
self.animation_display_area.setMaximumSize(QtCore.QSize(2000, 2000))
45
self.animation_display_area.setAlignment(QtCore.Qt.AlignCenter)
46
self.animation_display_area.setObjectName("animation_display_area")
47
self.verticalLayout.addWidget(self.animation_display_area)
48
self.verticalLayout.setStretch(1, 1)
49
50
self.retranslateUi(animation_view)
51
QtCore.QMetaObject.connectSlotsByName(animation_view)
52
53
def retranslateUi(self, animation_view):
54
_translate = QtCore.QCoreApplication.translate
55
animation_view.setWindowTitle(_translate("animation_view", "Animation Preview"))
56
self.animation_info_label.setText(_translate("animation_view", "Animation Name to be played:"))
57
self.framerate_adjust.setSuffix(_translate("animation_view", "fps"))
58
self.play_anim_button.setText(_translate("animation_view", "Play Animation"))
59
self.animation_display_area.setText(_translate("animation_view", "--PIXMAP GOES HERE--"))
60
61