NCBI C++ ToolKit
|
Search Toolkit Book for IQueryWidget
#include <gui/objutils/query_widget.hpp>
Public Member Functions | |
IQueryWidget () | |
virtual | ~IQueryWidget () |
virtual string | GetSearchHelpAddr () const |
Return web-address for the help page that disusses help for the specific widget. More... | |
virtual void | QueryStart () |
Disable any widgets and/or set cursor/scroll as needed when query starts. More... | |
virtual void | QueryEnd (CMacroQueryExec *exec) |
Re-enable widgets and/or set cursor/scroll as needed when query ends. More... | |
virtual void | IterateSelection (int) |
go to next(1), previous(-1) or first(0) element from most recent query More... | |
virtual void | SetSelectAll (bool) |
set to yes to show all queried elements as selected More... | |
virtual void | SetHideUnselected (bool) |
set to true to hide/obscure elements not selected by most recent query More... | |
virtual void | DlgOverlayFix (wxWindow *win) |
let widget send fake resize to fix windows opengl bug. More... | |
This are the interface requirements for a widget that wants to support the query interface currently defined by CQueryParsePanel. Interface allows query toolbar to tell widget to show/hide/iterate from the query selection set, and also to adjust the UI for the period while the query is running.
Definition at line 52 of file query_widget.hpp.
|
inline |
Definition at line 54 of file query_widget.hpp.
|
inlinevirtual |
Definition at line 55 of file query_widget.hpp.
|
inlinevirtual |
let widget send fake resize to fix windows opengl bug.
Subclass this if widget/pane want to ignore the associated resize event.
Reimplemented in CPhyloTreeWidget.
Definition at line 76 of file query_widget.hpp.
References DlgGLWinOverlayFix().
Referenced by CQueryParsePanel::OnCtrlKillFocus(), CQueryParsePanel::OnQuerySel(), CQueryParsePanel::OnRecentQuery(), CQueryParsePanel::OnSearchctrlSearchButtonClick(), CQueryParsePanel::OnSearchctrlSearchStop(), CQueryParsePanel::OnSearchHelp(), CQueryParsePanel::OnStringMatchTypeBtn(), and CQueryParsePanel::OnStringMatchTypeSelected().
|
inlinevirtual |
Return web-address for the help page that disusses help for the specific widget.
The default ("") will hide the help icon.
Reimplemented in CPhyloTreeWidget, and CGridWidget.
Definition at line 59 of file query_widget.hpp.
References string.
Referenced by CQueryParsePanel::CreateControls(), and CQueryParsePanel::OnSearchHelp().
|
inlinevirtual |
go to next(1), previous(-1) or first(0) element from most recent query
Reimplemented in CPhyloTreeWidget, and CGridWidget.
Definition at line 68 of file query_widget.hpp.
Referenced by CQueryParsePanel::OnButtonNext(), and CQueryParsePanel::OnButtonPrevious().
|
inlinevirtual |
Re-enable widgets and/or set cursor/scroll as needed when query ends.
Reimplemented in CPhyloTreeWidget, and CGridWidget.
Definition at line 65 of file query_widget.hpp.
Referenced by CQueryParsePanel::CompleteQuery().
|
inlinevirtual |
Disable any widgets and/or set cursor/scroll as needed when query starts.
Reimplemented in CPhyloTreeWidget, and CGridWidget.
Definition at line 63 of file query_widget.hpp.
Referenced by CQueryParsePanel::x_ExecuteQuery().
|
inlinevirtual |
set to true to hide/obscure elements not selected by most recent query
Reimplemented in CPhyloTreeWidget, and CGridWidget.
Definition at line 72 of file query_widget.hpp.
Referenced by CQueryParsePanel::OnToggleHideUnselected().
|
inlinevirtual |
set to yes to show all queried elements as selected
Reimplemented in CPhyloTreeWidget, and CGridWidget.
Definition at line 70 of file query_widget.hpp.
Referenced by CQueryParsePanel::OnToggleSelectAll(), and CQueryParsePanel::SetDataSource().