NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CPhyloTreeWidget Class Reference

Search Toolkit Book for CPhyloTreeWidget

class CPhyloTreeWidget More...

#include <gui/widgets/phylo_tree/phylo_tree_widget.hpp>

+ Inheritance diagram for CPhyloTreeWidget:
+ Collaboration diagram for CPhyloTreeWidget:

Public Member Functions

 CPhyloTreeWidget (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel"))
 
virtual ~CPhyloTreeWidget ()
 
virtual void SetDataSourceNoUpdate (CPhyloTreeDataSource *p_ds)
 
virtual void SetDataSource (CPhyloTreeDataSource *p_ds)
 
virtual void RemoveCurrentDataSource ()
 
virtual void RedrawDataSource ()
 Force tree to be re-masured and call layout. More...
 
virtual CPhyloTreeDataSourceGetDS (void)
 
virtual CGlPaneGetPort ()
 implement these 2 functions in derived classes More...
 
virtual const CGlPaneGetPort () const
 
virtual void OnSetScaleXY (TModelUnit scale_x, const TModelPoint &point)
 
virtual void DlgOverlayFix (wxWindow *win)
 this will forward events to fix opengl bug (windows) to pane More...
 
void OnContextMenu (wxContextMenuEvent &)
 Command handlers. More...
 
void OnPrint (wxCommandEvent &evt)
 
void OnEnablePrintCmdUpdate (wxUpdateUIEvent &evt)
 
void OnSaveImages (wxCommandEvent &evt)
 
void OnSetEqualScale (wxCommandEvent &evt)
 
void OnEnableSaveImagesCmdUpdate (wxUpdateUIEvent &evt)
 
void OnSavePdf (wxCommandEvent &evt)
 
void OnEnableSavePdfCmdUpdate (wxUpdateUIEvent &evt)
 
void OnSetGraphType1 (wxCommandEvent &evt)
 
void OnSetGraphType2 (wxCommandEvent &evt)
 
void OnSetGraphType3 (wxCommandEvent &evt)
 
void OnSetGraphType4 (wxCommandEvent &evt)
 
void OnSetGraphType5 (wxCommandEvent &evt)
 
void OnRotateLabels (wxCommandEvent &evt)
 
void OnStopLayout (wxCommandEvent &evt)
 
void OnUseDistances (wxCommandEvent &evt)
 
void OnUseSplines (wxCommandEvent &evt)
 
void OnOpenPropertiesDlg (wxCommandEvent &evt)
 
void OnRerootTree (wxCommandEvent &evt)
 
void OnRerootTreeAtEdge (wxCommandEvent &evt)
 
void OnSetMidpointRoot (wxCommandEvent &evt)
 
void OnSelectAll (wxCommandEvent &evt)
 
void OnClearSelection (wxCommandEvent &evt)
 
void OnAddSelectionSet (wxCommandEvent &evt)
 
void OnExportSelection (wxCommandEvent &evt)
 
void OnExportTree (wxCommandEvent &evt)
 
void OnInverseSelection (wxCommandEvent &evt)
 
void OnExpandChildren (wxCommandEvent &evt)
 
void OnHighlightCollapsed (wxCommandEvent &evt)
 
void OnHighlightEdges (wxCommandEvent &evt)
 
void OnCollapseToViewport (wxCommandEvent &evt)
 
void OnCollapseSelected (wxCommandEvent &evt)
 
void OnCollapseChildren (wxCommandEvent &evt)
 
void OnZoomToSubtree (wxCommandEvent &evt)
 
void OnShowAll (wxCommandEvent &evt)
 
void OnEditNode (wxCommandEvent &evt)
 
void OnFilterDistances (wxCommandEvent &evt)
 
void OnZoomXY (wxCommandEvent &evt)
 
void OnZoomX (wxCommandEvent &evt)
 
void OnZoomY (wxCommandEvent &evt)
 
void OnZoomToSelection (wxCommandEvent &evt)
 
void OnGoBack (wxCommandEvent &evt)
 
void OnGoForward (wxCommandEvent &evt)
 
void OnUpdateGoBack (wxUpdateUIEvent &evt)
 
void OnUpdateGoForward (wxUpdateUIEvent &evt)
 
void OnSort (wxCommandEvent &evt)
 
void OnSortAscending (wxCommandEvent &evt)
 
void OnClean (wxCommandEvent &evt)
 
void OnFilter (wxCommandEvent &evt)
 
void OnEditLabel (wxCommandEvent &evt)
 
void OnLoadAttributes (wxCommandEvent &evt)
 
void OnLabels (wxCommandEvent &evt)
 
void OnUpdateLabels (wxUpdateUIEvent &evt)
 
void OnUpdateEditLabel (wxUpdateUIEvent &evt)
 
void OnSetTreeLabel (wxCommandEvent &evt)
 
void OnAl (wxCommandEvent &evt)
 
void OnUpdateAl (wxUpdateUIEvent &evt)
 
void OnEdit (wxCommandEvent &evt)
 
void OnUpdateEdit (wxUpdateUIEvent &evt)
 
virtual void x_ZoomIn (int options)
 Zoom functions. More...
 
virtual void x_ZoomOut (int options)
 
void OnUpdateZoomXY (wxUpdateUIEvent &evt)
 
void OnUpdateZoomX (wxUpdateUIEvent &evt)
 
void OnUpdateZoomY (wxUpdateUIEvent &evt)
 
void OnUpdateZoomSel (wxUpdateUIEvent &evt)
 
void OnUpdateEditNode (wxUpdateUIEvent &evt)
 
void OnUpdateRotateLabels (wxUpdateUIEvent &evt)
 
void OnUpdateStopLayout (wxUpdateUIEvent &evt)
 
void OnUpdateUseDistances (wxUpdateUIEvent &evt)
 
void OnUpdateSortAscending (wxUpdateUIEvent &evt)
 
void OnUpdateUseSplines (wxUpdateUIEvent &evt)
 
void OnUpdateSetGraphType1 (wxUpdateUIEvent &evt)
 
void OnUpdateSetGraphType2 (wxUpdateUIEvent &evt)
 
void OnUpdateSetGraphType3 (wxUpdateUIEvent &evt)
 
void OnUpdateSetGraphType4 (wxUpdateUIEvent &evt)
 
void OnUpdateSetGraphType5 (wxUpdateUIEvent &evt)
 
void OnUpdateRerootTree (wxUpdateUIEvent &evt)
 
void OnUpdateRerootTreeAtEdge (wxUpdateUIEvent &evt)
 
void OnUpdateSetMidpointRoot (wxUpdateUIEvent &evt)
 
void OnUpdateShowAll (wxUpdateUIEvent &evt)
 
void OnUpdateCollapseChildren (wxUpdateUIEvent &evt)
 
void OnUpdateExpandChildren (wxUpdateUIEvent &evt)
 
void OnUpdateCollapseSelected (wxUpdateUIEvent &evt)
 
void OnUpdateZoomToSubtree (wxUpdateUIEvent &evt)
 
void OnSubtreeFromSelection (wxCommandEvent &evt)
 
void OnSearchTip (wxCommandEvent &evt)
 
void OnZoomTip (wxCommandEvent &evt)
 
void OnInfoTip (wxCommandEvent &evt)
 
void OnTipActivated (wxCommandEvent &evt)
 
void OnTipDeactivated (wxCommandEvent &evt)
 
void OnUpdateSubtreeFromSelection (wxUpdateUIEvent &evt)
 
void OnUpdateSelChanged ()
 
void UpdateViewingArea ()
 
void SetCurrRenderer (int idx)
 
int GetCurrRenderer () const
 
vector< stringGetRenderersNames (void)
 
virtual void OnShowPopup ()
 
void SendSelChangedEvent ()
 
void SendEditEvent (EPhyloTreeEditCommand ec=eCmdSomethingEdited)
 
void SetPortLimits (const TModelRect &rect, bool bZoomAll=true)
 
void SetPopupMenuItems (CMenuItem *itm)
 
void SetScheme (CPhyloTreeScheme &sl)
 
void SetRegistryPath (const string &reg_path)
 
void LoadSettings ()
 
void SaveSettings () const
 
void SetUseDistances (bool bDist)
 
bool GetUseDistances () const
 
void SetRotateLabels (bool rot)
 
bool GetRotateLabels () const
 
void EditLabel ()
 
bool HasScheme (void)
 
CPhyloTreeSchemeGetScheme (void)
 
void SetQueryPanel (CQueryParsePanel *queryPanel)
 
IQueryWidget interface implementation
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 that the user should not use during the query. More...
 
virtual void QueryEnd (CMacroQueryExec *exec)
 Re-enable any widgets disabled during the query. More...
 
void IterateSelection (int dir)
 Advance to previous/next selected row from query (in current sort order) More...
 
virtual void SetSelectAll (bool b)
 Set to true to show all rows selected by most recent query as selected. More...
 
virtual void SetHideUnselected (bool b)
 If true, only rows that were selected by prevous query will be shown. More...
 
- Public Member Functions inherited from CGlWidgetBase
 CGlWidgetBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel"))
 class CGlWidgetBase More...
 
virtual ~CGlWidgetBase ()
 
virtual void Create ()
 creates controls and performs basic initialization More...
 
virtual void ZoomRect (const TModelRect &rc)
 
virtual void ZoomPoint (const TModelPoint &point, TModelUnit factor, CGlPane::EZoomOptions=CGlPane::fZoomXY)
 
virtual void Scroll (TModelUnit d_x, TModelUnit d_y)
 
virtual void NotifyVisibleRangeChanged ()
 
void OnAllEvents (CViewEvent::TEventObject evt)
 
void OnSize (wxSizeEvent &event)
 
void OnScroll (wxScrollEvent &event)
 
void OnZoomIn (wxCommandEvent &event)
 
void OnZoomInX (wxCommandEvent &event)
 
void OnZoomInY (wxCommandEvent &event)
 
void OnZoomInMouse (wxCommandEvent &event)
 
void OnZoomOut (wxCommandEvent &event)
 
void OnZoomOutX (wxCommandEvent &event)
 
void OnZoomOutY (wxCommandEvent &event)
 
void OnZoomOutMouse (wxCommandEvent &event)
 
void OnZoomAll (wxCommandEvent &event)
 
void OnZoomAllX (wxCommandEvent &event)
 
void OnZoomAllY (wxCommandEvent &event)
 
void OnEnableCmdUpdate (wxUpdateUIEvent &event)
 
- Public Member Functions inherited from CEventHandler
 CEventHandler ()
 CEventHandler. More...
 
virtual ~CEventHandler ()
 
virtual void AddListener (CEventHandler *listener, int pool_name=ePool_Default)
 Add a listener. More...
 
virtual void RemoveListener (CEventHandler *listener)
 Remove a listener. More...
 
virtual void RemoveAllListeners (void)
 
virtual bool HasListener (CEventHandler *listener, int pool_name=ePool_Default) const
 returns "true" if the given listener belongs to the specified pool More...
 
virtual const TListenersGetListeners (int pool_name=ePool_Default) const
 returns a set of listeners fro the specified pool More...
 
virtual bool OnEvent (CEvent *evt)
 Processes en event. Returns "true" if event has been processed. More...
 
virtual bool Dispatch (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)
 Dispatches an event to the listeners (but does not handle it). More...
 
virtual bool Send (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)
 Sends an event synchronously. More...
 
virtual bool Send (CEvent *evt, int pool_name)
 
void Post (CRef< CEvent > evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)
 Handles an event asynchronously (process and/or dispatch). More...
 
- Public Member Functions inherited from IRegSettings
virtual ~IRegSettings ()
 
- Public Member Functions inherited from IQueryWidget
 IQueryWidget ()
 
virtual ~IQueryWidget ()
 

Static Public Member Functions

static void RegisterCommands (CUICommandRegistry &cmd_reg, wxFileArtProvider &provider)
 class CPhyloTreeWidget More...
 
- Static Public Member Functions inherited from CEventHandler
static bool HandlePostRequest ()
 
static void ClearPostQueue ()
 erases all events from the queue More...
 
static void DestroyPostQueue ()
 

Protected Member Functions

virtual void x_CreatePane (void)
 factory method creating master pane, called form x_CreateControls() More...
 
virtual CGlWidgetPanex_GetPane ()
 
virtual void x_SetPortLimits (void)
 updates model limits of the Master CGlPane More...
 
virtual void x_Update ()
 Update handlers. More...
 
virtual void x_UpdatePane ()
 
virtual void x_SoftUpdate ()
 
virtual void x_SaveStates ()
 
virtual void x_CreateControls ()
 creates Pane, Scrollbars and other child widgets, called from Create() More...
 
void x_IterateSelection (int dir)
 
- Protected Member Functions inherited from CGlWidgetBase
virtual bool DoPopupMenu (wxMenu *menu, int x, int y)
 Override to record when (blocking) popup menu is active. More...
 
virtual void x_RedrawControls (void)
 
virtual void x_ZoomAll (int options)
 
virtual void x_UpdateOnZoom ()
 
virtual void x_UpdateOnHScroll ()
 
virtual void x_UpdateOnVScroll ()
 
virtual void x_UpdateScrollbars ()
 
virtual void x_OnScrollX (int pos)
 
virtual void x_OnScrollY (int pos)
 
virtual void x_ShowDecoratedPopupMenu (wxMenu *menu)
 
- Protected Member Functions inherited from CEventHandler
virtual const SEvtMapGetEventMap () const
 
void x_DeclareDead ()
 Removes itself unavailable for async event delivery. More...
 
void x_AddListenerToPool (CEventHandler *listener, int pool_name)
 

Protected Attributes

CRef< CPhyloTreeDataSourcem_DataSource
 
CRef< CPhyloTreeSchemem_pScheme
 
CPhyloTreePanem_pPhyloTreePane
 
CMenuItemm_pPopupItems
 
CRef< CGuiRegistrym_ConfigCache
 
CGlPane m_Port
 
CQueryParsePanelm_QueryPanel
 
bool m_SortAscending
 
EPhyloTreeEditCommand m_LastCommand
 
CGlPane m_PrevPane
 
CVect2< float > m_PrevPos
 
- Protected Attributes inherited from CGlWidgetBase
string m_RegPath
 path to the widget's settings in GUI Registry More...
 
TModelPoint m_PopupPoint
 
- Protected Attributes inherited from CEventHandler
TPools m_Pools
 

Additional Inherited Members

- Public Types inherited from CGlWidgetBase
enum  { ID_GLCHILDPANE = wxID_HIGHEST + 200 , ID_VSCROPLLBAR , ID_HSCROPLLBAR }
 
- Public Types inherited from CEventHandler
enum  EDispatch { eDispatch_SelfOnly , eDispatch_AllHandlers , eDispatch_FirstHandler , eDispatch_Default = eDispatch_AllHandlers }
 enum controlling dispatching strategies More...
 
enum  EPoolName {
  ePool_Default = 0 , ePool_Parent , ePool_Child , ePool_Sibling ,
  ePool_NextAvailable
}
 Identifiers for standard pools. More...
 
typedef vector< CEventHandler * > TListeners
 
typedef map< int, TListenersTPools
 
typedef list< AutoPtr< SPostRequest > > TPostRequests
 
typedef std::map< CEventHandler *, intTHandlerToCount
 
typedef void(* FOnPostCallback) ()
 
- Static Protected Attributes inherited from CEventHandler
static const SEvtMap sm_EvtMap
 

Detailed Description

class CPhyloTreeWidget

Definition at line 150 of file phylo_tree_widget.hpp.

Constructor & Destructor Documentation

◆ CPhyloTreeWidget()

CPhyloTreeWidget::CPhyloTreeWidget ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxT("panel") 
)

