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

void CAMainWin::on_uiTabWidget_currentChanged ( int  idx  )  [private, slot]

Called when the current sheet is switched in the tab widget.

This method is only called when the index of the selected tab changes. If you remove the current tab and the next selected tab gets the same index, this slot isn't called!

Definition at line 930 of file mainwin.cpp.

References updateToolBars().

      setCurrentViewPortContainer( static_cast<CAViewPortContainer*>(uiTabWidget->currentWidget()) );
      if (currentViewPortContainer())
            setCurrentViewPort( currentViewPortContainer()->currentViewPort() );


Generated by  Doxygen 1.6.0   Back to index