void Geometryval::slotGeometryY(int value) { if (!keyframeSelected()) return; m_paramRect->setPos(spinX->value(), value); slotUpdateTransitionProperties(); }
void Geometryval::slotGeometryHeight(int value) { if (!keyframeSelected()) return; m_paramRect->setRect(0, 0, spinWidth->value(), value); slotUpdateTransitionProperties(); }
void Geometryval::slotAlignRight() { if (!keyframeSelected()) return; m_paramRect->setPos(m_realWidth - m_paramRect->rect().width(), m_paramRect->pos().y()); slotUpdateTransitionProperties(); }
void Geometryval::slotAlignLeft() { if (!keyframeSelected()) return; m_paramRect->setPos(0, m_paramRect->pos().y()); slotUpdateTransitionProperties(); }
void Geometryval::slotAlignBottom() { if (!keyframeSelected()) return; m_paramRect->setPos(m_paramRect->pos().x(), m_profile->height() - m_paramRect->rect().height()); slotUpdateTransitionProperties(); }
void Geometryval::slotAlignTop() { if (!keyframeSelected()) return; m_paramRect->setPos(m_paramRect->pos().x(), 0); slotUpdateTransitionProperties(); }
void Geometryval::slotAlignVCenter() { if (!keyframeSelected()) return; m_paramRect->setPos(m_paramRect->pos().x(), (m_profile.height - m_paramRect->rect().height()) / 2); slotUpdateTransitionProperties(); }
void Geometryval::slotResizeCustom() { if (!keyframeSelected()) return; int value = spinResize->value(); m_paramRect->setRect(0, 0, m_realWidth * value / 100, m_profile->height() * value / 100); slotUpdateTransitionProperties(); }
void Geometryval::slotResizeOriginal() { if (!keyframeSelected()) return; if (m_frameSize.isNull()) m_paramRect->setRect(0, 0, m_realWidth, m_profile->height()); else m_paramRect->setRect(0, 0, m_frameSize.x(), m_frameSize.y()); slotUpdateTransitionProperties(); }