wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
DolphinExporter.h
Go to the documentation of this file.
1// Copyright 2015 - 2026, GIBIS-UNIFESP and the wiRedPanda contributors
2// SPDX-License-Identifier: GPL-3.0-or-later
3
7
8#pragma once
9
11
12class QPixmap;
13class QString;
14class QTextStream;
15class SignalModel;
16
25namespace DolphinExporter {
26
29QPixmap renderToPixmap(const SignalModel *model, PlotType plotType, int cellW, int cellH);
30
33bool exportToPng(const SignalModel *model, PlotType plotType, const QString &fileName);
34
37void exportToPdf(const SignalModel *model, PlotType plotType, const QString &fileName);
38
41void writeTruthTableText(QTextStream &out, const SignalModel *model, int inputRowCount);
42
45QString csvText(const SignalModel *model);
46
47} // namespace DolphinExporter
SignalDelegate: paints digital waveform graphics into table cells.
PlotType
Controls how signal cells are rendered in the waveform table.
QStandardItemModel subclass that makes all cells non-editable.
Definition SignalModel.h:21
Model → artifact conversions for the beWavedDolphin export paths.
void exportToPdf(const SignalModel *model, const PlotType plotType, const QString &fileName)
QPixmap renderToPixmap(const SignalModel *model, const PlotType plotType, const int cellW, const int cellH)
void writeTruthTableText(QTextStream &out, const SignalModel *model, const int inputRowCount)
QString csvText(const SignalModel *model)
bool exportToPng(const SignalModel *model, const PlotType plotType, const QString &fileName)