Code::Blocks  SVN r11506
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
ValueTooltip Class Reference

#include <watchesdlg.h>

Inheritance diagram for ValueTooltip:
Collaboration diagram for ValueTooltip:

Public Member Functions

 ValueTooltip (const cb::shared_ptr< cbWatch > &watch, wxWindow *parent)
 
 ~ValueTooltip ()
 
void Dismiss ()
 
void UpdateWatch ()
 

Protected Member Functions

virtual void OnDismiss ()
 

Private Member Functions

void Fit ()
 
void ClearWatch ()
 
void OnCollapse (wxPropertyGridEvent &event)
 
void OnExpand (wxPropertyGridEvent &event)
 
void OnTimer (wxTimerEvent &event)
 

Private Attributes

wxPropertyGridm_grid
 
wxBoxSizerm_sizer
 
wxPanelm_panel
 
wxTimer m_timer
 
int m_outsideCount
 
cb::shared_ptr< cbWatchm_watch
 

Detailed Description

Definition at line 79 of file watchesdlg.h.

Constructor & Destructor Documentation

◆ ValueTooltip()

ValueTooltip::ValueTooltip ( const cb::shared_ptr< cbWatch > &  watch,
wxWindow parent 
)

◆ ~ValueTooltip()

ValueTooltip::~ValueTooltip ( )

Definition at line 1206 of file watchesdlg.cpp.

References ClearWatch().

Member Function Documentation

◆ ClearWatch()

void ValueTooltip::ClearWatch ( )
private

◆ Dismiss()

void ValueTooltip::Dismiss ( )

Definition at line 1230 of file watchesdlg.cpp.

References ClearWatch(), m_timer, and wxTimer::Stop().

Referenced by DebugInterfaceFactory::HideValueTooltip(), and OnTimer().

◆ Fit()

void ValueTooltip::Fit ( )
private

Definition at line 1242 of file watchesdlg.cpp.

References wxBoxSizer::Fit(), m_grid, m_panel, m_sizer, SetMinSize(), wxPoint::x, and wxPoint::y.

Referenced by OnCollapse(), OnExpand(), and UpdateWatch().

◆ OnCollapse()

void ValueTooltip::OnCollapse ( wxPropertyGridEvent event)
private

◆ OnDismiss()

void ValueTooltip::OnDismiss ( )
protectedvirtual

Definition at line 1237 of file watchesdlg.cpp.

References ClearWatch().

◆ OnExpand()

void ValueTooltip::OnExpand ( wxPropertyGridEvent event)
private

◆ OnTimer()

void ValueTooltip::OnTimer ( wxTimerEvent event)
private

◆ UpdateWatch()

void ValueTooltip::UpdateWatch ( )

Definition at line 1211 of file watchesdlg.cpp.

References Fit(), GetRealRoot(), m_grid, and m_watch.

Referenced by DebugInterfaceFactory::UpdateValueTooltip(), and ValueTooltip().

Member Data Documentation

◆ m_grid

wxPropertyGrid* ValueTooltip::m_grid
private

Definition at line 103 of file watchesdlg.h.

Referenced by Fit(), UpdateWatch(), and ValueTooltip().

◆ m_outsideCount

int ValueTooltip::m_outsideCount
private

Definition at line 108 of file watchesdlg.h.

Referenced by OnTimer().

◆ m_panel

wxPanel* ValueTooltip::m_panel
private

Definition at line 105 of file watchesdlg.h.

Referenced by Fit(), and ValueTooltip().

◆ m_sizer

wxBoxSizer* ValueTooltip::m_sizer
private

Definition at line 104 of file watchesdlg.h.

Referenced by Fit(), and ValueTooltip().

◆ m_timer

wxTimer ValueTooltip::m_timer
private

Definition at line 107 of file watchesdlg.h.

Referenced by Dismiss(), and ValueTooltip().

◆ m_watch

cb::shared_ptr<cbWatch> ValueTooltip::m_watch
private

Definition at line 110 of file watchesdlg.h.

Referenced by ClearWatch(), UpdateWatch(), and ValueTooltip().


The documentation for this class was generated from the following files: