21#include <wx/notebook.h>
26#include "StringStream.h"
29#include "matml31_strongtypedef.h"
31#include "BT_MatML_Base_GUI.h"
32#include "BT_MatML_MatMLInfo_GUI.h"
34#include "BT_MatML_GUI.h"
35#include "BT_MatML_MatMLTreeItemData.h"
36#include "BT_MatML_TreeCtrlSorted.h"
44 wxTextCtrl* m_DefinitionTextCtrl;
48 static wxNotebook*
Create(wxWindow* parent, wxTextCtrl*& DefinitionTextCtrl);
51 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
52 bool IsShown() {
return m_GUI->IsShown(); };
53 wxNotebook* get() {
return m_GUI; };
55 void Update( Definition* element);
57 const wxTreeItemId& ParentId,
58 GlossaryTerm::Definition_type&
Element,
59 const wxTreeItemId& PreviousId
63 virtual void OnDefinitionTextCtrl(wxCommandEvent& event) {
event.Skip(); }
83 void OnDefinitionTextCtrl(wxCommandEvent& event);
Definition: matml31.hxx:1705
Definition: BT_MatML_Definition_GUI.h:41
static wxNotebook * Create(wxWindow *parent, wxTextCtrl *&DefinitionTextCtrl)
Create the GUI for the Definition MatML Data and Info
Definition: BT_MatML_Definition_GUI.cpp:30
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, GlossaryTerm::Definition_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_Definition_GUI.cpp:91
Definition: BT_MatML_Definition_GUI.h:69
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_Definition_GUI.cpp:155
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_Definition_GUI.cpp:166
Definition_GUI()
Constructor for the derived class
Definition: BT_MatML_Definition_GUI.cpp:125
virtual ~Definition_GUI()
Destructor for the derived class
Definition: BT_MatML_Definition_GUI.cpp:146
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