init
This commit is contained in:
38
source/automaton_gui.h
Normal file
38
source/automaton_gui.h
Normal file
@ -0,0 +1,38 @@
|
||||
#ifndef AUTOMATONGUI_H
|
||||
#define AUTOMATONGUI_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class AutomatonGUI; }
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class AutomatonGUI : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
AutomatonGUI(QWidget *parent = nullptr);
|
||||
~AutomatonGUI();
|
||||
|
||||
void display_state(const std::string &s);
|
||||
|
||||
private slots:
|
||||
void on_RunButton_clicked();
|
||||
|
||||
void on_lineEdit_2_textChanged(const QString &arg1);
|
||||
|
||||
void on_InputLine_textChanged(const QString &arg1);
|
||||
|
||||
void on_ExtraStates_textChanged(const QString &arg1);
|
||||
|
||||
void matrix_from_table();
|
||||
|
||||
private:
|
||||
Ui::AutomatonGUI *ui;
|
||||
|
||||
void column_force(const std::string &s);
|
||||
void row_force(const std::string &s);
|
||||
};
|
||||
#endif // AUTOMATONGUI_H
|
Reference in New Issue
Block a user