Reimplemented from Impala::Visualization::AppControlGUI. Definition at line 140 of file mainTrecSearch.cpp. References Impala::Visualization::SegmentationDocumentGuiStills::HandleNewKey(), ILOG_USER, mDetailWindow, mQueryGui, mSearchTopicGui, mSegDocStills, mTabs, mUseWnd2, mWnd2, OglGui::Tabs::SetActiveTab(), TAB_MDBROWSER, TAB_QUERY, TAB_SORT, and TAB_TOPIC. 00141 { 00142 // F1 .. F4 and F12 00143 if (c >=oglFUNC(1) && c < oglFUNC(5) || c == oglFUNC(12)) 00144 { 00145 switch (c) 00146 { 00147 case oglFUNC(1): 00148 if (mSearchTopicGui) 00149 mTabs->SetActiveTab(TAB_TOPIC, false); 00150 break; 00151 case oglFUNC(2): 00152 if (mQueryGui && !(mUseWnd2 == "Query")) 00153 mTabs->SetActiveTab(TAB_QUERY, false); 00154 break; 00155 case oglFUNC(3): 00156 mTabs->SetActiveTab(TAB_MDBROWSER, false); 00157 break; 00158 case oglFUNC(4): 00159 mTabs->SetActiveTab(TAB_SORT, false); 00160 break; 00161 case oglFUNC(12): 00162 if (state & oglShift) 00163 { 00164 ILOG_USER("SHIFT - F12 pressed - instant exit."); 00165 exit(0); 00166 } 00167 break; 00168 } 00169 } 00170 00171 if (mWnd2 && (c == 'u')) 00172 { 00173 ILOG_USER( "KB: update stills for active shot" ); 00174 if (mDetailWindow) 00175 mDetailWindow->HandleNewKey(c, state); 00176 if (mSegDocStills) 00177 mSegDocStills->HandleNewKey(c, state); 00178 } 00179 }
Here is the call graph for this function:
|