22#include "wx/notebook.h"
23#include <wx/statline.h>
24#include <wx/checkbox.h>
26#include <boost/shared_ptr.hpp>
27#include <boost/lexical_cast.hpp>
28#include <boost/algorithm/string.hpp>
29#include <boost/algorithm/string/classification.hpp>
32#include "StringStream.h"
35#include "BT_MatML_Base_GUI.h"
36#include "BT_MatML_MatMLInfo_GUI.h"
38#include "BT_MatML_GUI.h"
39#include "BT_MatML_MatMLTreeItemData.h"
40#include "BT_MatML_TreeCtrlSorted.h"
42#include "BT_MatML_StringValidator.h"
50 wxChoice* m_ScaleChoice;
56 static wxNotebook*
Create(wxWindow* parent,
57 wxChoice*& ScaleChoice
60 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
61 bool IsShown() {
return m_GUI->IsShown(); };
62 wxNotebook* get() {
return m_GUI; };
64 void Update(
Scale* element);
66 const wxTreeItemId& ParentId,
68 const wxTreeItemId& PreviousId
72 virtual void OnScaleChoiceKillFocus(wxCommandEvent& event) {
event.Skip(); }
89 void OnScaleChoiceKillFocus(wxCommandEvent& event);
98 ) : m_MatMLTreeCtrl(MatMLTreeCtrl)
101 virtual bool Validate(wxWindow* parent) wxOVERRIDE;
105 virtual bool TransferToWindow() wxOVERRIDE;
108 virtual bool TransferFromWindow() wxOVERRIDE;
Definition: matml31.hxx:1705
Definition: matml31.hxx:5963
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_Scale_GUI.h:93
Definition: BT_MatML_Scale_GUI.h:47
static wxNotebook * Create(wxWindow *parent, wxChoice *&ScaleChoice)
Create the GUI for the Data MatML Data and Info
Definition: BT_MatML_Scale_GUI.cpp:31
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, Scale &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_Scale_GUI.cpp:91
Definition: BT_MatML_Scale_GUI.h:78
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_Scale_GUI.cpp:161
virtual ~Scale_GUI()
Destructor for the derived class
Definition: BT_MatML_Scale_GUI.cpp:150
Scale_GUI()
Constructor for the derived class
Definition: BT_MatML_Scale_GUI.cpp:127
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