mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
First cut of an array visualizer.
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
#pragma once
|
||||
|
||||
#include <QtWidgets/QWidget>
|
||||
#include "ui_SeerArrayVisualizerWidget.h"
|
||||
|
||||
class SeerArrayVisualizerWidget : public QWidget, protected Ui::SeerArrayVisualizerWidgetForm {
|
||||
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SeerArrayVisualizerWidget (QWidget* parent = 0);
|
||||
~SeerArrayVisualizerWidget ();
|
||||
|
||||
void setVariableName (const QString& name);
|
||||
QString variableName () const;
|
||||
void setVariableAddress (const QString& address);
|
||||
QString variableAddress () const;
|
||||
|
||||
signals:
|
||||
void evaluateVariableExpression (int expressionid, QString expression);
|
||||
void evaluateMemoryExpression (int expressionid, QString address, int count);
|
||||
|
||||
public slots:
|
||||
void handleText (const QString& text);
|
||||
|
||||
protected slots:
|
||||
void handleRefreshButton ();
|
||||
void handleVariableNameLineEdit ();
|
||||
void handleArrayDisplayFormatComboBox (int index);
|
||||
void handleColumnCountSpinBox (int value);
|
||||
void handlePrintButton ();
|
||||
void handleSaveButton ();
|
||||
|
||||
protected:
|
||||
void writeSettings ();
|
||||
void readSettings ();
|
||||
void resizeEvent (QResizeEvent* event);
|
||||
|
||||
private:
|
||||
int _variableId;
|
||||
int _memoryId;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user