]> git.sesse.net Git - kdenlive/commitdiff
- cleanup
authorTill Theato <root@ttill.de>
Sat, 29 May 2010 21:01:30 +0000 (21:01 +0000)
committerTill Theato <root@ttill.de>
Sat, 29 May 2010 21:01:30 +0000 (21:01 +0000)
- remove unused files

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

14 files changed:
src/CMakeLists.txt
src/changetrackcommand.cpp [deleted file]
src/changetrackcommand.h [deleted file]
src/customtrackview.cpp
src/customtrackview.h
src/geometryval.h
src/headertrack.cpp
src/headertrack.h
src/kdenliveui.rc
src/mainwindow.cpp
src/mainwindow.h
src/trackview.cpp
src/trackview.h
src/widgets/geometryposition_ui.ui [deleted file]

index ec46730e236da4c0680b46514a35ed0adf1a7667..0023c713a28c8ce23c4147b306e5addd78fcaa66 100644 (file)
@@ -84,7 +84,6 @@ kde4_add_ui_files(kdenlive_UI
   widgets/dvdwizardchapters_ui.ui
   widgets/missingclips_ui.ui
   widgets/cliptranscode_ui.ui
-  widgets/geometryposition_ui.ui
   widgets/templateclip_ui.ui
   widgets/keyframeeditor_ui.ui
   widgets/timecodedisplay_ui.ui
@@ -165,7 +164,6 @@ set(kdenlive_SRCS
   insertspacecommand.cpp
   spacerdialog.cpp
   addtrackcommand.cpp
-  changetrackcommand.cpp
   movegroupcommand.cpp
   dvdwizardvob.cpp
   dvdwizardmenu.cpp
diff --git a/src/changetrackcommand.cpp b/src/changetrackcommand.cpp
deleted file mode 100644 (file)
index f68ea92..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/***************************************************************************
- *   Copyright (C) 2007 by Jean-Baptiste Mardelle (jb@kdenlive.org)        *
- *                                                                         *
- *   This program is free software; you can redistribute it and/or modify  *
- *   it under the terms of the GNU General Public License as published by  *
- *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
- *                                                                         *
- *   This program is distributed in the hope that it will be useful,       *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
- *   GNU General Public License for more details.                          *
- *                                                                         *
- *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
- ***************************************************************************/
-
-
-#include "changetrackcommand.h"
-#include "customtrackview.h"
-
-#include <KLocale>
-
-ChangeTrackCommand::ChangeTrackCommand(CustomTrackView *view, int ix, TrackInfo oldInfo, TrackInfo newInfo, QUndoCommand * parent) :
-        QUndoCommand(parent),
-        m_view(view),
-        m_ix(ix),
-        m_oldinfo(oldInfo),
-        m_newinfo(newInfo)
-{
-    setText(i18n("Change track type"));
-}
-
-
-// virtual
-void ChangeTrackCommand::undo()
-{
-// kDebug()<<"----  undoing action";
-    m_view->changeTrack(m_ix, m_oldinfo);
-}
-// virtual
-void ChangeTrackCommand::redo()
-{
-    m_view->changeTrack(m_ix, m_newinfo);
-}
-
diff --git a/src/changetrackcommand.h b/src/changetrackcommand.h
deleted file mode 100644 (file)
index 6114e96..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/***************************************************************************
- *   Copyright (C) 2007 by Jean-Baptiste Mardelle (jb@kdenlive.org)        *
- *                                                                         *
- *   This program is free software; you can redistribute it and/or modify  *
- *   it under the terms of the GNU General Public License as published by  *
- *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
- *                                                                         *
- *   This program is distributed in the hope that it will be useful,       *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
- *   GNU General Public License for more details.                          *
- *                                                                         *
- *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
- ***************************************************************************/
-
-
-#ifndef CHANGETRACKCOMMAND_H
-#define CHANGETRACKCOMMAND_H
-
-#include <QUndoCommand>
-#include <QGraphicsView>
-#include <QPointF>
-
-#include <KDebug>
-#include "definitions.h"
-
-class CustomTrackView;
-
-class ChangeTrackCommand : public QUndoCommand
-{
-public:
-    ChangeTrackCommand(CustomTrackView *view, int ix, TrackInfo oldInfo, TrackInfo newInfo, QUndoCommand * parent = 0);
-    virtual void undo();
-    virtual void redo();
-
-private:
-    CustomTrackView *m_view;
-    int m_ix;
-    TrackInfo m_oldinfo;
-    TrackInfo m_newinfo;
-};
-
-#endif
-
index e9915c32325a6b6aba25a695a716153b7ca3f90e..12ee3323ea076e6987b2a44396140fabaff9a0e5 100644 (file)
@@ -48,7 +48,6 @@
 #include "insertspacecommand.h"
 #include "spacerdialog.h"
 #include "addtrackcommand.h"
-#include "changetrackcommand.h"
 #include "movegroupcommand.h"
 #include "ui_addtrack_ui.h"
 #include "initeffects.h"
@@ -2611,15 +2610,6 @@ void CustomTrackView::removeTrack(int ix)
     //QTimer::singleShot(500, this, SIGNAL(trackHeightChanged()));
 }
 
-void CustomTrackView::changeTrack(int ix, TrackInfo type)
-{
-    int tracknumber = m_document->tracksCount() - ix;
-    m_document->setTrackType(tracknumber - 1, type);
-    m_document->renderer()->mltChangeTrackState(tracknumber, m_document->trackInfoAt(tracknumber - 1).isMute, m_document->trackInfoAt(tracknumber - 1).isBlind);
-    QTimer::singleShot(300, this, SIGNAL(trackHeightChanged()));
-    viewport()->update();
-}
-
 void CustomTrackView::configTracks(QList < TrackInfo > trackInfos)
 {
     for (int i = 0; i < trackInfos.count(); ++i) {
@@ -5343,41 +5333,6 @@ void CustomTrackView::slotDeleteTrack(int ix)
     }
 }
 
-void CustomTrackView::slotChangeTrack(int ix)
-{
-    TrackDialog d(m_document, parentWidget());
-    d.label->setText(i18n("Change track"));
-    d.before_select->setHidden(true);
-    d.track_nb->setMaximum(m_document->tracksCount() - 1);
-    d.track_nb->setValue(ix);
-    d.slotUpdateName(ix);
-    d.setWindowTitle(i18n("Change Track Type"));
-
-    TrackInfo oldInfo = m_document->trackInfoAt(m_document->tracksCount() - ix - 1);
-    if (oldInfo.type == VIDEOTRACK)
-        d.video_track->setChecked(true);
-    else
-        d.audio_track->setChecked(true);
-
-    if (d.exec() == QDialog::Accepted) {
-        TrackInfo info;
-        info.isLocked = false;
-        info.isMute = false;
-        info.trackName = oldInfo.trackName;
-        ix = d.track_nb->value();
-
-        if (d.video_track->isChecked()) {
-            info.type = VIDEOTRACK;
-            info.isBlind = false;
-        } else {
-            info.type = AUDIOTRACK;
-            info.isBlind = true;
-        }
-        changeTimelineTrack(ix, info);
-        setDocumentModified();
-    }
-}
-
 void CustomTrackView::slotConfigTracks(int ix)
 {
     TracksConfigDialog d(m_document, ix, parentWidget());
@@ -5417,13 +5372,6 @@ void CustomTrackView::deleteTimelineTrack(int ix, TrackInfo trackinfo)
     m_commandStack->push(deleteTrack);
 }
 
-void CustomTrackView::changeTimelineTrack(int ix, TrackInfo trackinfo)
-{
-    TrackInfo oldinfo = m_document->trackInfoAt(m_document->tracksCount() - ix - 1);
-    ChangeTrackCommand *changeTrack = new ChangeTrackCommand(this, ix, oldinfo, trackinfo);
-    m_commandStack->push(changeTrack);
-}
-
 void CustomTrackView::autoTransition()
 {
     QList<QGraphicsItem *> itemList = scene()->selectedItems();
index 2c704280e6f06f06b31c754723a4cedb5f1520f9..3ecd55ed12ba7800a78a4649343e704b7810adf5 100644 (file)
@@ -53,7 +53,6 @@ public:
     virtual void mouseDoubleClickEvent(QMouseEvent *event);
     void addTrack(TrackInfo type, int ix = -1);
     void removeTrack(int ix);
-    void changeTrack(int ix, TrackInfo type);
     /** @brief Makes the document use new track infos (name, type, ...). */
     void configTracks(QList <TrackInfo> trackInfos);
     int cursorPos();
@@ -116,7 +115,6 @@ public:
     void insertSpace(QList<ItemInfo> clipsToMove, QList<ItemInfo> transToMove, int track, const GenTime duration, const GenTime offset);
     ClipItem *getActiveClipUnderCursor(bool allowOutsideCursor = false) const;
     void deleteTimelineTrack(int ix, TrackInfo trackinfo);
-    void changeTimelineTrack(int ix, TrackInfo trackinfo);
     void saveThumbnails();
     void autoTransition();
     QStringList getLadspaParams(QDomElement effect) const;
@@ -185,7 +183,6 @@ public slots:
     void slotCheckPositionScrolling();
     void slotInsertTrack(int ix);
     void slotDeleteTrack(int ix);
-    void slotChangeTrack(int ix);
     /** @brief Shows the configure tracks dialog. */
     void slotConfigTracks(int ix);
     void clipNameChanged(const QString id, const QString name);
index 654bcd917e1dc23d733517b6b5b3de3f40c56204..9aef22499428f1aeb23eefc5b9c8ae8cc275be8c 100644 (file)
@@ -30,7 +30,6 @@
 #include "definitions.h"
 #include "keyframehelper.h"
 #include "timecodedisplay.h"
-#include "ui_geometryposition_ui.h"
 
 //class QGraphicsScene;
 class GraphicsSceneRectMove;
@@ -65,7 +64,6 @@ private:
     QAction *m_reset;
     bool m_fixedMode;
     QPoint m_frameSize;
-    Ui::GeometryPosition_UI m_view;
     void updateTransitionPath();
     double m_dar;
     int m_startPoint;
index 026a548a0a5e4bb20937f45732d14330d9f69973..a3babea7bc16f5f23a7dd10f2f0b45de8034ecb1 100644 (file)
@@ -87,14 +87,9 @@ HeaderTrack::HeaderTrack(int index, TrackInfo info, int height, QWidget *parent)
     addAction(removeAction);
     connect(removeAction, SIGNAL(triggered()), this, SLOT(slotDeleteTrack()));
 
-    QAction *changeAction = new QAction(i18n("Change Track Type"), this);
-    addAction(changeAction);
-    connect(changeAction, SIGNAL(triggered()), this, SLOT(slotChangeTrack()));
-
-    QAction *renameAction = new QAction(i18n("Rename Track"), this);
-    addAction(renameAction);
-    connect(renameAction, SIGNAL(triggered()), this, SLOT(slotRenameTrack()));
-
+    QAction *configAction = new QAction(KIcon("configure"), i18n("Configure Track"), this);
+    addAction(configAction);
+    connect(configAction, SIGNAL(triggered()), this, SLOT(slotConfigTrack()));
 }
 
 /*HeaderTrack::~HeaderTrack()
@@ -110,7 +105,7 @@ void HeaderTrack::mousePressEvent(QMouseEvent * event)
 
 void HeaderTrack::mouseDoubleClickEvent(QMouseEvent* event)
 {
-    emit configTrack(m_index);
+    slotConfigTrack();
     QWidget::mouseDoubleClickEvent(event);
 }
 
@@ -164,7 +159,6 @@ void HeaderTrack::switchLock(bool emitSignal)
     if (emitSignal) emit switchTrackLock(m_index);
 }
 
-
 void HeaderTrack::setLock(bool lock)
 {
     buttonLock->setChecked(lock);
@@ -186,14 +180,14 @@ void HeaderTrack::slotAddTrack()
     emit insertTrack(m_index);
 }
 
-void HeaderTrack::slotChangeTrack()
+void HeaderTrack::slotRenameTrack()
 {
-    emit changeTrack(m_index);
+    emit renameTrack(m_index);
 }
 
-void HeaderTrack::slotRenameTrack()
+void HeaderTrack::slotConfigTrack()
 {
-    emit renameTrack(m_index);
+    emit configTrack(m_index);
 }
 
 
index d5af624dc0b472aaaeec3fea94aef61cce665e55..f370f1c70791a14bbb8ca0e104564c6861d61ba3 100644 (file)
@@ -51,8 +51,8 @@ private slots:
     void slotDeleteTrack();
     void deleteTrack();
     void slotAddTrack();
-    void slotChangeTrack();
     void slotRenameTrack();
+    void slotConfigTrack();
     void switchLock(bool emitSignal = true);
 
 signals:
@@ -61,7 +61,6 @@ signals:
     void switchTrackLock(int);
     void insertTrack(int);
     void deleteTrack(int);
-    void changeTrack(int);
     void renameTrack(int);
     void selectTrack(int);
     void configTrack(int);
index 2b593562dc64677118c7363f5bfe872f095b5713..1d4e7510ebebec4dc7e5eb48348acff67baff7f2 100644 (file)
@@ -32,7 +32,7 @@
       <Menu name="track_menu" ><text>Tracks</text>
        <Action name="insert_track" />
        <Action name="delete_track" />
-       <Action name="change_track" />
+       <Action name="config_tracks" />
       </Menu>
       <Separator />
       <Action name="reload_clip" />
index 13aa01b4c8ccb7f0fe01ddd98dd502ccab4307ee..532a481d76aa02455472db77734562b37437cca2 100644 (file)
@@ -1221,9 +1221,9 @@ void MainWindow::setupActions()
     collection->addAction("delete_track", deleteTrack);
     connect(deleteTrack, SIGNAL(triggered()), this, SLOT(slotDeleteTrack()));
 
-    KAction *changeTrack = new KAction(KIcon(), i18n("Change Track"), this);
-    collection->addAction("change_track", changeTrack);
-    connect(changeTrack, SIGNAL(triggered()), this, SLOT(slotChangeTrack()));
+    KAction *configTracks = new KAction(KIcon("configure"), i18n("Configure Tracks"), this);
+    collection->addAction("config_tracks", configTracks);
+    connect(configTracks, SIGNAL(triggered()), this, SLOT(slotConfigTrack()));
 
     KAction *addGuide = new KAction(KIcon("document-new"), i18n("Add Guide"), this);
     collection->addAction("add_guide", addGuide);
@@ -1994,7 +1994,6 @@ void MainWindow::connectDocument(TrackView *trackView, KdenliveDoc *doc)   //cha
             disconnect(m_activeTimeline, SIGNAL(cursorMoved()), m_projectMonitor, SLOT(activateMonitor()));
             disconnect(m_activeTimeline, SIGNAL(insertTrack(int)), this, SLOT(slotInsertTrack(int)));
             disconnect(m_activeTimeline, SIGNAL(deleteTrack(int)), this, SLOT(slotDeleteTrack(int)));
-            disconnect(m_activeTimeline, SIGNAL(changeTrack(int)), this, SLOT(slotChangeTrack(int)));
             disconnect(m_activeTimeline, SIGNAL(configTrack(int)), this, SLOT(slotConfigTrack(int)));
             disconnect(m_activeDocument, SIGNAL(docModified(bool)), this, SLOT(slotUpdateDocumentState(bool)));
             disconnect(m_effectStack, SIGNAL(updateClipEffect(ClipItem*, QDomElement, QDomElement, int)), m_activeTimeline->projectView(), SLOT(slotUpdateClipEffect(ClipItem*, QDomElement, QDomElement, int)));
@@ -2037,7 +2036,6 @@ void MainWindow::connectDocument(TrackView *trackView, KdenliveDoc *doc)   //cha
     connect(trackView, SIGNAL(cursorMoved()), m_projectMonitor, SLOT(activateMonitor()));
     connect(trackView, SIGNAL(insertTrack(int)), this, SLOT(slotInsertTrack(int)));
     connect(trackView, SIGNAL(deleteTrack(int)), this, SLOT(slotDeleteTrack(int)));
-    connect(trackView, SIGNAL(changeTrack(int)), this, SLOT(slotChangeTrack(int)));
     connect(trackView, SIGNAL(configTrack(int)), this, SLOT(slotConfigTrack(int)));
     connect(trackView, SIGNAL(updateTracksInfo()), this, SLOT(slotUpdateTrackInfo()));
     connect(trackView, SIGNAL(mousePosition(int)), this, SLOT(slotUpdateMousePosition(int)));
@@ -2407,13 +2405,6 @@ void MainWindow::slotDeleteTrack(int ix)
         m_transitionConfig->updateProjectFormat(m_activeDocument->mltProfile(), m_activeDocument->timecode(), m_activeDocument->tracksList());
 }
 
-void MainWindow::slotChangeTrack(int ix)
-{
-    m_projectMonitor->activateMonitor();
-    if (m_activeTimeline)
-        m_activeTimeline->projectView()->slotChangeTrack(ix);
-}
-
 void MainWindow::slotConfigTrack(int ix)
 {
     m_projectMonitor->activateMonitor();
index 22f7c4ca99d4d27697a531b3769e8e86ffefa7cc..9451809ef8139a9d33134409e6cb97d2476106b6 100644 (file)
@@ -369,7 +369,6 @@ private slots:
     void configureNotifications();
     void slotInsertTrack(int ix = 0);
     void slotDeleteTrack(int ix = 0);
-    void slotChangeTrack(int ix = 0);
     /** @brief Shows the configure tracks dialog and updates transitions afterwards. */
     void slotConfigTrack(int ix = -1);
     void slotGetNewLumaStuff();
index 9099c873bda38eec87f47d0b09c24df052e18d9f..2ab7b91f6dc6d2d2a0372029723fabf9df5fdc8f 100644 (file)
@@ -535,8 +535,7 @@ void TrackView::slotRebuildTrackHeaders()
         connect(header, SIGNAL(selectTrack(int)), m_trackview, SLOT(slotSelectTrack(int)));
         connect(header, SIGNAL(deleteTrack(int)), this, SIGNAL(deleteTrack(int)));
         connect(header, SIGNAL(insertTrack(int)), this, SIGNAL(insertTrack(int)));
-        connect(header, SIGNAL(changeTrack(int)), this, SIGNAL(changeTrack(int)));
-        connect(header, SIGNAL(renameTrack(int)), this, SLOT(slotRenameTrack(int)));
+        //connect(header, SIGNAL(renameTrack(int)), this, SLOT(slotRenameTrack(int)));
         connect(header, SIGNAL(configTrack(int)), this, SIGNAL(configTrack(int)));
         headers_container->layout()->addWidget(header);
     }
