22#include "wx/notebook.h"
23#include <wx/statline.h>
25#include <boost/shared_ptr.hpp>
27#include "StringStream.h"
30#include "BT_MatML_Base_GUI.h"
31#include "BT_MatML_MatMLInfo_GUI.h"
32#include "BT_MatML_ID_GUI.h"
34#include "BT_MatML_GUI.h"
35#include "BT_MatML_MatMLTreeItemData.h"
36#include "BT_MatML_TreeCtrlSorted.h"
46 wxTextCtrl* m_UncertaintyDistributionTypeTextCtrl;
47 wxTextCtrl* m_UncertaintyNum_Std_DevTextCtrl;
48 wxTextCtrl* m_UncertaintyPercentileTextCtrl;
49 wxTextCtrl* m_UncertaintyConfidenceLevelTextCtrl;
50 wxChoice* m_UncertaintyScaleChoice;
54 static wxNotebook*
Create(wxWindow* parent, wxTextCtrl*& UncertaintyDistributionTypeTextCtrl, wxTextCtrl*& UncertaintyNum_Std_DevTextCtrl, wxTextCtrl*& UncertaintyPercentileTextCtrl, wxTextCtrl*& UncertaintyConfidenceLevelTextCtrl, wxChoice*& UncertaintyScaleChoice);
57 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
58 bool IsShown() {
return m_GUI->IsShown(); };
59 wxNotebook* get() {
return m_GUI; };
63 const wxTreeItemId& ParentId,
65 const wxTreeItemId& PreviousId
69 virtual void OnUncertaintyDistributionTypeTextCtrl(wxCommandEvent& event) {
event.Skip(); }
70 virtual void OnUncertaintyNum_Std_DevTextCtrl(wxCommandEvent& event) {
event.Skip(); }
71 virtual void OnUncertaintyPercentileTextCtrl(wxCommandEvent& event) {
event.Skip(); }
72 virtual void OnUncertaintyConfidenceLevelTextCtrl(wxCommandEvent& event) {
event.Skip(); }
73 virtual void OnUncertaintyScaleChoice(wxCommandEvent& event) {
event.Skip(); }
75 virtual void OnInsertValue(wxCommandEvent& event){
event.Skip(); }
76 virtual void OnInsertUnits(wxCommandEvent& event){
event.Skip(); }
77 virtual void OnInsertUnitless(wxCommandEvent& event){
event.Skip(); }
78 virtual void OnInsertNotes(wxCommandEvent& event){
event.Skip(); }
79 virtual void OnInsertScale(wxCommandEvent& event){
event.Skip(); }
81 virtual void OnDeleteUnitless(wxCommandEvent& event) {
event.Skip(); }
82 virtual void OnDeleteUnits(wxCommandEvent& event) {
event.Skip(); }
83 virtual void OnDeleteValue(wxCommandEvent& event) {
event.Skip(); }
84 virtual void OnDeleteNotes(wxCommandEvent& event) {
event.Skip(); }
85 virtual void OnDeleteScale(wxCommandEvent& event) {
event.Skip(); }
87 virtual void OnPasteValue(wxCommandEvent& event){
event.Skip(); }
88 virtual void OnPasteUnits(wxCommandEvent& event){
event.Skip(); }
89 virtual void OnPasteUnitless(wxCommandEvent& event){
event.Skip(); }
90 virtual void OnPasteNotes(wxCommandEvent& event){
event.Skip(); }
91 virtual void OnPasteScale(wxCommandEvent& event){
event.Skip(); }
93 virtual void OnBumpDown(wxCommandEvent& event) {
event.Skip(); }
94 virtual void OnBumpUp(wxCommandEvent& event) {
event.Skip(); }
104 ::boost::any m_MatMLItemToCopy;
113 void SetMatMLItemToCopy(const ::boost::any& MatMLItemToCopy);
116 void OnUncertaintyDistributionTypeTextCtrl(wxCommandEvent& event);
117 void OnUncertaintyNum_Std_DevTextCtrl(wxCommandEvent& event);
118 void OnUncertaintyPercentileTextCtrl(wxCommandEvent& event);
119 void OnUncertaintyConfidenceLevelTextCtrl(wxCommandEvent& event);
122 void OnInsertValue(wxCommandEvent& event);
123 void OnInsertUnits(wxCommandEvent& event);
124 void OnInsertUnitless(wxCommandEvent& event);
125 void OnInsertNotes(wxCommandEvent& event);
126 void OnInsertScale(wxCommandEvent& event);
128 void OnDeleteUnitless(wxCommandEvent& event);
129 void OnDeleteUnits(wxCommandEvent& event);
130 void OnDeleteValue(wxCommandEvent& event);
131 void OnDeleteNotes(wxCommandEvent& event);
132 void OnDeleteScale(wxCommandEvent& event);
134 void OnPasteValue(wxCommandEvent& event);
135 void OnPasteUnits(wxCommandEvent& event);
136 void OnPasteUnitless(wxCommandEvent& event);
137 void OnPasteNotes(wxCommandEvent& event);
138 void OnPasteScale(wxCommandEvent& event);
140 void OnBumpDown(wxCommandEvent& event);
141 void OnBumpUp(wxCommandEvent& event);
Definition: matml31.hxx:1705
Definition: matml31.hxx:3625
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_TreeCtrlSorted.h:19
Definition: BT_MatML_Uncertainty_GUI.h:43
static wxNotebook * Create(wxWindow *parent, wxTextCtrl *&UncertaintyDistributionTypeTextCtrl, wxTextCtrl *&UncertaintyNum_Std_DevTextCtrl, wxTextCtrl *&UncertaintyPercentileTextCtrl, wxTextCtrl *&UncertaintyConfidenceLevelTextCtrl, wxChoice *&UncertaintyScaleChoice)
Create the GUI for the Uncertainty MatML Data and Info
Definition: BT_MatML_Uncertainty_GUI.cpp:50
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, Uncertainty &Element, const wxTreeItemId &PreviousId)
This set-up the Parent MatML Data into a wxTreeCtrl element and then call on the Children to do the s...
Definition: BT_MatML_Uncertainty_GUI.cpp:153
Definition: BT_MatML_Uncertainty_GUI.h:100
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_Uncertainty_GUI.cpp:254
Uncertainty_GUI()
Constructor for the derived class
Definition: BT_MatML_Uncertainty_GUI.cpp:226
virtual ~Uncertainty_GUI()
Destructor for the derived class
Definition: BT_MatML_Uncertainty_GUI.cpp:245
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_Uncertainty_GUI.cpp:265
Contains the GUI and GUI associated classes. OnInit() calls the creation of the MaterialFrame GUI
Definition: BT_MatML_App.h:39