KiCad PCB EDA Suite
|
#include <project.h>
#include <scintilla_tricks.h>
#include <widgets/bitmap_button.h>
#include <widgets/font_choice.h>
#include <widgets/color_swatch.h>
#include <tool/tool_manager.h>
#include <drawing_sheet/ds_draw_item.h>
#include <drawing_sheet/ds_data_item.h>
#include <drawing_sheet/ds_data_model.h>
#include <view/view.h>
#include <bitmaps.h>
#include "properties_frame.h"
#include "pl_editor_frame.h"
#include "tools/pl_selection_tool.h"
#include <dialogs/html_message_box.h>
#include <wx/wupdlock.h>
Go to the source code of this file.
Macros | |
#define | DLG_MIN_TEXTSIZE 0.01 |
Minimum drawing sheet text default size in millmeters from PROPERTIES_FRAME. | |
#define | DLG_MAX_TEXTSIZE 100.0 |
Maximum drawing sheet text size in mm from PROPERTIES_FRAME. | |
Functions | |
double | fromMM (double aMMValue) |
double | toMM (double aIUValue) |
bool | validateMM (UNIT_BINDER &aUnitBinder, double aMin, double aMax) |
#define DLG_MAX_TEXTSIZE 100.0 |
Maximum drawing sheet text size in mm from PROPERTIES_FRAME.
Definition at line 51 of file properties_frame.cpp.
#define DLG_MIN_TEXTSIZE 0.01 |
Minimum drawing sheet text default size in millmeters from PROPERTIES_FRAME.
Definition at line 50 of file properties_frame.cpp.
double fromMM | ( | double | aMMValue | ) |
Definition at line 162 of file properties_frame.cpp.
References drawSheetIUScale, EDA_UNIT_UTILS::UI::FromUserUnit(), and MILLIMETRES.
Referenced by PROPERTIES_FRAME::CopyPrmsFromGeneralToPanel(), and PROPERTIES_FRAME::CopyPrmsFromItemToPanel().
double toMM | ( | double | aIUValue | ) |
Definition at line 168 of file properties_frame.cpp.
References drawSheetIUScale, MILLIMETRES, and EDA_UNIT_UTILS::UI::ToUserUnit().
Referenced by PROPERTIES_FRAME::CopyPrmsFromPanelToGeneral(), and PROPERTIES_FRAME::CopyPrmsFromPanelToItem().
bool validateMM | ( | UNIT_BINDER & | aUnitBinder, |
double | aMin, | ||
double | aMax | ||
) |
Definition at line 174 of file properties_frame.cpp.
References MILLIMETRES, and UNIT_BINDER::Validate().
Referenced by PROPERTIES_FRAME::CopyPrmsFromPanelToGeneral(), and PROPERTIES_FRAME::CopyPrmsFromPanelToItem().