Power System Platform
2026w10a-beta
Loading...
Searching...
No Matches
SumForm.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017 Thales Lima Oliveira <thales@ufu.br>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef SUMFORM_H
19
#define SUMFORM_H
20
21
#include "ElementFormBase.h"
22
23
class
Sum
;
24
32
class
SumForm
:
public
SumFormBase
33
{
34
public
:
35
SumForm
(wxWindow* parent,
Sum
* sum);
36
virtual
~SumForm
();
37
38
bool
ValidateData();
39
40
protected
:
41
virtual
void
OnCancelClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
42
virtual
void
OnOKClick(wxCommandEvent& event);
43
wxWindow* m_parent =
nullptr
;
44
Sum
* m_sum =
nullptr
;
45
};
46
#endif
// SUMFORM_H
SumForm
Form to edit the sum control data.
Definition
SumForm.h:33
Sum
Sum the all inputs (can choose the input signal).
Definition
Sum.h:34
Project
forms
SumForm.h
Generated by
1.9.8