]> git.sesse.net Git - kdenlive/commitdiff
Position of z-index number field changed
authorSimon A. Eugster <simon.eu@gmail.com>
Tue, 1 Dec 2009 15:44:26 +0000 (15:44 +0000)
committerSimon A. Eugster <simon.eu@gmail.com>
Tue, 1 Dec 2009 15:44:26 +0000 (15:44 +0000)
reindent.sh ;)

svn path=/trunk/kdenlive/; revision=4166

16 files changed:
icons/cp-oxicons-hisc.sh
icons/hi16-action-kdenlive-object-height.png [new file with mode: 0644]
icons/hi16-action-kdenlive-object-width.png [new file with mode: 0644]
icons/hisc-action-kdenlive-object-height.svgz [new file with mode: 0644]
icons/hisc-action-kdenlive-object-width.svgz [new file with mode: 0644]
icons/ox16-action-kdenlive-object-height.png [new file with mode: 0644]
icons/ox16-action-kdenlive-object-width.png [new file with mode: 0644]
icons/oxsc-action-kdenlive-object-height.svgz [new file with mode: 0644]
icons/oxsc-action-kdenlive-object-width.svgz [new file with mode: 0644]
src/clipitem.cpp
src/customtrackview.cpp
src/keyframeedit.cpp
src/renderwidget.cpp
src/titlewidget.cpp
src/titlewidget.h
src/widgets/titlewidget_ui.ui

index 7ef1990f435938e8b7086d3554a3e6e03f325083..74662ea0f18954fb7b05cddae7c9d6c0148d234c 100755 (executable)
@@ -6,4 +6,8 @@ cp oxsc-action-kdenlive-zindex-down.svgz hisc-action-kdenlive-zindex-down.svgz
 cp ox16-action-kdenlive-zindex-top.png hi16-action-kdenlive-zindex-top.png
 cp oxsc-action-kdenlive-zindex-top.svgz hisc-action-kdenlive-zindex-top.svgz
 cp ox16-action-kdenlive-zindex-bottom.png hi16-action-kdenlive-zindex-bottom.png
