KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_board_statistics.cpp File Reference
#include "dialog_board_statistics.h"
#include <board_statistics.h>
#include <wx/filedlg.h>
#include <kiplatform/ui.h>
#include <confirm.h>
#include <pad.h>
#include <macros.h>
#include <string_utils.h>
#include <wildcards_and_files_ext.h>
#include <widgets/wx_grid.h>
#include <convert_basic_shapes_to_polygon.h>

Go to the source code of this file.

Classes

struct  DIALOG_BOARD_STATISTICS_SAVED_STATE
 The dialog last saved state. More...
 

Macros

#define COL_LABEL   0
 
#define COL_AMOUNT   1
 
#define ROW_LABEL   0
 
#define COL_FRONT_SIDE   1
 
#define COL_BOTTOM_SIDE   2
 
#define COL_TOTAL   3
 
#define ROW_BOARD_DIMS   0
 
#define ROW_BOARD_AREA   1
 
#define ROW_FRONT_COPPER_AREA   2
 
#define ROW_BACK_COPPER_AREA   3
 
#define ROW_MIN_CLEARANCE   4
 
#define ROW_MIN_TRACK_WIDTH   5
 
#define ROW_MIN_DRILL_DIAMETER   6
 
#define ROW_BOARD_THICKNESS   7
 

Functions

static wxString formatCount (int aCount)
 

Variables

static DIALOG_BOARD_STATISTICS_SAVED_STATE s_savedDialogState
 

Macro Definition Documentation

◆ COL_AMOUNT

◆ COL_BOTTOM_SIDE

#define COL_BOTTOM_SIDE   2

◆ COL_FRONT_SIDE

#define COL_FRONT_SIDE   1

◆ COL_LABEL

◆ COL_TOTAL

◆ ROW_BACK_COPPER_AREA

#define ROW_BACK_COPPER_AREA   3

◆ ROW_BOARD_AREA

#define ROW_BOARD_AREA   1

◆ ROW_BOARD_DIMS

#define ROW_BOARD_DIMS   0

◆ ROW_BOARD_THICKNESS

#define ROW_BOARD_THICKNESS   7

◆ ROW_FRONT_COPPER_AREA

#define ROW_FRONT_COPPER_AREA   2

◆ ROW_LABEL

#define ROW_LABEL   0

◆ ROW_MIN_CLEARANCE

#define ROW_MIN_CLEARANCE   4

◆ ROW_MIN_DRILL_DIAMETER

#define ROW_MIN_DRILL_DIAMETER   6

◆ ROW_MIN_TRACK_WIDTH

#define ROW_MIN_TRACK_WIDTH   5

Function Documentation

◆ formatCount()

static wxString formatCount ( int aCount)
static

Variable Documentation

◆ s_savedDialogState