NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
procedureviewer.hpp
Go to the documentation of this file.
1/*****************************************************************************
2 NumeRe: Framework fuer Numerische Rechnungen
3 Copyright (C) 2019 Erik Haenel et al.
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17******************************************************************************/
18
19#include <wx/wx.h>
20#include <vector>
21#include "../NumeReWindow.h"
22
23#ifndef PROCEDUREVIEWER_HPP
24#define PROCEDUREVIEWER_HPP
25
27
28class ProcedureViewer : public wxListView
29{
30 private:
33 void stripSpaces(wxString& sString);
34 void emptyControl();
35
36 public:
37 ProcedureViewer(wxWindow* parent);
38
40 std::vector<ProcedureViewerData> vData;
41
42 void setCurrentEditor(NumeReEditor* editor);
43 void OnColumnClick(wxListEvent& event);
44 void OnItemClick(wxListEvent& event);
45 void updateProcedureList(const std::vector<wxString>& vProcedures);
46
48};
49
50
51#endif // PROCEDUREVIEWER_HPP
52
The class of the editor window.
Definition: editor.h:53
void updateProcedureList(const std::vector< wxString > &vProcedures)
void stripSpaces(wxString &sString)
void OnItemClick(wxListEvent &event)
void OnColumnClick(wxListEvent &event)
void setCurrentEditor(NumeReEditor *editor)
std::vector< ProcedureViewerData > vData
ProcedureViewer(wxWindow *parent)
NumeReEditor * m_currentEd
void getProcedureListFromEditor()