![]() |
BT-MatML-Editor 0.1.4
Editor for the MatML 3.1 XML Schema
|
GUI for each of the MatML classes More...
#include <BT_MatML_GUI.h>
Public Member Functions | |
GUI () | |
GUI (wxWindow *parent) | |
Initiallizes with new individual MatML GUIs More... | |
virtual | ~GUI () |
Destroys individual MatML GUIs More... | |
void | SetSizer (wxFlexGridSizer *&fgSizer) |
Assumes the same sizer for all the MatML GUIs and that the panels are placed adjacent. Panels of the MatML GUIs are hiden and shown on updating with data. More... | |
template<class MatML_Class , class GUI_Class > | |
bool | Update_individual_GUI (::boost::any anyptr, GUI_Class GUI) |
Template for updating the individual GUI based on the boost::any pointer caste type. More... | |
template<class MatML_Class , class GUI_Class > | |
bool | Update_individual_GUI (::boost::any anyptr, GUI_Class GUI, ::boost::shared_ptr< MatML_Doc > doc) |
Template for updating the individual GUI based on the boost::any pointer caste type. For MatML GUIs that require access to MatML_Doc pointer for additional data. More... | |
void | Update_GUI (::boost::any anyptr, ::boost::shared_ptr< MatML_Doc > doc) |
Updating one of the MatML GUIs based on the boost::any pointer. Polymorphic calls using the anyptr. More... | |
void | HideAllPanels () |
void | SetEvtHandlerVar (TreeCtrlSorted *MatMLTreeCtrl, ::boost::shared_ptr< MatML_Doc > doc) |
Sets the variables for the Event Handlers related to the MatML_GUIs. These variables are members of the MaterialFrame class. Need to be run before using MatML_GUIs events. More... | |
Public Attributes | |
Intro_GUI * | m_Intro_GUI |
MatML_Doc_GUI * | m_MatML_Doc_GUI |
Material_GUI * | m_Material_GUI |
Associate_GUI * | m_Associate_GUI |
AssociationDetails_GUI * | m_AssociationDetails_GUI |
AuthorityDetails_GUI * | m_AuthorityDetails_GUI |
BulkDetails_GUI * | m_BulkDetails_GUI |
Characterization_GUI * | m_Characterization_GUI |
ChemicalComposition_GUI * | m_ChemicalComposition_GUI |
ChemicalElementSymbol_GUI * | m_ChemicalElementSymbol_GUI |
Class_GUI * | m_Class_GUI |
Subclass_GUI * | m_Subclass_GUI |
Subclass1_GUI * | m_Subclass1_GUI |
ParentMaterial_GUI * | m_ParentMaterial_GUI |
ParentSubClass_GUI * | m_ParentSubClass_GUI |
ComponentDetails_GUI * | m_ComponentDetails_GUI |
Compound_GUI * | m_Compound_GUI |
Concentration_GUI * | m_Concentration_GUI |
CurrencyCode_GUI * | m_CurrencyCode_GUI |
DataSourceDetails_GUI * | m_DataSourceDetails_GUI |
DimensionalDetails_GUI * | m_DimensionalDetails_GUI |
Element_GUI * | m_Element_GUI |
Symbol_GUI * | m_Symbol_GUI |
Form_GUI * | m_Form_GUI |
Formula_GUI * | m_Formula_GUI |
Geometry_GUI * | m_Geometry_GUI |
Shape_GUI * | m_Shape_GUI |
Dimensions_GUI * | m_Dimensions_GUI |
Orientation_GUI * | m_Orientation_GUI |
Glossary_GUI * | m_Glossary_GUI |
GlossaryTerm_GUI * | m_GlossaryTerm_GUI |
Definition_GUI * | m_Definition_GUI |
Abbreviation_GUI * | m_Abbreviation_GUI |
Synonym_GUI * | m_Synonym_GUI |
Graphs_GUI * | m_Graphs_GUI |
Graph_GUI * | m_Graph_GUI |
MeasurementTechniqueDetails_GUI * | m_MeasurementTechniqueDetails_GUI |
Metadata_GUI * | m_Metadata_GUI |
Name_GUI * | m_Name_GUI |
Notes_GUI * | m_Notes_GUI |
ParameterDetails_GUI * | m_ParameterDetails_GUI |
ParameterValue_GUI * | m_ParameterValue_GUI |
Data_GUI * | m_Data_GUI |
PhaseComposition_GUI * | m_PhaseComposition_GUI |
ProcessingDetails_GUI * | m_ProcessingDetails_GUI |
Result_GUI * | m_Result_GUI |
Relationship_GUI * | m_Relationship_GUI |
PropertyData_GUI * | m_PropertyData_GUI |
Data1_GUI * | m_Data1_GUI |
PropertyDetails_GUI * | m_PropertyDetails_GUI |
Qualifier_GUI * | m_Qualifier_GUI |
Source_GUI * | m_Source_GUI |
SourceDetails_GUI * | m_SourceDetails_GUI |
Specification_GUI * | m_Specification_GUI |
SpecimenDetails_GUI * | m_SpecimenDetails_GUI |
TestConditionDetails_GUI * | m_TestConditionDetails_GUI |
Uncertainty_GUI * | m_Uncertainty_GUI |
Scale_GUI * | m_Scale_GUI |
Unit_GUI * | m_Unit_GUI |
Unitless_GUI * | m_Unitless_GUI |
Units_GUI * | m_Units_GUI |
Value_GUI * | m_Value_GUI |
Static Public Attributes | |
static const unsigned | m_nclasses =63 |
GUI for each of the MatML classes
MatML_GUI class
EACH of the MatML CLASSES have a GUIs associated with it.
However, INDIVIDUAL INSTANCES of MatML classes do NOT have a GUI associated with them, because MatML Instances SHARE the MatML GUIs among the different instances.
GUI::GUI | ( | ) |
Constructor
Constuctor
GUI::GUI | ( | wxWindow * | parent | ) |
Initiallizes with new individual MatML GUIs
Main Constructor
Main Constructor
parent |
|
virtual |
Destroys individual MatML GUIs
Destructor
void GUI::SetEvtHandlerVar | ( | TreeCtrlSorted * | MatMLTreeCtrl, |
::boost::shared_ptr< MatML_Doc > | doc | ||
) |
Sets the variables for the Event Handlers related to the MatML_GUIs. These variables are members of the MaterialFrame class. Need to be run before using MatML_GUIs events.
Set the Event Handler functions variable
Set Event Handler Variable
void GUI::SetSizer | ( | wxFlexGridSizer *& | fgSizer | ) |
Assumes the same sizer for all the MatML GUIs and that the panels are placed adjacent. Panels of the MatML GUIs are hiden and shown on updating with data.
Sets the window to have the given layout sizer.
SetSizer Adds the GUIs to the controlling Sizer.
fgSizer |
void GUI::Update_GUI | ( | ::boost::any | anyptr, |
::boost::shared_ptr< MatML_Doc > | doc | ||
) |
Updating one of the MatML GUIs based on the boost::any pointer. Polymorphic calls using the anyptr.
Update all the individual MatML GUI
anyptr |
bool GUI::Update_individual_GUI | ( | ::boost::any | anyptr, |
GUI_Class | GUI | ||
) |
bool GUI::Update_individual_GUI | ( | ::boost::any | anyptr, |
GUI_Class | GUI, | ||
::boost::shared_ptr< MatML_Doc > | doc | ||
) |
Template for updating the individual GUI based on the boost::any pointer caste type. For MatML GUIs that require access to MatML_Doc pointer for additional data.
Updates the individual MatML GUI with information from the doc
MatML_Class | |
GUI_Class |
anyptr | |
GUI | |
doc |