KiCad PCB EDA Suite
eeschema/dialogs/panel_setup_formatting.cpp File Reference
#include <sch_edit_frame.h>
#include <sch_painter.h>
#include <kiface_base.h>
#include <panel_setup_formatting.h>
#include <sch_junction.h>
#include <schematic.h>
#include <schematic_settings.h>
#include <project/project_file.h>
#include <project/net_settings.h>

Go to the source code of this file.

Macros

#define SET_VALUE(ctrl, units, value)    ctrl->SetValue( EDA_UNIT_UTILS::UI::StringFromValue( unityScale, units, value ) )
 
#define GET_VALUE(units, str)   EDA_UNIT_UTILS::UI::DoubleValueFromString( unityScale, units, str )
 
#define SET_VALUE(ctrl, units, value)    ctrl->SetValue( EDA_UNIT_UTILS::UI::StringFromValue( unityScale, units, value ) )
 

Macro Definition Documentation

◆ GET_VALUE

#define GET_VALUE (   units,
  str 
)    EDA_UNIT_UTILS::UI::DoubleValueFromString( unityScale, units, str )

◆ SET_VALUE [1/2]

#define SET_VALUE (   ctrl,
  units,
  value 
)     ctrl->SetValue( EDA_UNIT_UTILS::UI::StringFromValue( unityScale, units, value ) )

◆ SET_VALUE [2/2]

#define SET_VALUE (   ctrl,
  units,
  value 
)     ctrl->SetValue( EDA_UNIT_UTILS::UI::StringFromValue( unityScale, units, value ) )