Logo Search packages:      
Sourcecode: canorus version File versions  Download package

void CAMainWin::viewPortClicked (  )  [private, slot]

General viewport mouse press event. Sets it as the current view port.

See also:

Definition at line 1684 of file mainwin.cpp.

References CAViewPortContainer::setCurrentViewPort().

Referenced by initViewPort().

    CAViewPort *v = static_cast<CAViewPort*>(sender());
    setCurrentViewPort( v );
    if(currentViewPort()->parent()) // not floating
        currentViewPortContainer()->setCurrentViewPort( currentViewPort() );

Generated by  Doxygen 1.6.0   Back to index