Edit toolbar / Re: [Qgis-developer] "Edit" Menu

Marco Hugentobler marco.hugentobler at karto.baug.ethz.ch
Sat May 19 11:06:39 EDT 2007

Hi all,

+1 for edit menu.

For the editing toolbar, my impression is that it currently uses too much 
space, considering that most people using qgis as a viewer and do not use the 
toolbar. My plan is to hide the toolbar per default and the user needs to 
make it visible in the 'view' menu (of course, the visibility of the editing 
toolbar is stored in user preferences).
Also, it may be good to split the editing toolbar. I plan to add another 
editing tool soon (one for creating new islands for multipolygon features), 
and so there are already too much buttons there. Maybe one toolbar for 
capturing tools, another one for tools which change geometries, another one 
for copy/past/cut?
If there are any comments or objections on this, please write them in the next 
few days.


On Saturday 21 April 2007 05:17:19 Brendan Morley wrote:
> Fellow programmers,
> Another thing I want to do is add an Edit menu to the QGIS GUI.
> The things I want to have on it are encapsulated in the following code
> fragment:
> mEditMenu = menuBar()->addMenu(tr("&Edit"));
>   mEditMenu->addAction(mActionEditCut);
>   mEditMenu->addAction(mActionEditCopy);
>   mEditMenu->addAction(mActionEditPaste);
>   mEditMenu->addSeparator();
>   mEditMenu->addAction(mActionAddVertex);
>   mEditMenu->addAction(mActionMoveVertex);
>   mEditMenu->addAction(mActionDeleteVertex);
>   mEditMenu->addSeparator();
>   mEditMenu->addAction(mActionPasteTransformations);
>   mEditMenu->addSeparator();
>   mEditMenu->addAction(mActionToggleSnapNearestVertex);
> Also, I want to set up keyboard shortcuts for Cut, Copy and Paste as
> encapsulated in the following code fragment:
>   mActionEditCut->setShortcut(tr("Ctrl+X", "Cut selected objects to the
> clipboard")); mActionEditCopy->setShortcut(tr("Ctrl+C", "Copy selected
> objects to the clipboard")); mActionEditPaste->setShortcut(tr("Ctrl+V",
> "Paste objects from the clipboard"));
> I've had this functionality on my local copy (the shortcuts are
> particularly time-saving), and I have a feeling it ended up in one of
> the subversion branches, but it is not in HEAD.
> If there are no objections, I'll commit it to head in the next week or
> so.
> Brendan
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer

Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
marco.hugentobler at karto.baug.ethz.ch

More information about the Qgis-developer mailing list