|
KiCad PCB EDA Suite
|
#include <wx/arrstr.h>#include <wx/dcclient.h>#include <wx/checkbox.h>#include <wx/choice.h>#include <wx/menu.h>#include <wx/menuitem.h>#include <wx/listbox.h>#include <wx/dataview.h>#include <wx/radiobut.h>#include <wx/slider.h>#include <wx/spinctrl.h>#include <wx/srchctrl.h>#include <wx/stc/stc.h>#include <wx/scrolbar.h>#include <wx/grid.h>#include <wx/hyperlink.h>#include <wx/notebook.h>#include <widgets/ui_common.h>#include <algorithm>#include <dialog_shim.h>#include <pgm_base.h>#include <wx/settings.h>#include <settings/common_settings.h>#include <bitmaps/bitmap_types.h>#include <string_utils.h>Go to the source code of this file.
Functions | |
| SEVERITY | SeverityFromString (const wxString &aSeverity) |
| wxString | SeverityToString (const SEVERITY &aSeverity) |
| wxFont | getGUIFont (wxWindow *aWindow, int aRelativeSize) |
| int | FindNotebookPage (wxNotebook *aNotebook, wxWindow *aChildWindow) |
| int FindNotebookPage | ( | wxNotebook * | aNotebook, |
| wxWindow * | aChildWindow ) |
Definition at line 491 of file ui_common.cpp.
Referenced by DIALOG_PAD_PROPERTIES::TransferDataFromWindow(), and DIALOG_FOOTPRINT_PROPERTIES::Validate().
| wxFont getGUIFont | ( | wxWindow * | aWindow, |
| int | aRelativeSize ) |
Definition at line 111 of file ui_common.cpp.
References KiIconScale(), KiROUND(), and Pgm().
Referenced by KIUI::GetControlFont(), KIUI::GetDockedPaneFont(), KIUI::GetInfoFont(), KIUI::GetSmallInfoFont(), and KIUI::GetStatusFont().
| SEVERITY SeverityFromString | ( | const wxString & | aSeverity | ) |
Definition at line 58 of file ui_common.cpp.
References RPT_SEVERITY_ERROR, RPT_SEVERITY_IGNORE, and RPT_SEVERITY_WARNING.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), and ERC_SETTINGS::ERC_SETTINGS().
| wxString SeverityToString | ( | const SEVERITY & | aSeverity | ) |
Definition at line 69 of file ui_common.cpp.
References RPT_SEVERITY_IGNORE, and RPT_SEVERITY_WARNING.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), and ERC_SETTINGS::ERC_SETTINGS().