Am 24.05.21 um 20:14 schrieb piny:
> Hi,
> 
> thanks for the explanation.
> 
> I created issue [Save route sub-points as ordinary route points in case of
> track routing](https://github.com/Maproom/qmapshack/issues/396) to at least
> provide the concept idea and a wiki fragment.

Hi,

i have attached a patch for first draft of a track to route conversion.

This patch allows to convert a track to a route via a new icon in the
track context menu. Since my old garmin device allows only up to
230 route points i plan to implement this feature also for the actions
for a track range.

Is this patch the way to go for implementing this feature?

Best Regards
Uli
-- 
Ulrich Eckhardt                  http://www.uli-eckhardt.de

Ein Blitzableiter auf dem Kirchturm ist das denkbar stärkste
Misstrauensvotum gegen den lieben Gott. (Karl Krauss)
diff --git a/src/qmapshack/gis/CGisWorkspace.cpp b/src/qmapshack/gis/CGisWorkspace.cpp
index ecfab8c2..3ff0324e 100644
--- a/src/qmapshack/gis/CGisWorkspace.cpp
+++ b/src/qmapshack/gis/CGisWorkspace.cpp
@@ -1019,6 +1019,18 @@ void CGisWorkspace::convertRouteToTrack(const IGisItem::key_t& key)
     emit sigChanged();
 }
 
+void CGisWorkspace::convertTrackToRoute(const IGisItem::key_t& key)
+{
+    QMutexLocker lock(&IGisItem::mutexItems);
+    CGisItemTrk* trk = dynamic_cast<CGisItemTrk*>(getItemByKey(key));
+    if(nullptr != trk)
+    {
+        trk->toRoute();
+    }
+    else printf("Trk=NULL\n");
+    emit sigChanged();
+}
+
 void CGisWorkspace::cutTrkByKey(const IGisItem::key_t& key)
 {
     QMutexLocker lock(&IGisItem::mutexItems);
diff --git a/src/qmapshack/gis/CGisWorkspace.h b/src/qmapshack/gis/CGisWorkspace.h
index 079c6a5c..a6b97384 100644
--- a/src/qmapshack/gis/CGisWorkspace.h
+++ b/src/qmapshack/gis/CGisWorkspace.h
@@ -379,6 +379,7 @@ public:
 
     void convertRouteToTrack(const IGisItem::key_t& key);
 
+    void convertTrackToRoute(const IGisItem::key_t& key);
 
     void cutTrkByKey(const IGisItem::key_t& key);
 
diff --git a/src/qmapshack/gis/trk/CGisItemTrk.cpp b/src/qmapshack/gis/trk/CGisItemTrk.cpp
index 8b43c1e9..d2786fb2 100644
--- a/src/qmapshack/gis/trk/CGisItemTrk.cpp
+++ b/src/qmapshack/gis/trk/CGisItemTrk.cpp
@@ -30,6 +30,7 @@
 #include "gis/trk/CKnownExtension.h"
 #include "gis/trk/CPropertyTrk.h"
 #include "gis/trk/CScrOptTrk.h"
+#include "gis/rte/CGisItemRte.h"
 #include "gis/wpt/CGisItemWpt.h"
 #include "helpers/CDraw.h"
 #include "helpers/CProgressDialog.h"
@@ -3402,3 +3403,32 @@ QMap<searchProperty_e, CGisItemTrk::fSearch> CGisItemTrk::initKeywordLambdaMap()
 
     return map;
 }
+
+void CGisItemTrk::toRoute() // TODO add mouse range
+{
+    qint32 idx1, idx2;
+    QString name;
+
+    getMouseRange(idx1, idx2, true);
+
+    if(NOIDX == idx1)
+    {
+        name = getName();
+    }
+    else
+    {
+        name = getName() + QString(" (%1 - %2)").arg(idx1).arg(idx2);
+    }
+
+    IGisProject* project = nullptr;
+    if(!getNameAndProject(name, project, tr("route")))
+    {
+       return;
+    }
+
+    SGisLine points;
+    getPolylineFromData(points);
+
+    CGisItemRte* rte = new CGisItemRte(points, name, project, NOIDX);
+    rte->calc();
+}
diff --git a/src/qmapshack/gis/trk/CGisItemTrk.h b/src/qmapshack/gis/trk/CGisItemTrk.h
index f65c5fa6..b715b569 100644
--- a/src/qmapshack/gis/trk/CGisItemTrk.h
+++ b/src/qmapshack/gis/trk/CGisItemTrk.h
@@ -271,6 +271,11 @@ public:
 
     const searchValue_t getValueByKeyword(searchProperty_e keyword) override;
 