index 144e0dfa05ad5160179ab930f984925921180c86..d88d34f8b8a4daa7e770528ee858e3472a86b6bf 100644 (file)
@@ -119,7 +119,6 @@ signals:
     void zoneMoved(int, int);
     void insertTrack(int);
     void deleteTrack(int);
-    void changeTrack(int);
     void configTrack(int);
     void updateTracksInfo();
     void setZoom(int);
diff --git a/src/widgets/geometryposition_ui.ui b/src/widgets/geometryposition_ui.ui
deleted file mode 100644 (file)
index 108438d..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>GeometryPosition_UI</class>
- <widget class="QDialog" name="GeometryPosition_UI">
-  <property name="geometry">
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>249</width>
-    <height>97</height>
-   </rect>
-  </property>
-  <property name="windowTitle">
-   <string>Dialog</string>
-  </property>
-  <layout class="QGridLayout" name="gridLayout">
-   <item row="0" column="0">
-    <widget class="QLabel" name="label_2">
-     <property name="text">
-      <string>X</string>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="1" colspan="3">
-    <widget class="KIntSpinBox" name="value_x">
-     <property name="sizePolicy">
-      <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="4">
-    <widget class="QLabel" name="label_3">
-     <property name="text">
-      <string>Y</string>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="5">
-    <widget class="KIntSpinBox" name="value_y">
-     <property name="sizePolicy">
-      <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="0">
-    <widget class="QLabel" name="label_5">
-     <property name="text">
-      <string>Width</string>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="1" colspan="3">
-    <widget class="KIntSpinBox" name="value_width"/>
-   </item>
-   <item row="1" column="4">
-    <widget class="QLabel" name="label_4">
-     <property name="text">
-      <string>Height</string>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="5">
-    <widget class="KIntSpinBox" name="value_height"/>
-   </item>
-   <item row="2" column="2">
-    <spacer name="verticalSpacer">
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>20</width>
-       <height>0</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="3" column="0" colspan="2">
-    <widget class="KPushButton" name="button_reset">
-     <property name="text">
-      <string>Reset</string>
-     </property>
-    </widget>
-   </item>
-   <item row="3" column="2" colspan="5">
-    <widget class="QDialogButtonBox" name="buttonBox">
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="standardButtons">
-      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="6">
-    <spacer name="horizontalSpacer">
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>40</width>
-       <height>20</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-  </layout>
- </widget>
- <customwidgets>
-  <customwidget>
-   <class>KIntSpinBox</class>
-   <extends>QSpinBox</extends>
-   <header>knuminput.h</header>
-  </customwidget>
-  <customwidget>
-   <class>KPushButton</class>
-   <extends>QPushButton</extends>
-   <header>kpushbutton.h</header>
-  </customwidget>
- </customwidgets>
- <resources/>
- <connections>
-  <connection>
-   <sender>buttonBox</sender>
-   <signal>accepted()</signal>
-   <receiver>GeometryPosition_UI</receiver>
-   <slot>accept()</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>248</x>
-     <y>254</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>157</x>
-     <y>274</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>buttonBox</sender>
-   <signal>rejected()</signal>
-   <receiver>GeometryPosition_UI</receiver>
-   <slot>reject()</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>316</x>
-     <y>260</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>286</x>
-     <y>274</y>
-    </hint>
-   </hints>
-  </connection>
- </connections>
-</ui>