]> git.sesse.net Git - kdenlive/commitdiff
comments added
authorSimon A. Eugster <simon.eu@gmail.com>
Thu, 11 Jun 2009 21:01:45 +0000 (21:01 +0000)
committerSimon A. Eugster <simon.eu@gmail.com>
Thu, 11 Jun 2009 21:01:45 +0000 (21:01 +0000)
svn path=/trunk/kdenlive/; revision=3518

src/titlewidget.cpp

index 9ef5a9007cea34a1cb0bf112e63391c1f7f13951..f4ef871e04ded95a171e68f140d6a3f5460d1f2d 100644 (file)
@@ -556,6 +556,8 @@ void TitleWidget::selectionChanged()
     } else frame_properties->setEnabled(false);
 }
 
+/** \brief Updates position/size of the selected item when a value
+ * of a text field (coordinates, size) has changed */
 void TitleWidget::slotAdjustSelectedItem()
 {
     QList<QGraphicsItem*> l = graphicsView->scene()->selectedItems();
@@ -572,6 +574,7 @@ void TitleWidget::slotAdjustSelectedItem()
     }
 }
 
+/** \brief Updates the coordinates in the text fields from the item */
 void TitleWidget::updateCoordinates(QGraphicsItem *i) 
 {
        value_x->blockSignals(true);
@@ -620,6 +623,7 @@ void TitleWidget::updateCoordinates(QGraphicsItem *i)
        value_x->blockSignals(false);
 }
 
+/** \brief Updates the position of an item reading coordinates from the text fields */
 void TitleWidget::updatePosition(QGraphicsItem *i) {
        
        if (i->type() == TEXTITEM) {