KiCad PCB EDA Suite
Loading...
Searching...
No Matches
msgpanel.cpp File Reference
#include <widgets/msgpanel.h>
#include <wx/dcscreen.h>
#include <wx/dcclient.h>
#include <wx/settings.h>
#include <wx/toplevel.h>
#include <advanced_config.h>
#include <kiid.h>
#include <widgets/ui_common.h>

Go to the source code of this file.

Functions

std::optional< wxString > GetMsgPanelDisplayUuid (const KIID &aKiid)
 Get a formatted UUID string for display in the message panel, according to the current advanced configuration setting.
 

Function Documentation

◆ GetMsgPanelDisplayUuid()

std::optional< wxString > GetMsgPanelDisplayUuid ( const KIID aKiid)

Get a formatted UUID string for display in the message panel, according to the current advanced configuration setting.

This will be std::nullopt if the configuration setting disables UUID display.

Definition at line 245 of file msgpanel.cpp.

References KIID::AsString(), ADVANCED_CFG::GetCfg(), and ADVANCED_CFG::m_MsgPanelShowUuids.

Referenced by EE_INSPECTION_TOOL::UpdateMessagePanel(), PL_EDITOR_CONTROL::UpdateMessagePanel(), and PCB_CONTROL::UpdateMessagePanel().