[Qgis-developer] "Edit" Menu

Brendan Morley morb at beagle.com.au
Mon May 14 05:28:47 EDT 2007


Ahhh.  Just worked it out.

QKeySequence::Cut
QKeySequence::Copy
QKeySequence::Paste

This wasn't in Qt4.1 (when I was doing my initial research), only from
Qt4.2.  So it looks like I can have my cake and you can eat it too.


Brendan

On Mon, 2007-05-14 at 19:20 +1000, Brendan Morley wrote:
> I don't know.  Can anyone else suggest what the preferred programming
> idiom is?
> 
> On Sun, 2007-04-22 at 09:37 -0700, John C. Tull wrote:
> > On Apr 20, 2007, at 7:57 PM, Brendan Morley wrote:
> > 
> > >   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"));
> > 
> > Is there a way to do this so the Mac does not lose its normal method  
> > of using the command key (apple key) in these combinations rather  
> > than control?
> > 
> > Cheers,
> > John
> > 
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
> 




More information about the Qgis-developer mailing list