873 |
873 |
mActionZoomOut->setStatusTip( tr( "Zoom Out" ) );
|
874 |
874 |
connect( mActionZoomOut, SIGNAL( triggered() ), this, SLOT( zoomOut() ) );
|
875 |
875 |
|
876 |
|
mActionSelect = new QAction( getThemeIcon( "mActionSelect.png" ), tr( "Select Features" ) , this );
|
|
876 |
QString singleSelectOptTip( tr( ", hold ctrl to add/subtract current selection" ) );
|
|
877 |
|
|
878 |
mActionSelect = new QAction( getThemeIcon( "mActionSelect.png" ), tr( "Select single feature" ) , this );
|
877 |
879 |
shortcuts->registerAction( mActionSelect );
|
878 |
|
mActionSelect->setStatusTip( tr( "Select Features" ) );
|
|
880 |
mActionSelect->setStatusTip( tr( "Select single features" ) + singleSelectOptTip );
|
879 |
881 |
connect( mActionSelect, SIGNAL( triggered() ), this, SLOT( select() ) );
|
880 |
882 |
mActionSelect->setEnabled( false );
|
881 |
883 |
|
|
884 |
QString selectOptionTip( tr( ", hold shift to select by containment" ) + singleSelectOptTip );
|
|
885 |
|
882 |
886 |
mActionSelectRectangle = new QAction( getThemeIcon( "mActionSelectRectangle.png" ), tr( "Select features by rectangle" ), this );
|
883 |
887 |
shortcuts->registerAction( mActionSelectRectangle );
|
884 |
|
mActionSelectRectangle->setStatusTip( tr( "Select features by rectangle" ) );
|
|
888 |
mActionSelectRectangle->setStatusTip( tr( "Select features by rectangle" ) + selectOptionTip );
|
885 |
889 |
connect( mActionSelectRectangle, SIGNAL( triggered() ), this, SLOT( selectByRectangle() ) );
|
886 |
890 |
mActionSelectRectangle->setEnabled( false );
|
887 |
891 |
|
888 |
892 |
mActionSelectPolygon = new QAction( getThemeIcon( "mActionSelectPolygon.png" ), tr( "Select features by polygon" ), this );
|
889 |
893 |
shortcuts->registerAction( mActionSelectPolygon );
|
890 |
|
mActionSelectPolygon->setStatusTip( tr( "Select features by polygon" ) );
|
|
894 |
mActionSelectPolygon->setStatusTip( tr( "Select features by polygon" ) + selectOptionTip );
|
891 |
895 |
connect( mActionSelectPolygon, SIGNAL( triggered() ), this, SLOT( selectByPolygon() ) );
|
892 |
896 |
mActionSelectPolygon->setEnabled( false );
|
893 |
897 |
|
894 |
898 |
mActionSelectFreehand = new QAction( getThemeIcon( "mActionSelectFreehand.png" ), tr( "Select features by freehand" ), this );
|
895 |
899 |
shortcuts->registerAction( mActionSelectFreehand );
|
896 |
|
mActionSelectFreehand->setStatusTip( tr( "Select features by freehand" ) );
|
|
900 |
mActionSelectFreehand->setStatusTip( tr( "Select features by freehand" ) + selectOptionTip );
|
897 |
901 |
connect( mActionSelectFreehand, SIGNAL( triggered() ), this, SLOT( selectByFreehand() ) );
|
898 |
902 |
mActionSelectFreehand->setEnabled( false );
|
899 |
903 |
|
900 |
904 |
mActionSelectRadius = new QAction( getThemeIcon( "mActionSelectRadius.png" ), tr( "Select features by radius" ), this );
|
901 |
905 |
shortcuts->registerAction( mActionSelectRadius );
|
902 |
|
mActionSelectRadius->setStatusTip( tr( "Select features by radius" ) );
|
|
906 |
mActionSelectRadius->setStatusTip( tr( "Select features by radius" ) + selectOptionTip);
|
903 |
907 |
connect( mActionSelectRadius, SIGNAL( triggered() ), this, SLOT( selectByRadius() ) );
|
904 |
908 |
mActionSelectRadius->setEnabled( false );
|
905 |
909 |
|