◆ ~CPhyloTreeWidget()

CPhyloTreeWidget::~CPhyloTreeWidget ( )
virtual

Definition at line 227 of file phylo_tree_widget.cpp.

References m_QueryPanel, and CEventHandler::RemoveListener().

Member Function Documentation

◆ DlgOverlayFix()

void CPhyloTreeWidget::DlgOverlayFix ( wxWindow *  win)
virtual

this will forward events to fix opengl bug (windows) to pane

Reimplemented from IQueryWidget.

Definition at line 1210 of file phylo_tree_widget.cpp.

References CGlWidgetPane::DlgOverlayFix(), and m_pPhyloTreePane.

Referenced by EditLabel(), OnEditNode(), OnInfoTip(), OnOpenPropertiesDlg(), OnSaveImages(), OnSavePdf(), and OnSetTreeLabel().

◆ EditLabel()

void CPhyloTreeWidget::EditLabel ( )

◆ GetCurrRenderer()

int CPhyloTreeWidget::GetCurrRenderer ( void  ) const

◆ GetDS()

CPhyloTreeDataSource * CPhyloTreeWidget::GetDS ( void  )
virtual

◆ GetPort() [1/2]

CGlPane & CPhyloTreeWidget::GetPort ( )
virtual

◆ GetPort() [2/2]

