  | 
  
    Isis 3 Programmer Reference
    
   | 
 
 
 
 
    1 #include "MosaicSelectTool.h" 
    8 #include "MosaicGraphicsView.h" 
    9 #include "MosaicSceneWidget.h" 
   33     action->setIcon(
getIcon(
"mActionSelect.png"));
 
   34     action->setToolTip(
"Select (s)");
 
   35     action->setShortcut(Qt::Key_S);
 
   37       "<b>Function:</b>  Select cubes in a mosaic.<br><br>" 
   38       "This tool gives you a <b>drag-select</b> to select multiple files (this " 
   39       "selects files underneath the top one), a <b>control-click</b> select to " 
   40       "add files to the current selection, and a <b>click</b> selection to " 
   41       "replace the current selection with the file you clicked on." 
   42       "<br><p><b>Shortcut:</b>  s</p>";
 
   43     action->setWhatsThis(text);
 
   55       getWidget()->getView()->setDragMode(QGraphicsView::RubberBandDrag);
 
   58       getWidget()->getView()->setDragMode(QGraphicsView::NoDrag);
 
 
 
This is free and unencumbered software released into the public domain.