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