const CGlPane & CPhyloTreeWidget::GetPort ( void  ) const
virtual

Implements CGlWidgetBase.

Definition at line 658 of file phylo_tree_widget.cpp.

References m_Port.

◆ GetRenderersNames()

vector< string > CPhyloTreeWidget::GetRenderersNames ( void  )

◆ GetRotateLabels()

bool CPhyloTreeWidget::GetRotateLabels ( ) const

◆ GetScheme()

CPhyloTreeScheme& CPhyloTreeWidget::GetScheme ( void  )
inline

◆ GetSearchHelpAddr()

virtual string CPhyloTreeWidget::GetSearchHelpAddr ( ) const
inlinevirtual

Return web-address for the help page that disusses help for the specific widget.

The default ("") will hide the help icon.

Reimplemented from IQueryWidget.

Definition at line 323 of file phylo_tree_widget.hpp.

References string.

◆ GetUseDistances()

bool CPhyloTreeWidget::GetUseDistances ( ) const

◆ HasScheme()

bool CPhyloTreeWidget::HasScheme ( void  )
inline

◆ IterateSelection()

void CPhyloTreeWidget::IterateSelection ( int  dir)
virtual

◆ LoadSettings()

void CPhyloTreeWidget::LoadSettings ( )
virtual

◆ OnAddSelectionSet()