-cp oxsc-action-kdenlive-zindex-bottom.svgz hisc-action-kdenlive-zindex-bottom.svgz
\ No newline at end of file
+cp oxsc-action-kdenlive-zindex-bottom.svgz hisc-action-kdenlive-zindex-bottom.svgz
+cp ox16-action-kdenlive-object-width.png hi16-action-kdenlive-object-width.png
+cp oxsc-action-kdenlive-object-width.svgz hisc-action-kdenlive-object-width.svgz
+cp ox16-action-kdenlive-object-height.png hi16-action-kdenlive-object-height.png
+cp oxsc-action-kdenlive-object-height.svgz hisc-action-kdenlive-object-height.svgz
diff --git a/icons/hi16-action-kdenlive-object-height.png b/icons/hi16-action-kdenlive-object-height.png
new file mode 100644 (file)
index 0000000..180c644
Binary files /dev/null and b/icons/hi16-action-kdenlive-object-height.png differ
diff --git a/icons/hi16-action-kdenlive-object-width.png b/icons/hi16-action-kdenlive-object-width.png
new file mode 100644 (file)
index 0000000..dd9668f
Binary files /dev/null and b/icons/hi16-action-kdenlive-object-width.png differ
diff --git a/icons/hisc-action-kdenlive-object-height.svgz b/icons/hisc-action-kdenlive-object-height.svgz
new file mode 100644 (file)
index 0000000..074ea3c
Binary files /dev/null and b/icons/hisc-action-kdenlive-object-height.svgz differ
diff --git a/icons/hisc-action-kdenlive-object-width.svgz b/icons/hisc-action-kdenlive-object-width.svgz
new file mode 100644 (file)
index 0000000..90a20cd
Binary files /dev/null and b/icons/hisc-action-kdenlive-object-width.svgz differ
diff --git a/icons/ox16-action-kdenlive-object-height.png b/icons/ox16-action-kdenlive-object-height.png
new file mode 100644 (file)
index 0000000..180c644
Binary files /dev/null and b/icons/ox16-action-kdenlive-object-height.png differ
diff --git a/icons/ox16-action-kdenlive-object-width.png b/icons/ox16-action-kdenlive-object-width.png
new file mode 100644 (file)
index 0000000..dd9668f
Binary files /dev/null and b/icons/ox16-action-kdenlive-object-width.png differ
diff --git a/icons/oxsc-action-kdenlive-object-height.svgz b/icons/oxsc-action-kdenlive-object-height.svgz
new file mode 100644 (file)
index 0000000..074ea3c
Binary files /dev/null and b/icons/oxsc-action-kdenlive-object-height.svgz differ
diff --git a/icons/oxsc-action-kdenlive-object-width.svgz b/icons/oxsc-action-kdenlive-object-width.svgz
new file mode 100644 (file)
index 0000000..90a20cd
Binary files /dev/null and b/icons/oxsc-action-kdenlive-object-width.svgz differ
index 2fc109c8c7a53dfac5f977c4095b7b7f733e1d84..f14d1639afafee738add52abfb46c266104bb03a 100644 (file)
@@ -1426,11 +1426,11 @@ EffectsParameterList ClipItem::getEffectArgs(const QDomElement effect)
         QDomElement e = params.item(i).toElement();
         //kDebug() << "/ / / /SENDING EFFECT PARAM: " << e.attribute("type") << ", NAME_ " << e.attribute("tag");
         if (e.attribute("type") == "simplekeyframe") {
-            
+
             QStringList values = e.attribute("keyframes").split(";", QString::SkipEmptyParts);
             double factor = e.attribute("factor", "1").toDouble();
             for (int j = 0; j < values.count(); j++) {
-               QString pos = values.at(j).section(":", 0, 0);
+                QString pos = values.at(j).section(":", 0, 0);
                 double val = values.at(j).section(":", 1, 1).toDouble() / factor;
                 values[j] = pos + "=" + QString::number(val);
             }
index e9856fdfbd2636fa90facaf114d05197be0d472c..f6da0f714da933e5917974263d4e19572b394712 100644 (file)
@@ -405,7 +405,7 @@ void CustomTrackView::mouseMoveEvent(QMouseEvent * event)
             return;
         } else if (m_operationMode == SPACER && move && m_selectionGroup) {
             // spacer tool
-           snappedPos = getSnapPointForPos(mappedXPos + m_spacerOffset);
+            snappedPos = getSnapPointForPos(mappedXPos + m_spacerOffset);
             if (snappedPos < 0) snappedPos = 0;
             // Make sure there is no collision
             QList<QGraphicsItem *> children = m_selectionGroup->childItems();
@@ -869,7 +869,7 @@ void CustomTrackView::mousePressEvent(QMouseEvent * event)
                     selection.at(i)->parentItem()->setFlag(QGraphicsItem::ItemIsMovable, false);
                 }
             }
