]> Shamusworld >> Repos - architektonas/blobdiff - src/mainapp/createqtactions.cpp
In the middle of removing Snapper class/fixing snapper rendering...
[architektonas] / src / mainapp / createqtactions.cpp
index 55e52618f304f1151d1a9006e7d2b910da894d78..74c7948d23308ca35a141eaaa99547f0d1dab9d4 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
@@ -93,6 +95,7 @@ QAction * actionDrawSpline;
 
 QAction * actionDrawPolyline;
 QAction * actionPolylineAdd;
+QAction * actionPolylineAppend;
 QAction * actionPolylineDel;
 QAction * actionPolylineDelBetween;
 QAction * actionPolylineTrim;
@@ -283,6 +286,7 @@ void CreateQtActions(QWidget * parent)
 
        actionDrawPolyline = CreateAction(tr("&Draw"), tr(""), tr(""), QIcon(":/res/qg_polyline.xpm"), QKeySequence("p, l"), NULL);
        actionPolylineAdd = CreateAction(tr("&Add Node"), tr(""), tr(""), QIcon(":/res/qg_polylineadd.xpm"), QKeySequence("o, a"), NULL);
+       actionPolylineAppend = CreateAction(tr("A&ppend Node"), tr(""), tr(""), QIcon(":/res/qg_polylineappend.xpm"), QKeySequence("o, p"), NULL);
        actionPolylineDel = CreateAction(tr("&Delete Node"), tr(""), tr(""), QIcon(":/res/qg_polylinedel.xpm"), QKeySequence("o, d"), NULL);
        actionPolylineDelBetween = CreateAction(tr("Delete Segments &Between Two Nodes"), tr(""), tr(""), QIcon(":/res/qg_polylinedelbetween.xpm"), QKeySequence("o, b"), NULL);
        actionPolylineTrim = CreateAction(tr("&Trim Segments"), tr(""), tr(""), QIcon(":/res/qg_polylinetrim.xpm"), QKeySequence("o, t"), NULL);