void CPhyloTreeWidget::OnAddSelectionSet ( wxCommandEvent &  evt)

◆ OnAl()

void CPhyloTreeWidget::OnAl ( wxCommandEvent &  evt)

◆ OnClean()

void CPhyloTreeWidget::OnClean ( wxCommandEvent &  evt)

◆ OnClearSelection()

void CPhyloTreeWidget::OnClearSelection ( wxCommandEvent &  evt)

◆ OnCollapseChildren()

void CPhyloTreeWidget::OnCollapseChildren ( wxCommandEvent &  evt)

◆ OnCollapseSelected()

void CPhyloTreeWidget::OnCollapseSelected ( wxCommandEvent &  evt)

◆ OnCollapseToViewport()

void CPhyloTreeWidget::OnCollapseToViewport ( wxCommandEvent &  evt)

◆ OnContextMenu()

void CPhyloTreeWidget::OnContextMenu ( wxContextMenuEvent &  event)

◆ OnEdit()

void CPhyloTreeWidget::OnEdit ( wxCommandEvent &  evt)

◆ OnEditLabel()

void CPhyloTreeWidget::OnEditLabel ( wxCommandEvent &  evt)

Definition at line 2287 of file phylo_tree_widget.cpp.

References EditLabel().

◆ OnEditNode()

void CPhyloTreeWidget::OnEditNode ( wxCommandEvent &  evt)

◆ OnEnablePrintCmdUpdate()

void CPhyloTreeWidget::OnEnablePrintCmdUpdate ( wxUpdateUIEvent &  evt)

Definition at line 717 of file phylo_tree_widget.cpp.

◆ OnEnableSaveImagesCmdUpdate()

void CPhyloTreeWidget::OnEnableSaveImagesCmdUpdate ( wxUpdateUIEvent &  evt)

Definition at line 753 of file phylo_tree_widget.cpp.

◆ OnEnableSavePdfCmdUpdate()

