wxMaxima
Loading...
Searching...
No Matches
MaximaNotStartingDialog.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// Copyright (C) 2017-2018 Gunter Königsmann <wxMaxima@physikbuch.de>
5//
6// This program is free software; you can redistribute it and/or modify
7// it under the terms of the GNU General Public License as published by
8// the Free Software Foundation; either version 2 of the License, or
9// (at your option) any later version.
10//
11// This program is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14// GNU General Public License for more details.
15//
16//
17// You should have received a copy of the GNU General Public License
18// along with this program; if not, write to the Free Software
19// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20//
21// SPDX-License-Identifier: GPL-2.0+
22
23#ifndef MAXIMANOTSTARTINGDIALOG_H
24#define MAXIMANOTSTARTINGDIALOG_H
25
26#include "../precomp.h"
27#include "../Configuration.h"
28#include <wx/wx.h>
29#include <wx/dialog.h>
30#include <wx/radiobut.h>
31#include <wx/textctrl.h>
32#include "BinaryNameCtrl.h"
33class MaximaNotStartingDialog : public wxDialog
34{
35public:
36 MaximaNotStartingDialog(wxWindow *parent, int id,
37 Configuration *config,
38 wxString text = wxEmptyString,
39 const wxPoint &pos = wxDefaultPosition,
40 const wxSize &size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE);
41
42protected:
43 void OnOkPress(wxCommandEvent &event);
44private:
46 wxRadioButton *m_autodetectMaxima;
48 wxRadioButton *m_noAutodetectMaxima;
50 BinaryNameCtrl *m_maximaUserLocation;
51 wxButton *button_1;
52 wxButton *button_2;
53 Configuration *m_configuration;
54
55};
56
57#endif // MAXIMANOTSTARTINGDIALOG_H
This file declares all the wizards the draw sidepane needs.
A dialog that shows the program's license.
Definition: BinaryNameCtrl.h:40
The configuration storage for the current worksheet.
Definition: Configuration.h:85
Definition: MaximaNotStartingDialog.h:34