wxMaxima
Loading...
Searching...
No Matches
Plot3dWiz.h
1// -*- mode: c++; c-file-style: "linux"; c-basic-offset: 2; indent-tabs-mode: nil -*-
2//
3// Copyright (C) 2004-2015 Andrej Vodopivec <andrej.vodopivec@gmail.com>
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 2 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//
16// You should have received a copy of the GNU General Public License
17// along with this program; if not, write to the Free Software
18// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19//
20// SPDX-License-Identifier: GPL-2.0+
21
22#ifndef PLOT3DWIZ_H
23#define PLOT3DWIZ_H
24
25#include "precomp.h"
26#include <wx/wx.h>
27#include <wx/spinctrl.h>
28#include <wx/statline.h>
29#include <wx/bmpbuttn.h>
30
31#include "BTextCtrl.h"
32
33// cppcheck-suppress ctuOneDefinitionRuleViolation
34class Plot3DWiz : public wxDialog
35{
36public:
37 Plot3DWiz(wxWindow *parent, int id,
38 Configuration *cfg,
39 const wxString &title,
40 const wxPoint &pos = wxDefaultPosition,
41 const wxSize &size = wxDefaultSize,
42 long style = wxDEFAULT_DIALOG_STYLE);
43
44 void SetValue(wxString s);
45
46 void Parse(wxString s);
47
48 wxString GetValue();
49
50private:
51 enum
52 {
53 cartesian,
54 cylindrical,
55 spherical
56 };
57
58 void OnCombobox(wxCommandEvent &event);
59
60 void OnFileBrowse(wxCommandEvent &event);
61
62 void set_properties();
63
64 void do_layout();
65
66protected:
67 int type;
68 wxStaticText *label_2;
69 BTextCtrl *text_ctrl_1;
70 wxStaticText *label_3;
71 BTextCtrl *text_ctrl_2;
72 wxStaticText *label_4;
73 BTextCtrl *text_ctrl_3;
74 wxStaticText *label_5;
75 BTextCtrl *text_ctrl_4;
76 wxStaticText *label_6;
77 BTextCtrl *text_ctrl_5;
78 wxStaticText *label_7;
79 BTextCtrl *text_ctrl_6;
80 wxStaticText *label_8;
81 BTextCtrl *text_ctrl_7;
82 wxStaticText *label_9;
83 wxSpinCtrl *text_ctrl_8;
84 wxStaticText *label_10;
85 wxSpinCtrl *text_ctrl_9;
86 wxStaticText *label_11;
87 wxComboBox *combo_box_1;
88 wxStaticText *label_12;
89 wxComboBox *combo_box_2;
90 wxCheckBox *check_box_1;
91 wxStaticText *label_13;
92 BTextCtrl *text_ctrl_10;
93 wxBitmapButton *button_3;
94 wxStaticLine *static_line_1;
95 wxButton *button_1;
96 wxButton *button_2;
97};
98
99#endif // PLOT3DWIZ_H
A wxTextCtrl with parenthesis matching.
Definition: BTextCtrl.h:33
The configuration storage for the current worksheet.
Definition: Configuration.h:85
Definition: Plot3dWiz.h:35