Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Application::VideoExcel::TableControlBarWindow::SwitchMode ( bool  to_grid  )  [inline]

Definition at line 64 of file TableControlBarWindow.h.

References mGrid, mHorZoom, mTable, Impala::Application::VideoExcel::TableUpdateListener::SetListenTableUpdates(), OglGui::OglWindow::SetVisible(), Impala::Application::VideoExcel::TableWindow::UpdateNumberOfRowsEvent(), Impala::Application::VideoExcel::GridWindow::UpdateNumberOfRowsEvent(), Impala::Application::VideoExcel::TableWindow::UpdateRowsEvent(), Impala::Application::VideoExcel::GridWindow::UpdateRowsEvent(), Impala::Application::VideoExcel::TableWindow::UpdateScrollFromSourceEvent(), and Impala::Application::VideoExcel::GridWindow::UpdateScrollFromSourceEvent().

Referenced by CheckBoxEvent().

00065     {
00066         if (to_grid)
00067         {
00068             mTable->SetVisible(false);
00069             mGrid->SetVisible(true);
00070             mHorZoom->SetVisible(false);
00071             mGrid->SetListenTableUpdates(true);
00072             mTable->SetListenTableUpdates(false);
00073             mGrid->UpdateScrollFromSourceEvent();
00074             mGrid->UpdateNumberOfRowsEvent();
00075             mGrid->UpdateRowsEvent();
00076         }
00077         else
00078         {
00079             mHorZoom->SetVisible(true);
00080             mGrid->SetVisible(false);
00081             mTable->SetVisible(true);
00082             mGrid->SetListenTableUpdates(false);
00083             mTable->SetListenTableUpdates(true);
00084             mTable->UpdateScrollFromSourceEvent();
00085             mTable->UpdateNumberOfRowsEvent();
00086             mTable->UpdateRowsEvent();
00087         }
00088     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:53:47 2010 for ImpalaSrc by  doxygen 1.5.1