19#ifndef TABLEEDITPANEL_HPP
20#define TABLEEDITPANEL_HPP
25#include "../terminal/terminal.hpp"
26#include "../../kernel/core/ui/language.hpp"
49 TablePanel(wxFrame* parent, wxWindowID
id, wxStatusBar* statusbar,
bool readOnly =
true);
57 void OnClose(wxCloseEvent& event);
72 TableEditPanel(wxFrame* parent, wxWindowID
id, wxStatusBar* statusbar);
76 void OnClose(wxCloseEvent& event);
This class handles the internal language system and returns the language strings of the selected lang...
The terminal class for the GUI. It's a specialisation of the GenericTerminal.
A table panel with editing functionalities. Creates APPLY and CANCEL buttons and provides their event...
void OnButtonOk(wxCommandEvent &event)
Event handler for the OK button.
void OnButtonCancel(wxCommandEvent &event)
Event handler for the CANCEL button.
void OnClose(wxCloseEvent &event)
Event handler for the CLOSE event.
TableEditPanel(wxFrame *parent, wxWindowID id, wxStatusBar *statusbar)
Constructor for the table edit panel, which creates also the buttons at the top of the window.
Generic table panel, which also contains all meta UI elements.
void OnClose(wxCloseEvent &event)
Event handler for the CLOSE event.
void update(const NumeRe::TableMetaData &meta)
Update the panel with the passed table meta data.
wxTextCtrl * m_sourceField
std::string getComment() const
Returns the comment listed in the documentation field.
wxFrame * getFrame()
Returns a pointer to the parent frame.
wxTextCtrl * m_commentField
NumeReTerminal * m_terminal
void SetTerminal(NumeReTerminal *term)
NumeReTerminal * GetTerminal()
wxMenuBar * getMenuBar()
Returns a pointer to the menu bar of the parent frame. If no menu bar exists, a new one is created.
wxStaticText * m_lastSaveText
TablePanel(wxFrame *parent, wxWindowID id, wxStatusBar *statusbar, bool readOnly=true)
Constructor for the generic table panel.
This class is an adaption of the wxGrid class to present the tabular data in NumeRe's memory and enab...