+    /**
+      @brief Convert the track to a route
+    */
+    void toRoute();
+
     /** @defgroup ColorSource Stuff related to coloring tracks using data from different sources
 
         @{
diff --git a/src/qmapshack/gis/trk/CScrOptTrk.cpp b/src/qmapshack/gis/trk/CScrOptTrk.cpp
index f8526a4a..d79361c2 100644
--- a/src/qmapshack/gis/trk/CScrOptTrk.cpp
+++ b/src/qmapshack/gis/trk/CScrOptTrk.cpp
@@ -77,6 +77,7 @@ CScrOptTrk::CScrOptTrk(CGisItemTrk* trk, const QPoint& point, IMouse* parent)
     connect(toolNogo, &QToolButton::clicked, this, &CScrOptTrk::slotNogo);
     connect(toolAddElevation, &QToolButton::clicked, this, &CScrOptTrk::slotAddElevation);
     connect(toolAddInfo, &QToolButton::clicked, this, &CScrOptTrk::slotAddInfo);
+    connect(toolToRoute, &QToolButton::clicked, this, &CScrOptTrk::slotToRoute);
 
     connect(label, &QLabel::linkActivated, this, &CScrOptTrk::slotLinkActivated);
 
@@ -197,6 +198,14 @@ void CScrOptTrk::slotAddInfo()
     CGisWorkspace::self().addTrkInfoByKey(key);
 }
 
+void CScrOptTrk::slotToRoute()
+{
+    close();
+
+    CScrOptSemaphoreLocker lock(*this);
+    CGisWorkspace::self().convertTrackToRoute(key);
+}
+
 void CScrOptTrk::slotTags()
 {
     CScrOptSemaphoreLocker lock(*this);
diff --git a/src/qmapshack/gis/trk/CScrOptTrk.h b/src/qmapshack/gis/trk/CScrOptTrk.h
index 9285d7ee..36382792 100644
--- a/src/qmapshack/gis/trk/CScrOptTrk.h
+++ b/src/qmapshack/gis/trk/CScrOptTrk.h
@@ -52,7 +52,7 @@ private slots:
     void slotAddElevation();
     void slotAddInfo();
     void slotTags();
-
+    void slotToRoute();
 
 private:
     IGisItem::key_t key;
diff --git a/src/qmapshack/gis/trk/IScrOptTrk.ui b/src/qmapshack/gis/trk/IScrOptTrk.ui
index b054f640..3aea9954 100644
--- a/src/qmapshack/gis/trk/IScrOptTrk.ui
+++ b/src/qmapshack/gis/trk/IScrOptTrk.ui
@@ -6,118 +6,126 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>446</width>
-    <height>65</height>
+    <width>696</width>
+    <height>90</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>Form</string>
   </property>
-  <layout class="QVBoxLayout" name="verticalLayout">
-   <property name="spacing">
-    <number>3</number>
+  <widget class="QLabel" name="label">
+   <property name="geometry">
+    <rect>
+     <x>3</x>
+     <y>47</y>
+     <width>84</width>
+     <height>26</height>
+    </rect>
    </property>
-   <property name="leftMargin">
-    <number>3</number>
+   <property name="text">
+    <string>TextLabel</string>
    </property>
-   <property name="topMargin">
-    <number>3</number>
+   <property name="textInteractionFlags">
+    <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
    </property>
-   <property name="rightMargin">
-    <number>3</number>
+  </widget>
+  <widget class="QWidget" name="layoutWidget">
+   <property name="geometry">
+    <rect>
+     <x>4</x>
+     <y>4</y>
+     <width>697</width>
+     <height>44</height>
+    </rect>
    </property>
-   <property name="bottomMargin">
-    <number>3</number>
-   </property>
-   <item>
-    <layout class="QHBoxLayout" name="horizontalLayout">
-     <property name="spacing">
-      <number>3</number>
-     </property>
-     <item>
-      <widget class="QToolButton" name="toolEditDetails">
-       <property name="toolTip">
-        <string>View details and edit properties of track.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/EditDetails.png</normaloff>:/icons/32x32/EditDetails.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolTags">
-       <property name="toolTip">
-        <string>Set tags and rating.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/Tag.png</normaloff>:/icons/32x32/Tag.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolCopy">
-       <property name="toolTip">
-        <string>Copy track into another project.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/Copy.png</normaloff>:/icons/32x32/Copy.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolDelete">
-       <property name="toolTip">
-        <string>Delete track from project.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/DeleteOne.png</normaloff>:/icons/32x32/DeleteOne.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="Line" name="line">
-       <property name="orientation">
-        <enum>Qt::Vertical</enum>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolProfile">
-       <property name="toolTip">
-        <string>Show on-screen profile and detailed information about points.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/TrkProfile.png</normaloff>:/icons/32x32/TrkProfile.png</iconset>
-       </property>
-       <property name="checkable">
-        <bool>true</bool>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolRange">
-       <property name="toolTip">
-        <string extracomment="use line breaks to keep a sensible tooltip width">Select a range of points. You can use that tool to:
+   <layout class="QHBoxLayout" name="horizontalLayout">
+    <property name="spacing">
+     <number>3</number>
+    </property>
+    <item>
+     <widget class="QToolButton" name="toolEditDetails">
+      <property name="toolTip">
+       <string>View details and edit properties of track.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/EditDetails.png</normaloff>:/icons/32x32/EditDetails.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolTags">
+      <property name="toolTip">
+       <string>Set tags and rating.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/Tag.png</normaloff>:/icons/32x32/Tag.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolCopy">
+      <property name="toolTip">
+       <string>Copy track into another project.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/Copy.png</normaloff>:/icons/32x32/Copy.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolDelete">
+      <property name="toolTip">
+       <string>Delete track from project.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/DeleteOne.png</normaloff>:/icons/32x32/DeleteOne.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="Line" name="line">
+      <property name="orientation">
+       <enum>Qt::Vertical</enum>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolProfile">
+      <property name="toolTip">
+       <string>Show on-screen profile and detailed information about points.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/TrkProfile.png</normaloff>:/icons/32x32/TrkProfile.png</iconset>
+      </property>
+      <property name="checkable">
+       <bool>true</bool>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolRange">
+      <property name="toolTip">
+       <string extracomment="use line breaks to keep a sensible tooltip width">Select a range of points. You can use that tool to:
 
 * Hide or show points of a track. 
 * You can copy the selected range. 
@@ -126,195 +134,201 @@
 Note: If you want to fix bad points in a real GPS recording 
 this is the right tool. Simply select the section of bad points 
 (one is ok, too) and hide them.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/SelectRange.png</normaloff>:/icons/32x32/SelectRange.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolEdit">
-       <property name="toolTip">
-        <string extracomment="use line breaks to keep a sensible tooltip width">Edit the position of track points and use automatic routing 
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/SelectRange.png</normaloff>:/icons/32x32/SelectRange.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolEdit">
+      <property name="toolTip">
+       <string extracomment="use line breaks to keep a sensible tooltip width">Edit the position of track points and use automatic routing 
 to create new track points. This is used to create new tracks 
 to plan a tour.
 
 Note: This is the wrong tool to fix bad points of a real GPS 
 recording. Use the range tool. </string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/LineMove.png</normaloff>:/icons/32x32/LineMove.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolReverse">
-       <property name="toolTip">
-        <string>Reverse track.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/Reverse.png</normaloff>:/icons/32x32/Reverse.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolCombine">
-       <property name="toolTip">
-        <string>Combine tracks.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/Combine.png</normaloff>:/icons/32x32/Combine.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolCut">
-       <property name="toolTip">
-        <string>Cut track at selected point. You can use this to:
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/LineMove.png</normaloff>:/icons/32x32/LineMove.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolReverse">
+      <property name="toolTip">
+       <string>Reverse track.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/Reverse.png</normaloff>:/icons/32x32/Reverse.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolCombine">
+      <property name="toolTip">
+       <string>Combine tracks.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/Combine.png</normaloff>:/icons/32x32/Combine.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolCut">
+      <property name="toolTip">
+       <string>Cut track at selected point. You can use this to:
 
 * remove bad points at the start or end of the track
 * use the track parts to plan a new tour
 * cut a long track into stages
 </string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/TrkCut.png</normaloff>:/icons/32x32/TrkCut.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolActivity">
-       <property name="toolTip">
-        <string>Set an activity for the complete track.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/Activity.png</normaloff>:/icons/32x32/Activity.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolAddInfo">
-       <property name="toolTip">
-        <string>Add a description to the selected track point. The track point will be marked with an auto-numbered bullet. A table with all descriptions will be shown in the track details dialog and for highlighted tracks in the map view.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/AddPointInfo.png</normaloff>:/icons/32x32/AddPointInfo.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolColor">
-       <property name="toolTip">
-        <string>Change the color of the track.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/SelectColor.png</normaloff>:/icons/32x32/SelectColor.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolAddElevation">
-       <property name="toolTip">
-        <string>Replace elevation by the view's DEM data.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/SetEle.png</normaloff>:/icons/32x32/SetEle.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolCopyWithWpt">
-       <property name="toolTip">
-        <string>Copy track together with all attached waypoints into another project.</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/CopyTrkWithWpt.png</normaloff>:/icons/32x32/CopyTrkWithWpt.png</iconset>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="toolNogo">
-       <property name="toolTip">
-        <string>Toggle Nogo-Line</string>
-       </property>
-       <property name="text">
-        <string>...</string>
-       </property>
-       <property name="icon">
-        <iconset resource="../../resources.qrc">
-         <normaloff>:/icons/32x32/NoGo.png</normaloff>:/icons/32x32/NoGo.png</iconset>
-       </property>
-       <property name="checkable">
-        <bool>true</bool>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <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>
-   </item>
-   <item>
-    <widget class="QLabel" name="label">
-     <property name="text">
-      <string>TextLabel</string>
-     </property>
-     <property name="textInteractionFlags">
-      <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
-     </property>
-    </widget>
-   </item>
-  </layout>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/TrkCut.png</normaloff>:/icons/32x32/TrkCut.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolActivity">
+      <property name="toolTip">
+       <string>Set an activity for the complete track.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/Activity.png</normaloff>:/icons/32x32/Activity.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolAddInfo">
+      <property name="toolTip">
+       <string>Add a description to the selected track point. The track point will be marked with an auto-numbered bullet. A table with all descriptions will be shown in the track details dialog and for highlighted tracks in the map view.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/AddPointInfo.png</normaloff>:/icons/32x32/AddPointInfo.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolColor">
+      <property name="toolTip">
+       <string>Change the color of the track.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/SelectColor.png</normaloff>:/icons/32x32/SelectColor.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolAddElevation">
+      <property name="toolTip">
+       <string>Replace elevation by the view's DEM data.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/SetEle.png</normaloff>:/icons/32x32/SetEle.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolCopyWithWpt">
+      <property name="toolTip">
+       <string>Copy track together with all attached waypoints into another project.</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/CopyTrkWithWpt.png</normaloff>:/icons/32x32/CopyTrkWithWpt.png</iconset>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolToRoute">
+      <property name="toolTip">
+       <string>Convert track to route</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/Route.png</normaloff>:/icons/32x32/Route.png</iconset>
+      </property>
+      <property name="checkable">
+       <bool>true</bool>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <widget class="QToolButton" name="toolNogo">
+      <property name="toolTip">
+       <string>Toggle Nogo-Line</string>
+      </property>
+      <property name="text">
+       <string>...</string>
+      </property>
+      <property name="icon">
+       <iconset resource="../../resources.qrc">
+        <normaloff>:/icons/32x32/NoGo.png</normaloff>:/icons/32x32/NoGo.png</iconset>
+      </property>
+      <property name="checkable">
+       <bool>true</bool>
+      </property>
+     </widget>
+    </item>
+    <item>
+     <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>
  </widget>
  <resources>
   <include location="../../resources.qrc"/>
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to