26 #ifndef _DIALOG_BOARD_STATISTICS_H 27 #define _DIALOG_BOARD_STATISTICS_H 39 #include <wx/datetime.h> 154 return ascending ? aLeft < aRight : aLeft > aRight;
198 bool aUseColLabels,
bool aUseFirstColAsLabel );
239 #endif // __DIALOG_BOARD_STATISTICS_H bool m_hasOutline
Hold all components types to be shown in the dialog.
Implementation of conversion functions that require both schematic and board internal units.
void refreshItemsTypes()
< Function to fill up all items types to be shown in the dialog.
bool TransferDataToWindow() override
viasTypeList_t m_viasTypes
Hold all drill hole types to be shown in the dialog.
void getDataFromPCB()
Apply data to dialog widgets.
bool operator==(const drillType_t &other)
Footprint attributes (such as SMD, THT, Virtual and so on), which will be shown in the dialog.
bool compareDrillParameters(int aLeft, int aRight)
std::deque< drillType_t > drillTypeList_t
PAD_DRILL_SHAPE_T
The set of pad drill shapes, used with PAD::{Set,Get}DrillShape()
void drillGridSize(wxSizeEvent &aEvent) override
int m_startLayerColInitialSize
Width of the stop layer column as calculated by the wxWidgets autosizing algorithm.
double m_boardArea
Show if board outline properly defined.
Classes used in Pcbnew, CvPcb and GerbView.
bool operator()(const drillType_t &aLeft, const drillType_t &aRight)
Type information, which will be shown in dialog.
void drillGridSort(wxGridEvent &aEvent)
~DIALOG_BOARD_STATISTICS()
Get data from the PCB board and print it to dialog.
std::deque< viasType_t > viasTypeList_t
std::deque< padsType_t > padsTypeList_t
void updateDrillGrid()
Print grid to string in tabular format.
PCB_EDIT_FRAME * m_parentFrame
DIALOG_BOARD_STATISTICS(PCB_EDIT_FRAME *aParentFrame)
void adjustDrillGridColumns()
drillType_t(int aXSize, int aYSize, PAD_DRILL_SHAPE_T aShape, bool aIsPlated, bool aIsPad, PCB_LAYER_ID aStartLayer, PCB_LAYER_ID aStopLayer, int aQty=0)
void printGridToStringAsTable(wxGrid *aGrid, wxString &aStr, bool aUseRowLabels, bool aUseColLabels, bool aUseFirstColAsLabel)
void updateWidets()
Update drills grid.
Class DIALOG_BOARD_STATISTICS_BASE.
COMPARE(COL_ID aColId, bool aAscending)
FOOTPRINT_ATTR_T attribute
PCB_LAYER_ID
A quick note on layer IDs:
Dialog to show common board info.
The main frame for Pcbnew.
void saveReportClicked(wxCommandEvent &aEvent) override
padsTypeList_t m_padsTypes
Hold all vias types to be shown in the dialog.
void checkboxClicked(wxCommandEvent &aEvent) override
Save board statistics to a file.
drillTypeList_t m_drillTypes
Width of the start layer column as calculated by the wxWidgets autosizing algorithm.
int m_stopLayerColInitialSize
componentsTypeList_t m_componentsTypes
Hold all pads types to be shown in the dialog.
componentsType_t(FOOTPRINT_ATTR_T aAttribute, wxString aTitle)
std::deque< componentsType_t > componentsTypeList_t