#include "sdk.h"
#include <numeric>
#include <map>
#include <algorithm>
#include <wx/propgrid/propgrid.h>
#include "watchesdlg.h"
#include "cbcolourmanager.h"
#include "debuggermanager.h"
Go to the source code of this file.
|
| IMPLEMENT_DYNAMIC_CLASS (cbDummyEditor, wxPGEditor) |
|
| IMPLEMENT_DYNAMIC_CLASS (cbTextCtrlAndButtonTooltipEditor, wxPGTextCtrlAndButtonEditor) |
|
| IMPLEMENT_DYNAMIC_CLASS (WatchesProperty, wxStringProperty) |
|
void | AppendChildren (wxPropertyGrid &grid, wxPGProperty &property, cbWatch &watch, bool readonly, const wxColour &changedColour) |
|
void | UpdateWatch (wxPropertyGrid *grid, wxPGProperty *property, cb::shared_ptr< cbWatch > watch, bool readonly) |
|
void | SetValue (WatchesProperty *prop) |
|
wxPGProperty * | GetRealRoot (wxPropertyGrid *grid) |
|
void | GetColumnWidths (wxClientDC &dc, wxPropertyGrid *grid, wxPGProperty *root, int width[3]) |
|
void | GetColumnWidths (wxPropertyGrid *grid, wxPGProperty *root, int width[3]) |
|
void | SetMinSize (wxPropertyGrid *grid) |
|
◆ wxPG_EX_DISABLE_TLP_TRACKING
#define wxPG_EX_DISABLE_TLP_TRACKING 0x00000000 |
◆ wxPG_CONST_WXCHAR_PTR
◆ AppendChildren()
Definition at line 426 of file watchesdlg.cpp.
References wxPropertyGrid::AppendIn(), wxString::empty(), wxPropertyGrid::EnableProperty(), cbWatch::GetChild(), cbWatch::GetChildCount(), wxPropertyGrid::IsPropertyEnabled(), wxPropertyGrid::SetPropertyAttribute(), wxPropertyGrid::SetPropertyColoursToDefault(), wxPropertyGrid::SetPropertyHelpString(), wxPropertyGrid::SetPropertyTextColour(), WatchRawDialog::UpdateValue(), wxEmptyString, and wxT.
Referenced by UpdateWatch().
◆ GetColumnWidths() [1/2]
◆ GetColumnWidths() [2/2]
◆ GetRealRoot()
◆ IMPLEMENT_DYNAMIC_CLASS() [1/3]
◆ IMPLEMENT_DYNAMIC_CLASS() [2/3]
◆ IMPLEMENT_DYNAMIC_CLASS() [3/3]
◆ SetMinSize()
Definition at line 1126 of file watchesdlg.cpp.
References GetColumnWidths(), wxPropertyGrid::GetLastItem(), wxSystemSettings::GetMetric(), GetRealRoot(), wxPropertyGrid::GetRoot(), wxPropertyGrid::GetVerticalSpacing(), wxRect::height, wxPropertyGrid::IsPropertyExpanded(), wxPropertyGrid::ResetColumnSizes(), wxPropertyGrid::SetColumnProportion(), wxRect::width, wxPG_ITERATE_ALL, wxPG_ITERATE_DEFAULT, wxSYS_SCREEN_X, and wxSYS_SCREEN_Y.
Referenced by GotoFile::AddControlBelowList(), EditPathDlg::EditPathDlg(), ValueTooltip::Fit(), GetUserVariableDialog::GetUserVariableDialog(), and ValueTooltip::ValueTooltip().
◆ SetValue()
◆ UpdateWatch()
Definition at line 466 of file watchesdlg.cpp.
References AppendChildren(), wxString::empty(), Manager::Get(), ColourManager::GetColour(), Manager::GetColourManager(), wxPGProperty::GetName(), wxString::Left(), wxString::length(), wxPropertyGrid::SetPropertyAttribute(), wxPropertyGrid::SetPropertyColoursToDefault(), wxPropertyGrid::SetPropertyHelpString(), wxPropertyGrid::SetPropertyLabel(), wxPropertyGrid::SetPropertyName(), wxPropertyGrid::SetPropertyTextColour(), WatchRawDialog::UpdateValue(), wxEmptyString, and wxT.
Referenced by cbDebuggerPlugin::OnConfigurationChange(), WatchesDlg::RenameWatch(), and WatchesDlg::UpdateWatches().
◆ watchesDummyEditor
◆ watchesPropertyEditor