Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
netlistscratchpad.h
1/*
2 * Copyright (C) 2025 Andrés Martínez Mera - andresmmera@protonmail.com
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 3 of the License, or
7 * (at your option) 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 NETLISTSCRATCHPAD_H
19#define NETLISTSCRATCHPAD_H
20
21#include "../../CustomWidgets/codeeditor.h"
22#include "../../Misc/general.h"
23#include "../../Schematic/Network.h"
24#include <QGridLayout>
25#include <QLabel>
26#include <QLineEdit>
27#include <QWidget>
28
29class NetlistScratchPad : public QWidget {
30 Q_OBJECT
31public:
32 NetlistScratchPad(QWidget* parent = nullptr);
34 QString getText();
35 void setText(QString);
36
37private:
38 CodeEditor* Netlist_Editor_Widget;
39 QLabel* traceNameLabel;
40 QLineEdit* traceNameLineEdit;
41
42private slots:
43 void update();
44
45signals:
46 void updateSimulation(SchematicContent);
47};
48
49#endif // NETLISTSCRATCHPAD_h
[codeeditordefinition]
Definition codeeditor.h:67
Definition netlistscratchpad.h:29
Definition SchematicContent.h:33