-           m_spacerOffset = m_selectionGroup->sceneBoundingRect().left() - (int)(mapToScene(m_clickEvent).x());
+            m_spacerOffset = m_selectionGroup->sceneBoundingRect().left() - (int)(mapToScene(m_clickEvent).x());
             if (!offsetList.isEmpty()) {
                 qSort(offsetList);
                 QList <GenTime> cleandOffsetList;
@@ -4456,16 +4456,16 @@ void CustomTrackView::setScale(double scaleFactor, double verticalScale)
     if (verticalScale != matrix().m22()) adjust = true;
     setMatrix(newmatrix);
     if (adjust) {
-       double newHeight = m_tracksHeight * m_document->tracksCount() * matrix().m22();
-       m_cursorLine->setLine(m_cursorLine->line().x1(), 0, m_cursorLine->line().x1(), newHeight);
+        double newHeight = m_tracksHeight * m_document->tracksCount() * matrix().m22();
+        m_cursorLine->setLine(m_cursorLine->line().x1(), 0, m_cursorLine->line().x1(), newHeight);
         for (int i = 0; i < m_guides.count(); i++) {
-           QLineF l = m_guides.at(i)->line();
-           l.setP2(QPointF(l.x2(), newHeight));
-           m_guides.at(i)->setLine(l);
+            QLineF l = m_guides.at(i)->line();
+            l.setP2(QPointF(l.x2(), newHeight));
+            m_guides.at(i)->setLine(l);
         }
         setSceneRect(0, 0, sceneRect().width(), m_tracksHeight * m_document->tracksCount());
     }
-    
+
     int diff = sceneRect().width() - m_projectDuration;
     if (diff * newmatrix.m11() < 50) {
         if (newmatrix.m11() < 0.4) setSceneRect(0, 0, (m_projectDuration + 100 / newmatrix.m11()), sceneRect().height());
index 3ed920b0c0882b7a9c1cb3403ef56c071a3c3257..e4f152accbe0c8e3adf08862f63f507be4f3bb0c 100644 (file)
@@ -171,7 +171,7 @@ void KeyframeEdit::slotAddKeyframe()
     keyframe_list->insertRow(newrow);
     keyframe_list->setVerticalHeaderItem(newrow, new QTableWidgetItem(m_timecode.getTimecodeFromFrames(result)));
     for (int i = 0; i < keyframe_list->columnCount(); i++) {
-       keyframe_list->setItem(newrow, i, new QTableWidgetItem(keyframe_list->item(item->row(), i)->text()));
+        keyframe_list->setItem(newrow, i, new QTableWidgetItem(keyframe_list->item(item->row(), i)->text()));
     }
     //keyframe_list->resizeRowToContents(newrow);
     slotAdjustKeyframeInfo();
@@ -220,11 +220,11 @@ void KeyframeEdit::slotGenerateParams(int row, int column)
 void KeyframeEdit::generateAllParams()
 {
     for (int col = 0; col < keyframe_list->columnCount(); col++) {
-       QString keyframes;
-       for (int i = 0; i < keyframe_list->rowCount(); i++) {
-           if (keyframe_list->item(i, col)) keyframes.append(QString::number(m_timecode.getFrameCount(keyframe_list->verticalHeaderItem(i)->text())) + ':' + keyframe_list->item(i, col)->text() + ';');
-       }
-    m_params[col].setAttribute("keyframes", keyframes);
+        QString keyframes;
+        for (int i = 0; i < keyframe_list->rowCount(); i++) {
+            if (keyframe_list->item(i, col)) keyframes.append(QString::number(m_timecode.getFrameCount(keyframe_list->verticalHeaderItem(i)->text())) + ':' + keyframe_list->item(i, col)->text() + ';');
+        }
+        m_params[col].setAttribute("keyframes", keyframes);
     }
     emit parameterChanged();
 }
index d815d1c2af9a29437fb44ea8b83b7333d671ec51..100af3434a20a47f8c06655dd20f7543fcf7749c 100644 (file)
@@ -840,7 +840,7 @@ void RenderWidget::checkRenderStatus()
         if (item->data(1, Qt::UserRole + 2).toInt() == WAITINGJOB) {
             item->setData(1, Qt::UserRole + 1, QTime::currentTime());
             waitingJob = true;
-           startRendering(item);
+            startRendering(item);
             break;
         }
         item = m_view.running_jobs->itemBelow(item);
@@ -851,17 +851,17 @@ void RenderWidget::checkRenderStatus()
 void RenderWidget::startRendering(QTreeWidgetItem *item)
 {
     if (item->data(1, Qt::UserRole + 4).isNull()) {
-       // Normal render process
-       if (QProcess::startDetached(m_renderer, item->data(1, Qt::UserRole + 3).toStringList()) == false) {
-           item->setData(1, Qt::UserRole + 2, FINISHEDJOB);
-           item->setData(1, Qt::UserRole, i18n("Rendering crashed"));
-           item->setIcon(0, KIcon("dialog-close"));
-           item->setData(2, Qt::UserRole, 100);
+        // Normal render process
+        if (QProcess::startDetached(m_renderer, item->data(1, Qt::UserRole + 3).toStringList()) == false) {
+            item->setData(1, Qt::UserRole + 2, FINISHEDJOB);
+            item->setData(1, Qt::UserRole, i18n("Rendering crashed"));
+            item->setIcon(0, KIcon("dialog-close"));
+            item->setData(2, Qt::UserRole, 100);
         } else KNotification::event("RenderStarted", i18n("Rendering <i>%1</i> started", item->text(1)), QPixmap(), this);
     } else {
-       // Script item
+        // Script item
         if (QProcess::startDetached(item->data(1, Qt::UserRole + 3).toString()) == false) {
-           item->setData(1, Qt::UserRole + 2, FINISHEDJOB);
+            item->setData(1, Qt::UserRole + 2, FINISHEDJOB);
             item->setData(1, Qt::UserRole, i18n("Rendering crashed"));
             item->setIcon(0, KIcon("dialog-close"));
             item->setData(2, Qt::UserRole, 100);
@@ -1461,7 +1461,7 @@ void RenderWidget::slotStartCurrentJob()
 {
     QTreeWidgetItem *current = m_view.running_jobs->currentItem();
     if (current && current->data(1, Qt::UserRole + 2).toInt() == WAITINGJOB)
-       startRendering(current);
+        startRendering(current);
     m_view.start_job->setEnabled(false);
 }
 
@@ -1472,12 +1472,11 @@ void RenderWidget::slotCheckJob()
     if (current) {
         if (current->data(1, Qt::UserRole + 2).toInt() == RUNNINGJOB) {
             m_view.abort_job->setText(i18n("Abort Job"));
-           m_view.start_job->setEnabled(false);
-       }
-        else {
-           m_view.abort_job->setText(i18n("Remove Job"));
-           m_view.start_job->setEnabled(current->data(1, Qt::UserRole + 2).toInt() == WAITINGJOB);
-       }
+            m_view.start_job->setEnabled(false);
+        } else {
+            m_view.abort_job->setText(i18n("Remove Job"));
+            m_view.start_job->setEnabled(current->data(1, Qt::UserRole + 2).toInt() == WAITINGJOB);
+        }
         activate = true;
     }
     m_view.abort_job->setEnabled(activate);
index 931b5d8f55055736dd2cdd78380f8cbda0265abf..a9560b75cc3a0c4f0bc9488ee3e83088bb2340b6 100644 (file)
@@ -187,31 +187,31 @@ TitleWidget::TitleWidget(KUrl url, Timecode tc, QString projectTitlePath, Render
     m_unicodeAction->setToolTip(i18n("Insert Unicode character") + ' ' + m_unicodeAction->shortcut().toString());
     connect(m_unicodeAction, SIGNAL(triggered()), this, SLOT(slotInsertUnicode()));
     buttonInsertUnicode->setDefaultAction(m_unicodeAction);
-    
+
     m_zUp = new QAction(KIcon("kdenlive-zindex-up"), QString(), this);
     m_zUp->setShortcut(Qt::Key_PageUp);
     m_zUp->setToolTip(i18n("Raise object"));
     connect(m_zUp, SIGNAL(triggered()), this, SLOT(slotZIndexUp()));
     zUp->setDefaultAction(m_zUp);
-    
+
     m_zDown = new QAction(KIcon("kdenlive-zindex-down"), QString(), this);
     m_zDown->setShortcut(Qt::Key_PageDown);
     m_zDown->setToolTip(i18n("Lower object"));
     connect(m_zDown, SIGNAL(triggered()), this, SLOT(slotZIndexDown()));
     zDown->setDefaultAction(m_zDown);
-    
+
     m_zTop = new QAction(KIcon("kdenlive-zindex-top"), QString(), this);
     m_zTop->setShortcut(Qt::Key_Home);
     m_zTop->setToolTip(i18n("Raise object to top"));
     connect(m_zTop, SIGNAL(triggered()), this, SLOT(slotZIndexTop()));
     zTop->setDefaultAction(m_zTop);
-    
+
     m_zBottom = new QAction(KIcon("kdenlive-zindex-bottom"), QString(), this);
     m_zBottom->setShortcut(Qt::Key_End);
     m_zBottom->setToolTip(i18n("Lower object to bottom"));
     connect(m_zBottom, SIGNAL(triggered()), this, SLOT(slotZIndexBottom()));
     zBottom->setDefaultAction(m_zBottom);
-    
+
     zDown->setIcon(KIcon("kdenlive-zindex-down"));
     zTop->setIcon(KIcon("kdenlive-zindex-top"));
     zBottom->setIcon(KIcon("kdenlive-zindex-bottom"));
@@ -771,7 +771,7 @@ void TitleWidget::selectionChanged()
                     effect_stack->setHidden(true);
                 }
 #else
-               effect_list->blockSignals(true);
+                effect_list->blockSignals(true);
                 effect_list->setCurrentIndex(effect_list->findData((int) NOEFFECT));
                 effect_list->blockSignals(false);
                 effect_stack->setHidden(true);
@@ -966,7 +966,7 @@ void TitleWidget::updateDimension(QGraphicsItem *i)
     value_h->blockSignals(true);
     zValue->blockSignals(true);
 
-       zValue->setValue((int) i->zValue());
+    zValue->setValue((int) i->zValue());
     if (i->type() == IMAGEITEM) {
         // Get multipliers for rotation/scaling
 
@@ -989,7 +989,7 @@ void TitleWidget::updateDimension(QGraphicsItem *i)
         value_h->setValue((int) t->boundingRect().height());
     }
 
-       zValue->blockSignals(false);
+    zValue->blockSignals(false);
     value_w->blockSignals(false);
     value_h->blockSignals(false);
 }
@@ -1841,7 +1841,7 @@ void TitleWidget::slotAddEffect(int ix)
     QList<QGraphicsItem*> l = graphicsView->scene()->selectedItems();
     int effect = effect_list->itemData(ix).toInt();
     if (effect == NOEFFECT) {
-       if (l.size() == 1) l[0]->setData(100, QVariant());
+        if (l.size() == 1) l[0]->setData(100, QVariant());
         effect_stack->setHidden(true);
         return;
     }
@@ -1927,83 +1927,83 @@ void TitleWidget::slotEditShadow()
 
 qreal TitleWidget::zIndexBounds(bool maxBound)
 {
-       qreal bound = maxBound? -99 : 99;
-       QList<QGraphicsItem*> l = graphicsView->scene()->selectedItems();
-       if (l.size() > 0) {
-               QList<QGraphicsItem*> lItems = graphicsView->scene()->items(l[0]->sceneBoundingRect(), Qt::IntersectsItemShape);
-               if (lItems.size() > 0) {
-                       int n = lItems.size();
-                       qreal z;
-                       if (maxBound) {
-                               for (int i = 0; i < n; i++) {
-                                       z = lItems[i]->zValue();
-                                       if (z > bound && !lItems[i]->isSelected()) {
-                                               bound = z;
-                                       }
-                               }
-                       } else {
-                               // Get minimum z index.
-                               for (int i = 0; i < n; i++) {
-                                       z = lItems[i]->zValue();
-                                       if (z < bound && !lItems[i]->isSelected() && z > -999) {
-                                               // There are items at the very bottom (background e.g.) with z-index < -1000.
-                                               bound = z;
-                                       }
-                               }
-                       }
-               }
-       }
-       return bound;
-}
-
-void TitleWidget::slotZIndexUp() 
+    qreal bound = maxBound ? -99 : 99;
+    QList<QGraphicsItem*> l = graphicsView->scene()->selectedItems();
+    if (l.size() > 0) {
+        QList<QGraphicsItem*> lItems = graphicsView->scene()->items(l[0]->sceneBoundingRect(), Qt::IntersectsItemShape);
+        if (lItems.size() > 0) {
+            int n = lItems.size();
+            qreal z;
+            if (maxBound) {
+                for (int i = 0; i < n; i++) {
+                    z = lItems[i]->zValue();
+                    if (z > bound && !lItems[i]->isSelected()) {
+                        bound = z;
+                    }
+                }
+            } else {
+                // Get minimum z index.
+                for (int i = 0; i < n; i++) {
+                    z = lItems[i]->zValue();
+                    if (z < bound && !lItems[i]->isSelected() && z > -999) {
+                        // There are items at the very bottom (background e.g.) with z-index < -1000.
+                        bound = z;
+                    }
+                }
+            }
+        }
+    }
+    return bound;
+}
+
+void TitleWidget::slotZIndexUp()
 {
     QList<QGraphicsItem*> l = graphicsView->scene()->selectedItems();
     if (l.size() >= 1) {
-               qreal currentZ = l[0]->zValue();
-           qreal max = zIndexBounds(true);
-               if (currentZ <= max) {
-                       l[0]->setZValue(currentZ+1);
-                   updateDimension(l[0]);
-               }
+        qreal currentZ = l[0]->zValue();
+        qreal max = zIndexBounds(true);
+        if (currentZ <= max) {
+            l[0]->setZValue(currentZ + 1);
+            updateDimension(l[0]);
+        }
     }
 }
 
-void TitleWidget::slotZIndexTop() 
+void TitleWidget::slotZIndexTop()
 {
     QList<QGraphicsItem*> l = graphicsView->scene()->selectedItems();
     if (l.size() >= 1) {
-               qreal currentZ = l[0]->zValue();
-           qreal max = zIndexBounds(true);
-               if (currentZ <= max) {
-                       l[0]->setZValue(max+1);
-                   updateDimension(l[0]);
-               }
+        qreal currentZ = l[0]->zValue();
+        qreal max = zIndexBounds(true);
+        if (currentZ <= max) {
+            l[0]->setZValue(max + 1);
+            updateDimension(l[0]);
+        }
     }
 }
 
-void TitleWidget::slotZIndexDown() 
+void TitleWidget::slotZIndexDown()
 {
     QList<QGraphicsItem*> l = graphicsView->scene()->selectedItems();
     if (l.size() >= 1) {
-               qreal currentZ = l[0]->zValue();
-           qreal min = zIndexBounds(false);
-               if (currentZ >= min) {
-                       l[0]->setZValue(currentZ-1);
-                   updateDimension(l[0]);
-               }
+        qreal currentZ = l[0]->zValue();
+        qreal min = zIndexBounds(false);
+        if (currentZ >= min) {
+            l[0]->setZValue(currentZ - 1);
+            updateDimension(l[0]);
+        }
     }
 }
 
-void TitleWidget::slotZIndexBottom() 
+void TitleWidget::slotZIndexBottom()
 {
     QList<QGraphicsItem*> l = graphicsView->scene()->selectedItems();
     if (l.size() >= 1) {
-               qreal currentZ = l[0]->zValue();
-           qreal min = zIndexBounds(false);
-               if (currentZ >= min) {
-                       l[0]->setZValue(min-1);
-                   updateDimension(l[0]);
-               }
+        qreal currentZ = l[0]->zValue();
+        qreal min = zIndexBounds(false);
+        if (currentZ >= min) {
+            l[0]->setZValue(min - 1);
+            updateDimension(l[0]);
+        }
     }
 }
index cfafd89707061f406c37e81671b39e6c5825b2cf..c7708a3b556ddae575d1a2c62477f9f7e10a5095 100644 (file)
@@ -160,7 +160,7 @@ private:
     void updateInfoText();
     /** \brief Remove the "start" and "end" info text from animation viewports */
     void deleteAnimInfoText();
-    
+
     qreal maxZIndex();
     qreal zIndexBounds(bool maxBound);
 
@@ -267,7 +267,7 @@ private slots:
     void slotEditBlur(int ix);
     void slotEditShadow();
     void slotEditTypewriter(int ix);
-    
+
     /** \brief Changes the z index of objects. */
     void slotZIndexUp();
     void slotZIndexDown();
index 440d3feeff9bfaa6f562694eab3bc2708d6a47d4..5b43801e1c8877323c1eef6ca0ad657c681dc297 100644 (file)
          </widget>
         </item>
         <item>
-         <widget class="QLabel" name="label_18">
+         <widget class="QLabel" name="lWidth">
           <property name="text">
            <string>W</string>
           </property>
           </property>
          </widget>
         </item>
+        <item>
+         <widget class="QToolButton" name="zUp">
+          <property name="text">
+           <string/>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QToolButton" name="zDown">
+          <property name="text">
+           <string/>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QToolButton" name="zTop">
+          <property name="text">
+           <string/>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QToolButton" name="zBottom">
+          <property name="text">
+           <string/>
+          </property>
+         </widget>
+        </item>
         <item>
          <widget class="QLabel" name="label_12">
           <property name="text">
         </item>
        </layout>
       </item>
-      <item row="0" column="1">
-       <widget class="QToolButton" name="zUp">
-        <property name="text">
-         <string/>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="2">
-       <widget class="QToolButton" name="zDown">
-        <property name="text">
-         <string/>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="3">
-       <widget class="QToolButton" name="zTop">
-        <property name="text">
-         <string/>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="4">
-       <widget class="QToolButton" name="zBottom">
-        <property name="text">
-         <string/>
-        </property>
-       </widget>
-      </item>
      </layout>
     </widget>
    </item>