void CPhyloTreeWidget::OnEnableSavePdfCmdUpdate ( wxUpdateUIEvent &  evt)

Definition at line 769 of file phylo_tree_widget.cpp.

◆ OnExpandChildren()

void CPhyloTreeWidget::OnExpandChildren ( wxCommandEvent &  evt)

◆ OnExportSelection()

void CPhyloTreeWidget::OnExportSelection ( wxCommandEvent &  evt)

◆ OnExportTree()

void CPhyloTreeWidget::OnExportTree ( wxCommandEvent &  evt)

◆ OnFilter()

void CPhyloTreeWidget::OnFilter ( wxCommandEvent &  evt)

◆ OnFilterDistances()

void CPhyloTreeWidget::OnFilterDistances ( wxCommandEvent &  evt)

Definition at line 1996 of file phylo_tree_widget.cpp.

◆ OnGoBack()

void CPhyloTreeWidget::OnGoBack ( wxCommandEvent &  evt)

◆ OnGoForward()

void CPhyloTreeWidget::OnGoForward ( wxCommandEvent &  evt)

◆ OnHighlightCollapsed()

void CPhyloTreeWidget::OnHighlightCollapsed ( wxCommandEvent &  evt)

◆ OnHighlightEdges()

void CPhyloTreeWidget::OnHighlightEdges ( wxCommandEvent &  evt)

◆ OnInfoTip()

void CPhyloTreeWidget::OnInfoTip ( wxCommandEvent &  evt)

◆ OnInverseSelection()

void CPhyloTreeWidget::OnInverseSelection ( wxCommandEvent &  evt)

◆ OnLabels()

void CPhyloTreeWidget::OnLabels ( wxCommandEvent &  evt)

◆ OnLoadAttributes()

void CPhyloTreeWidget::OnLoadAttributes ( wxCommandEvent &  evt)

◆ OnOpenPropertiesDlg()

void CPhyloTreeWidget::OnOpenPropertiesDlg ( wxCommandEvent &  evt)

◆ OnPrint()

void CPhyloTreeWidget::OnPrint ( wxCommandEvent &  evt)

◆ OnRerootTree()

void CPhyloTreeWidget::OnRerootTree ( wxCommandEvent &  evt)

◆ OnRerootTreeAtEdge()

void CPhyloTreeWidget::OnRerootTreeAtEdge ( wxCommandEvent &  evt)

◆ OnRotateLabels()

void CPhyloTreeWidget::OnRotateLabels ( wxCommandEvent &  evt)

◆ OnSaveImages()

void CPhyloTreeWidget::OnSaveImages ( wxCommandEvent &  evt)

◆ OnSavePdf()

void CPhyloTreeWidget::OnSavePdf ( wxCommandEvent &  evt)

Definition at line 762 of file phylo_tree_widget.cpp.

References DlgOverlayFix(), and m_pPhyloTreePane.

◆ OnSearchTip()

void CPhyloTreeWidget::OnSearchTip ( wxCommandEvent &  evt)

◆ OnSelectAll()

void CPhyloTreeWidget::OnSelectAll ( wxCommandEvent &  evt)

◆ OnSetEqualScale()

void CPhyloTreeWidget::OnSetEqualScale ( wxCommandEvent &  evt)

◆ OnSetGraphType1()

void CPhyloTreeWidget::OnSetGraphType1 ( wxCommandEvent &  evt)

Definition at line 937 of file phylo_tree_widget.cpp.

References SetCurrRenderer().

◆ OnSetGraphType2()

void CPhyloTreeWidget::OnSetGraphType2 ( wxCommandEvent &  evt)

Definition at line 943 of file phylo_tree_widget.cpp.

References SetCurrRenderer().

◆ OnSetGraphType3()

void CPhyloTreeWidget::OnSetGraphType3 ( wxCommandEvent &  evt)

Definition at line 948 of file phylo_tree_widget.cpp.

References SetCurrRenderer().

◆ OnSetGraphType4()

void CPhyloTreeWidget::OnSetGraphType4 ( wxCommandEvent &  evt)

Definition at line 953 of file phylo_tree_widget.cpp.

References SetCurrRenderer().

◆ OnSetGraphType5()

void CPhyloTreeWidget::OnSetGraphType5 ( wxCommandEvent &  evt)

Definition at line 958 of file phylo_tree_widget.cpp.

References SetCurrRenderer().

◆ OnSetMidpointRoot()

void CPhyloTreeWidget::OnSetMidpointRoot ( wxCommandEvent &  evt)

◆ OnSetScaleXY()

void CPhyloTreeWidget::OnSetScaleXY ( TModelUnit  scale_x,
const TModelPoint point 
)
virtual

◆ OnSetTreeLabel()

void CPhyloTreeWidget::OnSetTreeLabel ( wxCommandEvent &  evt)

◆ OnShowAll()

void CPhyloTreeWidget::OnShowAll ( wxCommandEvent &  evt)

◆ OnShowPopup()

virtual void CPhyloTreeWidget::OnShowPopup ( )
inlinevirtual

Definition at line 302 of file phylo_tree_widget.hpp.

Referenced by CPhyloTreePane::x_OnShowPopup().

◆ OnSort()

