Definition at line 692 of file mainTrecSearch.cpp.
References Impala::Visualization::AppController::AddControl(), OglGui::Tabs::CreateTab(), OglGui::OglWindow::H(), Impala::Visualization::AppController::Instance(), mAutomaticResultsDir, mConceptCatName, mConceptMappingName, mConceptQualityName, mConceptRanking, mDisableQueryTab, mProgramNames, mQueryGui, mTabs, mThreadSet, mThumbHeight, mThumbWidth, mUseWnd2, mViewScale, mWnd2, TAB_QUERY, and OglGui::OglWindow::W().
Referenced by BuildGUI().
00693 {
00694 mQueryGui = 0;
00695 if (mDisableQueryTab) return;
00696
00697 OglGui::Window* parent = mWnd2;
00698 if (!mWnd2 || (mUseWnd2 != String("Query")))
00699 parent = mTabs->CreateTab("F2: Query", -1, TAB_QUERY);
00700
00701 mQueryGui = new QueryGui(parent, parent->W(), parent->H(), mThumbWidth,
00702 mThumbHeight, mViewScale, mThreadSet,
00703 mProgramNames, TAB_QUERY);
00704 mQueryGui->AddConcepts(mConceptCatName, mConceptQualityName,
00705 mConceptMappingName, mConceptRanking );
00706 mQueryGui->SetQueryGuiListener(this);
00707 mQueryGui->SetAutomaticResultsDir(mAutomaticResultsDir);
00708 #ifdef OGL_USING_GLUT
00709 mQueryGui->SetAlwaysDraw(parent == mWnd2);
00710 #endif
00711 AppController::Instance().AddControl((QueryGui*) mQueryGui);
00712 }
Here is the call graph for this function: