22#include <wx/notebook.h>
27#include "StringStream.h"
30#include "matml31_strongtypedef.h"
32#include "BT_MatML_Base_GUI.h"
33#include "BT_MatML_MatMLInfo_GUI.h"
35#include "BT_MatML_GUI.h"
36#include "BT_MatML_MatMLTreeItemData.h"
37#include "BT_MatML_TreeCtrlSorted.h"
45 wxTextCtrl* m_DimensionsTextCtrl;
49 static wxNotebook*
Create(wxWindow* parent, wxTextCtrl*& DimensionsTextCtrl);
52 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
53 bool IsShown() {
return m_GUI->IsShown(); };
54 wxNotebook* get() {
return m_GUI; };
56 void Update( Dimensions* element);
58 const wxTreeItemId& ParentId,
59 Geometry::Dimensions_type&
Element,
60 const wxTreeItemId& PreviousId
64 virtual void OnDimensionsTextCtrl(wxCommandEvent& event) {
event.Skip(); }
85 void OnDimensionsTextCtrl(wxCommandEvent& event);
Definition: matml31.hxx:1705
Definition: BT_MatML_Dimensions_GUI.h:42
static wxNotebook * Create(wxWindow *parent, wxTextCtrl *&DimensionsTextCtrl)
Create the GUI for the Geometry::Dimensions MatML Data and Info
Definition: BT_MatML_Dimensions_GUI.cpp:32
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, Geometry::Dimensions_type &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_Dimensions_GUI.cpp:87
Definition: BT_MatML_Dimensions_GUI.h:71
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_Dimensions_GUI.cpp:148
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_Dimensions_GUI.cpp:158
Dimensions_GUI()
Constructor for the derived class
Definition: BT_MatML_Dimensions_GUI.cpp:120
virtual ~Dimensions_GUI()
Destructor for the derived class
Definition: BT_MatML_Dimensions_GUI.cpp:139
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_TreeCtrlSorted.h:19
Contains the GUI and GUI associated classes. OnInit() calls the creation of the MaterialFrame GUI
Definition: BT_MatML_App.h:39