void CPhyloTreeWidget::OnSort ( wxCommandEvent &  evt)

◆ OnSortAscending()

void CPhyloTreeWidget::OnSortAscending ( wxCommandEvent &  evt)

Definition at line 2061 of file phylo_tree_widget.cpp.

References m_SortAscending.

◆ OnStopLayout()

void CPhyloTreeWidget::OnStopLayout ( wxCommandEvent &  evt)

◆ OnSubtreeFromSelection()

void CPhyloTreeWidget::OnSubtreeFromSelection ( wxCommandEvent &  evt)

◆ OnTipActivated()

void CPhyloTreeWidget::OnTipActivated ( wxCommandEvent &  evt)

◆ OnTipDeactivated()

void CPhyloTreeWidget::OnTipDeactivated ( wxCommandEvent &  evt)

◆ OnUpdateAl()

void CPhyloTreeWidget::OnUpdateAl ( wxUpdateUIEvent &  evt)

◆ OnUpdateCollapseChildren()

void CPhyloTreeWidget::OnUpdateCollapseChildren ( wxUpdateUIEvent &  evt)

◆ OnUpdateCollapseSelected()

void CPhyloTreeWidget::OnUpdateCollapseSelected ( wxUpdateUIEvent &  evt)

◆ OnUpdateEdit()

void CPhyloTreeWidget::OnUpdateEdit ( wxUpdateUIEvent &  evt)

◆ OnUpdateEditLabel()

void CPhyloTreeWidget::OnUpdateEditLabel ( wxUpdateUIEvent &  evt)

◆ OnUpdateEditNode()

void CPhyloTreeWidget::OnUpdateEditNode ( wxUpdateUIEvent &  evt)

◆ OnUpdateExpandChildren()

void CPhyloTreeWidget::OnUpdateExpandChildren ( wxUpdateUIEvent &  evt)

◆ OnUpdateGoBack()

void CPhyloTreeWidget::OnUpdateGoBack ( wxUpdateUIEvent &  evt)

Definition at line 899 of file phylo_tree_widget.cpp.

References CPhyloTreePane::CanGoBack(), and m_pPhyloTreePane.

◆ OnUpdateGoForward()

void CPhyloTreeWidget::OnUpdateGoForward ( wxUpdateUIEvent &  evt)

Definition at line 904 of file phylo_tree_widget.cpp.

References CPhyloTreePane::CanGoForward(), and m_pPhyloTreePane.

◆ OnUpdateLabels()

void CPhyloTreeWidget::OnUpdateLabels ( wxUpdateUIEvent &  evt)

◆ OnUpdateRerootTree()

void CPhyloTreeWidget::OnUpdateRerootTree ( wxUpdateUIEvent &  evt)

◆ OnUpdateRerootTreeAtEdge()

void CPhyloTreeWidget::OnUpdateRerootTreeAtEdge ( wxUpdateUIEvent &  evt)

◆ OnUpdateRotateLabels()

void CPhyloTreeWidget::OnUpdateRotateLabels ( wxUpdateUIEvent &  evt)

Definition at line 1009 of file phylo_tree_widget.cpp.

References CPhyloTreePane::GetCurrRenderer(), m_pPhyloTreePane, NULL, and r().

◆ OnUpdateSelChanged()

void CPhyloTreeWidget::OnUpdateSelChanged ( )

◆ OnUpdateSetGraphType1()

void CPhyloTreeWidget::OnUpdateSetGraphType1 ( wxUpdateUIEvent &  evt)

◆ OnUpdateSetGraphType2()

void CPhyloTreeWidget::OnUpdateSetGraphType2 ( wxUpdateUIEvent &  evt)

◆ OnUpdateSetGraphType3()

void CPhyloTreeWidget::OnUpdateSetGraphType3 ( wxUpdateUIEvent &  evt)

◆ OnUpdateSetGraphType4()

void CPhyloTreeWidget::OnUpdateSetGraphType4 ( wxUpdateUIEvent &  evt)

◆ OnUpdateSetGraphType5()

void CPhyloTreeWidget::OnUpdateSetGraphType5 ( wxUpdateUIEvent &  evt)

◆ OnUpdateSetMidpointRoot()

void CPhyloTreeWidget::OnUpdateSetMidpointRoot ( wxUpdateUIEvent &  evt)

◆ OnUpdateShowAll()

void CPhyloTreeWidget::OnUpdateShowAll ( wxUpdateUIEvent &  evt)

Definition at line 1955 of file phylo_tree_widget.cpp.

◆ OnUpdateSortAscending()

void CPhyloTreeWidget::OnUpdateSortAscending ( wxUpdateUIEvent &  evt)

Definition at line 2056 of file phylo_tree_widget.cpp.

References m_SortAscending.

◆ OnUpdateStopLayout()

void CPhyloTreeWidget::OnUpdateStopLayout ( wxUpdateUIEvent &  evt)

Definition at line 1069 of file phylo_tree_widget.cpp.

References CPhyloTreePane::GetCurrRenderer(), m_pPhyloTreePane, NULL, and r().

◆ OnUpdateSubtreeFromSelection()

