BT-MatML-Editor 0.1.4
Editor for the MatML 3.1 XML Schema
BT_MatML_Unitless_GUI.h
1
2// Name: BT_MatML_Unitless_GUI.h
3// Purpose: Classes of Unitless_GUI Base and Derived.
4// Author: Paul McGrath
5// Modified by:
6// Created:
7// Copyright: (c) Paul McGrath
8// Licence: CC licence
10#pragma once
11
12// For compilers that support precompilation, includes "wx/wx.h".
13#include "wx/wxprec.h"
14
15
16#ifndef WX_PRECOMP
17#include "wx/wx.h"
18#endif
19
20#include "wx/dcsvg.h"
21#include "wx/notebook.h"
22#include <wx/statline.h>
23
24#include <boost/shared_ptr.hpp>
25#include <math.h>
26#include "StringStream.h"
27#include "matml31.hxx"
28
29#include "BT_MatML_Base_GUI.h"
30#include "BT_MatML_MatMLInfo_GUI.h"
31
32#include "BT_MatML_GUI.h"
33#include "BT_MatML_MatMLTreeItemData.h"
34#include "BT_MatML_TreeCtrlSorted.h"
35
36namespace bellshire {
37
39 {
40 public:
41 wxNotebook* m_GUI;
42
44 Unitless_GUI_Base(wxWindow* parent);
45 static wxNotebook* Create(wxWindow* parent);
46 virtual ~Unitless_GUI_Base();
47
48 void Show(bool show = true) { if (m_GUI != nullptr) m_GUI->Show(show); };
49 bool IsShown() { return m_GUI->IsShown(); };
50 wxNotebook* get() { return m_GUI; };
51
52 void Update( Unitless* element);
53 static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted*& MatMLTreeCtrl,
54 const wxTreeItemId& ParentId,
56 const wxTreeItemId& PreviousId
57 );
58
59 void SetConnect() {};
60 private:
61 };
62
64 {
65 public:
66
68 Unitless_GUI(wxWindow* parent);
69
70 virtual ~Unitless_GUI();
71
72 void SetEvtHandlerVar() {};
73 private:
74 };
75
76}; //namespace bellshire end
77
Definition: matml31.hxx:1705
Definition: matml31.hxx:3970
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_TreeCtrlSorted.h:19
Definition: BT_MatML_Unitless_GUI.h:39
static wxNotebook * Create(wxWindow *parent)
Create the GUI for the Unitless MatML Data and Info
Definition: BT_MatML_Unitless_GUI.cpp:27
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, Unitless &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_Unitless_GUI.cpp:71
Definition: BT_MatML_Unitless_GUI.h:64
Unitless_GUI()
Constructor for the derived class
Definition: BT_MatML_Unitless_GUI.cpp:99
virtual ~Unitless_GUI()
Destructor for the derived class
Definition: BT_MatML_Unitless_GUI.cpp:118
Contains the GUI and GUI associated classes. OnInit() calls the creation of the MaterialFrame GUI
Definition: BT_MatML_App.h:39