KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_board_statistics.cpp File Reference
#include "dialog_board_statistics.h"
#include <kiplatform/ui.h>
#include <confirm.h>
#include <pad.h>
#include <macros.h>
#include <wildcards_and_files_ext.h>
#include <widgets/wx_grid.h>
#include <wx/filedlg.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_WIDTH   0
 
#define ROW_BOARD_HEIGHT   1
 
#define ROW_BOARD_AREA   2
 

Functions

static wxString formatCount (int aCount)
 

Variables

static DIALOG_BOARD_STATISTICS_SAVED_STATE s_savedDialogState
 

Macro Definition Documentation

◆ COL_AMOUNT

#define COL_AMOUNT   1

Definition at line 36 of file dialog_board_statistics.cpp.

◆ COL_BOTTOM_SIDE

#define COL_BOTTOM_SIDE   2

Definition at line 41 of file dialog_board_statistics.cpp.

◆ COL_FRONT_SIDE

#define COL_FRONT_SIDE   1

Definition at line 40 of file dialog_board_statistics.cpp.

◆ COL_LABEL

#define COL_LABEL   0

Definition at line 35 of file dialog_board_statistics.cpp.

◆ COL_TOTAL

#define COL_TOTAL   3

Definition at line 42 of file dialog_board_statistics.cpp.

◆ ROW_BOARD_AREA

#define ROW_BOARD_AREA   2

Definition at line 47 of file dialog_board_statistics.cpp.

◆ ROW_BOARD_HEIGHT

#define ROW_BOARD_HEIGHT   1

Definition at line 46 of file dialog_board_statistics.cpp.

◆ ROW_BOARD_WIDTH

#define ROW_BOARD_WIDTH   0

Definition at line 45 of file dialog_board_statistics.cpp.

◆ ROW_LABEL

#define ROW_LABEL   0

Definition at line 39 of file dialog_board_statistics.cpp.

Function Documentation

◆ formatCount()

static wxString formatCount ( int  aCount)
static

Variable Documentation

◆ s_savedDialogState