forked from Rowland/EG
合并新界面
This commit is contained in:
parent
e38876f6d8
commit
6783f92970
@ -8847,6 +8847,7 @@ class PropertyPanelManager:
|
|||||||
# 动画控制组
|
# 动画控制组
|
||||||
animation_group = QGroupBox("动画控制")
|
animation_group = QGroupBox("动画控制")
|
||||||
animation_layout = QGridLayout()
|
animation_layout = QGridLayout()
|
||||||
|
animation_layout.setColumnMinimumWidth(0, 115)
|
||||||
|
|
||||||
# 首先检测骨骼动画
|
# 首先检测骨骼动画
|
||||||
has_skeletal_anim = False
|
has_skeletal_anim = False
|
||||||
@ -8917,8 +8918,8 @@ class PropertyPanelManager:
|
|||||||
layout.addWidget(self.animation_combo, current_row, 1, 1, 3)
|
layout.addWidget(self.animation_combo, current_row, 1, 1, 3)
|
||||||
current_row += 1
|
current_row += 1
|
||||||
|
|
||||||
btn_box = QWidget()
|
# btn_box = QWidget()
|
||||||
btn_lay = QHBoxLayout(btn_box)
|
btn_lay = QHBoxLayout()
|
||||||
for txt, slot in (("播放", self._playAnimation),
|
for txt, slot in (("播放", self._playAnimation),
|
||||||
("暂停", self._pauseAnimation),
|
("暂停", self._pauseAnimation),
|
||||||
("停止", self._stopAnimation),
|
("停止", self._stopAnimation),
|
||||||
@ -8927,7 +8928,7 @@ class PropertyPanelManager:
|
|||||||
btn.clicked.connect(lambda _, f=slot: f(origin_model))
|
btn.clicked.connect(lambda _, f=slot: f(origin_model))
|
||||||
btn_lay.addWidget(btn)
|
btn_lay.addWidget(btn)
|
||||||
layout.addWidget(QLabel("控制:"), current_row, 0)
|
layout.addWidget(QLabel("控制:"), current_row, 0)
|
||||||
layout.addWidget(btn_box, current_row, 1, 1, 3)
|
layout.addLayout(btn_lay, current_row, 1, 1, 3)
|
||||||
current_row += 1
|
current_row += 1
|
||||||
|
|
||||||
self.speed_spinbox = QDoubleSpinBox()
|
self.speed_spinbox = QDoubleSpinBox()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user