void CPhyloTreeWidget::OnUpdateSubtreeFromSelection ( wxUpdateUIEvent &  evt)

◆ OnUpdateUseDistances()

void CPhyloTreeWidget::OnUpdateUseDistances ( wxUpdateUIEvent &  evt)

◆ OnUpdateUseSplines()

void CPhyloTreeWidget::OnUpdateUseSplines ( wxUpdateUIEvent &  evt)

◆ OnUpdateZoomSel()

void CPhyloTreeWidget::OnUpdateZoomSel ( wxUpdateUIEvent &  evt)

◆ OnUpdateZoomToSubtree()

void CPhyloTreeWidget::OnUpdateZoomToSubtree ( wxUpdateUIEvent &  evt)

◆ OnUpdateZoomX()

void CPhyloTreeWidget::OnUpdateZoomX ( wxUpdateUIEvent &  evt)

◆ OnUpdateZoomXY()

void CPhyloTreeWidget::OnUpdateZoomXY ( wxUpdateUIEvent &  evt)

◆ OnUpdateZoomY()

void CPhyloTreeWidget::OnUpdateZoomY ( wxUpdateUIEvent &  evt)

◆ OnUseDistances()

void CPhyloTreeWidget::OnUseDistances ( wxCommandEvent &  evt)

◆ OnUseSplines()

void CPhyloTreeWidget::OnUseSplines ( wxCommandEvent &  evt)

◆ OnZoomTip()

void CPhyloTreeWidget::OnZoomTip ( wxCommandEvent &  evt)

◆ OnZoomToSelection()

void CPhyloTreeWidget::OnZoomToSelection ( wxCommandEvent &  evt)

◆ OnZoomToSubtree()

void CPhyloTreeWidget::OnZoomToSubtree ( wxCommandEvent &  evt)

◆ OnZoomX()

void CPhyloTreeWidget::OnZoomX ( wxCommandEvent &  evt)

◆ OnZoomXY()

void CPhyloTreeWidget::OnZoomXY ( wxCommandEvent &  evt)

◆ OnZoomY()

void CPhyloTreeWidget::OnZoomY ( wxCommandEvent &  evt)

◆ QueryEnd()

void CPhyloTreeWidget::QueryEnd ( CMacroQueryExec exec)
virtual

◆ QueryStart()

void CPhyloTreeWidget::QueryStart ( )
virtual

Disable any widgets that the user should not use during the query.

Reimplemented from IQueryWidget.

Definition at line 2327 of file phylo_tree_widget.cpp.

References m_pPhyloTreePane, and m_QueryPanel.

◆ RedrawDataSource()

void CPhyloTreeWidget::RedrawDataSource ( )
virtual

◆ RegisterCommands()

void CPhyloTreeWidget::RegisterCommands ( CUICommandRegistry cmd_reg,
wxFileArtProvider provider 
)
static

◆ RemoveCurrentDataSource()

void CPhyloTreeWidget::RemoveCurrentDataSource ( )
virtual

◆ SaveSettings()

void CPhyloTreeWidget::SaveSettings ( ) const
virtual

◆ SendEditEvent()

void CPhyloTreeWidget::SendEditEvent ( EPhyloTreeEditCommand  ec = eCmdSomethingEdited)

◆ SendSelChangedEvent()

void CPhyloTreeWidget::SendSelChangedEvent ( )

◆ SetCurrRenderer()

void CPhyloTreeWidget::SetCurrRenderer ( int  idx)

◆ SetDataSource()

void CPhyloTreeWidget::SetDataSource ( CPhyloTreeDataSource p_ds)
virtual

◆ SetDataSourceNoUpdate()

void CPhyloTreeWidget::SetDataSourceNoUpdate ( CPhyloTreeDataSource p_ds)
virtual

◆ SetHideUnselected()

void CPhyloTreeWidget::SetHideUnselected ( bool  b)
virtual

If true, only rows that were selected by prevous query will be shown.

Reimplemented from IQueryWidget.

Definition at line 2580 of file phylo_tree_widget.cpp.

References b, CPhyloTreePane::BufferedRender(), CPhyloTreeScheme::eHighlightSelection, CPhyloTreeScheme::eNormalSelection, m_pPhyloTreePane, m_pScheme, and CPhyloTreeScheme::SetSelectionVisibility().

◆ SetPopupMenuItems()

void CPhyloTreeWidget::SetPopupMenuItems ( CMenuItem itm)

Definition at line 496 of file phylo_tree_widget.cpp.

References m_pPopupItems.

◆ SetPortLimits()

void CPhyloTreeWidget::SetPortLimits ( const TModelRect rect,
bool  bZoomAll = true 
)

◆ SetQueryPanel()

void CPhyloTreeWidget::SetQueryPanel ( CQueryParsePanel queryPanel)

◆ SetRegistryPath()

void CPhyloTreeWidget::SetRegistryPath ( const string reg_path)
virtual

Reimplemented from CGlWidgetBase.

Definition at line 1505 of file phylo_tree_widget.cpp.

References CGlWidgetBase::m_RegPath.

◆ SetRotateLabels()

void CPhyloTreeWidget::SetRotateLabels ( bool  rot)

◆ SetScheme()

