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"
33#include "BT_MatML_GUI.h"
34#include "BT_MatML_MatMLTreeItemData.h"
35#include "BT_MatML_TreeCtrlSorted.h"
45 wxChoice* m_SourceChoice;
53 static wxNotebook*
Create(wxWindow* parent,
54 wxChoice*& SourceChoice,
58 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
59 bool IsShown() {
return m_GUI->IsShown(); };
60 wxNotebook* get() {
return m_GUI; };
62 void Update(
Source* element, const ::boost::shared_ptr<MatML_Doc> doc);
64 static ::std::string Label(::std::string name, ::std::string
id);
65 static ::std::string LabelToId(::std::string label);
68 const wxTreeItemId& ParentId,
70 const wxTreeItemId& PreviousId
74 virtual void OnSourceChoice(wxCommandEvent& event) {
event.Skip(); }
94 void OnSourceChoice(wxCommandEvent& event);
Definition: matml31.hxx:1705
Definition: matml31.hxx:3505
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_Source_GUI.h:42
static wxNotebook * Create(wxWindow *parent, wxChoice *&SourceChoice, SourceDetails_Display_GUI *&m_SourceSourceDetails_Display_GUI)
Create the GUI for the Source MatML Data and Info
Definition: BT_MatML_Source_GUI.cpp:38
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, Source &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_Source_GUI.cpp:158
Definition: BT_MatML_Source_GUI.h:80
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_Source_GUI.cpp:220
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_Source_GUI.cpp:231
virtual ~Source_GUI()
Destructor for the derived class
Definition: BT_MatML_Source_GUI.cpp:211
Source_GUI()
Constructor for the derived class
Definition: BT_MatML_Source_GUI.cpp:192
Definition: BT_MatML_SourceDetails_Display_GUI.h:44
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