void CPhyloTreeWidget::SetScheme ( CPhyloTreeScheme sl)

◆ SetSelectAll()

void CPhyloTreeWidget::SetSelectAll ( bool  b)
virtual

Set to true to show all rows selected by most recent query as selected.

Reimplemented from IQueryWidget.

Definition at line 2571 of file phylo_tree_widget.cpp.

References b, CPhyloTreeDataSource::IterateOverSelNodes(), m_DataSource, m_pScheme, NULL, SendSelChangedEvent(), and CPhyloTreeScheme::SetShowAllSelected().

◆ SetUseDistances()

void CPhyloTreeWidget::SetUseDistances ( bool  bDist)

◆ UpdateViewingArea()

void CPhyloTreeWidget::UpdateViewingArea ( )

◆ x_CreateControls()

static void CPhyloTreeWidget::x_CreateControls ( void  )
protectedvirtual

creates Pane, Scrollbars and other child widgets, called from Create()

Reimplemented from CGlWidgetBase.

Definition at line 456 of file phylo_tree_widget.cpp.

References GetDefaultFileArtProvider(), wxFileArtProvider::RegisterFileAlias(), wxT, and CGlWidgetBase::x_CreateControls().

◆ x_CreatePane()

void CPhyloTreeWidget::x_CreatePane ( void  )
protectedvirtual

factory method creating master pane, called form x_CreateControls()

Implements CGlWidgetBase.

Definition at line 501 of file phylo_tree_widget.cpp.

References CPhyloTreePane::AddRenderer(), and m_pPhyloTreePane.

◆ x_GetPane()

CGlWidgetPane * CPhyloTreeWidget::x_GetPane ( )
protectedvirtual

Reimplemented from CGlWidgetBase.

Definition at line 517 of file phylo_tree_widget.cpp.

References m_pPhyloTreePane.

◆ x_IterateSelection()

void CPhyloTreeWidget::x_IterateSelection ( int  dir)
protected

◆ x_SaveStates()

void CPhyloTreeWidget::x_SaveStates ( )
protectedvirtual

Reimplemented from CGlWidgetBase.

Definition at line 1166 of file phylo_tree_widget.cpp.

References m_pPhyloTreePane, and CPhyloTreePane::SaveCurrentView().

◆ x_SetPortLimits()

void CPhyloTreeWidget::x_SetPortLimits ( void  )
protectedvirtual

◆ x_SoftUpdate()

void CPhyloTreeWidget::x_SoftUpdate ( )
protectedvirtual

◆ x_Update()

void CPhyloTreeWidget::x_Update ( )
protectedvirtual

◆ x_UpdatePane()

void CPhyloTreeWidget::x_UpdatePane ( )
protectedvirtual

Definition at line 1182 of file phylo_tree_widget.cpp.

References m_pPhyloTreePane, and CPhyloTreePane::Update().

Referenced by x_Update().

◆ x_ZoomIn()

void CPhyloTreeWidget::x_ZoomIn ( int  options)
virtual

◆ x_ZoomOut()

void CPhyloTreeWidget::x_ZoomOut ( int  options)
virtual

Member Data Documentation

◆ m_ConfigCache

CRef<CGuiRegistry> CPhyloTreeWidget::m_ConfigCache
protected

Definition at line 364 of file phylo_tree_widget.hpp.

◆ m_DataSource

CRef<CPhyloTreeDataSource> CPhyloTreeWidget::m_DataSource
protected

◆ m_LastCommand

EPhyloTreeEditCommand CPhyloTreeWidget::m_LastCommand
protected

Definition at line 370 of file phylo_tree_widget.hpp.

Referenced by RedrawDataSource(), and SendEditEvent().

◆ m_Port

CGlPane CPhyloTreeWidget::m_Port
protected

◆ m_pPhyloTreePane

CPhyloTreePane* CPhyloTreeWidget::m_pPhyloTreePane
protected

◆ m_pPopupItems

CMenuItem* CPhyloTreeWidget::m_pPopupItems
protected

Definition at line 363 of file phylo_tree_widget.hpp.

Referenced by SetPopupMenuItems().

◆ m_PrevPane

CGlPane CPhyloTreeWidget::m_PrevPane
protected

Definition at line 371 of file phylo_tree_widget.hpp.

Referenced by RedrawDataSource(), and SendEditEvent().

◆ m_PrevPos

CVect2<float> CPhyloTreeWidget::m_PrevPos
protected

Definition at line 372 of file phylo_tree_widget.hpp.

Referenced by RedrawDataSource(), and SendEditEvent().

◆ m_pScheme

CRef<CPhyloTreeScheme> CPhyloTreeWidget::m_pScheme
protected

◆ m_QueryPanel

CQueryParsePanel* CPhyloTreeWidget::m_QueryPanel
protected

◆ m_SortAscending

bool CPhyloTreeWidget::m_SortAscending
protected

Definition at line 367 of file phylo_tree_widget.hpp.

Referenced by OnSort(), OnSortAscending(), and OnUpdateSortAscending().


The documentation for this class was generated from the following files:
Modified on Wed Sep 04 15:03:23 2024 by modify_doxy.py rev. 669887